require( "levels_scripts/tasksconstants.lua" );

local stopkidsjumpingonbed = 100;
local stopkidsdrawingonwall = 99;
local stopkidsfighting = 100;
local stopsleeping = 50;
local stopeating = 99;
local stopbasketball = 99;
local stopyellingoncel = 99;
local startsweeping = 55;
local startlawning = 60;
local startdusting = 60;
local startcutting = 60;
local startwatering = 60;

day = 
{
	-- Team work bonus
	goals_easy =
	{
		"dad",
		"settheoutsidetable",
		1,
		1,
		"mom",
		"dothedishes",
		1,
		1,
	},
	
	goals_medium =
	{
	
	},
	
	goals_hard =
	{
	
	},
	
	-- scenario initial state
	objects_initial_states_easy =
	{
		"plantabanheiro",
		"dirty",
		"sofa",
		"dirty",
		--[[
		"camapai",
		"dirty",
		--]]
		"vaso",
		"dirty",
		"banheira",
		"dirty",
		"piabanheiro",
		"dirty",
		"vasocorredor2",
		"dirty",
		"guardaroupasmimos",
		"dirty",
		"desenhoquarto",
		"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",
		"desenhocorredor",
		"dirty",
		"stereo",
		"dirty"
	},
	
	objects_initial_states_medium =
	{
	
	},
	
	objects_initial_states_hard =
	{
	
	},
	
	-- joshua
	dad_initial_state = "normal",
	dad_initial_node = "25",
	
	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",
		0,
		
	},

	dad_idle_tasks_medium =
	{
	},

	dad_idle_tasks_hard =
	{
	},
	
	-- cindy
	mom_initial_state = "normal",
	mom_initial_node = "45",
	
	mom_idle_tasks_easy =
	{
		"momsleepingidle",
		"bad",
		"gotoanddo",
		"momsleeping",
		stopsleeping,
		--[[
		"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 =
	{
	},
	
	-- louise
	schoolaged_initial_state = "normal",
	schoolaged_initial_node = "3",
	schoolaged_tasks_easy =
	{
		gotoobjectanddo,
		disciplineneeded,
		stopkidsjumpingonbed,
		"jumpingsquare",
		"jumpingsquare",
		"10",
		"1",
		--[[
		gotoobjectanddo,
		"naughtyspot1",
		"naughtyspot1",
		"10",
		"1",		
		
		gotonodeanddo,
		"34",
		"idle",
		"10",
		"1",
		
		gotonodeanddo,
		timed,
		0,
		"119",
		"mesajantar1",
		"10",
		"1",
		linkedto,
		order,
		"youngchild1",
		gotonodeanddo,
		"118",
		"mesajantar1",
		linkedto,
		order,
		"youngchild2",
		gotonodeanddo,
		"124",
		"mesajantar1",
		linkedto,
		order,
		"toddler",
		gotonodeanddo,
		"123",
		"mesajantar1",
		gotonodeanddo,
		"32",
		"idle",
		"10",
		"1",
		
		gotonodeanddo,
		timed,
		0,
		"132",
		"mesafora1",
		"10",
		"1",
		linkedto,
		order,
		"youngchild1",
		gotonodeanddo,
		"130",
		"mesafora1",
		linkedto,
		order,
		"youngchild2",
		gotonodeanddo,
		"131",
		"mesafora1",
		linkedto,
		order,
		"toddler",
		gotonodeanddo,
		"163",
		"mesafora1",
		gotonodeanddo,
		"32",
		"idle",
		"10",
		"1",
		---]]
		--[[
		gotonodeanddo,
		timed,
		30000,
		"19",
		"familytime",
		"10",
		"1",		
		
		gotonodeanddo,
		"48",
		"camacrianca",
		"10",
		"1",
		
		gotoobjectanddo,
		"stereo",
		"stereo",
		"10000",
		"1",
		
		gotoobjectanddo,
		"naughtyspot1",
		"naughtyspot1",
		"10",
		"1",
		linkedto,
		gotoobjectanddo,
		"cadeiracastigo",
		"cadeiracastigo",
		
		gotoobjectanddo,
		"piabanheiro",
		"piabanheiro",
		"10",
		"1",		
		
		gotoobjectanddo,
		"schoolagedsit",
		"schoolagedsit",
		"10",
		"1",
		linkedto,
		gotoobjectanddo,
		"escrivaninha",
		"escrivaninha",
		--]]
	},
	
	schoolaged_tasks_medium =
	{
	
	},
	
	schoolaged_tasks_hard =
	{
	
	},
	
	-- steve
	youngchild1_initial_state = "normal",
	youngchild1_initial_node = "4",
	youngchild1_tasks_easy = 
	{		
		--[[
		gotonodeanddo,
		"111",
		"fightup2",
		"10",
		"1",		
		
		gotonodeanddo,
		"154",
		"fightup1",
		"10",
		"1",	
		
		gotonodeanddo,
		"149",
		"fightup3",
		"10",
		"1",
		
		
		
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare",
		"drawingsquare",
		"10",
		"1",
		
		
		gotonodeanddo,
		"34",
		"idle",
		"10",
		"1",
		
		gotonodeanddo,
		"41",
		"familytime",
		"0",
		"1",
		
		gotoobjectanddo,
		"brinquedos",
		"brinquedos",
		"10",
		"1",
		
		gotoobjectanddo,
		"brinquedos2",
		"brinquedos2",
		"10",
		"1",
		
		gotoobjectanddo,
		"desenhocorredor",
		"desenhocorredor",
		"10",
		"1",
		
		gotoobjectanddo,
		"desenhoquarto",
		"desenhoquarto",
		"10",
		"1",
		
		gotonodeanddo,
		"154",
		"fightup1",
		"10",
		"1",
		
		gotonodeanddo,
		"111",
		"fightup2",
		"10",
		"1",
		
		gotonodeanddo,
		"149",
		"fightup3",
		"10",
		"1",
		
		gotoobjectanddo,
		"tv",
		"tv",
		"10",
		"1",
		--]]
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare",
		"drawingsquare",
		"10",
		"1",
		
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare2",
		"drawingsquare2",
		"10",
		"1",
	},
	
	youngchild1_tasks_medium = 
	{
	
	},
	
	youngchild1_tasks_hard = 
	{
	
	},
	
	-- judy
	youngchild2_initial_state = "normal",
	youngchild2_initial_node = "5",
	youngchild2_tasks_easy = 
	{
		--[[
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare2",
		"drawingsquare2",
		"10",
		"1",
		
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		"154",
		"fightup1",
		"10",
		"1",
		
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		"111",
		"fightup2",
		"10",
		"1",
		
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		"149",
		"fightup3",
		"10",
		"1",
		
		gotonodeanddo,
		"34",
		"idle",
		"10",
		"1",
		
		gotonodeanddo,
		"145",
		"familytime",
		"0",
		"1",

		gotoobjectanddo,
		"brinquedos",
		"brinquedos",
		"10",
		"1",
		
		gotoobjectanddo,
		"brinquedos2",
		"brinquedos2",
		"10",
		"1",
		
		gotoobjectanddo,
		"guardaroupafilha",
		"guardaroupafilha",
		"10",
		"1",
		
		gotoobjectanddo,
		"guardaroupaspais",
		"guardaroupaspais",
		"10",
		"1",
		--]]
	},
	
	youngchild2_tasks_medium = 
	{
	
	},
	
	youngchild2_tasks_hard = 
	{
	
	},
	
	-- jimmy
	toddler_initial_state = "normal",
	toddler_initial_node = "6",
	toddler_tasks_easy = 
	{
		gotoobjectanddo,
		"asksleep3",
		"asksleep3",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco",
		"berco",
		
		--[[
		gotonodeanddo,
		"34",
		"idle",
		"10",
		"1",
		
		gotonodeanddo,
		"diapersquare4",
		"diapersquare4",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"trocador",
		"trocador",
		
		gotonodeanddo,
		"3",
		"familytime",
		"0",
		"1",
		
		gotoobjectanddo,
		"asksleep1",
		"asksleep1",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco",
		"berco",
		
		gotoobjectanddo,
		"asksleep2",
		"asksleep2",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco",
		"berco",
	
		
		gotoobjectanddo,
		"asksleep4",
		"asksleep4",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco",
		"berco",
		
		gotoobjectanddo,
		"asksleep5",
		"asksleep5",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco",
		"berco",
		
		gotoobjectanddo,
		"asksleep6",
		"asksleep6",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco",
		"berco",
		
		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,
		"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,
		"fallonfloor7",
		"fallonfloor7",
		"10",
		"1",
		
		gotoobjectanddo,
		"guardaroupasmimos",
		"guardaroupasmimos",
		"10",
		"1",
		
		gotoobjectanddo,
		"vaso",
		"vaso",
		"10",
		"1",
		
		gotoobjectanddo,
		"vasocorredor",
		"vasocorredor",
		"10",
		"1",
		
		gotoobjectanddo,
		"vasocorredor2",
		"vasocorredor2",
		"10",
		"1",
		--]]
	},
	
	toddler_tasks_medium = 
	{
	
	},
	
	toddler_tasks_hard = 
	{
	
	},
	
	-- pet
	pet_initial_state = "normal",
	pet_initial_node = "7",
	pet_tasks_easy = 
	{		
		--[[
		gotonodeanddo,
		"34",
		"idle",
		"10",
		"1",
		
		gotoobjectanddo,
		"dogball1",
		"dogball1",
		"10",
		"1",
		
		gotoobjectanddo,
		"dogball2",
		"dogball2",
		"10",
		"1",
		
		gotoobjectanddo,
		"dogball3",
		"dogball3",
		"10",
		"1",
		
		gotoobjectanddo,
		"playwithdog",
		"playwithdog",
		"10",
		"1",
		--]]
		gotonodeanddo,
		"36",
		"camapai",
		"10",
		"1",
		
	},
	
	pet_tasks_medium = 
	{
	
	},
	
	pet_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,
}