Lines Matching refs:room
18 room.aktivni = main
19 room.poc = random(50 + pokus) + 100
20 room.halo = 0
21 room.mikros = 0
22 room.nemam = 200
23 room.odsud = 0
24 room.pronej = 10 + random(50)
25 room.uhnu = 500 + random(500)
26 room.teduz = 0
29 switch(room.aktivni){
31 if room.poc > 0 then
32 room.poc = room.poc - 1
36 room.poc = random(80) + 50
37 room.zvon = 0
41 room.aktivni = zluty
43 room.aktivni = modry
46 room.aktivni = zluty
49 room.aktivni = modry
51 room.aktivni = ibudik
56 if room.poc == 0 then
58 room.poc = random(30) + 30
59 room.aktivni = main
62 room.poc = room.poc - 1
63 if room.pronej > 0 then
64 room.pronej = room.pronej - 1
68 room.zvon = room.zvon + 1
69 if odd(room.zvon) then
74 elseif room.zvon > 0 then
75 room.zvon = room.zvon - 1
83 room.aktivni = ztel
84 room.halo = 1
90 if room.poc == 0 then
92 room.poc = random(30) + 30
93 room.aktivni = main
96 room.poc = room.poc - 1
97 if room.pronej > 0 then
98 room.pronej = room.pronej - 1
102 room.zvon = room.zvon + 1
103 if odd(room.zvon) then
108 elseif room.zvon > 0 then
109 room.zvon = room.zvon - 1
117 room.aktivni = mtel
118 room.halo = 1
124 if room.halo ~= 2 then
125 room.aktivni = main
126 room.poc = random(100) + 30
130 if room.halo ~= 2 then
131 room.aktivni = main
132 room.poc = random(100) + 30
136 if room.poc > 0 then
137 room.poc = room.poc - 1
142 room.aktivni = -1
146 if room.halo == 1 then
147 room.halo = 2
192 room:planDialog(5, "bat-p-0")
195 room:planDialog(5, "bat-p-1")
198 room:planDialog(5, "bat-p-2")
201 room:planDialog(5, "bat-p-3")
204 room:planDialog(5, "bat-p-5")
207 room:planDialog(5, "bat-p-4")
210 room:planDialog(5, "bat-p-zhov"..random(2))
212 planSet(room, "halo", 0)
217 …elseif room.mikros == 0 and dist(small, mikroskop) < 3 and mikroskop.dir ~= dir_no and random(10) …
218 room.mikros = 1
220 … elseif room.odsud == 0 and zluty.X > 32 and dist(small, zluty) < 4 and random(30) == 1 then
221 room.odsud = 1
223 elseif room.teduz == 0 and room.aktivni == -1 and random(70) == 1 then
224 room.teduz = 1
226 elseif room.nemam > 0 then
227 room.nemam = room.nemam - 1
229 switch(room.aktivni){
232 room.nemam = 200 + random(200)
237 if room.aktivni == zluty or room.aktivni == modry then
239 room.nemam = 200 + random(200)
240 if dist(small, room.aktivni) < dist(big, room.aktivni) then
252 … if room.pronej == 0 and (room.aktivni == zluty or room.aktivni == modry) and random(30) == 1 then
253 room.pronej = random(100)
255 … elseif room.uhnu == 0 and (room.aktivni == -1 or room.poc > 30 and room.aktivni == main) then
256 room.uhnu = 300 + random(300)
264 if room.uhnu > 0 then
265 room.uhnu = room.uhnu - 1