dofile("script/layouts/room4_defaults.lua")
dofile("script/shifts/shift4_1_animations.lua")

levelDesc.name = "Shift 4.1"
levelDesc.levelId = 41
levelDesc.musicMood = "4"
levelDesc.trigger =
{
	class = "TriggerSystem",
	triggers =
	{
		{ trigger = "spawn", delay=1000, hearts=3, diseaseDesc = { class="Disease", steps={"MIRROR", "LASER", } } },
		{ trigger = "spawn", delay=8000, hearts=2, diseaseDesc = { class="Disease", steps={"MIRROR", "CREAM", } } },
		{ trigger = "spawn", delay=13000, hearts=2, diseaseDesc = { class="Disease", steps={"WAX", "LASER", } } },
		{ trigger = "startEvent", delay=2000 },
		{ trigger = "spawn", delay=13000, hearts=1, diseaseDesc = { class="Disease", steps={"MIRROR", "CREAM", "NITROGEN" } } },
		{ trigger = "spawn", delay=15000, hearts=3, diseaseDesc = { class="Disease", steps={"MIRROR", "LASER", } } },
		{ trigger = "spawn", delay=8000, hearts=2, diseaseDesc = { class="Disease", steps={"WAX", "NITROGEN", } } },
		{ trigger = "spawn", delay=5000, hearts=2, diseaseDesc = { class="Disease", steps={"MIRROR", "WAX", } } },
		{ trigger = "spawn", delay=5000, hearts=2, diseaseDesc = { class="Disease", steps={"MIRROR", "LASER", } } },
		{ trigger = "spawn", delay=20000, hearts=1, diseaseDesc = { class="Disease", steps={"MIRROR", "CREAM", "NITROGEN" } } },
		{ trigger = "spawn", delay=1000, hearts=1, diseaseDesc = { class="Disease", steps={"MIRROR", "CREAM", "NITROGEN" } } },
		{ trigger = "spawn", delay=25000, hearts=2, diseaseDesc = { class="Disease", steps={"MIRROR", "WAX", } } },
		{ trigger = "spawn", delay=5000, hearts=3, diseaseDesc = { class="Disease", steps={"MIRROR", "LASER", } } },
		{ trigger = "spawn", delay=20000, hearts=2, diseaseDesc = { class="Disease", steps={"WAX", "NITROGEN", } } },
		{ trigger = "spawn", delay=1000, hearts=3, diseaseDesc = { class="Disease", steps={ "MIRROR", "CREAM" } } },
		{ trigger = "spawn", delay=15000, hearts=3, diseaseDesc = { class="Disease", steps={"NITROGEN" } } },
		{ trigger = "spawn", delay=5000, hearts=2, diseaseDesc = { class="Disease", steps={"CREAM", "LASER" } } },
	}
}
levelDesc.patientList =
{
	p0 = { weight = 500,
		base = "axel",
	},
	p1 = { weight = 500,
		base = "lady",
	},
	p2 = { weight = 500,
		base = "teen",
	},
	p4 = { weight = 500,
		base = "mother",
	},
}
levelDesc.eventDesc =
{
	class="QuestionsEvent",
	eventBarImage = "EVENTBAR_ICON_QUESTIONS:icons",
	roomID=4,
	actorPos = {x=100,y=440},
	numQuestions=4,
	questionScore = 2,
	alwaysCorrect=true,
	endTextId="TEXT_R4_SH1_15",
	nextQuestionTimer = 22000,
}

function levelDesc:onShiftStartEnd()
	level.event.setActor(level.event, level:getObject("EVENT_QUESTIONS"))
end

