[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
    end_round=1

[behavior=ladder]
  <on_move = 0,2>
    do_click=0
  <on_click=0>
    quest.entering_cloister = 2
    exp=10000
    play_sound.ladder =0
    state=1
    teleport.cloister_1 = -1,20,4
  <on_move = 1,2>
    do_click=0
  <on_click=1>
    play_sound.ladder =0
    teleport.cloister_1 = -1,20,4

[behavior=spider_dummy]
  <on_enter=0,1>
    text_id=spider_take
    button_id=b_ok
    state=255
    
    
[behavior=spider_attack]
  <on_enter=0,1>
    text_id=spider_attack
    enemy.ambush_spider=-1,0
    enemy.ambush_spider=1,0
    enemy.ambush_spider=0,-1
    enemy.ambush_spider=0,1
    state=255
    

--------------------------------------------------------------------------------

[behavior = teleport]
  <on_enter = 0,1>
    teleport = -1,0,0
	flash_view = 100, 200, 255, 200	
    play_sound.teleport=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_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

