--LEVEL1 Outdoor training ground
local startitems={
"pystol","pyammo","pyammo","pyammo",
"smtimebomb","smtimebomb"
}

local citemlist={}
local itemlist={}
local rareitemlist={}

--Relvad:
citemlist		["pystol"]=				1
--rareitemlist	["pystol"]=				1
citemlist		["pump"]=				1
--itemlist		["pump"]=				1
--rareitemlist	["pump"]=				1
--citemlist		["explauncher"]=		1
rareitemlist	["explauncher"]=		1
--citemlist		["revolver"]=			1
rareitemlist	["revolver"]=			1
--citemlist		["automaat"]=			1
--rareitemlist	["automaat"]=			1
--citemlist		["riflehv"]=			1
--rareitemlist	["riflehv"]=			1
--citemlist		["rifle"]=				1
--rareitemlist	["rifle"]=				1
--citemlist		["lasgun"]=				1
--rareitemlist	["lasgun"]=				1
--citemlist		["taser"]=				1
--rareitemlist	["taser"]=				1
--citemlist		["cannon"]=				1
--rareitemlist	["cannon"]=				1

--Ammo:
citemlist		["pyammo"]=				5 -- 15 pakkis
--rareitemlist	["pyammo"]=				1 -- 15 pakkis
citemlist		["ppammo"]=				2 -- 10 pakkis
--itemlist		["ppammo"]=				1 -- 10 pakkis
rareitemlist	["ppammo"]=				1 -- 10 pakkis
--citemlist		["revolverammo"]=		1 -- 12 pakkis
rareitemlist	["revolverammo"]=		1 -- 12 pakkis
citemlist		["auammo"]=				1 -- 30 pakkis
--rareitemlist	["auammo"]=				1 -- 30 pakkis
--citemlist		["hvammo"]=				1 -- 30 pakkis
--rareitemlist	["hvammo"]=				1 -- 30 pakkis
citemlist		["riammo"]=				1 -- 10 pakkis
--rareitemlist	["riammo"]=				1 -- 10 pakkis
--citemlist		["lasammo"]=			1 -- 20 pakkis
--rareitemlist	["lasammo"]=			1 -- 20 pakkis
--citemlist		["pexpammo"]=			1 -- 10 pakkis
rareitemlist	["pexpammo"]=			2 -- 10 pakkis
--citemlist		["teslaammo"]=			1 -- 50 pakkis
--rareitemlist	["teslaammo"]=			1 -- 50 pakkis
--citemlist		["cannonrounds"]=		1 -- lõhkeaine + toru = 8tk
--rareitemlist	["cannonrounds"]=		1 -- lõhkeaine + toru = 8tk

--Pommid
citemlist		["smtimebomb"]=			5
--rareitemlist	["smtimebomb"]=			1
citemlist		["timebomb"]=			3 -- smtimebomb + smtimebomb
--rareitemlist	["timebomb"]=			1 -- smtimebomb + smtimebomb
--rareitemlist	["nailbomb"]=			1 -- timebomb + nailbox

--Medkitid
--citemlist		["cmeat"]=				1
--itemlist		["cmeat"]=				1
--citemlist		["medkit"]=				1
--rareitemlist	["medkit"]=				1
citemlist		["smmedkit"]=			1
rareitemlist	["smmedkit"]=			2

--Ainult kombineerimiseks kasutatavad asjad:
itemlist		["tube"]=				1
rareitemlist	["tube"]=				1
--itemlist		["fattube"]=			1
--rareitemlist	["fattube"]=			1
--itemlist		["emptycan"]=			1
--citemlist		["hardware"]=			1
itemlist		["hardware"]=			1
rareitemlist	["hardware"]=			1
--citemlist		["mchip"]=				1
itemlist		["mchip"]=				1
--rareitemlist	["mchip"]=				1
--itemlist		["metalplate"]=			1
--rareitemlist	["metalplate"]=			1
--itemlist		["motor"]=				1
--rareitemlist	["motor"]=				1
itemlist		["nailbox"]=			3
rareitemlist	["nailbox"]=			1

--Asjad, mida saab kombineerimise teel ja hiljem ka levelitest:
--citemlist		["pumpx2"]=				1 -- pump + pump + hardware
--rareitemlist	["pumpx2"]=				1 -- pump + pump + hardware
--citemlist		["automaathv"]=			1 -- fattube + hardware + automaat
--rareitemlist	["automaathv"]=			1 -- fattube + hardware + automaat
--citemlist		["minigun"]=			1 -- motor + automaat + automaat + automaat + automaat
--rareitemlist	["minigun"]=			1 -- motor + automaat + automaat + automaat + automaat
--citemlist		["lasgun2"]=			1 -- lasgun + mchip
--rareitemlist	["lasgun2"]=			1 -- lasgun + mchip
--citemlist		["pumpexp"]=			1 -- hardware + pump + explauncher
--rareitemlist	["pumpexp"]=			1 -- hardware + pump + explauncher
--citemlist		["tesla"]=				1 -- taser + tube + mchip
--rareitemlist	["tesla"]=				1 -- taser + tube + mchip
--citemlist		["stimulant"]=			1 -- smmedkit + smtimebomb
--rareitemlist	["stimulant"]=			1 -- smmedkit + smtimebomb

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

local modules={
"algus3",
{"l1_2ringi_aed","l1_2ringi_aed_v2"},
{"l1_laoruum","l1_laoruum_v2"},
"l1_p88re2",
{"l2_kanal","l2_kanal_v2"},
"l1_ringhoov_ja_masinaruum",
"l1_must_aine",
"FILLHOLES",
"l1_hoov",
{"l1_ristkyliku_kujuline_aed","l1_ristkyliku_kujuline_aed_v2"},
{"l1_4v2ljap22suga_kelder","l1_4v2ljap22suga_kelder_v2"},
"l1_p88re",
"l1_v2ike_ringaed",
{"l1_tyhi_hoov","l1_tyhi_hoov_v2"},
"l1_konservi_ladu",
"l1_l6pp"
--"l1_metsatee1",
--"l1_metsatee2",
}

local encount={}
encount["zombie"]=			5--3
encount["mutant"]=			51--55--45--50
encount["big_mutant"]=      6
encount["giant_zombie"]=	1
encount["zombie_spawner"]=	0

local storybits={
"Militech Corporation",
"Planet Medusa-1C",
"The Facility AI 1",
"The Teleportation Technologies",
"Secret Walls",
"SHOWEND",
"SHOWBOXES",
"RECIPE:meattrap"
}
local pstart={x=-8.58,y=-8.554} -- {x=-9.658,y=-9.454}
GenerateLevel(modules,itemlist,rareitemlist,citemlist,encount,{"l2_tuppik"},10,pstart,startitems,storybits)
