require( "levels_scripts/tasksconstants.lua" );

local stopkidsjumpingonbed = 99;
local stopkidsdrawingonwall = 99;
local stopkidsfighting = 99;
local stopsleeping = 99;
local stopeating = 99;
local stopbasketball = 99;
local stopyellingoncel = 99;
local startsweeping = 60;
local startlawning = 60;
local startdusting = 60;
local startcutting = 60;
local startwatering = 60;
local stopkickingcouch = 99;
local stopswearwatchingtv = 99;
local stopdrinkingmilkbox = 99;
local startironing = 60;
local startvacuuming = 60;
local startsqueeging = 60;

day =
{
	-- Goals
	goals_easy =
	{
		"dad",
		"changediaper",
		1,
		2,
		"mom",
		"stopsleeping",
		2,
		stopsleeping,
		"kids",
		"studytime",
		4,
		1,
		"dad",
		"makethebed",
		4,
		1,
		"mom",
		"sendtobed",
		1,
		2,
		"dad",
		"pickuptoys",
		1,
		4,
		"mom",
		"disciplinesnoyelling",
		1,
		2,
	},

	goals_medium =
	{
		"dad",
		"changediaper",
		1,
		2,
		"mom",
		"stopsleeping",
		2,
		stopsleeping,
		"kids",
		"studytime",
		4,
		1,
		"dad",
		"makethebed",
		4,
		1,
		"mom",
		"sendtobed",
		1,
		2,
		"dad",
		"pickuptoys",
		1,
		4,
		"mom",
		"disciplinesnoyelling",
		1,
		2,
	},

	goals_hard =
	{
		"dad",
		"changediaper",
		1,
		2,
		"mom",
		"stopsleeping",
		2,
		stopsleeping,
		"kids",
		"studytime",
		4,
		1,
		"dad",
		"makethebed",
		4,
		1,
		"mom",
		"sendtobed",
		1,
		2,
		"dad",
		"pickuptoys",
		1,
		4,
		"mom",
		"disciplinesnoyelling",
		1,
		2,
	},

	-- Extra Goals
	extragoals_easy =
	{
		"dad",
		"messes",
		3,
		4,
		"mom",
		"messes",
		3,
		4,
	},

	extragoals_medium =
	{
		"dad",
		"messes",
		3,
		4,
		"mom",
		"messes",
		3,
		4,
	},

	extragoals_hard =
	{
		"dad",
		"messes",
		3,
		4,
		"mom",
		"messes",
		3,
		4,
	},


	-- Scenario initial state
	objects_initial_states_easy =
	{
		"brinquedos",
		"clean",
		"guardaroupaspequeno",
		"clean",
		"vaso",
		"clean",
		"banheira",
		"clean",
		"banheirasuite",
		"clean",
		"camacrianca",
		"clean",
		"camapai",
		"dirty",
		"guardaroupafilho",
		"clean",
		"guardaroupaspais",
		"clean",
		"guardaroupaspequeno",
		"clean",
		"piabanheiro",
		"clean",
		"piabanheirosuite",
		"dirty",
		"plantabanheiro",
		"dirty",
		"sofa",
		"dirty",
		"sofapequeno",
		"clean",
		"tv",
		"dirty",
		"toy6",
		"dirty",
		"toy1",
		"dirty",
		"toy2",
		"dirty",
		"toy4",
		"dirty",
		"toy5",
		"dirty",
		"toy7",
		"dirty",
		"toy8",
		"dirty",
	},

	toys_on_the_floor_easy = 7,

	objects_initial_states_medium =
	{
		"brinquedos",
		"clean",
		"guardaroupaspequeno",
		"clean",
		"vaso",
		"clean",
		"banheira",
		"clean",
		"banheirasuite",
		"clean",
		"camacrianca",
		"clean",
		"camapai",
		"dirty",
		"guardaroupafilho",
		"clean",
		"guardaroupaspais",
		"clean",
		"guardaroupaspequeno",
		"clean",
		"piabanheiro",
		"clean",
		"piabanheirosuite",
		"dirty",
		"plantabanheiro",
		"dirty",
		"sofa",
		"dirty",
		"sofapequeno",
		"clean",
		"tv",
		"dirty",
		"toy6",
		"dirty",
		"toy1",
		"dirty",
		"toy2",
		"dirty",
		"toy4",
		"dirty",
		"toy5",
		"dirty",
		"toy7",
		"dirty",
		"toy8",
		"dirty",
	},

	toys_on_the_floor_medium = 7,

	objects_initial_states_hard =
	{
		"brinquedos",
		"clean",
		"guardaroupaspequeno",
		"clean",
		"vaso",
		"clean",
		"banheira",
		"clean",
		"banheirasuite",
		"clean",
		"camacrianca",
		"clean",
		"camapai",
		"dirty",
		"guardaroupafilho",
		"clean",
		"guardaroupaspais",
		"clean",
		"guardaroupaspequeno",
		"clean",
		"piabanheiro",
		"clean",
		"piabanheirosuite",
		"dirty",
		"plantabanheiro",
		"dirty",
		"sofa",
		"dirty",
		"sofapequeno",
		"clean",
		"tv",
		"dirty",
		"toy6",
		"dirty",
		"toy1",
		"dirty",
		"toy2",
		"dirty",
		"toy4",
		"dirty",
		"toy5",
		"dirty",
		"toy7",
		"dirty",
		"toy8",
		"dirty",
	},

	toys_on_the_floor_hard = 7,

	-- phil
	toddler1_initial_state = "normal",
	toddler1_initial_node = "28",

	toddler1_tasks_tutorial =
	{
	},

	toddler1_tasks_easy =
	{
		gotoobjectanddo,
		"asksleep1",
		"asksleep1",
		"1",
		"1",
		gotoobjectanddo,
		"plantagrande",
		"plantagrande",
		"10",
		"1",
		gotoobjectanddo,
		"vaso",
		"vaso",
		"10",
		"1",
		gotoobjectanddo,
		"asksleep4",
		"asksleep4",
		"1",
		"1",
		gotoobjectanddo,
		timed,
		0000,
		"diapersquare8",
		"diapersquare8",
		"10",
		"1",
		gotoobjectanddo,
		timed,
		20000,
		"diapersquare5",
		"diapersquare5",
		"10",
		"1",
		gotoobjectanddo,
		"plantabanheiro",
		"plantabanheiro",
		"10",
		"1",
		gotoobjectanddo,
		"asksleep1",
		"asksleep1",
		"1",
		"1",
		gotoobjectanddo,
		"asksleep3",
		"asksleep3",
		"1",
		"1",
		gotonodeanddo,
		"33",
		"idle",
		"1",
		"1",
		gotonodeanddo,
		"56",
		"idle",
		"1",
		"1",
	},

	toddler1_tasks_medium =
	{
		gotoobjectanddo,
		"asksleep1",
		"asksleep1",
		"1",
		"1",
		gotoobjectanddo,
		"plantagrande",
		"plantagrande",
		"10",
		"1",
		gotoobjectanddo,
		"vaso",
		"vaso",
		"10",
		"1",
		gotoobjectanddo,
		"asksleep4",
		"asksleep4",
		"1",
		"1",
		gotoobjectanddo,
		timed,
		0000,
		"diapersquare8",
		"diapersquare8",
		"10",
		"1",
		gotoobjectanddo,
		timed,
		20000,
		"diapersquare5",
		"diapersquare5",
		"10",
		"1",
		gotoobjectanddo,
		"plantabanheiro",
		"plantabanheiro",
		"10",
		"1",
		gotoobjectanddo,
		"asksleep1",
		"asksleep1",
		"1",
		"1",
		gotoobjectanddo,
		"asksleep3",
		"asksleep3",
		"1",
		"1",
		gotonodeanddo,
		"33",
		"idle",
		"1",
		"1",
		gotonodeanddo,
		"56",
		"idle",
		"1",
		"1",
	},

	toddler1_tasks_hard =
	{
		gotoobjectanddo,
		"asksleep1",
		"asksleep1",
		"1",
		"1",
		gotoobjectanddo,
		"plantagrande",
		"plantagrande",
		"10",
		"1",
		gotoobjectanddo,
		"vaso",
		"vaso",
		"10",
		"1",
		gotoobjectanddo,
		"asksleep4",
		"asksleep4",
		"1",
		"1",
		gotoobjectanddo,
		timed,
		0000,
		"diapersquare8",
		"diapersquare8",
		"10",
		"1",
		gotoobjectanddo,
		timed,
		20000,
		"diapersquare5",
		"diapersquare5",
		"10",
		"1",
		gotoobjectanddo,
		"plantabanheiro",
		"plantabanheiro",
		"10",
		"1",
		gotoobjectanddo,
		"asksleep1",
		"asksleep1",
		"1",
		"1",
		gotoobjectanddo,
		"asksleep3",
		"asksleep3",
		"1",
		"1",
		gotonodeanddo,
		"33",
		"idle",
		"1",
		"1",
		gotonodeanddo,
		"56",
		"idle",
		"1",
		"1",
	},

	-- lisa
	toddler2_initial_state = "normal",
	toddler2_initial_node = "29",

	toddler2_tasks_tutorial =
	{
	},

	toddler2_tasks_easy =
	{
		gotoobjectanddo,
		"guardaroupaspequeno",
		"guardaroupaspequeno",
		"10",
		"1",
		gotoobjectanddo,
		"plantagrande",
		"plantagrande",
		"10",
		"1",
		gotoobjectanddo,
		"vaso",
		"vaso",
		"10",
		"1",
		gotoobjectanddo,
		"diapersquare1",
		"diapersquare1",
		"1",
		"1",
		gotoobjectanddo,
		"fallonfloor3",
		"fallonfloor3",
		"1",
		"1",
		gotoobjectanddo,
		"fallonfloor6",
		"fallonfloor6",
		"1",
		"1",
		gotoobjectanddo,
		"plantabanheiro",
		"plantabanheiro",
		"10",
		"1",
		gotoobjectanddo,
		timed,
		0000,
		"asksleep4",
		"asksleep4",
		"10",
		"1",
		gotoobjectanddo,
		timed,
		20000,
		"asksleep9",
		"asksleep9",
		"10",
		"1",
		gotonodeanddo,
		"22",
		"idle",
		"1",
		"1",
		gotonodeanddo,
		"4",
		"idle",
		"1",
		"1",
	},

	toddler2_tasks_medium =
	{
		gotoobjectanddo,
		"guardaroupaspequeno",
		"guardaroupaspequeno",
		"10",
		"1",
		gotoobjectanddo,
		"plantagrande",
		"plantagrande",
		"10",
		"1",
		gotoobjectanddo,
		"vaso",
		"vaso",
		"10",
		"1",
		gotoobjectanddo,
		"diapersquare1",
		"diapersquare1",
		"1",
		"1",
		gotoobjectanddo,
		"fallonfloor3",
		"fallonfloor3",
		"1",
		"1",
		gotoobjectanddo,
		"fallonfloor6",
		"fallonfloor6",
		"1",
		"1",
		gotoobjectanddo,
		"plantabanheiro",
		"plantabanheiro",
		"10",
		"1",
		gotoobjectanddo,
		timed,
		0000,
		"asksleep4",
		"asksleep4",
		"10",
		"1",
		gotoobjectanddo,
		timed,
		20000,
		"asksleep9",
		"asksleep9",
		"10",
		"1",
		gotonodeanddo,
		"22",
		"idle",
		"1",
		"1",
		gotonodeanddo,
		"4",
		"idle",
		"1",
		"1",
	},

	toddler2_tasks_hard =
	{
		gotoobjectanddo,
		"guardaroupaspequeno",
		"guardaroupaspequeno",
		"10",
		"1",
		gotoobjectanddo,
		"plantagrande",
		"plantagrande",
		"10",
		"1",
		gotoobjectanddo,
		"vaso",
		"vaso",
		"10",
		"1",
		gotoobjectanddo,
		"diapersquare1",
		"diapersquare1",
		"1",
		"1",
		gotoobjectanddo,
		"fallonfloor3",
		"fallonfloor3",
		"1",
		"1",
		gotoobjectanddo,
		"fallonfloor6",
		"fallonfloor6",
		"1",
		"1",
		gotoobjectanddo,
		"plantabanheiro",
		"plantabanheiro",
		"10",
		"1",
		gotoobjectanddo,
		timed,
		0000,
		"asksleep4",
		"asksleep4",
		"10",
		"1",
		gotoobjectanddo,
		timed,
		20000,
		"asksleep9",
		"asksleep9",
		"10",
		"1",
		gotonodeanddo,
		"22",
		"idle",
		"1",
		"1",
		gotonodeanddo,
		"4",
		"idle",
		"1",
		"1",
	},

	-- buck
	schoolaged_initial_state = "normal",
	schoolaged_initial_node = "29",

	schoolaged_tasks_tutorial =
	{
	},

	schoolaged_tasks_easy =
	{
		gotoobjectanddo,
		disciplineneeded,
		stopkidsjumpingonbed,
		timed,
		0000,
		"jumpingsquare",
		"jumpingsquare",
		"10",
		"1",
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		timed,
		20000,
		"41",
		"fightup1",
		"10",
		"1",
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		timed,
		40000,
		"134",
		"fightup3",
		"10",
		"1",
		gotoobjectanddo,
		"tv",
		"tv",
		"5",
		"1",
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		"41",
		"fightup1",
		"20",
		"3",
		gotonodeanddo,
		"20",
		"idle",
		"1",
		"1",
		gotonodeanddo,
		"10",
		"idle",
		"1",
		"1",
		gotonodeanddo,
		"18",
		"idle",
		"1",
		"1",
		gotoobjectanddo,
		timed,
		60000,
		"schoolagedsit",
		"schoolagedsit",
		"5",
		"1",
		linkedto,
		gotoobjectanddo,
		"escrivaninha",
		"escrivaninha",
	},

	schoolaged_tasks_medium =
	{
		gotoobjectanddo,
		disciplineneeded,
		stopkidsjumpingonbed,
		timed,
		0000,
		"jumpingsquare",
		"jumpingsquare",
		"10",
		"1",
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		timed,
		20000,
		"41",
		"fightup1",
		"10",
		"1",
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		timed,
		40000,
		"134",
		"fightup3",
		"10",
		"1",
		gotoobjectanddo,
		"tv",
		"tv",
		"5",
		"1",
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		"41",
		"fightup1",
		"20",
		"3",
		gotonodeanddo,
		"20",
		"idle",
		"1",
		"1",
		gotonodeanddo,
		"10",
		"idle",
		"1",
		"1",
		gotonodeanddo,
		"18",
		"idle",
		"1",
		"1",
		gotoobjectanddo,
		timed,
		60000,
		"schoolagedsit",
		"schoolagedsit",
		"5",
		"1",
		linkedto,
		gotoobjectanddo,
		"escrivaninha",
		"escrivaninha",
	},

	schoolaged_tasks_hard =
	{
		gotoobjectanddo,
		disciplineneeded,
		stopkidsjumpingonbed,
		timed,
		0000,
		"jumpingsquare",
		"jumpingsquare",
		"10",
		"1",
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		timed,
		20000,
		"41",
		"fightup1",
		"10",
		"1",
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		timed,
		40000,
		"134",
		"fightup3",
		"10",
		"1",
		gotoobjectanddo,
		"tv",
		"tv",
		"5",
		"1",
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		"41",
		"fightup1",
		"20",
		"3",
		gotonodeanddo,
		"20",
		"idle",
		"1",
		"1",
		gotonodeanddo,
		"10",
		"idle",
		"1",
		"1",
		gotonodeanddo,
		"18",
		"idle",
		"1",
		"1",
		gotoobjectanddo,
		timed,
		60000,
		"schoolagedsit",
		"schoolagedsit",
		"5",
		"1",
		linkedto,
		gotoobjectanddo,
		"escrivaninha",
		"escrivaninha",
	},

	-- bob
	dad_initial_state = "normal",
	dad_initial_node = "11",
	dad_idle_time = 3500,

	dad_idle_tasks_tutorial =
	{
	},

	dad_idle_tasks_easy =
	{
		"dadsleepingidle",
		"bad",
		"gotoanddo",
		"dadsleeping",
		stopsleeping,

		"dadvacuuming",
		"good",
		"gotoanddo",
		"dadvacuuming",
		startvacuuming,

		"dadlawningidle",
		"good",
		"gotoanddo",
		"dadlawning",
		startlawning,

		"dadironing",
		"good",
		"gotoanddo",
		"dadironing",
		startironing,

	},

	dad_idle_tasks_medium =
	{
		"dadsleepingidle",
		"bad",
		"gotoanddo",
		"dadsleeping",
		stopsleeping,

		"dadvacuuming",
		"good",
		"gotoanddo",
		"dadvacuuming",
		startvacuuming,

		"dadlawningidle",
		"good",
		"gotoanddo",
		"dadlawning",
		startlawning,

		"dadironing",
		"good",
		"gotoanddo",
		"dadironing",
		startironing,

	},

	dad_idle_tasks_hard =
	{
		"dadsleepingidle",
		"bad",
		"gotoanddo",
		"dadsleeping",
		stopsleeping,

		"dadvacuuming",
		"good",
		"gotoanddo",
		"dadvacuuming",
		startvacuuming,

		"dadlawningidle",
		"good",
		"gotoanddo",
		"dadlawning",
		startlawning,

		"dadironing",
		"good",
		"gotoanddo",
		"dadironing",
		startironing,

	},

	-- elane
	mom_initial_state = "normal",
	mom_initial_node = "81",
	mom_idle_time = 4200,

	mom_idle_tasks_tutorial =
	{
	},

	mom_idle_tasks_easy =
	{
		"momsleepingidle",
		"bad",
		"gotoanddo",
		"momsleeping",
		stopsleeping,

	},

	mom_idle_tasks_medium =
	{
		"momsleepingidle",
		"bad",
		"gotoanddo",
		"momsleeping",
		stopsleeping,

	},

	mom_idle_tasks_hard =
	{
		"momsleepingidle",
		"bad",
		"gotoanddo",
		"momsleeping",
		stopsleeping,

	},

	perfect_time_easy = 180,
	perfect_time_medium = 160,
	perfect_time_hard = 140,
	good_time_easy = 210,
	good_time_medium = 190,
	good_time_hard = 180,
	feedback_positive_easy = 25,
	feedback_positive_medium = 25,
	feedback_positive_hard = 25,
	feedback_negative_easy = 25,
	feedback_negative_medium = 25,
	feedback_negative_hard = 25,
}
