Allies Return Land
This mod makes it so that every region the player owns gets registered at the end of the player’s turn, and if an ally or a vassal of the player takes the region, wether it was first taken by a third faction or it was abandoned or razed, the ally will faithfully return it to the player rather than keep it to himself.
This should make having allies a bit less painful with having to deal with them colonising random cities in the middle of the player’s heartlands the player loses to a random rogue army or any other reason, which in many cases force the player to enter a war with what was until now a faithful ally they had no intention of fighting.
HOW IT WORKS
At the end of every turn, the game saves a variable for every region the player owns, telling the game "hey, the player once owned this". Then, every time the player’s turn starts, the game checks for all AI owned regions and if any of the regions the player ever owned is now owned by an ally or a vassal, it returns them to the player’s control at the start of the player’s turn, along with a message event saying it did so.
Savegame compatible, though it will only start registering regions the player owns from the time you install this mod, meaning if you already lost a region to an ally before installing this, it will not work.
Should be compatible with any overhauls and other mods.
NOTE ON COMPATIBILITY WITH THE ”REGION TRADING" MOD
The mod should now work just fine with the Region Trading mod, gifted regions will be registered as such and wont be returned to the player.
NOT FOR MULTIPLAYER.