--------------------------------------------------------------------------------
[sprite = travelstone_f]
  bitmap = data\object\tstone_f.gif, 1, 1, 1
[sprite = travelstone_f2]
  bitmap = data\object\tstone_f2.gif, 1, 1, 1
[sprite = travelstone_b]
  bitmap = data\object\tstone_b.gif, 1, 1, 1
[sprite = travelstone_r]
  bitmap = data\object\tstone_r.gif, 1, 1, 1

[object = tstone]
	offset_front = travelstone_f, 0, 8, 160
	offset_back = travelstone_b, 0, 8, 160
	offset_left = travelstone_r, 0, 8, 160
	offset_right = travelstone_r, 0, 8, 160
	flip_left = 1
	editor_icon = 2
	block = 1
  map_frame = 7 ,16
  click_rect=1,1,66,145
  click_range=1,1
	behavior=tstone

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

[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_cata1]
  offset_front = tomb_up, 0, -4,-1
  map_frame = 5,11
  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_cata1

[object = exit_cata2]
  parent = exit_cata1
  behavior = exit_cata2



[object = cata_down1]
  offset_front = tomb_down, 0, 1,-1
  map_frame = 5,10
  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 = cata_down1

[object = cata_down2]
  parent = cata_down1
  behavior = cata_down2

[object = cata_down3]
  parent = cata_down1
  behavior = cata_down3

[object = cata_down4]
  parent = cata_down1
  behavior = cata_down4

[object = cata_down5]
  parent = cata_down1
  behavior = cata_down5


--------------------------------------------------------------------------------
  
  
[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 = chest1]
  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 = money160

  //THROW
  items.40,1=arrows
  items.40,1=poisoned_throwing_knives,burning_stars,lethal_stars,steel_darts,arrows,poisoned_darts,explosive_darts
  //FLASKY
  items.50,2=small_healing_potion,healing_potion,small_stamina_potion,stamina_potion,small_revi_potion,revi_potion,small_elixir,elixir,revive_potion,scroll_of_ressurection,medicine
  //SUPER FLASKY
  items.20,1=greater_healing_potion,greater_stamina_potion,greater_revi_potion,greater_elixir,elven_wine

  behavior = chest_offer
  
[object = chest_gear]
  parent = chest1
  items.100,1 = gear

[object = chest_seal]
  parent = chest1
  items.100,1 = seal
  items.100,1 = money1280
  behavior = chest_seal




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

[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]
  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 = money160
  items.50,1,15,25 = arrows
  items.50,1 = healing_potion
  items.50,1 = remains
  //EQUIPMENT
  items.100,1=lightning_circlet,holy_symbol,large_shield,snake's_heavy_belt,orb_of_telekinesis,iron_heavy_belt,scroll_of_lightning,chain_boots,arctic_orb,gladiator_boots,veil_of_darkness,cloak_of_rage,holy_protection,
  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,moon_staff,menacing_battle_axe,monk_battle_staff,crusader_sword,scholar's_great_staff,crook,staff_of_vigor,hammer_of_spirits
  behavior = sarc_offer
  
[object = sarcophagus2]
  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 = money80
  items.50,1,15,25 = arrows
  items.50,1 = healing_potion
  items.50,1 = stamina_potion
  items.50,1 = remains
  behavior = sarc_offer


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


[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

[object = lever_of_three]
  parent = lever
  behavior = lever_of_three

[object = lever_bridge]
  parent = lever
  behavior = lever_bridge

[object = lever_clay]
  parent = lever
  behavior = lever_clay

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

[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_open]
  parent = tomb_door
  behavior = tomb_door_open


[object = tomb_door_jammed]
  parent = tomb_door
  behavior = tomb_door_jammed


[object = tomb_door_lever]
  parent = tomb_door
  behavior = tomb_door_lever

[object = tomb_door_of_three]
  parent = tomb_door
  behavior = tomb_door_of_three


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




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


[object = timber]
  map_frame = 101, 105

  offset_front = timber, 0,0,-1

  back = timber,      1,1,    10,121,      80,80
  back = timber,      1,2,    50,99,       55,55
  back = timber,      1,3,    80,80,       30,30

  back = timber,      2,1,    160,121,     80,80
  back = timber,      2,2,    160,99,      55,55
  back = timber,      2,3,    160,80,      40,30

  back = timber,      3,1,    310,121,     80,80
  back = timber,      3,2,    270,99,      55,55
  back = timber,      3,3,    240,80,      30,30

  right = timber,      1,0,    -20,140,       50,100
  right = timber,      1,1,    30,121,        40,80
  right = timber,      1,2,    65,108,        32,70
  right = timber,      1,3,    90,98,        30,60

  left = timber,      3,0,    345,152,       50,100
  left = timber,      3,1,    295,121,        40,80
  left = timber,      3,2,    264,98,        32,70
  left = timber,      3,3,    240,82,        30,60

  flip_back=3

  editor_icon = 21
  block = 1

  click_range = 1, 1
  click_rect.0 = 1, 1, 220,70
  behavior = timber
  


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


[sprite = cracked_stone]
  bitmap = data\object\bulkhead\cracked_stone.gif, 1, 1, 1
[object = cracked_stone]
  offset_front = cracked_stone, 0, -4,-1
  offset_back = cracked_stone, 0, -4,-1
  editor_icon = 31
  map_frame = 0, 0
  block = 1
  click_range = 1, 1
  click_rect.0 = 1, 1, 190,120
  click_rect.2 = 1, 1, 190,120
  behavior = cracked_stone

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

[sprite = gob_hole]
  bitmap = data\object\bulkhead\gob_hole.jpg, 1, 1, 1
[object = goblin_hole]
  offset_front = gob_hole, 0, -4,-1
  offset_back = gob_hole, 0, -4,-1
  editor_icon = 15
  map_frame = 104,105
  block = 1
  click_range = 1, 1
  click_rect = 1, 1, 190,120
  items.100,1 =arrows
  items.100,1 =arcane_scroll,scroll_of_wisdom,elixir_of_power
  items.100,1 =ram_staff,staff_of_flame,tireless_staff,thorn_staff,sparking_rod
  items.100,1 =rod_of_lore,woodoo_staff,beryl_staff,elven_sword
  items.100,1 =battle_orb,scroll_of_fireball,ancient_relic,orb_of_telekinesis,scroll_of_lightning,arctic_orb,loathsome_idol,mummyfied_head,holy_symbol,blue_power_gem,red_power_gem,dark_power_gem,sharp_power_gem
  items.100,1 =hangman's_noose,ogre's_rope,captain's_belt,hunter's_heavy_belt
  items.100,1 =stunning_powder,chocking_powder,explosive_powder
  items.100,1 =small_ring_of_life,ring_of_life,fighter's_ring_of_action,ring_of_concentration,ring_of_muscles,light_necklace,ring_of_frost_giant,inquisitor's_chain,blessed_necklace,eye_of_warlock,exloding_ring,jet_ring,ring_of_apprentice,ring_of_hunger,glowing_chain,pure_blood,stone_of_blizzard,necklace_of_leech,marskman_of_vastelands
  items.100,1 =revi_potion
  items.100,1 =elixir
  items.100,1 =revive_potion
  
  map_hint = goblin hole
  welcome_text=goblin hole
  
  behavior = goblin


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

[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 = 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,210
  offset_back = teleport, 0, 1,210
  offset_left = teleport, 0, 1,210
  offset_right = teleport, 0, 1,210
  editor_icon = 6
  map_frame = 5 ,16
  behavior = teleport

[object = rat_horde]
  editor_icon=1
  behavior=rat_horde
  block=2
