require( "scripts/style.lua" );
--require( "scripts/userdata.lua");

require( "scripts/basicSetting.lua");


gameObject = 
{
	weddingTable = 
	{
		--[[1 = 
		{
			x = 180, y = 250, numSeat = 4,
			image = "assets/images/table/table",
			markImage = "assets/images/food/item_mark1"
		},
		--2 = 
		{
			x = 350, y = 250, numSeat = 4,
			image = "assets/images/table/table",
			markImage = "assets/images/food/item_mark2"
		},]]--
		--3 = 
		{
			x = 180, y = 300, numSeat = 4,
			image = "assets/images/table/table",
			markImage = "assets/images/food/item_mark1"
		},

		--4 = 
		{
			x = 350, y = 300, numSeat = 4,
			image = "assets/images/table/table",
			markImage = "assets/images/food/item_mark2"
		},
		--5 = 
		{
			x = 265, y = 430, numSeat = 4,
			image = "assets/images/table/table",
			markImage = "assets/images/food/item_mark3"
		},
		--[[6 = 
		{
			x = 350, y = 500, numSeat = 4,
			image = "assets/images/table/table",
			markImage = "assets/images/food/item_mark6"
		},  ]]--

		
	},

	guestList = {
		--1 = 
		{
			type = female01,
			bodyType = femaleBodyType1,												
			comment = "Oh, the bride looks so beautiful!",					
			matchType = male01,
			matchHeadImage = headImage[male01+1][3],
			tolerance = 100000,
			waitBeforeSit = 5000,
			waitBeforeAppetizer = 4000,
			waitBeforeDinner = 17000,
			waitBeforeCake = 12000,
			waitBeforeGift = 6000,
			percentRequestDrink = 30,
			percentRequestMusic = 5,
			percentRequestResit = 20
		},
		
		--2 =
		{
			type = male01,
			bodyType = maleBodyType1,												
			comment = "Go help your Uncle Irv out of the punch bowl, would you?",					
			matchType = female01,
			matchHeadImage = headImage[female01+1][3],					
			tolerance = 100000,
			waitBeforeSit = 68000,
			waitBeforeAppetizer = 1000,
			waitBeforeDinner = 6000,
			waitBeforeCake = 14000,
			waitBeforeGift = 2000,
			percentRequestDrink = 1,
			percentRequestMusic = 1,
			percentRequestResit = 2
		},
		--3 = 
		{
			type = uncle,
			bodyType = uncleBodyType,												
			comment = "Ted had to leave. The electric slide aggravated his sciatica.",					
			matchType = aunt,
			matchHeadImage = headImage[aunt+1][3],					
			tolerance = 100000,
			waitBeforeSit = 1000,
			waitBeforeAppetizer = 1000,
			waitBeforeDinner = 10000,
			waitBeforeCake = 10000,
			waitBeforeGift = 10000,
			percentRequestDrink = 2,
			percentRequestMusic = 8,
			percentRequestResit = 8,
			percentRequestCoffee = 10
		},
		--4 = 
		{
			type = aunt,
			bodyType = auntBodyType,												
			comment = "I just came for the cake.",					
			matchType = uncle,
			matchHeadImage = headImage[uncle+1][3],					
			tolerance = 100000,
			waitBeforeSit = 1000,
			waitBeforeAppetizer = 1000,
			waitBeforeDinner = 1000,
			waitBeforeCake = 10000,
			waitBeforeGift = 10000,
			percentRequestDrink = 10,
			percentRequestMusic = 10,
			percentRequestResit = 7,
			percentRequestTissue = 10
		},
		--5
		{
			type = male02,
			bodyType = maleBodyType1,												
			comment = "Love is in the air! Smell it?",					
			matchType = female01,
			matchHeadImage = headImage[female01+1][3],					
			tolerance = 100000,
			requestBeginningMatch=1,
			waitBeforeSit = 18000,
			waitBeforeAppetizer = 3000,
			waitBeforeDinner = 7000,
			waitBeforeCake = 14000,
			waitBeforeGift = 6000,
			percentRequestDrink = 5,
			percentRequestMusic = 11,
			percentRequestResit = 2
		},
	    --6
		{
			type = male03,
			bodyType = maleBodyType1,												
			comment = "It’s the eternal question: Can you get a doggy bag at a buffet?",					
			matchType = female03,
			matchHeadImage = headImage[female03+1][3],					
			tolerance = 100000,
			requestBeginningMatch=1,
			waitBeforeSit = 58000,
			waitBeforeAppetizer = 8000,
			waitBeforeDinner = 7000,
			waitBeforeCake = 4000,
			waitBeforeGift = 16000,
			percentRequestDrink = 1,
			percentRequestMusic = 3,
			percentRequestResit = 20	
		},
		--7
		{
			type = female03,
			bodyType = femaleBodyType1,												
			comment = "She is one lucky girl!",					
			matchType = male03,
			matchHeadImage = headImage[male03+1][3],					
			tolerance = 100000,
			requestBeginningMatch=0,
			waitBeforeSit = 48000,
			waitBeforeAppetizer = 3000,
			waitBeforeDinner = 7000,
			waitBeforeCake = 4000,
			waitBeforeGift = 16000,
			percentRequestDrink = 10,
			percentRequestMusic = 1,
			percentRequestResit = 11	
		},
		--8
		{
				type = female04,
			bodyType = femaleBodyType1,												
			comment = "This wedding is gorgeous!",					
			matchType = male01,
			matchHeadImage = headImage[male01+1][3],					
			tolerance = 100000,
			requestBeginningMatch=0,
			waitBeforeSit = 42000,
			waitBeforeAppetizer = 8000,
			waitBeforeDinner = 7000,
			waitBeforeCake = 4000,
			waitBeforeGift = 6000,
			percentRequestDrink = 10,
			percentRequestMusic = 10,
			percentRequestResit = 20
		},
		--9
	--[[	{	type = male04,
			bodyType = maleBodyType1,												
			comment = "Nobody likes a conga line more than I do!",					
			matchType = female03,
			matchHeadImage = headImage[female03+1][3],					
			tolerance = 100000,
			requestBeginningMatch=0,
			waitBeforeSit = 74000,
			waitBeforeAppetizer = 8000,
			waitBeforeDinner = 11000,
			waitBeforeCake = 4000,
			waitBeforeGift = 1000,
			percentRequestDrink = 4,
			percentRequestMusic = 1,
			percentRequestResit = 7
		
		},
		--10
		{
			type = female02,
			bodyType = femaleBodyType1,												
			comment = "All you need is love – and more champagne!",					
			matchType = male02,
			matchHeadImage = headImage[male02+1][3],					
			tolerance = 100000,
			requestBeginningMatch=1,
			waitBeforeSit = 33000,
			waitBeforeAppetizer = 8000,
			waitBeforeDinner = 7000,
			waitBeforeCake = 4000,
			waitBeforeGift = 6000,
			percentRequestDrink = 10,
			percentRequestMusic = 10,
			percentRequestResit = 20
		},
		--11
		{
			type = male03,
			bodyType = maleBodyType1,												
			comment = "I love weddings! It’s like the prom with old people!",					
			matchType = female01,
			matchHeadImage = headImage[female01+1][3],					
			tolerance = 100000,
			requestBeginningMatch=1,
			waitBeforeSit = 53000,
			waitBeforeAppetizer = 8000,
			waitBeforeDinner = 7000,
			waitBeforeCake = 4000,
			waitBeforeGift = 6000,
			percentRequestDrink = 10,
			percentRequestMusic = 10,
			percentRequestResit = 20
		},
		--12
		{
			type = female01,
			bodyType = femaleBodyType1,												
			comment = "They look so perfect together!",					
			matchType = male01,
			matchHeadImage = headImage[male01+1][3],					
			tolerance = 100000,
			requestBeginningMatch=0,
			waitBeforeSit = 22000,
			waitBeforeAppetizer = 8000,
			waitBeforeDinner = 7000,
			waitBeforeCake = 4000,
			waitBeforeGift = 6000,
			percentRequestDrink = 5,
			percentRequestMusic = 2,
			percentRequestResit = 7
		} ]]--
	}
}

