It would be nice to get a list of what's random and what's not.
Another great question - it's been a good weekend.
All of the information that you need is contained within CIV4BuildingInfos.xml. There are two keys values defined for each building.
- bNeverCapture - cities captured will never include these buildings
- iConquestProb - this is the diceroll for survival of a building during capture
There are four different combinations of these:
bNeverCapture = 0, iConquestProb = 100
These are the World Wonders, the Shrines, and the two Academies. They survive everything.
bNeverCapture = 1, iConquestProb = 0
These buildings can not survive a cultural revolt, nor can they survive capture, but they will be present if a city is traded to you. These are your religious buildings (Temple, Monastery, Cathedral), obelisk, library, university, theatre (and their unique replacements). Note that Cathredrals might still go away if you don't have enough temples to support them.
bNeverCapture = 0, iConquestProb = 0
These are the National Wonders,
airports, and your military structures (barracks, stables, walls, castles - and their unique replacements). You won't ever capture them in war, but they survive trades and cultural exchanges. In the case of the national wonders, this may be a mixed blessing. If you haven't built a wonder yet, you may capture it where you didn't want it.
Actually, you may be able to capture these under the perfect circumstances - the game appears to determine recaptures based on the culture in the city plot. Does this mean that if a city is in position to revolt in your favor, and you help it along with pointy sticks, you can keep the extra goodies? I'm not sure.
bNeverCapture = 0, iConquestProb = 66
Everything else. 2/3 survival rate. Hoo -ah.