Don't forget to activate python callback for this.
River part is purely XML
What do you mean by activating python callback? which file/function do I have to edit?
Thanks!
Don't forget to activate python callback for this.
River part is purely XML
I guess you can just take a look at Machu Picchu then.
Too tired to dig out the file to see what it is called.
There is an extra XML file for that.
What do you mean by activating python callback? which file/function do I have to edit?
Thanks!
Hey, I'm back to report another found bug with one of your wonders.
The Catacombs of Kom El Shaqofa's effect is glitched; When you receive a great general, you continually receive them one after another when you have that wonder. Instead of holding over 20% like it is supposed to, it holds over a much larger percentage and gives you hundreds of great generals (337 the first time it happened, I didn't check the exact number the second time).
...
Then I made a new game just to test it right away (Although I was testing in Terapack this time), and it worked as advertised. Bizarre. I'll try testing it a few more times and see if I can divine what is messing it up.
## Tomb of Khalid ibn al-Walid Start ##
if pPlayer.getBuildingClassCount(gc.getInfoTypeForString("BUILDINGCLASS_TOMB_OF_KHALID")) == 1:
CombatThreshold = pPlayer.greatPeopleThreshold(true) /5
CombatXp = pPlayer.getCombatExperience()
if CombatThreshold > CombatXp
pPlayer.changeCombatExperience(CombatThreshold)
when you indent a line a colon always preceeds it
also, I don't like those variable namescombatThreshold or iCombatThreshold and combatXp or iCombatXp, and in python true should be written True and false False. I'm just picky...
other that that, nice job![]()
## Leaning Tower Start ##
if pPlayer.getBuildingClassCount(gc.getInfoTypeForString("BUILDINGCLASS_LEANING_TOWER")) == 1:
capital = pPlayer.getCapitalCity()
CombatThreshold2 = pPlayer.greatPeopleThreshold(false) /4
CombatXp2 = capital.getGreatPeopleProgress()
if CombatThreshold2 > CombatXp2:
capital.changeGreatPeopleProgress(CombatThreshold2)