Stellaris
111 평점
First Ruler Stays
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
파일 크기
게시일
업데이트일
418.981 KB
2021년 4월 6일 오전 11시 45분
2021년 4월 15일 오후 8시 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://steamhost.cn/steamcommunity_com/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일 오후 9시 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일 오후 1시 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일 오후 9시 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.