Save editing? Ideology role clothing bug

Started by bmrx, July 23, 2021, 11:01:26 AM

Previous topic - Next topic

bmrx

I've restarted countless times now and the roles preferred clothing keeps getting set to anything other than what I set it to.

It only worked once and I'm just getting frustrated with redoing everything.

Can I edit my save file to change this?

Thanks.

kfsone

Quote from: bmrx on July 23, 2021, 11:01:26 AM
I've restarted countless times now and the roles preferred clothing keeps getting set to anything other than what I set it to.

It only worked once and I'm just getting frustrated with redoing everything.

Can I edit my save file to change this?

Thanks.

Yes; assuming you use powershell: $env:HOME/AppData/LocalLow/Ludeon Studios/Rimworld by Ludeon Studios/Saves

Look for the "Precept_RoleSingle" container for the name of your role. My leader is "Dish Washer".

I wanted both my leader and my guide to wear authority caps, but I just can't get that to stick. And getting it to stick for just the leader required me to add all the bodyPartGroupsMatchAny entries. I didn't do an exhaustive experiment to see which it was, but it wasn't *just* the last one I added (I did try that).


<li Class="Precept_RoleSingle">
<name>Dish Washer</name>
<def>IdeoRole_Leader</def>
<ID>2463</ID>
<randomSeed>-931479172</randomSeed>
<usesDefiniteArticle>True</usesDefiniteArticle>
<active>True</active>
<!--- the important bit ---!>
<apparelRequirements>
<li>
<allowedFactionCategoryTags IsNull="True" />
<disallowedFactionCategoryTags IsNull="True" />
<anyMemeRequired IsNull="True" />
<requirement>
<bodyPartGroupsMatchAny>
<li>Torso</li>
<li>FullHead</li>
<li>UpperHead</li>
<li>Legs</li>
<li>Arms</li>
</bodyPartGroupsMatchAny>
<requiredDefs>
<li>Apparel_AuthorityCap</li>
</requiredDefs>
<requiredTags IsNull="True" />
<allowedTags IsNull="True" />
</requirement>
</li>
</apparelRequirements>