files: # Rhye's and Fall of Civilization - Historical Victory Goals
  
  from CvPythonExtensions import *
  from StoredData import data
  from Consts import *
  from RFCUtils import utils
  import heapq
  import Areas
  import CityNameManager as cnm
  
  ### GLOBALS ###
  
  gc = CyGlobalContext()
  localText = CyTranslator()
  
  ### CONSTANTS ###
  
  # general constants
  lWonders = [i for i in range(iBeginWonders, iNumBuildings)]
  lGreatPeople = [iSpecialistGreatProphet, iSpecialistGreatArtist, iSpecialistGreatScientist, iSpecialistGreatMerchant, iSpecialistGreatEngineer, iSpecialistGreatStatesman, iSpecialistGreatGeneral, iSpecialistGreatSpy]
  
  # first Polynesian goal: settle two out of the following island groups by 800 AD: Hawaii, New Zealand, Marquesas and Easter Island
  # second Polynesian goal: settle Hawaii, New Zealand, Marquesas and Easter Island by 1000 AD
  tHawaiiTL = (0, 34)
  tHawaiiBR = (6, 39)
  tNewZealandTL = (119, 4)
  tNewZealandBR = (123, 12)
  tMarquesasTL = (14, 22)
  tMarquesasBR = (16, 24)
  tEasterIslandTL = (20, 15)
  tEasterIslandBR = (22, 17)
  
  # second Roman goal: control Iberia, Gaul, Britain, Africa, Greece, Asia Minor and Egypt in 320 AD
  tFranceTL = (51, 47)
  
  # second Roman goal: control Iberia, Gaul, Britain, Africa, Greece, Asia Minor and Egypt in 320 AD
  # second Arabian goal: control or vassalize Spain, the Maghreb, Egypt, Mesopotamia and Persia in 1300 AD
  tCarthageTL = (50, 36)
  tCarthageBR = (61, 39)
  
  # second Tamil goal: control or vassalize the Deccan and Srivijaya in 1000 AD
  tDeccanTL = (88, 28)
  tDeccanBR = (94, 36)
  tSrivijayaTL = (98, 25)
  tSrivijayaBR = (105, 29)
  
  # third Ethiopian goal: allow no European colonies and East and Subequatorial Africa in 1500 AD and 1910 AD
  tSomaliaTL = (73, 24)
  tSomaliaBR = (77, 29)
  tSubeqAfricaTL = (60, 10)
  tSubeqAfricaBR = (72, 29)
  
  # third Byzantine goal: control three cities in the Balkans, Northern Africa and the Near East in 1450 AD
  tNearEastTL = (69, 37)
  tNearEastBR = (76, 45)
  tBalkansTL = (64, 40)
  tBalkansBR = (68, 47)
  tNorthAfricaTL = (58, 32)
  tNorthAfricaBR = (71, 38)
  
  # second Japanese goal: control or vassalize Korea, Manchuria, China, Indochina, Indonesia and the Philippines in 1940
  tManchuriaTL = (104, 50)
  tManchuriaBR = (112, 55)
  tKoreaTL = (108, 45)
  tKoreaBR = (110, 49)
  tChinaTL = (99, 39)
  tChinaBR = (107, 49)
  tIndochinaTL = (97, 31)
  tIndochinaBR = (104, 38)
  tIndochinaExceptions = ((103, 38), (104, 37))
  tIndonesiaTL = (98, 24)
  tIndonesiaBR = (109, 30)
  tPhilippinesTL = (108, 30)
  tPhilippinesBR = (110, 36)
  
  # second Turkic goal: create an overland trade route from a city in China to a Mediterranean port by 1100 AD
  lMediterraneanPorts = [(66, 37), (66, 36), (67, 36), (68, 36), (69, 36), (70, 36), (71, 36), (72, 37), (73, 37), (73, 38), (73, 39), (73, 40), (73, 41), (73, 42), (71, 42), (70, 42), (70, 43), (69, 43), (69, 44), (68, 45)]
  
  # first Moorish goal: control three cities in Iberia, the Maghreb and West Africa in 1200 AD
  tIberiaTL = (49, 40)
  tIberiaBR = (55, 46)
  tMaghrebTL = (49, 35)
  tMaghrebBR = (58, 39)
  tWestAfricaTL = (48, 26)
  tWestAfricaBR = (56, 32)
  
  # third Spanish goal: spread Catholicism to 40% and allow no Protestant civilization in Europe in 1700 AD
  # second French goal: control 40% of Europe and North America in 1800 AD
  tEuropeTL = (44, 40)
  tEuropeBR = (68, 65)
  
  # second French goal: control 40% of Europe and North America in 1800 AD
  tEasternEuropeTL = (69, 48)
  tEasternEuropeBR = (73, 64)
  
  # second French goal: control 40% of Europe and North America in 1800 AD
  # first English goal: colonize every continent by 1730 AD
  # third Maya goal: make contact with a European civilization before they have discovered America
  tNorthAmericaTL = (10, 40)
  tNorthAmericaBR = (37, 58)
  
  # first English goal: colonize every continent by 1730 AD
  tOceaniaTL = (99, 5)
  tOceaniaBR = (123, 28)
  
  # first English goal: colonize every continent by 1730 AD
  # third Maya goal: make contact with a European civilization before they have discovered America
  tSouthCentralAmericaTL = (13, 3)
  tSouthCentralAmericaBR = (41, 39)
  
  # first English goal: colonize every continent by 1730 AD
  # third Portuguese goal: control 15 cities in Brazil, Africa and Asia in 1700 AD
  tAfricaTL = (45, 10)
  tAfricaBR = (76, 39)
  tAsiaTL = (73, 29)
  tAsiaBR = (121, 64)
  
  # first Russian goal: found seven cities in Siberia by 1700 AD and build the Trans-Siberian Railway by 1920 AD
  tSiberiaTL = (82, 50)
  tSiberiaBR = (112, 64)
  lSiberianCoast = [(109, 50), (109, 51), (110, 51), (111, 51), (112, 52), (114, 54), (113, 55), (111, 54), (111, 55), (110, 55), (110, 58), (111, 58), (112, 59)]
  
  # second Portuguese goal: acquire 12 colonial resources by 1650 AD
  lColonialResources = [iBanana, iSpices, iSugar, iCoffee, iTea, iTobacco]
  
  # third Portuguese goal: control 15 cities in Brazil, Africa and Asia in 1700 AD
  tBrazilTL = (32, 14)
  tBrazilBR = (43, 30)
  
  # third Italian goal: control 65% of the Mediterranean by 1930 AD
  tMediterraneanTL = (51, 36)
  tMediterraneanBR = (73, 47)
  tMediterraneanExceptions = ((51,36),(51,46),(52,46),(53,46),(53,47),(67,47),(67,46),(73,44),(73,45),(72,45),(71,45),(71,44),(70,44),(73,36))
  
  # first Incan goal: build five Tambos and a road along the Andean coast by 1500 AD
  lAndeanCoast = [(25, 29), (24, 28), (24, 27), (24, 26), (24, 25), (25, 24), (25, 23), (26, 22), (27, 21), (28, 20), (29, 19), (30, 18), (30, 17), (30, 16), (30, 15), (30, 14)]
  
  # third Incan goal: control 60% of South America in 1700 AD
  # second Colombian goal: control South America in 1920 AD
  tSAmericaTL = (24, 3)
  tSAmericaBR = (43, 32)
  tSouthAmericaExceptions = ((24, 31), (25, 32))
  
  # third Holy Roman goal: settle three great artists in Vienna by 1700 AD
  # second Turkish goal: control the Eastern Mediterranean, the Black Sea, Cairo, Mecca, Baghdad and Vienna by 1700 AD
  tVienna = (62, 49)
  
  # second Turkish goal: control the Eastern Mediterranean, the Black Sea, Cairo, Mecca, Baghdad and Vienna by 1700 AD
  tCairo = (69, 34)
  tMecca = (75, 33)
  tBaghdad = (77, 40)
  lEasternMediterranean = [(58, 39), (58, 38), (58, 37), (59, 37), (60, 37), (61, 37), (61, 36), (62, 36), (63, 36), (64, 36), (65, 36), (66, 36), (67, 36), (68, 36), (69, 36), (70, 36), (71, 36), (65, 37), (66, 37), (72, 37), (73, 37), (73, 38), (73, 39), (73, 40), (73, 41), (73, 42), (70, 42), (71, 42), (72, 42), (69, 43), (70, 43), (69, 44), (68, 45), (67, 44), (67, 45), (66, 44), (65, 43), (66, 43), (65, 42), (66, 42), (67, 42), (67, 41), (65, 40), (66, 40)]
  lBlackSea = [(69, 44), (70, 44), (71, 44), (71, 45), (72, 45), (73, 45), (73, 44), (74, 44), (75, 44), (76, 44), (76, 45), (76, 46), (76, 47), (75, 47), (74, 48), (75, 48), (72, 48), (74, 49), (73, 49), (71, 49), (69, 49), (69, 50), (70, 50), (71, 50), (72, 50), (73, 50), (68, 49), (68, 48), (67, 45), (67, 46), (67, 47), (67, 48), (68, 45)]
  
  # third Thai goal: allow no foreign powers in South Asia in 1900 AD
  tSouthAsiaTL = (88, 24)
  tSouthAsiaBR = (110, 38)
  lSouthAsianCivs = [iIndia, iTamils, iIndonesia, iKhmer, iMughals, iThailand]
  
  # second Iranian goal: control Mesopotamia, Transoxania and Northwest India in 1750 AD
  tSafavidMesopotamiaTL = (75, 39)
  tSafavidMesopotamiaBR = (79, 43)
  tTransoxaniaTL = (82, 42)
  tTransoxaniaBR = (86, 49)
  tNWIndiaTL = (85, 36)
  tNWIndiaBR = (91, 43)
  tNWIndiaExceptions = ((89, 36), (90, 36), (91, 36), (89, 37), (90, 37), (91, 37), (89, 38), (90, 38), (91, 38))
  
  # first American goal: allow no European colonies in North America, Central America and the Caribbean
  tNCAmericaTL = (3, 33)
  tNCAmericaBR = (37, 63)
  
  # first Colombian goal: allow no European civilizations in Peru, Gran Colombia, Guayanas and the Caribbean in 1870 AD
  tPeruTL = (25, 16)
  tPeruBR = (32, 24)
  tGranColombiaTL = (21, 25)
  tGranColombiaBR = (32, 35)
  tGuayanasTL = (33, 27)
  tGuayanasBR = (37, 31)
  tCaribbeanTL = (25, 33)
  tCaribbeanBR = (33, 39)
  
  # first Canadian goal: connect your capital to an Atlantic and a Pacific port by 1920 AD
  lAtlanticCoast = [(34, 50), (33, 51), (35, 51), (30, 52), (31, 52), (32, 52), (30, 53), (35, 53), (30, 54), (31, 54), (32, 54), (35, 54), (36, 54), (32, 55), (33, 55), (34, 55)]
  lPacificCoast = [(11, 51), (10, 52), (11, 53), (10, 56)]
  
  # second Canadian goal: control all cities and 90% of the territory in Canada without ever conquering a city by 1950 AD
  tCanadaWestTL = (10, 52)
  tCanadaWestBR = (26, 61)
  tCanadaWestExceptions = ((10, 59), (10, 60), (10, 61), (21, 61), (22, 61), (23, 61), (24, 61), (25, 61))
  tCanadaEastTL = (27, 50)
  tCanadaEastBR = (36, 59)
  tCanadaEastExceptions = ((30, 50), (31, 50), (32, 50), (32, 51))
  
  ### GOAL CONSTANTS ###
  
  dTechGoals = {
  	iChina: (1, [iCompass, iPaper, iGunpowder, iPrinting]),
  	iBabylonia: (0, [iConstruction, iArithmetics, iWriting, iCalendar, iContract]),
  	iGreece: (0, [iMathematics, iLiterature, iAesthetics, iPhilosophy, iMedicine]),
  	iRome: (2, [iArchitecture, iPolitics, iScholarship, iMachinery, iCivilService]),
  	iKorea: (1, [iPrinting]),
  	iPoland: (1, [iCivilLiberties]),
  }
  
  dEraGoals = {}
  
  dWonderGoals = {
  	iEgypt: (1, [iPyramids, iGreatLibrary, iGreatLighthouse], True),
  	iGreece: (2, [iColossus, iParthenon, iStatueOfZeus, iTempleOfArtemis], True),
  	iCarthage: (0, [iGreatCothon], False),
  	iPolynesia: (2, [iMoaiStatues], True),
  	iMaya: (1, [iTempleOfKukulkan], True),
  	iMoors: (1, [iMezquita], False),
  	iKhmer: (0, [iWatPreahPisnulok], False),
  	iFrance: (2, [iNotreDame, iVersailles, iLouvre, iEiffelTower, iMetropolitain], True),
  	iMali: (1, [iUniversityOfSankore], False),
  	iItaly: (0, [iSanMarcoBasilica, iSistineChapel, iSantaMariaDelFiore], True),
  	iMughals: (1, [iTajMahal, iRedFort, iShalimarGardens], True),
  	iAmerica: (1, [iStatueOfLiberty, iBrooklynBridge, iEmpireStateBuilding, iGoldenGateBridge, iPentagon, iUnitedNations], True),
  	iBrazil: (1, [iWembley, iCristoRedentor, iItaipuDam], True),
  }
  
  dReligionGoals = {
  	iHolyRome: (1, [iProtestantism]),
  }
  		
  ### EVENT HANDLING ###
  
  def setup():
  
  	# 1700 AD scenario: handle dates that have already been passed
  	if utils.getScenario() == i1700AD:
  		for iPlayer in [iChina, iIndia, iTamils, iKorea, iVikings, iTurks, iSpain, iHolyRome, iPoland, iPortugal, iMughals, iOttomans, iThailand]:
  			loseAll(iPlayer)
  			
  		win(iPersia, 0)
  		win(iJapan, 0)
  		win(iFrance, 0)
  		win(iCongo, 0)
  		
  		# French goal needs to be winnable
  		data.setWonderBuilder(iNotreDame, iFrance)
  		data.setWonderBuilder(iVersailles, iFrance)
  		data.setWonderBuilder(iLouvre, iFrance)
  		
  		# help Congo
  		data.iCongoSlaveCounter += 500
  		
  		# help Netherlands
  		data.iDutchColonies += 2
  	
  	# ignore AI goals
  	bIgnoreAI = (gc.getDefineINT("NO_AI_UHV_CHECKS") == 1)
  	data.bIgnoreAI = bIgnoreAI
  	
  	if bIgnoreAI:
  		for iPlayer in range(iNumPlayers):
  			if utils.getHumanID() != iPlayer:
  				loseAll(iPlayer)
  				
  def checkTurn(iGameTurn, iPlayer):
  
  	if not gc.getGame().isVictoryValid(7): return
  	
  	if iPlayer >= iNumPlayers: return
  	
  	if iGameTurn == utils.getScenarioStartTurn(): return
  	
  	if not gc.getPlayer(iPlayer).isAlive(): return
  	
  	# Don't check AI civilizations to improve speed
  	if utils.getHumanID() != iPlayer and data.bIgnoreAI: return
  	
  	pPlayer = gc.getPlayer(iPlayer)
  	
  	if iPlayer == iEgypt:
  	
  		# first goal: have 500 culture in 850 BC
  		if iGameTurn == getTurnForYear(-850):
  			if pEgypt.countTotalCulture() >= utils.getTurns(500):
  				win(iEgypt, 0)
  			else:
  				lose(iEgypt, 0)
  				
  		# first goal: build the Pyramids, the Great Lighthouse and the Great Library by 100 BC
  		if iGameTurn == getTurnForYear(-100):
  			expire(iEgypt, 1)
  				
  		# third goal: have 5000 culture in 170 AD
  		if iGameTurn == getTurnForYear(170):
  			if pEgypt.countTotalCulture() >= utils.getTurns(5000):
  				win(iEgypt, 2)
  			else:
  				lose(iEgypt, 2)
  				
  	elif iPlayer == iChina:
  	
  		# first goal: build two Confucian and Taoist Cathedrals by 1000 AD
  		if iGameTurn == getTurnForYear(1000):
  			expire(iChina, 0)
  			
  		# second goal: be first to discover Compass, Gunpowder, Paper and Printing Press
  		
  		# third goal: experience four golden ages by 1800 AD
  		if isPossible(iChina, 2):
  			if data.iChineseGoldenAgeTurns >= utils.getTurns(32):
  				win(iChina, 2)
  				
  			if pChina.isGoldenAge() and not pChina.isAnarchy():
  				data.iChineseGoldenAgeTurns += 1
  				
  		if iGameTurn == getTurnForYear(1800):
  			expire(iChina, 2)
  				
  	elif iPlayer == iBabylonia:
  	
  		# first goal: be the first to discover Construction, Arithmetics, Writing, Calendar and Contract
  		
  		# second goal: make Babylon the most populous city in the world in 850 BC
  		if iGameTurn == getTurnForYear(-850):
  			if isBestCity(iBabylonia, (76, 40), cityPopulation):
  				win(iBabylonia, 1)
  			else:
  				lose(iBabylonia, 1)
  			
  		# third goal: make Babylon the most cultured city in the world in 700 BC
  		if iGameTurn == getTurnForYear(-700):
  			if isBestCity(iBabylonia, (76, 40), cityCulture):
  				win(iBabylonia, 2)
  			else:
  				lose(iBabylonia, 2)
  				
  	elif iPlayer == iHarappa:
  	
  		# first goal: establish a trade connection with another civilization by 1600 BC
  		if isPossible(iHarappa, 0):
  			if isTradeConnected(iHarappa):
  				win(iHarappa, 0)
  				
  		if iGameTurn == getTurnForYear(-1600):
  			expire(iHarappa, 0)
  			
  		# second goal: build three Baths and two Walls by 1500 BC
  		if iGameTurn == getTurnForYear(-1500):
  			expire(iHarappa, 1)
  			
  		# third goal: have a total population of 30 by 800 BC
  		if isPossible(iHarappa, 2):
  			if pHarappa.getTotalPopulation() >= 30:
  				win(iHarappa, 2)
  				
  		if iGameTurn == getTurnForYear(-800):
  			expire(iHarappa, 2)
  			
  	elif iPlayer == iGreece:
  	
  		# first goal: be the first to discover Mathematics, Literature, Aesthetics, Medicine and Philosophy
  			
  		# second goal: control Egypt, Phoenicia, Babylonia and Persia in 330 BC
  		if iGameTurn == getTurnForYear(-330):
  			bEgypt = checkOwnedCiv(iGreece, iEgypt)
  			bPhoenicia = checkOwnedCiv(iGreece, iCarthage)
  			bBabylonia = checkOwnedCiv(iGreece, iBabylonia)
  			bPersia = checkOwnedCiv(iGreece, iPersia)
  			if bEgypt and bPhoenicia and bBabylonia and bPersia:
  				win(iGreece, 1)
  			else:
  				lose(iGreece, 1)
  		
  		# third goal: build the Parthenon, the Colossus, the Statue of Zeus and the Temple of Artemis by 250 BC
  		if iGameTurn == getTurnForYear(-250):
  			expire(iGreece, 2)
  				
  	elif iPlayer == iIndia:
  	
  		# first goal: control the Hindu and Buddhist shrine in 100 BC
  		if iGameTurn == getTurnForYear(-100):
  			bBuddhistShrine = getNumBuildings(iIndia, iBuddhistShrine) > 0
  			bHinduShrine = getNumBuildings(iIndia, iHinduShrine) > 0
  			if bHinduShrine and bBuddhistShrine:
  				win(iIndia, 0)
  			else:
  				lose(iIndia, 0)
  				
  		# second goal: build 20 temples by 700 AD
  		if iGameTurn == getTurnForYear(700):
  			expire(iIndia, 1)
  			
  		# third goal: control 20% of the world's population in 1200 AD
  		if iGameTurn == getTurnForYear(1200):
  			if getPopulationPercent(iIndia) >= 20.0:
  				win(iIndia, 2)
  			else:
  				lose(iIndia, 2)
  				
  	elif iPlayer == iCarthage:
  	
  		# first goal: build a Palace and the Great Cothon in Carthagee by 300 BC
  		if isPossible(iCarthage, 0):
  			bPalace = isBuildingInCity((58, 39), iPalace)
  			bGreatCothon = isBuildingInCity((58, 39), iGreatCothon)
  			if bPalace and bGreatCothon:
  				win(iCarthage, 0)
  		
  		if iGameTurn == getTurnForYear(-300):
  			expire(iCarthage, 0)
  				
  		# second goal: control Italy and Iberia in 100 BC
  		if iGameTurn == getTurnForYear(-100):
  			bItaly = isControlled(iCarthage, utils.getPlotList(Areas.tNormalArea[iItaly][0], Areas.tNormalArea[iItaly][1], [(62, 47), (63, 47), (63, 46)]))
  			bIberia = isControlled(iCarthage, Areas.getNormalArea(iSpain, False))
  			if bItaly and bIberia:
  				win(iCarthage, 1)
  			else:
  				lose(iCarthage, 1)
  				
  		# third goal: have 5000 gold in 200 AD
  		if iGameTurn == getTurnForYear(200):
  			if pCarthage.getGold() >= utils.getTurns(5000):
  				win(iCarthage, 2)
  			else:
  				lose(iCarthage, 2)
  				
  	elif iPlayer == iPolynesia:
  	
  		# first goal: settle two of the following island groups by 800 AD: Hawaii, New Zealand, Marquesas and Easter Island
  		if iGameTurn == getTurnForYear(800):
  			expire(iPolynesia, 0)
  			
  		# second goal: settle Hawaii, New Zealand, Marquesas and Easter Island by 1000 AD
  		if iGameTurn == getTurnForYear(1000):
  			expire(iPolynesia, 1)
  			
  		# third goal: build the Moai Statues by 1200 AD
  		if iGameTurn == getTurnForYear(1200):
  			expire(iPolynesia, 2)
  			
  	elif iPlayer == iPersia:
  	
  		# Persia
  		if not pPersia.isReborn():
  		
  			# first goal: control 7% of world territory by 140 AD
  			if isPossible(iPersia, 0):
  				if getLandPercent(iPersia) >= 6.995:
  					win(iPersia, 0)
  			
  			if iGameTurn == getTurnForYear(140):
  				expire(iPersia, 0)
  				
  			# second goal: control seven wonders by 350 AD
  			if isPossible(iPersia, 1):
  				if countWonders(iPersia) >= 7:
  					win(iPersia, 1)
  					
  			if iGameTurn == getTurnForYear(350):
  				expire(iPersia, 1)
  						
  			# third goal: control two holy shrines in 350 AD
  			if iGameTurn == getTurnForYear(350):
  				if countShrines(iPersia) >= 2:
  					win(iPersia, 2)
  				else:
  					lose(iPersia, 2)
  					
  		# Iran			
  		else:
  		
  			# first goal: have open borders with 6 European civilizations in 1650
  			if iGameTurn == getTurnForYear(1650):
  				if countOpenBorders(iPersia, lCivGroups[0]) >= 6:
  					win(iPersia, 0)
  				else:
  					lose(iPersia, 0)
  					
  			# second goal: control Mesopotamia, Transoxania and Northwest India in 1750 AD
  			if iGameTurn == getTurnForYear(1750):
  				bMesopotamia = isControlled(iPersia, utils.getPlotList(tSafavidMesopotamiaTL, tSafavidMesopotamiaBR))
  				bTransoxania = isControlled(iPersia, utils.getPlotList(tTransoxaniaTL, tTransoxaniaBR))
  				bNWIndia = isControlled(iPersia, utils.getPlotList(tNWIndiaTL, tNWIndiaBR, tNWIndiaExceptions))
  				if bMesopotamia and bTransoxania and bNWIndia:
  					win(iPersia, 1)
  				else:
  					lose(iPersia, 1)
  					
  			# third goal: have a city with 20000 culture in 1800 AD
  			if iGameTurn == getTurnForYear(1800):
  				mostCulturedCity = getMostCulturedCity(iPersia)
  				if mostCulturedCity.getCulture(iPersia) >= utils.getTurns(20000):
  					win(iPersia, 2)
  				else:
  					lose(iPersia, 2)
  					
  	elif iPlayer == iRome:
  	
  		# first goal: build 6 Barracks, 5 Aqueducts, 4 Amphitheatres and 3 Forums by 100 AD
  		if iGameTurn == getTurnForYear(100):
  			expire(iRome, 0)
  			
  		# second goal: control Iberia, Gaul, Britain, Africa, Greece, Asia Minor and Egypt in 320 AD
  		if iGameTurn == getTurnForYear(320):
  			bSpain = getNumCitiesInArea(iRome, Areas.getNormalArea(iSpain, False)) >= 2
  			bFrance = getNumCitiesInArea(iRome, utils.getPlotList(tFranceTL, Areas.tNormalArea[iFrance][1])) >= 3
  			bEngland = getNumCitiesInArea(iRome, Areas.getCoreArea(iEngland, False)) >= 1
  			bCarthage = getNumCitiesInArea(iRome, utils.getPlotList(tCarthageTL, tCarthageBR)) >= 2
  			bByzantium = getNumCitiesInArea(iRome, Areas.getCoreArea(iByzantium, False)) >= 4
  			bEgypt = getNumCitiesInArea(iRome, Areas.getCoreArea(iEgypt, False)) >= 2
  			if bSpain and bFrance and bEngland and bCarthage and bByzantium and bEgypt:
  				win(iRome, 1)
  			else:
  				lose(iRome, 1)
  					
  		# third goal: be first to discover Theology, Machinery and Civil Service
  		
  	elif iPlayer == iTamils:
  	
  		# first goal: have 3000 gold and 2000 culture in 800 AD
  		if iGameTurn == getTurnForYear(800):
  			if pTamils.getGold() >= utils.getTurns(3000) and pTamils.countTotalCulture() >= utils.getTurns(2000):
  				win(iTamils, 0)
  			else:
  				lose(iTamils, 0)
  				
  		# second goal: control or vassalize the Deccan and Srivijaya in 1000 AD
  		if iGameTurn == getTurnForYear(1000):
  			bDeccan = isControlledOrVassalized(iTamils, utils.getPlotList(tDeccanTL, tDeccanBR))
  			bSrivijaya = isControlledOrVassalized(iTamils, utils.getPlotList(tSrivijayaTL, tSrivijayaBR))
  			if bDeccan and bSrivijaya:
  				win(iTamils, 1)
  			else:
  				lose(iTamils, 1)
  				
  		# third goal: acquire 4000 gold by trade by 1200 AD
  		if isPossible(iTamils, 2):
  			iTradeGold = 0
  			
  			# gold from city trade routes
  			iTradeCommerce = 0
  			for city in utils.getCityList(iTamils):
  				iTradeCommerce += city.getTradeYield(2)
  			iTradeGold += iTradeCommerce * pTamils.getCommercePercent(0)
  			
  			# gold from per turn gold trade
  			for iPlayer in range(iNumPlayers):
  				iTradeGold += pTamils.getGoldPerTurnByPlayer(iPlayer) * 100
  			
  			data.iTamilTradeGold += iTradeGold
  			
  			if data.iTamilTradeGold / 100 >= utils.getTurns(4000):
  				win(iTamils, 2)
  				
  		if iGameTurn == getTurnForYear(1200):
  			expire(iTamils, 2)
  					
  	elif iPlayer == iEthiopia:
  	
  		# first goal: settle a great prophet in two Orthodox cities by 500 AD
  		if isPossible(iEthiopia, 0):
  			if countReligionSpecialistCities(iEthiopia, iOrthodoxy, iSpecialistGreatProphet) >= 2:
  				win(iEthiopia, 0)
  				
  		if iGameTurn == getTurnForYear(500):
  			expire(iEthiopia, 0)
  		
  		# second goal: acquire three incense resources by 600 AD
  		if isPossible(iEthiopia, 1):
  			if pEthiopia.getNumAvailableBonuses(iIncense) >= 3:
  				win(iEthiopia, 1)
  				
  		if iGameTurn == getTurnForYear(600):
  			expire(iEthiopia, 1)
  			
  		# third goal: allow no European colonies in East and Subequatorial Africa in 1500 AD and 1910 AD
  		if iGameTurn == getTurnForYear(1500):
  			bEastAfrica = isAreaFreeOfCivs(utils.getPlotList(tSomaliaTL, tSomaliaBR), lCivGroups[0])
  			bSubequatorialAfrica = isAreaFreeOfCivs(utils.getPlotList(tSubeqAfricaTL, tSubeqAfricaBR), lCivGroups[0])
  			if not bEastAfrica or not bSubequatorialAfrica:
  				lose(iEthiopia, 2)
  				
  		if iGameTurn == getTurnForYear(1910) and isPossible(iEthiopia, 2):
  			bEastAfrica = isAreaFreeOfCivs(utils.getPlotList(tSomaliaTL, tSomaliaBR), lCivGroups[0])
  			bSubequatorialAfrica = isAreaFreeOfCivs(utils.getPlotList(tSubeqAfricaTL, tSubeqAfricaBR), lCivGroups[0])
  			if bEastAfrica and bSubequatorialAfrica:
  				win(iEthiopia, 2)
  			else:
  				lose(iEthiopia, 2)
  				
  	elif iPlayer == iKorea:
  	
  		# first goal: build a Buddhist Stupa and a Confucian Academy by 1200 AD
  		if iGameTurn == getTurnForYear(1200):
  			expire(iKorea, 0)
  			
  		# second goal: be first to discover Printing Press
  		
  		# third goal: sink 20 enemy ships
  		
  	elif iPlayer == iMaya:
  	
  		# Maya
  		if not pMaya.isReborn():
  		
  			# first goal: discover Calendar by 600 AD
  			if iGameTurn == getTurnForYear(600):
  				expire(iMaya, 0)
  				
  			# second goal: build the Temple of Kukulkan by 900 AD
  			if iGameTurn == getTurnForYear(900):
  				expire(iMaya, 1)
  				
  			#
  
  [... the rest is omitted ...]
