Civciv5
Grand Emperor
Code didn't work. I pasted it here in the CvEventManager.
Could anyone provide some help, please.
Code:
def onCityAcquiredAndKept(self, argsList):
'City Acquired and Kept'
###CityNameChange###
if pCity.getName() == "Indraprastha":
if pNewOwner.getCivilizationType() == gc.getDefineInt("CIVILIZATION_MAURYA"):
pCity.setName("Dillika");
###CityNameChange###