--"ignorebullets"
objecttemplate={
	fovshadows=0,
	material=materials.stone_yellow,
	breakable=0,
	createfunction=_CreateObject
}
objecttemplate.__index=objecttemplate

objectlist.valgekast={

sprite="spr_valgemasin",
frame=1,
collision="solid",
shape="rectangle",
width=11,
height=11,
shadowdist=1,
depth=1,
density=0
}
objectlist.punanemasin1={
sprite="spr_punanemasin",
frame=0,
collision="solid",
shape="rectangle",
width=30,
height=13,
shadowdist=1,
depth=6,
density=0
}
objectlist.punanemasin2={ --4 sangaga suur kast
sprite="spr_punanemasin",
frame=1,
collision="solid",
shape="rectangle",
width=15,
height=15,
shadowdist=1,
depth=4,
density=0
}
objectlist.punanemasin3={ --quadpuur
sprite="spr_punanemasin",
frame=5,
collision="solid",
shape="rectangle",
width=20,
height=16,
shadowdist=2.5,
depth=5,
density=0
}
objectlist.punaneyhendus={
sprite="spr_punanemasin",
frame=6,
collision="none",
shadowdist=1,
depth=4,
}
objectlist.punanevpaak={ --tünn
sprite="spr_punanemasin",
frame=7,
collision="solid",
shape="rectangle",
width=7,
height=7,
shadowdist=1,
depth=3,
density=4
}
objectlist.punanetoru_maas={
sprite="spr_punanemasin",
frame=3,
collision="drag",
shape="rectangle",
width=8,
height=2,
shadowdist=1,
depth=1,
density=0
}
objectlist.punanetoru_laes={
sprite="spr_punanemasin",
frame=4,
collision="none",
shadowdist=4,
depth=3,
}
objectlist.rest1={
sprite="spr_punanemasin",
frame=8,
collision="none",
shadowdist=4,
depth=3,
}
objectlist.rest2={
sprite="spr_punanemasin",
frame=18,
collision="none",
shadowdist=4,
depth=3,
}
objectlist.punanekast={
sprite="spr_punanemasin",
frame=2,
collision="solid",
shape="rectangle",
width=6,
height=6,
shadowdist=1,
depth=1,
density=4.5
}
objectlist.suurmasin1={ --kolme munaga paak
sprite="spr_punanemasin",
frame=15,
collision="solid",
shape="rectangle",
width=17,
height=43,
shadowdist=1,
depth=3,
density=0
}
objectlist.suurmasin2={ -- kala moodi jurakas
sprite="spr_punanemasin",
frame=16,
collision="solid",
shape="rectangle",
width=46,
height=18,
shadowdist=1,
depth=5,
density=0
}
objectlist.suurmasin3={ --kolme uksega katel
sprite="spr_punanemasin",
frame=17,
collision="solid",
shape="rectangle",
width=44,
height=20,
shadowdist=1,
depth=5,
density=0
}
objectlist.seinapistik={
sprite="spr_punanemasin",
frame=13,
collision="none",
shadowdist=1,
depth=5,
}
objectlist.seinakinnitus={
sprite="spr_punanemasin",
frame=12,
collision="none",
shadowdist=1,
depth=5,
}
objectlist.vore={
sprite="spr_punanemasin",
frame=14,
collision="none",
shadowdist=1.5,
depth=4,
}
objectlist.tumeradikas={
sprite="spr_punanemasin",
frame=10,
collision="drag",
shape="rectangle",
width=10,
height=11,
shadowdist=1,
depth=1,
density=0
}
objectlist.kandilinepaak={
sprite="spr_punanemasin",
frame=11,
collision="solid",
shape="rectangle",
width=16,
height=13,
shadowdist=1,
depth=6,
density=0
}
objectlist.torulaiend={--mootori moodi jurakas
sprite="spr_punanemasin",
frame=9,
collision="solid",		--""--
shape="rectangle",		--""--
width=12,				--bounding box
height=8,
shadowdist=1,
depth=1,			-- 3-6
density=0
}
objectlist.suurpaak={
sprite="spr_punanemasin",
frame=19,
collision="solid",		--""--
shape="rectangle",		--""--
width=18,				--bounding box
height=18,
shadowdist=2,
depth=5,			-- 3-6
density=0
}
objectlist.zombitoru={
sprite="spr_punanemasin",
frame=20,
collision="none",		--""--
shadowdist=2,
depth=5,			-- 3-6
}
objectlist.roboti_toru={
sprite="spr_sinised",
frame=19,
collision="none",		--""--
shadowdist=2,
depth=5,			-- 3-6
}
objectlist.punanehallmasin={ --punane kombineeritud halliga
sprite="spr_punanemasin",
frame=21,
collision="solid",
shape="rectangle",
width=28,
height=10,
shadowdist=1,
depth=2,
density=0
}
objectlist.punanehallmasinsuur={ --punane kombineeritud halliga suur
sprite="spr_punanemasin",
frame=22,
collision="solid",
shape="rectangle",
width=35,
height=21,
shadowdist=1,
depth=2,
density=0
}
--Mööbel
objectlist.laud={
sprite="spr_m88bel",
frame=0,
collision="drag",
shape="rectangle",
width=6,
height=12,
shadowdist=1,
depth=1,
density=1
}
objectlist.laudpikali={
sprite="spr_m88bel",
frame=1,
collision="drag",
shape="rectangle",
width=2,
height=11,
shadowdist=0.5,
depth=1,
density=0.8
}
objectlist.tool={
sprite="spr_m88bel",
frame=2,
collision="drag",
shape="rectangle",
width=3,
height=3,
shadowdist=0.5,
depth=1,
density=4
}
objectlist.toolpikali={
sprite="spr_m88bel",
frame=3,
collision="drag",
shape="rectangle",
width=5,
height=3,
shadowdist=0.3,
depth=1,
density=1
}
objectlist.kast={
sprite="spr_m88bel",
frame=5,
collision="drag",
shape="rectangle",
width=5,
height=5,
shadowdist=1,
depth=1,
density=1.2
}
objectlist.p6hjata_kast={
sprite="spr_valgemasin",
frame=14,
collision="drag",
shape="rectangle",
width=5,
height=5,
shadowdist=1,
depth=1,
density=1.2
}
objectlist.kast2={
sprite="spr_m88bel",
frame=6,
collision="drag",
shape="rectangle",
width=5,
height=5,
shadowdist=0.5,
depth=1,
density=1.2
}
objectlist.piklikkast={
sprite="spr_m88bel",
frame=7,
collision="drag",
shape="rectangle",
width=5,
height=12,
shadowdist=0.5,
depth=1,
density=2.5
}
objectlist.suurkast={
sprite="spr_m88bel",
frame=8,
collision="drag",
shape="rectangle",
width=7,
height=6,
shadowdist=1,
depth=1,
density=2
}
objectlist.riiul={
sprite="spr_m88bel",
frame=9,
collision="solid",
shape="rectangle",
width=3,
height=14,
shadowdist=1.5,
depth=5,
density=3
}
objectlist.metallriiul={
sprite="spr_m88bel",
frame=26,
collision="solid",
shape="rectangle",
width=3,
height=15,
shadowdist=1.8,
depth=5,
density=4
}
objectlist.amber={
sprite="spr_m88bel",
frame=10,
collision="drag",
shape="rectangle",
width=4,
height=4,
shadowdist=0.5,
depth=1,
density=1.7
}
objectlist.palk={
sprite="spr_m88bel",
frame=14,
collision="drag",
shape="rectangle",
width=3,
height=31,
shadowdist=0,
depth=1,
density=0
}
objectlist.rest={
sprite="spr_m88bel",
frame=16,
collision="drag",
shape="rectangle",
width=20,
height=13,
shadowdist=0,
depth=0,
density=1.8
}
objectlist.k6rgepalk={
sprite="spr_m88bel",
frame=17,
collision="none",
shadowdist=5,
depth=5,
}
objectlist.mustpuu={
sprite="spr_puud",
frame=3,
collision="solid",
shape="rectangle",
width=5,
height=5,
shadowdist=5,
depth=11,
density=0
}
objectlist.vagun={
sprite="spr_raudtee",
frame=0,
collision="solid",
shape="rectangle",
width=12,
height=7,
shadowdist=1,
depth=3,
density=0
}
objectlist.vagunt2is={
sprite="spr_raudtee",
frame=1,
collision="solid",
shape="rectangle",
width=12,
height=7,
shadowdist=1,
depth=3,
density=0
}
objectlist.vagunpikali={
sprite="spr_raudtee",
frame=2,
collision="solid",
shape="rectangle",
width=12,
height=3,
shadowdist=1,
depth=3,
density=0
}
objectlist.raudteeots={
sprite="spr_raudtee",
frame=3,
collision="solid",
shape="rectangle",
width=5,
height=9,
shadowdist=1,
depth=3,
density=0
}
objectlist.pikalinari={
sprite="spr_m88bel",
frame=21,
collision="drag",
shape="rectangle",
width=10,
height=11,
shadowdist=1,
depth=1,
density=2
}
objectlist.nari={
sprite="spr_m88bel",
frame=22,
collision="solid",
shape="rectangle",
width=3,
height=9,
shadowdist=1.5,
depth=3,
density=3
}
objectlist.riiulpikali={
sprite="spr_m88bel",
frame=23,
collision="drag",
shape="rectangle",
width=9,
height=14,
shadowdist=1,
depth=1,
density=3
}
objectlist.metallriiul_pikali={
sprite="spr_m88bel",
frame=27,
collision="drag",
shape="rectangle",
width=9,
height=15,
shadowdist=0.8,
depth=1,
density=3
}
objectlist.amber2={
sprite="spr_m88bel",
frame=24,
collision="drag",
shape="rectangle",
width=5,
height=5,
shadowdist=1,
depth=1,
density=3
}
objectlist.amber3={
sprite="spr_m88bel",
frame=25,
collision="drag",
shape="rectangle",
width=4,
height=4,
shadowdist=1,
depth=1,
density=1
}
objectlist.reisivagun={
sprite="spr_raudtee",
frame=7,
collision="solid",
shape="rectangle",
width=24,
height=7,
shadowdist=2,
depth=1,
density=0
}
objectlist.vedur={
sprite="spr_raudtee",
frame=8,
collision="solid",
shape="rectangle",
width=17,
height=7,
shadowdist=2,
depth=1,
density=0
}
objectlist.taim1={
sprite="spr_puud",
frame=5,
collision="none",
shadowdist=1,
depth=1,
}
objectlist.taim2={
sprite="spr_puud",
frame=6,
collision="none",
shadowdist=1,
depth=1,
}
objectlist.taim3={
sprite="spr_puud",
frame=7,
collision="none",
shadowdist=2,
depth=1,
}
objectlist.taim4={
sprite="spr_puud",
frame=9,
collision="none",
shadowdist=2,
depth=1,
}
objectlist.teleporteri_katus={
sprite="spr_portalroom",
frame=10,
collision="none",
shadowdist=5,
depth=5,
}
objectlist.redel3={
sprite="spr_portalroom",
frame=0,
collision="none",
shadowdist=4.5,
depth=6,
}
objectlist.laeliist={
sprite="spr_portalroom",
frame=2,
collision="none",
shadowdist=3.7,
depth=5,
}
objectlist.halltoru_maas={
sprite="spr_portalroom",
frame=6,
collision="drag",
shape="rectangle",
width=8,
height=2,
shadowdist=1,
depth=1,
density=0
}
objectlist.arvuti_laud={
sprite="spr_portalroom",
frame=4,
collision="drag",
shape="rectangle",
width=6,
height=12,
shadowdist=1,
depth=1,
density=3
}
objectlist.generaator={ --generaator?
sprite="spr_portalroom",
frame=7,
collision="solid",
shape="rectangle",
width=21,
height=15,
shadowdist=1,
depth=1,
density=0
}
objectlist.teleporter2={ --teleporter
sprite="spr_portalroom",
frame=9,
collision="solid",
shape="rectangle",
width=29,
height=25,
shadowdist=1,
depth=1,
density=0
}
objectlist.teleporter3_osa1={ --teleporter
sprite="spr_valgemasin",
frame=11,
collision="solid",
shape="rectangle",
width=28,
height=19,
shadowdist=1,
depth=1,
density=0
}
objectlist.teleporter3_osa2={ --teleporter
sprite="spr_valgemasin",
frame=12,
collision="solid",
shape="rectangle",
width=38,
height=20,
shadowdist=1,
depth=1,
density=0
}
objectlist.teleporter3_osa3={ --teleporter
sprite="spr_valgemasin",
frame=13,
collision="solid",
shape="rectangle",
width=23,
height=29,
shadowdist=2,
depth=3,
density=0
}
objectlist.aparaat={ --4ja sisendiga teleporteri aparaat
sprite="spr_portalroom",
frame=8,
collision="solid",
shape="rectangle",
width=14,
height=7,
shadowdist=1.5,
depth=1,
density=0
}
objectlist.ekraan={
sprite="spr_portalroom",
frame=3,
collision="solid",
shape="rectangle",
width=4,
height=3,
shadowdist=2,
depth=3,
density=0
}
objectlist.suur_ekraan={
sprite="spr_portalroom",
frame=5,
collision="solid",
shape="rectangle",
width=3,
height=9,
shadowdist=2,
depth=3,
density=0
}
objectlist.laeklaas={
sprite="spr_portalroom",
frame=12,
collision="none",
shadowdist=5,
depth=5,
}
objectlist.laevore={
sprite="spr_portalroom",
frame=13,
collision="none",
shadowdist=5,
depth=5,
}
objectlist.tumetaim1={
sprite="spr_tumetaim",
frame=0,
collision="none",
shadowdist=1,
depth=1,
}
objectlist.tumetaim2={
sprite="spr_tumetaim",
frame=1,
collision="none",
shadowdist=1,
depth=1,
}
objectlist.tumetaim3={
sprite="spr_tumetaim",
frame=2,
collision="none",
shadowdist=1,
depth=1,
}
objectlist.tumetaim4={
sprite="spr_tumetaim",
frame=3,
collision="none",
shadowdist=2,
depth=1,
}
objectlist.tumetaim5={
sprite="spr_tumetaim",
frame=4,
collision="none",
shadowdist=1,
depth=1,
}
objectlist.tumetaim6={
sprite="spr_tumetaim",
frame=5,
collision="none",
shadowdist=1,
depth=1,
}
objectlist.tumetaim7={
sprite="spr_tumetaim",
frame=6,
collision="none",
shadowdist=2,
depth=1,
}
objectlist.tumetaim8={
sprite="spr_tumetaim",
frame=7,
collision="none",
shadowdist=1,
depth=1,
}
objectlist.tumetaim9={
sprite="spr_tumetaim",
frame=8,
collision="none",
shadowdist=2,
depth=1,
}
objectlist.tumetaim10={
sprite="spr_tumetaim",
frame=9,
collision="none",
shadowdist=2,
depth=1,
}
objectlist.tumetaim11={
sprite="spr_tumetaim",
frame=10,
collision="none",
shadowdist=2,
depth=1,
}
objectlist.tumetaim12={
sprite="spr_tumetaim",
frame=11,
collision="none",
shadowdist=1,
depth=1,
}
objectlist.sinine_toru5={--toru5
sprite="spr_sinised",
frame=1,
collision="drag",
shape="rectangle",
width=12,
height=3,
shadowdist=1,
depth=1,
density=0
}
objectlist.sinine_toru4={--toru4
sprite="spr_sinised",
frame=2,
collision="drag",
shape="rectangle",
width=11,
height=2,
shadowdist=0.5,
depth=1,
density=0
}
objectlist.sinine_toru3={--toru3
sprite="spr_sinised",
frame=3,
collision="drag",
shape="rectangle",
width=8,
height=2,
shadowdist=1,
depth=1,
density=0
}
objectlist.sinine_toru2={--toru2
sprite="spr_sinised",
frame=4,
collision="drag",
shape="rectangle",
width=8,
height=2,
shadowdist=1,
depth=1,
density=0
}
objectlist.sinine_toru1={--toru1
sprite="spr_sinised",
frame=17,
collision="drag",
shape="rectangle",
width=8,
height=2,
shadowdist=0.5,
depth=1,
density=0
}
objectlist.sinine_6kastiga={--6kastiga						5
sprite="spr_sinised",
frame=5,
collision="solid",
shape="rectangle",
width=20,
height=19,
shadowdist=3,
depth=2,
density=0
}
objectlist.sinine_quad={--quad                          6
sprite="spr_sinised",
frame=6,
collision="solid",
shape="rectangle",
width=24,
height=19,
shadowdist=2.5,
depth=2,
density=0
}
objectlist.sinine_radiaator={--radiaator                     7
sprite="spr_sinised",
frame=7,
collision="solid",
shape="rectangle",
width=17,
height=7,
shadowdist=1.2,
depth=2,
density=0
}
objectlist.sinine_suur_radiaator={--suur_radiaator                8
sprite="spr_sinised",
frame=8,
collision="solid",
shape="rectangle",
width=24,
height=13,
shadowdist=1.6,
depth=2,
density=0
}
objectlist.sinine_3paaki={--3paaki                        9
sprite="spr_sinised",
frame=9,
collision="solid",
shape="rectangle",
width=16,
height=40,
shadowdist=3,
depth=2,
density=0
}
objectlist.sinine_redel_suur={--redel_suur                    10
sprite="spr_sinised",
frame=10,
collision="none",
shadowdist=4,
depth=4,
}
objectlist.sinine_redel_vaike={--redel_väike                   11
sprite="spr_sinised",
frame=11,
collision="none",
shadowdist=5,
depth=4,
}
objectlist.sinine_tume_redel={--tume_redel                    14
sprite="spr_sinised",
frame=14,
collision="none",
shadowdist=1.5,
depth=2,
}
objectlist.sinine_poolik_radiaator={--poolik_radiaator              12
sprite="spr_sinised",
frame=12,
collision="solid",
shape="rectangle",
width=17,
height=3,
shadowdist=1,
depth=1,
density=0
}
objectlist.sinine_6tynni={--6tünni                        13
sprite="spr_sinised",
frame=13,
collision="solid",
shape="rectangle",
width=18,
height=31,
shadowdist=1.3,
depth=2,
density=0
}
objectlist.sinine_t_kujuline_seinakinniti={--t_kujuline_seinakinniti       15
sprite="spr_sinised",
frame=15,
collision="solid",
shape="rectangle",
width=4,
height=15,
shadowdist=5,
depth=2,
density=0
}
objectlist.sinine_ruudukujuline_greneraator={--ruudukujuline_greneraator    16
sprite="spr_sinised",
frame=16,
collision="solid",
shape="rectangle",
width=17,
height=13,
shadowdist=1.2,
depth=2,
density=0
}
objectlist.sinine_vore={--võre                          0
sprite="spr_sinised",
frame=0,
collision="none",
shadowdist=3.2,
depth=2,
}
objectlist.s_konsool={
sprite="spr_sinised",
frame=18,
collision="solid",
shape="rectangle",
width=23,
height=15,
shadowdist=1.2,
depth=2,
density=0
}
objectlist.turretbase={--turret
sprite="spr_turret",
frame=0,
collision="none",
shadowdist=3.2,
depth=2,
}
objectlist.kraan={--kraan
sprite="spr_metallprand",
frame=24,
collision="none",
shadowdist=1,
depth=1,
}
objectlist.tvigur={
sprite="spr_metallprand",
frame=25,
collision="none",
shadowdist=1,
depth=1,
}
objectlist.fvigur={
sprite="spr_metallprand",
frame=26,
collision="none",
shadowdist=1,
depth=1,
}
objectlist.kraanikauss={
sprite="spr_metallprand",
frame=27,
collision="none",
shadowdist=1,
depth=1,
}
objectlist.peenikehalltoru={
sprite="spr_metallprand",
frame=28,
collision="none",
shadowdist=1,
depth=1,
}
objectlist.tumehallkraanidekonsool={
sprite="spr_metallprand",
frame=29,
collision="none",
shadowdist=1,
depth=2,
}
objectlist.snakesegment={                        
sprite="spr_snake_tail",
frame=0,
collision="solid",
shape="circle",
radius=2,
shadowdist=1,
depth=2,
density=3,
breakable=1,
health=900,
brokenframe=3,
material=materials.metal_red
}

