--[[
*					AOE II by MasterMen in 2018
*			   an Age Of Empires 2 PSP Scenario file
*				
*						 Temp Scenario
*					  
--]]


Scenario = {
	Name = "Temp",
	-- Your Discription
	DT1 = "",
	DT2 = "",
	DT3 = "",
	MapGenre = "Normal",
		-- "Normal"
		-- "Story"
	Difficult = "None",
		-- "Easy"
		-- "Normal"
		-- "Hard"
		-- "Very Hard"
	
	Version = 0.1,
	Update = 3,
}

Global = {
	
	World = {
		Pop = 0,
		Theme = "Snow",
			-- "Grass"
			-- "Snow"
			-- "Desert"
	},
	
	Player = {
		
		Wood = 0,
		Food = 0,
		Stone = 0,
		Gold = 0,
		Pop = 0,
		MaxPop = 0,
		Color = "Blue",
			-- "Blue"
			-- "Red"
			
		NickCol = nil, -- do not change it (it's useless for scenario)
		Nick = "",
		Civ = "Celts",
			-- "Celts"
			-- "Japanese"
			-- "Byzanties"
			-- "Persians"
			-- "Britons"
			-- "Mongols"
			-- "Saracens"
			-- "Vikings"
			
		Age = "Dark Age",
			-- "Dark Age"
		
		
		-- Do not change this globals
		TC = {
			Cost = {
				Food = 0,
				Wood = 0,
				Stone = 0,
				Gold = 0,
			},
			MaxHP = 2400,
			Att = 5,
			Pop = 1,
		},
		House = {
			Cost = {
				Food = 0,
				Wood = 0,
				Stone = 0,
				Gold = 0,
			},
			MaxHP = 500,
			Pop = 1,
		},
		Villager = {
			Cost = {
				Food = 0,
				Wood = 0,
				Stone = 0,
				Gold = 0,
			},
			MaxInv = 10,
			MaxHP = 50,
			Att = 3,
			Speed = 2,
		},
		Militia = {
			Cost = {
				Food = 0,
				Wood = 0,
				Stone = 0,
				Gold = 0,
			},
			MaxHP = 50,
			Att = 3,
			Speed = 3,
		},
	},
	
}

--[[

How to change Villager's Gender:

Male:
	Type = 1,
	IMG = spr.uni.VillagerMale.Down

Female:
	Type = 2,
	IMG = spr.uni.VillagerFemale.Down

--]]

function LoadObj()

Villager = {}
Villager[1] = {MaxHP = Global.Player.Villager.MaxHP, HP = 50, Attack = Global.Player.Villager.Att, Speed = Global.Player.Villager.Speed, Target = nil, LastTarget = nil, TarX = 50, TarY = 50, Follow = false, Wood = 0, Gold = 0, Stone = 0, Food = 0, Exists = true, Selected = false, Type = 2, IMG = spr.uni.VillagerFemale.Down, X = 50, Y = 50}
Villager[2] = {MaxHP = Global.Player.Villager.MaxHP, HP = 50, Attack = Global.Player.Villager.Att, Speed = Global.Player.Villager.Speed, Target = nil, LastTarget = nil, TarX = 100, TarY = 100, Follow = false, Wood = 0, Gold = 0, Stone = 0, Food = 0, Exists = true, Selected = false, Type = 1, IMG = spr.uni.VillagerMale.Down, X = 100, Y = 100}
Villager[3] = {MaxHP = Global.Player.Villager.MaxHP, HP = 50, Attack = Global.Player.Villager.Att, Speed = Global.Player.Villager.Speed, Target = nil, LastTarget = nil, TarX = 0, TarY = 0,  Follow = false,Wood = 0, Gold = 0, Stone = 0, Food = 0, Exists = true, Selected = false, Type = 1, IMG = spr.uni.VillagerMale.Down, X = -100, Y = 0}
Villager[4] = {MaxHP = Global.Player.Villager.MaxHP, HP = 50, Attack = Global.Player.Villager.Att, Speed = Global.Player.Villager.Speed, Target = nil, LastTarget = nil, TarX = 0, TarY = 0, Follow = false, Wood = 0, Gold = 0, Stone = 0, Food = 0, Exists = false, Selected = false, Type = 2, IMG = spr.uni.VillagerFemale.Down, X = 300, Y = 300}
Villager[5] = {MaxHP = Global.Player.Villager.MaxHP, HP = 50, Attack = Global.Player.Villager.Att, Speed = Global.Player.Villager.Speed, Target = nil, LastTarget = nil, TarX = 0, TarY = 0, Follow = false, Wood = 0, Gold = 0, Stone = 0, Food = 0, Exists = false, Selected = false, Type = 1, IMG = spr.uni.VillagerMale.Down, X = 0, Y = 0}
Villager[6] = {MaxHP = Global.Player.Villager.MaxHP, HP = 50, Attack = Global.Player.Villager.Att, Speed = Global.Player.Villager.Speed, Target = nil, LastTarget = nil, TarX = 0, TarY = 0, Follow = false, Wood = 0, Gold = 0, Stone = 0, Food = 0, Exists = false, Selected = false, Type = 1, IMG = spr.uni.VillagerMale.Down, X = 0, Y = 0}
Villager[7] = {MaxHP = Global.Player.Villager.MaxHP, HP = 50, Attack = Global.Player.Villager.Att, Speed = Global.Player.Villager.Speed, Target = nil, LastTarget = nil, TarX = 0, TarY = 0, Follow = false, Wood = 0, Gold = 0, Stone = 0, Food = 0, Exists = false, Selected = false, Type = 1, IMG = spr.uni.VillagerMale.Down, X = 0, Y = 0}
Villager[8] = {MaxHP = Global.Player.Villager.MaxHP, HP = 50, Attack = Global.Player.Villager.Att, Speed = Global.Player.Villager.Speed, Target = nil, LastTarget = nil, TarX = 0, TarY = 0, Follow = false, Wood = 0, Gold = 0, Stone = 0, Food = 0, Exists = false, Selected = false, Type = 1, IMG = spr.uni.VillagerMale.Down, X = 0, Y = 0}

Militia = {}
Militia[1] = {MaxHP = Global.Player.Militia.MaxHP, HP = 50, Attack = Global.Player.Militia.Att, Speed = Global.Player.Militia.Speed, Target = nil, LastTarget = nil, TarX = 0, TarY = 0, Follow = false, Exists = true, Selected = false, IMG = spr.uni.Militia.Down, X = 150, Y = -40}
Militia[2] = {MaxHP = Global.Player.Militia.MaxHP, HP = 50, Attack = Global.Player.Militia.Att, Speed = Global.Player.Militia.Speed, Target = nil, LastTarget = nil, TarX = 0, TarY = 0, Follow = false, Exists = true, Selected = false, IMG = spr.uni.Militia.Down, X = 200, Y = -40}
Militia[3] = {MaxHP = Global.Player.Militia.MaxHP, HP = 50, Attack = Global.Player.Militia.Att, Speed = Global.Player.Militia.Speed, Target = nil, LastTarget = nil, TarX = 0, TarY = 0, Follow = false, Exists = true, Selected = false, IMG = spr.uni.Militia.Down, X = 250, Y = -40}
Militia[4] = {MaxHP = Global.Player.Militia.MaxHP, HP = 50, Attack = Global.Player.Militia.Att, Speed = Global.Player.Militia.Speed, Target = nil, LastTarget = nil, TarX = 0, TarY = 0, Follow = false, Exists = true, Selected = false, IMG = spr.uni.Militia.Down, X = 0, Y = -200}
Militia[5] = {MaxHP = Global.Player.Militia.MaxHP, HP = 50, Attack = Global.Player.Militia.Att, Speed = Global.Player.Militia.Speed, Target = nil, LastTarget = nil, TarX = 0, TarY = 0, Follow = false, Exists = false, Selected = false, IMG = spr.uni.Militia.Down, X = 0, Y = 0}
Militia[6] = {MaxHP = Global.Player.Militia.MaxHP, HP = 50, Attack = Global.Player.Militia.Att, Speed = Global.Player.Militia.Speed, Target = nil, LastTarget = nil, TarX = 0, TarY = 0, Follow = false, Exists = false, Selected = false, IMG = spr.uni.Militia.Down, X = 0, Y = 0}
Militia[7] = {MaxHP = Global.Player.Militia.MaxHP, HP = 50, Attack = Global.Player.Militia.Att, Speed = Global.Player.Militia.Speed, Target = nil, LastTarget = nil, TarX = 0, TarY = 0, Follow = false, Exists = false, Selected = false, IMG = spr.uni.Militia.Down, X = 0, Y = 0}
Militia[8] = {MaxHP = Global.Player.Militia.MaxHP, HP = 50, Attack = Global.Player.Militia.Att, Speed = Global.Player.Militia.Speed, Target = nil, LastTarget = nil, TarX = 0, TarY = 0, Follow = false, Exists = false, Selected = false, IMG = spr.uni.Militia.Down, X = 0, Y = 0}

TownCenter = {}
TownCenter[1] = {MaxHP = Global.Player.TC.MaxHP, HP = 2400, Builded = true, Selected = false, IMG = spr.build.TC.Dark, X = 180, Y = 130}
TownCenter[2] = {MaxHP = Global.Player.TC.MaxHP, HP = 2400, Builded = false, Selected = false, IMG = spr.build.TC.Dark, X = 0, Y = 0}
TownCenter[3] = {MaxHP = Global.Player.TC.MaxHP, HP = 2400, Builded = false, Selected = false, IMG = spr.build.TC.Dark, X = 0, Y = 0}
TownCenter[4] = {MaxHP = Global.Player.TC.MaxHP, HP = 2400, Builded = false, Selected = false, IMG = spr.build.TC.Dark, X = 0, Y = 0}
TownCenter[5] = {MaxHP = Global.Player.TC.MaxHP, HP = 2400, Builded = false, Selected = false, IMG = spr.build.TC.Dark, X = 0, Y = 0}
TownCenter[6] = {MaxHP = Global.Player.TC.MaxHP, HP = 2400, Builded = false, Selected = false, IMG = spr.build.TC.Dark, X = 0, Y = 0}
TownCenter[7] = {MaxHP = Global.Player.TC.MaxHP, HP = 2400, Builded = false, Selected = false, IMG = spr.build.TC.Dark, X = 0, Y = 0}
TownCenter[8] = {MaxHP = Global.Player.TC.MaxHP, HP = 2400, Builded = false, Selected = false, IMG = spr.build.TC.Dark, X = 0, Y = 0}

House = {}
House[1] = {MaxHP = Global.Player.House.MaxHP, HP = 500, Builded = true, Selected = false, IMG = spr.build.House.DarkTy1, X = 200, Y = 10}
House[2] = {MaxHP = Global.Player.House.MaxHP, HP = 500, Builded = true, Selected = false, IMG = spr.build.House.DarkTy2, X = 260, Y = -70}
House[3] = {MaxHP = Global.Player.House.MaxHP, HP = 500, Builded = false, Selected = false, IMG = spr.build.House.DarkTy3, X = 0, Y = 0}
House[4] = {MaxHP = Global.Player.House.MaxHP, HP = 500, Builded = false, Selected = false, IMG = spr.build.House.DarkTy1, X = 0, Y = 0}
House[5] = {MaxHP = Global.Player.House.MaxHP, HP = 500, Builded = false, Selected = false, IMG = spr.build.House.DarkTy1, X = 0, Y = 0}
House[6] = {MaxHP = Global.Player.House.MaxHP, HP = 500, Builded = false, Selected = false, IMG = spr.build.House.DarkTy1, X = 0, Y = 0}
House[7] = {MaxHP = Global.Player.House.MaxHP, HP = 500, Builded = false, Selected = false, IMG = spr.build.House.DarkTy1, X = 0, Y = 0}
House[8] = {MaxHP = Global.Player.House.MaxHP, HP = 500, Builded = false, Selected = false, IMG = spr.build.House.DarkTy1, X = 0, Y = 0}

Mineral = {}
Mineral[1] = {MaxGold = 1250, Gold = 1250, Exists = false, IMG = spr.res.Crystal.Ty1, X = -100, Y = -100}

Tree = {}
Tree[1] = {MaxWood = 450, Wood = 450, Exists = true, Selected = false, IMG = spr.res.Tree.Oak1, X = 420, Y = -80}
Tree[2] = {MaxWood = 450, Wood = 450, Exists = true, Selected = false, IMG = spr.res.Tree.Oak1, X = 500, Y = 80}
Tree[3] = {MaxWood = 450, Wood = 450, Exists = true, Selected = false, IMG = spr.res.Tree.Oak1, X = -160, Y = -80}
Tree[4] = {MaxWood = 450, Wood = 450, Exists = true, Selected = false, IMG = spr.res.Tree.Oak1, X = 100, Y = 300}
Tree[5] = {MaxWood = 450, Wood = 450, Exists = false, Selected = false, IMG = spr.res.Tree.Oak1, X = 0, Y = 0}
Tree[6] = {MaxWood = 450, Wood = 450, Exists = false, Selected = false, IMG = spr.res.Tree.Oak1, X = 0, Y = 0}
Tree[7] = {MaxWood = 450, Wood = 450, Exists = false, Selected = false, IMG = spr.res.Tree.Oak1, X = 0, Y = 0}
Tree[8] = {MaxWood = 450, Wood = 450, Exists = false, Selected = false, IMG = spr.res.Tree.Oak1, X = 0, Y = 0}

Berry = {}
Berry[1] = {MaxFood = 450, Food = 450, Exists = true, Selected = false, IMG = spr.res.Food.Ty1, X = 10, Y = 10} -- 43x41
Berry[2] = {MaxFood = 450, Food = 450, Exists = true, Selected = false, IMG = spr.res.Food.Ty2, X = -60, Y = -50}
Berry[3] = {MaxFood = 450, Food = 450, Exists = false, Selected = false, IMG = spr.res.Food.Ty3, X = 0, Y = 0}
Berry[4] = {MaxFood = 450, Food = 450, Exists = false, Selected = false, IMG = spr.res.Food.Ty1, X = 0, Y = 0}
Berry[5] = {MaxFood = 450, Food = 450, Exists = false, Selected = false, IMG = spr.res.Food.Ty2, X = 0, Y = 0}
Berry[6] = {MaxFood = 450, Food = 450, Exists = false, Selected = false, IMG = spr.res.Food.Ty3, X = 0, Y = 0}
Berry[7] = {MaxFood = 450, Food = 450, Exists = false, Selected = false, IMG = spr.res.Food.Ty1, X = 0, Y = 0}
Berry[8] = {MaxFood = 450, Food = 450, Exists = false, Selected = false, IMG = spr.res.Food.Ty2, X = 0, Y = 0}

Gold = {}
Gold[1] = {MaxGold = 500, Gold = 500, Exists = true, Selected = false, IMG = spr.res.Gold.Ty1, X = 200, Y = -150}
Gold[2] = {MaxGold = 500, Gold = 500, Exists = false, Selected = false, IMG = spr.res.Gold.Ty1, X = 0, Y = 0}
Gold[3] = {MaxGold = 500, Gold = 500, Exists = false, Selected = false, IMG = spr.res.Gold.Ty1, X = 0, Y = 0}
Gold[4] = {MaxGold = 500, Gold = 500, Exists = false, Selected = false, IMG = spr.res.Gold.Ty1, X = 0, Y = 0}
Gold[5] = {MaxGold = 500, Gold = 500, Exists = false, Selected = false, IMG = spr.res.Gold.Ty1, X = 0, Y = 0}
Gold[6] = {MaxGold = 500, Gold = 500, Exists = false, Selected = false, IMG = spr.res.Gold.Ty1, X = 0, Y = 0}
Gold[7] = {MaxGold = 500, Gold = 500, Exists = false, Selected = false, IMG = spr.res.Gold.Ty1, X = 0, Y = 0}
Gold[8] = {MaxGold = 500, Gold = 500, Exists = false, Selected = false, IMG = spr.res.Gold.Ty1, X = 0, Y = 0}

Stone = {}
Stone[1] = {MaxStone = 500, Stone = 500, Exists = true, Selected = false, IMG = spr.res.Stone.Ty1, X = 300, Y = -180}
Stone[2] = {MaxStone = 500, Stone = 500, Exists = false, Selected = false, IMG = spr.res.Stone.Ty1, X = 0, Y = 0}
Stone[3] = {MaxStone = 500, Stone = 500, Exists = false, Selected = false, IMG = spr.res.Stone.Ty1, X = 0, Y = 0}
Stone[4] = {MaxStone = 500, Stone = 500, Exists = false, Selected = false, IMG = spr.res.Stone.Ty1, X = 0, Y = 0}
Stone[5] = {MaxStone = 500, Stone = 500, Exists = false, Selected = false, IMG = spr.res.Stone.Ty1, X = 0, Y = 0}
Stone[6] = {MaxStone = 500, Stone = 500, Exists = false, Selected = false, IMG = spr.res.Stone.Ty1, X = 0, Y = 0}
Stone[7] = {MaxStone = 500, Stone = 500, Exists = false, Selected = false, IMG = spr.res.Stone.Ty1, X = 0, Y = 0}
Stone[8] = {MaxStone = 500, Stone = 500, Exists = false, Selected = false, IMG = spr.res.Stone.Ty1, X = 0, Y = 0}

end