HRE Demand Unlawful Territory Fix (Acceptance + Nation Release)
Fix for a bug introduced in version 1.0.2 which causes released land from the Demand Unlawful Territory HRE interaction to change to the emperor’s control. This will release it as free countries instead, and fixes some bugs in the acceptance logic
There are two issues with Return Territory:
1. acceptance logic is bugged (uses Emperor’s opinion of themselves + Emperor’s opinion of target country)
2. The land goes straight to the emperor
What this mod does:
1. Releases countries instead of giving land to the emperor
2. Flips the opinion modifier (so AI accepts if they like the emperor, not if the emperor likes them)
3. If the target country accepts, they get a -100 opinion modifier on the emperor that decays over 25 years. Otherwise, the emperor can just repeatedly demand territory back with no repercussions.
If there is interest I can publish it.
There are two other mods to address these bugs, but they only partially address the issues:
This mod fixes the issue where a new country is released: https://steamcommunity.com/sharedfiles/filedetails/?id=3602271257
This mod partially fixes the bugged acceptance logic, but the opinion modifier used is backwards: https://steamcommunity.com/sharedfiles/filedetails/?id=3602271257.