Afforess
requested that we merge in
The_J's modcomp that gives an event message whenever a wonder is captured or destroyed. It seems this information can be gleamed from the Windows tab of the Info Screen [F9], so I'm inclined to include it. However, I think it needs some minor adjustments to maintain UGness.
The number of different cases explodes pretty fast given all the inputs:
- Have you met the original owner?
- Have you met the conqueror?
- Was the old city revealed to your team?
- Is the new city revealed to your team?
- Was the city kept?
As each can be Yes or No, that makes 2
5 = 32 possible cases to test for.
I need to decide whether to display a message or not and whether it should indicate the new owner and/or location on the map or not.
First, here are the rules governing the Wonders tab:
- All wonders are shown on the tab.
- The owner is shown if you have met them.
- The city's name is shown if it has been revealed to your team.
Using this, here are my proposals for the various event messages:
You are the conqeuror.
Show exactly what happened.
You haven't met either player.
If the city is kept, there will be no indication on the Wonders tab, so display no message.
<no message>
If not, the wonder will disappear from the Wonders tab, so only say that it was destroyed but not by whom.
The Hanging Gardens has been destroyed
Cases handled: 8, NNxxx
You've met the original owner but not the conqeuror.
If the city is kept, the wonder will change hands on the Wonders tab.
The Hanging Gardens has been captured by an unknown civilization
If not, it will disappear.
The Hanging Gardens has been destroyed by an unknown civilization
Cases handled: 8 YNxxx
You've met the conqueror but not the original owner.
If the city is kept, the wonder will change owners on the Wonders tab.
The Hanging Gardens has been captured by the English Empire
If not, it will disappear.
The Hanging Gardens has been destroyed by the English Empire
Cases handled: 8 NYxxx
You've met both players.
If the city is kept, the wonder will change owners on the Wonders tab.
The Hanging Gardens has been captured by the English Empire
If not, it will disappear.
The Hanging Gardens has been destroyed by the English Empire
Cases handled: 8 YYxxx
It looks like when you have met the conqueror it doesn't matter whether you've met the original owner or not. Also, whether or not to display the location only depends on whether or not the old or new city is revealed to your team. Thus all the xxx parts above are handled the same.