Stellaris
110 人が評価
First Ruler Stays
   
アワード
お気に入り
お気に入り
お気に入りから削除
ファイルサイズ
投稿日
更新日
418.981 KB
2021年4月6日 11時45分
2021年4月15日 20時58分
8 項目の変更履歴 ( 表示 )

サブスクライブしてダウンロード
First Ruler Stays

解説
Now fully functioning.

Has it ever bothered you that your first Ruler disappears if an election happens?

3.0 is fixing this by making your first Ruler become a governor after election, but I can do you one better.

Choose your preferred class at the start of the game, and your Ruler will become that class after election.


1.4 Version Notes

Removed a condition for checking the First Ruler's previous class. This should theoretically make the mod work with 3.0.1.

1.3 Version Notes

Ruler traits now transferring as intended.
New class traits are randomly chosen from all vanilla traits. This defaults to 3, but if 3 of the relevant traits can't be added, it'll do less. This doesn't count Generic/Racial traits.
Traits with conditions/opposites should only generate if normally possible.
(Examples: You shouldn't get Butcher and Restrained together, as they're opposites, and you shouldn't get either of them if you're playing a Machine Intelligence. Some traits, like Scout, can't be generated without having an appropriate technology researched, which for Scout requires you to have a certain level of Sensors researched.)
Negative traits are possible, but other traits are weighted 5x more heavily, so it's very unlikely.
Racial traits should transfer and convert appropriately. If you Ruler becomes Synthetic and demotes to Admiral, your new Admiral should have the admiral version of Synthetic as well as still having the ruler version if they get re-elected.

Caveats

Generic (Any-class) traits are untouched. These are traits that modify a Ruler's lifespan and experience gain. This likely means they'll still have it in their new class but lose it in re-election. I need more testing on this to decide how to handle it.

Any non-vanilla traits cannot be handled. Ruler traits added by a mod will neither be removed from their non-Ruler class nor added back on re-election (unless the other mod handles it.) To my knowledge, it's not possible to fix this without accounting for mods on an individual level, which I don't plan to do unless the relevant mod is popular enough and the uploader approves. If there is a way to do this on a broader scale, I'd be happy to know.


Variants
No Menu Randomized - https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2451616129
24 件のコメント
The Unknown Guy 2021年5月28日 11時31分 
Re: character cloning: it happened to me recently
MachEvil 2021年4月24日 4時23分 
Is this still okay with 3.02?
Velich  [作成者] 2021年4月15日 21時03分 
I was aware of this. I've made a change to the mod. This should allow it to still be used in 3.0.1 for anyone still wanting non-governor demotion.

There was a bug that caused my Envoy who got elected down the line to be cloned into my First Ruler's chosen job class after their removal from office, giving me an Admiral and an Envoy with the same name and portrait. I believe I fixed this with a silent update a week ago, but the change I made to make this 3.0.1 compatible might make that happen again. If anyone encounters this, do comment.
arieviloj 2021年4月15日 13時46分 
A change has appeared in this update similar to its mod.
explodoboy 2021年4月9日 11時55分 
Finally, I can use this mod! Thank you!
Velich  [作成者] 2021年4月9日 9時25分 
Ruler traits now carry over as intended. Fixed the count for new class traits since it was sometimes generated 4. Weighted down negative traits since I was almost always getting one during my testing.

Contemplating a no-menu version as a separate mod.

A random assignment would take about 5 minutes to make, so it should be up soon. Ethics/Government based assignment is also possible, but the main difficulty of that is how to actually determine which classes are most relevant to which ethics.

I'm thinking in order of priority:

Militarist - Admiral
Egalitarian - Governor
Materialist - Scientist
Xenophobe - General
arieviloj 2021年4月9日 6時49分 
awesome thx!
FinePhenomena 2021年4月9日 4時35分 
Thank you for this!!
♤ |_Pandora_| ♤ 2021年4月9日 2時37分 
Wow
Velich  [作成者] 2021年4月8日 21時41分 
Good news. Like it says in the description, this is mostly functioning now. I did write a bunch of script for carrying over the Ruler traits, but the only time this actually did anything, the ruler just ended up with 4 ruler traits in their re-election campaign.

So if you don't care about your Ruler's first set of Ruler traits, this should work entirely as intended again.