require( "levels_scripts/tasksconstants.lua" );

require( "levels_scripts/tasksconstants.lua" );

local stopkidsjumpingonbed = 20;
local stopkidsdrawingonwall = 20;
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 =
	{
		"dad",
		"dothedishes",
		1,
		1,
		"mom",
		"makethebed",
		1,
		1,
		"dad",
		"sendtobed",
		1,
		1,
		"mom",
		"changediaper",
		1,
		1,
	},

	goals_medium =
	{
		"dad",
		"dothedishes",
		1,
		1,
		"mom",
		"makethebed",
		1,
		1,
		"dad",
		"setthetable",
		1,
		1,
		"mom",
		"changediaper",
		1,
		1,
		"kids",
		"studytime",
		1,
		1,
	},

	goals_hard =
	{
		"dad",
		"dothedishes",
		1,
		1,
		"mom",
		"makethebed",
		1,
		1,
		"dad",
		"setthetable",
		1,
		1,
		"mom",
		"changediaper",
		1,
		1,
	},

	-- Extra Goals
	extragoals_easy =
	{
	},

	extragoals_medium =
	{
	},

	extragoals_hard =
	{
	},


	-- Scenario initial state
	objects_initial_states_easy =
	{
		"brinquedos",
		"dirty",
		"guardaroupaspequeno",
		"dirty",
		"toy1",
		"dirty",
		"toy2",
		"dirty",
		"toy3",
		"dirty",
		"toy4",
		"dirty",
		"toy5",
		"dirty",
		"toy6",
		"dirty",
		"toy7",
		"dirty",
		"toy8",
		"dirty",
		"sofa",
		"dirty",
		"sofapequeno",
		"dirty",
		"camapai",
		"dirty",
	},

	objects_initial_states_medium =
	{
		"brinquedos",
		"dirty",
		"guardaroupaspequeno",
		"dirty",
	},

	objects_initial_states_hard =
	{
		"plantabanheiro",
		"dirty",
		"guardaroupaspais",
		"dirty",
		"guardaroupafilho",
		"dirty",
		"guardaroupaspequeno",
		"dirty",
		--[[
		"plantagrande",
		"dirty",
		--]]
		"camacrianca",
		"dirty",
		"camapai",
		"dirty",
		"sofa",
		"dirty",
		"tvquarto",
		"dirty",
		"banheira",
		"dirty",
		--[[
		"piabanheiro",
		"dirty",
		"piabanheirosuite",
		"dirty",
		--]]
		"sofapequeno",
		"dirty",
		"banheirasuite",
		"dirty",
		"toy1",
		"dirty",
		"toy2",
		"dirty",
		"toy3",
		"dirty",
		"toy4",
		"dirty",
		"toy5",
		"dirty",
		"toy6",
		"dirty",
		"toy7",
		"dirty",
		"toy8",
		"dirty",
		"brinquedos",
		"dirty",
		"camacrianca",
		"dirty",
		"camapai",
		"dirty",
		--"mesajantar4",
		--"dirty",
	},

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

	toddler1_tasks_easy =
	{
		--[[
		gotoobjectanddo,
		"diapersquare1",
		"diapersquare1",
		"10",
		"1",
		
		gotoobjectanddo,
		"asksleep1",
		"asksleep1",
		"10",
		"1",
		
		gotonodeanddo,
		"100",
		"idle",
		"10",
		"1",
		linkedto,
		gotonodeanddo,
		"1",
		"idle",
		
		gotonodeanddo,
		timed,
		5000,
		"1",
		"idle",
		"10",
		"1",
		--]]		
		
		gotoobjectanddo,
		"asksleep1",
		"asksleep1",
		"10",
		"1",
	},

	toddler1_tasks_medium =
	{
		gotoobjectanddo,
		"asksleep1",
		"asksleep1",
		"10",
		"1",

		gotoobjectanddo,
		"plantagrande",
		"plantagrande",
		"10",
		"1",
	},

	toddler1_tasks_hard =
	{
		--[[
		gotoobjectanddo,
		"guardaroupaspequeno",
		"guardaroupaspequeno",
		"10",
		"1",
		
		
		gotoobjectanddo,
		"vaso",
		"vaso",
		"10",
		"1",
		
		
		gotoobjectanddo,
		"plantabanheiro",
		"plantabanheiro",
		"10",
		"1",
		
		gotoobjectanddo,
		"plantagrande",
		"plantagrande",
		"10",
		"1",
				
		gotoobjectanddo,
		"asksleep1",
		"asksleep1",
		"10",
		"1",

		
		gotoobjectanddo,
		"asksleep2",
		"asksleep2",
		"10",
		"1",

		
		gotoobjectanddo,
		"asksleep3",
		"asksleep3",
		"10",
		"1",

		
		gotoobjectanddo,
		"asksleep4",
		"asksleep4",
		"10",
		"1",

		
		gotoobjectanddo,
		"asksleep5",
		"asksleep5",
		"10",
		"1",
		
		gotoobjectanddo,
		"asksleep6",
		"asksleep6",
		"10",
		"1",
		
		gotoobjectanddo,
		"asksleep7",
		"asksleep7",
		"10",
		"1",
		
		gotoobjectanddo,
		"asksleep8",
		"asksleep8",
		"10",
		"1",
		
		gotoobjectanddo,
		"asksleep9",
		"asksleep9",
		"10",
		"1",
		
		gotonodeanddo,
		"115",
		"idle",
		"10",
		"1",
		--]]	
	},

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

	toddler2_tasks_easy =
	{
		gotonodeanddo,
		"42",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"8",
		"idle",
		"10",
		"1",		
	},

	toddler2_tasks_medium =
	{
		gotoobjectanddo,
		"asksleep2",
		"asksleep2",
		"10",
		"1",

	},

	toddler2_tasks_hard =
	{
		
		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,
		"diapersquare1",
		"diapersquare1",
		"10",
		"1",

		
		gotoobjectanddo,
		"diapersquare2",
		"diapersquare2",
		"10",
		"1",

		
		gotoobjectanddo,
		"diapersquare3",
		"diapersquare3",
		"10",
		"1",

		
		gotoobjectanddo,
		"diapersquare4",
		"diapersquare4",
		"10",
		"1",

		
		gotoobjectanddo,
		"diapersquare5",
		"diapersquare5",
		"10",
		"1",

		
		gotoobjectanddo,
		"diapersquare6",
		"diapersquare6",
		"10",
		"1",

		
		gotoobjectanddo,
		"diapersquare7",
		"diapersquare7",
		"10",
		"1",

		
		gotoobjectanddo,
		"diapersquare8",
		"diapersquare8",
		"10",
		"1",

		
		gotoobjectanddo,
		"diapersquare9",
		"diapersquare9",
		"10",
		"1",


		gotoobjectanddo,
		"asksleep1",
		"asksleep1",
		"10",
		"1",

		
		gotoobjectanddo,
		"asksleep2",
		"asksleep2",
		"10",
		"1",

		
		gotoobjectanddo,
		"asksleep3",
		"asksleep3",
		"10",
		"1",

		
		gotoobjectanddo,
		"asksleep4",
		"asksleep4",
		"10",
		"1",

		
		gotoobjectanddo,
		"asksleep5",
		"asksleep5",
		"10",
		"1",

		
		gotoobjectanddo,
		"asksleep6",
		"asksleep6",
		"10",
		"1",

		
		gotoobjectanddo,
		"asksleep7",
		"asksleep7",
		"10",
		"1",

		
		gotoobjectanddo,
		"asksleep8",
		"asksleep8",
		"10",
		"1",

		gotoobjectanddo,
		"asksleep9",
		"asksleep9",
		"10",
		"1",

		
		gotonodeanddo,
		"67",
		"idle",
		"10",
		"1",
		--]]
	},

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

	schoolaged_tasks_easy =
	{		
		gotonodeanddo,
		"42",
		"idle",
		"10",
		"1",
		
		gotonodeanddo,
		timed,
		500,
		"118",
		"mesajantar1",
		"10",
		"1",
		linkedto,
		order,
		"toddler1",
		gotonodeanddo,
		"117",
		"mesajantar1",
		linkedto,
		order,
		"toddler2",
		gotonodeanddo,
		"121",
		"mesajantar1",
		--[[
		gotoobjectanddo,
		disciplineneeded,
		80,
		"jumpingsquare",
		"jumpingsquare",
		"10",
		"1",
		
		gotonodeanddo,
		"41",
		"fightup1",
		"10",
		"1",
		
		gotonodeanddo,
		"49",
		"idle",
		"10",
		"1",
		--]]
	},

	schoolaged_tasks_medium =
	{
		gotoobjectanddo,
		"schoolagedsit",
		"schoolagedsit",
		"10",
		"1",
		linkedto,
		gotoobjectanddo,
		"escrivaninha",
		"escrivaninha",
	},

	schoolaged_tasks_hard =
	{
		--[[
		gotoobjectanddo,
		"schoolagedsit",
		"schoolagedsit",
		"10",
		"1",
		linkedto,
		gotoobjectanddo,
		"escrivaninha",
		"escrivaninha",
		
		gotoobjectanddo,
		"tv",
		"tv",
		"10",
		"2",
		
		gotoobjectanddo,
		"tvquarto",
		"tvquarto",		
		"10",
		"1",		
		
		gotonodeanddo,
		timed,
		3000,
		"118",
		"mesajantar1",
		"10",
		"1",
		linkedto,
		order,
		"toddler1",
		gotonodeanddo,
		"117",
		"mesajantar1",
		linkedto,
		order,
		"toddler2",
		gotonodeanddo,
		"121",
		"mesajantar1",
		
		gotonodeanddo,
		"134",
		"fightup3",
		"10",
		"1",
		
		gotonodeanddo,
		"41",
		"fightup1",
		"10",
		"1",
		
		
		gotoobjectanddo,
		"piabanheiro",
		"piabanheiro",	
		"10",
		"1",
		
		gotoobjectanddo,
		"piabanheirosuite",
		"piabanheirosuite",	
		"10",
		"1",		
		
		gotonodeanddo,
		"49",
		"idle",
		"10",
		"1",
		--]]
	},

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

	dad_idle_tasks_easy =
	{
		--[[
		"daddusting",
		"good",
		"gotoanddo",
		"daddusting",
		startdusting,
		
		"dadeatingchicken",
		"bad",
		"gotoanddo",
		"dadeatingchicken",
		stopeating,
		
		"dadsleeping",
		"bad",
		"gotoanddo",
		"dadsleeping",
		stopsleeping,
		--]]
		"dadswearwatchingtv",
		"bad",
		"gotoanddo",
		"dadswearwatchingtv",
		50,
		--[[
		"dadsqueegee",
		"good",
		"gotoanddo",
		"dadsqueegee",
		60,
		--]]
		"dadironing",
		"good",
		"gotoanddo",
		"dadironing",
		60,
	},

	dad_idle_tasks_medium =
	{
	},

	dad_idle_tasks_hard =
	{
	},

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

	mom_idle_tasks_easy =
	{
		--[[
		"momeatingicecream",
		"bad",
		"gotoanddo",
		"momeatingicecream",
		stopeating,
		--]]
		"momsleeping",
		"bad",
		"gotoanddo",
		"momsleeping",
		stopsleeping,
		--[[
		"momkickingcouch",
		"bad",
		"gotoanddo",
		"momkickingcouch",
		50,
		
		"momdrinkingboxmilk",
		"bad",
		"gotoanddo",
		"momdrinkingboxmilk",
		50,
		
		"momsqueegee",
		"good",
		"gotoanddo",
		"momsqueegee",
		60,
		
		"momvacuuming",
		"good",
		"gotoanddo",
		"momvacuuming",
		60,
		--]]
	},

	mom_idle_tasks_medium =
	{
		"momyellingoncel",
		"bad",
		"gotoanddo",
		"momyellingoncel",
		stopyellingoncel,
		
		"momcutting",
		"good",
		"gotoanddo",
		"momcutting",
		startcutting,
	},

	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 = 60,
	feedback_positive_medium = 10,
	feedback_positive_hard = 10,
	feedback_negative_easy = 70,
	feedback_negative_medium = 10,
	feedback_negative_hard = 10,
}