objectlist.boss_core={                        
sprite="spr_boss_keskus",
frame=0,

breakable=1,
health=600,
brokenframe=1,
collision="solid",
shape="circle",
radius=10,
shadowdist=1.5,
depth=3,
density=0,
material=materials.metal_red,
}
objectlist.boss_innerwall={                        
sprite="spr_boss_s_sein1",
frame=0,
fovshadows=1,
breakable=1,
health=450,
brokenframe=4,
collision="solid",
shape="rectangle",
width=5,
height=5,
shadowdist=0,
depth=10,
density=0,
material=materials.metal_red,
}

objectlist.boss_outerwall={                        
sprite="spr_boss_v_sein1",
frame=0,
fovshadows=1,
breakable=1,
health=600,
brokenframe=4,
collision="solid",
shape="rectangle",
width=10,
height=5,
shadowdist=0,
depth=10,
density=0,
material=materials.metal_red,
}

objectlist.boss_turret={                        
sprite="spr_boss_kahur",
frame=0,
breakable=1,
health=300,
brokenframe=2,
collision="solid",
shape="circle",
radius=4,
shadowdist=0,
depth=9,
density=0,
material=materials.metal_red,
}

objectlist.boss_laser={                        
sprite="spr_boss_laser",
frame=0,
breakable=1,
health=200,
brokenframe=2,
collision="solid",
shape="circle",
radius=4,
shadowdist=0,
depth=9,
density=0,
material=materials.metal_red,

}