levelSetting = 
{
    map=1,
    level=1,
    introBG="assets/images/introBG",
    introText="Lovebirds Ethan and Peggy Playfirst have invited 12 guests to their wedding. Cater to the guests by feeding them the food they request.  Peggy would like Shrimp, chicken legs, salad, and cake and champagne at their wedding.",
	winText="Alright, Good job.  I will definitely recommend you to all my friends.",
	loseText="Oh man, you suck. I should hire someone more professional.",
	loopMusic="",
	totalTime=360000,
	patienceBonusTime=10000,
	patiencePenaltyTime=10000,
	matchRequestTime=10000,
	drinkRequestTime=10000,
	musicRequestTime=10000,
	coffeeRequestTime=10000,
	tissueRequestTime=10000,
	waitressSpeed = .4,
	waitressMaxQueue = 6,
	--fastWaitressSpeed = 16,
	--busboySpeed = 8,
	requestAppearTime = 1000,
	specialAppearTime = 5000,
	--fastBusboySpeed = 16,
	passScore = 4000,
	highScore = 6000,
	point = 
	{
		--sit point
		70,
		--match point
		100,
		--food point
		100,
		--clean point
		50,
		--dancing point
		50,
		--solving special request point
		100
	}--[[,
	foodList = 
	{
		{
			image="assets/images/food/food1",
			genTime=20,
			stage=stage1,
			x=171,
			y=100,
			num=15
		},
		{
			image="assets/images/food/food2",
			genTime=20,
			stage=noStage,
			x=298,
			y=88,
			num=0
		},
		{
			image="assets/images/food/food3",
			genTime=20,
			stage=stage2,
			x=171,
			y=100,
			num=15
		},
		{
			image="assets/images/food/food4",
			genTime=20,
			stage=stage2,
			x=298,
			y=88,
			num=15
		},
		{
			image="assets/images/food/food5",
			genTime=20,
			stage=stage3,
			x=171,
			y=100,
			num=15
		},
		{
			image="assets/images/food/food6",
			genTime=20,
			stage=stage3,
			x=298,
			y=88,
			num=15
		},
		{
			image="assets/images/food/food7",
			genTime=20,
			stage=noStage,
			x=171,
			y=100,
			num=0
		},
		{
			image="assets/images/food/food8",
			genTime=20,
			stage=noStage,
			x=298,
			y=88,
			num=0
		},
	}--]]
}
--user = {name=""}
--user.name=username,
--username = "ko"
		
MakeDialog
{

	Bitmap
	{
		name="backgroundimage",
		image="images/countryclub",
				
		GameWindow
		{ 	
			
			x=0,
			y=0,
			w=800,
			h=600,
					
			
		}
	}
	
	
}