-
Notifications
You must be signed in to change notification settings - Fork 0
/
level.lua
executable file
·110 lines (94 loc) · 3.25 KB
/
level.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
--wall {x=<n>, y=<n>, dir=<'v'|'h'>, len=<n>}
--gate {x=<n>, y=<n>, dir=<'v'|'h'>, len=<n>}
--turret {x=<n>, y=<n>, direction=<n*pi>, hx=<n>, hy=<n>, hw=<n>, hh=<n>}
--human {x=<n>, y=<n>}
-- Turret room 1
turret {x=22, y=7, dir=math.pi/4, hx=24, hy=9, hw=2, hh=2}
turret {x=22, y=20, dir=7*math.pi/4, hx=24, hy=18, hw=2, hh=2}
wall {x=23, y=8, dir='h', len=7}
wall {x=23, y=8, dir='v', len=5}
window {x=23, y=13, dir='v', len=3}
wall {x=23, y=16, dir='v', len=5}
wall {x=23, y=21, dir='h', len=7}
gate {x=30, y=15, dir='v', len=3}
-- Turret room 2
turret {x=60, y=22, dir=3*math.pi/4, hx=58, hy=24, hw=2, hh=2}
turret {x=60, y=35, dir=5*math.pi/4, hx=58, hy=33, hw=2, hh=2}
wall {x=54, y=23, dir='h', len=7}
wall {x=61, y=23, dir='v', len=5}
window {x=61, y=28, dir='v', len=3}
wall {x=61, y=31, dir='v', len=5}
gate {x=54, y=26, dir='v', len=3}
wall {x=54, y=29, dir='v', len=4}
gate {x=54, y=33, dir='v', len=2}
wall {x=54, y=36, dir='h', len=3}
window {x=57, y=36, dir='h', len=2}
wall {x=59, y=36, dir='h', len=2}
-- Central room
wall {x=30, y=8, dir='h', len=4}
window {x=34, y=8, dir='h', len=2}
wall {x=36, y=8, dir='h', len=6}
wall {x=30, y=8, dir='v', len=1}
gate {x=42, y=8, dir='h', len=4, hx=46, hy=9, hw=2, hh=2}
gate {x=30, y=9, dir='v', len=2}
wall {x=30, y=11, dir='v', len=4}
wall {x=46, y=8, dir='h', len=3}
window {x=49, y=8, dir='h', len=2}
wall {x=51, y=8, dir='h', len=3}
wall {x=30, y=36, dir='h', len=3}
window {x=33, y=36, dir='h', len=2}
wall {x=35, y=36, dir='h', len=4}
window {x=39, y=36, dir='h', len=2}
wall {x=41, y=36, dir='h', len=1}
gate {x=42, y=36, dir='h', len=4, hx=46, hy=33, hw=2, hh=2}
wall {x=46, y=36, dir='h', len=4}
window {x=50, y=36, dir='h', len=2}
wall {x=52, y=36, dir='h', len=2}
wall {x=30, y=18, dir='v', len=6}
window {x=30, y=24, dir='v', len=2}
wall {x=30, y=26, dir='v', len=6}
window {x=30, y=32, dir='v', len=2}
wall {x=30, y=34, dir='v', len=2}
wall {x=54, y=8, dir='v', len=9}
window {x=54, y=17, dir='v', len=2}
wall {x=54, y=19, dir='v', len=7}
wall {x=54, y=35, dir='v', len=1}
-- Interior walls
wall {x=30, y=12, dir='h', len=8}
wall {x=38, y=8, dir='v', len=1}
gate {x=38, y=9, dir='v', len=2}
wall {x=38, y=11, dir='v', len=1}
wall {x=38, y=12, dir='v', len=1}
gate {x=38, y=13, dir='v', len=2}
wall {x=38, y=15, dir='v', len=1}
wall {x=38, y=16, dir='h', len=6}
gate {x=44, y=16, dir='h', len=4}
wall {x=48, y=16, dir='h', len=6}
wall {x=30, y=22, dir='h', len=4}
gate {x=34, y=22, dir='h', len=2}
wall {x=36, y=22, dir='h', len=6}
wall {x=30, y=28, dir='h', len=8}
wall {x=38, y=28, dir='v', len=4}
gate {x=38, y=32, dir='v', len=2}
wall {x=38, y=34, dir='v', len=2}
wall {x=42, y=16, dir='v', len=2}
gate {x=42, y=18, dir='v', len=2}
wall {x=42, y=20, dir='v', len=4}
gate {x=42, y=24, dir='v', len=3}
wall {x=42, y=27, dir='v', len=4}
wall {x=38, y=31, dir='h', len=8}
gate {x=46, y=31, dir='h', len=3}
wall {x=49, y=31, dir='h', len=5}
-- Starting humans
human {x=44, y=24}
human {x=46, y=24}
human {x=48, y=24}
human {x=50, y=24}
human {x=44, y=26}
human {x=46, y=26}
human {x=48, y=26}
human {x=50, y=26}
-- features
helipad {x=48, y=17, hx=52, hy=17, hw=1, hh=3}
radio {x=31, y=29, hx=31, hy=29, hw=3, hh=3}
rest {x=31, y=9, hx=31, hy=9, hw=6, hh=2}