objectlist.boss_tentaclebase={                        
sprite="spr_boss_toru",
frame=0,
breakable=1,
health=300,
brokenframe=1,
collision="solid",
shape="rectangle",
width=6,
height=4,
shadowdist=0,
depth=9,
density=0,
material=materials.metal_red,
}

objectlist.boss_tentacle={                        
sprite="spr_boss_lyliots",
frame=0,
breakable=1,
health=200,
brokenframe=2,
collision="solid",
shape="circle",
radius=2,
shadowdist=0,
depth=8,
density=1,
material=materials.metal_red,
}


objectlist.deadturret={                        
sprite="spr_turret",
frame=4,
collision="solid",
shape="circle",
radius=2,
shadowdist=1,
depth=1.5,
density=3
}
objectlist.deadwelder={                        
sprite="spr_hall_robot",
frame=11,
collision="solid",
shape="circle",
radius=2,
shadowdist=1,
depth=1.5,
density=12
}

objectlist.kraan={--kraan
sprite="spr_metallprand",
frame=24,
collision="none",
shadowdist=1,
depth=1,
}
objectlist.tvigur={
sprite="spr_metallprand",
frame=25,
collision="none",
shadowdist=1,
depth=1,
}
objectlist.fvigur={
sprite="spr_metallprand",
frame=26,
collision="none",
shadowdist=1,
depth=1,
}
objectlist.kraanikauss={
sprite="spr_metallprand",
frame=27,
collision="none",
shadowdist=1,
depth=1,
}
objectlist.peenikehalltoru={
sprite="spr_metallprand",
frame=28,
collision="none",
shadowdist=1,
depth=1,
}
objectlist.tumehallkraanidekonsool={
sprite="spr_metallprand",
frame=29,
collision="none",
shadowdist=1,
depth=2,
}
objectlist.teleporteri_katus2={
sprite="spr_metallprand",
frame=42,
collision="none",
shadowdist=5,
depth=5,
}
--seinad
objectlist.sein_punane={
sprite="spr_sein2",
frame=0,
collision="solid",
shape="rectangle",
width=21,
height=10,
shadowdist=2,
depth=10,
fovshadows=1,
density=0,
material=materials.metal_red
}
objectlist.sein_kollane={
sprite="spr_sein2",
frame=1,
collision="solid",
shape="rectangle",
width=21,
height=10,
shadowdist=2,
depth=10,
fovshadows=1,
density=0,
material=materials.stone_yellow
}
objectlist.sein_rohekaskollane={
sprite="spr_sein2",
frame=2,
collision="solid",
shape="rectangle",
width=21,
height=10,
shadowdist=2,
depth=10,
fovshadows=1,
density=0,
material=materials.stone_yellow
}
objectlist.sein_sinepikarva={
sprite="spr_sein2",
frame=3,
collision="solid",
shape="rectangle",
width=21,
height=10,
shadowdist=2,
depth=10,
fovshadows=1,
density=0,
material=materials.stone_yellow
}
objectlist.sein_peez={
sprite="spr_sein2",
frame=4,
collision="solid",
shape="rectangle",
width=21,
height=10,
shadowdist=2,
depth=10,
fovshadows=1,
density=0,
material=materials.stone_yellow
}
objectlist.sein_rohekashall={
sprite="spr_sein2",
frame=5,
collision="solid",
shape="rectangle",
width=21,
height=10,
shadowdist=2,
depth=10,
fovshadows=1,
density=0,
material=materials.metal_grey
}
objectlist.sein_helesinine={
sprite="spr_sein2",
frame=6,
collision="solid",
shape="rectangle",
width=21,
height=10,
shadowdist=2,
depth=10,
fovshadows=1,
density=0,
material=materials.metal_blue
}
objectlist.sein_hallikassinine={
sprite="spr_sein2",
frame=7,
collision="solid",
shape="rectangle",
width=21,
height=10,
shadowdist=2,
depth=10,
fovshadows=1,
density=0,
material=materials.metal_grey
}
objectlist.sein_sinine={
sprite="spr_sein2",
frame=8,
collision="solid",
shape="rectangle",
width=21,
height=10,
shadowdist=2,
depth=10,
fovshadows=1,
density=0,
material=materials.metal_blue
}
objectlist.mapmarker={
sprite="spr_vplahvatus",
frame=0,
collision="none",
shadowdist=0,
depth=0,
fovshadows=0,
createfunction=function(x,y,a) return CreateMapMarker(x,y,.72,.72,.72) end

}
objectlist.liim={
sprite="spr_liim",
frame=0,
collision="drag",
shape="circle",
radius=24,
shadowdist=0,
depth=-5,
fovshadows=0,
density=0,
material=materials.metal_blue
}
objectlist.adhgrenade={
sprite="spr_asjad",
frame=51,
collision="solid",
shape="circle",
radius=2,
shadowdist=0,
depth=0,
fovshadows=0,
density=1,
material=materials.metal_blue
}
objectlist.glueparticle={
sprite="spr_liimitykk",
frame=0,
collision="solid",
shape="circle",
radius=2,
shadowdist=0,
depth=0,
density=1,
material=materials.metal_blue
}
--Katkilastavad seinad
objectlist.br_kollane={
sprite="spr_n6rk_sein1",
frame=0,

breakable=1,
brokenframe=4,
health=100,
collision="solid",
shape="rectangle",
width=4,
height=4,
shadowdist=1,
depth=10,
density=0,
fovshadows=1,
material=materials.stone_yellow
}
objectlist.br_tumeroheline={
sprite="spr_n6rk_sein2",
frame=0,

breakable=1,
brokenframe=4,
health=100,
collision="solid",
shape="rectangle",
width=4,
height=4,
shadowdist=1,
depth=10,
density=0,
fovshadows=1,
material=materials.stone_yellow
}
objectlist.br_beez={
sprite="spr_n6rk_sein3",
frame=0,

breakable=1,
brokenframe=4,
health=100,
collision="solid",
shape="rectangle",
width=4,
height=4,
shadowdist=1,
depth=10,
density=0,
fovshadows=1,
material=materials.stone_yellow
}
objectlist.br_kollane2={
sprite="spr_n6rk_sein4",
frame=0,

breakable=1,
brokenframe=4,
health=100,
collision="solid",
shape="rectangle",
width=4,
height=4,
shadowdist=1,
depth=10,
density=0,
fovshadows=1,
material=materials.stone_yellow
}
objectlist.br_punane={
sprite="spr_n6rk_sein5",
frame=0,

breakable=1,
brokenframe=4,
health=100,
collision="solid",
shape="rectangle",
width=4,
height=4,
shadowdist=1,
depth=10,
density=0,
fovshadows=1,
material=materials.metal_red
}
objectlist.br_helesinine={
sprite="spr_n6rk_sein6",
frame=0,

breakable=1,
brokenframe=4,
health=100,
collision="solid",
shape="rectangle",
width=4,
height=4,
shadowdist=1,
depth=10,
density=0,
fovshadows=1,
material=materials.metal_blue
}
objectlist.br_hallikassinine={
sprite="spr_n6rk_sein7",
frame=0,

breakable=1,
brokenframe=4,
health=100,
collision="solid",
shape="rectangle",
width=4,
height=4,
shadowdist=1,
depth=10,
density=0,
fovshadows=1,
material=materials.metal_blue
}
objectlist.br_tumesinine={
sprite="spr_n6rk_sein8",
frame=0,

breakable=1,
brokenframe=4,
health=100,
collision="solid",
shape="rectangle",
width=4,
height=4,
shadowdist=1,
depth=10,
density=0,
fovshadows=1,
material=materials.metal_blue
}
objectlist.br_kollakasbeez={
sprite="spr_n6rk_sein9",
frame=0,

breakable=1,
brokenframe=4,
health=100,
collision="solid",
shape="rectangle",
width=4,
height=4,
shadowdist=1,
depth=10,
density=0,
fovshadows=1,
material=materials.stone_yellow
}
objectlist.br_kollane3={
sprite="spr_n6rk_sein10",
frame=0,

breakable=1,
brokenframe=4,
health=100,
collision="solid",
shape="rectangle",
width=4,
height=4,
shadowdist=1,
depth=10,
density=0,
fovshadows=1,
material=materials.stone_yellow
}
--liigutatavad seinad
objectlist.sein_punane_liigutatav={
sprite="spr_sein2",
frame=9,
collision="solid",
shape="rectangle",
width=21,
height=7,
shadowdist=2,
depth=10,
fovshadows=1,
density=6.7,
material=materials.metal_red
}
objectlist.sein_kollane_liigutatav={
sprite="spr_sein2",
frame=10,
collision="solid",
shape="rectangle",
width=21,
height=7,
shadowdist=2,
depth=10,
fovshadows=1,
density=6.7,
material=materials.stone_yellow
}
objectlist.sein_rohekaskollane_liigutatav={
sprite="spr_sein2",
frame=11,
collision="solid",
shape="rectangle",
width=21,
height=10,
shadowdist=2,
depth=7,
fovshadows=1,
density=6.7,
material=materials.stone_yellow
}
objectlist.sein_sinepikarva_liigutatav={
sprite="spr_sein2",
frame=12,
collision="solid",
shape="rectangle",
width=21,
height=7,
shadowdist=2,
depth=10,
fovshadows=1,
density=6.7,
material=materials.stone_yellow
}
objectlist.sein_peez_liigutatav={
sprite="spr_sein2",
frame=13,
collision="solid",
shape="rectangle",
width=21,
height=7,
shadowdist=2,
depth=10,
fovshadows=1,
density=6.7,
material=materials.stone_yellow
}
objectlist.sein_rohekashall_liigutatav={
sprite="spr_sein2",
frame=14,
collision="solid",
shape="rectangle",
width=21,
height=7,
shadowdist=2,
depth=10,
fovshadows=1,
density=6.7,
material=materials.metal_grey
}
objectlist.sein_helesinine_liigutatav={
sprite="spr_sein2",
frame=15,
collision="solid",
shape="rectangle",
width=21,
height=7,
shadowdist=2,
depth=10,
fovshadows=1,
density=6.7,
material=materials.metal_blue
}
objectlist.sein_hallikassinine_liigutatav={
sprite="spr_sein2",
frame=16,
collision="solid",
shape="rectangle",
width=21,
height=7,
shadowdist=2,
depth=10,
fovshadows=1,
density=6.7,
material=materials.metal_grey
}
objectlist.sein_sinine_liigutatav={
sprite="spr_sein2",
frame=17,
collision="solid",
shape="rectangle",
width=21,
height=7,
shadowdist=2,
depth=10,
fovshadows=1,
density=6.7,
material=materials.metal_blue
}
objectlist.aknaraam={
sprite="spr_sein2",
frame=18,
collision="none",
shape="rectangle",
shadowdist=3,
depth=4
}
objectlist.laev6reaed={
sprite="spr_sein2",
frame=19,
collision="none",
shape="rectangle",
shadowdist=3,
depth=3
}
objectlist.v6reaed={
sprite="spr_sein2",
frame=20,
collision="solid",
shape="rectangle",
width=26,
height=3,
shadowdist=2,
depth=2,
density=0
}
--Mustpuud
objectlist.mustpuu2={
sprite="spr_objektid",
frame=1,
collision="solid",
shape="rectangle",
width=5,
height=5,
shadowdist=5,
depth=11,
density=0
}
objectlist.mustpuu3={
sprite="spr_objektid",
frame=2,
collision="solid",
shape="rectangle",
width=5,
height=5,
shadowdist=5,
depth=11,
density=0
}
objectlist.mustpuu4={
sprite="spr_objektid",
frame=3,
collision="solid",
shape="rectangle",
width=5,
height=5,
shadowdist=5,
depth=11,
density=0
}
objectlist.mustpuu5={
sprite="spr_objektid",
frame=4,
collision="solid",
shape="rectangle",
width=5,
height=5,
shadowdist=5,
depth=11,
density=0
}
objectlist.mustpuu6={
sprite="spr_objektid",
frame=5,
collision="solid",
shape="rectangle",
width=5,
height=5,
shadowdist=5,
depth=11,
density=0
}
--Euroalused
objectlist.euroalus={
sprite="spr_objektid",
frame=6,
collision="drag",
shape="rectangle",
width=12,
height=13,
shadowdist=0,
depth=0,
density=1.8
}
objectlist.euroalus2={
sprite="spr_objektid",
frame=7,
collision="drag",
shape="rectangle",
width=9,
height=12,
shadowdist=0,
depth=0,
density=1.8
}
objectlist.euroalus3={
sprite="spr_objektid",
frame=8,
collision="drag",
shape="rectangle",
width=9,
height=12,
shadowdist=0,
depth=0,
density=1.8
}
--Kondeinerid
objectlist.puust_kondeiner={
sprite="spr_objektid",
frame=9,
collision="solid",
shape="rectangle",
width=16,
height=23,
shadowdist=1.5,
depth=5,
density=6
}
objectlist.puust_kondeiner2={
sprite="spr_objektid",
frame=10,
collision="solid",
shape="rectangle",
width=16,
height=23,
shadowdist=1.5,
depth=5,
density=6
}
objectlist.puust_kondeiner3={
sprite="spr_objektid",
frame=11,
collision="solid",
shape="rectangle",
width=16,
height=23,
shadowdist=1.5,
depth=5,
density=6
}

