marshmanthe1st
Chieftain
- Joined
- Dec 6, 2003
- Messages
- 8
If you want to get a certain amount of Gold Per Turn the following Mod is for you.
Before making any changes I recommend backing up the CvEventManager.py file as we will be modifying the standard file.
Location the section starting
def onBeginPlayerTurn(self, argsList):
and add the following after the current lines
'Increment Human Player Gold each turn'
player = gc.getPlayer(iPlayer)
if (player.isHuman()):
player.setGold(player.getGold() + 1000)
You will now receive 1000 Gold each turn.
Before making any changes I recommend backing up the CvEventManager.py file as we will be modifying the standard file.
Location the section starting
def onBeginPlayerTurn(self, argsList):
and add the following after the current lines
'Increment Human Player Gold each turn'
player = gc.getPlayer(iPlayer)
if (player.isHuman()):
player.setGold(player.getGold() + 1000)
You will now receive 1000 Gold each turn.