RimWorld
798 次評價
Persistent Precepts
22
7
27
2
6
4
4
6
3
4
2
2
   
獎勵
加入最愛
已加入最愛
移除最愛
Mod, 1.4, 1.5, 1.6
檔案大小
發佈於
更新時間
75.781 KB
2023 年 3 月 10 日 上午 1:09
6 月 21 日 下午 7:45
3 項更新註記 (檢視)
您需要 DLC 才能使用此物品。

訂閱以下載
Persistent Precepts

描述
Persistent Precepts adds a simple toggle to the Ideology edit screen that prevents the re-randomization of Ideology precepts, rituals, buildings etc. when you change structure or memes.

With this mod, you can ensure that your carefully crafted Ideology remains intact, even if you go back and change structure/memes. This also means your saved ideoligions can better act as templates when you load them in.

When the toggle is on, ideology re-randomization for the player is blocked for:
  • Precepts
  • Roles
  • Rituals
  • Buildings
  • Relics
  • Weapons
  • Venerated Animals
  • Preferred Xenotypes
  • Preferred Apparel
  • Appearance (Hair, Beards, Tattoos) (this one is currently not working)


Please note: The confirmation warning of re-randomizing precepts still comes up, please ignore it for now while I work out how to change the confirmation dialogue.

If you start a new game and forget to turn the toggle off, your faction's ideology will be generated without any precepts/rituals etc. This is easily fixed by flicking the toggle back off and selecting "Randomize Precepts" button. Other factions generated at world creation and as part of events are not impacted.

Compatibility
The mod uses harmony to patch a few methods related to player actions on the ideology edit screen and precept randomization. It touches nothing else besides adding the checkbox so should be highly compatible with other mods.

Thanks
Mute for reviewing my code and being generally awesome with guidance, especially with how to approach limiting the toggle to only affect player actions.
Mile for giving me advice and a friendly space to get help and feedback.
Rimworld modding community, this is my first ever mod and I couldn't have done it without the supportive people in discord.

Credits
Thumbnail dice icon: by Delapouite (games-icons.net)
Thumbnail font: Marnador's fan made font[ludeon.com]

Github[github.com]

116 則留言
Kasa 7 月 19 日 上午 8:15 
This is a good mod, but it's a little too final.

If you load a premade ideology you have two choice if you want to edit it.

Ether you freeze everything and then get minor errors as you try to add or remove precepts.

For example if your a tunneler and you swap out tunnel for something like pain is a virtue, you will still have all the tunneler meme precepts set to what they were post edit.

Else you turn off persistence and everything id randomized like vanilla.
Alleykat  [作者] 6 月 21 日 下午 11:32 
Tested this mod for 1.6 unstable with only harmony and current dlc loaded. Seems to be working fine and I've updated the version tags. I'll do a full megamod–list test playthrough once the new DLC drops, but it should be safe for now.

I made Persistent Precepts with bloated modlists in mind as that's how I enjoy to play. But it's >2 yrs old and I'm not an active modder. This is my first/only mod for any game. If your favorite mod is doing something very niche with the exact UI methods that this one temporarily patches, that's probably beyond my skills to resolve.

Thanks again for the support and especially to those who’ve taken the time to help others in the comments. The lovely messages have been appreciated.
Alleykat  [作者] 6 月 21 日 下午 11:31 
I don’t expect any conflicts with 1.6 or (hopefully) the new DLC but I'm posting the info below to get ahead of the big update.

Why this mod probably isn't breaking your favorite mods:

- Only wraps methods called from the ideo-editor UI, so it only triggers on direct player actions (eg button clicks) in that screen or when the player’s ideology is first generated at game start.
- NPC ideologies (worldgen factions, raid events, etc) never touch those UI methods, so they stay unchanged.
- Even then, behavior only activates when the Persistent Precepts toggle is on.

This mod uses minimal Harmony patching, full source is available on GitHub (link bottom of description).

There is a Known issue : the toggle isn’t stopping apparel re-randomisation in Ideology edit screen. Sorry about that! It's been ongoing for a while, I want to fix this but I'm very time poor these days. Marked it as "currently not working", hope to come back to it in the future.
Raggsockan 4 月 5 日 下午 3:52 
Loading this before VFE Tribals solves any issues, if you are using mod managers just add a custom rule and its done.
$h@d0w_M@$t3r 2 月 22 日 下午 3:57 
load before vanilla factions expanded tribals or it will break tribal gatherings
مُتَّقِينَMUTTAKIIN 2024 年 11 月 29 日 下午 4:52 
Gotta test without 350 other mods enabled in order to know if it conflcts with other mods.
مُتَّقِينَMUTTAKIIN 2024 年 11 月 29 日 下午 4:45 
Mod causing %50 random recruit reward not working for social festivals.
VitaKaninen 2024 年 11 月 3 日 上午 3:02 
The option to have this enabled by default is not working properly. When I look at the config file, nothing really is being saved in it.

I am not sure what it is supposed to look like, but this is all that is in there, and the setting is not saved between reloads.

<SettingsBlock>
<ModSettings Class="PersistentPrecepts.PersistentPreceptsSettings" />
</SettingsBlock>
Good Old Jim 2024 年 10 月 30 日 下午 6:54 
SHUT UP AND TAKE MY MONEY, is what I would say, IF I HAD ANY
tmo97 2024 年 10 月 14 日 下午 9:15 
Who would've thought adding transhumanist would require reclicking hundreds of options, thanks Tynan, you feckin ballop footer.