objectlist.raudtala_laes={
sprite="spr_objektid",
frame=13,
collision="none",
shadowdist=5,
depth=5,
}
objectlist.keskmine_punane_toru={
sprite="spr_objektid",
frame=18,
collision="none",
shadowdist=2,
depth=5,			
}
objectlist.robotitoru={
sprite="spr_objektid",
frame=19,
collision="none",
shadowdist=2,
depth=5,
}
--Uksed
objectlist.uks_punane={
sprite="spr_objektid",
frame=15,
collision="solid",
shape="rectangle",
width=12,
height=6,
shadowdist=2,
depth=10,
fovshadows=1,
density=0,
material=materials.metal_red
}
objectlist.uks_kollane={
sprite="spr_objektid",
frame=14,
collision="solid",
shape="rectangle",
width=12,
height=6,
shadowdist=2,
depth=10,
fovshadows=1,
density=0,
material=materials.stone_yellow
}
objectlist.uks_sinine={
sprite="spr_objektid",
frame=16,
collision="solid",
shape="rectangle",
width=12,
height=6,
shadowdist=2,
depth=10,
fovshadows=1,
density=0,
material=materials.metal_blue
}
objectlist.uks_rohekashall={
sprite="spr_objektid",
frame=17,
collision="solid",
shape="rectangle",
width=12,
height=6,
shadowdist=2,
depth=10,
fovshadows=1,
density=0,
material=materials.metal_grey
}

