Alrik2002
Warlord
Hi,
I would like to have some popups for the following scenarios:
1. city with one or more world wonder(s) was captured and razed
2. city with one or more world wonder(s) was captured and acquired
The popup should be shown to
1.
a) the previous ownern with a list of wonders, which were destroyed
b) all other players, with a list of wonders, which were destroyed (text a little bit different from message a))
2.
a) the previous owner with a list of wonders, which were lost
b) the new owner with a list of wonders, which were gained
I know that I´ve to add some lines of code in the CvEventManager.py. I assume in onCityRazed and onCityAquiredAndKept. I would like to have just one code for all the wonders but I´ve no idea if this is possible just with python and XML, for the message text.
Any ideas?
Thank you for your help.
I would like to have some popups for the following scenarios:
1. city with one or more world wonder(s) was captured and razed
2. city with one or more world wonder(s) was captured and acquired
The popup should be shown to
1.
a) the previous ownern with a list of wonders, which were destroyed
b) all other players, with a list of wonders, which were destroyed (text a little bit different from message a))
2.
a) the previous owner with a list of wonders, which were lost
b) the new owner with a list of wonders, which were gained
I know that I´ve to add some lines of code in the CvEventManager.py. I assume in onCityRazed and onCityAquiredAndKept. I would like to have just one code for all the wonders but I´ve no idea if this is possible just with python and XML, for the message text.
Any ideas?
Thank you for your help.