267 lines
5.4 KiB
Plaintext
267 lines
5.4 KiB
Plaintext
sound.metalclank = data/sound/metalclank.wav
|
|
|
|
[behavior=RESPAWN-beetle]
|
|
<on_enter = 0, 1>
|
|
check_global.254=0,0
|
|
<on_check=0,0,1>
|
|
enemy.beetle_respawn=0,0
|
|
change_global.254=-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
|
|
|
|
--------------------------------------------------------------------------------
|
|
intro
|
|
--------------------------------------------------------------------------------
|
|
|
|
[behavior = intro]
|
|
<on_enter=0,1>
|
|
text_id = intro_1
|
|
picture = data\scene\intro1.jpg
|
|
button_id = b_next
|
|
button_id = b_skip_intro
|
|
quest.bet = 1
|
|
<on_button=0,1>
|
|
cancel_picture = 1
|
|
text_id = intro_7
|
|
play_sound.yawn=0
|
|
state=10
|
|
<on_button=0,0>
|
|
state=1
|
|
text_id = intro_2
|
|
button_id = b_next
|
|
button_id = b_skip_intro
|
|
picture = data\scene\intro2.jpg
|
|
<on_button=1,1>
|
|
cancel_picture = 1
|
|
text_id = intro_7
|
|
play_sound.yawn=0
|
|
state=10
|
|
<on_button=1,0>
|
|
state=2
|
|
text_id = intro_3
|
|
button_id = b_next
|
|
button_id = b_skip_intro
|
|
picture = data\scene\intro3.jpg
|
|
<on_button=2,1>
|
|
cancel_picture = 1
|
|
text_id = intro_7
|
|
play_sound.yawn=0
|
|
state=10
|
|
<on_button=2,0>
|
|
state=3
|
|
text_id = intro_4
|
|
button_id = b_next
|
|
button_id = b_skip_intro
|
|
picture = data\scene\intro4.jpg
|
|
<on_button=3,1>
|
|
cancel_picture = 1
|
|
text_id = intro_7
|
|
play_sound.yawn=0
|
|
state=10
|
|
<on_button=3,0>
|
|
state=4
|
|
text_id = intro_5
|
|
button_id = b_next
|
|
button_id = b_skip_intro
|
|
picture = data\scene\intro4.jpg
|
|
<on_button=4,1>
|
|
cancel_picture = 1
|
|
text_id = intro_7
|
|
play_sound.yawn=0
|
|
state=10
|
|
<on_button=4,0>
|
|
state=5
|
|
text_id = intro_6
|
|
button_id = b_ok
|
|
picture = data\scene\intro5.jpg
|
|
<on_button=5,0>
|
|
cancel_picture = 1
|
|
text_id = intro_7
|
|
play_sound.yawn=0
|
|
state=10
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
[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
|
|
cube.G_TOMB = 0,0,0
|
|
play_sound.switch = 0
|
|
<on_click = 1>
|
|
state = 0
|
|
animate = 0, 0, 0, 1
|
|
cube.W_STONE = 0,0 ,0
|
|
play_sound.switch = 0
|
|
|
|
|
|
[behavior = exit_townhall]
|
|
<on_move = 0,2>
|
|
do_click=0
|
|
<on_click=0>
|
|
play_sound.ladder =0
|
|
teleport.DUNGHILL = 2,13,11
|
|
|
|
[behavior = exit_inn]
|
|
<on_move = 0,2>
|
|
do_click=0
|
|
<on_click = 0>
|
|
play_sound.ladder = 0
|
|
teleport.DUNGHILL = 3,11,1
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
[behavior=plate1]
|
|
<on_init=0>
|
|
animate=0,0,0,0
|
|
<on_init=1>
|
|
animate=1,1,0,0
|
|
<on_enter=0,0>
|
|
cube.g_tomb = 0,0,0
|
|
animate=1,1,0,0
|
|
state=1
|
|
play_sound.switch = 0
|
|
<on_release=1>
|
|
cube.w_stone = 0,0,0
|
|
animate=0,0,0,0
|
|
state=0
|
|
play_sound.switch = 0
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
[behavior=help_lever]
|
|
<on_enter=0,1>
|
|
text_id = dh2_levers
|
|
button_id = b_ok
|
|
state=255
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
[behavior=help_combat]
|
|
<on_enter=0,1>
|
|
#picture=data/scene/tutorial1.jpg
|
|
text_id=dh_help_combat1
|
|
button_id=b_next
|
|
#button_id=b_skip
|
|
<on_button=0,0>
|
|
state=1
|
|
picture=data/scene/tutorial1.jpg
|
|
text_id=dh_help_combat2
|
|
button_id=b_next
|
|
#button_id=b_skip
|
|
<on_button=0,1>
|
|
set_global.0=1
|
|
state=255
|
|
<on_button=1,0>
|
|
state=2
|
|
picture=data/scene/tutorial1.jpg
|
|
text_id=dh_help_combat3
|
|
button_id=b_next
|
|
#button_id=b_skip
|
|
<on_button=1,1>
|
|
set_global.0=1
|
|
state=255
|
|
<on_button=2,0>
|
|
state=3
|
|
picture=data/scene/tutorial1.jpg
|
|
text_id=dh_help_combat4
|
|
button_id=b_ok
|
|
#button_id=b_skip
|
|
<on_button=2,1>
|
|
set_global.0=1
|
|
state=255
|
|
<on_button=3,0>
|
|
state=255
|
|
<on_button=3,1>
|
|
set_global.0=1
|
|
state=255
|
|
|
|
[behavior=help_map]
|
|
<on_enter=0,1>
|
|
check_global.0=1,0
|
|
<on_check=0,0,0>
|
|
state=255
|
|
<on_check=0,0,-1>
|
|
picture=data/scene/tutorial2.jpg
|
|
text_id=dh_help_map1
|
|
button_id=b_ok
|
|
#button_id=b_skip
|
|
<on_button=0,0>
|
|
state=255
|
|
<on_button=0,1>
|
|
set_global.0=1
|
|
state=255
|
|
|
|
[behavior=help_pick]
|
|
<on_enter=0,1>
|
|
check_global.0=1,0
|
|
<on_check=0,0,0>
|
|
state=255
|
|
<on_check=0,0,-1>
|
|
text_width=310
|
|
text_id=dh_help_pick1
|
|
button_id=b_ok
|
|
#button_id=b_skip
|
|
<on_button=0,0>
|
|
state=255
|
|
<on_button=0,1>
|
|
set_global.0=1
|
|
state=255
|
|
|
|
[behavior=fence_spec]
|
|
<on_click=0>
|
|
text_width=220
|
|
text_id=dh_help_rail1
|
|
use_offer=0
|
|
<on_use.empty_tankard=0,0>
|
|
text_id=nothing_happened
|
|
<on_use.empty_tankard=0,1>
|
|
play_sound.metalclank=0
|
|
text_width=310
|
|
text_id=dh_help_rail2
|
|
button_id=b_dh_rail
|
|
enemy.bartender=0,0
|
|
remove_party_item.empty_tankard=1
|
|
<on_button=0,0>
|
|
text_id=dh_help_rail3
|
|
button_id=b_yes
|
|
state=1
|
|
<on_button=1,0>
|
|
text_id=dh_help_rail4
|
|
button_id=b_ok
|
|
quest.leaving_dunghill=1
|
|
state=2
|
|
<on_button=2,0>
|
|
teleport.dunghill=2,9,5
|
|
|
|
|
|
|
|
[behavior=help_garbage]
|
|
<on_enter=0,1>
|
|
check_global.0=1,0
|
|
<on_check=0,0,0>
|
|
state=255
|
|
<on_check=0,0,-1>
|
|
text_id = dh_help_garbage
|
|
button_id = b_ok
|
|
#button_id=b_skip
|
|
<on_button=0,0>
|
|
state=255
|
|
<on_button=0,1>
|
|
set_global.0=1
|
|
state=255
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|