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)


combatThreshold or iCombatThreshold and combatXp or iCombatXp, and in python true should be written True and false False. I'm just picky...
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)
And yeah, I lazily copied the variables and just appended a '2' to the end. It also only works if the Leaning Tower is in your capital. That's the case in my current game and that's all I care about
Plus, figuring out how to do it for real would probably take me a day.
some programmers put a _ instead of a capital in a variable name ie: num_cities instead of numCities. and some put a _ at the start of member variables (ones which belong to classes, but you don't need to worry about that unless you seriously plan on taking up python, not that I ever use _
)
. however the only reason true works is because the game developers have a hidden variable:
. good convention to use True even in civ 