--laetalad, mustad kontuurid
objectlist.laetala1={
sprite="spr_objektid",
frame=20,
collision="none",
shadowdist=5,
depth=11,
}
objectlist.must_oks={
sprite="spr_objektid",
frame=21,
collision="none",
shadowdist=5,
depth=11,
}
objectlist.must_toru_4px={
sprite="spr_objektid",
frame=22,
collision="none",
shadowdist=5,
depth=11,
}
objectlist.must_kast={
sprite="spr_objektid",
frame=23,
collision="none",
shadowdist=5,
depth=11,
}
objectlist.must_laeraam={
sprite="spr_objektid",
frame=24,
collision="none",
shadowdist=5,
depth=11,
}
objectlist.must_puu_oks={
sprite="spr_objektid",
frame=25,
collision="none",
shadowdist=5,
depth=11,
}
objectlist.must_6px_toru_p6lv={
sprite="spr_objektid",
frame=26,
collision="none",
shadowdist=5,
depth=11,
}
objectlist.must_laekonsool1={
sprite="spr_objektid",
frame=27,
collision="none",
shadowdist=5,
depth=11,
}
objectlist.must_laekonsool2={
sprite="spr_objektid",
frame=28,
collision="none",
shadowdist=5,
depth=11,
}
objectlist.must_laekonsool3={
sprite="spr_objektid",
frame=29,
collision="none",
shadowdist=5,
depth=11,
}
objectlist.must_laekonsool4={
sprite="spr_objektid",
frame=30,
collision="none",
shadowdist=5,
depth=11,
}
objectlist.must_suur_laekonsool={
sprite="spr_objektid",
frame=31,
collision="none",
shadowdist=5,
depth=11,
}
objectlist.must_keskmine_laekonsool1={
sprite="spr_objektid",
frame=32,
collision="none",
shadowdist=5,
depth=11,
}
objectlist.must_keskmine_laekonsool2={
sprite="spr_objektid",
frame=33,
collision="none",
shadowdist=5,
depth=11,
}
objectlist.must_keskmine_laekonsool3={
sprite="spr_objektid",
frame=34,
collision="none",
shadowdist=5,
depth=11,
}
objectlist.must_suur_puutyvi={
sprite="spr_objektid",
frame=35,
collision="none",
shadowdist=5,
depth=11,
}
objectlist.must_2px_toru={
sprite="spr_objektid",
frame=36,
collision="none",
shadowdist=5,
depth=11,
}
objectlist.must_6px_toru={
sprite="spr_objektid",
frame=37,
collision="none",
shadowdist=5,
depth=11,
}

