Where to put code?

DrPepper836

Warlord
Joined
Oct 29, 2007
Messages
134
I have some code that I'm working on that is going to simulate a plague, that is kind of similar to the one in civ 3. I want it to check after every turn to see if there is so much unhealthiness in a city. I don't need help with the code, but I do need help with where to put it. Is there a file somewhere where I would need to add it to?
 
Beyond the Sword\Assets\Python\CvEventManager.py
Look for
Code:
	def onEndGameTurn(self, argsList):
		'Called at the end of the end of each turn'
		iGameTurn = argsList[0]
 
Back
Top Bottom