Ploeperpengel
academic precarity
I get defeated on gamestart with this. Can anyone help me to get this working?
Code:
def cannotFoundCity(self,argsList):
iPlayer, iPlotX, iPlotY = argsList
pPlot = CyMap().plot(iPlotX,iPlotY)
#Ploep disallow dwarves founding cities on flatlands
pPlayer = gc.getPlayer(iPlayer)
if pPlayer.getCivilizationType() == gc.getInfoTypeForString('CIVILIZATION_DWARVES') and pPlot.getTerrainType() != gc.getInfoTypeForString('TERRAIN_HILL'):
return True
return False
#end modify