--LEVEL2 Military biology sector
local startitems={
"pump","ppammo",--20 pakkis
"nailgun","nailammo",
"pystol","pyammo","pyammo",
"cangun","meattrap",
"nailbomb","timebomb","smtimebomb",
"medkit",
}

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"]=				4 -- 15 pakkis
--rareitemlist	["pyammo"]=				1 -- 15 pakkis
 citemlist		["ppammo"]=				3 -- 10 pakkis
--itemlist		["ppammo"]=				1 -- 10 pakkis
--rareitemlist	["ppammo"]=				1 -- 10 pakkis
 citemlist		["revolverammo"]=		3 -- 12 pakkis
--rareitemlist	["revolverammo"]=		1 -- 12 pakkis
--citemlist		["auammo"]=				1 -- 30 pakkis
 rareitemlist	["auammo"]=				2 -- 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"]=			3 -- 10 pakkis
--rareitemlist	["pexpammo"]=			1 -- 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"]=			2 -- smtimebomb + smtimebomb
--rareitemlist	["nailbomb"]=			1 -- timebomb + nailbox

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

--Ainult kombineerimiseks kasutatavad asjad:
 itemlist		["tube"]=				1
 rareitemlist	["tube"]=				1
--itemlist		["fattube"]=			1
 rareitemlist	["fattube"]=			1
 itemlist		["emptycan"]=			2
--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"]=			4
--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={
	"l2_algus",
	{"l2_haruk2ik","l2_haruk2ik_v2"},
	"l2_lyliti",
	{"l2_k6rvaline_koht","l2_k6rvaline_koht_v2"},
	{"l2_suur_kanal","l2_suur_kanal_v2"},
 	"l2_varing",
	{"l2_p88re2","l2_p88re2_v2"},
	{"l2_p88re","l2_p88re_v2"},
	"l2_v2ike_katlaruum",
	"l2_l6pp"	
}

local encount={}
encount["zombie"]=			35--30
encount["mutant"]=			84--80--80
encount["big_mutant"]=      10
encount["giant_zombie"]=	3
encount["zombie_spawner"]=	3

local storybits={
"The Teleglitch 1",
"The Teleglitch 2",
"The Teleglitch 3",
"The Teleglitch 4",
"The Facility AI 2",
"Military biology ethics",
"Poison Gardens: Note to anybody who is interested",
"Main Cloning Vats",
"SHOWEND",
"RECIPE:teleport",
"RECIPE:nailgun",
"SHOWBOXES"
}

local pstart={x=2.98,y=-8.1}
GenerateLevel(modules,itemlist,rareitemlist,citemlist,encount,{"l2_tuppik"},10,pstart,startitems,storybits)
