--------------------------------------------------------------------------------
[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 = stone_sign_f]
  bitmap = data\object\wallpaper\stone_sign2_f.gif, 1, 1, 1
  sort_offset = -200
[sprite = stone_sign_s1]
  bitmap = data\object\wallpaper\stone_sign2_s1.gif, 1, 1, 1
  sort_offset = -200

[object = stone_sign1]
  visible_range = 0,3


  back = stone_sign_f,   1,0,    -60,116,   100,100
  back = stone_sign_f,   1,1,    5,96,     68,68
  back = stone_sign_f,   1,2,    50,82,    47,47

  back = stone_sign_f,   2,0,    160,116,    100,100
  back = stone_sign_f,   2,1,    160,96,    68,68
  back = stone_sign_f,   2,2,    160,82,    47,47

  back = stone_sign_f,   3,0,    385,116,    100,100
  back = stone_sign_f,   3,1,    315,96,    68,68
  back = stone_sign_f,   3,2,    270,82,    47,47

  back = stone_sign_f,   4,3,    300,88,    32,32

  right = stone_sign_s1,   2,0,    300,132,    140,140
  right = stone_sign_s1,   2,1,    255,107,    100,100
  right = stone_sign_s1,   2,2,    224,90,    68,68

  left = stone_sign_s1,   2,0,    20,132,    140,140
  left = stone_sign_s1,   2,1,    65,107,    100,100
  left = stone_sign_s1,   2,2,    96,90,    68,68

  click_range = 0,1
  click_rect.1 = 1, 1, 15,74
  click_rect.2 = 1, 1, 95,74
  click_rect.3 = 1, 1, 15,74

  behavior = stone_sign1

  editor_icon = 15
  flip_left=1
  
[object = stone_sign2]
  parent = stone_sign1
  behavior = stone_sign2

[object = stone_sign3]
  parent = stone_sign1
  behavior = stone_sign3

[object = stone_sign4]
  parent = stone_sign1
  behavior = stone_sign4

[object = stone_sign_song]
  parent = stone_sign1
  behavior = stone_sign_song

[object = stone_sign_water]
  parent = stone_sign1
  behavior = stone_sign_water

  

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

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

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

[object = up_kt1]
  offset_front = tomb_up, 0, 3,-1
  editor_icon = 23
  map_frame = 5,11
  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 = up_kt1
  
  
  
[object = down1]
  offset_front = tomb_down, 0, 1,-1
  editor_icon = 22
  map_frame = 5,10
  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 = down1

[object = down2]
  parent = down1
  behavior = down2

[object = down3]
  parent = down1
  behavior = down3

[object = down4]
  parent = down1
  behavior = down4
  
