Bazaar developer reference

CityReplaced

An announcement: the game made a new city in place of an old one, which is already gone. The parameters are the old city's owner and ID, and the new city. It runs when a city is captured, given in a deal, bought from a city-state or liberated, once the new city has its buildings, people, religion and tiles, and before its new owner decides whether to keep, raze or liberate it. Bazaar has already copied the plugin values that carry over to the new city. When the human player in a one-city challenge captures a city, which is destroyed at once, it does not run.

Where it fires