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

[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]
  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

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

[sprite = plate1]
  bitmap = data\object\plate1.gif, 2, 1, 2
  sort_offset = -100

[object = plate1]
  map_frame = 1,13

  front = plate1,    1,0,    -80,200,    120,120
  front = plate1,    1,1,    -20,150,    100,100
  front = plate1,    1,2,    25,120,    68,68
  front = plate1,    1,3,    60,99,     47,47
  front = plate1,    1,4,    95,82,     30,30
  front = plate1,    2,0,    160,200,    140,120
  front = plate1,    2,1,    160,150,    100,100
  front = plate1,    2,2,    160,120,    68,68
  front = plate1,    2,3,    160,99,     47,47
  front = plate1,    2,4,    160,82,     30,30
  front = plate1,    3,0,    400,200,    120,120
  front = plate1,    3,1,    340,150,    100,100
  front = plate1,    3,2,    295,120,    68,68
  front = plate1,    3,3,    260,99,     47,47
  front = plate1,    3,4,    225,82,     30,30

  left = plate1,    1,0,    -80,200,    120,120
  left = plate1,    1,1,    -20,150,    100,100
  left = plate1,    1,2,    25,120,    68,68
  left = plate1,    1,3,    60,99,     47,47
  left = plate1,    1,4,    95,82,     30,30
  left = plate1,    2,0,    160,200,    140,120
  left = plate1,    2,1,    160,150,    100,100
  left = plate1,    2,2,    160,120,    68,68
  left = plate1,    2,3,    160,99,     47,47
  left = plate1,    2,4,    160,82,     30,30
  left = plate1,    3,0,    400,200,    120,120
  left = plate1,    3,1,    340,150,    100,100
  left = plate1,    3,2,    295,120,    68,68
  left = plate1,    3,3,    260,99,     47,47
  left = plate1,    3,4,    225,82,     30,30

  right = plate1,    1,0,    -80,200,    120,120
  right = plate1,    1,1,    -20,150,    100,100
  right = plate1,    1,2,    25,120,    68,68
  right = plate1,    1,3,    60,99,     47,47
  right = plate1,    1,4,    95,82,     30,30
  right = plate1,    2,0,    160,200,    140,120
  right = plate1,    2,1,    160,150,    100,100
  right = plate1,    2,2,    160,120,    68,68
  right = plate1,    2,3,    160,99,     47,47
  right = plate1,    2,4,    160,82,     30,30
  right = plate1,    3,0,    400,200,    120,120
  right = plate1,    3,1,    340,150,    100,100
  right = plate1,    3,2,    295,120,    68,68
  right = plate1,    3,3,    260,99,     47,47
  right = plate1,    3,4,    225,82,     30,30

  back = plate1,    1,0,    -80,200,    120,120
  back = plate1,    1,1,    -20,150,    100,100
  back = plate1,    1,2,    25,120,    68,68
  back = plate1,    1,3,    60,99,     47,47
  back = plate1,    1,4,    95,82,     30,30
  back = plate1,    2,0,    160,200,    140,120
  back = plate1,    2,1,    160,150,    100,100
  back = plate1,    2,2,    160,120,    68,68
  back = plate1,    2,3,    160,99,     47,47
  back = plate1,    2,4,    160,82,     30,30
  back = plate1,    3,0,    400,180,    120,120
  back = plate1,    3,1,    340,150,    100,100
  back = plate1,    3,2,    295,120,    68,68
  back = plate1,    3,3,    260,99,     47,47
  back = plate1,    3,4,    225,82,     30,30
  editor_icon = 8
  flip_left=1
  
  behavior=plate1
  
[object = plate_correct]
  parent=plate1
  editor_icon = 5
  behavior=plate_correct
  
[object = plate_wall]
  parent=plate1
  editor_icon = 5
  behavior=plate_wall
  
[object=block_wall]
  editor_icon = 1
  behavior=block_wall
--------------------------------------------------------------------------------

[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 = exit]
  offset_front = tomb_up, 0, 3,-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
  fog_level = 0,30,60,120,240
  behavior = exit
  
[object = up1]
  parent = exit
  behavior = port

[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
  fog_level = 0,30,60,120,240
  behavior = port
  
[object = down_kt2]
  parent = down1
  behavior = down_kt2
  
  
  
--------------------------------------------------------------------------------

[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.30,1 = money160
  behavior = chest_offer

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

[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



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

[object = instant_death]
	offset_front = sun_ray, 0, -16, 160
	offset_back = sun_ray, 0, 8, 160
	offset_left = sun_ray, 0, 8, 160
	offset_right = sun_ray, 0, 8, 160
  editor_icon=1
  behavior=instant_death
  fog_level = 0,0,0,0,0
  
  
  
--------------------------------------------------------------------------------
[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

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

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


[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

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

[object = saddead_dummy]
  front = dummy,   2,1,    120,156,   80,156
  left = dummy,    2,1,    120,156,   80,156
  right = dummy,   2,1,    120,156,   80,156
  back = dummy,    2,1,    120,156,   80,156
  click_rect.0 = 1,1,100,100
  click_rect.1 = 1,1,100,100
  click_rect.2 = 1,1,100,100
  click_rect.3 = 1,1,100,100
  editor_icon = 1
  click_range = 1,1
  top_click = 1
  behavior=saddead_dummy
  
[object = saddead_respawn]
  editor_icon = 1
  behavior = saddead_respawn
  
  
  
--------------------------------------------------------------------------------
[sprite = skull_f]
  bitmap = data\object\lever\skull1a.gif, 3, 3, 1
[sprite = skull_s]
  bitmap = data\object\lever\skull1b.gif, 3, 3, 1


[object = skull]
  visible_range = 0, 4
  offset_back = skull_f, 0, -85, 230
  offset_right = skull_s, 130, -75, 230
  offset_left = skull_s, -130, -75, 230
  all_sides = -1, 4,4
  all_sides = -1, 0 ,4
  editor_icon = 28
  flip_left = 1
  click_rect.2 = 1, 1, 35,48
  click_rect.1 = 1, 1, 30,48
  click_rect.3 = 1, 1, 30,48
  behavior = skull

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

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

[object = tele_level3]
  parent = teleport
  behavior = tele_level3

[object = claw_killer]
  visible_range = 0,3
  offset_front = teleport, 0, 1,200
  offset_back = teleport, 0, 1,200
  offset_left = teleport, 0, 1,200
  offset_right = teleport, 0, 1,200
  click_rect=-100,1,400,50
  editor_icon = 6
  behavior = claw_killer

--------------------------------------------------------------------------------
[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
  map_frame = 3, 18
  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
  //MONEY
  items.30,1 = money80
  items.100,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.100,2=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
  //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

  behavior = sarc_offer
  
  
[object=kings_quest]
  behavior=kings_quest
  editor_icon=1
