Democratic Authority Reworked for Ethics & Civics Bug Branch [3.12]

I love democracy. I love the republic.
Have you ever played as a democratic empire and suddenly, an election appears? Have you ever tried to shift the weight of an election towards your current ruler, only to have your level 10 scientist be elected instead, interrupting your research and thrusting your old leader back into the void? I have, and I hate it. I wish my scientists would focus on their research, my admirals the fleets, my generals their armies, my governors their sectors.
This mod aims to remove that issue entirely. Now our scientists research, governors govern, admirals admir, and generals lead.
This mod creates an event that pings every decade which elects/re-elects a ruler for direct democracies, indirect democracies, and firms. Candidates are chosen from pops with Full Citizenship rights, including xenos if they should have them.
This means that the majority species in your empire with Full Citizenship has the greatest chance of becoming your ruler. Xenophobes need not worry.
Additionally, this mod provides a new policy, Election Policy, with 4 choices below that affect re-election odds:
Equal Chance, 50% chance to re-elect
Imbalanced Election, 65% chance to re-elect
One Term, 0% chance to re-elect
Predetermined, 90% chance to re-elect [only available with the Shadow Council civic]
With the 3.7 update, I have finally completed something I intended to include with this mod for a very long time. There are now events for rulers who are re-elected far too many times, and greater involvement for those using the Shadow Council civic to keep the reputation of the ruler clean.
-Accusations of corruption have a chance to arise with any election, but it’s very low by default and becomes more likely the more time a single ruler is re-elected. The odds reset to basic when a new ruler is elected/appointed.
-Corruption accusations can only happen to a ruler a grand total of 2 times, period. If your ruler is found innocent both times, it will never happen again unless a new ruler is elected.
-If you are using the Shadow Council civic, you will have unique responses available to you for both corruption allegations, which dramatically can increase the odds that your ruler will be found innocent. These responses are optional, so you can go with default odds if you so wish.
-When a ruler is found to be corrupt, a follow-up event will play which asks whether your people move to impeach their ruler based on the findings, or if you will accept your corrupt ruler to finish their current term and potentially be re-elected next term.
The odds of events firing and the exact effects of them are subject to change, depending on continued review. My hope is that the events will not be bothersome, but add some more character to otherwise generic rulers.
This variant of the mod is meant to work with the Ethics & Civics: Bug Branch mod.
This mod replaces only one thing in all of Stellaris: auth_democratic
Anything that adjusts or replaces the Democratic authority would not work with this mod.
Any other custom authorities that use the Democratic election type would operate like vanilla democracies, and would not run the way this mod makes normal Democracy work.
Load this after Ethics & Civics: Bug Branch! The original Democratic Authority Reworked mod is not required to use this mod!
