Astrology Effects?

Switchblock

Kuriotate Scholar
Joined
Jan 21, 2007
Messages
159
Location
Kwythellar
Does the constant apperance of Astrological events have an effect on the game? Other than the ones with second options of course. Are there hidden bonuses?
 
Some have effects beyond the golden age or great prophet that they can provide to one player. These are those effects:

Code:
def doSignAeron(argsList):
	kTriggeredData = argsList[0]
	CyGame().changeGlobalCounter(5)

def doSignBhall(argsList):
	kTriggeredData = argsList[0]
	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()):
		if CyGame().getSorenRandNum(100, "SignBhall") < 10:
			pPlot = CyMap().plotByIndex(i)
			if pPlot.getFeatureType() == -1:
				if pPlot.getImprovementType() == -1:
					if pPlot.isWater() == False:
						iTerrain = pPlot.getTerrainType()
						if iTerrain == iSnow:
							pPlot.setTempTerrainType(iTundra, CyGame().getSorenRandNum(10, "Bob") + 10)
						if iTerrain == iTundra:
							pPlot.setTempTerrainType(iGrass, CyGame().getSorenRandNum(10, "Bob") + 10)
						if iTerrain == iGrass:
							pPlot.setTempTerrainType(iPlains, CyGame().getSorenRandNum(10, "Bob") + 10)
						if iTerrain == iPlains:
							pPlot.setTempTerrainType(iDesert, CyGame().getSorenRandNum(10, "Bob") + 10)

def doSignEsus(argsList):
	kTriggeredData = argsList[0]
	CyGame().changeCrime(5)

def doSignLugus(argsList):
	kTriggeredData = argsList[0]
	CyGame().changeCrime(-5)

def doSignMulcarn(argsList):
	kTriggeredData = argsList[0]
	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()):
		if CyGame().getSorenRandNum(100, "SignMulcarn") < 10:
			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(10, "Bob") + 10)
						if iTerrain == iGrass:
							pPlot.setTempTerrainType(iTundra, CyGame().getSorenRandNum(10, "Bob") + 10)
						if iTerrain == iPlains:
							pPlot.setTempTerrainType(iTundra, CyGame().getSorenRandNum(10, "Bob") + 10)
						if iTerrain == iDesert:
							pPlot.setTempTerrainType(iPlains, CyGame().getSorenRandNum(10, "Bob") + 10)

def doSignSirona(argsList):
	kTriggeredData = argsList[0]
	CyGame().changeGlobalCounter(-5)

def doSignSucellus(argsList):
	kTriggeredData = argsList[0]
	iDiseased = gc.getInfoTypeForString('PROMOTION_DISEASED')
	for iPlayer in range(gc.getMAX_CIV_PLAYERS()):
		pPlayer = gc.getPlayer(iPlayer)
		if pPlayer.isAlive():
			apUnitList = PyPlayer(iPlayer).getUnitList()
			for pUnit in apUnitList:
				if pUnit.isHasPromotion(iDiseased):
					pUnit.setHasPromotion(iDiseased, False)
					CyInterface().addMessage(iPlayer,True,25,CyTranslator().getText("TXT_KEY_MESSAGE_POOL_OF_TEARS_DISEASED",()),'AS2D_FEATUREGROWTH',1,'Art/Interface/Buttons/Spells/Cure Disease.dds',ColorTypes(8),pUnit.getX(),pUnit.getY(),True,True)
				if pUnit.getDamage() > 0:
					pUnit.setDamage(pUnit.getDamage() / 2, PlayerTypes.NO_PLAYER)
					CyInterface().addMessage(iPlayer,True,25,CyTranslator().getText("TXT_KEY_MESSAGE_UNIT_HEALED",()),'AS2D_FEATUREGROWTH',1,'Art/Interface/Buttons/Spells/Heal.dds',ColorTypes(8),pUnit.getX(),pUnit.getY(),True,True)
 
Alright, thanks, nothing seemed to change each time it happened, so I was wondering if they were just filler events or if they were just subtle.
 
Back
Top Bottom