require( "levels_scripts/tasksconstants.lua" );

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

day =
{
	-- Goals
	goals_easy =
	{
		"dad",
		"messes",
		3,
		5,
		"mom",
		"messes",
		3,
		5,
	},

	goals_medium =
	{
		"dad",
		"messes",
		3,
		5,
		"mom",
		"messes",
		3,
		5,
	},

	goals_hard =
	{
		"dad",
		"messes",
		3,
		5,
		"mom",
		"messes",
		3,
		5,
	},

	-- 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 =
	{
		"banheira",
		"dirty",
		"banheirasuite",
		"dirty",
		"brinquedos",
		"dirty",
		"brinquedos2",
		"dirty",
		"camayoungchild",
		"dirty",
		"camapai",
		"dirty",
		"desenhobanheiro",
		"dirty",
		"desenhocozinha3",
		"dirty",
		"guardaroupafilho",
		"dirty",
		"guardaroupaspais",
		"dirty",
		"mimos",
		"dirty",
		"piabanheiro",
		"dirty",
		"piabanheirosuite",
		"dirty",
		"plantabanheiro",
		"dirty",
		"plantagrande",
		"dirty",
		"sofapequeno",
		"dirty",
		"stereo",
		"dirty",
		"toy1",
		"dirty",
		"toy10",
		"dirty",
		"toy11",
		"dirty",
		"toy12",
		"dirty",
		"toy13",
		"dirty",
	},

	toys_on_the_floor_easy = 5,
	objects_initial_states_medium =
	{
		"banheira",
		"dirty",
		"banheirasuite",
		"dirty",
		"brinquedos",
		"dirty",
		"brinquedos2",
		"dirty",
		"camayoungchild",
		"dirty",
		"camapai",
		"dirty",
		"desenhobanheiro",
		"dirty",
		"desenhocozinha3",
		"dirty",
		"guardaroupafilho",
		"dirty",
		"guardaroupaspais",
		"dirty",
		"mimos",
		"dirty",
		"piabanheiro",
		"dirty",
		"piabanheirosuite",
		"dirty",
		"plantabanheiro",
		"dirty",
		"plantagrande",
		"dirty",
		"sofapequeno",
		"dirty",
		"stereo",
		"dirty",
		"toy1",
		"dirty",
		"toy10",
		"dirty",
		"toy11",
		"dirty",
		"toy12",
		"dirty",
		"toy13",
		"dirty",
	},

	toys_on_the_floor_medium = 5,
	objects_initial_states_hard =
	{
		"banheira",
		"dirty",
		"banheirasuite",
		"dirty",
		"brinquedos",
		"dirty",
		"brinquedos2",
		"dirty",
		"camayoungchild",
		"dirty",
		"camapai",
		"dirty",
		"desenhobanheiro",
		"dirty",
		"desenhocozinha3",
		"dirty",
		"guardaroupafilho",
		"dirty",
		"guardaroupaspais",
		"dirty",
		"mimos",
		"dirty",
		"piabanheiro",
		"dirty",
		"piabanheirosuite",
		"dirty",
		"plantabanheiro",
		"dirty",
		"plantagrande",
		"dirty",
		"sofapequeno",
		"dirty",
		"stereo",
		"dirty",
		"toy1",
		"dirty",
		"toy10",
		"dirty",
		"toy11",
		"dirty",
		"toy12",
		"dirty",
		"toy13",
		"dirty",
	},

	toys_on_the_floor_hard = 5,
	-- joe
	toddler_initial_state = "normal",
	toddler_initial_node = "18",

	toddler_tasks_easy =
	{
		gotoobjectanddo,
		"fallonfloor1",
		"fallonfloor1",
		"10",
		"1",
		gotoobjectanddo,
		"fallonfloor4",
		"fallonfloor4",
		"10",
		"1",
		gotoobjectanddo,
		"fallonfloor7",
		"fallonfloor7",
		"10",
		"1",
		gotoobjectanddo,
		"fallonfloor9",
		"fallonfloor9",
		"10",
		"1",
		gotoobjectanddo,
		"plantagrande",
		"plantagrande",
		"10",
		"1",
		gotoobjectanddo,
		"vaso",
		"vaso",
		"10",
		"1",
	},

	toddler_tasks_medium =
	{
		gotoobjectanddo,
		"fallonfloor1",
		"fallonfloor1",
		"10",
		"1",
		gotoobjectanddo,
		"fallonfloor4",
		"fallonfloor4",
		"10",
		"1",
		gotoobjectanddo,
		"fallonfloor7",
		"fallonfloor7",
		"10",
		"1",
		gotoobjectanddo,
		"fallonfloor9",
		"fallonfloor9",
		"10",
		"1",
		gotoobjectanddo,
		"plantagrande",
		"plantagrande",
		"10",
		"1",
		gotoobjectanddo,
		"vaso",
		"vaso",
		"10",
		"1",
	},

	toddler_tasks_hard =
	{
		gotoobjectanddo,
		"fallonfloor1",
		"fallonfloor1",
		"10",
		"1",
		gotoobjectanddo,
		"fallonfloor4",
		"fallonfloor4",
		"10",
		"1",
		gotoobjectanddo,
		"fallonfloor7",
		"fallonfloor7",
		"10",
		"1",
		gotoobjectanddo,
		"fallonfloor9",
		"fallonfloor9",
		"10",
		"1",
		gotoobjectanddo,
		"plantagrande",
		"plantagrande",
		"10",
		"1",
		gotoobjectanddo,
		"vaso",
		"vaso",
		"10",
		"1",
	},

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

	youngchild_tasks_easy =
	{
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		"177",
		"fightup1",
		"10",
		"1",
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		"179",
		"fightup2",
		"10",
		"1",
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		"118",
		"fightup3",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare2",
		"drawingsquare2",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare",
		"drawingsquare",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare4",
		"drawingsquare4",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare3",
		"drawingsquare3",
		"10",
		"1",
		gotoobjectanddo,
		"tv",
		"tv",
		"10",
		"1",
		gotoobjectanddo,
		"tvquarto",
		"tvquarto",
		"10",
		"1",
	},

	youngchild_tasks_medium =
	{
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		"177",
		"fightup1",
		"10",
		"1",
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		"179",
		"fightup2",
		"10",
		"1",
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		"118",
		"fightup3",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare2",
		"drawingsquare2",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare",
		"drawingsquare",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare4",
		"drawingsquare4",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare3",
		"drawingsquare3",
		"10",
		"1",
		gotoobjectanddo,
		"tv",
		"tv",
		"10",
		"1",
		gotoobjectanddo,
		"tvquarto",
		"tvquarto",
		"10",
		"1",
	},

	youngchild_tasks_hard =
	{
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		"177",
		"fightup1",
		"10",
		"1",
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		"179",
		"fightup2",
		"10",
		"1",
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		"118",
		"fightup3",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare2",
		"drawingsquare2",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare",
		"drawingsquare",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare4",
		"drawingsquare4",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare3",
		"drawingsquare3",
		"10",
		"1",
		gotoobjectanddo,
		"tv",
		"tv",
		"10",
		"1",
		gotoobjectanddo,
		"tvquarto",
		"tvquarto",
		"10",
		"1",
	},

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

	schoolaged1_tasks_easy =
	{
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		"177",
		"fightup1",
		"10",
		"1",
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		"179",
		"fightup2",
		"10",
		"1",
		gotoobjectanddo,
		"stereo",
		"stereo",
		"10",
		"1",
	},

	schoolaged1_tasks_medium =
	{
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		"177",
		"fightup1",
		"10",
		"1",
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		"179",
		"fightup2",
		"10",
		"1",
		gotoobjectanddo,
		"stereo",
		"stereo",
		"10",
		"1",
	},

	schoolaged1_tasks_hard =
	{
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		"177",
		"fightup1",
		"10",
		"1",
		gotonodeanddo,
		disciplineneeded,
		stopkidsfighting,
		"179",
		"fightup2",
		"10",
		"1",
		gotoobjectanddo,
		"stereo",
		"stereo",
		"10",
		"1",
	},

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

	schoolaged2_tasks_easy =
	{
		gotoobjectanddo,
		disciplineneeded,
		stopkidsjumpingonbed,
		"jumpingsquare",
		"jumpingsquare",
		"10",
		"1",
		gotoobjectanddo,
		"piabanheirosuite",
		"piabanheirosuite",
		"10",
		"1",
		gotoobjectanddo,
		"stereo",
		"stereo",
		"10",
		"1",
	},

	schoolaged2_tasks_medium =
	{
		gotoobjectanddo,
		disciplineneeded,
		stopkidsjumpingonbed,
		"jumpingsquare",
		"jumpingsquare",
		"10",
		"1",
		gotoobjectanddo,
		"piabanheirosuite",
		"piabanheirosuite",
		"10",
		"1",
		gotoobjectanddo,
		"stereo",
		"stereo",
		"10",
		"1",
	},

	schoolaged2_tasks_hard =
	{
		gotoobjectanddo,
		disciplineneeded,
		stopkidsjumpingonbed,
		"jumpingsquare",
		"jumpingsquare",
		"10",
		"1",
		gotoobjectanddo,
		"piabanheirosuite",
		"piabanheirosuite",
		"10",
		"1",
		gotoobjectanddo,
		"stereo",
		"stereo",
		"10",
		"1",
	},

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

	pet1_tasks_easy =
	{
		gotonodeanddo,
		"96",
		"camapai",
		"10",
		"1",
		gotoobjectanddo,
		"dogball1",
		"dogball1",
		"10",
		"1",
		gotoobjectanddo,
		"dogball2",
		"dogball2",
		"10",
		"1",
		gotoobjectanddo,
		"dogball3",
		"dogball3",
		"10",
		"1",
	},

	pet1_tasks_medium =
	{
		gotonodeanddo,
		"96",
		"camapai",
		"10",
		"1",
		gotoobjectanddo,
		"dogball1",
		"dogball1",
		"10",
		"1",
		gotoobjectanddo,
		"dogball2",
		"dogball2",
		"10",
		"1",
		gotoobjectanddo,
		"dogball3",
		"dogball3",
		"10",
		"1",
	},

	pet1_tasks_hard =
	{
		gotonodeanddo,
		"96",
		"camapai",
		"10",
		"1",
		gotoobjectanddo,
		"dogball1",
		"dogball1",
		"10",
		"1",
		gotoobjectanddo,
		"dogball2",
		"dogball2",
		"10",
		"1",
		gotoobjectanddo,
		"dogball3",
		"dogball3",
		"10",
		"1",
	},

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

	pet2_tasks_easy =
	{
		gotonodeanddo,
		"96",
		"camapai",
		"10",
		"1",
		gotoobjectanddo,
		"dogball1",
		"dogball1",
		"10",
		"1",
		gotoobjectanddo,
		"dogball2",
		"dogball2",
		"10",
		"1",
		gotoobjectanddo,
		"dogball3",
		"dogball3",
		"10",
		"1",
	},

	pet2_tasks_medium =
	{
		gotonodeanddo,
		"96",
		"camapai",
		"10",
		"1",
		gotoobjectanddo,
		"dogball1",
		"dogball1",
		"10",
		"1",
		gotoobjectanddo,
		"dogball2",
		"dogball2",
		"10",
		"1",
		gotoobjectanddo,
		"dogball3",
		"dogball3",
		"10",
		"1",
	},

	pet2_tasks_hard =
	{
		gotonodeanddo,
		"96",
		"camapai",
		"10",
		"1",
		gotoobjectanddo,
		"dogball1",
		"dogball1",
		"10",
		"1",
		gotoobjectanddo,
		"dogball2",
		"dogball2",
		"10",
		"1",
		gotoobjectanddo,
		"dogball3",
		"dogball3",
		"10",
		"1",
	},

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

	pet3_out = true,

	pet3_tasks_easy =
	{
		gotonodeanddo,
		"96",
		"camapai",
		"10",
		"1",
		gotoobjectanddo,
		"novelo2",
		"novelo2",
		"10",
		"1",
		gotoobjectanddo,
		"novelo1",
		"novelo1",
		"10",
		"1",
		gotoobjectanddo,
		"novelo3",
		"novelo3",
		"10",
		"1",
	},

	pet3_tasks_medium =
	{
		gotonodeanddo,
		"96",
		"camapai",
		"10",
		"1",
		gotoobjectanddo,
		"novelo2",
		"novelo2",
		"10",
		"1",
		gotoobjectanddo,
		"novelo1",
		"novelo1",
		"10",
		"1",
		gotoobjectanddo,
		"novelo3",
		"novelo3",
		"10",
		"1",
	},

	pet3_tasks_hard =
	{
		gotonodeanddo,
		"96",
		"camapai",
		"10",
		"1",
		gotoobjectanddo,
		"novelo2",
		"novelo2",
		"10",
		"1",
		gotoobjectanddo,
		"novelo1",
		"novelo1",
		"10",
		"1",
		gotoobjectanddo,
		"novelo3",
		"novelo3",
		"10",
		"1",
	},

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

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

		"dadeatingonbedidle",
		"bad",
		"gotoanddo",
		"dadeatingchicken",
		stopeating,

		"dadbasketballidle",
		"bad",
		"gotoanddo",
		"dadbasketball",
		stopbasketball,

		"dadswearwatchingtv",
		"bad",
		"gotoanddo",
		"dadswearwatchingtv",
		stopswearwatchingtv,

	},

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

		"dadeatingonbedidle",
		"bad",
		"gotoanddo",
		"dadeatingchicken",
		stopeating,

		"dadbasketballidle",
		"bad",
		"gotoanddo",
		"dadbasketball",
		stopbasketball,

		"dadswearwatchingtv",
		"bad",
		"gotoanddo",
		"dadswearwatchingtv",
		stopswearwatchingtv,

	},

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

		"dadeatingonbedidle",
		"bad",
		"gotoanddo",
		"dadeatingchicken",
		stopeating,

		"dadbasketballidle",
		"bad",
		"gotoanddo",
		"dadbasketball",
		stopbasketball,

		"dadswearwatchingtv",
		"bad",
		"gotoanddo",
		"dadswearwatchingtv",
		stopswearwatchingtv,

	},

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

	mom_idle_tasks_easy =
	{
		"momeatingicecreamidle",
		"bad",
		"gotoanddo",
		"momeatingicecream",
		stopeating,

		"momyellingoncelidle",
		"bad",
		"gotoanddo",
		"momyellingoncel",
		stopyellingoncel,

		"momkickingcouch",
		"bad",
		"gotoanddo",
		"momkickingcouch",
		stopkickingcouch,

		"momdrinkingboxmilk",
		"bad",
		"gotoanddo",
		"momdrinkingboxmilk",
		stopdrinkingmilkbox,

	},

	mom_idle_tasks_medium =
	{
		"momeatingicecreamidle",
		"bad",
		"gotoanddo",
		"momeatingicecream",
		stopeating,

		"momyellingoncelidle",
		"bad",
		"gotoanddo",
		"momyellingoncel",
		stopyellingoncel,

		"momkickingcouch",
		"bad",
		"gotoanddo",
		"momkickingcouch",
		stopkickingcouch,

		"momdrinkingboxmilk",
		"bad",
		"gotoanddo",
		"momdrinkingboxmilk",
		stopdrinkingmilkbox,

	},

	mom_idle_tasks_hard =
	{
		"momeatingicecreamidle",
		"bad",
		"gotoanddo",
		"momeatingicecream",
		stopeating,

		"momyellingoncelidle",
		"bad",
		"gotoanddo",
		"momyellingoncel",
		stopyellingoncel,

		"momkickingcouch",
		"bad",
		"gotoanddo",
		"momkickingcouch",
		stopkickingcouch,

		"momdrinkingboxmilk",
		"bad",
		"gotoanddo",
		"momdrinkingboxmilk",
		stopdrinkingmilkbox,

	},

	perfect_time_easy = 75,
	perfect_time_medium = 60,
	perfect_time_hard = 45,
	good_time_easy = 105,
	good_time_medium = 90,
	good_time_hard = 75,
	feedback_positive_easy = 20,
	feedback_positive_medium = 20,
	feedback_positive_hard = 20,
	feedback_negative_easy = 20,
	feedback_negative_medium = 20,
	feedback_negative_hard = 20,
}
