require("scripts/buildresort_constants")

Population =
{
	{
		guyName = "1",
		guyAvatar = "geek1",
		girlName = "Sarah",
		girlAvatar = "athletic1",
		difficulty = "easy",
		skillsPerTurn = 1,
		skills = 
		{
			"treadmill",
		},
	},
	{
		guyName = "2",
		guyAvatar = "niceguy1",
		girlName = "Bambi",
		girlAvatar = "spunky2",
		difficulty = "easy",
		skillsPerTurn = 1,
		skills = 
		{
			"dance",
		},
	},
	{
		guyName = "3",
		guyAvatar = "geek1",
		girlName = "Tiffany",
		girlAvatar = "spunky2",
		difficulty = "easy",
		skillsPerTurn = 1,
		skills = 
		{
			"dance",
		},
	},
	{
		guyName = "4",
		guyAvatar = "professor1",
		girlName = "Elaine",
		girlAvatar = "athletic1",
		difficulty = "easy",
		skillsPerTurn = 2,
		skills = 
		{
			"painting", "treadmill",
		},
	},
	{	
		guyName = "5",
		guyAvatar = "worker1",
		girlName = "Angelina",
		girlAvatar = "athletic1",
		difficulty = "easy",
		skillsPerTurn = 2,
		skills = 
		{
			"painting", "dance", 
		},
	},
	{	
		guyName = "6",
		guyAvatar = "niceguy1",
		girlName = "Angelina",
		girlAvatar = "freespirit1",
		difficulty = "easy",
		skillsPerTurn = 1,
		skills = 
		{
			"dance",
		},
	},
	{	
		guyName = "7",
		guyAvatar = "geek1",
		girlName = "Angelina",
		girlAvatar = "librarian1",
		difficulty = "easy",
		skillsPerTurn = 1,
		skills = 
		{
			"treadmill",
		},
	},		
	{	
		guyName = "8",
		guyAvatar = "professor1",
		girlName = "Angelina",
		girlAvatar = "spunky2",
		difficulty = "easy",
		skillsPerTurn = 2,
		skills = 
		{
			"painting", "dance",
		},
	},	
	--[[
	{	
		guyName = "9",
		guyAvatar = "geek1",
		girlName = "Angelina",
		girlAvatar = "punk1",
		difficulty = "easy",
		skillsPerTurn = 1,
		skills = 
		{
			"treadmill",
		},
	},	
	{	
		guyName = "10",
		guyAvatar = "professor1",
		girlName = "Angelina",
		girlAvatar = "athletic1",
		difficulty = "easy",
		skillsPerTurn = 2,
		skills = 
		{
			"dance", "treadmill",
		},
	},
	--]]
};
TownData=
{
	-- initial appeal the first time at map
	initCurrentIncomeMap=20000,
	initCurrentIncomeStudio=3000,
	initAppeal=0,
	expertWeek=33,
	-- bonus range(no decimal) for clicking on wedding invite on map(after clicking, couples get married)
	weddingInviteBonusMin=500, weddingInviteBonusMax=1000,
	-- items available for purchase
	buildings=
	{
		-- building name must match those in buildresort_buildings.lua file
		"building_house01",
	},
	decorations=
	{
		-- decorations name must match those in buildresort_decorations.lua file
		--"landscape01",
	},
	recreation=
	{
		-- recreation name must match those in buildresort_recreation.lua file
		
	},
	-- OPTIONAL: items to be placed on map the first visit to town
	preconfigItems=
	{
		{ item="drlove_studio01", x=512.0, y=448.0 },
		{ item="building_house01", x=736.0, y=464.0 }, 
		{ item="building_house01", x=176.0, y=400.0 }, 
		{ item="building_house01", x=528.0, y=368.0 }, 
		{ item="building_house01", x=400.0, y=304.0 }, 
		{ item="building_house01", x=320.0, y=464.0 }
		--[[{ item="building_house01", x=688.0, y=304.0 }--]]
	},
	-- introduce new items for first visit to town alongside goals
	newItems=
	{
		--"landscape01",
	},
	goals=
	{
		
		--[[{
			goalType=kGoalPurchaseByItem,
			goalItem="gift_shop",
			goalAmount=1,
			goalDescription="chap1_town3_goal01",
			displayProgress=false
		},
		--]]
		{
			goalType=kGoalPurchaseByCategory,
			goalItemCategory="building_house",
			goalAmount=3,
			goalDescription="chap1_town3_goal03",
			descriptionOnSuccess="mapgoal_success_build_houses",
			displayProgress=true
		},
		{
			goalType=kGoalGetMenTrained,
			goalAmount=8,
			goalDescription="chap1_town3_goal04",
			displayProgress=true
		},
		{
			goalType=kGoalGetCouplesMarried,
			goalAmount=2,
			goalDescription="chap1_town4_goal03",
			displayProgress=true
		},
		{
			goalType=kGoalAffectingAtLeast,
			goalItem="drlove_studio01",
			goalAmount=5,
			goalDescription="chap1_town2_goal03",
			displayProgress=false
		},
		--[[
		{
			goalType=kGoalPurchaseByItem,
			goalItem="landscape01",
			goalAmount=3,
			goalDescription="chap1_town2_goal04",
			displayProgress=true
		},
		--]]
	},
	match3_config=
	{
			boardid = 2,
			jewelpowerups = 
			{
				kJewelEmerald,
			},
	},
	
	
	Tutorial=
	{
		name="tutorial_map1_3",
	
		{
			-- evoles a week for income sign to appear
			text="tutorial_map1_3_01", textX=512, textY=150,
			condition=kTutorialConditionIncomeTrigger,
			endDelayInMs=500
		},
		{
			-- intro income
			showarrow=true, arrowX=308, arrowY=330,
			text="tutorial_map1_3_02", textX=512, textY=150,
		},
		{
			condition=kTutorialConditionEvolve, evolveDurationMs=1200
		},
		{
			-- calendar
			showarrow=true, fliparrow=true, arrowX=44, arrowY=120,
			text="tutorial_map1_3_03", textX=250, textY=150,
		},
		{
			-- expert award
			showarrow=true, fliparrow=true, arrowX=110, arrowY=120,
			text="tutorial_map1_3_04", textX=320, textY=150,
		},
		{
			-- dr love studio
			showarrow=true, arrowX=515, arrowY=325,
			text="tutorial_map1_3_05", textX=760, textY=250,
		},
		{
			-- click on dr love studio
			showarrow=true, arrowX=515, arrowY=325,
			text="tutorial_map1_3_06", textX=760, textY=250,
			condition=kTutorialConditionClickDrLoveStudio,
			--x1=470, y1=360, x2=580, y2=420,
		},
		{
			-- suggest to build houses on green area
			showarrow=false,
			text="tutorial_map1_3_06a", textX=760, textY=250,
			x1=49, y1=720, x2=190, y2=791,
			unfocusBuildings=false -- so that we don't lose focus on Dr. Love's building and aerial effect visual
		},
		{
			showarrow=false,
			text="tutorial_map1_3_06a", textX=760, textY=250,
			x1=38, y1=622, x2=128, y2=674,
			unfocusBuildings=false -- so that we don't lose focus on Dr. Love's building and aerial effect visual
		},
		{
			showarrow=false,
			text="tutorial_map1_3_06b", textX=760, textY=250,
			condition=kTutorialConditionPlaceGreenArea,
			unfocusBuildings=false
		},
		{ -- examine goals
			showarrow=true, arrowX=730, arrowY=550,
			text="tutorial_map1_3_06c", textX=800, textY=430,
		},
		--[[
		{ --build a gift shop
			showarrow=true, arrowX=130, arrowY=670,
			text="tutorial_map1_3_01", textX=200, textY=550,
			x1=49, y1=720, x2=190, y2=791
		},
		{
			showarrow=true, arrowX=220, arrowY=584,
			text="tutorial_map1_3_01a", textX=200, textY=470,
			x1=158, y1=622, x2=248, y2=674
		},
		{   -- --place a gift shop, place valid area on grid
			condition=kTutorialConditionPlaceValidArea,
			showarrow=false,
			text="tutorial_map1_3_02", textX=512, textY=384
		},
		{
			-- no dialog box display for this tutorial step
			-- evolves for 5 seconds before proceeding next tutorial step
			condition=kTutorialConditionEvolve, evolveDurationMs=5000
		},
		--gift shop enhances crap
		{   
			showarrow=true, fliparrow=true, arrowX=580, arrowY=80, 
			text="tutorial_map1_3_03", textX=480, textY=180,
		},
		{	-- click on GIFT SHOP button
			showarrow=true, arrowX=930, arrowY=660,
			text="tutorial_map1_3_04", textX=800, textY=530,
			x1=880, y1=706, x2=1002, y2=768
		}
		--]]
	}
	
};