files: Assets/Python/Victory.py
files: # Rhye's and Fall of Civilization - Historical Victory Goals
  
  from CvPythonExtensions import *
  from StoredData import data
  from Consts import *
  from RFCUtils import utils
  import heapq
  import Areas
  import CityNameManager as cnm
  
  ### GLOBALS ###
  
  gc = CyGlobalContext()
  localText = CyTranslator()
  
  ### CONSTANTS ###
  
  # general constants
  lWonders = [i for i in range(iBeginWonders, iNumBuildings)]
  lGreatPeople = [iSpecialistGreatProphet, iSpecialistGreatArtist, iSpecialistGreatScientist, iSpecialistGreatMerchant, iSpecialistGreatEngineer, iSpecialistGreatStatesman, iSpecialistGreatGeneral, iSpecialistGreatSpy]
  
  # first Polynesian goal: settle two out of the following island groups by 800 AD: Hawaii, New Zealand, Marquesas and Easter Island
  # second Polynesian goal: settle Hawaii, New Zealand, Marquesas and Easter Island by 1000 AD
  tHawaiiTL = (0, 34)
  tHawaiiBR = (6, 39)
  tNewZealandTL = (119, 4)
  tNewZealandBR = (123, 12)
  tMarquesasTL = (14, 22)
  tMarquesasBR = (16, 24)
  tEasterIslandTL = (20, 15)
  tEasterIslandBR = (22, 17)
  
  # second Roman goal: control Iberia, Gaul, Britain, Africa, Greece, Asia Minor and Egypt in 320 AD
  tFranceTL = (51, 47)
  
  # second Roman goal: control Iberia, Gaul, Britain, Africa, Greece, Asia Minor and Egypt in 320 AD
  # second Arabian goal: control or vassalize Spain, the Maghreb, Egypt, Mesopotamia and Persia in 1300 AD
  tCarthageTL = (50, 36)
  tCarthageBR = (61, 39)
  
  # second Tamil goal: control or vassalize the Deccan and Srivijaya in 1000 AD
  tDeccanTL = (88, 28)
  tDeccanBR = (94, 36)
  tSrivijayaTL = (98, 25)
  tSrivijayaBR = (105, 29)
  
  # third Ethiopian goal: allow no European colonies and East and Subequatorial Africa in 1500 AD and 1910 AD
  tSomaliaTL = (73, 24)
  tSomaliaBR = (77, 29)
  tSubeqAfricaTL = (60, 10)
  tSubeqAfricaBR = (72, 29)
  
  # third Byzantine goal: control three cities in the Balkans, Northern Africa and the Near East in 1450 AD
  tNearEastTL = (69, 37)
  tNearEastBR = (76, 45)
  tBalkansTL = (64, 40)
  tBalkansBR = (68, 47)
  tNorthAfricaTL = (58, 32)
  tNorthAfricaBR = (71, 38)
  
  # second Japanese goal: control or vassalize Korea, Manchuria, China, Indochina, Indonesia and the Philippines in 1940
  tManchuriaTL = (104, 50)
  tManchuriaBR = (112, 55)
  tKoreaTL = (108, 45)
  tKoreaBR = (110, 49)
  tChinaTL = (99, 39)
  tChinaBR = (107, 49)
  tIndochinaTL = (97, 31)
  tIndochinaBR = (104, 38)
  tIndochinaExceptions = ((103, 38), (104, 37))
  tIndonesiaTL = (98, 24)
  tIndonesiaBR = (109, 30)
  tPhilippinesTL = (108, 30)
  tPhilippinesBR = (110, 36)
  
  # second Turkic goal: create an overland trade route from a city in China to a Mediterranean port by 1100 AD
  lMediterraneanPorts = [(66, 37), (66, 36), (67, 36), (68, 36), (69, 36), (70, 36), (71, 36), (72, 37), (73, 37), (73, 38), (73, 39), (73, 40), (73, 41), (73, 42), (71, 42), (70, 42), (70, 43), (69, 43), (69, 44), (68, 45)]
  
  # first Moorish goal: control three cities in Iberia, the Maghreb and West Africa in 1200 AD
  tIberiaTL = (49, 40)
  tIberiaBR = (55, 46)
  tMaghrebTL = (49, 35)
  tMaghrebBR = (58, 39)
  tWestAfricaTL = (48, 26)
  tWestAfricaBR = (56, 32)
  
  # third Spanish goal: spread Catholicism to 40% and allow no Protestant civilization in Europe in 1700 AD
  # second French goal: control 40% of Europe and North America in 1800 AD
  tEuropeTL = (44, 40)
  tEuropeBR = (68, 65)
  
  # second French goal: control 40% of Europe and North America in 1800 AD
  tEasternEuropeTL = (69, 48)
  tEasternEuropeBR = (73, 64)
  
  # second French goal: control 40% of Europe and North America in 1800 AD
  # first English goal: colonize every continent by 1730 AD
  # third Maya goal: make contact with a European civilization before they have discovered America
  tNorthAmericaTL = (10, 40)
  tNorthAmericaBR = (37, 58)
  
  # first English goal: colonize every continent by 1730 AD
  tOceaniaTL = (99, 5)
  tOceaniaBR = (123, 28)
  
  # first English goal: colonize every continent by 1730 AD
  # third Maya goal: make contact with a European civilization before they have discovered America
  tSouthCentralAmericaTL = (13, 3)
  tSouthCentralAmericaBR = (41, 39)
  
  # first English goal: colonize every continent by 1730 AD
  # third Portuguese goal: control 15 cities in Brazil, Africa and Asia in 1700 AD
  tAfricaTL = (45, 10)
  tAfricaBR = (76, 39)
  tAsiaTL = (73, 29)
  tAsiaBR = (121, 64)
  
  # first Russian goal: found seven cities in Siberia by 1700 AD and build the Trans-Siberian Railway by 1920 AD
  tSiberiaTL = (82, 50)
  tSiberiaBR = (112, 64)
  lSiberianCoast = [(109, 50), (109, 51), (110, 51), (111, 51), (112, 52), (114, 54), (113, 55), (111, 54), (111, 55), (110, 55), (110, 58), (111, 58), (112, 59)]
  
  # second Portuguese goal: acquire 12 colonial resources by 1650 AD
  lColonialResources = [iBanana, iSpices, iSugar, iCoffee, iTea, iTobacco]
  
  # third Portuguese goal: control 15 cities in Brazil, Africa and Asia in 1700 AD
  tBrazilTL = (32, 14)
  tBrazilBR = (43, 30)
  
  # third Italian goal: control 65% of the Mediterranean by 1930 AD
  tMediterraneanTL = (51, 36)
  tMediterraneanBR = (73, 47)
  tMediterraneanExceptions = ((51,36),(51,46),(52,46),(53,46),(53,47),(67,47),(67,46),(73,44),(73,45),(72,45),(71,45),(71,44),(70,44),(73,36))
  
  # first Incan goal: build five Tambos and a road along the Andean coast by 1500 AD
  lAndeanCoast = [(25, 29), (24, 28), (24, 27), (24, 26), (24, 25), (25, 24), (25, 23), (26, 22), (27, 21), (28, 20), (29, 19), (30, 18), (30, 17), (30, 16), (30, 15), (30, 14)]
  
  # third Incan goal: control 60% of South America in 1700 AD
  # second Colombian goal: control South America in 1920 AD
  tSAmericaTL = (24, 3)
  tSAmericaBR = (43, 32)
  tSouthAmericaExceptions = ((24, 31), (25, 32))
  
  # third Holy Roman goal: settle three great artists in Vienna by 1700 AD
  # second Turkish goal: control the Eastern Mediterranean, the Black Sea, Cairo, Mecca, Baghdad and Vienna by 1700 AD
  tVienna = (62, 49)
  
  # second Turkish goal: control the Eastern Mediterranean, the Black Sea, Cairo, Mecca, Baghdad and Vienna by 1700 AD
  tCairo = (69, 34)
  tMecca = (75, 33)
  tBaghdad = (77, 40)
  lEasternMediterranean = [(58, 39), (58, 38), (58, 37), (59, 37), (60, 37), (61, 37), (61, 36), (62, 36), (63, 36), (64, 36), (65, 36), (66, 36), (67, 36), (68, 36), (69, 36), (70, 36), (71, 36), (65, 37), (66, 37), (72, 37), (73, 37), (73, 38), (73, 39), (73, 40), (73, 41), (73, 42), (70, 42), (71, 42), (72, 42), (69, 43), (70, 43), (69, 44), (68, 45), (67, 44), (67, 45), (66, 44), (65, 43), (66, 43), (65, 42), (66, 42), (67, 42), (67, 41), (65, 40), (66, 40)]
  lBlackSea = [(69, 44), (70, 44), (71, 44), (71, 45), (72, 45), (73, 45), (73, 44), (74, 44), (75, 44), (76, 44), (76, 45), (76, 46), (76, 47), (75, 47), (74, 48), (75, 48), (72, 48), (74, 49), (73, 49), (71, 49), (69, 49), (69, 50), (70, 50), (71, 50), (72, 50), (73, 50), (68, 49), (68, 48), (67, 45), (67, 46), (67, 47), (67, 48), (68, 45)]
  
  # third Thai goal: allow no foreign powers in South Asia in 1900 AD
  tSouthAsiaTL = (88, 24)
  tSouthAsiaBR = (110, 38)
  lSouthAsianCivs = [iIndia, iTamils, iIndonesia, iKhmer, iMughals, iThailand]
  
  # second Iranian goal: control Mesopotamia, Transoxania and Northwest India in 1750 AD
  tSafavidMesopotamiaTL = (75, 39)
  tSafavidMesopotamiaBR = (79, 43)
  tTransoxaniaTL = (82, 42)
  tTransoxaniaBR = (86, 49)
  tNWIndiaTL = (85, 36)
  tNWIndiaBR = (91, 43)
  tNWIndiaExceptions = ((89, 36), (90, 36), (91, 36), (89, 37), (90, 37), (91, 37), (89, 38), (90, 38), (91, 38))
  
  # first American goal: allow no European colonies in North America, Central America and the Caribbean
  tNCAmericaTL = (3, 33)
  tNCAmericaBR = (37, 63)
  
  # first Colombian goal: allow no European civilizations in Peru, Gran Colombia, Guayanas and the Caribbean in 1870 AD
  tPeruTL = (25, 16)
  tPeruBR = (32, 24)
  tGranColombiaTL = (21, 25)
  tGranColombiaBR = (32, 35)
  tGuayanasTL = (33, 27)
  tGuayanasBR = (37, 31)
  tCaribbeanTL = (25, 33)
  tCaribbeanBR = (33, 39)
  
  # first Canadian goal: connect your capital to an Atlantic and a Pacific port by 1920 AD
  lAtlanticCoast = [(34, 50), (33, 51), (35, 51), (30, 52), (31, 52), (32, 52), (30, 53), (35, 53), (30, 54), (31, 54), (32, 54), (35, 54), (36, 54), (32, 55), (33, 55), (34, 55)]
  lPacificCoast = [(11, 51), (10, 52), (11, 53), (10, 56)]
  
  # second Canadian goal: control all cities and 90% of the territory in Canada without ever conquering a city by 1950 AD
  tCanadaWestTL = (10, 52)
  tCanadaWestBR = (26, 61)
  tCanadaWestExceptions = ((10, 59), (10, 60), (10, 61), (21, 61), (22, 61), (23, 61), (24, 61), (25, 61))
  tCanadaEastTL = (27, 50)
  tCanadaEastBR = (36, 59)
  tCanadaEastExceptions = ((30, 50), (31, 50), (32, 50), (32, 51))
  
  ### GOAL CONSTANTS ###
  
  dTechGoals = {
  	iChina: (1, [iCompass, iPaper, iGunpowder, iPrinting]),
  	iBabylonia: (0, [iConstruction, iArithmetics, iWriting, iCalendar, iContract]),
  	iGreece: (0, [iMathematics, iLiterature, iAesthetics, iPhilosophy, iMedicine]),
  	iRome: (2, [iArchitecture, iPolitics, iScholarship, iMachinery, iCivilService]),
  	iKorea: (1, [iPrinting]),
  	iPoland: (1, [iCivilLiberties]),
  }
  
  dEraGoals = {}
  
  dWonderGoals = {
  	iEgypt: (1, [iPyramids, iGreatLibrary, iGreatLighthouse], True),
  	iGreece: (2, [iColossus, iParthenon, iStatueOfZeus, iTempleOfArtemis], True),
  	iCarthage: (0, [iGreatCothon], False),
  	iPolynesia: (2, [iMoaiStatues], True),
  	iMaya: (1, [iTempleOfKukulkan], True),
  	iMoors: (1, [iMezquita], False),
  	iKhmer: (0, [iWatPreahPisnulok], False),
  	iFrance: (2, [iNotreDame, iVersailles, iStatueOfLiberty, iEiffelTower], True),
  	iMali: (1, [iUniversityOfSankore], False),
  	iItaly: (0, [iSanMarcoBasilica, iSistineChapel, iSantaMariaDelFiore], True),
  	iMughals: (1, [iTajMahal, iRedFort, iHarmandirSahib], True),
  	iAmerica: (1, [iStatueOfLiberty, iEmpireStateBuilding, iPentagon, iUnitedNations], True),
  	iBrazil: (1, [iWembley, iCristoRedentor, iItaipuDam], True),
  }
  
  dReligionGoals = {
  	iHolyRome: (1, [iProtestantism]),
  }
  		
  ### EVENT HANDLING ###
  
  def setup():
  
  	# 1700 AD scenario: handle dates that have already been passed
  	if utils.getScenario() == i1700AD:
  		for iPlayer in [iChina, iIndia, iTamils, iKorea, iVikings, iTurks, iSpain, iHolyRome, iPoland, iPortugal, iMughals, iOttomans, iThailand]:
  			loseAll(iPlayer)
  			
  		win(iPersia, 0)
  		win(iJapan, 0)
  		win(iFrance, 0)
  		win(iCongo, 0)
  		
  		# French goal needs to be winnable
  		data.setWonderBuilder(iNotreDame, iFrance)
  		data.setWonderBuilder(iVersailles, iFrance)
  		
  		# help Congo
  		data.iCongoSlaveCounter += 500
  		
  		# help Netherlands
  		data.iDutchColonies += 2
  	
  	# ignore AI goals
  	bIgnoreAI = (gc.getDefineINT("NO_AI_UHV_CHECKS") == 1)
  	data.bIgnoreAI = bIgnoreAI
  	
  	if bIgnoreAI:
  		for iPlayer in range(iNumPlayers):
  			if utils.getHumanID() != iPlayer:
  				loseAll(iPlayer)
  				
  def checkTurn(iGameTurn, iPlayer):
  
  	if not gc.getGame().isVictoryValid(7): return
  	
  	if iPlayer >= iNumPlayers: return
  	
  	if iGameTurn == utils.getScenarioStartTurn(): return
  	
  	if not gc.getPlayer(iPlayer).isAlive(): return
  	
  	# Don't check AI civilizations to improve speed
  	if utils.getHumanID() != iPlayer and data.bIgnoreAI: return
  	
  	pPlayer = gc.getPlayer(iPlayer)
  	
  	if iPlayer == iEgypt:
  	
  		# first goal: have 500 culture in 850 BC
  		if iGameTurn == getTurnForYear(-850):
  			if pEgypt.countTotalCulture() >= utils.getTurns(500):
  				win(iEgypt, 0)
  			else:
  				lose(iEgypt, 0)
  				
  		# first goal: build the Pyramids, the Great Lighthouse and the Great Library by 100 BC
  		if iGameTurn == getTurnForYear(-100):
  			expire(iEgypt, 1)
  				
  		# third goal: have 5000 culture in 170 AD
  		if iGameTurn == getTurnForYear(170):
  			if pEgypt.countTotalCulture() >= utils.getTurns(5000):
  				win(iEgypt, 2)
  			else:
  				lose(iEgypt, 2)
  				
  	elif iPlayer == iChina:
  	
  		# first goal: build two Confucian and Taoist Cathedrals by 1000 AD
  		if iGameTurn == getTurnForYear(1000):
  			expire(iChina, 0)
  			
  		# second goal: be first to discover Compass, Gunpowder, Paper and Printing Press
  		
  		# third goal: experience four golden ages by 1800 AD
  		if isPossible(iChina, 2):
  			if data.iChineseGoldenAgeTurns >= utils.getTurns(32):
  				win(iChina, 2)
  				
  			if pChina.isGoldenAge() and not pChina.isAnarchy():
  				data.iChineseGoldenAgeTurns += 1
  				
  		if iGameTurn == getTurnForYear(1800):
  			expire(iChina, 2)
  				
  	elif iPlayer == iBabylonia:
  	
  		# first goal: be the first to discover Construction, Arithmetics, Writing, Calendar and Contract
  		
  		# second goal: make Babylon the most populous city in the world in 850 BC
  		if iGameTurn == getTurnForYear(-850):
  			if isBestCity(iBabylonia, (76, 40), cityPopulation):
  				win(iBabylonia, 1)
  			else:
  				lose(iBabylonia, 1)
  			
  		# third goal: make Babylon the most cultured city in the world in 700 BC
  		if iGameTurn == getTurnForYear(-700):
  			if isBestCity(iBabylonia, (76, 40), cityCulture):
  				win(iBabylonia, 2)
  			else:
  				lose(iBabylonia, 2)
  				
  	elif iPlayer == iHarappa:
  	
  		# first goal: establish a trade connection with another civilization by 1600 BC
  		if isPossible(iHarappa, 0):
  			if isTradeConnected(iHarappa):
  				win(iHarappa, 0)
  				
  		if iGameTurn == getTurnForYear(-1600):
  			expire(iHarappa, 0)
  			
  		# second goal: build three Baths and two Walls by 1500 BC
  		if iGameTurn == getTurnForYear(-1500):
  			expire(iHarappa, 1)
  			
  		# third goal: have a total population of 30 by 800 BC
  		if isPossible(iHarappa, 2):
  			if pHarappa.getTotalPopulation() >= 30:
  				win(iHarappa, 2)
  				
  		if iGameTurn == getTurnForYear(-800):
  			expire(iHarappa, 2)
  			
  	elif iPlayer == iGreece:
  	
  		# first goal: be the first to discover Mathematics, Literature, Aesthetics, Medicine and Philosophy
  			
  		# second goal: control Egypt, Phoenicia, Babylonia and Persia in 330 BC
  		if iGameTurn == getTurnForYear(-330):
  			bEgypt = checkOwnedCiv(iGreece, iEgypt)
  			bPhoenicia = checkOwnedCiv(iGreece, iCarthage)
  			bBabylonia = checkOwnedCiv(iGreece, iBabylonia)
  			bPersia = checkOwnedCiv(iGreece, iPersia)
  			if bEgypt and bPhoenicia and bBabylonia and bPersia:
  				win(iGreece, 1)
  			else:
  				lose(iGreece, 1)
  		
  		# third goal: build the Parthenon, the Colossus, the Statue of Zeus and the Temple of Artemis by 250 BC
  		if iGameTurn == getTurnForYear(-250):
  			expire(iGreece, 2)
  				
  	elif iPlayer == iIndia:
  	
  		# first goal: control the Hindu and Buddhist shrine in 100 BC
  		if iGameTurn == getTurnForYear(-100):
  			bBuddhistShrine = getNumBuildings(iIndia, iBuddhistShrine) > 0
  			bHinduShrine = getNumBuildings(iIndia, iHinduShrine) > 0
  			if bHinduShrine and bBuddhistShrine:
  				win(iIndia, 0)
  			else:
  				lose(iIndia, 0)
  				
  		# second goal: build 20 temples by 700 AD
  		if iGameTurn == getTurnForYear(700):
  			expire(iIndia, 1)
  			
  		# third goal: control 20% of the world's population in 1200 AD
  		if iGameTurn == getTurnForYear(1200):
  			if getPopulationPercent(iIndia) >= 20.0:
  				win(iIndia, 2)
  			else:
  				lose(iIndia, 2)
  				
  	elif iPlayer == iCarthage:
  	
  		# first goal: build a Palace and the Great Cothon in Carthagee by 300 BC
  		if isPossible(iCarthage, 0):
  			bPalace = isBuildingInCity((58, 39), iPalace)
  			bGreatCothon = isBuildingInCity((58, 39), iGreatCothon)
  			if bPalace and bGreatCothon:
  				win(iCarthage, 0)
  		
  		if iGameTurn == getTurnForYear(-300):
  			expire(iCarthage, 0)
  				
  		# second goal: control Italy and Iberia in 100 BC
  		if iGameTurn == getTurnForYear(-100):
  			bItaly = isControlled(iCarthage, utils.getPlotList(Areas.tNormalArea[iItaly][0], Areas.tNormalArea[iItaly][1], [(62, 47), (63, 47), (63, 46)]))
  			bIberia = isControlled(iCarthage, Areas.getNormalArea(iSpain, False))
  			if bItaly and bIberia:
  				win(iCarthage, 1)
  			else:
  				lose(iCarthage, 1)
  				
  		# third goal: have 5000 gold in 200 AD
  		if iGameTurn == getTurnForYear(200):
  			if pCarthage.getGold() >= utils.getTurns(5000):
  				win(iCarthage, 2)
  			else:
  				lose(iCarthage, 2)
  				
  	elif iPlayer == iPolynesia:
  	
  		# first goal: settle two of the following island groups by 800 AD: Hawaii, New Zealand, Marquesas and Easter Island
  		if iGameTurn == getTurnForYear(800):
  			expire(iPolynesia, 0)
  			
  		# second goal: settle Hawaii, New Zealand, Marquesas and Easter Island by 1000 AD
  		if iGameTurn == getTurnForYear(1000):
  			expire(iPolynesia, 1)
  			
  		# third goal: build the Moai Statues by 1200 AD
  		if iGameTurn == getTurnForYear(1200):
  			expire(iPolynesia, 2)
  			
  	elif iPlayer == iPersia:
  	
  		# Persia
  		if not pPersia.isReborn():
  		
  			# first goal: control 7% of world territory by 140 AD
  			if isPossible(iPersia, 0):
  				if getLandPercent(iPersia) >= 6.995:
  					win(iPersia, 0)
  			
  			if iGameTurn == getTurnForYear(140):
  				expire(iPersia, 0)
  				
  			# second goal: control seven wonders by 350 AD
  			if isPossible(iPersia, 1):
  				if countWonders(iPersia) >= 7:
  					win(iPersia, 1)
  					
  			if iGameTurn == getTurnForYear(350):
  				expire(iPersia, 1)
  						
  			# third goal: control two holy shrines in 350 AD
  			if iGameTurn == getTurnForYear(350):
  				if countShrines(iPersia) >= 2:
  					win(iPersia, 2)
  				else:
  					lose(iPersia, 2)
  					
  		# Iran			
  		else:
  		
  			# first goal: have open borders with 6 European civilizations in 1650
  			if iGameTurn == getTurnForYear(1650):
  				if countOpenBorders(iPersia, lCivGroups[0]) >= 6:
  					win(iPersia, 0)
  				else:
  					lose(iPersia, 0)
  					
  			# second goal: control Mesopotamia, Transoxania and Northwest India in 1750 AD
  			if iGameTurn == getTurnForYear(1750):
  				bMesopotamia = isControlled(iPersia, utils.getPlotList(tSafavidMesopotamiaTL, tSafavidMesopotamiaBR))
  				bTransoxania = isControlled(iPersia, utils.getPlotList(tTransoxaniaTL, tTransoxaniaBR))
  				bNWIndia = isControlled(iPersia, utils.getPlotList(tNWIndiaTL, tNWIndiaBR, tNWIndiaExceptions))
  				if bMesopotamia and bTransoxania and bNWIndia:
  					win(iPersia, 1)
  				else:
  					lose(iPersia, 1)
  					
  			# third goal: have a city with 20000 culture in 1800 AD
  			if iGameTurn == getTurnForYear(1800):
  				mostCulturedCity = getMostCulturedCity(iPersia)
  				if mostCulturedCity.getCulture(iPersia) >= utils.getTurns(20000):
  					win(iPersia, 2)
  				else:
  					lose(iPersia, 2)
  					
  	elif iPlayer == iRome:
  	
  		# first goal: build 6 Barracks, 5 Aqueducts, 4 Amphitheatres and 3 Forums by 100 AD
  		if iGameTurn == getTurnForYear(100):
  			expire(iRome, 0)
  			
  		# second goal: control Iberia, Gaul, Britain, Africa, Greece, Asia Minor and Egypt in 320 AD
  		if iGameTurn == getTurnForYear(320):
  			bSpain = getNumCitiesInArea(iRome, Areas.getNormalArea(iSpain, False)) >= 2
  			bFrance = getNumCitiesInArea(iRome, utils.getPlotList(tFranceTL, Areas.tNormalArea[iFrance][1])) >= 3
  			bEngland = getNumCitiesInArea(iRome, Areas.getCoreArea(iEngland, False)) >= 1
  			bCarthage = getNumCitiesInArea(iRome, utils.getPlotList(tCarthageTL, tCarthageBR)) >= 2
  			bByzantium = getNumCitiesInArea(iRome, Areas.getCoreArea(iByzantium, False)) >= 4
  			bEgypt = getNumCitiesInArea(iRome, Areas.getCoreArea(iEgypt, False)) >= 2
  			if bSpain and bFrance and bEngland and bCarthage and bByzantium and bEgypt:
  				win(iRome, 1)
  			else:
  				lose(iRome, 1)
  					
  		# third goal: be first to discover Theology, Machinery and Civil Service
  		
  	elif iPlayer == iTamils:
  	
  		# first goal: have 3000 gold and 2000 culture in 800 AD
  		if iGameTurn == getTurnForYear(800):
  			if pTamils.getGold() >= utils.getTurns(3000) and pTamils.countTotalCulture() >= utils.getTurns(2000):
  				win(iTamils, 0)
  			else:
  				lose(iTamils, 0)
  				
  		# second goal: control or vassalize the Deccan and Srivijaya in 1000 AD
  		if iGameTurn == getTurnForYear(1000):
  			bDeccan = isControlledOrVassalized(iTamils, utils.getPlotList(tDeccanTL, tDeccanBR))
  			bSrivijaya = isControlledOrVassalized(iTamils, utils.getPlotList(tSrivijayaTL, tSrivijayaBR))
  			if bDeccan and bSrivijaya:
  				win(iTamils, 1)
  			else:
  				lose(iTamils, 1)
  				
  		# third goal: acquire 4000 gold by trade by 1200 AD
  		if isPossible(iTamils, 2):
  			iTradeGold = 0
  			
  			# gold from city trade routes
  			iTradeCommerce = 0
  			for city in utils.getCityList(iTamils):
  				iTradeCommerce += city.getTradeYield(2)
  			iTradeGold += iTradeCommerce * pTamils.getCommercePercent(0)
  			
  			# gold from per turn gold trade
  			for iPlayer in range(iNumPlayers):
  				iTradeGold += pTamils.getGoldPerTurnByPlayer(iPlayer) * 100
  			
  			data.iTamilTradeGold += iTradeGold
  			
  			if data.iTamilTradeGold / 100 >= utils.getTurns(4000):
  				win(iTamils, 2)
  				
  		if iGameTurn == getTurnForYear(1200):
  			expire(iTamils, 2)
  					
  	elif iPlayer == iEthiopia:
  	
  		# first goal: settle a great prophet in two Orthodox cities by 500 AD
  		if isPossible(iEthiopia, 0):
  			if countReligionSpecialistCities(iEthiopia, iOrthodoxy, iSpecialistGreatProphet) >= 2:
  				win(iEthiopia, 0)
  				
  		if iGameTurn == getTurnForYear(500):
  			expire(iEthiopia, 0)
  		
  		# second goal: acquire three incense resources by 600 AD
  		if isPossible(iEthiopia, 1):
  			if pEthiopia.getNumAvailableBonuses(iIncense) >= 3:
  				win(iEthiopia, 1)
  				
  		if iGameTurn == getTurnForYear(600):
  			expire(iEthiopia, 1)
  			
  		# third goal: allow no European colonies in East and Subequatorial Africa in 1500 AD and 1910 AD
  		if iGameTurn == getTurnForYear(1500):
  			bEastAfrica = isAreaFreeOfCivs(utils.getPlotList(tSomaliaTL, tSomaliaBR), lCivGroups[0])
  			bSubequatorialAfrica = isAreaFreeOfCivs(utils.getPlotList(tSubeqAfricaTL, tSubeqAfricaBR), lCivGroups[0])
  			if not bEastAfrica or not bSubequatorialAfrica:
  				lose(iEthiopia, 2)
  				
  		if iGameTurn == getTurnForYear(1910) and isPossible(iEthiopia, 2):
  			bEastAfrica = isAreaFreeOfCivs(utils.getPlotList(tSomaliaTL, tSomaliaBR), lCivGroups[0])
  			bSubequatorialAfrica = isAreaFreeOfCivs(utils.getPlotList(tSubeqAfricaTL, tSubeqAfricaBR), lCivGroups[0])
  			if bEastAfrica and bSubequatorialAfrica:
  				win(iEthiopia, 2)
  			else:
  				lose(iEthiopia, 2)
  				
  	elif iPlayer == iKorea:
  	
  		# first goal: build a Buddhist Stupa and a Confucian Academy by 1200 AD
  		if iGameTurn == getTurnForYear(1200):
  			expire(iKorea, 0)
  			
  		# second goal: be first to discover Printing Press
  		
  		# third goal: sink 20 enemy ships
  		
  	elif iPlayer == iMaya:
  	
  		# Maya
  		if not pMaya.isReborn():
  		
  			# first goal: discover Calendar by 600 AD
  			if iGameTurn == getTurnForYear(600):
  				expire(iMaya, 0)
  				
  			# second goal: build the Temple of Kukulkan by 900 AD
  			if iGameTurn == getTurnForYear(900):
  				expire(iMaya, 1)
  				
  			# third goal: make contact with a European civilization before they discover America
  			if isPossible(iMaya, 2):
  
  
  [... the rest is omitted ...]
