255 lines
5.3 KiB
Plaintext
255 lines
5.3 KiB
Plaintext
sound.AJAJ = data/sound/npc/ajaj.wav
|
|
|
|
[behavior=RESPAWN-bone]
|
|
<on_enter = 0, 1>
|
|
check_global.252=0,0
|
|
<on_check=0,0,1>
|
|
enemy.bonewraith_respawn=0,0
|
|
change_global.252=-1
|
|
|
|
[behavior=RESPAWN-smallrat]
|
|
<on_enter = 0, 1>
|
|
check_global.255=0,0
|
|
<on_check=0,0,1>
|
|
enemy.smallrat_respawn=0,0
|
|
change_global.255=-1
|
|
--------------------------------------------------------------------------------
|
|
|
|
[behavior=tstone]
|
|
# top = tomb
|
|
# left = dunghill
|
|
# right = nighor
|
|
# bottom = forest
|
|
<on_click=0>
|
|
text_id=travelstone
|
|
button_id=b_tstone1
|
|
button_id=b_tstone2
|
|
button_id=b_tstone3
|
|
button_id=b_tstone4
|
|
button_id=b_tstone5
|
|
<on_button=0,0>
|
|
flash_view=0,250,250,100
|
|
play_sound.skill_ancestor =0
|
|
<on_button=0,1>
|
|
flash_view=0,250,250,100
|
|
play_sound.skill_ancestor =0
|
|
teleport.dunghill=-1,10,17
|
|
<on_button=0,2>
|
|
flash_view=0,250,250,100
|
|
play_sound.skill_ancestor =0
|
|
teleport.dunghill=-1,44,6
|
|
<on_button=0,3>
|
|
flash_view=0,250,250,100
|
|
play_sound.skill_ancestor =0
|
|
teleport.dunghill=-1,27,11
|
|
--------------------------------------------------------------------------------
|
|
|
|
[behavior = tomb_up]
|
|
<on_enter=0,1>
|
|
do_click=0
|
|
<on_click=0>
|
|
play_sound.ladder=0
|
|
teleport.dunghill=-1,32,1
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
[behavior = tomb_door]
|
|
<on_init = 0>
|
|
animate = 0, 0, 0, 1
|
|
block = 1
|
|
<on_init = 1>
|
|
animate = 4, 4, 0, 1
|
|
block = 0
|
|
<on_click = 0>
|
|
state = 1
|
|
animate = -1, 4, 0, 1
|
|
block = 0
|
|
play_sound.move_stone =0
|
|
end_round=1
|
|
<on_click = 1>
|
|
state = 0
|
|
animate = -1, 0, 0, 1
|
|
block = 1
|
|
play_sound.move_stone =0
|
|
|
|
|
|
[behavior = tomb_door_lever]
|
|
<on_init = 0>
|
|
animate = 0, 0, 0, 1
|
|
block = 1
|
|
<on_init = 1>
|
|
animate = 4, 4, 0, 1
|
|
block = 0
|
|
<on_click = 0>
|
|
text_id=locked_door
|
|
<on_activate=0,1>
|
|
state = 1
|
|
animate = -1, 4, 0, 1
|
|
block = 0
|
|
play_sound.move_stone =0
|
|
end_round=1
|
|
<on_activate=1,1>
|
|
state = 0
|
|
animate = -1, 0, 0, 1
|
|
block = 1
|
|
play_sound.move_stone =0
|
|
|
|
[behavior = tomb_door_key]
|
|
<on_init = 0>
|
|
animate = 0, 0, 0, 1
|
|
block = 1
|
|
<on_init = 1>
|
|
animate = 0, 0, 0, 1
|
|
block = 1
|
|
<on_init = 2>
|
|
animate = 4, 4, 0, 1
|
|
block = 0
|
|
<on_click = 0>
|
|
text_id=locked_door
|
|
<on_activate=0,1>
|
|
state=1
|
|
do_click=1
|
|
<on_click = 1>
|
|
animate = -1, 4, 0, 1
|
|
block = 0
|
|
state=2
|
|
play_sound.move_stone =0
|
|
end_round=1
|
|
<on_click = 2>
|
|
state = 1
|
|
animate = -1, 0, 0, 1
|
|
block = 1
|
|
play_sound.move_stone =0
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
[behavior = button1]
|
|
<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_tomb=0,0,0
|
|
play_sound.move_stone =0
|
|
play_sound.switch =0
|
|
<on_click = 1>
|
|
state = 0
|
|
animate = 0, 0, 0, 1
|
|
cube.w_stone=0,0,0
|
|
play_sound.move_stone =0
|
|
play_sound.switch =0
|
|
|
|
[behavior = button2]
|
|
<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_tomb=0,0,0
|
|
play_sound.switch =0
|
|
play_sound.move_stone =0
|
|
<on_click = 1>
|
|
state = 0
|
|
animate = 0, 0, 0, 1
|
|
cube.w_clay=0,0,0
|
|
play_sound.switch =0
|
|
play_sound.move_stone =0
|
|
|
|
|
|
[behavior = button_secret_wall]
|
|
<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_tomb=0,0,0
|
|
play_sound.move_stone =0
|
|
remove_object.draft = 0,-1
|
|
play_sound.switch =0
|
|
|
|
<on_click = 1>
|
|
state = 0
|
|
animate = 0, 0, 0, 1
|
|
cube.w_stone=0,0,0
|
|
play_sound.move_stone =0
|
|
play_sound.switch =0
|
|
|
|
--------------------------------------------------------------------------------
|
|
[behavior = lever]
|
|
<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=brother]
|
|
<on_click=0>
|
|
text_id=dh_brother2
|
|
button_id=b_ok
|
|
play_sound.AJAJ = 0
|
|
<on_button=0,0>
|
|
remove_enemy.townsman=0,0
|
|
item.bone_key=255,255
|
|
exp=250
|
|
check_global.35=1,0
|
|
<on_check=0,0,-1>
|
|
state=255
|
|
set_global.35=2
|
|
<on_check=0,0,0>
|
|
state=255
|
|
quest.brother=2
|
|
set_global.35=2
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
[behavior = lock]
|
|
<on_click=0>
|
|
check_item.bone_key=0
|
|
<on_check=0,0,0>
|
|
text_id=locked
|
|
<on_check=0,0,1>
|
|
text_id=action_used_key
|
|
activate=1,0,0
|
|
play_sound.unlock=0
|
|
remove_party_item.bone_key=1
|
|
state=1
|
|
<on_click=1>
|
|
text_id=unlocked
|
|
|
|
--------------------------------------------------------------------------------
|
|
[behavior = teleport]
|
|
<on_enter = 0,1>
|
|
teleport = -1,0,0
|
|
play_sound.teleport=0
|
|
|
|
--------------------------------------------------------------------------------
|
|
[behavior=wanted]
|
|
<on_click=0>
|
|
item.proof_of_heroism=255,255
|
|
play_sound.map=0
|
|
state=255
|
|
|
|
--------------------------------------------------------------------------------
|
|
[behavior=draft]
|
|
<on_enter=0,1>
|
|
text_id=dh_tomb_draft
|
|
state=255
|
|
|