Hello everyone,
This is a thread for me to post and get some feedback on giving some of the current C2C Wonders new abilities with Python. I guess we have had some Wonders around for a while that used to have unique abilities in Python, but those were lost in translation to C2C. (This is not to replace my other thread. That thread is for new Wonders. This is a thread for old Wonders that have been given new abilities.)
Several months ago, Strategyonly asked me about a Python version of Machu Picchu. At the time, I was still learning Python. Now I think I know my way around the language well enough to start converting abilities over to our format, and Machu Picchu seemed like a good place to start.
This is the current Machu Picchu:
View attachment 328844
GIR's old Machu Picchu is here (http://forums.civfanatics.com/showpost.php?p=11487912&postcount=10):
View attachment 328845
I kept the Andeanism religion-related statistics, the Culture and Great Person bonuses, and the +100% city defense. I removed everything else to make way for this:
View attachment 328846
View attachment 328847
View attachment 328848
The Python routine does the following:
I also added a Peak requirement in the City Radius (to trigger the placing of the improvement -- the original had a Python routine for this, but we have a simple XML tag) and a Mountaineering tech requirement. The current Machu Picchu has no tech requirement at all.
Is this something we should do? Would there be problems? This is something that I am proposing to liven up old Wonders. Machu Picchu in particular is one of DancingHoskuld's Wonders, so I won't change anything without permission.
This is a thread for me to post and get some feedback on giving some of the current C2C Wonders new abilities with Python. I guess we have had some Wonders around for a while that used to have unique abilities in Python, but those were lost in translation to C2C. (This is not to replace my other thread. That thread is for new Wonders. This is a thread for old Wonders that have been given new abilities.)
Several months ago, Strategyonly asked me about a Python version of Machu Picchu. At the time, I was still learning Python. Now I think I know my way around the language well enough to start converting abilities over to our format, and Machu Picchu seemed like a good place to start.
This is the current Machu Picchu:
View attachment 328844
GIR's old Machu Picchu is here (http://forums.civfanatics.com/showpost.php?p=11487912&postcount=10):
View attachment 328845
I kept the Andeanism religion-related statistics, the Culture and Great Person bonuses, and the +100% city defense. I removed everything else to make way for this:
View attachment 328846
View attachment 328847
View attachment 328848
The Python routine does the following:
- Add +1 food, +2 production, and +1 commerce to every owned Peak
- Add +1 commerce to every owned Peak in city radius
- Place the "Machu Picchu" improvement on a random Peak, giving an additional +1 food and +6 commerce to the square.
I also added a Peak requirement in the City Radius (to trigger the placing of the improvement -- the original had a Python routine for this, but we have a simple XML tag) and a Mountaineering tech requirement. The current Machu Picchu has no tech requirement at all.
Is this something we should do? Would there be problems? This is something that I am proposing to liven up old Wonders. Machu Picchu in particular is one of DancingHoskuld's Wonders, so I won't change anything without permission.