Trafalgar Square
This code was requested by JustATourist to make Privateers function more like they did in Civ 3. I just attached it to a wonder, though you can easily remove that requirement and have it as a default ability for the unit.
Plundering Gold, means it actually removes the gold from the enemy treasury and gives it to you. Capturing a ship gives you a chance to acquire a new Privateer after combat victory.
Both amounts are controlled by:
iGoldStolen = ( iGold//50 )
self.iNewPrivateerNumber = self.getRandomNumber( 4 )
So you can edit the percentages to whatever you want. Keep in mind for the random number it counts 0 so a random number of 4 is a 1 in 5 chance (hence 20%).
All the python is labeled and searching for "Trafalgar" should find all the changes.
I recommend downloading winmerge to help combine the files.
XML, python: me (tsentom1)
Wonder Movie: Arian
Building Button: AsioAsioAsio
~~~~
Temple of Ah Cacao
This wonder was inspired by the Aztec racial bonus found in Civilization Revolution. Functionally, it gives the same bonus, but I felt that having it fire a 100% of the time was too strong so gave it a percentage chance:
Technically, Ah Cacao, aka the Great Jaguar Temple, is Mayan but there was an excellent model of the temple uploaded by Walter Hawkwood.
The percentage chance is controlled by:
self.iHealChance = self.getRandomNumber( 4 )
So you can set it to whatever you want. Keep in mind, the game counts 0 so calling 4 is a 1 in 5 chance (hence 20%).
All the python is labeled and searching for "Jaguar Temple" should find all the changes.
I recommend downloading winmerge to help combine the files.
XML, python: me (tsentom1)
Wonder Movie: 3D wonder movie taken from the Call to Power
Building Button:Taken from EE2 uploaded by Walter Hawkwood