require( "levels_scripts/tasksconstants.lua" );

local stopkidsjumpingonbed = 100;
local stopkidsdrawingonwall = 100;
local stopkidsfighting = 100;
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;

day =
{
	-- Goals
	goals_easy =
	{		
		"mom",
		"stopfight",
		1,
		1,
		"dad",
		"playwithdog",
		1,
		1,
		"dad",
		"stopkickingcouch",
		1,
		1,
		"mom",
		"sendtobed",
		1,
		1,
		"mom",
		"makethebed",
		4,
		1,
		"mom",
		"makesbarbecue",
		4,
		1,
	},

	goals_medium =
	{
		"mom",
		"stopfight",
		1,
		1,
		"dad",
		"orderstudy",
		1,
		1,
		"mom",
		"sendtobed",
		1,
		1,
	},

	goals_hard =
	{
		"mom",
		"stopfight",
		1,
		1,
		"dad",
		"orderstudy",
		1,
		1,
		"mom",
		"sendtobed",
		1,
		1,
	},

	-- Extra Goals
	extragoals_easy =
	{
	},

	extragoals_medium =
	{
	},

	extragoals_hard =
	{
	},


	-- Scenario initial state
	objects_initial_states_easy =
	{
		"sofapequeno",
		"dirty",
		--[[
		"camapai",
		"dirty",
		"plantabanheiro",
		"dirty",
		"mimos",
		"dirty",
		"guardaroupaspais",
		"dirty",
		"sofapequeno",
		"dirty",
		"plantagrande",
		"dirty",
		"tvquarto",
		"dirty",
		"banheirasuite",
		"dirty",
		"piabanheiro",
		"dirty",
		--]]
		"guardaroupafilho",
		"dirty",
		"piabanheirosuite",
		"dirty",
		"toy1",
		"dirty",
		"toy2",
		"dirty",
		"toy3",
		"dirty",
		"toy4",
		"dirty",
		"toy5",
		"dirty",
		"toy6",
		"dirty",
		"toy7",
		"dirty",
		"toy8",
		"dirty",
		"toy9",
		"dirty",
		"toy10",
		"dirty",
		"toy11",
		"dirty",
		"toy12",
		"dirty",
		"toy13",
		"dirty",
	},

	objects_initial_states_medium =
	{
	},

	objects_initial_states_hard =
	{
	},

	-- joe
	toddler_initial_state = "normal",
	toddler_initial_node = "28",

	toddler_tasks_easy =
	{
		--[[
		gotonodeanddo,
		"19",
		"familytime",
		"0",
		"1",
		--]]
		gotonodeanddo,
		"67",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"67",
		"idle",
		"10",
		"1",
		--[[
		gotonodeanddo,
		"67",
		"idle",
		"10",
		"1",
		
		gotoobjectanddo,
		"asksleep1",
		"asksleep1",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco2",
		"berco2",
		
		gotoobjectanddo,
		"asksleep2",
		"asksleep2",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco2",
		"berco2",
		
		gotoobjectanddo,
		"asksleep3",
		"asksleep3",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco2",
		"berco2",
		
		gotoobjectanddo,
		"asksleep4",
		"asksleep4",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco2",
		"berco2",
		
		gotoobjectanddo,
		"asksleep5",
		"asksleep5",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco2",
		"berco2",
		
		gotoobjectanddo,
		"asksleep6",
		"asksleep6",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco2",
		"berco2",
		
		gotoobjectanddo,
		"asksleep7",
		"asksleep7",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco2",
		"berco2",
		
		gotoobjectanddo,
		"asksleep8",
		"asksleep8",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco2",
		"berco2",
		
		gotoobjectanddo,
		"asksleep9",
		"asksleep9",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco2",
		"berco2",
	
		gotoobjectanddo,
		"diapersquare1",
		"diapersquare1",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"trocador",
		"trocador",
	
		gotoobjectanddo,
		"diapersquare2",
		"diapersquare2",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"trocador",
		"trocador",
		
		gotoobjectanddo,
		"diapersquare3",
		"diapersquare3",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"trocador",
		"trocador",
		
		gotoobjectanddo,
		"diapersquare4",
		"diapersquare4",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"trocador",
		"trocador",
		
		gotoobjectanddo,
		"diapersquare5",
		"diapersquare5",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"trocador",
		"trocador",
		
		gotoobjectanddo,
		"diapersquare6",
		"diapersquare6",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"trocador",
		"trocador",
		
		gotoobjectanddo,
		"diapersquare7",
		"diapersquare7",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"trocador",
		"trocador",
		
		gotoobjectanddo,
		"diapersquare8",
		"diapersquare8",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"trocador",
		"trocador",
		
		gotoobjectanddo,
		"diapersquare9",
		"diapersquare9",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"trocador",
		"trocador",
		
		gotoobjectanddo,
		"fallonfloor1",
		"fallonfloor1",
		"10",
		"1",
		
		gotoobjectanddo,
		"fallonfloor2",
		"fallonfloor2",
		"10",
		"1",
		
		gotoobjectanddo,
		"fallonfloor3",
		"fallonfloor3",
		"10",
		"1",
		
		gotoobjectanddo,
		"fallonfloor4",
		"fallonfloor4",
		"10",
		"1",
		
		gotoobjectanddo,
		"fallonfloor5",
		"fallonfloor5",
		"10",
		"1",
		
		gotoobjectanddo,
		"fallonfloor6",
		"fallonfloor6",
		"10",
		"1",
		
		gotoobjectanddo,
		"fallonfloor7",
		"fallonfloor7",
		"10",
		"1",
		
		gotoobjectanddo,
		"fallonfloor8",
		"fallonfloor8",
		"10",
		"1",
		
		gotoobjectanddo,
		"fallonfloor9",
		"fallonfloor9",
		"10",
		"1",
		
		gotoobjectanddo,
		"mimos",
		"mimos",
		"10",
		"1",
		
		gotoobjectanddo,
		"plantabanheiro",
		"plantabanheiro",
		"10",
		"1",
		
		gotoobjectanddo,
		"plantagrande",
		"plantagrande",
		"10",
		"1",
		
		gotoobjectanddo,
		"vaso",
		"vaso",
		"10",
		"1",
		--]]
	},

	toddler_tasks_medium =
	{
	},

	toddler_tasks_hard =
	{
	},

	-- kate
	schoolaged1_initial_state = "normal",
	schoolaged1_initial_node = "28",

	schoolaged1_tasks_easy =
	{
		--[[
		gotonodeanddo,
		timed,
		1000,
		"19",
		"familytime",
		"10",
		"1",
		
		gotonodeanddo,
		"67",
		"idle",
		"10",
		"1",
		
		gotonodeanddo,
		"67",
		"idle",
		"10",
		"1",
		
		gotonodeanddo,
		"177",
		"fightup1",
		"10",
		"1",
		
		--gotoobjectanddo,
		--"schoolaged1sit",
		--"schoolaged1sit",
		--"10",
		--"1",
		
		gotoobjectanddo,
		disciplineneeded,
		stopkidsjumpingonbed,
		"jumpingsquare",
		"jumpingsquare",
		"10",
		"1",
		
		gotonodeanddo,
		"67",
		"idle",
		"10",
		"1",
		
		gotonodeanddo,
		timed,
		0,
		"153",
		"mesajantar1",
		"10",
		"1",
		linkedto,
		order,
		"schoolaged2",
		gotonodeanddo,
		"147",
		"mesajantar1",
		linkedto,
		order,
		"youngchild",
		gotonodeanddo,
		"156",
		"mesajantar1",
		linkedto,
		order,
		"toddler",
		gotonodeanddo,
		"157",
		"mesajantar1",		
		
		gotonodeanddo,
		timed,
		0,
		"163",
		"mesafora1",
		"10",
		"1",
		linkedto,
		order,
		"schoolaged2",
		gotonodeanddo,
		"161",
		"mesafora1",
		linkedto,
		order,
		"youngchild",
		gotonodeanddo,
		"165",
		"mesafora1",
		linkedto,
		order,
		"toddler",
		gotonodeanddo,
		"200",
		"mesafora1",
		
		gotoobjectanddo,
		"piabanheiro",
		"piabanheiro",	
		"10",
		"1",

		gotoobjectanddo,
		"piabanheirosuite",
		"piabanheirosuite",	
		"10",
		"1",
		
		gotonodeanddo,
		"187",
		"camayoungchild",	
		"10",
		"1",		
		

		gotoobjectanddo,
		"naughtyspot1",
		"naughtyspot1",
		"10",
		"1",
		--]]	
	},

	schoolaged1_tasks_medium =
	{
	},

	schoolaged1_tasks_hard =
	{
	},

	-- lilly
	schoolaged2_initial_state = "normal",
	schoolaged2_initial_node = "28",

	schoolaged2_tasks_easy =
	{	
		--[[
		gotonodeanddo,
		"174",
		"familytime",
		"0",
		"1",
		gotonodeanddo,
		"67",
		"idle",
		"10",
		"1",
		
		gotonodeanddo,
		"67",
		"idle",
		"10",
		"1",
		
		gotoobjectanddo,
		"schoolaged2sit",
		"schoolaged2sit",
		"10",
		"1",
		
		gotonodeanddo,
		"177",
		"fightup1",
		"10",
		"1",
		
		gotonodeanddo,
		"179",
		"fightup2",
		"10",
		"1",
		
		gotonodeanddo,
		"118",
		"fightup3",
		"10",
		"1",
		
		gotonodeanddo,
		"67",
		"idle",
		"10",
		"1",
		
		gotoobjectanddo,
		"naughtyspot1",
		"naughtyspot1",
		"10",
		"1",
		
		gotonodeanddo,
		"177",
		"fightup1",
		"10",
		"1",
		
		gotonodeanddo,
		"179",
		"fightup2",
		"10",
		"1",
		
		gotonodeanddo,
		"118",
		"fightup3",
		"10",
		"1",		
		
		gotoobjectanddo,
		"stereo",
		"stereo",
		"10",
		"1",
		--]]
	},

	schoolaged2_tasks_medium =
	{
	},

	schoolaged2_tasks_hard =
	{
	},

	-- dog1
	pet1_initial_state = "normal",
	pet1_initial_node = "28",

	pet1_tasks_easy =
	{
		gotonodeanddo,
		"96",
		"camapai",
		"10",
		"1",
		--[[
		gotonodeanddo,
		"7",
		"idle",
		"10",
		"1",
		
		gotonodeanddo,
		"96",
		"camapai",
		"10",
		"1",
		
		gotoobjectanddo,
		"dogball1",
		"dogball1",
		"10",
		"1",
		
		gotoobjectanddo,
		"dogball2",
		"dogball2",
		"10",
		"1",
		
		gotoobjectanddo,
		"dogball3",
		"dogball3",
		"10",
		"1",
		--]]
	},

	pet1_tasks_medium =
	{
	},

	pet1_tasks_hard =
	{
	},

	-- dog2
	pet2_initial_state = "normal",
	pet2_initial_node = "28",

	pet2_tasks_easy =
	{
		gotonodeanddo,
		"67",
		"idle",
		"10",
		"1",
		--[[
		gotonodeanddo,
		"96",
		"camapai",
		"10",
		"1",
		
		gotoobjectanddo,
		"playwithdog",
		"playwithdog",
		"10",
		"1",
		
		gotonodeanddo,
		"104",
		"idle",
		"10",
		"1",
		--]]
	},

	pet2_tasks_medium =
	{
	},

	pet2_tasks_hard =
	{
	},

	-- cat
	pet3_initial_state = "normal",
	pet3_initial_node = "28",

	pet3_tasks_easy =
	{
		gotonodeanddo,
		"67",
		"idle",
		"10",
		"1",
		--[[
		gotonodeanddo,
		"96",
		"camapai",
		"10",
		"1",
		
		gotonodeanddo,
		"130",
		"idle",
		"10",
		"1",
		
		gotonodeanddo,
		"209",
		"idle",
		"10",
		"1",
		
		gotoobjectanddo,
		"novelo1",
		"novelo1",
		"10",
		"1",
		
		gotoobjectanddo,
		"novelo2",
		"novelo2",
		"10",
		"1",
		
		gotoobjectanddo,
		"novelo3",
		"novelo3",
		"10",
		"1",
		
		gotonodeanddo,
		"117",
		"idle",
		"10",
		"1",
		--]]
	},

	pet3_tasks_medium =
	{
	},

	pet3_tasks_hard =
	{
	},

	-- cecile
	youngchild_initial_state = "normal",
	youngchild_initial_node = "29",

	youngchild_tasks_easy =
	{
		--[[
		gotonodeanddo,
		"29",
		"familytime",
		"0",
		"1",
		gotonodeanddo,
		"67",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"67",
		"idle",
		"10",
		"1",
		
		gotonodeanddo,
		"177",
		"fightup1",
		"10",
		"1",
		
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare",
		"drawingsquare",
		"10",
		"1",
		
		gotonodeanddo,
		"67",
		"idle",
		"10",
		"1",

		gotoobjectanddo,
		"brinquedos",
		"brinquedos",	
		"10",
		"1",
		
		gotoobjectanddo,
		"brinquedos2",
		"brinquedos2",	
		"10",
		"1",
		
		gotoobjectanddo,
		"guardaroupafilho",
		"guardaroupafilho",
		"10",
		"1",		
		
		gotoobjectanddo,
		"guardaroupaspais",
		"guardaroupaspais",
		"10",
		"1",	
		
		gotoobjectanddo,
		"desenhobanheiro",
		"desenhobanheiro",
		"10",
		"1",
		
		gotoobjectanddo,
		"desenhocozinha2",
		"desenhocozinha2",
		"10",
		"1",
		
		gotoobjectanddo,
		"desenhocozinha3",
		"desenhocozinha3",
		"10",
		"1",
		
		gotoobjectanddo,
		"desenhocozinha4",
		"desenhocozinha4",
		"10",
		"1",
		
		gotoobjectanddo,
		"tv",
		"tv",
		"10",
		"1",
		
		gotoobjectanddo,
		"tvquarto",
		"tvquarto",
		"10",
		"1",
		--]]	
		gotoobjectanddo,
		"drawingsquare",
		"drawingsquare",
		"10",
		"1",
		linkedto,
		gotoobjectanddo,
		"drawingsquare2",
		"drawingsquare2",
		linkedto,
		gotoobjectanddo,
		"drawingsquare3",
		"drawingsquare3",
		linkedto,
		gotoobjectanddo,
		"drawingsquare4",
		"drawingsquare4",		
	},

	youngchild_tasks_medium =
	{
	},

	youngchild_tasks_hard =
	{
	},

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

	dad_idle_tasks_easy =
	{
		--[[
		"daddusting",
		"good",
		"gotoanddo",
		"daddusting",
		startdusting,
		
		"dadeatingchicken",
		"bad",
		"gotoanddo",
		"dadeatingchicken",
		stopeating,
		
		"dadlawningidle",
		"good",
		"gotoanddo",
		"dadlawning",
		stoplawning,
		
		"dadbasketballidle",
		"bad",
		"gotoanddo",
		"dadbasketball",
		stopbasketball,
		
		"dadsleepingidle",
		"bad",
		"gotoanddo",
		"dadsleeping",
		stopsleeping,
		
		"dadsweepingidle",
		"good",
		"gotoanddo",
		"dadsweeping",
		startsweeping,
		--]]		
		"dadswearwatchingtv",
		"bad",
		"gotoanddo",
		"dadswearwatchingtv",
		50,
		--[[
		"dadsqueegee",
		"good",
		"gotoanddo",
		"dadsqueegee",
		60,
		--]]
		"dadironing",
		"good",
		"gotoanddo",
		"dadironing",
		60,
		--[[
		"dadvacuuming",
		"good",
		"gotoanddo",
		"dadvacuuming",
		60,
		--]]
	},

	dad_idle_tasks_medium =
	{
	},

	dad_idle_tasks_hard =
	{
	},

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

	mom_idle_tasks_easy =
	{
		
		"momyellingoncel",
		"bad",
		"gotoanddo",
		"momyellingoncel",
		stopyellingoncel,
		--[[
		"momcutting",
		"good",
		"gotoanddo",
		"momcutting",
		startcutting,
		
		"momeatingicecream",
		"bad",
		"gotoanddo",
		"momeatingicecream",
		stopeating,
		
		"momwatering",
		"good",
		"gotoanddo",
		"momwatering",
		stopwatering,
		
		"momsleepingidle",
		"bad",
		"gotoanddo",
		"momsleeping",
		stopsleeping,

		"momsweepingidle",
		"good",
		"gotoanddo",
		"momsweeping",
		startsweeping,
					
		"momkickingcouch",
		"bad",
		"gotoanddo",
		"momkickingcouch",
		50,
		
		"momdrinkingboxmilk",
		"bad",
		"gotoanddo",
		"momdrinkingboxmilk",
		50,
		--]]
		"momsqueegee",
		"good",
		"gotoanddo",
		"momsqueegee",
		60,
		--[[
		"momvacuuming",
		"good",
		"gotoanddo",
		"momvacuuming",
		60,
		
		"momironing",
		"good",
		"gotoanddo",
		"momironing",
		60,
		--]]
	},

	mom_idle_tasks_medium =
	{
	},

	mom_idle_tasks_hard =
	{
	},

	perfect_time_easy = 10,
	perfect_time_medium = 10,
	perfect_time_hard = 10,
	good_time_easy = 20,
	good_time_medium = 20,
	good_time_hard = 20,
	feedback_positive_easy = 70,
	feedback_positive_medium = 10,
	feedback_positive_hard = 10,
	feedback_negative_easy = 70,
	feedback_negative_medium = 10,
	feedback_negative_hard = 10,
}
