547 lines
11 KiB
Plaintext
547 lines
11 KiB
Plaintext
|
sound.metalclank = data/sound/metalclank.wav
|
||
|
|
||
|
|
||
|
[behavior=torch_inv1]
|
||
|
<on_enter=0,1>
|
||
|
text_id=hoh_torch
|
||
|
play_sound.metalclank =0
|
||
|
button_id=b_ok
|
||
|
<on_button=0,0>
|
||
|
state=1
|
||
|
<on_click=1>
|
||
|
change_global.30=1
|
||
|
cube.wall1=0,1,0
|
||
|
cube.wall1=0,4,0
|
||
|
cube.wall1=0,0,1
|
||
|
cube.wall1=0,4,1
|
||
|
cube.wall1=0,4,2
|
||
|
cube.wall1=0,0,3
|
||
|
cube.wall1=0,1,3
|
||
|
cube.wall1=0,3,3
|
||
|
|
||
|
cube.ground=0,2,0
|
||
|
cube.ground=0,3,0
|
||
|
cube.ground=0,1,1
|
||
|
cube.ground=0,2,1
|
||
|
cube.ground=0,3,1
|
||
|
cube.ground=0,0,2
|
||
|
cube.ground=0,1,2
|
||
|
cube.ground=0,2,2
|
||
|
cube.ground=0,3,2
|
||
|
cube.ground=0,2,3
|
||
|
|
||
|
remove_object.ceiling=2,0
|
||
|
remove_object.ceiling=3,0
|
||
|
remove_object.ceiling=1,1
|
||
|
remove_object.ceiling=2,1
|
||
|
remove_object.ceiling=3,1
|
||
|
remove_object.ceiling=0,2
|
||
|
remove_object.ceiling=1,2
|
||
|
remove_object.ceiling=2,2
|
||
|
remove_object.ceiling=3,2
|
||
|
remove_object.ceiling=2,3
|
||
|
|
||
|
enemy_type.wraith_eyes=wraith,2,0
|
||
|
|
||
|
remove_object.block_all=3,0
|
||
|
object.column=0,3,0
|
||
|
object.torch2=1,3,2
|
||
|
state=255
|
||
|
|
||
|
[behavior=torch_inv2]
|
||
|
<on_enter=0,1>
|
||
|
text_id=hoh_torch
|
||
|
play_sound.metalclank =0
|
||
|
button_id=b_ok
|
||
|
<on_button=0,0>
|
||
|
state=1
|
||
|
<on_click=1>
|
||
|
change_global.30=1
|
||
|
cube.wall1=0,1,0
|
||
|
cube.wall1=0,2,0
|
||
|
cube.wall1=0,3,0
|
||
|
cube.wall1=0,0,1
|
||
|
cube.wall1=0,4,1
|
||
|
cube.wall1=0,0,2
|
||
|
cube.wall1=0,0,3
|
||
|
cube.wall1=0,4,3
|
||
|
cube.wall1=0,1,4
|
||
|
cube.wall1=0,4,4
|
||
|
|
||
|
cube.ground=0,1,1
|
||
|
cube.ground=0,2,1
|
||
|
cube.ground=0,3,1
|
||
|
cube.ground=0,1,2
|
||
|
cube.ground=0,2,2
|
||
|
cube.ground=0,3,2
|
||
|
cube.ground=0,4,2
|
||
|
cube.ground=0,1,3
|
||
|
cube.ground=0,2,3
|
||
|
cube.ground=0,3,3
|
||
|
cube.ground=0,2,4
|
||
|
cube.ground=0,3,4
|
||
|
|
||
|
remove_object.ceiling=1,1
|
||
|
remove_object.ceiling=2,1
|
||
|
remove_object.ceiling=3,1
|
||
|
remove_object.ceiling=1,2
|
||
|
remove_object.ceiling=2,2
|
||
|
remove_object.ceiling=3,2
|
||
|
remove_object.ceiling=4,2
|
||
|
remove_object.ceiling=1,3
|
||
|
remove_object.ceiling=2,3
|
||
|
remove_object.ceiling=3,3
|
||
|
remove_object.ceiling=2,4
|
||
|
remove_object.ceiling=3,4
|
||
|
|
||
|
enemy_type.wraith_eyes=wraith,2,1
|
||
|
|
||
|
remove_object.block_all=3,4
|
||
|
object.column=0,3,4
|
||
|
object.torch2=3,1,1
|
||
|
state=255
|
||
|
|
||
|
[behavior=torch_inv3]
|
||
|
<on_enter=0,1>
|
||
|
text_id=hoh_torch
|
||
|
play_sound.metalclank =0
|
||
|
button_id=b_ok
|
||
|
<on_button=0,0>
|
||
|
state=1
|
||
|
<on_click=1>
|
||
|
change_global.30=1
|
||
|
cube.wall1=0,1,0
|
||
|
cube.wall1=0,2,0
|
||
|
cube.wall1=0,3,0
|
||
|
cube.wall1=0,0,1
|
||
|
cube.wall1=0,0,3
|
||
|
cube.wall1=0,0,4
|
||
|
cube.wall1=0,2,4
|
||
|
cube.wall2=2,3,4
|
||
|
|
||
|
cube.ground=0,1,1
|
||
|
cube.ground=0,2,1
|
||
|
cube.ground=0,3,1
|
||
|
cube.ground=0,0,2
|
||
|
cube.ground=0,1,2
|
||
|
cube.ground=0,2,2
|
||
|
cube.ground=0,3,2
|
||
|
cube.ground=0,1,3
|
||
|
cube.ground=0,2,3
|
||
|
cube.ground=0,3,3
|
||
|
cube.ground=0,1,4
|
||
|
|
||
|
remove_object.ceiling=1,1
|
||
|
remove_object.ceiling=2,1
|
||
|
remove_object.ceiling=3,1
|
||
|
remove_object.ceiling=0,2
|
||
|
remove_object.ceiling=1,2
|
||
|
remove_object.ceiling=2,2
|
||
|
remove_object.ceiling=3,2
|
||
|
remove_object.ceiling=1,3
|
||
|
remove_object.ceiling=2,3
|
||
|
remove_object.ceiling=3,3
|
||
|
remove_object.ceiling=1,4
|
||
|
|
||
|
enemy_type.wraith_eyes=wraith,2,1
|
||
|
|
||
|
remove_object.block_all=2,2
|
||
|
object.column=0,2,2
|
||
|
object.torch2=3,1,1
|
||
|
state=255
|
||
|
|
||
|
[behavior=torch_inv4]
|
||
|
<on_enter=0,1>
|
||
|
text_id=hoh_torch
|
||
|
play_sound.metalclank =0
|
||
|
button_id=b_ok
|
||
|
<on_button=0,0>
|
||
|
state=1
|
||
|
<on_click=1>
|
||
|
change_global.30=1
|
||
|
cube.wall1=0,0,0
|
||
|
cube.wall1=0,1,0
|
||
|
cube.wall1=0,2,0
|
||
|
cube.wall1=0,3,1
|
||
|
cube.wall1=0,3,3
|
||
|
cube.wall2=2,0,4
|
||
|
cube.wall1=0,1,4
|
||
|
cube.wall1=0,3,4
|
||
|
|
||
|
cube.ground=0,0,1
|
||
|
cube.ground=0,1,1
|
||
|
cube.ground=0,2,1
|
||
|
cube.ground=0,0,2
|
||
|
cube.ground=0,1,2
|
||
|
cube.ground=0,2,2
|
||
|
cube.ground=0,3,2
|
||
|
cube.ground=0,0,3
|
||
|
cube.ground=0,1,3
|
||
|
cube.ground=0,2,3
|
||
|
cube.ground=0,2,4
|
||
|
|
||
|
remove_object.ceiling=0,1
|
||
|
remove_object.ceiling=1,1
|
||
|
remove_object.ceiling=2,1
|
||
|
remove_object.ceiling=0,2
|
||
|
remove_object.ceiling=1,2
|
||
|
remove_object.ceiling=2,2
|
||
|
remove_object.ceiling=3,2
|
||
|
remove_object.ceiling=0,3
|
||
|
remove_object.ceiling=1,3
|
||
|
remove_object.ceiling=2,3
|
||
|
remove_object.ceiling=2,4
|
||
|
|
||
|
remove_object.block_all=1,2
|
||
|
object.column=0,1,2
|
||
|
object.torch2=0,2,1
|
||
|
state=255
|
||
|
|
||
|
[behavior=torch_inv5]
|
||
|
<on_enter=0,1>
|
||
|
text_id=hoh_torch
|
||
|
play_sound.metalclank =0
|
||
|
button_id=b_ok
|
||
|
<on_button=0,0>
|
||
|
state=1
|
||
|
<on_click=1>
|
||
|
change_global.30=1
|
||
|
cube.wall2=3,1,0
|
||
|
cube.wall1=0,3,0
|
||
|
cube.wall1=0,3,1
|
||
|
cube.wall1=0,3,2
|
||
|
cube.wall1=0,1,3
|
||
|
cube.wall1=0,2,3
|
||
|
|
||
|
cube.ground=0,2,0
|
||
|
cube.ground=0,0,1
|
||
|
cube.ground=0,1,1
|
||
|
cube.ground=0,2,1
|
||
|
cube.ground=0,0,2
|
||
|
cube.ground=0,1,2
|
||
|
cube.ground=0,2,2
|
||
|
cube.ground=0,0,3
|
||
|
|
||
|
remove_object.ceiling=2,0
|
||
|
remove_object.ceiling=0,1
|
||
|
remove_object.ceiling=1,1
|
||
|
remove_object.ceiling=2,1
|
||
|
remove_object.ceiling=0,2
|
||
|
remove_object.ceiling=1,2
|
||
|
remove_object.ceiling=2,2
|
||
|
remove_object.ceiling=0,3
|
||
|
|
||
|
enemy_type.wraith_eyes=wraith,1,1
|
||
|
|
||
|
object.torch2=1,2,2
|
||
|
state=255
|
||
|
|
||
|
[behavior=torch_inv6]
|
||
|
<on_enter=0,1>
|
||
|
text_id=hoh_torch
|
||
|
play_sound.metalclank =0
|
||
|
button_id=b_ok
|
||
|
<on_button=0,0>
|
||
|
state=1
|
||
|
<on_click=1>
|
||
|
change_global.30=1
|
||
|
cube.wall1=0,0,0
|
||
|
cube.wall2=1,2,0
|
||
|
cube.wall1=0,0,1
|
||
|
cube.wall1=0,0,2
|
||
|
cube.wall1=0,1,3
|
||
|
cube.wall1=0,2,3
|
||
|
|
||
|
cube.ground=0,1,0
|
||
|
cube.ground=0,1,1
|
||
|
cube.ground=0,2,1
|
||
|
cube.ground=0,3,1
|
||
|
cube.ground=0,1,2
|
||
|
cube.ground=0,2,2
|
||
|
cube.ground=0,3,2
|
||
|
cube.ground=0,3,3
|
||
|
|
||
|
remove_object.ceiling=1,0
|
||
|
remove_object.ceiling=1,1
|
||
|
remove_object.ceiling=2,1
|
||
|
remove_object.ceiling=3,1
|
||
|
remove_object.ceiling=1,2
|
||
|
remove_object.ceiling=2,2
|
||
|
remove_object.ceiling=3,2
|
||
|
remove_object.ceiling=3,3
|
||
|
|
||
|
object.torch2=2,1,2
|
||
|
state=255
|
||
|
|
||
|
[behavior=torch_inv7]
|
||
|
<on_enter=0,1>
|
||
|
text_id=hoh_torch
|
||
|
play_sound.metalclank =0
|
||
|
button_id=b_ok
|
||
|
<on_button=0,0>
|
||
|
state=1
|
||
|
<on_click=1>
|
||
|
change_global.30=1
|
||
|
cube.wall1=0,1,0
|
||
|
cube.wall1=0,0,1
|
||
|
cube.wall1=0,2,1
|
||
|
cube.wall1=0,2,2
|
||
|
cube.wall1=0,0,3
|
||
|
cube.wall1=0,2,3
|
||
|
cube.wall1=0,0,4
|
||
|
cube.wall1=0,2,4
|
||
|
cube.wall1=0,0,5
|
||
|
cube.wall1=0,2,5
|
||
|
cube.wall1=0,0,6
|
||
|
cube.wall1=0,2,6
|
||
|
cube.wall1=0,0,7
|
||
|
cube.wall1=0,2,7
|
||
|
|
||
|
cube.ground=0,1,1
|
||
|
cube.ground=0,0,2
|
||
|
cube.ground=0,1,2
|
||
|
cube.ground=0,1,3
|
||
|
cube.ground=0,1,4
|
||
|
cube.ground=0,1,5
|
||
|
cube.ground=0,1,6
|
||
|
cube.ground=0,1,7
|
||
|
|
||
|
remove_object.ceiling=1,1
|
||
|
remove_object.ceiling=0,2
|
||
|
remove_object.ceiling=1,2
|
||
|
remove_object.ceiling=1,3
|
||
|
remove_object.ceiling=1,4
|
||
|
remove_object.ceiling=1,5
|
||
|
remove_object.ceiling=1,6
|
||
|
remove_object.ceiling=1,7
|
||
|
|
||
|
enemy_type.wraith_eyes=wraith,1,5
|
||
|
|
||
|
object.torch2=0,1,1
|
||
|
state=255
|
||
|
|
||
|
[behavior=torch_inv8]
|
||
|
<on_enter=0,1>
|
||
|
text_id=hoh_torch
|
||
|
play_sound.metalclank =0
|
||
|
button_id=b_ok
|
||
|
<on_button=0,0>
|
||
|
state=1
|
||
|
<on_click=1>
|
||
|
change_global.30=1
|
||
|
cube.wall1=0,1,0
|
||
|
cube.wall1=1,3,0
|
||
|
cube.wall1=0,1,1
|
||
|
cube.wall1=1,3,1
|
||
|
cube.wall1=0,0,2
|
||
|
cube.wall1=0,3,2
|
||
|
cube.wall1=0,3,3
|
||
|
cube.wall1=0,0,4
|
||
|
cube.wall1=0,3,4
|
||
|
cube.wall1=0,1,5
|
||
|
cube.wall1=0,2,5
|
||
|
|
||
|
cube.ground=0,2,0
|
||
|
cube.ground=0,2,1
|
||
|
cube.ground=0,1,2
|
||
|
cube.ground=0,2,2
|
||
|
cube.ground=0,0,3
|
||
|
cube.ground=0,1,3
|
||
|
cube.ground=0,2,3
|
||
|
cube.ground=0,1,4
|
||
|
cube.ground=0,2,4
|
||
|
|
||
|
remove_object.ceiling=2,0
|
||
|
remove_object.ceiling=2,1
|
||
|
remove_object.ceiling=1,2
|
||
|
remove_object.ceiling=2,2
|
||
|
remove_object.ceiling=0,3
|
||
|
remove_object.ceiling=1,3
|
||
|
remove_object.ceiling=2,3
|
||
|
remove_object.ceiling=1,4
|
||
|
remove_object.ceiling=2,4
|
||
|
|
||
|
enemy_type.wraith_eyes=wraith,1,2
|
||
|
|
||
|
object.torch2=1,2,4
|
||
|
state=255
|
||
|
|
||
|
[behavior=torch_inv9]
|
||
|
<on_enter=0,1>
|
||
|
text_id=hoh_torch
|
||
|
play_sound.metalclank =0
|
||
|
button_id=b_ok
|
||
|
<on_button=0,0>
|
||
|
state=1
|
||
|
<on_click=1>
|
||
|
change_global.30=1
|
||
|
cube.wall1=0,1,0
|
||
|
cube.wall1=1,2,0
|
||
|
cube.wall1=0,4,0
|
||
|
cube.wall1=0,0,1
|
||
|
cube.wall1=0,5,1
|
||
|
cube.wall1=0,0,3
|
||
|
cube.wall1=0,5,3
|
||
|
cube.wall1=1,1,4
|
||
|
cube.wall1=0,2,4
|
||
|
cube.wall1=0,3,4
|
||
|
cube.wall1=1,4,4
|
||
|
|
||
|
cube.ground=0,3,0
|
||
|
cube.ground=0,1,1
|
||
|
cube.ground=0,2,1
|
||
|
cube.ground=0,3,1
|
||
|
cube.ground=0,4,1
|
||
|
cube.ground=0,0,2
|
||
|
cube.ground=0,1,2
|
||
|
cube.ground=0,2,2
|
||
|
cube.ground=0,3,2
|
||
|
cube.ground=0,4,2
|
||
|
cube.ground=0,5,2
|
||
|
cube.ground=0,1,3
|
||
|
cube.ground=0,2,3
|
||
|
cube.ground=0,3,3
|
||
|
cube.ground=0,4,3
|
||
|
|
||
|
remove_object.ceiling=3,0
|
||
|
remove_object.ceiling=1,1
|
||
|
remove_object.ceiling=2,1
|
||
|
remove_object.ceiling=3,1
|
||
|
remove_object.ceiling=4,1
|
||
|
remove_object.ceiling=0,2
|
||
|
remove_object.ceiling=1,2
|
||
|
remove_object.ceiling=2,2
|
||
|
remove_object.ceiling=3,2
|
||
|
remove_object.ceiling=4,2
|
||
|
remove_object.ceiling=5,2
|
||
|
remove_object.ceiling=1,3
|
||
|
remove_object.ceiling=2,3
|
||
|
remove_object.ceiling=3,3
|
||
|
remove_object.ceiling=4,3
|
||
|
|
||
|
enemy_type.wraith_eyes=wraith,2,1
|
||
|
|
||
|
object.torch2=2,3,3
|
||
|
state=255
|
||
|
|
||
|
[behavior=torch_inv10]
|
||
|
<on_enter=0,1>
|
||
|
text_id=hoh_torch
|
||
|
play_sound.metalclank =0
|
||
|
button_id=b_ok
|
||
|
<on_button=0,0>
|
||
|
state=1
|
||
|
<on_click=1>
|
||
|
change_global.30=1
|
||
|
cube.wall1=0,1,0
|
||
|
cube.wall1=0,3,0
|
||
|
cube.wall1=0,0,1
|
||
|
cube.wall1=0,4,1
|
||
|
cube.wall1=0,0,2
|
||
|
cube.wall1=2,0,3
|
||
|
cube.wall1=0,4,3
|
||
|
cube.wall1=0,1,4
|
||
|
cube.wall1=0,2,4
|
||
|
cube.wall1=0,3,4
|
||
|
|
||
|
cube.ground=0,2,0
|
||
|
cube.ground=0,1,1
|
||
|
cube.ground=0,2,1
|
||
|
cube.ground=0,3,1
|
||
|
cube.ground=0,1,2
|
||
|
cube.ground=0,2,2
|
||
|
cube.ground=0,3,2
|
||
|
cube.ground=0,4,2
|
||
|
cube.ground=0,1,3
|
||
|
cube.ground=0,2,3
|
||
|
cube.ground=0,3,3
|
||
|
|
||
|
remove_object.ceiling=2,0
|
||
|
remove_object.ceiling=1,1
|
||
|
remove_object.ceiling=2,1
|
||
|
remove_object.ceiling=3,1
|
||
|
remove_object.ceiling=1,2
|
||
|
remove_object.ceiling=2,2
|
||
|
remove_object.ceiling=3,2
|
||
|
remove_object.ceiling=4,2
|
||
|
remove_object.ceiling=1,3
|
||
|
remove_object.ceiling=2,3
|
||
|
remove_object.ceiling=3,3
|
||
|
|
||
|
enemy_type.wraith_eyes=wraith,3,1
|
||
|
|
||
|
remove_object.block_all=2,2
|
||
|
object.column=0,2,2
|
||
|
object.torch2=2,1,3
|
||
|
state=255
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
|
||
|
[behavior = kill]
|
||
|
<on_enter = 0,1>
|
||
|
hit=100,0,2000,2000,0,0
|
||
|
<on_global=0,30,10>
|
||
|
item.shards=0,0
|
||
|
state=255
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
[behavior = house_door]
|
||
|
<on_init = 0>
|
||
|
animate = 0, 0, 0, 1
|
||
|
block = 1
|
||
|
<on_init = 1>
|
||
|
animate = 1, 1, 0, 1
|
||
|
block = 0
|
||
|
<on_click = 0>
|
||
|
state = 1
|
||
|
animate = -1, 1, 0, 1
|
||
|
block = 0
|
||
|
play_sound.door = 0
|
||
|
end_round=1
|
||
|
<on_click = 1>
|
||
|
play_sound.door = 0
|
||
|
state = 0
|
||
|
animate = -1, 0, 0, 1
|
||
|
block = 1
|
||
|
end_round=1
|
||
|
|
||
|
[behavior = house_door_locked]
|
||
|
<on_init = 0>
|
||
|
animate = 0, 0, 0, 1
|
||
|
block = 1
|
||
|
<on_init = 1>
|
||
|
animate = 0, 0, 0, 1
|
||
|
block = 1
|
||
|
<on_init = 2>
|
||
|
animate = 1, 1, 0, 1
|
||
|
block = 0
|
||
|
<on_click = 0>
|
||
|
check_item.golden_key=0
|
||
|
<on_check=0,0,0>
|
||
|
play_sound.locked_door = 0
|
||
|
text_id=locked_door
|
||
|
<on_check=0,0,1>
|
||
|
text_id=action_used_key
|
||
|
play_sound.unlock = 0
|
||
|
remove_party_item.golden_key=1
|
||
|
state=1
|
||
|
do_click=0
|
||
|
<on_click = 1>
|
||
|
play_sound.door = 0
|
||
|
state = 2
|
||
|
animate = -1, 1, 0, 1
|
||
|
block = 0
|
||
|
<on_click = 2>
|
||
|
play_sound.door = 0
|
||
|
state = 1
|
||
|
animate = -1, 0, 0, 1
|
||
|
block = 1
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
[behavior = down]
|
||
|
<on_move=0,2>
|
||
|
do_click=0
|
||
|
<on_click=0>
|
||
|
play_sound.ladder=0
|
||
|
teleport.hoh = -1,9,8
|