-- --------------------------------------------------------------------------
-- Copyright © 2008 PlayFirst, Inc. All Rights Reserved.
--
-- This material is the confidential trade secret and proprietary
-- information of PlayFirst, Inc. It may not be reproduced, used, disclosed,
-- sold or transferred without the prior written consent of PlayFirst, Inc. 
-- All rights reserved.
-- --------------------------------------------------------------------------

tutorial = nil;
tutorial = 
{
	Venue1 =
	{
		SkipTutorialNbLevelAlwaysOpen = 2;
		Level1=
		{
			nbCommand = 22,
			userRestriction = "true",
			nbCommandUnRestricted = 1,
			
			tutorial1 =			
			{
				tutorialNumber		= 1,
				nbInstructions	= 1,
				position		= "Left",
				
				instruction1 = 
				{
					command = "PauseShowing",
					param1	= "300",
					param2	= "true",	--bool
				}
			},

			tutorial2 =			
			{
				tutorialNumber		= 2,
				nbInstructions	= 1,
				position		= "BottomRight",
				
				instruction1 = 
				{
					command = "GoMachine",
					param1	= "YoungLady",
					param2	= "trendmill",
				}
			},

			tutorial3 = 
			{
				tutorialNumber		= 3,
				nbInstructions	= 1,
				position		= "BottomRight",
				
				instruction1 = 
				{
					command = "PauseShowing",
					param1	= "1000",
					param2	= "true",	--Continue
				}
			},

			tutorial4 =			
			{
				tutorialNumber	= 4,
				nbInstructions	= 4,
				position		= "BottomLeft",
				lockPopup		= "true",
				
				instruction1 = 
				{
					command = "RequestStop",
					param1	= "YoungLady",
					param2	= "Towel",
				},
				instruction2 = 
				{
					command = "ClickStation",
					param1	= "TowelStation",
					param2	= "0",
				},
				instruction3 = 
				{
					command = "PauseShowing",
					param1	= 300,
					param2	= "false",
				},
				instruction4 = 
				{
					command = "ClickMachine",
					param1	= "trendmill",
					param2	= "0",	--Continue
				},
			},

			tutorial5 =			
			{
				tutorialNumber	= 5,
				nbInstructions	= 4,
				position		= "BottomLeft",
				lockPopup		= "true",
				
				instruction1 = 
				{
					command = "PauseShowing",
					param1	= 300,
					param2	= "false",
				},
				instruction2 = 
				{
					command = "PickFloorItem",
					param1	= "Towel",
					param2	= "0",
				},
				instruction3 = 
				{
					command = "PauseShowing",
					param1	= 50,
					param2	= "false",
				},
				instruction4 = 
				{
					command = "ClickStation",
					param1	= "TowelStation",
					param2	= "0",
				}
			},

			tutorial6 =			
			{
				tutorialNumber	= 6,
				nbInstructions	= 1,
				position		= "BottomLeft",
				
				instruction1 = 
				{
					command = "PauseShowing",
					param1	= "0",
					param2	= "true",	--Continue
				}
			},

			tutorial7 = 
			{
				tutorialNumber	= 7,
				nbInstructions	= 1,
				position		= "BottomLeft",
				
				instruction1 = 
				{
					command = "GoShower",
					param1	= "trendmill",
					param2 = "0",	--bool
				}
			},

			tutorial8 = 
			{
				tutorialNumber	= 8,
				nbInstructions	= 2,
				position		= "BottomRight",
				
				instruction1 = 
				{
					command = "PauseShowing",
					param1	= 100,
					param2	= "0",	
				},				
				instruction2 = 
				{
					command = "ClickMachine",
					param1	= "trendmill",
					param2 = "0",	--bool
				}
			},

			tutorial9 =			
			{
				tutorialNumber	= 9,
				nbInstructions	= 1,
				position		= "BottomRight",
			
				instruction1 = 
				{
					command = "PauseShowing",
					param1	= 10500,
					param2	= "true",	--Continue
				}
			},

			tutorial10 = 
			{
				tutorialNumber	= 10,
				nbInstructions	= 1,
				position		= "BottomRight",
				
				instruction1 = 
				{
					command = "GoMachine",
					param1	= "HungryManS",
					param2 = "bench",	
				}
			},

			tutorial11 = 
			{
				tutorialNumber	= 11,
				nbInstructions	= 2,
				position		= "BottomRight",
				
				instruction1 = 
				{
					command = "PauseShowing",
					param1	= 200,
					param2	= "false",	--Continue
				},
				instruction2 = 
				{
					command = "GoMachine",
					param1	= "HungryManC",
					param2 = "trendmill",	
				}
			},

			tutorial12 = 
			{
				tutorialNumber	= 12,
				nbInstructions	= 1,
				position		= "Right",
				
				instruction1 = 
				{
					command = "PauseShowing",
					param1	= "700",
					param2	= "true",	--Continue
				}
			},

			tutorial13 =			
			{
				tutorialNumber	= 13,
				nbInstructions	= 4,
				position		= "BottomLeft",
				lockPopup		= "true",
				
				instruction1 = 
				{
					command = "RequestStop",
					param1	= "HungryManC",
					param2	= "Towel",
				},
				instruction2 = 
				{
					command = "ClickStation",
					param1	= "TowelStation",
					param2	= "0",
				},
				instruction3 = 
				{
					command = "PauseShowing",
					param1	= "300",
					param2	= "false",	--Continue
				},
				instruction4 = 
				{
					command = "ClickStation",
					param1	= "TowelStation",
					param2	= "0",
				}
			},

			tutorial14 =			
			{
				tutorialNumber	= 14,
				nbInstructions	= 4,
				position		= "BottomLeft",	
				lockPopup		= "true",

				instruction1 = 
				{
					command = "PauseShowing",
					param1	= "200",
					param2	= "false",	--Continue
				},
				instruction2 = 
				{
					command = "ClickMachine",
					param1	= "trendmill",
					param2	= "0",	--Continue
				},
				instruction3 = 
				{
					command = "PauseShowing",
					param1	= "400",
					param2	= "false",	--Continue
				},
				instruction4 = 
				{
					command = "ClickMachine",
					param1	= "bench",
					param2	= "0",	--Continue
				}
			},

			tutorial15 =			
			{
				tutorialNumber	= 15,
				nbInstructions	= 4,
				position		= "BottomLeft",
				lockPopup		= "true",
				
				instruction1 = 
				{
					command = "PauseShowing",
					param1	= "200",
					param2	= "false",	--Continue
				},
				instruction2 = 
				{
					command = "ClickStation",
					param1	= "WaterStation",
					param2	= "0",
				},
				instruction3 = 
				{
					command = "PauseShowing",
					param1	= "500",
					param2	= "false",	--Continue
				},
				instruction4 = 
				{
					command = "ClickStation",
					param1	= "WaterStation",
					param2	= "0",
				}
			},

			tutorial16 =			
			{
				tutorialNumber	= 16,
				nbInstructions	= 4,
				position		= "BottomLeft",	
				lockPopup		= "true",
				
				instruction1 = 
				{
					command = "PauseShowing",
					param1	= "100",
					param2	= "false",	--Continue
				},
				instruction2 = 
				{
					command = "ClickMachine",
					param1	= "trendmill",
					param2	= "0",	--Continue
				},
				instruction3 = 
				{
					command = "PauseShowing",
					param1	= "300",
					param2	= "false",	--Continue
				},
				instruction4 = 
				{
					command = "ClickMachine",
					param1	= "bench",
					param2	= "0",	--Continue
				}
			},

			tutorial17 =			
			{
				tutorialNumber	= 17,
				nbInstructions	= 6,
				position		= "BottomLeft",
				instruction1 = 
				{
					command = "PauseShowing",
					param1	= 200,
					param2	= "false",
				},				
				instruction2 = 
				{
					command = "PickFloorItem",
					param1	= "Water",
					param2	= "0",
				},
				instruction3 = 
				{
					command = "PauseShowing",
					param1	= 200,
					param2	= "false",
				},
				instruction4 = 
				{
					command = "PickFloorItem",
					param1	= "Water",
					param2	= "0",
				},
				instruction5 = 
				{
					command = "PauseShowing",
					param1	= 200,
					param2	= "false",
				},
				
				instruction6 = 
				{
					command = "ClickStation",
					param1	= "WaterStation",
					param2	= "0",
				}
			},

			tutorial18 = 
			{
				tutorialNumber	= 18,
				nbInstructions	= 1,
				position		= "BottomRight",
				
				instruction1 = 
				{
					command = "PauseShowing",
					param1	= "600",
					param2 = "true",	
				}
			},


			tutorial19 =			
			{
				tutorialNumber	= 19,
				nbInstructions	= 1,
				position		= "BottomLeft",	

				instruction1 = 
				{
					command = "ClickMachine",
					param1	= "trendmill",
					param2	= "0",	--Continue
				}

			},

			tutorial20 = 
			{
				tutorialNumber	= 21,
				nbInstructions	= 3,
				position		= "BottomLeft",
				
				instruction1 = 
				{
					command = "GoShower",
					param1	= "trendmill",
					param2 = "0",	--bool
				},
				instruction2 = 
				{
					command = "PauseShowing",
					param1	= 300,
					param2 = "false",	
				},
				instruction3 = 
				{
					command = "ClickMachine",
					param1	= "trendmill",
					param2	= "0",	--Continue
				}
			},
			tutorial21 =			
			{
				tutorialNumber	= 22,
				nbInstructions	= 1,
				position		= "BottomLeft",	

				instruction1 = 
				{
					command = "PauseShowing",
					param1	= "1000",
					param2 = "true",
				}
			},

			tutorial22 = 
			{
				tutorialNumber	= 23,
				nbInstructions	= 1,
				position		= "BottomLeft",
				
				instruction1 = 
				{
					command = "IsLevelDirty",
					param1	= "0",	--bool
					param2 = "0",	--bool
				}
			},

		},
		Level2=
		{
			nbCommand = 3,
			
			tutorial1 =			
			{
				tutorialNumber		= 24,
				nbInstructions	= 1,
				position		= "BottomRight",
				
				instruction1 = 
				{
					command = "GoMachine",
					param1	= "Senior",
					param2 = "bench",	
				}
			},

			tutorial2 =			
			{
				tutorialNumber		= 25,
				nbInstructions	= 1,
				position		= "Left",
				lockPopup		= "true",
				
				instruction1 = 
				{
					command = "GoMachine",
					param1	= "HungryManS",
					param2 = "stretchingmat",	
				}
			},

			tutorial3 =			
			{
				tutorialNumber		= 26,
				nbInstructions	= 1,
				position		= "Left",
				
				instruction1 = 
				{
					command = "PauseShowing",
					param1	= "0",
					param2 = "true",	
				}
			}
		},
		Level3=
		{
			nbCommand = 5,
			nbUpgradeStep = 3,
			
			tutorial1 =			
			{
				tutorialNumber	= 11111,
				nbInstructions	= 1,
				position		= "Left",
				lockPopup		= "true",
				instruction1 = 
				{
					command = "PauseShowing",
					param1	= "0",
					param2	= "true",	--bool

				}
			},
			tutorial2 =			
			{
				tutorialNumber	= 11112,
				nbInstructions	= 1,
				position		= "Left",
				assets_data = 
				{
					nb_assets = 2,
					asset1 = "images/ui/buttons/but41",
					asset2 = "images/ui/buttons/icon/iconupgrade",
					x1 = 25,
					y1 = 60,
					x2 = 25,
					y2 = 60,
				},
				
				instruction1 = 
				{
					command = "PauseShowing",
					param1	= "0",
					param2	= "true",	--bool

				}
			},
			tutorial3 =			
			{
				tutorialNumber	= 11113,
				nbInstructions	= 1,
				position		= "Left",
				instruction1 = 
				{
					command = "PauseShowing",
					param1	= "0",
					param2	= "true",	--bool

				}
			},			
			tutorial4 =			
			{
				tutorialNumber		= 27,
				nbInstructions	= 1,
				position		= "Left",
				lockPopup		= "true",
				
				instruction1 = 
				{
					command = "ClickStation",
					param1	= "JuiceStation",
					param2 = "0",	
				}
			},

			tutorial5 =			
			{
				tutorialNumber		= 28,
				nbInstructions	= 1,
				position		= "Left",
				
				instruction1 = 
				{
					command = "PauseShowing",
					param1	= "0",
					param2 = "true",	
				}
			}

		},

		Level4=
		{
			nbCommand = 1,
			
			tutorial1 =			
			{
				tutorialNumber		= 29,
				nbInstructions	= 3,
				position		= "Left",

				instruction1 = 
				{
					command = "IsSweat",
					param1	= "HungryManS",
					param2 = "0",	
				},
				instruction2 = 
				{
					command = "PickInStation",
					param1	= "TowelStation",
					param2 = "0",
					--tutorialNbIsReady = 295551,
					--tutorialNbIsTowel = 295552,
					--tutorialNbIsWater = 295553,
				},
				instruction3 = 
				{
					command = "ClickCustomer",
					param1	= "HungryManS",
					param2 = "0",	
				}
			}
		},
		Level5=
		{
			nbCommand = 0,
		},
		Level6=
		{
			nbCommand = 1,
			
			tutorial1 =			
			{
				tutorialNumber		= 30,
				nbInstructions	= 1,
				position		= "Left",
				
				instruction1 = 
				{
					command = "PauseShowing",
					param1	= "0",
					param2 = "true",	
				}
			}
		},
		Level7=
		{
			nbCommand = 2,

			nbUpgradeStep = 1,
			
			tutorial1 =			
			{
				tutorialNumber	= 11114,
				nbInstructions	= 1,
				position		= "Left",
				instruction1 = 
				{
					command = "PauseShowing",
					param1	= "0",
					param2	= "true",	--bool

				}
			},
			
			tutorial2 =			
			{
				tutorialNumber		= 31,
				nbInstructions	= 1,
				position		= "Left",
				
				instruction1 = 
				{
					command = "RepairShower",
					param1	= "0",
					param2 = "0",	
				},
			}
		},
		Level8=
		{
			nbCommand = 0,
		},
		Level9=
		{
			nbCommand = 0,
		},
		Level10=
		{
			nbCommand = 0,
		}
	},
	Venue2 =
	{
		Level1=
		{
			nbCommand = 1,
			
			tutorial1 =			
			{
				tutorialNumber		= 32,
				nbInstructions	= 1,
				position		= "BottomRight",
				
				instruction1 = 
				{
					command = "OverviewMachine",
					param1	= "bike",
					param2 = "true",	
				}
			}
		},
		Level2=

		{
			nbCommand = 0,
		},
		Level3=
		{
			nbCommand = 1,
			
			tutorial1 =			
			{
				tutorialNumber		= 33,
				nbInstructions	= 1,
				position		= "Left",
				
				instruction1 = 
				{
					command = "ClickStation",
					param1	= "SnackStation",
					param2 = "0",	
				}
			}
		},
		Level4=
		{
			nbCommand = 0,
		},
		Level5=
		{
			nbCommand = 1,
			
			tutorial1 =			
			{
				tutorialNumber		= 34,
				nbInstructions	= 2,
				position		= "Left",
				
				instruction1 = 
				{
					command = "ShinyToolBox",
					param1	= "true",
				},
				instruction2 = 
				{
					command = "UnShinyToolBox",	
				},
			}
		},
		Level6=
		{
			nbCommand = 0,
		},
		Level7=
		{
			nbCommand = 0,
		},
		Level8=
		{
			nbCommand = 0,
		},
		Level9=
		{
			nbCommand = 0,
		},
		Level10=
		{
			nbCommand = 0,
		}
	},
	Venue3 =
	{
		Level1=
		{
			nbCommand = 0,
		},
		Level2=
		{
			nbCommand = 0,
		},
		Level3=
		{
			nbCommand = 0,
		},
		Level4=
		{
			nbCommand = 0,
		},
		Level5=
		{
			nbCommand = 0,
		},
		Level6=
		{
			nbCommand = 0,
		},
		Level7=
		{
			nbCommand = 0,
		},
		Level8=
		{
			nbCommand = 0,
		},
		Level9=
		{
			nbCommand = 0,
		},
		Level10=
		{
			nbCommand = 0,
		}
	},
	Venue4 =
	{
		Level1=
		{
			nbCommand = 0,
		},
		Level2=
		{
			nbCommand = 0,
		},
		Level3=
		{
			nbCommand = 0,
		},
		Level4=
		{
			nbCommand = 0,
		},
		Level5=
		{
			nbCommand = 0,
		},
		Level6=
		{
			nbCommand = 0,
		},
		Level7=
		{
			nbCommand = 0,
		},
		Level8=
		{
			nbCommand = 0,
		},
		Level9=
		{
			nbCommand = 0,
		},
		Level10=
		{
			nbCommand = 0,
		}
	},
	Venue5 =
	{
		Level1=
		{
			nbCommand = 0,
		},
		Level2=
		{
			nbCommand = 0,
		},
		Level3=
		{
			nbCommand = 0,
		},
		Level4=
		{
			nbCommand = 0,
		},
		Level5=
		{
			nbCommand = 0,
		},
		Level6=
		{
			nbCommand = 0,
		},
		Level7=
		{
			nbCommand = 0,
		},
		Level8=
		{
			nbCommand = 0,
		},
		Level9=
		{
			nbCommand = 0,
		},
		Level10=
		{
			nbCommand = 0,
		}
	},
}