	-- Tutorial awaiting a trigger - Everything is unlocking until the StateChange cccurs
	-- Mandatory - Ending logic
TutorialSteps = nil;
TutorialSteps =
{
-- PHOTO REQUEST ACTIVATED: DRAG GUEST AND NEWLYWEDS TO PHOTOCORNER.
-- MUST SERVE FOOD TO NEWLYWEDS IF THEY ARE REQUESTING SOME AND WAIT FOR THEM TO FINISH EATING.

	{
		Text = 
		{
			ID = "level_tutorial2.8.1",
			x = 50,
			y = 210,
		},
		
		Global= 
		{			
			"guest_tables/7tableguest_01_0",
			"guest_tables/3tableguest_01_0",
			"guest_tables/3tableguest_01_1",
			"WaitingLine",			
		},

		OnUpdate = 
		{						
			"Maricruz_0",
		},		
		
		Complete =
		{
			-- PrecisedStateChange = "ReadyForPhoto",
			StateChange = "Maricruz_0",
		},
	},
	
	{
		Text = 
		{
			ID = "level_tutorial2.8.1",
			x = 50,
			y = 210,
		},

		DownArrow = 
		{
			-- Maricruz
			{
				x = 255,
				y = 520,	
			},
			-- chair
			{
				x = 490,
				y = 215,	
			},
		},

		OnMouseDown = 
		{			
			"Maricruz_0",
		},

		OnMouseUp  =
		{			
			"chair_5",
		},

		Complete = 
		{
			OnDrop = "Maricruz_0",
		},
	},
	
	{
		Text = 
		{
			ID = "level_tutorial2.8.1",
			x = 50,
			y = 210,
		},
		
		OnUpdate = 
		{			
			"Maricruz_0",
		},

		Complete = 
		{
			StateChange = "Maricruz_0",
		},
	},
	
-- QUINN MUST PICK UP GIFT
	{
		Text = 
		{
			ID = "level_tutorial2.8.1",
			x = 50,
			y = 210,
		},
		
		LeftArrow = 
		{			
			-- gift
			{
				x = 550,
				y = 295,	
			},
		},

		OnUpdate = 
		{			
			"Quinn",
			"Maricruz_0",
		},

		OnMouseDown  =
		{			
			"chair_5",
			"Maricruz_0",
		},

		Complete = 
		{
			StateChange = "Maricruz_0",
		},
		
	},
	
-- FLO MUST PICK UP APPETIZER TRAY (Allow only one click)
	{
		Text = 
		{
			ID = "level_tutorial2.8.1",
			x = 50,
			y = 210,
		},
	
		DownArrow = 
		{
			-- tray1
			{
				x = 770,
				y = 70,	
			},
		},
		
		OnUpdate = 
		{			
			--"Quinn",
			"Flo",
		},


		OnMouseDown  =
		{			
			"traydish_01",
			"CookTable",
		},


		Complete = 
		{
			OnMouseDown = "CookTable",
		},
	},
	
-- FLO MUST GO TO COOKTABLE
	{
		Text = 
		{
			ID = "level_tutorial2.8.1",
			x = 50,
			y = 210,
		},
		
		DownArrow = 
		{
			-- tray1
			{
				x = 770,
				y = 70,
			},
		},
		
		OnUpdate = 
		{			
			"Flo",
		},

		Complete = 
		{
			StateChange = "CookTable",
		},
	},
-- PICK UP APP
	{
		Text = 
		{
			ID = "level_tutorial2.8.1",
			x = 50,
			y = 210,
		},
	
		DownArrow = 
		{
			-- tray2
			{
				x = 830,
				y = 70,	
			},
		},
		
		OnUpdate = 
		{			
			-- "Quinn",
			"Flo",
			"Maricruz_0",
		},


		OnMouseDown  =
		{			
			"traydish_02",
			"CookTable",
		},


		Complete = 
		{
			OnMouseDown = "CookTable",
		},
	},
-- PICK UP ENTREE
	{
		Text = 
		{
			ID = "level_tutorial2.8.1",
			x = 50,
			y = 210,
		},
		
		DownArrow = 
		{
			-- tray2
			{
				x = 830,
				y = 70,	
			},
		},
		
		OnUpdate = 
		{			
			"Flo",
		},

		Complete = 
		{
			StateChange = "CookTable",
		},
	},
	
-- FLO MUST SERVE Maricruz_0
	{
		Text = 
		{
			ID = "level_tutorial2.8.1",
			x = 50,
			y = 210,
		},
		
		DownArrow =
		{
			-- Maricruz
			{
				x = 490,
				y = 135,	
			},
		},
		
		OnUpdate = 
		{			
			"Flo",
			"Maricruz_0",
		},

		OnMouseDown  =
		{			
			"chair_5",
			"Maricruz_0",
		},

		Complete = 
		{
			OnEnter= "chair_5",
		},
	},	
	
-- Maricruz Eating Appetizer
	{
		Text = 
		{
			ID = "level_tutorial2.8.1",
			x = 50,
			y = 210,
		},		
		
		OnUpdate = 
		{			
			"Flo",			
			"Maricruz_0",
		},
		
		Complete = 
		{
			StateChange= "Request",
		},
	},	
-- Maricruz Eating ENTREE
	{
		Text = 
		{
			ID = "level_tutorial2.8.1",
			x = 50,
			y = 210,
		},
		
		DownArrow =
		{
			-- Maricruz
			{
				x = 490,
				y = 135,	
			},
		},
		
		OnUpdate = 
		{			
			"Flo",
			"Maricruz_0",
		},

		OnMouseDown  =
		{			
			"chair_5",
			"Maricruz_0",
		},

		Complete = 
		{
			OnEnter= "chair_5",
		},
	},

-- Maricruz ask cake	
	{
		Text = 
		{
			ID = "level_tutorial2.8.2",
			x = 50,
			y = 305,
		},		
		
		OnUpdate = 
		{			
			"Flo",			
			"Maricruz_0",
		},
		
		Complete = 
		{
			StateChange= "Request",
		},
	},
	
-- FLO MUST DROP TRAYS (Allow only one click)
	{
		Text = 
		{
			ID = "level_tutorial2.8.2",
			x = 50,
			y = 305,
		},
	
		DownArrow = 
		{
			-- tray1
			{
				x = 770,
				y = 70,	
			},
		},
		
		OnUpdate = 
		{			
			"Flo",
			"Maricruz_0",
			"CookTable",
			"chef/chef_0",
		},


		OnMouseDown  =
		{			
			"traydish_01",
			"CookTable",
		},


		Complete = 
		{
			OnMouseDown = "CookTable",
		},
	},
-- FLO MUST GO TO COOKTABLE DROP APP
	{
		Text = 
		{
			ID = "level_tutorial2.8.2",
			x = 50,
			y = 305,
		},
		
		DownArrow = 
		{
			-- tray1
			{
				x = 770,
				y = 70,
			},
		},
		
		OnUpdate = 
		{			
			"Flo",
			"CookTable",
			"chef/chef_0",
		},

		Complete = 
		{
			PrecisedStateChange = "AppetizerAddedToTray",
		},
	},
-- FLO MUST GO TO COOKTABLE DROP ENTREE
	{
		Text = 
		{
			ID = "level_tutorial2.8.2",
			x = 50,
			y = 305,
		},
	
		DownArrow = 
		{
			-- tray2
			{
				x = 820,
				y = 70,
			},
		},
		
		OnUpdate = 
		{			
			"Flo",
			"CookTable",
		},


		OnMouseDown  =
		{			
			"traydish_02",
			"CookTable",
		},


		Complete = 
		{
			PrecisedStateChange = "DinerAddedToTray",
		},
	},
	{
		Text = 
		{
			ID = "level_tutorial2.8.2",
			x = 50,
			y = 305,
		},		

		DownArrow = 
		{
			-- tray3
			{
				x = 870,
				y = 70,
			},
		},
		
		OnUpdate = 
		{			
			"Flo",
			"Maricruz_0",
			"CookTable",
		},
	
		OnMouseDown  =
		{		
			"traydish_03",
			"CookTable",
		},


--		Complete = 
--		{
--			PrecisedStateChange = "traydish_03",
--		},

		Complete = 
		{
			StateChange = "CookTable",
		},
	},		
	
-- FLO MUST SERVE Cake Maricruz_0
	{
		Text = 
		{
			ID = "level_tutorial2.8.2",
			x = 50,
			y = 305,
		},
		
		DownArrow =
		{
			-- Maricruz
			{
				x = 490,
				y = 135,	
			},
		},
		
		OnUpdate = 
		{			
			"Flo",
			"Maricruz_0",
		},

		OnMouseDown  =
		{			
			"chair_5",
			"Maricruz_0",
		},

		Complete = 
		{
			OnEnter= "chair_5",
		},
	},		
	
-- WAIT FOR PHOTOREQUEST TO APPEAR (Maricruz_0)
	{
		OnUpdate = 
		{			
			"Flo",
			"Maricruz_0",
		},
		
		Complete = 
		{
			PrecisedStateChange = "PhotoRequest",
		},
	},
	
-- PHOTO REQUEST ACTIVATED: DRAG GUEST AND NEWLYWEDS TO PHOTOCORNER.

	{
		Text = 
		{
			ID = "level_tutorial2.8.3",
			x = 50,
			y = 305,
		},

		OnUpdate = 
		{						
			"Maricruz_0",
			"bride04",
			"groom02",
		},

		OnMouseDown = 
		{			
			"Maricruz_0",
			"bride04",
			"groom02",
			"chair_5",
		},

		OnMouseUp  =
		{			
			"PhotoCorner",
		},


		LeftArrow =
		{
			-- photocorner
			{
				x = 180,
				y = 139,		
			},
		},

		Complete =
		{
			PrecisedStateChange = "ReadyForPhoto",
		},
	},

-- EVERYONE AT PHOTOCORNER: CLICK CAMERA TO TAKE SHOT
	{
		Text = 
		{
			ID = "level_tutorial2.8.4",
			x = 50,
			y = 305,
		},

		LeftArrow =
		{
			-- camera
			{
				x = 300,
				y = 139,		
			},
		},

		OnUpdate = 
		{			
			"Quinn",
		},

		OnMouseDown  =
		{			
			"PhotoCorner",
		},

		Complete =
		{
			OnEnter = "PhotoCorner",
		},
	},

-- VALIDATE PHOTO	
	{
		OnUpdate = 
		{			
			"Maricruz_0",
			"Quinn",
			"bride04",
			"groom02",
		},
		Complete = 
		{
			StateChange = "Request",
		},

	},
	
	{
		Text = 
		{
			ID = "level_tutorial2.8.5",
			x = 50,
			y = 305,
		},	
		

		OnUpdate = 
		{			
			"Maricruz_0",
			"Quinn",
			"bride04",
			"groom02",
		},

		OnMouseDown = 
		{			
			"Maricruz_0",
			"PhotoCorner",
		},

		OnMouseUp  =
		{			
			"DanceFloor",
		},

		Complete = 
		{
			OnDrop = "Maricruz_0",
		},
	},

}