dofile("script/layouts/room1_defaults.lua")
dofile("script/shifts/shift1_4_animations.lua")

levelDesc.name = "Shift 1.4"
levelDesc.levelId = 14
levelDesc.musicMood = "4"
levelDesc.trigger =
{
	class = "TriggerSystem",
	triggers =
	{
		{ trigger = "spawn", delay=1000, hearts=1, diseaseDesc = { class="Disease", steps={"DRESSING_ROOM", "FIND_SORE_SPOT", "MEASURE_BLOOD_PRESSURE"} } },
		{ trigger = "spawn", delay=20000, hearts=2, diseaseDesc = { class="Disease", steps={"DRESSING_ROOM", "STETHOSCOPE", } } },
		{ trigger = "spawn", delay=1000, hearts=1, diseaseDesc = { class="Disease", steps={"FIND_SORE_SPOT", "PUT_ON_BANDAID", } } },
		{ trigger = "spawn", delay=20000, hearts=2, diseaseDesc = { class="Disease", steps={"DRESSING_ROOM", "STETHOSCOPE"} } },
		{ trigger = "spawn", delay=8000, hearts=2, diseaseDesc = { class="Disease", steps={"STETHOSCOPE", "CHECK_UP"} } },
		{ trigger = "spawn", delay=3000, hearts=2, diseaseDesc = { class="Disease", steps={"PUT_ON_BANDAID"} } },
		{ trigger = "spawn", delay=25000, hearts=3, diseaseDesc = { class="Disease", steps={"FIND_SORE_SPOT"} } },
		{ trigger = "spawn", delay=18000, hearts=1, diseaseDesc = { class="Disease", steps={"DRESSING_ROOM", "STETHOSCOPE"} } },
		{ trigger = "spawn", delay=3000, hearts=1, diseaseDesc = { class="Disease", steps={"FIND_SORE_SPOT", "MEASURE_BLOOD_PRESSURE"} } },
		{ trigger = "spawn", delay=12000, hearts=3, diseaseDesc = { class="Disease", steps={"CHECK_UP"} } },
		{ trigger = "spawn", delay=25000, hearts=2, diseaseDesc = { class="Disease", steps={"DRESSING_ROOM", "FIND_SORE_SPOT"} } },
		{ trigger = "spawn", delay=8000, hearts=2, diseaseDesc = { class="Disease", steps={"STETHOSCOPE", "PUT_ON_BANDAID"} } },
		{ trigger = "spawn", delay=3000, hearts=3, diseaseDesc = { class="Disease", steps={"MEASURE_BLOOD_PRESSURE"} } },
	}
}
levelDesc.patientList =
{
	p0 = { weight = 50,
		base = "axel",
	},
	p1 = { weight = 50,
		base = "boy",
	},
	p2 = { weight = 50,
		base = "mother",
	},
	p3 = { weight = 25,
		base = "teen",
	},
	p4 = { weight = 25,
		base = "gran",
	},
}

levelDesc.eventDesc =
{
	class="FixEvent",
	eventBarText = "TEXT_EVENT_FIX1",
	eventBarImage = "EVENTBAR_ICON_R1_S4:icons",
	items = {
		{ obj="paper_stack_disordered", activate="paper_stack" },
	},
	scoreAllDone = 10,
}

function levelDesc:onShiftStartEnd()
	self:fireTrigger("startEvent")
end