Long story short, this is what happens when pretender rebels break a country :
-They automatically end all disasters
-All active rebel factions then have their demands enforced, BUT the enforce demands code checks if a particular disaster is active.
-Since the disaster was ended before their demands are enforced, they see that no disaster is active, and the disaster-specific demands are not enforced.
For example, the way court and country works is that when you lose to noble or particularist rebels with the disaster active, it will set a country flag. So when the end event fires, it then gives you either a good or bad ending depending on whether you have that flag.
So in the case of court and country, pretender rebels break the country, end the disaster, the end event fires, sees that you do not have the country flag indicating you lost to the rebels, assumes you beat the rebels, and gives you the "good" ending to the disaster.
I setup a test case for this using no mods other than a UI mod. Here, we have Spain with the court and country disaster active :
After the monthly tick, the pretender rebels break the country (obviously) which instantly ends the disaster.
Except that the disaster is ended before the code for particularists to enforce demands is executed, so the game assumes you have beaten the rebels and gives you the good ending to the disaster.
Also attached is a save file if anyone wants to see this in action.
I don't know why pretender rebels automatically end all disasters. I can't see any code for them to do this. It might be yet another hardcoded thing Paradox did.
-They automatically end all disasters
-All active rebel factions then have their demands enforced, BUT the enforce demands code checks if a particular disaster is active.
-Since the disaster was ended before their demands are enforced, they see that no disaster is active, and the disaster-specific demands are not enforced.
For example, the way court and country works is that when you lose to noble or particularist rebels with the disaster active, it will set a country flag. So when the end event fires, it then gives you either a good or bad ending depending on whether you have that flag.
So in the case of court and country, pretender rebels break the country, end the disaster, the end event fires, sees that you do not have the country flag indicating you lost to the rebels, assumes you beat the rebels, and gives you the "good" ending to the disaster.
I setup a test case for this using no mods other than a UI mod. Here, we have Spain with the court and country disaster active :
After the monthly tick, the pretender rebels break the country (obviously) which instantly ends the disaster.
Except that the disaster is ended before the code for particularists to enforce demands is executed, so the game assumes you have beaten the rebels and gives you the good ending to the disaster.
Also attached is a save file if anyone wants to see this in action.
I don't know why pretender rebels automatically end all disasters. I can't see any code for them to do this. It might be yet another hardcoded thing Paradox did.
Attachments
- 1