files: Assets/Python/Victory.py
files: <?xml version="1.0" encoding="utf-8"?>
  <!-- Victory -->
  <Civ4GameText>
  	<TEXT>
  		<Tag>TXT_KEY_UHV__TITLE</Tag>
  		<English></English>
  		<French></French>
  		<German></German>
  		<Italian></Italian>
  		<Spanish></Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_</Tag>
  		<English></English>
  		<French></French>
  		<German></German>
  		<Italian></Italian>
  		<Spanish></Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_GOALS</Tag>
  		<English>Historical Victory goals</English>
  		<French>Objectifs de victoire historique</French>
  		<German>Historische Siegbedingungen</German>
  		<Italian>Obiettivi per le vittorie storiche</Italian>
  		<Spanish>Objetivos de la victoria hist&#243;rica</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AME1_TITLE</Tag>
  		<English>Manifest Destiny</English>
  		<French>Destin&#233;e manifeste </French>
  		<German>Manifest Destiny</German>
  		<Italian>Manifest Destiny</Italian>
  		<Spanish>Manifest Destiny</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AME1</Tag>
  		<English>Allow no European colonies in North and Central America and in the Caribbean and control or vassalize Mexico in 1900 AD</English>
  		<French>Emp&#234;cher la pr&#233;sence de colonies europ&#233;ennes en Am&#233;rique centrale et du Nord ainsi que dans les Cara&#239;bes et contr&#244;ler ou vassaliser le Mexique en 1900 ap. J.-C.</French>
  		<German>Lassen Sie im Jahr 1900 n. Chr. keine europ&#228;ischen St&#228;dte in Nord- und Zentralamerika und in der Karibik zu und kontrollieren oder vassalisieren Sie Mexiko</German>
  		<Italian>Allow no European colonies in North and Central America and in the Caribbean and control or vassalize Mexico in 1900 AD</Italian>
  		<Spanish>Allow no European colonies in North and Central America and in the Caribbean and control or vassalize Mexico in 1900 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AME2_TITLE</Tag>
  		<English>The American Dream</English>
  		<French>Le r&#234;ve am&#233;ricain </French>
  		<German>Der amerikanische Traum</German>
  		<Italian>The American Dream</Italian>
  		<Spanish>The American Dream</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AME2</Tag>
  		<English>Build the Statue of Liberty, the Brooklyn Bridge, the Empire State Building, the Golden Gate Bridge, the Pentagon and the United Nations by 1950 AD</English>
  		<French>Build the Statue of Liberty, the Brooklyn Bridge, the Empire State Building, the Golden Gate Bridge, the Pentagon and the United Nations by 1950 AD</French>
  		<German>Errichten Sie bis zum Jahr 1950 n. Chr. die Freiheitsstatue, die Brooklyn Bridge, das Empire State Building, die Golden Gate Bridge, das Pentagon und the Vereinten Nationen</German>
  		<Italian>Build the Statue of Liberty, the Brooklyn Bridge, the Empire State Building, the Golden Gate Bridge, the Pentagon and the United Nations by 1950 AD</Italian>
  		<Spanish>Build the Statue of Liberty, the Brooklyn Bridge, the Empire State Building, the Golden Gate Bridge, the Pentagon and the United Nations by 1950 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AME3_TITLE</Tag>
  		<English>The World's Policeman</English>
  		<French>Le gendarme du monde </French>
  		<German>Die Weltpolizei</German>
  		<Italian>The World's Policeman</Italian>
  		<Spanish>The World's Policeman</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AME3</Tag>
  		<English>Secure 10 Oil resources by 2000 AD</English>
  		<French>S&#233;curiser 10 gisements de p&#233;trole avant 2000 ap. J.-C.</French>
  		<German>Sichern Sie sich bis zum Jahr 2000 n. Chr. 10 &#214;l-Vorkommen</German>
  		<Italian>Assicurati 10 fonti di petrolio entro il 2000 d.C.</Italian>
  		<Spanish>Controlar 10 recursos petrol&#237;feros en el 2000 d. C.</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARA1_TITLE</Tag>
  		<English>Ijtihad</English>
  		<French>Ijtihad </French>
  		<German>Ischtihad</German>
  		<Italian>Ijtihad</Italian>
  		<Spanish>Ijtihad</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARA1</Tag>
  		<English>Be the most advanced civilization in 1300 AD</English>
  		<French>&#202;tre la civilisation la plus avanc&#233;e en 1300 ap. J.-C.</French>
  		<German>Seien Sie im Jahr 1300 n. Chr. die fortschrittlichste Zivilisation</German>
  		<Italian>Be the most advanced civilization in 1300 AD</Italian>
  		<Spanish>Be the most advanced civilization in 1300 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARA2_TITLE</Tag>
  		<English>Jihad</English>
  		<French>Djihad </French>
  		<German>Dschihad</German>
  		<Italian>Jihad</Italian>
  		<Spanish>Jihad</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARA2</Tag>
  		<English>Control Egypt, the Maghreb, Spain, Mesopotamia and Persia directly or by vassal in 1300 AD</English>
  		<French>Contr&#244;ler l'&#201;gypte, le Maghreb, l'Espagne, la M&#233;sopotamie et la Perse directement ou comme vassaux en 1300 ap. J.-C.</French>
  		<German>Bringen Sie im Jahr 1300 n. Chr. &#196;gypten, den Maghreb, Spanien, Mesopotamien und Persien unter Ihre Kontrolle oder machen Sie sie zu Vasallenstaaten</German>
  		<Italian>Control Egypt, the Maghreb, Spain, Mesopotamia and Persia directly or by vassal in 1300 AD</Italian>
  		<Spanish>Control Egypt, the Maghreb, Spain, Mesopotamia and Persia directly or by vassal in 1300 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARA3_TITLE</Tag>
  		<English>Dawah</English>
  		<French>Dawa </French>
  		<German>Dawah</German>
  		<Italian>Dawah</Italian>
  		<Spanish>Dawah</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARA3</Tag>
  		<English>Spread Islam to 30% of the cities in the world</English>
  		<French>R&#233;pandre l'islam &#224; 30% des villes du monde</French>
  		<German>Sorgen Sie f&#252;r eine weltweit 30%-ige Verbreitung des Islam</German>
  		<Italian>Diffondi l'Islam nel 30% delle citt&#224; mondiali</Italian>
  		<Spanish>Propagar el Islam al 30% de las ciudades del mundo</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARG1_TITLE</Tag>
  		<English>The Argentinian Paradox</English>
  		<French>Le paradoxe argentin </French>
  		<German>Das argentinische Paradox</German>
  		<Italian>The Argentinian Paradox</Italian>
  		<Spanish>The Argentinian Paradox</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARG1</Tag>
  		<English>Experience two golden ages by 1930 AD</English>
  		<French>Traverser deux &#226;ges d'or avant 1930 ap. J.-C.</French>
  		<German>Erleben Sie bis zum Jahr 1930 n. Chr. zwei goldene Zeitalter</German>
  		<Italian>Experience two golden ages by 1930 AD</Italian>
  		<Spanish>Experience two golden ages by 1930 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARG2_TITLE</Tag>
  		<English>Tango and Poetry</English>
  		<French>Tango et po&#233;sie </French>
  		<German>Tango und Dichtung</German>
  		<Italian>Tango and Poetry</Italian>
  		<Spanish>Tango and Poetry</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARG2</Tag>
  		<English>Have legendary culture in Buenos Aires by 1960 AD</English>
  		<French>Have legendary culture in Buenos Aires by 1960 AD</French>
  		<German>Haben Sie bis zum Jahr 1960 n. Chr. legend&#228;re Kultur in Buenos Aires</German>
  		<Italian>Have legendary culture in Buenos Aires by 1960 AD</Italian>
  		<Spanish>Have legendary culture in Buenos Aires by 1960 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARG3_TITLE</Tag>
  		<English>Peronism</English>
  		<French>P&#233;ronisme </French>
  		<German>Peronismus</German>
  		<Italian>Peronism</Italian>
  		<Spanish>Peronism</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARG3</Tag>
  		<English>Experience six golden ages by 2000 AD</English>
  		<French>Traverser six &#226;ges d'or avant 2000 ap. J.-C.</French>
  		<German>Erleben Sie bis zum Jahr 2000 n. Chr. sechs goldene Zeitalter</German>
  		<Italian>Experience six golden ages by 2000 AD</Italian>
  		<Spanish>Experience six golden ages by 2000 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AZT1_TITLE</Tag>
  		<English>Floating Gardens</English>
  		<French>Jardins flottants </French>
  		<German>Schwimmende G&#228;rten</German>
  		<Italian>Floating Gardens</Italian>
  		<Spanish>Floating Gardens</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AZT1</Tag>
  		<English>Make Tenochtitlan the largest city in the world in 1520 AD</English>
  		<French>Faire de Tenochtitlan la plus grande ville au monde en 1520 ap. J.-C.</French>
  		<German>Machen Sie Tenochtitlan im Jahr 1520 n. Chr. zur gr&#246;&#223;sten Stadt der Welt</German>
  		<Italian>Make Tenochtitlan the largest city in the world in 1520 AD</Italian>
  		<Spanish>Make Tenochtitlan the largest city in the world in 1520 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AZT2_TITLE</Tag>
  		<English>Human Sacrifice</English>
  		<French>Sacrifices humains </French>
  		<German>Menschenopfer</German>
  		<Italian>Human Sacrifice</Italian>
  		<Spanish>Human Sacrifice</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AZT2</Tag>
  		<English>Build 6 step pyramids and sacrificial altars by 1650 AD</English>
  		<French>Construire 6 pyramides &#224; degr&#233;s et autant d'autels de sacrifice avant 1650 ap. J.-C.</French>
  		<German>Bauen Sie bis zum Jahr 1650 n. Chr. 6 Stufenpyramiden und Opferalt&#228;re</German>
  		<Italian>Build 6 step pyramids and sacrificial altars by 1650 AD</Italian>
  		<Spanish>Build 6 step pyramids and sacrificial altars by 1650 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AZT3_TITLE</Tag>
  		<English>European Flower Wars</English>
  		<French>Guerres fleuries europ&#233;ennes </French>
  		<German>Europ&#228;ische Blumenkriege</German>
  		<Italian>European Flower Wars</Italian>
  		<Spanish>European Flower Wars</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AZT3</Tag>
  		<English>Enslave 20 Old World units</English>
  		<French>Asservir 20 unit&#233;s du Nouveau Monde</French>
  		<German>Versklaven Sie 20 Einheiten aus der alten Welt</German>
  		<Italian>Enslave 20 Old World units</Italian>
  		<Spanish>Enslave 20 Old World units</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB1_TITLE</Tag>
  		<English>Hammurabi's Code</English>
  		<French>Le Code de Hammurabi </French>
  		<German>Der Kodex von Hammurabi</German>
  		<Italian>Hammurabi's Code</Italian>
  		<Spanish>Hammurabi's Code</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB1</Tag>
  		<English>Be the first to discover Construction, Arithmetics, Writing, Calendar and Contract</English>
  		<French>&#202;tre le premier &#224; d&#233;couvrir la construction, l'arithm&#233;tique, l'&#233;criture, le calendrier et le contrat</French>
  		<German>Erforschen Sie vor allen anderen Zivilisationen die Technologien Bauwesen, Arithmetik, Schrift, Kalender und Vertragswesen</German>
  		<Italian>Be the first to discover Construction, Arithmetics, Writing, Calendar and Contract</Italian>
  		<Spanish>Be the first to discover Construction, Arithmetics, Writing, Calendar and Contract</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB2_TITLE</Tag>
  		<English>The Fertile Crescent</English>
  		<French>Le Croissant fertile </French>
  		<German>Der fruchtbare Halbmond</German>
  		<Italian>The Fertile Crescent</Italian>
  		<Spanish>The Fertile Crescent</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB2</Tag>
  		<English>Make Babylon the most populous city in the world in 850 BC</English>
  		<French>Faire de Babylone la ville la plus peupl&#233;e au monde en 850 av. J.-C.</French>
  		<German>Sorgen Sie daf&#252;r, dass Babylon im Jahr 850 v. Chr. die gr&#246;&#223;te Stadt der Welt ist</German>
  		<Italian>Rendi Babilonia la citt&#224; pi&#249; popolosa del mondo nell'850 a.C.</Italian>
  		<Spanish>Conseguir que Babilonia sea la ciudad m&#225;s poblada del mundo en el 850 a. C.</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB2_EPIC</Tag>
  		<English>Make Babylon the most populous city in the world in 850 BC</English>
  		<French>Faire de Babylone la ville la plus peupl&#233;e au monde en 850 av. J.-C.</French>
  		<German>Sorgen Sie daf&#252;r, dass Babylon im Jahr 850 v. Chr. die gr&#246;&#223;te Stadt der Welt ist</German>
  		<Italian>Rendi Babilonia la citt&#224; pi&#249; popolosa del mondo nell'850 a.C.</Italian>
  		<Spanish>Conseguir que Babilonia sea la ciudad m&#225;s poblada del mundo en el 850 a. C.</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB2_MARATHON</Tag>
  		<English>Make Babylon the most populous city in the world in 850 BC</English>
  		<French>Faire de Babylone la ville la plus peupl&#233;e au monde en 850 av. J.-C.</French>
  		<German>Sorgen Sie daf&#252;r, dass Babylon im Jahr 850 v. Chr. die gr&#246;&#223;te Stadt der Welt ist</German>
  		<Italian>Rendi Babilonia la citt&#224; pi&#249; popolosa del mondo nell'850 a.C.</Italian>
  		<Spanish>Conseguir que Babilonia sea la ciudad m&#225;s poblada del mundo en el 850 a. C.</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB2_NOTURN</Tag>
  		<English>Make Babylon the most populous city in the world in 850 BC</English>
  		<French>Faire de Babylone la ville la plus peupl&#233;e au monde en 850 av. J.-C.</French>
  		<German>Sorgen Sie daf&#252;r, dass Babylon im Jahr 850 v. Chr. die gr&#246;&#223;te Stadt der Welt ist</German>
  		<Italian>Rendi Babilonia la citt&#224; pi&#249; popolosa del mondo nell'850 a.C.</Italian>
  		<Spanish>Conseguir que Babilonia sea la ciudad m&#225;s poblada del mundo en el 850 a. C.</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB3_TITLE</Tag>
  		<English>The Tower of Babel</English>
  		<French>La tour de Babel </French>
  		<German>Der Turm von Babel</German>
  		<Italian>The Tower of Babel</Italian>
  		<Spanish>The Tower of Babel</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB3</Tag>
  		<English>Make Babylon the most culturally advanced city in the world in 700 BC</English>
  		<French>Faire de Babylone la ville la plus avanc&#233;e culturellement en 700 av. J.-C.</French>
  		<German>Machen Sie Babylon im Jahr 700 v. Chr. zur kulturell bedeutendsten Stadt</German>
  		<Italian>Rendi Babilonia la citt&#224; culturalmente pi&#249; avanzata del mondo entro il 700 a.C.</Italian>
  		<Spanish>Conseguir que Babilonia sea la ciudad m&#225;s adelantada del mundo en t&#233;rminos de cultura en el 700 a. C.</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB3_EPIC</Tag>
  		<English>Make Babylon the most culturally advanced city in the world in 700 BC</English>
  		<French>Faire de Babylone la ville la plus avanc&#233;e culturellement en 700 av. J.-C.</French>
  		<German>Machen Sie Babylon im Jahr 700 v. Chr. zur kulturell bedeutendsten Stadt</German>
  		<Italian>Rendi Babilonia la citt&#224; culturalmente pi&#249; avanzata del mondo entro il 700 a.C.</Italian>
  		<Spanish>Conseguir que Babilonia sea la ciudad m&#225;s adelantada del mundo en t&#233;rminos de cultura en el 700 a. C.</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB3_MARATHON</Tag>
  		<English>Make Babylon the most culturally advanced city in the world in 700 BC</English>
  		<French>Faire de Babylone la ville la plus avanc&#233;e culturellement en 700 av. J.-C.</French>
  		<German>Machen Sie Babylon im Jahr 700 v. Chr. zur kulturell bedeutendsten Stadt</German>
  		<Italian>Rendi Babilonia la citt&#224; culturalmente pi&#249; avanzata del mondo entro il 700 a.C.</Italian>
  		<Spanish>Conseguir que Babilonia sea la ciudad m&#225;s adelantada del mundo en t&#233;rminos de cultura en el 700 a. C.</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB3_NOTURN</Tag>
  		<English>Make Babylon the most culturally advanced city in the world by 700 BC</English>
  		<French>Faire de Babylone la ville la plus avanc&#233;e culturellement en 700 av. J.-C.</French>
  		<German>Machen Sie Babylon bis zum Jahr 700 v. Chr. zur kulturell bedeutendsten Stadt</German>
  		<Italian>Rendi Babilonia la citt&#224; culturalmente pi&#249; avanzata del mondo entro il 700 a.C.</Italian>
  		<Spanish>Conseguir que Babilonia sea la ciudad m&#225;s adelantada del mundo en t&#233;rminos de cultura en el 700 a. C.</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BRA1_TITLE</Tag>
  		<English>The Golden Law</English>
  		<French>La Loi d'or </French>
  		<German>Das goldene Gesetz</German>
  		<Italian>The Golden Law</Italian>
  		<Spanish>The Golden Law</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BRA1</Tag>
  		<English>Control 10 Slave Plantations and 4 Pastures in 1880 AD</English>
  		<French>Contr&#244;ler 10 plantations &#224; esclaves et 4 p&#226;turages en 1880 ap. J.-C.</French>
  		<German>Kontrollieren Sie im Jahr 1880 n. Chr. 10 Sklaven-Plantagen und 4 Weidel&#228;nder</German>
  		<Italian>Control 10 Slave Plantations and 4 Pastures in 1880 AD</Italian>
  		<Spanish>Control 10 Slave Plantations and 4 Pastures in 1880 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BRA2_TITLE</Tag>
  		<English>Maracana, Cristo Redentor, Itaipu</English>
  		<French>Maracana, Cristo Redentor, Itaipu </French>
  		<German>Maracana, Cristo Redentor, Itaipu</German>
  		<Italian>Maracana, Cristo Redentor, Itaipu</Italian>
  		<Spanish>Maracana, Cristo Redentor, Itaipu</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BRA2</Tag>
  		<English>Build Wembley, Cristo Redentor and the Three Gorges Dam</English>
  		<French>Construire Wembley, le Christ r&#233;dempteur et le Barrage d'Itaipu</French>
  		<German>Bauen Sie Wembley, Cristo Redentor und den Drei-Schluchten-Damm</German>
  		<Italian>Build Wembley, Cristo Redentor and the Three Gorges Dam</Italian>
  		<Spanish>Build Wembley, Cristo Redentor and the Three Gorges Dam</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BRA3_TITLE</Tag>
  		<English>Pindorama</English>
  		<French>Pindorama </French>
  		<German>Pindorama</German>
  		<Italian>Pindorama</Italian>
  		<Spanish>Pindorama</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BRA3</Tag>
  		<English>Control 20 Forest Preserves and have a National Park in your capital by 1950 AD</English>
  		<French>Contr&#244;ler 20 r&#233;serves naturelles et avoir un parc national dans votre capitale avant 1950 ap. J.-C.</French>
  		<German>Kontrollieren Sie bis zum Jahr 1880 n. Chr. 20 Waldschutzgebiete und einen Nationalpark in Ihrer Hauptstadt</German>
  		<Italian>Control 20 Forest Preserves and have a National Park in your capital by 1950 AD</Italian>
  		<Spanish>Control 20 Forest Preserves and have a National Park in your capital by 1950 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BYZ1_TITLE</Tag>
  		<English>Crossroads of the World</English>
  		<French>Le carrefour du monde </French>
  		<German>Wegkreuzung der Welt</German>
  		<Italian>Crossroads of the World</Italian>
  		<Spanish>Crossroads of the World</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BYZ1</Tag>
  		<English>Have 5000 gold in 1000 AD</English>
  		<French>Avoir 5000 or en 1000 ap. J.-C.</French>
  		<German>Besitzen Sie 5000 Gold im Jahr 1000 n. Chr.</German>
  		<Italian>Have 5000 gold in 1000 AD</Italian>
  		<Spanish>Have 5000 gold in 1000 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BYZ1_EPIC</Tag>
  		<English>Have 7500 gold in 1000 AD</English>
  		<French>Avoir 7500 or en 1000 ap. J.-C.</French>
  		<German>Besitzen Sie 7500 Gold im Jahr 1000 n. Chr.</German>
  		<Italian>Have 7500 gold in 1000 AD</Italian>
  		<Spanish>Have 7500 gold in 1000 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BYZ1_MARATHON</Tag>
  		<English>Have 15000 gold in 1000 AD</English>
  		<French>Avoir 15000 or en 1000 ap. J.-C.</French>
  		<German>Besitzen Sie 15000 Gold im Jahr 1000 n. Chr.</German>
  		<Italian>Have 15000 gold in 1000 AD</Italian>
  		<Spanish>Have 15000 gold in 1000 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BYZ2_TITLE</Tag>
  		<English>City of the World's Desire</English>
  		<French>La ville que d&#233;sirait le monde </French>
  		<German>Stadt der weltlichen Begierden</German>
  		<Italian>City of the World's Desire</Italian>
  		<Spanish>City of the World's Desire</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BYZ2</Tag>
  		<English>Make Constantinople the world's largest and most cultured city in 1200 AD</English>
  		<French>Faire de Babylone la ville la plus grande et la plus cultiv&#233;e au monde en 1200 ap. J.-C.</French>
  		<German>Machen Sie Konstantinopel zur gr&#246;&#223;ten und kultiviertesten Stadt der Welt im Jahr 1200 n. Chr.</German>
  		<Italian>Make Constantinople the world's largest and most cultured city in 1200 AD</Italian>
  		<Spanish>Make Constantinople the world's largest and most cultured city in 1200 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BYZ3_TITLE</Tag>
  		<English>The Eternal Empire</English>
  		<French>L'empire &#233;ternel </French>
  		<German>Das ewige Imperium</German>
  		<Italian>The Eternal Empire</Italian>
  		<Spanish>The Eternal Empire</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BYZ3</Tag>
  		<English>Control three cities in the Balkans, Northern Africa and the Near East in 1450 AD</English>
  		<French>Contr&#244;ler trois villes dans les Balkans, l'Afrique du Nord et le Proche-Orient en 1450 ap. J.-C.</French>
  		<German>Kontrollieren Sie drei St&#228;dte im Balkan, Nordafrika und dem Nahen Osten im Jahr 1450 n. Chr.</German>
  		<Italian>Control three cities in the Balkans, Northern Africa and the Near East in 1450 AD</Italian>
  		<Spanish>Control three cities in the Balkans, Northern Africa and the Near East in 1450 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_CAN1_TITLE</Tag>
  		<English>A Mari Usque Ad Mare</English>
  		<French>A mari usque ad mare </French>
  		<German>A Mari Usque Ad Mare</German>
  		<Italian>A Mari Usque Ad Mare</Italian>
  		<Spanish>A Mari Usque Ad Mare</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_CAN1</Tag>
  		<English>Connect your capital to an Atlantic and a Pacific port by railroad by 1920 AD</English>
  		<French>Relier votre capitale par chemin de fer &#224; un port atlantique et &#224; un port pacifique avant 1920 ap. J.-C.</French>
  		<German>Verbinden Sie bis zum Jahr 1920 n. Chr. Ihre Hauptstadt per Schiene zu einem atlantischem und einem pazifischen Hafen</German>
  		<Italian>Connect your capital to an Atlantic and a Pacific port by railroad by 1920 AD</Italian>
  		<Spanish>Connect your capital to an Atlantic and a Pacific port by railroad by 1920 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_CAN2_TITLE</Tag>
  		<English>Great White North</English>
  		<French>Le Grand Nord </French>
  		<German>Great White North</German>
  		<Italian>Great White North</Italian>
  		<Spanish>Great White North</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_CAN2</Tag>
  		<English>Control all cities and 90% of the territory in Canada without ever conquering a city by 1950 AD</English>
  		<French>Contr&#244;ler toutes les villes et 90% du territoire du Canada sans jamais conqu&#233;rir une ville avant 1950 ap. J.-C.</French>
  		<German>Kontrollieren Sie bis zum Jahr 1950 n. Chr. alle St&#228;dte und 90% des Gebiets in Kanada ohne jemals eine Stadt zu erobern</German>
  		<Italian>Control all cities and 90% of the territory in Canada without ever conquering a city by 1950 AD</Italian>
  		<Spanish>Control all cities and 90% of the territory in Canada without ever conquering a city by 1950 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_CAN3_TITLE</Tag>
  		<English>Peacekeeping</English>
  		<French>Maintien de la paix </French>
  		<German>Peacekeeping</German>
  		<Italian>Peacekeeping</Italian>
  		<Spanish>Peacekeeping</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_CAN3</Tag>
  		<English>End twelve wars through diplomacy by 2000 AD</English>
  		<French>Mettre fin &#224; douze guerres par la diplomatie avant 2000 ap. J.-C.</French>
  		<German>Beenden Sie bis zum Jahr 2000 n. Chr. zw&#246;lf Kriege durch Diplomatie</German>
  		<Italian>End twelve wars through diplomacy by 2000 AD</Italian>
  		<Spanish>End twelve wars through diplomacy by 2000 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_CAR1_TITLE</Tag>
  		<English>New Tyre</English>
  		<French>Nouvelle Tyr </French>
  		<German>Das neue Tyrus</German>
  		<Italian>New Tyre</Italian>
  		<Spanish>New Tyre</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_CAR1</Tag>
  		<English>Build a Palace and the Great Cothon in Carthage by 300 BC</English>
  		<French>Construire un palais et le Grand Cothon &#224; Carthage avant 300 av. J.-C.</French>
  		
  
  [... the rest is omitted ...]
