279 lines
5.6 KiB
Plaintext
279 lines
5.6 KiB
Plaintext
[behavior=RESPAWN-rat]
|
|
<on_enter = 0, 1>
|
|
check_global.255=0,0
|
|
<on_check=0,0,1>
|
|
enemy.giantrat_respawn=0,0
|
|
change_global.255=-1
|
|
|
|
|
|
[behavior=sewer_plan]
|
|
<on_click=0>
|
|
text_id=sewer_scheme
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
[behavior = lever1]
|
|
<on_init = 0>
|
|
animate = 0, 0, 0, 1
|
|
<on_init = 1>
|
|
animate = 1, 1, 0, 1
|
|
<on_click = 0>
|
|
state = 1
|
|
animate = 1, 1, 0, 1
|
|
activate=1,0,0
|
|
play_sound.switch=0
|
|
<on_click = 1>
|
|
state = 0
|
|
animate = 0, 0, 0, 1
|
|
activate=1,0,0
|
|
play_sound.switch=0
|
|
|
|
[behavior = lever_tank]
|
|
<on_init = 0>
|
|
animate = 0, 0, 0, 1
|
|
<on_init = 1>
|
|
animate = 0, 0, 0, 1
|
|
<on_init = 2>
|
|
animate = 1, 1, 0, 1
|
|
<on_activate=0,1>
|
|
state=1
|
|
<on_click = 0>
|
|
state = 2
|
|
animate = 1, 1, 0, 1
|
|
play_sound.switch=0
|
|
text_id=sewer_drown
|
|
button_id=b_next
|
|
<on_click = 1>
|
|
state = 2
|
|
animate = 1, 1, 0, 1
|
|
play_sound.switch=0
|
|
activate=1,0,0
|
|
<on_click = 2>
|
|
state = 1
|
|
animate = 0, 0, 0, 1
|
|
play_sound.switch=0
|
|
activate=1,0,0
|
|
<on_button=2,0>
|
|
hit=102,0,1000,1000,100,100
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
[behavior = stone_tank]
|
|
<on_click=0>
|
|
text_id=sewer_tank
|
|
|
|
[behavior = stone_tank_lever]
|
|
<on_click=0>
|
|
text_id=sewer_tank_lever
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
[behavior = ladder1]
|
|
<on_move=0,2>
|
|
do_click=0
|
|
<on_click = 0>
|
|
check_item.manhole_key = 0
|
|
<on_check = 0,0,0>
|
|
text_id = city_manhole
|
|
<on_check = 0,0,1>
|
|
play_sound.ladder =0
|
|
teleport.CITY = -1,23,5
|
|
|
|
[behavior = ladder2]
|
|
<on_move=0,2>
|
|
do_click=0
|
|
<on_click = 0>
|
|
check_item.manhole_key = 0
|
|
<on_check = 0,0,0>
|
|
text_id = city_manhole
|
|
<on_check = 0,0,1>
|
|
play_sound.ladder =0
|
|
teleport.CITY = -1,20,14
|
|
|
|
[behavior = ladder3]
|
|
<on_move=0,2>
|
|
do_click=0
|
|
<on_click = 0>
|
|
check_item.manhole_key = 0
|
|
<on_check = 0,0,0>
|
|
text_id = city_manhole
|
|
<on_check = 0,0,1>
|
|
play_sound.ladder =0
|
|
teleport.CITY = -1,21,24
|
|
|
|
[behavior = ladder4]
|
|
<on_move=0,2>
|
|
do_click=0
|
|
<on_click = 0>
|
|
check_item.manhole_key = 0
|
|
<on_check = 0,0,0>
|
|
text_id = city_manhole
|
|
<on_check = 0,0,1>
|
|
play_sound.ladder =0
|
|
teleport.CITY = -1,37,28
|
|
|
|
[behavior = ladder5]
|
|
<on_move=0,2>
|
|
do_click=0
|
|
<on_click = 0>
|
|
check_item.manhole_key = 0
|
|
<on_check = 0,0,0>
|
|
text_id = city_manhole
|
|
<on_check = 0,0,1>
|
|
play_sound.ladder =0
|
|
teleport.CITY = -1,48,28
|
|
|
|
[behavior = ladder6]
|
|
<on_move=0,2>
|
|
do_click=0
|
|
<on_click = 0>
|
|
check_item.manhole_key = 0
|
|
<on_check = 0,0,0>
|
|
text_id = city_manhole
|
|
<on_check = 0,0,1>
|
|
play_sound.ladder =0
|
|
teleport.CITY = -1,41,9
|
|
|
|
[behavior = ladder7]
|
|
<on_move=0,2>
|
|
do_click=0
|
|
<on_click = 0>
|
|
check_item.manhole_key = 0
|
|
<on_check = 0,0,0>
|
|
text_id = city_manhole
|
|
<on_check = 0,0,1>
|
|
play_sound.ladder =0
|
|
teleport.CITY = -1,12,20
|
|
|
|
[behavior = ladder8]
|
|
<on_move=0,2>
|
|
do_click=0
|
|
<on_click = 0>
|
|
check_item.manhole_key = 0
|
|
<on_check = 0,0,0>
|
|
text_id = city_manhole
|
|
<on_check = 0,0,1>
|
|
play_sound.ladder =0
|
|
teleport.CITY = -1,31,17
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
[behavior = cloister_door]
|
|
<on_init = 0>
|
|
animate = 0, 0, 0, 1
|
|
block = 1
|
|
<on_init = 1>
|
|
animate = 3, 3, 0, 1
|
|
block = 0
|
|
<on_click = 0>
|
|
state = 1
|
|
animate = -1, 3, 0, 1
|
|
block = 0
|
|
play_sound.rail_open =0
|
|
end_round=1
|
|
<on_click = 1>
|
|
state = 0
|
|
animate = -1, 0, 0, 1
|
|
block = 1
|
|
play_sound.rail_open =0
|
|
end_round=1
|
|
|
|
--------------------------------------------------------------------------------
|
|
[behavior=tournament]
|
|
<on_init=0>
|
|
check_global.20=3,0
|
|
<on_check=0,0,0>
|
|
enemy.lizard1=1,26
|
|
enemy.lizard2=5,26
|
|
enemy_forced.lizard3=3,28
|
|
enemy.assassin1=36,18
|
|
enemy.assassin2=37,19
|
|
enemy_forced.assassin3=35,20
|
|
enemy.assassin4=36,20
|
|
enemy.assassin5=37,20
|
|
state=1
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
[behavior=sewer_door]
|
|
<on_init=0>
|
|
animate=0,0,0,1
|
|
block = 1
|
|
<on_init=1>
|
|
animate=1,1,0,1
|
|
block = 0
|
|
<on_activate=0,1>
|
|
animate=1,1,0,1
|
|
block=0
|
|
state=1
|
|
play_sound.move_stone=0
|
|
end_round=1
|
|
<on_activate=1,1>
|
|
animate=0,0,0,1
|
|
block=1
|
|
state=0
|
|
play_sound.move_stone=0
|
|
end_round=1
|
|
|
|
--------------------------------------------------------------------------------
|
|
[behavior = wheel1]
|
|
<on_init = 0>
|
|
animate = 0, 0, 0, 1
|
|
<on_init = 2>
|
|
animate = 0, 0, 0, 1
|
|
<on_click = 0>
|
|
animate = 3, 0, 0, 3
|
|
activate = 1,0,0
|
|
play_sound.rusty_gate = 0
|
|
state=2
|
|
<on_click = 2>
|
|
text_id=won't_budge
|
|
|
|
[behavior = wheel]
|
|
<on_init = 0>
|
|
animate = 0, 0, 0, 1
|
|
<on_init = 1>
|
|
animate = 0, 0, 0, 1
|
|
<on_init = 2>
|
|
animate = 0, 0, 0, 1
|
|
<on_init = 100>
|
|
animate = 0, 0, 0, 1
|
|
<on_click = 0>
|
|
text_id=won't_budge
|
|
<on_activate=0,1>
|
|
state=1
|
|
<on_click = 1>
|
|
animate = 3, 0, 0, 3
|
|
play_sound.rusty_gate = 0
|
|
activate = 2,0,0
|
|
state=100
|
|
<on_activate=0,2>
|
|
state=2
|
|
<on_click = 2>
|
|
animate = 3, 0, 0, 3
|
|
play_sound.rusty_gate = 0
|
|
activate = 1,0,0
|
|
text_id=empty_tank
|
|
state=100
|
|
<on_click = 100>
|
|
text_id=won't_budge
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
[behavior = button]
|
|
<on_init = 0>
|
|
animate = 0, 0, 0, 1
|
|
<on_init = 1>
|
|
animate = 1, 1, 0, 1
|
|
<on_click = 0>
|
|
state = 1
|
|
animate = -1, 1, 0, 1
|
|
cube.g_cloister1=0,0,0
|
|
play_sound.switch =0
|
|
play_sound.move_stone=0
|
|
<on_click = 1>
|
|
state = 0
|
|
play_sound.switch =0
|
|
animate = 0, 0, 0, 1
|
|
|