In vanilla, you're encouraged to (and the AI does) destroy kingdoms upon becoming emperor. This is especially true if the empire title has a form of elective succession. If you're winning the election, your counties and duchies follow your primary title (effectively assuming its succession law). If you're losing the election, your counties and duchies default to primogeniture succession. But your kingdoms retain their own succession laws, which can complicate the dynamic succession of your counties and duchies.
I don't like the way that vanilla handles this, so I'm working on a mod that preempts or reverses some succession effects (since succession itself is not directly moddable). I would appreciate any input as to what this preempting or reversing behavior should be (and eventually as to some of the finer points of the scripting).
I'm motivated by frustration I experienced while playing a multiplayer game in an HRE with restored king-tier stem duchies (Saxony, Franconia, Swabia, a modded Landgravate of Thuringia, and a modded Saxon Ostmark) and titular Kingdom of Germany. I modded the Prince-Electors to coincide with the king-tier titles of Saxony, Franconia, Swabia, Lotharingia, Bavaria, Saxon Ostmark, and Frisia/Bohemia and envisioned a scenario whereby a Prince-Elector would vie for the empire and retain his/her stem duchy upon election, so that they could "fall back" to it (instead of becoming just a piddly duke) if/when the empire passed out of their dynasty. I wrote an on_action effect for the AI to re-create its kingdom as it lost the empire, but the counties and duchies defaulting to primogeniture complicates things.
Consider the following scenario: you're the Holy Roman Emperor and Grand Duke of Swabia. You're losing the election for the HRE and have the Grand Duchy of Swabia set to Seniority succession. Your counties and duchies flip to Primogeniture, and when your current character dies you'll play as the king-tier Grand Duke of Swabia but have only one county (that you've usurped from someone), and your last character's firstborn will have the rest of the demesne.
But now imagine that as the old emperor is dying an event kicks in that preempts the succession by granting all of the counties and duchies to the new Grand Duke of Swabia instead of to the firstborn. That would allow you to choose your successor via the succession law of the fallback kingdom instead of just accepting the firstborn. That is one of the things that this mod will do.
Here's a partial outline of the script that I've written for this event:
If a dying emperor is losing an elective empire title to a non-dynastic successor or is losing a kingdom to either a non-dynastic successor or a lesser dynasty member (i.e. not their "player heir"), then
I'll have to write a separate event for usurpation etc. But I would appreciate anyone's suggestions for how they'd like to see this work.
I don't like the way that vanilla handles this, so I'm working on a mod that preempts or reverses some succession effects (since succession itself is not directly moddable). I would appreciate any input as to what this preempting or reversing behavior should be (and eventually as to some of the finer points of the scripting).
I'm motivated by frustration I experienced while playing a multiplayer game in an HRE with restored king-tier stem duchies (Saxony, Franconia, Swabia, a modded Landgravate of Thuringia, and a modded Saxon Ostmark) and titular Kingdom of Germany. I modded the Prince-Electors to coincide with the king-tier titles of Saxony, Franconia, Swabia, Lotharingia, Bavaria, Saxon Ostmark, and Frisia/Bohemia and envisioned a scenario whereby a Prince-Elector would vie for the empire and retain his/her stem duchy upon election, so that they could "fall back" to it (instead of becoming just a piddly duke) if/when the empire passed out of their dynasty. I wrote an on_action effect for the AI to re-create its kingdom as it lost the empire, but the counties and duchies defaulting to primogeniture complicates things.
Consider the following scenario: you're the Holy Roman Emperor and Grand Duke of Swabia. You're losing the election for the HRE and have the Grand Duchy of Swabia set to Seniority succession. Your counties and duchies flip to Primogeniture, and when your current character dies you'll play as the king-tier Grand Duke of Swabia but have only one county (that you've usurped from someone), and your last character's firstborn will have the rest of the demesne.
But now imagine that as the old emperor is dying an event kicks in that preempts the succession by granting all of the counties and duchies to the new Grand Duke of Swabia instead of to the firstborn. That would allow you to choose your successor via the succession law of the fallback kingdom instead of just accepting the firstborn. That is one of the things that this mod will do.
Here's a partial outline of the script that I've written for this event:
If a dying emperor is losing an elective empire title to a non-dynastic successor or is losing a kingdom to either a non-dynastic successor or a lesser dynasty member (i.e. not their "player heir"), then
If the emperor is AI and doesn't already hold a kingdom that is staying in the dynasty, then (under specific conditions) a "fallback" or "consolation" kingdom will be created.
Vanilla succession is preempted by granting some of a kingdom's de jure vassal titles to the kingdom's successor (instead of the firstborn or the new emperor):
If of a different dynasty, the kingdom successor gets any of the kingdom's de jure counties not de facto under a duchy held by the dying ruler but only if the successor doesn't already personally hold a county in the kingdom. (This is something of a compromise between the vanilla behavior, which grants no demesne to the new king except for a single county if unlanded, and a harsher effect that would grant the entire demesne to the new king, which is what happens in vanilla when losing titles via non-elective succession laws. I'm considering a game rule to toggle between these.)
If of the same dynasty, the kingdom successor gets most or all of the demesne but only if the new emperor is already landed (I haven't hammered out the details of this yet).
The kingdom successor gets any of the dying emperor's demesne counties that are de jure under a duchy the new king already holds.
I'll have to write a separate event for usurpation etc. But I would appreciate anyone's suggestions for how they'd like to see this work.
- 3
- 1