files: Assets/XML/Text/Victory.xml
files: <?xml version="1.0" encoding="utf-8"?>
  <!-- Victory -->
  <Civ4GameText>
  	<TEXT>
  		<Tag>TXT_KEY_UHV__TITLE</Tag>
  		<English></English>
  		<French></French>
  		<German></German>
  		<Italian></Italian>
  		<Spanish></Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_</Tag>
  		<English></English>
  		<French></French>
  		<German></German>
  		<Italian></Italian>
  		<Spanish></Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_GOALS</Tag>
  		<English>Historical Victory goals</English>
  		<French>Objectifs de victoire historique</French>
  		<German>Historische Siegbedingungen</German>
  		<Italian>Obiettivi per le vittorie storiche</Italian>
  		<Spanish>Objetivos de la victoria hist&#243;rica</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AME1_TITLE</Tag>
  		<English>Manifest Destiny</English>
  		<French>Destin&#233;e manifeste </French>
  		<German>Manifest Destiny</German>
  		<Italian>Manifest Destiny</Italian>
  		<Spanish>Manifest Destiny</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AME1</Tag>
  		<English>Allow no European colonies in North and Central America and in the Caribbean and control or vassalize Mexico in 1900 AD</English>
  		<French>Emp&#234;cher la pr&#233;sence de colonies europ&#233;ennes en Am&#233;rique centrale et du Nord ainsi que dans les Cara&#239;bes et contr&#244;ler ou vassaliser le Mexique en 1900 ap. J.-C.</French>
  		<German>Lassen Sie im Jahr 1900 n. Chr. keine europ&#228;ischen St&#228;dte in Nord- und Zentralamerika und in der Karibik zu und kontrollieren oder vassalisieren Sie Mexiko</German>
  		<Italian>Allow no European colonies in North and Central America and in the Caribbean and control or vassalize Mexico in 1900 AD</Italian>
  		<Spanish>Allow no European colonies in North and Central America and in the Caribbean and control or vassalize Mexico in 1900 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AME2_TITLE</Tag>
  		<English>The American Dream</English>
  		<French>Le r&#234;ve am&#233;ricain </French>
  		<German>Der amerikanische Traum</German>
  		<Italian>The American Dream</Italian>
  		<Spanish>The American Dream</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AME2</Tag>
  		<English>Build the Statue of Liberty, the Empire State Building, the Pentagon and the United Nations by 1950 AD</English>
  		<French>Construire la Statue de la Libert&#233;, l'Empire State Building, le Pentagone et les Nations Unies avant 1950 ap. J.-C.</French>
  		<German>Errichten Sie bis zum Jahr 1950 n. Chr. die Freiheitsstatue, das Empire State Building, das Pentagon und the Vereinten Nationen</German>
  		<Italian>Build the Statue of Liberty, the Empire State Building, the Pentagon and the United Nations by 1950 AD</Italian>
  		<Spanish>Build the Statue of Liberty, the Empire State Building, the Pentagon and the United Nations by 1950 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AME3_TITLE</Tag>
  		<English>The World's Policeman</English>
  		<French>Le gendarme du monde </French>
  		<German>Die Weltpolizei</German>
  		<Italian>The World's Policeman</Italian>
  		<Spanish>The World's Policeman</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AME3</Tag>
  		<English>Secure 10 Oil resources by 2000 AD</English>
  		<French>S&#233;curiser 10 gisements de p&#233;trole avant 2000 ap. J.-C.</French>
  		<German>Sichern Sie sich bis zum Jahr 2000 n. Chr. 10 &#214;l-Vorkommen</German>
  		<Italian>Assicurati 10 fonti di petrolio entro il 2000 d.C.</Italian>
  		<Spanish>Controlar 10 recursos petrol&#237;feros en el 2000 d. C.</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARA1_TITLE</Tag>
  		<English>Ijtihad</English>
  		<French>Ijtihad </French>
  		<German>Ischtihad</German>
  		<Italian>Ijtihad</Italian>
  		<Spanish>Ijtihad</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARA1</Tag>
  		<English>Be the most advanced civilization in 1300 AD</English>
  		<French>&#202;tre la civilisation la plus avanc&#233;e en 1300 ap. J.-C.</French>
  		<German>Seien Sie im Jahr 1300 n. Chr. die fortschrittlichste Zivilisation</German>
  		<Italian>Be the most advanced civilization in 1300 AD</Italian>
  		<Spanish>Be the most advanced civilization in 1300 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARA2_TITLE</Tag>
  		<English>Jihad</English>
  		<French>Djihad </French>
  		<German>Dschihad</German>
  		<Italian>Jihad</Italian>
  		<Spanish>Jihad</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARA2</Tag>
  		<English>Control Egypt, the Maghreb, Spain, Mesopotamia and Persia directly or by vassal in 1300 AD</English>
  		<French>Contr&#244;ler l'&#201;gypte, le Maghreb, l'Espagne, la M&#233;sopotamie et la Perse directement ou comme vassaux en 1300 ap. J.-C.</French>
  		<German>Bringen Sie im Jahr 1300 n. Chr. &#196;gypten, den Maghreb, Spanien, Mesopotamien und Persien unter Ihre Kontrolle oder machen Sie sie zu Vasallenstaaten</German>
  		<Italian>Control Egypt, the Maghreb, Spain, Mesopotamia and Persia directly or by vassal in 1300 AD</Italian>
  		<Spanish>Control Egypt, the Maghreb, Spain, Mesopotamia and Persia directly or by vassal in 1300 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARA3_TITLE</Tag>
  		<English>Dawah</English>
  		<French>Dawa </French>
  		<German>Dawah</German>
  		<Italian>Dawah</Italian>
  		<Spanish>Dawah</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARA3</Tag>
  		<English>Spread Islam to 30% of the cities in the world</English>
  		<French>R&#233;pandre l'islam &#224; 30% des villes du monde</French>
  		<German>Sorgen Sie f&#252;r eine weltweit 30%-ige Verbreitung des Islam</German>
  		<Italian>Diffondi l'Islam nel 30% delle citt&#224; mondiali</Italian>
  		<Spanish>Propagar el Islam al 30% de las ciudades del mundo</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARG1_TITLE</Tag>
  		<English>The Argentinian Paradox</English>
  		<French>Le paradoxe argentin </French>
  		<German>Das argentinische Paradox</German>
  		<Italian>The Argentinian Paradox</Italian>
  		<Spanish>The Argentinian Paradox</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARG1</Tag>
  		<English>Experience two golden ages by 1930 AD</English>
  		<French>Traverser deux &#226;ges d'or avant 1930 ap. J.-C.</French>
  		<German>Erleben Sie bis zum Jahr 1930 n. Chr. zwei goldene Zeitalter</German>
  		<Italian>Experience two golden ages by 1930 AD</Italian>
  		<Spanish>Experience two golden ages by 1930 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARG2_TITLE</Tag>
  		<English>Tango and Poetry</English>
  		<French>Tango et po&#233;sie </French>
  		<German>Tango und Dichtung</German>
  		<Italian>Tango and Poetry</Italian>
  		<Spanish>Tango and Poetry</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARG2</Tag>
  		<English>Have legendary culture in Buenos Aires by 1960 AD</English>
  		<French>Have legendary culture in Buenos Aires by 1960 AD</French>
  		<German>Haben Sie bis zum Jahr 1960 n. Chr. legend&#228;re Kultur in Buenos Aires</German>
  		<Italian>Have legendary culture in Buenos Aires by 1960 AD</Italian>
  		<Spanish>Have legendary culture in Buenos Aires by 1960 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARG3_TITLE</Tag>
  		<English>Peronism</English>
  		<French>P&#233;ronisme </French>
  		<German>Peronismus</German>
  		<Italian>Peronism</Italian>
  		<Spanish>Peronism</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_ARG3</Tag>
  		<English>Experience six golden ages by 2000 AD</English>
  		<French>Traverser six &#226;ges d'or avant 2000 ap. J.-C.</French>
  		<German>Erleben Sie bis zum Jahr 2000 n. Chr. sechs goldene Zeitalter</German>
  		<Italian>Experience six golden ages by 2000 AD</Italian>
  		<Spanish>Experience six golden ages by 2000 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AZT1_TITLE</Tag>
  		<English>Floating Gardens</English>
  		<French>Jardins flottants </French>
  		<German>Schwimmende G&#228;rten</German>
  		<Italian>Floating Gardens</Italian>
  		<Spanish>Floating Gardens</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AZT1</Tag>
  		<English>Make Tenochtitlan the largest city in the world in 1520 AD</English>
  		<French>Faire de Tenochtitlan la plus grande ville au monde en 1520 ap. J.-C.</French>
  		<German>Machen Sie Tenochtitlan im Jahr 1520 n. Chr. zur gr&#246;&#223;sten Stadt der Welt</German>
  		<Italian>Make Tenochtitlan the largest city in the world in 1520 AD</Italian>
  		<Spanish>Make Tenochtitlan the largest city in the world in 1520 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AZT2_TITLE</Tag>
  		<English>Human Sacrifice</English>
  		<French>Sacrifices humains </French>
  		<German>Menschenopfer</German>
  		<Italian>Human Sacrifice</Italian>
  		<Spanish>Human Sacrifice</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AZT2</Tag>
  		<English>Build 6 step pyramids and sacrificial altars by 1650 AD</English>
  		<French>Construire 6 pyramides &#224; degr&#233;s et autant d'autels de sacrifice avant 1650 ap. J.-C.</French>
  		<German>Bauen Sie bis zum Jahr 1650 n. Chr. 6 Stufenpyramiden und Opferalt&#228;re</German>
  		<Italian>Build 6 step pyramids and sacrificial altars by 1650 AD</Italian>
  		<Spanish>Build 6 step pyramids and sacrificial altars by 1650 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AZT3_TITLE</Tag>
  		<English>European Flower Wars</English>
  		<French>Guerres fleuries europ&#233;ennes </French>
  		<German>Europ&#228;ische Blumenkriege</German>
  		<Italian>European Flower Wars</Italian>
  		<Spanish>European Flower Wars</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_AZT3</Tag>
  		<English>Enslave 20 Old World units</English>
  		<French>Asservir 20 unit&#233;s du Nouveau Monde</French>
  		<German>Versklaven Sie 20 Einheiten aus der alten Welt</German>
  		<Italian>Enslave 20 Old World units</Italian>
  		<Spanish>Enslave 20 Old World units</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB1_TITLE</Tag>
  		<English>Hammurabi's Code</English>
  		<French>Le Code de Hammurabi </French>
  		<German>Der Kodex von Hammurabi</German>
  		<Italian>Hammurabi's Code</Italian>
  		<Spanish>Hammurabi's Code</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB1</Tag>
  		<English>Be the first to discover Construction, Arithmetics, Writing, Calendar and Contract</English>
  		<French>&#202;tre le premier &#224; d&#233;couvrir la construction, l'arithm&#233;tique, l'&#233;criture, le calendrier et le contrat</French>
  		<German>Erforschen Sie vor allen anderen Zivilisationen die Technologien Bauwesen, Arithmetik, Schrift, Kalender und Vertragswesen</German>
  		<Italian>Be the first to discover Construction, Arithmetics, Writing, Calendar and Contract</Italian>
  		<Spanish>Be the first to discover Construction, Arithmetics, Writing, Calendar and Contract</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB2_TITLE</Tag>
  		<English>The Fertile Crescent</English>
  		<French>Le Croissant fertile </French>
  		<German>Der fruchtbare Halbmond</German>
  		<Italian>The Fertile Crescent</Italian>
  		<Spanish>The Fertile Crescent</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB2</Tag>
  		<English>Make Babylon the most populous city in the world in 850 BC</English>
  		<French>Faire de Babylone la ville la plus peupl&#233;e au monde en 850 av. J.-C.</French>
  		<German>Sorgen Sie daf&#252;r, dass Babylon im Jahr 850 v. Chr. die gr&#246;&#223;te Stadt der Welt ist</German>
  		<Italian>Rendi Babilonia la citt&#224; pi&#249; popolosa del mondo nell'850 a.C.</Italian>
  		<Spanish>Conseguir que Babilonia sea la ciudad m&#225;s poblada del mundo en el 850 a. C.</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB2_EPIC</Tag>
  		<English>Make Babylon the most populous city in the world in 850 BC</English>
  		<French>Faire de Babylone la ville la plus peupl&#233;e au monde en 850 av. J.-C.</French>
  		<German>Sorgen Sie daf&#252;r, dass Babylon im Jahr 850 v. Chr. die gr&#246;&#223;te Stadt der Welt ist</German>
  		<Italian>Rendi Babilonia la citt&#224; pi&#249; popolosa del mondo nell'850 a.C.</Italian>
  		<Spanish>Conseguir que Babilonia sea la ciudad m&#225;s poblada del mundo en el 850 a. C.</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB2_MARATHON</Tag>
  		<English>Make Babylon the most populous city in the world in 850 BC</English>
  		<French>Faire de Babylone la ville la plus peupl&#233;e au monde en 850 av. J.-C.</French>
  		<German>Sorgen Sie daf&#252;r, dass Babylon im Jahr 850 v. Chr. die gr&#246;&#223;te Stadt der Welt ist</German>
  		<Italian>Rendi Babilonia la citt&#224; pi&#249; popolosa del mondo nell'850 a.C.</Italian>
  		<Spanish>Conseguir que Babilonia sea la ciudad m&#225;s poblada del mundo en el 850 a. C.</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB2_NOTURN</Tag>
  		<English>Make Babylon the most populous city in the world in 850 BC</English>
  		<French>Faire de Babylone la ville la plus peupl&#233;e au monde en 850 av. J.-C.</French>
  		<German>Sorgen Sie daf&#252;r, dass Babylon im Jahr 850 v. Chr. die gr&#246;&#223;te Stadt der Welt ist</German>
  		<Italian>Rendi Babilonia la citt&#224; pi&#249; popolosa del mondo nell'850 a.C.</Italian>
  		<Spanish>Conseguir que Babilonia sea la ciudad m&#225;s poblada del mundo en el 850 a. C.</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB3_TITLE</Tag>
  		<English>The Tower of Babel</English>
  		<French>La tour de Babel </French>
  		<German>Der Turm von Babel</German>
  		<Italian>The Tower of Babel</Italian>
  		<Spanish>The Tower of Babel</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB3</Tag>
  		<English>Make Babylon the most culturally advanced city in the world in 700 BC</English>
  		<French>Faire de Babylone la ville la plus avanc&#233;e culturellement en 700 av. J.-C.</French>
  		<German>Machen Sie Babylon im Jahr 700 v. Chr. zur kulturell bedeutendsten Stadt</German>
  		<Italian>Rendi Babilonia la citt&#224; culturalmente pi&#249; avanzata del mondo entro il 700 a.C.</Italian>
  		<Spanish>Conseguir que Babilonia sea la ciudad m&#225;s adelantada del mundo en t&#233;rminos de cultura en el 700 a. C.</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB3_EPIC</Tag>
  		<English>Make Babylon the most culturally advanced city in the world in 700 BC</English>
  		<French>Faire de Babylone la ville la plus avanc&#233;e culturellement en 700 av. J.-C.</French>
  		<German>Machen Sie Babylon im Jahr 700 v. Chr. zur kulturell bedeutendsten Stadt</German>
  		<Italian>Rendi Babilonia la citt&#224; culturalmente pi&#249; avanzata del mondo entro il 700 a.C.</Italian>
  		<Spanish>Conseguir que Babilonia sea la ciudad m&#225;s adelantada del mundo en t&#233;rminos de cultura en el 700 a. C.</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB3_MARATHON</Tag>
  		<English>Make Babylon the most culturally advanced city in the world in 700 BC</English>
  		<French>Faire de Babylone la ville la plus avanc&#233;e culturellement en 700 av. J.-C.</French>
  		<German>Machen Sie Babylon im Jahr 700 v. Chr. zur kulturell bedeutendsten Stadt</German>
  		<Italian>Rendi Babilonia la citt&#224; culturalmente pi&#249; avanzata del mondo entro il 700 a.C.</Italian>
  		<Spanish>Conseguir que Babilonia sea la ciudad m&#225;s adelantada del mundo en t&#233;rminos de cultura en el 700 a. C.</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BAB3_NOTURN</Tag>
  		<English>Make Babylon the most culturally advanced city in the world by 700 BC</English>
  		<French>Faire de Babylone la ville la plus avanc&#233;e culturellement en 700 av. J.-C.</French>
  		<German>Machen Sie Babylon bis zum Jahr 700 v. Chr. zur kulturell bedeutendsten Stadt</German>
  		<Italian>Rendi Babilonia la citt&#224; culturalmente pi&#249; avanzata del mondo entro il 700 a.C.</Italian>
  		<Spanish>Conseguir que Babilonia sea la ciudad m&#225;s adelantada del mundo en t&#233;rminos de cultura en el 700 a. C.</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BRA1_TITLE</Tag>
  		<English>The Golden Law</English>
  		<French>La Loi d'or </French>
  		<German>Das goldene Gesetz</German>
  		<Italian>The Golden Law</Italian>
  		<Spanish>The Golden Law</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BRA1</Tag>
  		<English>Control 10 Slave Plantations and 4 Pastures in 1880 AD</English>
  		<French>Contr&#244;ler 10 plantations &#224; esclaves et 4 p&#226;turages en 1880 ap. J.-C.</French>
  		<German>Kontrollieren Sie im Jahr 1880 n. Chr. 10 Sklaven-Plantagen und 4 Weidel&#228;nder</German>
  		<Italian>Control 10 Slave Plantations and 4 Pastures in 1880 AD</Italian>
  		<Spanish>Control 10 Slave Plantations and 4 Pastures in 1880 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BRA2_TITLE</Tag>
  		<English>Maracana, Cristo Redentor, Itaipu</English>
  		<French>Maracana, Cristo Redentor, Itaipu </French>
  		<German>Maracana, Cristo Redentor, Itaipu</German>
  		<Italian>Maracana, Cristo Redentor, Itaipu</Italian>
  		<Spanish>Maracana, Cristo Redentor, Itaipu</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BRA2</Tag>
  		<English>Build Wembley, Cristo Redentor and the Three Gorges Dam</English>
  		<French>Construire Wembley, le Christ r&#233;dempteur et le Barrage d'Itaipu</French>
  		<German>Bauen Sie Wembley, Cristo Redentor und den Drei-Schluchten-Damm</German>
  		<Italian>Build Wembley, Cristo Redentor and the Three Gorges Dam</Italian>
  		<Spanish>Build Wembley, Cristo Redentor and the Three Gorges Dam</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BRA3_TITLE</Tag>
  		<English>Pindorama</English>
  		<French>Pindorama </French>
  		<German>Pindorama</German>
  		<Italian>Pindorama</Italian>
  		<Spanish>Pindorama</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BRA3</Tag>
  		<English>Control 20 Forest Preserves and have a National Park in your capital by 1950 AD</English>
  		<French>Contr&#244;ler 20 r&#233;serves naturelles et avoir un parc national dans votre capitale avant 1950 ap. J.-C.</French>
  		<German>Kontrollieren Sie bis zum Jahr 1880 n. Chr. 20 Waldschutzgebiete und einen Nationalpark in Ihrer Hauptstadt</German>
  		<Italian>Control 20 Forest Preserves and have a National Park in your capital by 1950 AD</Italian>
  		<Spanish>Control 20 Forest Preserves and have a National Park in your capital by 1950 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BYZ1_TITLE</Tag>
  		<English>Crossroads of the World</English>
  		<French>Le carrefour du monde </French>
  		<German>Wegkreuzung der Welt</German>
  		<Italian>Crossroads of the World</Italian>
  		<Spanish>Crossroads of the World</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BYZ1</Tag>
  		<English>Have 5000 gold in 1000 AD</English>
  		<French>Avoir 5000 or en 1000 ap. J.-C.</French>
  		<German>Besitzen Sie 5000 Gold im Jahr 1000 n. Chr.</German>
  		<Italian>Have 5000 gold in 1000 AD</Italian>
  		<Spanish>Have 5000 gold in 1000 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BYZ1_EPIC</Tag>
  		<English>Have 7500 gold in 1000 AD</English>
  		<French>Avoir 7500 or en 1000 ap. J.-C.</French>
  		<German>Besitzen Sie 7500 Gold im Jahr 1000 n. Chr.</German>
  		<Italian>Have 7500 gold in 1000 AD</Italian>
  		<Spanish>Have 7500 gold in 1000 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BYZ1_MARATHON</Tag>
  		<English>Have 15000 gold in 1000 AD</English>
  		<French>Avoir 15000 or en 1000 ap. J.-C.</French>
  		<German>Besitzen Sie 15000 Gold im Jahr 1000 n. Chr.</German>
  		<Italian>Have 15000 gold in 1000 AD</Italian>
  		<Spanish>Have 15000 gold in 1000 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BYZ2_TITLE</Tag>
  		<English>City of the World's Desire</English>
  		<French>La ville que d&#233;sirait le monde </French>
  		<German>Stadt der weltlichen Begierden</German>
  		<Italian>City of the World's Desire</Italian>
  		<Spanish>City of the World's Desire</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BYZ2</Tag>
  		<English>Make Constantinople the world's largest and most cultured city in 1200 AD</English>
  		<French>Faire de Babylone la ville la plus grande et la plus cultiv&#233;e au monde en 1200 ap. J.-C.</French>
  		<German>Machen Sie Konstantinopel zur gr&#246;&#223;ten und kultiviertesten Stadt der Welt im Jahr 1200 n. Chr.</German>
  		<Italian>Make Constantinople the world's largest and most cultured city in 1200 AD</Italian>
  		<Spanish>Make Constantinople the world's largest and most cultured city in 1200 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BYZ3_TITLE</Tag>
  		<English>The Eternal Empire</English>
  		<French>L'empire &#233;ternel </French>
  		<German>Das ewige Imperium</German>
  		<Italian>The Eternal Empire</Italian>
  		<Spanish>The Eternal Empire</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_BYZ3</Tag>
  		<English>Control three cities in the Balkans, Northern Africa and the Near East in 1450 AD</English>
  		<French>Contr&#244;ler trois villes dans les Balkans, l'Afrique du Nord et le Proche-Orient en 1450 ap. J.-C.</French>
  		<German>Kontrollieren Sie drei St&#228;dte im Balkan, Nordafrika und dem Nahen Osten im Jahr 1450 n. Chr.</German>
  		<Italian>Control three cities in the Balkans, Northern Africa and the Near East in 1450 AD</Italian>
  		<Spanish>Control three cities in the Balkans, Northern Africa and the Near East in 1450 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_CAN1_TITLE</Tag>
  		<English>A Mari Usque Ad Mare</English>
  		<French>A mari usque ad mare </French>
  		<German>A Mari Usque Ad Mare</German>
  		<Italian>A Mari Usque Ad Mare</Italian>
  		<Spanish>A Mari Usque Ad Mare</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_CAN1</Tag>
  		<English>Connect your capital to an Atlantic and a Pacific port by railroad by 1920 AD</English>
  		<French>Relier votre capitale par chemin de fer &#224; un port atlantique et &#224; un port pacifique avant 1920 ap. J.-C.</French>
  		<German>Verbinden Sie bis zum Jahr 1920 n. Chr. Ihre Hauptstadt per Schiene zu einem atlantischem und einem pazifischen Hafen</German>
  		<Italian>Connect your capital to an Atlantic and a Pacific port by railroad by 1920 AD</Italian>
  		<Spanish>Connect your capital to an Atlantic and a Pacific port by railroad by 1920 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_CAN2_TITLE</Tag>
  		<English>Great White North</English>
  		<French>Le Grand Nord </French>
  		<German>Great White North</German>
  		<Italian>Great White North</Italian>
  		<Spanish>Great White North</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_CAN2</Tag>
  		<English>Control all cities and 90% of the territory in Canada without ever conquering a city by 1950 AD</English>
  		<French>Contr&#244;ler toutes les villes et 90% du territoire du Canada sans jamais conqu&#233;rir une ville avant 1950 ap. J.-C.</French>
  		<German>Kontrollieren Sie bis zum Jahr 1950 n. Chr. alle St&#228;dte und 90% des Gebiets in Kanada ohne jemals eine Stadt zu erobern</German>
  		<Italian>Control all cities and 90% of the territory in Canada without ever conquering a city by 1950 AD</Italian>
  		<Spanish>Control all cities and 90% of the territory in Canada without ever conquering a city by 1950 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_CAN3_TITLE</Tag>
  		<English>Peacekeeping</English>
  		<French>Maintien de la paix </French>
  		<German>Peacekeeping</German>
  		<Italian>Peacekeeping</Italian>
  		<Spanish>Peacekeeping</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_CAN3</Tag>
  		<English>End twelve wars through diplomacy by 2000 AD</English>
  		<French>Mettre fin &#224; douze guerres par la diplomatie avant 2000 ap. J.-C.</French>
  		<German>Beenden Sie bis zum Jahr 2000 n. Chr. zw&#246;lf Kriege durch Diplomatie</German>
  		<Italian>End twelve wars through diplomacy by 2000 AD</Italian>
  		<Spanish>End twelve wars through diplomacy by 2000 AD</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_CAR1_TITLE</Tag>
  		<English>New Tyre</English>
  		<French>Nouvelle Tyr </French>
  		<German>Das neue Tyrus</German>
  		<Italian>New Tyre</Italian>
  		<Spanish>New Tyre</Spanish>
  	</TEXT>
  	<TEXT>
  		<Tag>TXT_KEY_UHV_CAR1</Tag>
  		<English>Build a Palace and the Great Cothon in Carthage by 300 BC</English>
  		<French>Construire un palais et le Grand Cothon &#224; Carthage avant 300 av. J.-C.</French>
  		<German>Bauen Sie bis zum Jahr 300 v. Chr. einen Palast und den Gro&#223;en Cothon in Karth
  
  [... the rest is omitted ...]
files: Assets/XML/Text/Victory.xml