TheLadiesOgre
Aspiring Codesmith
- Joined
- Jan 16, 2009
- Messages
- 505
interesting stuff here....
interesting stuff here....
I presume that it breaks saves that were made before the dll was introduced....
can you fix it so that it doesn't break saves?
will this affect worldbuildersaves?
I'm working on the Python but having some problems with the English unhappiness under occupation. Because I'm using CyCity.changeExtraHappiness() to adjust the (un)happiness level of the city on conquest, but the CyCity.getExtraHappiness() method isn't returning what I'm expecting it to. It seems that the game is adjusting the extra happiness on its own, making it hard to predict what to add/subtract. At least it reads zero while the city is under occupation...
Asaf: I guess what I need is CyCity.setExtraHappiness() then...
<Define>
<DefineName>USE_CAN_DO_CIVIC_CALLBACK</DefineName>
<iDefineIntVal>1</iDefineIntVal>
</Define>
# mod settings
iCarthageMoves = 1
eGreeceCivic = getIndex("Civic", "Universal Suffrage")
iEnglishUnhappiness = 2
iEnglishCulture = 10
iGallicDefenseBonus = 10
iPicticFood = 1
No Python exceptions?ok on first anylisis... Greek works.... Carthage does no longer works.... Pictish does not work... not sure how to find out if gaul works or briton for that matter