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",
		"stopswearwatchingtv",
		2,
		stopswearwatchingtv,
		"mom",
		"stopyellingoncel",
		2,
		stopyellingoncel,
		"dad",
		"messes",
		3,
		5,
		"mom",
		"messes",
		3,
		5,
		"dad",
		"sendtobed",
		1,
		2,
		"mom",
		"changediaper",
		1,
		1,
	},

	goals_medium =
	{
		"dad",
		"stopswearwatchingtv",
		2,
		stopswearwatchingtv,
		"mom",
		"stopyellingoncel",
		2,
		stopyellingoncel,
		"dad",
		"messes",
		3,
		5,
		"mom",
		"messes",
		3,
		5,
		"dad",
		"sendtobed",
		1,
		1,
		"mom",
		"changediaper",
		1,
		1,
	},

	goals_hard =
	{
		"dad",
		"stopswearwatchingtv",
		2,
		stopswearwatchingtv,
		"mom",
		"stopyellingoncel",
		2,
		stopyellingoncel,
		"dad",
		"messes",
		3,
		5,
		"mom",
		"messes",
		3,
		5,
		"dad",
		"sendtobed",
		1,
		1,
		"mom",
		"changediaper",
		1,
		1,
	},

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

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

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


	-- Scenario initial state
	objects_initial_states_easy =
	{
		"banheira",
		"clean",
		"banheirasuite",
		"clean",
		"brinquedos",
		"clean",
		"brinquedos2",
		"dirty",
		"camacrianca",
		"dirty",
		"camapai",
		"dirty",
		"camayoungchild",
		"dirty",
		"desenhobanheiro",
		"clean",
		"desenhocozinha2",
		"clean",
		"guardaroupafilho",
		"clean",
		"guardaroupaspais",
		"clean",
		"mimos",
		"clean",
		"novelo1",
		"clean",
		"piabanheiro",
		"clean",
		"piabanheirosuite",
		"clean",
		"plantabanheiro",
		"clean",
		"toy10",
		"clean",
		"toy4",
		"clean",
		"toy1",
		"clean",
		"toy5",
		"clean",
		"toy8",
		"clean",
		"toy9",
		"clean",
		"toy6",
		"clean",
	},

	toys_on_the_floor_easy = 0,

	objects_initial_states_medium =
	{
		"banheira",
		"clean",
		"banheirasuite",
		"clean",
		"brinquedos",
		"clean",
		"brinquedos2",
		"dirty",
		"camacrianca",
		"dirty",
		"camapai",
		"dirty",
		"camayoungchild",
		"dirty",
		"desenhobanheiro",
		"clean",
		"desenhocozinha2",
		"clean",
		"guardaroupafilho",
		"clean",
		"guardaroupaspais",
		"clean",
		"mimos",
		"clean",
		"novelo1",
		"clean",
		"piabanheiro",
		"clean",
		"piabanheirosuite",
		"clean",
		"plantabanheiro",
		"clean",
		"toy10",
		"clean",
		"toy4",
		"clean",
		"toy1",
		"clean",
		"toy5",
		"clean",
		"toy8",
		"clean",
		"toy9",
		"clean",
		"toy6",
		"clean",
	},

	toys_on_the_floor_medium = 0,

	objects_initial_states_hard =
	{
		"banheira",
		"clean",
		"banheirasuite",
		"clean",
		"brinquedos",
		"clean",
		"brinquedos2",
		"dirty",
		"camacrianca",
		"dirty",
		"camapai",
		"dirty",
		"camayoungchild",
		"dirty",
		"desenhobanheiro",
		"clean",
		"desenhocozinha2",
		"clean",
		"guardaroupafilho",
		"clean",
		"guardaroupaspais",
		"clean",
		"mimos",
		"clean",
		"novelo1",
		"clean",
		"piabanheiro",
		"clean",
		"piabanheirosuite",
		"clean",
		"plantabanheiro",
		"clean",
		"toy10",
		"clean",
		"toy4",
		"clean",
		"toy1",
		"clean",
		"toy5",
		"clean",
		"toy8",
		"clean",
		"toy9",
		"clean",
		"toy6",
		"clean",
	},

	toys_on_the_floor_hard = 0,

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

	toddler_tasks_tutorial =
	{
	},

	toddler_tasks_easy =
	{
		gotoobjectanddo,
		"fallonfloor7",
		"fallonfloor7",
		"10",
		"1",
		gotoobjectanddo,
		"vaso",
		"vaso",
		"10",
		"1",
		gotoobjectanddo,
		"plantabanheiro",
		"plantabanheiro",
		"10",
		"1",
		gotoobjectanddo,
		timed,
		70000,
		"diapersquare4",
		"diapersquare4",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"trocador",
		"trocador",
		gotoobjectanddo,
		timed,
		30000,
		"asksleep2",
		"asksleep2",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco2",
		"berco2",
		gotonodeanddo,
		"19",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"22",
		"idle",
		"10",
		"1",
		gotoobjectanddo,
		"asksleep7",
		"asksleep7",
		"15",
		"2",
		linkedto,
		teleporttoobjectanddo,
		"berco2",
		"berco2",
		gotoobjectanddo,
		"diapersquare6",
		"diapersquare6",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"trocador",
		"trocador",
		gotoobjectanddo,
		"fallonfloor9",
		"fallonfloor9",
		"10",
		"1",
		gotoobjectanddo,
		"mimos",
		"mimos",
		"10",
		"1",
		gotonodeanddo,
		"18",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"12",
		"idle",
		"10",
		"1",
	},

	toddler_tasks_medium =
	{
		gotoobjectanddo,
		"fallonfloor7",
		"fallonfloor7",
		"10",
		"1",
		gotoobjectanddo,
		"vaso",
		"vaso",
		"10",
		"1",
		gotoobjectanddo,
		"plantabanheiro",
		"plantabanheiro",
		"10",
		"1",
		gotoobjectanddo,
		timed,
		70000,
		"diapersquare4",
		"diapersquare4",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"trocador",
		"trocador",
		gotoobjectanddo,
		timed,
		30000,
		"asksleep2",
		"asksleep2",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco2",
		"berco2",
		gotonodeanddo,
		"19",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"22",
		"idle",
		"10",
		"1",
		gotoobjectanddo,
		"asksleep7",
		"asksleep7",
		"15",
		"2",
		linkedto,
		teleporttoobjectanddo,
		"berco2",
		"berco2",
		gotoobjectanddo,
		"diapersquare6",
		"diapersquare6",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"trocador",
		"trocador",
		gotoobjectanddo,
		"fallonfloor9",
		"fallonfloor9",
		"10",
		"1",
		gotoobjectanddo,
		"mimos",
		"mimos",
		"10",
		"1",
		gotonodeanddo,
		"18",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"12",
		"idle",
		"10",
		"1",
	},

	toddler_tasks_hard =
	{
		gotoobjectanddo,
		"fallonfloor7",
		"fallonfloor7",
		"10",
		"1",
		gotoobjectanddo,
		"vaso",
		"vaso",
		"10",
		"1",
		gotoobjectanddo,
		"plantabanheiro",
		"plantabanheiro",
		"10",
		"1",
		gotoobjectanddo,
		timed,
		70000,
		"diapersquare4",
		"diapersquare4",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"trocador",
		"trocador",
		gotoobjectanddo,
		timed,
		30000,
		"asksleep2",
		"asksleep2",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco2",
		"berco2",
		gotonodeanddo,
		"19",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"22",
		"idle",
		"10",
		"1",
		gotoobjectanddo,
		"asksleep7",
		"asksleep7",
		"15",
		"2",
		linkedto,
		teleporttoobjectanddo,
		"berco2",
		"berco2",
		gotoobjectanddo,
		"diapersquare6",
		"diapersquare6",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"trocador",
		"trocador",
		gotoobjectanddo,
		"fallonfloor9",
		"fallonfloor9",
		"10",
		"1",
		gotoobjectanddo,
		"mimos",
		"mimos",
		"10",
		"1",
		gotonodeanddo,
		"18",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"12",
		"idle",
		"10",
		"1",
	},

	-- jamal
	schoolaged_initial_state = "normal",
	schoolaged_initial_node = "25",

	schoolaged_tasks_tutorial =
	{
	},

	schoolaged_tasks_easy =
	{
		gotoobjectanddo,
		"piabanheiro",
		"piabanheiro",
		"10",
		"1",
		gotoobjectanddo,
		"piabanheirosuite",
		"piabanheirosuite",
		"10",
		"1",
		gotonodeanddo,
		"51",
		"idle",
		"10",
		"2",
		gotonodeanddo,
		"32",
		"idle",
		"10",
		"2",
		gotoobjectanddo,
		"stereo",
		"stereo",
		"10",
		"1",
		gotoobjectanddo,
		"tv",
		"tv",
		"10",
		"1",
	},

	schoolaged_tasks_medium =
	{
		gotoobjectanddo,
		"piabanheiro",
		"piabanheiro",
		"10",
		"1",
		gotoobjectanddo,
		"piabanheirosuite",
		"piabanheirosuite",
		"10",
		"1",
		gotonodeanddo,
		"51",
		"idle",
		"10",
		"2",
		gotonodeanddo,
		"32",
		"idle",
		"10",
		"2",
		gotoobjectanddo,
		"stereo",
		"stereo",
		"10",
		"1",
		gotoobjectanddo,
		"tv",
		"tv",
		"10",
		"1",
	},

	schoolaged_tasks_hard =
	{
		gotoobjectanddo,
		"piabanheiro",
		"piabanheiro",
		"10",
		"1",
		gotoobjectanddo,
		"piabanheirosuite",
		"piabanheirosuite",
		"10",
		"1",
		gotonodeanddo,
		"51",
		"idle",
		"10",
		"2",
		gotonodeanddo,
		"32",
		"idle",
		"10",
		"2",
		gotoobjectanddo,
		"stereo",
		"stereo",
		"10",
		"1",
		gotoobjectanddo,
		"tv",
		"tv",
		"10",
		"1",
	},

	-- pet
	pet_initial_state = "normal",
	pet_initial_node = "28",


	pet_tasks_easy =
	{
		gotonodeanddo,
		"176",
		"camayoungchild",
		"10",
		"2",
		gotoobjectanddo,
		"camapai",
		"camapai",
		"10",
		"2",
		gotoobjectanddo,
		"novelo1",
		"novelo1",
		"10",
		"1",
		gotoobjectanddo,
		"novelo2",
		"novelo2",
		"10",
		"1",
		gotoobjectanddo,
		"novelo3",
		"novelo3",
		"10",
		"1",
		gotonodeanddo,
		"33",
		"idle",
		"15",
		"3",
		gotonodeanddo,
		"9",
		"idle",
		"15",
		"2",
		gotonodeanddo,
		"42",
		"idle",
		"15",
		"3",
		gotonodeanddo,
		"51",
		"idle",
		"15",
		"2",
	},

	pet_tasks_medium =
	{
		gotonodeanddo,
		"176",
		"camayoungchild",
		"10",
		"2",
		gotoobjectanddo,
		"camapai",
		"camapai",
		"10",
		"2",
		gotoobjectanddo,
		"novelo1",
		"novelo1",
		"10",
		"1",
		gotoobjectanddo,
		"novelo2",
		"novelo2",
		"10",
		"1",
		gotoobjectanddo,
		"novelo3",
		"novelo3",
		"10",
		"1",
		gotonodeanddo,
		"33",
		"idle",
		"15",
		"3",
		gotonodeanddo,
		"9",
		"idle",
		"15",
		"2",
		gotonodeanddo,
		"42",
		"idle",
		"15",
		"3",
		gotonodeanddo,
		"51",
		"idle",
		"15",
		"2",
	},

	pet_tasks_hard =
	{
		gotonodeanddo,
		"176",
		"camayoungchild",
		"10",
		"2",
		gotoobjectanddo,
		"camapai",
		"camapai",
		"10",
		"2",
		gotoobjectanddo,
		"novelo1",
		"novelo1",
		"10",
		"1",
		gotoobjectanddo,
		"novelo2",
		"novelo2",
		"10",
		"1",
		gotoobjectanddo,
		"novelo3",
		"novelo3",
		"10",
		"1",
		gotonodeanddo,
		"33",
		"idle",
		"15",
		"3",
		gotonodeanddo,
		"9",
		"idle",
		"15",
		"2",
		gotonodeanddo,
		"42",
		"idle",
		"15",
		"3",
		gotonodeanddo,
		"51",
		"idle",
		"15",
		"2",
	},

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

	youngchild_tasks_tutorial =
	{
	},

	youngchild_tasks_easy =
	{
		gotoobjectanddo,
		"brinquedos",
		"brinquedos",
		"10",
		"1",
		gotoobjectanddo,
		"brinquedos2",
		"brinquedos2",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare2",
		"drawingsquare2",
		"10",
		"1",
		gotoobjectanddo,
		"tv",
		"tv",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare",
		"drawingsquare",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		timed,
		20000,
		"drawingsquare",
		"drawingsquare",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		timed,
		65000,
		"drawingsquare2",
		"drawingsquare2",
		"10",
		"1",
		gotonodeanddo,
		"56",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"40",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"19",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"13",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"60",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"48",
		"idle",
		"10",
		"1",
		gotoobjectanddo,
		"guardaroupaspais",
		"guardaroupaspais",
		"10",
		"1",
		gotoobjectanddo,
		"tvquarto",
		"tvquarto",
		"10",
		"1",
	},

	youngchild_tasks_medium =
	{
		gotoobjectanddo,
		"brinquedos",
		"brinquedos",
		"10",
		"1",
		gotoobjectanddo,
		"brinquedos2",
		"brinquedos2",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare2",
		"drawingsquare2",
		"10",
		"1",
		gotoobjectanddo,
		"tv",
		"tv",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare",
		"drawingsquare",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		timed,
		20000,
		"drawingsquare",
		"drawingsquare",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		timed,
		65000,
		"drawingsquare2",
		"drawingsquare2",
		"10",
		"1",
		gotonodeanddo,
		"56",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"40",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"19",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"13",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"60",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"48",
		"idle",
		"10",
		"1",
		gotoobjectanddo,
		"guardaroupaspais",
		"guardaroupaspais",
		"10",
		"1",
		gotoobjectanddo,
		"tvquarto",
		"tvquarto",
		"10",
		"1",
	},

	youngchild_tasks_hard =
	{
		gotoobjectanddo,
		"brinquedos",
		"brinquedos",
		"10",
		"1",
		gotoobjectanddo,
		"brinquedos2",
		"brinquedos2",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare2",
		"drawingsquare2",
		"10",
		"1",
		gotoobjectanddo,
		"tv",
		"tv",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		"drawingsquare",
		"drawingsquare",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		timed,
		20000,
		"drawingsquare",
		"drawingsquare",
		"10",
		"1",
		gotoobjectanddo,
		disciplineneeded,
		stopkidsdrawingonwall,
		timed,
		65000,
		"drawingsquare2",
		"drawingsquare2",
		"10",
		"1",
		gotonodeanddo,
		"56",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"40",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"19",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"13",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"60",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"48",
		"idle",
		"10",
		"1",
		gotoobjectanddo,
		"guardaroupaspais",
		"guardaroupaspais",
		"10",
		"1",
		gotoobjectanddo,
		"tvquarto",
		"tvquarto",
		"10",
		"1",
	},

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

	dad_idle_tasks_easy =
	{
		"dadswearwatchingtv",
		"bad",
		"gotoanddo",
		"dadswearwatchingtv",
		stopswearwatchingtv,

	},

	dad_idle_tasks_medium =
	{
		"dadswearwatchingtv",
		"bad",
		"gotoanddo",
		"dadswearwatchingtv",
		stopswearwatchingtv,

	},

	dad_idle_tasks_hard =
	{
		"dadswearwatchingtv",
		"bad",
		"gotoanddo",
		"dadswearwatchingtv",
		stopswearwatchingtv,

	},

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

	mom_idle_tasks_easy =
	{
		"momyellingoncelidle",
		"bad",
		"gotoanddo",
		"momyellingoncel",
		stopyellingoncel,

	},

	mom_idle_tasks_medium =
	{
		"momyellingoncelidle",
		"bad",
		"gotoanddo",
		"momyellingoncel",
		stopyellingoncel,

	},

	mom_idle_tasks_hard =
	{
		"momyellingoncelidle",
		"bad",
		"gotoanddo",
		"momyellingoncel",
		stopyellingoncel,

	},

	perfect_time_easy = 190,
	perfect_time_medium = 170,
	perfect_time_hard = 160,
	good_time_easy = 220,
	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 = 20,
}