--------------------------------------------------------------------------------

  
[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

  //MONEY
  items.50,1 = money320
  //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.30,1=greater_healing_potion,greater_stamina_potion,greater_revi_potion,greater_elixir,elven_wine
  //THROW
  items.40,1=poisoned_throwing_knives,burning_stars,lethal_stars,steel_darts,arrows
  //LEVEL 3 JEWELRY
  items.30,1=fanged_necklace,ring_of_survivor,chain_of_barriers,ring_of_battlemage,ring_of_necromancy,ring_of_elements,stone_amulet,ring_of_immunity,forest_heart,nature's_embrace,black_ring,chain_of_elements,exloding_ring,ring_of_giants,snake's_ring,heavy_ring_of_vigor,symbol_of_cobra,barbarian_chain,ring_of_undead_eater,necklace_of_willpower,lucky_killer,kinetic_ring
  //EQUIPMENT
  items.50,1=venomous_chain,barbarian_round_shield,icebear_bow,battle_orb,crossbow,scroll_of_fireball,scorching_crossbow,ancient_relic,arctic_crossbow,chain_gloves,arbalest,chain_gloves_of_freedom,assassin_jacket,silky_ice_gloves,enchanted_habit,fist_of_flame,frost_crown,iron_boots,cloth_mask,iron_war_boots,snake_mask

  behavior = chest_offer

[object = chest6]
  parent=chest1

  //MONEY
  items.50,1 = money160
  items.100,1 = money640
  //FLASKY
  items.60,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.40,1=greater_healing_potion,greater_stamina_potion,greater_revi_potion,greater_elixir,elven_wine
  //THROW
  items.40,1=arrows
  items.50,1=poisoned_throwing_knives,burning_stars,lethal_stars,steel_darts,arrows,poisoned_darts,explosive_darts,stunning_powder,throwing_axes,burning_powder
  //LESSER UNIQUE
  items.100,1=dragon_shield,ethereal_axe,elven_shield,veteran_cleaver,orc_habit,vasp_long_bow,shadow_jerkin,sandals_of_balance,veil_of_darkness,lucky_sandals,barbarian_helm,shoes_of_heart,black_widows,blessed_steel_blade,long_kiss_good_night,short_sword_of_flames,icicle,protected_steps,exeptional_impaler,juggler's_sandals,poisonous_nail,rope_of_energy
  //EQUIPMENT
  items.50,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
  items.50,1=alchemist's_apron,cloak_of_rage,breast_plate,scholar's_garment,battle_breast_plate,killer's_vest,elven_ring_mail,werewolf_skin,chain_mail,sanctified_garment,volcanic_chain_mail,polar_robe,heavy_chain_mail,ring_mail,mask_of_the_raider,ancient_ring_mail,blessed_diadem,scale_mail,snow_queen's_crown,bear_vest,horned_skull_case


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

[sprite = dragon_story]
  bitmap = data\object\bulkhead\dragon_story.gif, 1, 1, 1
[object = sarc_wiz]
  offset_front = dragon_story, 0, -4,-1
  offset_back = dragon_story, 0, -4,-1
  editor_icon = 15
  map_frame = 3, 18
  block = 1
  click_range = 1, 1
  click_rect = 1, 1, 190,120
  behavior=sarc_wiz


[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 = sarc_bard]
  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_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
  click_range = 1,1

  items.100,1 = remains
  //FLASKY
  items.60,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.40,1=greater_healing_potion,greater_stamina_potion,greater_revi_potion,greater_elixir,elven_wine
  //LEVEL 3 JEWELRY
  items.100,1=elven_ring,fanged_necklace,ring_of_survivor,chain_of_barriers,ring_of_battlemage,ring_of_necromancy,ring_of_elements,stone_amulet,ring_of_immunity,forest_heart,nature's_embrace,black_ring,chain_of_elements,exloding_ring,ring_of_giants,snake's_ring,heavy_ring_of_vigor,symbol_of_cobra,barbarian_chain,ring_of_undead_eater,necklace_of_willpower,lucky_killer,kinetic_ring
  //LEVEL 4 JEWELRY
  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

  behavior=sarc_offer
  map_frame = 3, 18

[object = sarc_mentor]
  parent = sarc_bard
  items.100,1 = severed_skull
  items.100,1 = left_hand
  items.100,1 = right_hand
  items.100,1 = mentor_sandals
  items.100,1 = tome_of_wisdom
  behavior=sarc_mentor

[object = sarc_warrior]
  parent = sarc_bard

  items.100,1 = remains
  items.100,1=ethereal_axe,elven_shield,veteran_cleaver,barbarian_helm,blessed_steel_blade,exeptional_impaler,poisonous_nail,rope_of_energy,double_axe,fatal_broad_sword,freezing_double_axe,great_sword,righteous_double_axe,great_sword_of_vigor,vampiric_precise_axe,battle_axe,morning_star,venom_battle_axe,grisly_morning_star,menacing_battle_axe,mace,war_flail,thunder_mace,heavy_war_flail,great_mace,captain's_mace

  behavior=sarc_warrior

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

[object = piedestal_wis]
  offset_front = sarcophagus_s, 0, 12, 200
  offset_back = sarcophagus_s, 0, 12, 200
  offset_left = sarcophagus_s, 0, 12, 200
  offset_right = sarcophagus_s, 0, 12, 200
  editor_icon = 11
  map_frame = 3, 19
  block = 1
  click_range = 1, 1
  click_rect.0 = 1, 1, 105,75
  click_rect.1 = 1, 1, 105,75
  click_rect.2 = 1, 1, 105,75
  click_rect.3 = 1, 1, 105,75
  behavior=piedestal_wis
[object = piedestal_hum]
  parent=piedestal_wis
  behavior=piedestal_hum
[object = piedestal_pow]
  parent=piedestal_wis
  behavior=piedestal_pow
[object = piedestal_cou]
  parent=piedestal_wis
  behavior=piedestal_cou




[sprite = pskull_f]
  bitmap = data\object\skull.gif, 1, 1, 1
  sort_offset=100
[sprite = pskull_s]
  bitmap = data\object\skull_s.gif, 1, 1, 1
  sort_offset=100
[sprite = pskull_b]
  bitmap = data\object\skull_b.gif, 1, 1, 1
  sort_offset=100
[sprite = p_hand]
  bitmap = data\object\hand.gif, 1, 1, 1
  sort_offset=100

[object = severed_skull]
  offset_front = pskull_f, 0, -62, 200
  offset_back = pskull_b, 0,  -62, 200
  offset_left = pskull_s, 0,  -62, 200
  offset_right = pskull_s, 0, -62, 200
  flip_left=1
  editor_icon = 28
  in_editor=0
  click_range=1,1
  click_rect = -10,-10,38,33
  behavior = severed_skull

[object = right_hand]
  offset_front = p_hand, 0, -62, 200
  offset_back = p_hand, 0,  -62, 200
  offset_left = p_hand, 0,  -62, 200
  offset_right = p_hand, 0, -62, 200
  flip_left=1
  editor_icon = 28
  in_editor=0
  click_range=1,1
  click_rect = -10,-10,38,26
  behavior = right_hand

[object = left_hand]
  in_editor=0
  parent=right_hand
  behavior = left_hand

[sprite = mentor_sandals]
  bitmap = data\object\boots1.gif, 1, 1, 1
  sort_offset=100

[object = mentor_sandals]
  in_editor=0
  offset_front = mentor_sandals, 0, -58, 200
  offset_back = mentor_sandals, 0,  -58, 200
  offset_left = mentor_sandals, 0,  -58, 200
  offset_right = mentor_sandals, 0, -58, 200
  flip_left=1
  editor_icon = 28
  click_range=1,1
  click_rect.0 = -10,-10,38,26
  click_rect.1 = -10,-10,38,26
  click_rect.2 = -10,-10,38,26
  click_rect.3 = -10,-10,38,26
  behavior = mentor_sandals

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

[sprite = tomb_door]
  bitmap = data\object\door\tomb_door2.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_8lever]
  parent=tomb_door
  behavior = tomb_door_8lever

