[sprite = tomb_down]
  bitmap = data\object\tomb_down.gif, 1, 1, 1

[sprite = tomb_up]
  bitmap = data\object\tomb_up.gif, 1, 1, 1




[object = exit_ambrius]
  offset_front = tomb_up, 0, -4,-1
  editor_icon = 23
  block = 0
  click_range = 1, 1
  click_rect.0 = 1, 1, 190,120
  click_rect.1 = 1, 1, 190,120
  click_rect.2 = 1, 1, 190,120
  click_rect.3 = 1, 1, 190,120
  behavior = exit_ambrius
  map_frame=5,11

[object = ambrius_down]
  offset_front = tomb_down, 0, 1,-1
  editor_icon = 22
  block = 0
  click_range = 1, 1
  click_rect.0 = 1, 1, 190,120
  click_rect.1 = 1, 1, 190,120
  click_rect.2 = 1, 1, 190,120
  click_rect.3 = 1, 1, 190,120
  behavior = ambrius_down
  map_frame=5,10

[object = ambrius_up]
  parent = exit_ambrius
  behavior = ambrius_up


[sprite = chest1_f]
  bitmap = data\object\chest1_f.gif, 1, 1, 1
[sprite = chest1_b]
  bitmap = data\object\chest1_b.gif, 1, 1, 1
[sprite = chest1_r]
  bitmap = data\object\chest1_r.gif, 1, 1, 1




[object = chest_hall]
  visible_range = 0, 3
  offset_front = chest1_f, 0, 8, 230
  offset_back = chest1_b, 0, 8, 230
  offset_left = chest1_r, 0, 8, 230
  offset_right = chest1_r, 0, 8, 230
  editor_icon = 7
  click_rect.0 = 1,1,115,60
  click_rect.1 = 1,1,70,60
  click_rect.2 = 1,1,115,60
  click_rect.3 = 1,1,70,60

  items.100,1=poisoned_throwing_knives,burning_stars,lethal_stars,steel_darts,arrows,poisoned_darts,explosive_darts
  items.100,1=broad_sword,war_flail,fatal_broad_sword,heavy_war_flail,great_sword,long_flail,great_sword_of_vigor,halbert,battle_axe,ogre's_halbert,venom_battle_axe,menacing_battle_axe,scholar's_great_staff,crook,staff_of_vigor,hammer_of_spirits,icebear_talons,bear_vest,bone_staff,cloak_of_rage,dragon_claw,scholar's_garment,lash,killer's_vest,freezing_lash,werewolf_skin,burning_punisher,sanctified_garment,nine_tails,polar_robe,composite_bow,ring_mail,composite_stinger,blowpipe,fatal_blowpipe
  items.100,1=cloak,hunter's_cloak,warrior's_cloak,winter_cloak,cloak_of_elementalist,protective_mantle,adventurer's_cloak,veil_of_darkness,cloak_of_rage,holy_protection

  behavior = chest_offer

[object = chest_upper]
  parent = chest_hall
  items.100,1 = money640







[sprite = sarcophagus_s]
  bitmap = data\object\sarcophagus_s.gif, 1, 1, 1
[sprite = sarcophagus_f]
  bitmap = data\object\sarcophagus_f.gif, 1, 1, 1

[object = sarcophagus_upper]
  offset_front = sarcophagus_f, 0, 12, 180
  offset_back = sarcophagus_f, 0, 12, 180
  offset_left = sarcophagus_s, 0, 12, 230
  offset_right = sarcophagus_s, 0, 12, 230
  editor_icon = 19
  block = 1
  click_range = 1, 1
  click_rect.0 = 1, 1, 235,75
  click_rect.1 = 1, 1, 105,75
  click_rect.2 = 1, 1, 235,75
  click_rect.3 = 1, 1, 105,75
  items.100,1 = tomb_key
  items.100,1 = remains
  items.100,1=glaive,barbed_lash,bloodsucking_glaive,barbed_lash_of_frost_bite,father's_glaive,furious_sceptre,paralysing_staff,frozen_sceptre,heavy_iron_staff,sceptre_of_guardian,heavy_crossbow,bishop's_crook,spider's_heavy_crossbow,celestial_mace,raging_heavy_crossbow,sword_of_ancestors,arctic_orb,ghost_blade,holy_symbol,bloody_root,pagan_staff
  behavior = sarc_upper
  map_frame=3,3
  
[object = sarcophagus_lower]
  parent = sarcophagus_upper
  items.100,1 = elven_sword
  items.100,1 = elven_ring
  items.100,1 = elven_wine
  items.100,1 = elven_ring_mail
  items.100,1 = elven_shield
  items.100,1 = remains

[sprite = tomb_door]
  bitmap = data\object\door\tomb_door.gif, 5, 5, 1

[object = tomb_door]
  offset_front = tomb_door, 0, -4,-1
  offset_back = tomb_door, 0, -4,-1
  editor_icon = 4
  click_range = 1,1
  click_rect.0 = 1,1,190,120
  click_rect.1 = 1,1,190,120
  click_rect.2 = 1,1,190,120
  click_rect.3 = 1,1,190,120
  behavior = tomb_door
  map_frame=101,4

[object = tomb_door_locked]
  parent = tomb_door
  behavior = tomb_door_locked

[object = tomb_door_lever]
  parent = tomb_door
  behavior = tomb_door_lever


[sprite = lever_f]
  bitmap = data\object\lever\lever1a.gif, 2, 2, 1
[sprite = lever_s]
  bitmap = data\object\lever\lever1b.gif, 2, 2, 1
  sort_offset = 50

[object = lever]
  visible_range = 0, 4
  offset_back = lever_f, 0, -60, 230
  offset_right = lever_s, 130, -60, 230
  offset_left = lever_s, -130, -60, 230
  all_sides = -1, 4,4
  all_sides = -1, 0 ,4
  editor_icon = 3
  flip_left = 1
  click_rect.2 = 1, 1, 31,93
  click_rect.1 = 1, 1, 44,83
  click_rect.3 = 1, 1, 44,83
  behavior = lever





[sprite = teleport]
  bitmap = data\object\global\holy_ground.gif, 6,1,6
  sort_offset = 10

[object = teleport]
  visible_range = 0,3
  offset_front = teleport, 0, 1,-1
  offset_back = teleport, 0, 1,-1
  offset_left = teleport, 0, 1,-1
  offset_right = teleport, 0, 1,-1
  editor_icon = 6
  behavior = teleport



[object = torch2_port]
  parent = torch2
  click_rect = 1,1,45,145
  behavior = torch2_port



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

[object= wake_bat]
  editor_icon=1
  front = dummy,  2,1,   160,70,   140,65
  back = dummy,   2,1,   160,70,   140,65
  left = dummy,   2,1,   160,70,   140,65
  right = dummy,  2,1,   160,70,   140,65
  click_range=1,1
  click_rect=1,1,100,100
  top_click=1
  behavior=wake_bat

--------------------------------------------------------------------------------
[sprite = lock_f]
  bitmap = data\object\lever\lock1a.gif, 1, 1, 1
[sprite = lock_s]
  bitmap = data\object\lever\lock1b.gif, 1,1, 1


[object = lock]
  visible_range = 0, 4
  offset_back = lock_f, 0, -100, 230
  offset_right = lock_s, 140, -100, 230
  offset_left = lock_s, -140, -100, 230
  all_sides = -1, 4,4
  all_sides = -1, 0 ,4
  editor_icon = 3
  flip_left = 1
  click_rect.2 = -10, -10, 26,45
  click_rect.1 = -10, -10, 19, 45
  click_rect.3 = -10, -10, 19, 45
  behavior = lock