--punaste torude põlved
objectlist.zombitoru_p6lv={
sprite="spr_objektid",
frame=38,
collision="none",	
shadowdist=2,
depth=5,
}
objectlist.zombitoru_p6lv2={
sprite="spr_objektid",
frame=39,
collision="none",	
shadowdist=2,
depth=5,
}
objectlist.punane_6px_toru_p6lv={
sprite="spr_objektid",
frame=40,
collision="none",	
shadowdist=2,
depth=5,
}
objectlist.punane_6px_toru_p6lv2={
sprite="spr_objektid",
frame=41,
collision="none",	
shadowdist=2,
depth=5,
}
objectlist.tuluke={
sprite="spr_tuluke",
frame=0,
collision="none",
shadowdist=1,
depth=3,
}
objectlist.valge_staatiline_s6dur={
sprite="spr_objektid",
frame=42,
collision="solid",
shape="rectangle",
width=4,
height=2,	
shadowdist=1,
depth=3,
density=0,
}
objectlist.suur_valge_staatiline_s6dur={
sprite="spr_objektid",
frame=43,
collision="solid",
shape="rectangle",
width=6,
height=2,	
shadowdist=1,
depth=3,
density=0,
}
objectlist.punane_suur_uks={
sprite="spr_objektid",
frame=44,
collision="solid",
shape="rectangle",
width=11,
height=41,
shadowdist=1,
depth=10,
density=0,
fovshadows=1,
material=materials.metal_red
}
objectlist.m2rklaud={
sprite="spr_m2rklaud",
frame=0,
collision="solid",
shape="rectangle",
width=8,
height=10,
shadowdist=1,
depth=10,
density=0,
fovshadows=0,
material=materials.metal_red,
}



