sound.daemon_talk = data\sound\daemon_talk.wav

--------------------------------------------------------------------------------
[behavior = locked_door]
  <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.dungeon_key=0
  <on_check=0,0,0>
    play_sound.locked_door = 0
    text_id=locked_door
  <on_check=0,0,1>
    state=1
    remove_party_item.dungeon_key=1
    play_sound.unlock = 0
    text_id=action_used_key
    do_click=1
  <on_click=1>
    play_sound.door = 0
  	state = 2
	  animate = -1, 1, 0, 1
  	block = 0
    end_round=1
  <on_click = 2>
    play_sound.door = 0
  	state = 1
  	animate = -1, 0, 0, 1
  	block = 1
  	end_round=1

--------------------------------------------------------------------------------
[behavior = necro_circle]
  <on_init=0>
    animate=0,0,0,1
  <on_init=1>
    animate=0,2,1,999
  <on_enter=0,1>
    check_item.charmed_duke's_ring=0
  <on_check=0,0,1>
    animate=0,2,1,999
    enemy.skeleton=-1,0
    enemy.skeleton=0,-1
    enemy.skeleton=1,0
    enemy.skeleton=0,1
    state=1


[behavior=necro_sign1]
  <on_enter=0,1>
    hit=102,0,10,50,0,0
    text_width=310
    play_sound.daemon_talk=0
    text_id=hoh_necro1
    item.scheme=255,255
    quest.magic_circle=1
    activate=1,0,0
    button_id=b_ok
  <on_button=0,0>
    state=1

[behavior = necro_activate]
  <on_activate=0,1>
    object.necro_circle=0,0,0
    state=1
  <on_enter=1,1>
    check_item.charmed_duke's_ring=0
  <on_check=1,0,1>
    activate=1,-1,-1
    activate=1,0,-1
    activate=1,1,-1
    activate=1,-1,0
    activate=1,1,0
    activate=1,-1,1
    activate=1,0,1
    activate=1,1,1
    
[behavior = necro_stain]
  <on_activate=0,1>
    object.stain=0,0,0
    state=1
    activate=1,-1,-1
    activate=1,0,-1
    activate=1,1,-1
    activate=1,-1,0
    activate=1,1,0
    activate=1,-1,1
    activate=1,0,1
    activate=1,1,1

[behavior = necro_activate_end]
  <on_activate=0,1>
    object.necro_circle=0,0,0
    state=1
  <on_enter=1,1>
    check_item.charmed_duke's_ring=0
  <on_check=1,0,1>
    play_sound.break_wall=0
    text_id=necro_hole
    object.hole=2,0,0
    button_id=b_ok
  <on_button=1,0>
    state=10

[behavior=necro_ask_revive]
  <on_enter=0,1>
    play_sound.daemon_talk=0
    quest.blood_link=2
    exp=10000
    text_id=hoh_ask_revive
    button_id=b_ok
  <on_button=0,0>
    state=255
    
--------------------------------------------------------------------------------
[behavior = stone_up1]
  <on_enter=0,1>
    do_click=0
  <on_click=0>
    play_sound.ladder = 0
    teleport.hoh=1,6,6
[behavior = stone_up2]
  <on_enter=0,1>
    do_click=0
  <on_click=0>
    play_sound.ladder = 0
    teleport.hoh=1,6,10

--------------------------------------------------------------------------------
[behavior=hole]
  <on_click=0>
    play_sound.break_wall=0
    text_id=hoh_hole
    cube.g_tomb=0,0,-1
    state=255
    
--------------------------------------------------------------------------------
[behavior=bones]
  <on_click=0>
    block=0
    enemy_forced.necromancer=0,0
    object.necro_dummy=0,0,0
    hit=102,0,10,20,0,0
    play_sound.skill_malediction=0
    state=255

--------------------------------------------------------------------------------
[behavior=necro_dummy]
  <on_click=0>
    play_sound.daemon_talk=0
    picture=data\scene\necro.jpg
    text_id=hoh_necro4
    button_id=b_next
    quest.duke_of_horror=1
  <on_button=0,0>
    picture=data\scene\necro.jpg
    text_id=hoh_necro5
    button_id=b_next
    state=1
  <on_button=1,0>
    picture=data\scene\necro.jpg
    text_id=hoh_necro6
    button_id=b_next
    state=2
  <on_button=2,0>
    picture=data\scene\necro.jpg
    text_id=hoh_necro7
    button_id=b_next
    set_global.34=1
    remove_enemy.necromancer=0,0
    state=255

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

[behavior = lock]
  <on_click=0>
    check_item.dungeon_key=0
  <on_check=0,0,0>
    play_sound.locked_door=0
    text_id=locked
  <on_check=0,0,1>
    text_id=action_used_key
    cube.g_tomb=0,0,0
    play_sound.unlock = 0
    remove_party_item.dungeon_key=1
    state=1
  <on_click=1>
    text_id=unlocked



