require("scripts/buildresort_constants")

Population =
{
	{
		guyName = "1",
		guyAvatar = "worker1",
		girlName = "Jessica",
		girlAvatar = "librarian1",
		difficulty = "easy",
		skillsPerTurn = 1,
		skills = 
		{
			"dance",
		},
	},
	{
		guyName = "2",
		guyAvatar = "professor1",
		girlName = "Theresa",
		girlAvatar = "athletic1",
		difficulty = "easy",
		skillsPerTurn = 1,
		skills = 
		{
			"dance", 
		},
	},
	{
		guyName = "3",
		guyAvatar = "niceguy1",
		girlName = "Elaine",
		girlAvatar = "athletic1",
		difficulty = "easy",
		skillsPerTurn = 1,
		skills = 
		{
			"dance",
		},
	},
	{
		guyName = "4",
		guyAvatar = "professor1",
		girlName = "Tiffany",
		girlAvatar = "librarian1",
		difficulty = "easy",
		skillsPerTurn = 1,
		skills = 
		{
			"painting",
		},
	},
	--[[
	{	
		guyName = "5",
		guyAvatar = "professor1",
		girlName = "Annie",
		girlAvatar = "athletic1",
		difficulty = "easy",
		skillsPerTurn = 1,
		skills = 
		{
			"painting",
		},
	},
	--]]
};
TownData=
{
	-- initial appeal the first time at map
	initCurrentIncomeMap=10000,
	initCurrentIncomeStudio=1000,
	initAppeal=0,
	expertWeek=20,
	-- bonus range(no decimal) for clicking on wedding invite on map(after clicking, couples get married)
	weddingInviteBonusMin=100, 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
	    
	},
	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=384.0, y=384.0 },
		{ item="building_house01", x=608.0, y=512.0 },
		{ item="building_house01", x=640.0, y=320.0 },
		{ item="building_house01", x=512.0, y=560.0 },
		{ item="building_house01", x=256.0, y=544.0 }

	},
	-- introduce new items for first visit to town alongside goals
	newItems=
	{
		--"building_house01",
	},
	goals=
	{
		--[[
		{
			goalType=kGoalPurchaseByCategory,
			goalItemCategory="building_house",
			goalAmount=1,
			goalDescription="chap1_town1_goal01",
			descriptionOnSuccess="mapgoal_success_build_houses",
			displayProgress=false
			
		},
		--]]
		{
			goalType=kGoalGetMenTrained,
			goalAmount=4,
			goalDescription="chap1_town1_goal02",
			displayProgress=true
		},
	},
	
	match3_config=
	{
		boardid = 2,
		jewelpowerups = 
		{
			kJewelDiamond, kJewelSapphire
		},
	},
	
	Tutorial=
	{
		-- 1st tutorial
		name="tutorial_map1_1",
		{--welcome
			showarrow=false,
			text="tutorial_map1_1_01", textX=512, textY=150,
		},
		--[[
		{--goals
			showarrow=true, arrowX=730, arrowY=550,
			text="tutorial_map1_1_02", textX=800, textY=430
		},
		
		{--first goal
			showarrow=true, arrowX=730, arrowY=600,
			text="tutorial_map1_1_03", textX=800, textY=470
		},
		{--build house
			showarrow=true, arrowX=130, arrowY=670,
			text="tutorial_map1_1_04", textX=200, textY=550,
			x1=49, y1=720, x2=190, y2=791
		},
		
		{--select cottage
			showarrow=true, arrowX=100, arrowY=584,
			text="tutorial_map1_1_04a", textX=200, textY=470,
			x1=38, y1=622, x2=128, y2=674
		},
		{   -- place valid area on grid
			condition=kTutorialConditionPlaceValidArea,
			showarrow=false,
			text="tutorial_map1_1_05", textX=512, textY=384
		},
		--]]
		{
			-- no dialog box display for this tutorial step
			-- evolves for 5 seconds before proceeding next tutorial step
			condition=kTutorialConditionEvolve, evolveDurationMs=1000
		},
		
		{   -- bachelor moves in
			showarrow=false, useCachedPosition=false, --cached position is where player previously placed the house on grid
			text="tutorial_map1_1_02", textX=512, textY=150,
		},
		{   --Houses with pictures
			showarrow=false, useCachedPosition=false, --cached position is where player previously placed the house on grid
			text="tutorial_map1_1_03", textX=512, textY=150,
		},
		{ -- examine goals
			showarrow=true, arrowX=730, arrowY=550,
			text="tutorial_map1_1_04", textX=800, textY=430,
		},
		
		{	-- click on STUDIO button
			showarrow=true, arrowX=940, arrowY=660,
			text="tutorial_map1_1_05", textX=800, textY=530,
			x1=880, y1=706, x2=1002, y2=768
		}
	}
};