objectlist.Punane_2px_silmaga_v6re={
sprite="spr_objektid",
frame=45,
collision="none",
shadowdist=3,
depth=3
}
objectlist.Punane_9px_silmaga_v6re_raamiga={
sprite="spr_objektid",
frame=46,
collision="none",
shadowdist=3,
depth=3
}
objectlist.Punane_9px_silmaga_v6re={
sprite="spr_objektid",
frame=48,
collision="none",
shadowdist=3,
depth=3
}
objectlist.Punane_8px_lai_siksak_laev6re_pikka_sammuga={
sprite="spr_objektid",
frame=58,
collision="none",
shadowdist=3,
depth=3
}
objectlist.Punane_2px_silmaga_laev6re={
sprite="spr_objektid",
frame=53,
collision="none",
shadowdist=3,
depth=3
}
objectlist.Punane_8px_lai_siksak_laev6re={
sprite="spr_objektid",
frame=56,
collision="none",
shadowdist=3,
depth=3
}
objectlist.Punane_sangadega_laeliist={
sprite="spr_objektid",
frame=55,
collision="none",
shadowdist=3,
depth=3
}
objectlist.Punane_lai_laev6re={
sprite="spr_objektid",
frame=51,
collision="none",
shadowdist=3,
depth=3
}

objectlist.Punane_pikk_zombitoru={
sprite="spr_objektid",
frame=47,
collision="none",	
shadowdist=2,
depth=5,
}
objectlist.Suure_paagi_klamberrihm={
sprite="spr_objektid",
frame=52,
collision="drag",
shape="rectangle",
width=30,
height=4,
shadowdist=1,
depth=1,
density=0
}
objectlist.Punased_toruotsad={
sprite="spr_objektid",
frame=54,
collision="drag",
shape="rectangle",
width=21,
height=3,
shadowdist=1,
depth=1,
density=0
}
objectlist.Punane_v2ike_tynn={ --tünn2
sprite="spr_objektid",
frame=49,
collision="solid",
shape="rectangle",
width=5,
height=5,
shadowdist=1,
depth=1,
density=2.5
}
objectlist.Punane_greneraator_5={ 
sprite="spr_objektid",
frame=50,
collision="solid",
shape="rectangle",
width=21,
height=15,
shadowdist=2,
depth=3,
density=0
}
objectlist.Punane_ahjukolu={ 
sprite="spr_objektid",
frame=57,
collision="solid",
shape="rectangle",
width=12,
height=10,
shadowdist=2,
depth=3,
density=0
}
objectlist.Punased_3_kuubikut={ 
sprite="spr_objektid",
frame=59,
collision="solid",
shape="rectangle",
width=21,
height=7,
shadowdist=1,
depth=3,
density=0
}
objectlist.Punane_toru_kujuline_paak={ 
sprite="spr_objektid",
frame=60,
collision="solid",
shape="rectangle",
width=15,
height=25,
shadowdist=2,
depth=3,
density=0
}

