308 lines
6.8 KiB
Plaintext
308 lines
6.8 KiB
Plaintext
|
-------------------------------------------------------------------------------
|
||
|
[behavior = library_door]
|
||
|
<on_enter=0,1>
|
||
|
do_click=0
|
||
|
<on_click=0>
|
||
|
teleport.cloister_1=-1,28,2
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
[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=plate1]
|
||
|
<on_init=0>
|
||
|
animate=0,0,0,0
|
||
|
<on_init=1>
|
||
|
animate=1,1,0,0
|
||
|
<on_enter=0,1>
|
||
|
cube.w_books = 1,0,0
|
||
|
animate=1,1,0,0
|
||
|
state=1
|
||
|
play_sound.switch =0
|
||
|
play_sound.MOVE_STONE =0
|
||
|
<on_release=1>
|
||
|
animate=0,0,0,0
|
||
|
play_sound.switch =0
|
||
|
state=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
|
||
|
cube.g_cloister1 = 0,0,0
|
||
|
activate = 1,0,0
|
||
|
play_sound.MOVE_STONE =0
|
||
|
play_sound.switch =0
|
||
|
<on_click = 1>
|
||
|
state = 0
|
||
|
animate = 0, 0, 0, 1
|
||
|
cube.w_books = 1,0,0
|
||
|
activate = 2,0,0
|
||
|
play_sound.MOVE_STONE =0
|
||
|
play_sound.switch =0
|
||
|
|
||
|
[behavior = lever2]
|
||
|
<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
|
||
|
activate = 1,0,0
|
||
|
play_sound.MOVE_STONE =0
|
||
|
play_sound.switch =0
|
||
|
<on_click = 1>
|
||
|
state = 0
|
||
|
animate = 0, 0, 0, 1
|
||
|
cube.w_books = 0,0,0
|
||
|
activate = 2,0,0
|
||
|
play_sound.MOVE_STONE =0
|
||
|
play_sound.switch =0
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
[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
|
||
|
activate = 1,0,0
|
||
|
play_sound.MOVE_STONE =0
|
||
|
play_sound.switch =0
|
||
|
<on_click = 1>
|
||
|
state = 0
|
||
|
animate = 0, 0, 0, 1
|
||
|
cube.w_books = 1,0,0
|
||
|
activate = 2,0,0
|
||
|
play_sound.MOVE_STONE =0
|
||
|
play_sound.switch =0
|
||
|
|
||
|
[behavior = button_NS]
|
||
|
<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
|
||
|
activate = 1,0,0
|
||
|
play_sound.MOVE_STONE =0
|
||
|
play_sound.switch =0
|
||
|
<on_click = 1>
|
||
|
state = 0
|
||
|
animate = 0, 0, 0, 1
|
||
|
cube.w_books = 0,0,0
|
||
|
activate = 2,0,0
|
||
|
play_sound.MOVE_STONE =0
|
||
|
play_sound.switch =0
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
[behavior = red_book]
|
||
|
<on_click = 0>
|
||
|
state = 1
|
||
|
cube.g_cloister1 = 0,0,0
|
||
|
activate = 1,0,0
|
||
|
play_sound.MOVE_STONE =0
|
||
|
<on_click = 1>
|
||
|
state = 0
|
||
|
cube.w_books = 1,0,0
|
||
|
activate = 2,0,0
|
||
|
play_sound.MOVE_STONE =0
|
||
|
|
||
|
[behavior = book_green]
|
||
|
<on_click=0>
|
||
|
state=1
|
||
|
play_sound.inventory=0
|
||
|
item.sprig=0,0
|
||
|
[behavior = book_blue]
|
||
|
<on_click=0>
|
||
|
state=1
|
||
|
play_sound.inventory=0
|
||
|
item.pearl=0,0
|
||
|
[behavior = book_red]
|
||
|
<on_click=0>
|
||
|
state=1
|
||
|
play_sound.inventory=0
|
||
|
item.scale=0,0
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
[behavior=closer_NS]
|
||
|
<on_activate=0,1>
|
||
|
cube.w_books = 0,0,0
|
||
|
<on_activate=0,2>
|
||
|
cube.g_cloister1 = 0,0,0
|
||
|
[behavior=closer_WE]
|
||
|
<on_activate=0,1>
|
||
|
cube.w_books = 1,0,0
|
||
|
<on_activate=0,2>
|
||
|
cube.g_cloister1 = 1,0,0
|
||
|
--------------------------------------------------------------------------------
|
||
|
|
||
|
[behavior = teleport]
|
||
|
<on_enter = 0,1>
|
||
|
teleport = -1,0,0
|
||
|
play_sound.TELEPORT = 0
|
||
|
|
||
|
-------------------------------------------------------------------------------
|
||
|
[behavior = wall_sign]
|
||
|
<on_click=0>
|
||
|
text_id=lib1
|
||
|
|
||
|
-------------------------------------------------------------------------------
|
||
|
[behavior = fire_]
|
||
|
<on_init=0>
|
||
|
animate=5,5,0,1
|
||
|
<on_activate=0,1>
|
||
|
play_sound.SKILL_FIREBALL=0
|
||
|
animate=0,5,0,1
|
||
|
|
||
|
[behavior = lib_hole]
|
||
|
<on_click=0>
|
||
|
use_offer=0
|
||
|
<on_use.scale=0,1>
|
||
|
activate=1,-1,0
|
||
|
remove_party_item.scale=1
|
||
|
state=1
|
||
|
<on_use.sprig=0,1>
|
||
|
activate=1,-1,0
|
||
|
remove_party_item.sprig=1
|
||
|
state=10
|
||
|
<on_use.pearl=0,1>
|
||
|
activate=1,-1,0
|
||
|
remove_party_item.pearl=1
|
||
|
state=10
|
||
|
<on_click=1>
|
||
|
use_offer=0
|
||
|
<on_use.sprig=1,1>
|
||
|
activate=1,-1,0
|
||
|
remove_party_item.sprig=1
|
||
|
state=2
|
||
|
<on_use.pearl=1,1>
|
||
|
activate=1,-1,0
|
||
|
remove_party_item.pearl=1
|
||
|
state=11
|
||
|
<on_click=2>
|
||
|
use_offer=0
|
||
|
<on_use.pearl=2,1>
|
||
|
activate=1,-1,0
|
||
|
remove_party_item.pearl=1
|
||
|
cube.g_cloister1=0,-2,-2
|
||
|
text_id=lib2
|
||
|
play_sound.MOVE_STONE = 0
|
||
|
state=3
|
||
|
|
||
|
<on_click=10>
|
||
|
use_offer=0
|
||
|
<on_use.scale=10,1>
|
||
|
activate=1,-1,0
|
||
|
remove_party_item.scale=1
|
||
|
state=11
|
||
|
<on_use.sprig=10,1>
|
||
|
activate=1,-1,0
|
||
|
remove_party_item.sprig=1
|
||
|
state=11
|
||
|
<on_use.pearl=10,1>
|
||
|
activate=1,-1,0
|
||
|
remove_party_item.pearl=1
|
||
|
state=11
|
||
|
<on_click=11>
|
||
|
use_offer=0
|
||
|
<on_use.scale=11,1>
|
||
|
activate=1,-1,0
|
||
|
remove_party_item.scale=1
|
||
|
item.scale=0,0
|
||
|
item.sprig=0,0
|
||
|
item.pearl=0,0
|
||
|
play_sound.SKILL_ALCHEMY=0
|
||
|
state=0
|
||
|
<on_use.sprig=11,1>
|
||
|
activate=1,-1,0
|
||
|
remove_party_item.sprig=1
|
||
|
item.scale=0,0
|
||
|
item.sprig=0,0
|
||
|
item.pearl=0,0
|
||
|
play_sound.SKILL_ALCHEMY=0
|
||
|
state=0
|
||
|
<on_use.pearl=11,1>
|
||
|
activate=1,-1,0
|
||
|
remove_party_item.pearl=1
|
||
|
item.scale=0,0
|
||
|
item.sprig=0,0
|
||
|
item.pearl=0,0
|
||
|
play_sound.SKILL_ALCHEMY=0
|
||
|
state=0
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
[behavior = skull]
|
||
|
<on_init = 0>
|
||
|
animate = 0, 0, 0, 1
|
||
|
<on_init = 1>
|
||
|
animate = 1, 1, 0, 1
|
||
|
<on_init = 2>
|
||
|
animate = 1, 2, 0, 1
|
||
|
<on_click = 0>
|
||
|
use_offer=0
|
||
|
<on_click = 1>
|
||
|
use_offer=0
|
||
|
<on_use.ruby=0,1>
|
||
|
remove_party_item.ruby = 1
|
||
|
state = 1
|
||
|
animate = -1, 1, 0, 1
|
||
|
<on_use.ruby=1,1>
|
||
|
remove_party_item.ruby = 1
|
||
|
state = 2
|
||
|
animate = -1, 2, 0, 1
|
||
|
cube.g_cloister1=0,0,-1
|
||
|
remove_object.skull=0,0
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
|
||
|
[behavior = book_crypt]
|
||
|
<on_click=0>
|
||
|
text_id = lib_book_crypt
|
||
|
set_global.17=1
|
||
|
quest.the_crypt=1
|
||
|
play_sound.map=0
|
||
|
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
[behavior = book_port]
|
||
|
<on_click=0>
|
||
|
teleport = -1,0,0
|
||
|
play_sound.TELEPORT = 0
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
[behavior=create_teleport]
|
||
|
<on_enter=0,1>
|
||
|
object.teleport=0,0,0,16,9
|
||
|
state=255
|