Class: Termfront::Mission::Stronghold

Inherits:
Base
  • Object
show all
Defined in:
lib/termfront/mission/stronghold.rb

Instance Method Summary collapse

Methods inherited from Base

#build_enemies, #build_map, #build_terminals, #build_weapons, campaign, #event_definitions, #events_path, #id, register, register_wavesfight, wavesfight

Instance Method Details

#briefingObject



7
# File 'lib/termfront/mission/stronghold.rb', line 7

def briefing = "Multi-room stronghold. Executors guard the inner rooms."

#enemy_defsObject



31
32
33
34
35
36
37
38
39
# File 'lib/termfront/mission/stronghold.rb', line 31

def enemy_defs
  [
    [5.5,  5.5, 5.5,  2.5, :crawler],
    [14.5, 2.5, 14.5, 5.5, :executor],
    [3.5, 10.5, 3.5, 12.5, :crawler],
    [14.5, 9.5, 14.5, 12.5, :executor],
    [10.5, 11.5, 15.5, 11.5, :crawler]
  ]
end

#map_dataObject



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/termfront/mission/stronghold.rb', line 9

def map_data
  [
    "####################",
    "#........#.........#",
    "#........#.........#",
    "#........#.........#",
    "#...........*......#",
    "#........#.........#",
    "#........#.........#",
    "####..####.........#",
    "#........#.........#",
    "#........#.........#",
    "#................*.#",
    "#........#.........#",
    "#........#.........#",
    "####################"
  ]
end

#nameObject



6
# File 'lib/termfront/mission/stronghold.rb', line 6

def name = "Stronghold"

#spawnObject



28
# File 'lib/termfront/mission/stronghold.rb', line 28

def spawn = [2.5, 2.5, 0.0]

#weapon_defsObject



29
# File 'lib/termfront/mission/stronghold.rb', line 29

def weapon_defs = [[:ar, 60], [:pistol, nil]]