objectlist.tala22={
sprite="spr_objektid",
frame=61,
collision="none",
shadowdist=5,
depth=5,
}
objectlist.tala33={
sprite="spr_objektid",
frame=62,
collision="none",
shadowdist=5,
depth=5,
}
objectlist.peenike_tala={
sprite="spr_objektid",
frame=63,
collision="none",
shadowdist=5,
depth=5,
}
objectlist.kollane_laeredel={
sprite="spr_objektid",
frame=64,
collision="none",
shadowdist=5,
depth=5,
}
objectlist.laekolmnurk={
sprite="spr_objektid",
frame=65,
collision="none",
shadowdist=5,
depth=5,
}
objectlist.paks_tala={
sprite="spr_objektid",
frame=66,
collision="none",
shadowdist=5,
depth=5,
}
objectlist.sinisde_servaga_laeredel={
sprite="spr_objektid",
frame=67,
collision="none",
shadowdist=5,
depth=5,
}


objectlist.tumesinine_arvutusjaam1={
sprite="spr_objektid",
frame=68,
collision="solid",
shape="rectangle",
width=24,
height=6,
shadowdist=1.2,
depth=2,
density=0
}
objectlist.tumesinine_rack={
sprite="spr_objektid",
frame=69,
collision="solid",
shape="rectangle",
width=10,
height=39,
shadowdist=1.2,
depth=2,
density=0
}
objectlist.tumesinine_server3={
sprite="spr_objektid",
frame=70,
collision="solid",
shape="rectangle",
width=10,
height=33,
shadowdist=1.2,
depth=2,
density=0
}
objectlist.tumesinine_arvutusjaam2={
sprite="spr_objektid",
frame=71,
collision="solid",
shape="rectangle",
width=25,
height=10,
shadowdist=1.2,
depth=2,
density=0
}
objectlist.tumesinine_arvutusjaam3={
sprite="spr_objektid",
frame=72,
collision="solid",
shape="rectangle",
width=14,
height=10,
shadowdist=1.2,
depth=2,
density=0
}
objectlist.tumesinine_suur_kontrollpult={
sprite="spr_objektid",
frame=73,
collision="solid",
shape="rectangle",
width=35,
height=19,
shadowdist=1.2,
depth=2,
density=0
}

objectlist.suur_euro_alus={
sprite="spr_objektid",
frame=74,
collision="drag",
shape="rectangle",
width=12,
height=18,
shadowdist=0,
depth=0,
density=1.8
}

objectlist.v2ike_hall_riiul={
sprite="spr_objektid",
frame=77,
collision="solid",
shape="rectangle",
width=3,
height=13,
shadowdist=1.8,
depth=5,
density=4
}

objectlist.suur_laud={
sprite="spr_objektid",
frame=75,
collision="drag",
shape="rectangle",
width=8,
height=15,
shadowdist=1,
depth=1,
density=3
}
objectlist.suur_hall_laud={
sprite="spr_objektid",
frame=76,
collision="drag",
shape="rectangle",
width=8,
height=15,
shadowdist=1,
depth=1,
density=3
}

objectlist.indikaator_tuluke2={
sprite="spr_indikaator_tuluke2",
frame=0,
collision="none",
shadowdist=0,
depth=5,
}
objectlist.sinine_lyliti={
sprite="spr_sinine_lyliti",
frame=0,
collision="none",
shadowdist=1,
depth=2,
}

--materials.stone_yellow
--materials.metal_red
--materials.metal_grey
--materials.metal_blue
--materials.wood_destructable
--materials.stone_destructable

--ugly hack to simplify placing objects
local tablenumber=0
edit_objecttable={}
for k,v in pairs(objectlist) do
  setmetatable(v,objecttemplate)
  edit_objecttable[tablenumber]=k
  tablenumber=tablenumber+1
end

CreateSprite("spr_objectedit","tex_set1",tablenumber,1,2,2)