--------------------------------------------------------------------------------
[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=door_move]
  <on_move=0,2>
    do_click=1
  <on_click=0>
    play_sound.ladder =0
    teleport = 3,0,0
    
[behavior=ladder_move]
  <on_move=0,2>
    do_click=1
  <on_click=0>
    play_sound.ladder =0
    teleport = -1,0,0
    
[behavior=ladder_down]
  <on_enter=0,1>
    do_click=0
  <on_click=0>
    play_sound.ladder =0
    teleport = -1,0,0
    
[behavior=ladder_exit]
  <on_enter=0,1>
    do_click=0
  <on_click=0>
    play_sound.ladder =0
    teleport.cloister_1 = -1,10,3
    
--------------------------------------------------------------------------------
[behavior = bell]
  <on_click=0>
    text_id = cloister_bell
    use_offer=0
  <on_use.clapper = 0,0>
    text_id=nothing_happened
  <on_use.clapper = 0,1>
    remove_party_item.clapper=1
    state=1
  <on_click=1>
    play_sound.bell = 0
    change_global.15=1
    check_global.15=12,0
  <on_check=1,0,0>
    text_id=bigben12
    button_id=b_ok
    state=2
  <on_click=2>
    text_id=bigben13
    button_id=b_ok
