With any luck Asaf will have done even more by then.
Lucky us
Updated the
DLL to version 3.
Again, it breaks saved games.
A copy paste of the addition from the file description:
New functionality:
1. Added option to change the city defense bonus (the cultural/building one) from Python:
Code:
int CyCity.getExtraDefense()
void CyCity.changeExtraDefense(int iChange)
This extra defense bonus is bombardable.
This value is saved when saving a game. No need to update it after loading.
Baldyr - don't forget to change this value back when city is acquired by a rival!
Note the difference between 'set' and 'change':
city.changeExtraDefense(-10)
2. Added option to increase/decrease a player's cultural strength for cultural wars over cities.
There are 2 new values for each player:
A modifier for cities owned by the player, which the player founded.
A modifier for cities which are not owned by the player but which the player founded (Ex-Cities).
In both cases this modifier affects the cultural owner calculation and the cultural strength when calculating city revolt probability.
Again, these values are saved in the saved game.
Code:
int CyPlayer.getCitiesCultureStrengthModifier()
void CyPlayer.setCitiesCultureStrengthModifier(int iValue)
int CyPlayer.getExCitiesCultureStrengthModifier()
void CyPlayer.setExCitiesCultureStrengthModifier(int iValue)
Let me know how it goes, and if everything works fine.