Remove Owned Territory

maxaug999

Chieftain
Joined
Apr 21, 2021
Messages
53
Hi,

I am looking for a way to remove a player owned land after the event SerialEventImprovementDestroyed(). The Improvement creates a 'comptoir' on a resource with a cultural boom of only 1 radius. And the new territory is removed when the improvement is pillaged or canceled.
 
The code you need will be in IGE. Beware that removing a tile from ownership is non trivial in that you need to remove any city working that tile (and assign the citizen somewhere else) before unowning the tile - but IGE allows for all the nuances.

Also note, that the SerialEvents... only fire if the player can see the tile concerned, so this approach won't work if the AI can use the feature.
 
Top Bottom