140 lines
2.9 KiB
Plaintext
140 lines
2.9 KiB
Plaintext
--------------------------------------------------------------------------------
|
|
[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>
|
|
state = 0
|
|
animate = -1, 0, 0, 1
|
|
block = 1
|
|
play_sound.door = 0
|
|
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.steel_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.steel_key=1
|
|
state=1
|
|
do_click=0
|
|
<on_click = 1>
|
|
state = 2
|
|
animate = -1, 1, 0, 1
|
|
block = 0
|
|
play_sound.door = 0
|
|
end_round=1
|
|
<on_click = 2>
|
|
state = 1
|
|
animate = -1, 0, 0, 1
|
|
block = 1
|
|
play_sound.door = 0
|
|
end_round=1
|
|
|
|
[behavior=house_door_barricade]
|
|
<on_init = 0>
|
|
animate = 0, 0, 0, 1
|
|
block = 1
|
|
<on_click = 0>
|
|
play_sound.locked_door=0
|
|
text_width=220
|
|
text_id=ct_door_barricade
|
|
use_offer=0
|
|
<on_use.keg=0,0>
|
|
text_id=ct_door_barricade2
|
|
<on_use.keg=0,1>
|
|
picture=data\scene\explosion.jpg
|
|
text_id=ct_explosion
|
|
remove_party_item.keg=1
|
|
remove_object.house_door_barricade=0,0
|
|
|
|
--------------------------------------------------------------------------------
|
|
[behavior = door1]
|
|
<on_move=0,2>
|
|
do_click=1
|
|
<on_click=0>
|
|
play_sound.locked_door=0
|
|
text_id=gang_locked_door
|
|
|
|
--------------------------------------------------------------------------------
|
|
[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.ground=0,0,0
|
|
play_sound.move_stone=0
|
|
<on_click = 1>
|
|
state = 0
|
|
animate = 0, 0, 0, 1
|
|
cube.wall1=0,0,0
|
|
play_sound.move_stone=0
|
|
|
|
--------------------------------------------------------------------------------
|
|
[behavior = exit]
|
|
<on_move=0,2>
|
|
do_click=1
|
|
<on_click=0>
|
|
play_sound.ladder=0
|
|
teleport=-1,0,0
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
[behavior=win_stone_exit]
|
|
<on_move=0,2>
|
|
do_click=1
|
|
<on_click=0>
|
|
teleport.city=-1,32,27
|
|
|
|
--------------------------------------------------------------------------------
|
|
[behavior=gang_end]
|
|
<on_enter=0,1>
|
|
picture=data\scene\demon1.jpg
|
|
text_id=gang_end1
|
|
button_id=b_next
|
|
<on_button=0,0>
|
|
state=1
|
|
picture=data\scene\demon2.jpg
|
|
text_id=gang_end2
|
|
button_id=b_next
|
|
<on_button=1,0>
|
|
state=2
|
|
picture=data\scene\demon2.jpg
|
|
text_id=gang_end3
|
|
button_id=b_next
|
|
set_global.22=1
|
|
flash_view=0,0,0,255
|
|
|
|
|
|
[behavior = sign_office]
|
|
<on_click=0>
|
|
text_id = gang_sign_office
|
|
text_width = 300
|