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",
		"sendtobed",
		1,
		2,
		"kids",
		"studytime",
		4,
		1,
		"dad",
		"dothedishes",
		4,
		1,
		"mom",
		"setthetable",
		4,
		1,
		"dad",
		"familytime",
		1,
		1,
		"mom",
		"makesdinner",
		4,
		1,
		"mom",
		"familytime",
		1,
		1,
	},

	goals_medium =
	{
		"dad",
		"messes",
		3,
		5,
		"mom",
		"sendtobed",
		1,
		2,
		"kids",
		"studytime",
		4,
		1,
		"dad",
		"dothedishes",
		4,
		1,
		"mom",
		"setthetable",
		4,
		1,
		"dad",
		"familytime",
		1,
		1,
		"mom",
		"makesdinner",
		4,
		1,
		"mom",
		"familytime",
		1,
		1,
	},

	goals_hard =
	{
		"dad",
		"messes",
		3,
		5,
		"mom",
		"sendtobed",
		1,
		2,
		"kids",
		"studytime",
		4,
		1,
		"dad",
		"dothedishes",
		4,
		1,
		"mom",
		"setthetable",
		4,
		1,
		"dad",
		"familytime",
		1,
		1,
		"mom",
		"makesdinner",
		4,
		1,
		"mom",
		"familytime",
		1,
		1,
	},

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

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

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


	-- Scenario initial state
	objects_initial_states_easy =
	{
		"banheira",
		"clean",
		"brinquedos",
		"clean",
		"brinquedos2",
		"dirty",
		"camacrianca",
		"clean",
		"camapai",
		"clean",
		"desenhocorredor",
		"clean",
		"guardaroupafilha",
		"clean",
		"guardaroupaspais",
		"clean",
		"piabanheiro",
		"dirty",
		"plantabanheiro",
		"clean",
		"sofa",
		"clean",
		"toy8",
		"clean",
		"toy9",
		"clean",
		"toy11",
		"clean",
		"toy12",
		"clean",
		"toy1",
		"clean",
		"toy3",
		"clean",
		"toy5",
		"clean",
	},

	toys_on_the_floor_easy = 0,

	objects_initial_states_medium =
	{
		"banheira",
		"clean",
		"brinquedos",
		"clean",
		"brinquedos2",
		"dirty",
		"camacrianca",
		"clean",
		"camapai",
		"clean",
		"desenhocorredor",
		"clean",
		"guardaroupafilha",
		"clean",
		"guardaroupaspais",
		"clean",
		"piabanheiro",
		"dirty",
		"plantabanheiro",
		"clean",
		"sofa",
		"clean",
		"toy8",
		"clean",
		"toy9",
		"clean",
		"toy11",
		"clean",
		"toy12",
		"clean",
		"toy1",
		"clean",
		"toy3",
		"clean",
		"toy5",
		"clean",
	},

	toys_on_the_floor_medium = 0,

	objects_initial_states_hard =
	{
		"banheira",
		"clean",
		"brinquedos",
		"clean",
		"brinquedos2",
		"dirty",
		"camacrianca",
		"clean",
		"camapai",
		"clean",
		"desenhocorredor",
		"clean",
		"guardaroupafilha",
		"clean",
		"guardaroupaspais",
		"clean",
		"piabanheiro",
		"dirty",
		"plantabanheiro",
		"clean",
		"sofa",
		"clean",
		"toy8",
		"clean",
		"toy9",
		"clean",
		"toy11",
		"clean",
		"toy12",
		"clean",
		"toy1",
		"clean",
		"toy3",
		"clean",
		"toy5",
		"clean",
	},

	toys_on_the_floor_hard = 0,

	-- jimmy
	toddler_initial_state = "normal",
	toddler_initial_node = "6",

	toddler_tasks_easy =
	{
		gotoobjectanddo,
		"plantabanheiro",
		"plantabanheiro",
		"10",
		"1",
		gotoobjectanddo,
		"vaso",
		"vaso",
		"10",
		"1",
		gotoobjectanddo,
		timed,
		20000,
		"asksleep4",
		"asksleep4",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco",
		"berco",
		gotoobjectanddo,
		timed,
		135000,
		"asksleep2",
		"asksleep2",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco",
		"berco",
		gotonodeanddo,
		"21",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"26",
		"idle",
		"10",
		"1",
		gotoobjectanddo,
		"asksleep2",
		"asksleep2",
		"10",
		"2",
		linkedto,
		teleporttoobjectanddo,
		"berco",
		"berco",
		gotonodeanddo,
		"3",
		"familytime",
		"0",
		"1",
	},

	toddler_tasks_medium =
	{
		gotoobjectanddo,
		"plantabanheiro",
		"plantabanheiro",
		"10",
		"1",
		gotoobjectanddo,
		"vaso",
		"vaso",
		"10",
		"1",
		gotoobjectanddo,
		timed,
		20000,
		"asksleep4",
		"asksleep4",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco",
		"berco",
		gotoobjectanddo,
		timed,
		135000,
		"asksleep2",
		"asksleep2",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco",
		"berco",
		gotonodeanddo,
		"21",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"26",
		"idle",
		"10",
		"1",
		gotoobjectanddo,
		"asksleep2",
		"asksleep2",
		"10",
		"2",
		linkedto,
		teleporttoobjectanddo,
		"berco",
		"berco",
		gotonodeanddo,
		"3",
		"familytime",
		"0",
		"1",
	},

	toddler_tasks_hard =
	{
		gotoobjectanddo,
		"plantabanheiro",
		"plantabanheiro",
		"10",
		"1",
		gotoobjectanddo,
		"vaso",
		"vaso",
		"10",
		"1",
		gotoobjectanddo,
		timed,
		20000,
		"asksleep4",
		"asksleep4",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco",
		"berco",
		gotoobjectanddo,
		timed,
		135000,
		"asksleep2",
		"asksleep2",
		"10",
		"1",
		linkedto,
		teleporttoobjectanddo,
		"berco",
		"berco",
		gotonodeanddo,
		"21",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"26",
		"idle",
		"10",
		"1",
		gotoobjectanddo,
		"asksleep2",
		"asksleep2",
		"10",
		"2",
		linkedto,
		teleporttoobjectanddo,
		"berco",
		"berco",
		gotonodeanddo,
		"3",
		"familytime",
		"0",
		"1",
	},

	-- steve
	youngchild1_initial_state = "normal",
	youngchild1_initial_node = "29",

	youngchild1_tasks_easy =
	{
		gotoobjectanddo,
		"tv",
		"tv",
		"10",
		"1",
		gotoobjectanddo,
		"guardaroupafilha",
		"guardaroupafilha",
		"10",
		"1",
		gotonodeanddo,
		"5",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"22",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"36",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"41",
		"familytime",
		"0",
		"1",
	},

	youngchild1_tasks_medium =
	{
		gotoobjectanddo,
		"tv",
		"tv",
		"10",
		"1",
		gotoobjectanddo,
		"guardaroupafilha",
		"guardaroupafilha",
		"10",
		"1",
		gotonodeanddo,
		"5",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"22",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"36",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"43",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"51",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"41",
		"familytime",
		"0",
		"1",
	},

	youngchild1_tasks_hard =
	{
		gotoobjectanddo,
		"tv",
		"tv",
		"10",
		"1",
		gotoobjectanddo,
		"guardaroupafilha",
		"guardaroupafilha",
		"10",
		"1",
		gotonodeanddo,
		"5",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"22",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"36",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"43",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"51",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"41",
		"familytime",
		"0",
		"1",
	},

	-- judy
	youngchild2_initial_state = "normal",
	youngchild2_initial_node = "29",

	youngchild2_tasks_easy =
	{
		gotoobjectanddo,
		"tv",
		"tv",
		"10",
		"1",
		gotoobjectanddo,
		"guardaroupafilha",
		"guardaroupafilha",
		"10",
		"1",
		gotonodeanddo,
		"5",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"22",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"36",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"145",
		"familytime",
		"0",
		"1",
	},

	youngchild2_tasks_medium =
	{
		gotoobjectanddo,
		"tv",
		"tv",
		"10",
		"1",
		gotoobjectanddo,
		"guardaroupafilha",
		"guardaroupafilha",
		"10",
		"1",
		gotonodeanddo,
		"5",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"22",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"36",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"43",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"51",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"145",
		"familytime",
		"0",
		"1",
	},

	youngchild2_tasks_hard =
	{
		gotoobjectanddo,
		"tv",
		"tv",
		"10",
		"1",
		gotoobjectanddo,
		"guardaroupafilha",
		"guardaroupafilha",
		"10",
		"1",
		gotonodeanddo,
		"5",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"22",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"36",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"43",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"51",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"145",
		"familytime",
		"0",
		"1",
	},

	-- louise
	schoolaged_initial_state = "normal",
	schoolaged_initial_node = "3",

	schoolaged_tasks_easy =
	{
		gotoobjectanddo,
		"piabanheiro",
		"piabanheiro",
		"10",
		"1",
		gotonodeanddo,
		"15",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"55",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"12",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		timed,
		15000,
		"19",
		"familytime",
		"10",
		"1",
		gotoobjectanddo,
		timed,
		75000,
		"mesajantar1",
		"mesajantar1",
		"10",
		"1",
		linkedto,
		order,
		"youngchild1",
		gotonodeanddo,
		"118",
		"mesajantar1",
		linkedto,
		order,
		"youngchild2",
		gotonodeanddo,
		"124",
		"mesajantar1",
		linkedto,
		order,
		"toddler",
		gotonodeanddo,
		"123",
		"mesajantar1",
		gotoobjectanddo,
		timed,
		120000,
		"schoolagedsit",
		"schoolagedsit",
		"10",
		"1",
		linkedto,
		gotoobjectanddo,
		"escrivaninha",
		"escrivaninha",
	},

	schoolaged_tasks_medium =
	{
		gotoobjectanddo,
		"piabanheiro",
		"piabanheiro",
		"10",
		"1",
		gotonodeanddo,
		"15",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"25",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"35",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"45",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"55",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"12",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		timed,
		15000,
		"19",
		"familytime",
		"10",
		"1",
		gotoobjectanddo,
		timed,
		75000,
		"mesajantar1",
		"mesajantar1",
		"10",
		"1",
		linkedto,
		order,
		"youngchild1",
		gotonodeanddo,
		"118",
		"mesajantar1",
		linkedto,
		order,
		"youngchild2",
		gotonodeanddo,
		"124",
		"mesajantar1",
		linkedto,
		order,
		"toddler",
		gotonodeanddo,
		"123",
		"mesajantar1",
		gotoobjectanddo,
		timed,
		120000,
		"schoolagedsit",
		"schoolagedsit",
		"10",
		"1",
		linkedto,
		gotoobjectanddo,
		"escrivaninha",
		"escrivaninha",
	},

	schoolaged_tasks_hard =
	{
		gotoobjectanddo,
		"piabanheiro",
		"piabanheiro",
		"10",
		"1",
		gotonodeanddo,
		"15",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"25",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"35",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"45",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"55",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"12",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		timed,
		15000,
		"19",
		"familytime",
		"10",
		"1",
		gotoobjectanddo,
		timed,
		75000,
		"mesajantar1",
		"mesajantar1",
		"10",
		"1",
		linkedto,
		order,
		"youngchild1",
		gotonodeanddo,
		"118",
		"mesajantar1",
		linkedto,
		order,
		"youngchild2",
		gotonodeanddo,
		"124",
		"mesajantar1",
		linkedto,
		order,
		"toddler",
		gotonodeanddo,
		"123",
		"mesajantar1",
		gotoobjectanddo,
		timed,
		120000,
		"schoolagedsit",
		"schoolagedsit",
		"10",
		"1",
		linkedto,
		gotoobjectanddo,
		"escrivaninha",
		"escrivaninha",
	},

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


	pet_tasks_easy =
	{
		gotonodeanddo,
		"36",
		"camapai",
		"10",
		"1",
		gotoobjectanddo,
		"playwithdog",
		"playwithdog",
		"10",
		"1",
		gotoobjectanddo,
		"dogball1",
		"dogball1",
		"10",
		"1",
		gotoobjectanddo,
		"dogball2",
		"dogball2",
		"10",
		"1",
		gotoobjectanddo,
		"dogball3",
		"dogball3",
		"10",
		"1",
		gotonodeanddo,
		"22",
		"idle",
		"15",
		"2",
		gotonodeanddo,
		"11",
		"idle",
		"15",
		"2",
		gotonodeanddo,
		"55",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"61",
		"idle",
		"10",
		"1",
	},

	pet_tasks_medium =
	{
		gotonodeanddo,
		"36",
		"camapai",
		"10",
		"1",
		gotoobjectanddo,
		"playwithdog",
		"playwithdog",
		"10",
		"1",
		gotoobjectanddo,
		"dogball1",
		"dogball1",
		"10",
		"1",
		gotoobjectanddo,
		"dogball2",
		"dogball2",
		"10",
		"1",
		gotoobjectanddo,
		"dogball3",
		"dogball3",
		"10",
		"1",
		gotonodeanddo,
		"22",
		"idle",
		"15",
		"2",
		gotonodeanddo,
		"11",
		"idle",
		"15",
		"2",
		gotonodeanddo,
		"55",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"61",
		"idle",
		"10",
		"1",
	},

	pet_tasks_hard =
	{
		gotonodeanddo,
		"36",
		"camapai",
		"10",
		"1",
		gotoobjectanddo,
		"playwithdog",
		"playwithdog",
		"10",
		"1",
		gotoobjectanddo,
		"dogball1",
		"dogball1",
		"10",
		"1",
		gotoobjectanddo,
		"dogball2",
		"dogball2",
		"10",
		"1",
		gotoobjectanddo,
		"dogball3",
		"dogball3",
		"10",
		"1",
		gotonodeanddo,
		"22",
		"idle",
		"15",
		"2",
		gotonodeanddo,
		"11",
		"idle",
		"15",
		"2",
		gotonodeanddo,
		"55",
		"idle",
		"10",
		"1",
		gotonodeanddo,
		"61",
		"idle",
		"10",
		"1",
	},

	-- joshua
	dad_initial_state = "normal",
	dad_initial_node = "25",
	dad_idle_time = 3500,

	dad_idle_tasks_easy =
	{
		"dadsweepingidle",
		"good",
		"gotoanddo",
		"dadsweeping",
		startsweeping,

		"daddustingidle",
		"good",
		"gotoanddo",
		"daddusting",
		startdusting,

		"dadironing",
		"good",
		"gotoanddo",
		"dadironing",
		startironing,

		"dadvacuuming",
		"good",
		"gotoanddo",
		"dadvacuuming",
		startvacuuming,

	},

	dad_idle_tasks_medium =
	{
		"dadsweepingidle",
		"good",
		"gotoanddo",
		"dadsweeping",
		startsweeping,

		"daddustingidle",
		"good",
		"gotoanddo",
		"daddusting",
		startdusting,

		"dadironing",
		"good",
		"gotoanddo",
		"dadironing",
		startironing,

		"dadvacuuming",
		"good",
		"gotoanddo",
		"dadvacuuming",
		startvacuuming,

	},

	dad_idle_tasks_hard =
	{
		"dadsweepingidle",
		"good",
		"gotoanddo",
		"dadsweeping",
		startsweeping,

		"daddustingidle",
		"good",
		"gotoanddo",
		"daddusting",
		startdusting,

		"dadironing",
		"good",
		"gotoanddo",
		"dadironing",
		startironing,

		"dadvacuuming",
		"good",
		"gotoanddo",
		"dadvacuuming",
		startvacuuming,

	},

	-- cindy
	mom_initial_state = "normal",
	mom_initial_node = "45",
	mom_idle_time = 4200,

	mom_idle_tasks_easy =
	{
		"momsweepingidle",
		"good",
		"gotoanddo",
		"momsweeping",
		startsweeping,

		"momironing",
		"good",
		"gotoanddo",
		"momironing",
		startironing,

		"momvacuuming",
		"good",
		"gotoanddo",
		"momvacuuming",
		startvacuuming,

		"momfloorsqueegee",
		"good",
		"gotoanddo",
		"momsqueegee",
		startsqueeging,

	},

	mom_idle_tasks_medium =
	{
		"momsweepingidle",
		"good",
		"gotoanddo",
		"momsweeping",
		startsweeping,

		"momironing",
		"good",
		"gotoanddo",
		"momironing",
		startironing,

		"momvacuuming",
		"good",
		"gotoanddo",
		"momvacuuming",
		startvacuuming,

		"momfloorsqueegee",
		"good",
		"gotoanddo",
		"momsqueegee",
		startsqueeging,

	},

	mom_idle_tasks_hard =
	{
		"momsweepingidle",
		"good",
		"gotoanddo",
		"momsweeping",
		startsweeping,

		"momironing",
		"good",
		"gotoanddo",
		"momironing",
		startironing,

		"momvacuuming",
		"good",
		"gotoanddo",
		"momvacuuming",
		startvacuuming,

		"momfloorsqueegee",
		"good",
		"gotoanddo",
		"momsqueegee",
		startsqueeging,

	},

	perfect_time_easy = 200,
	perfect_time_medium = 190,
	perfect_time_hard = 180,
	good_time_easy = 300,
	good_time_medium = 270,
	good_time_hard = 250,
	feedback_positive_easy = 25,
	feedback_positive_medium = 25,
	feedback_positive_hard = 25,
	feedback_negative_easy = 20,
	feedback_negative_medium = 20,
	feedback_negative_hard = 20,
}
