Fix Ruler Missing In Action

If you liked this item, please rate it up on Steam Workshop page.

Author: nighthawk

Last revision: 28 Mar, 2021 at 11:27 UTC (4)

File size: 773.12 KB

On Steam Workshop

Description:

Did your first ruler vanish inexplicably after they lost their first election?
– No more!

Your initial ruler will now become a governor when they lose an election.

Check the Leader screen, the election details and your factions screen to confirm the fix is working and your ruler has not vanished into thin air.

Should be save game compatible, for as long as the initial ruler is still in office.
Ironman compatibility status questionable due to changes for a vanilla event chain (please leave a comment if you notice otherwise).

Details

This mod uses on_actions and is thus 100% compatible to every other mod out there.
It works by intercepting the game from getting rid of your original ruler by listening to the following action:

on_ruler_removed

Then it calls a custom event using three scripted_effects that execute the magic to keep your ruler alive.
They clone the ruler before the original one is deleted by the game.
But don’t worry, the ruler will have all of its original memories implanted and retained!

Notes

When converting to a governor, the leader will keep all of its previous traits that are not vanilla.
So if you use a mod that adds ruler traits – the leader will keep them as a governor.
This is a "feature" of the vanilla game which I can only add exceptions to – such as all the vanilla traits, which are correctly "kept" as ruler traits (by removing them from the old leader and assigning them to the new leader correctly).
Any level-up traits that may apply to the governor as well (such as Stubborn, etc.) will be applied.
The same will be done for special traits like Brain Slugs, Erudite, Psychic, Cyborg, etc.

Thankfully game version 2.6 brought us a small update to the clone_leader effect, so we can now specify a class. Otherwise this mod wouldn’t be possible like this.

Obligatory Footnote

[github.com]
Looking for my other creations?



Thanks for reading the description, downloading & playing with my mods!

Don’t forget to leave a comment, smash that like button, subscribe and hit the bell icon!!!

Download
Revisions:

Old revisions of this mod are available below. Click the link to download.