def onGameStart(self, argsList):
'Called at the start of the game'
introMovie = CvIntroMovieScreen.CvIntroMovieScreen()
introMovie.interfaceScreen()
if gc.getGame().isOption(GameOptionTypes.GAMEOPTION_THAW):
iDesert = gc.getInfoTypeForString('TERRAIN_DESERT')
iGrass = gc.getInfoTypeForString('TERRAIN_GRASS')
iPlains = gc.getInfoTypeForString('TERRAIN_PLAINS')
iSnow = gc.getInfoTypeForString('TERRAIN_SNOW')
iTundra = gc.getInfoTypeForString('TERRAIN_TUNDRA')
for i in range (CyMap().numPlots()):
pPlot = CyMap().plotByIndex(i)
if pPlot.getFeatureType() == -1:
if pPlot.getImprovementType() == -1:
if pPlot.isWater() == False:
iTerrain = pPlot.getTerrainType()
if iTerrain == iTundra:
pPlot.setTempTerrainType(iSnow, CyGame().getSorenRandNum(90, "Bob") + 10)
if iTerrain == iGrass:
pPlot.setTempTerrainType(iTundra, CyGame().getSorenRandNum(90, "Bob") + 10)
if iTerrain == iPlains:
pPlot.setTempTerrainType(iTundra, CyGame().getSorenRandNum(90, "Bob") + 10)
if iTerrain == iDesert:
pPlot.setTempTerrainType(iPlains, CyGame().getSorenRandNum(90, "Bob") + 10)