[object = tomb_door_jammed]
  parent = tomb_door
  behavior = tomb_door_jammed

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

[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_stone2.jpg, 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 = torch_nolight]
  bitmap = data\object\torch2x.gif, 1, 1, 1



[OBJECT = torch_nolight]
  back = torch_nolight, 0,3,  40,88,    32,32
  back = torch_nolight, 1,0,  10,170,   100,100
  back = torch_nolight, 1,1,  60,130,   68,68
  back = torch_nolight, 1,2,  90,105,   47,47
  back = torch_nolight, 1,3,  116,88,    32,32
  back = torch_nolight, 2,0,  260,170,   100,100
  back = torch_nolight, 2,1,  224,130,   68,68
  back = torch_nolight, 2,2,  208,105,   47,47
  back = torch_nolight, 2,3,  194,88,    32,32
  back = torch_nolight, 3,3,  280,88,    32,32
  left = torch_nolight, 1,3,  44,88,   32,32
  left = torch_nolight, 2,0,  60,170,   100,100
  left = torch_nolight, 2,1,  96,130,   68,68
  left = torch_nolight, 2,2,  112,105,  47,47
  left = torch_nolight, 2,3,  126,88,   32,32
  left = torch_nolight, 3,0,  310,170,   100,100
  left = torch_nolight, 3,1,  258,130,   68,68
  left = torch_nolight, 3,2,  232,105,  47,47
  left = torch_nolight, 3,3,  204,88,   32,32
  front = torch_nolight, 1,3,  18,105,   47,47
  front = torch_nolight, 2,1,  75,158,    90,90
  front = torch_nolight, 2,2,  105,122,   60,60
  front = torch_nolight, 2,3,  118,105,   47,47
  front = torch_nolight, 3,1,  300,158,   90,90
  front = torch_nolight, 3,2,  260,122,   60,60
  front = torch_nolight, 3,3,  218,105,   47,47
  right = torch_nolight, 1,1,  30,158,    90,90
  right = torch_nolight, 1,2,  72,122,   60,60
  right = torch_nolight, 1,3,  100,105,   47,47
  right = torch_nolight, 2,1,  245,158,    90,90
  right = torch_nolight, 2,2,  215,122,   60,60
  right = torch_nolight, 2,3,  202,105,   47,47
  right = torch_nolight, 3,3,  302,105,   47,47
  editor_icon = 9





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

[sprite = button_f]
  bitmap = data\object\lever\button2a.gif, 2, 2, 1
[sprite = button_s]
  bitmap = data\object\lever\button2b.gif, 2, 2, 1


[object = button]
  visible_range = 0, 4
  offset_back = button_f, 0, -71, 230
  offset_right = button_s, 125, -62, 230
  offset_left = button_s, -125, -62, 230
  all_sides = -1, 4,4
  all_sides = -1, 0 ,4
  editor_icon = 3
  flip_left = 1
  click_rect.2 = -10, -10, 35,35
  click_rect.1 = -10, -10, 28,30
  click_rect.3 = -10, -10, 28,30
  behavior = button


--------------------------------------------------------------------------------
[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 = torch_lightbridge]
  parent=torch_nolight
  click_rect = 1,1,45,145
  behavior = torch_lightbridge
  
--------------------------------------------------------------------------------
[sprite = teleport]
  bitmap = data\object\global\holy_ground.gif, 6,1,6
  sort_offset = 10

[object = light_bridge]
  visible_range = 0,3
  in_editor=0
  offset_front = teleport, 0, 20, 240
  offset_back = teleport, 0, 20, 240
  offset_left = teleport, 0, 20, 240
  offset_right = teleport, 0, 20, 240
  editor_icon = 6

[object = teleport]
  map_frame = 7, 16
  parent=light_bridge
  offset_front = teleport, 0, 20, 240
  offset_back = teleport, 0, 20, 240
  offset_left = teleport, 0, 20, 240
  offset_right = teleport, 0, 20, 240
  front=teleport, 1,0,-200,-200,1,1
  front=teleport, 3,0,-200,-200,1,1
  back=teleport, 1,0,-200,-200,1,1
  back=teleport, 3,0,-200,-200,1,1
  behavior = teleport

[object = teleport_turnN]
  editor_icon = 6
  behavior = teleport_turnN

[object = teleport_turnS]
  editor_icon = 6
  behavior = teleport_turnS
