RimWorld

RimWorld

Not enough ratings
Prefer Preferred Apparel Color
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5, 1.6
File Size
Posted
Updated
246.279 KB
Jan 26 @ 3:48am
Jun 12 @ 11:40am
2 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
Prefer Preferred Apparel Color

In 1 collection by llunak
llunak's RimWorld mods
17 items
Description
This mod makes pawns slightly prefer apparel of their favourite or ideo's color.

Description

While the game provides a little mood bonus for pawns wearing apparel of preferred color, there is no such preference when pawns select apparel to wear. This means that if apparel policy of pawns changes regularly, e.g. for summer/winter or for fight/peace, they will end up with randomly mixed apparel from each other. This mod makes apparel matching pawn's preferences to be slightly more likely to be selected, similarly to how the game treats apparel from human leather for cannibal pawns.

Additionally, this mod provides related fixes:
  • Avoid rounding errors when counting the at least 60% criteria, which prevented having 3 out of 5 apparel items of the right color count as sufficient.
  • Ignore the extra apparel slot for research kits added by the Research Reinvented mod, if present. Kits cannot be colored, and the extra slot would change e.g. 3 out of 5 apparel items to be 3 out of 6.

Related mods
  • Self Dyeing - Useful when a pawn decides to wear a new apparel item e.g. because of a significant quality or hp difference.

GitHub: https://github.com/llunak/rimworld-preferpreferredapparelcolor
12 Comments
bronzo Aug 19 @ 6:54pm 
Wow this is exactly what I was looking for. I already had Self Dyeing and this complements it perfectly. Thanks!
Yoann Feb 4 @ 8:28am 
Oh, I use already this mod. I can use it to disallow <51% hp face mask, correct.
seraphonica Feb 4 @ 8:22am 
@Yoann You may see benefit by using Wiri's Compositable Loadouts. It has a bit of a learning curve, but this Rundown by MysteriousFawx helped me get there: https://youtu.be/SczjMn7jGs4?si=UlEC_cGNuMk4-8dF
Yoann Jan 31 @ 2:18pm 
Yes, it's a way to do, but in case of new apparels shortage, I prefer my pawns to keep equiped tattered apparels instead of wearing nothing.
My way works fine, but not compatible with this mod :/
llunak  [author] Jan 31 @ 1:58pm 
@Yoann: Pawns not wearing tattered apparel is usually handled by not allowing <51% hp in apparel policies.
Yoann Jan 31 @ 12:29pm 
I had to remove this mod, it caused my pawns to keep tattered face mask instead of changing them for new ones, because of the preferred color.
Yoann Jan 26 @ 12:24pm 
There is already a mod for Apparel Ownership , but yes it means lot of micromanagement.
That's why I told "automated", to have both.

I imagine it working a bit like bed ownership:
When a pawn wears an apparel, he tags it as owned by him.
If the pawn decides to wear another apparel on same layer, two case:
_the apparel is same kind (parka for a better parka) -> the tag on old apparel is removed
_the apparel is another kind (parka for duster/armor) -> the tag on old apparel stay (and so cannot be stolen by other pawns).
Also, if an apparel has not been worn for X days, the tag would disapear.

It would only require for player to set which apparels are similar kind (armor/winter/summer...)
llunak  [author] Jan 26 @ 11:14am 
@Yoann: I don't think an apparel ownership mod would be any good. As I've said, some decisions are hard to be automated. You either end up micromanaging switching apparel or replacing worn out apparel, cannot reasonably have both.
Yoann Jan 26 @ 9:44am 
Thank you for the answer. So, a little help, but no miracle.

Still good in waiting an automated apparel ownership mod.
llunak  [author] Jan 26 @ 8:59am 
@Yoann: Basically each pawn from time to time scores each suitable apparel item and the best scoring item is used. The scoring function is non-trivial, but the basis of it is sharp+blunt armour and the percentage of hp remaining, which then get adjusted by a number of additional factors (cold/heat, tainted, etc.).

Which means that I don't know the answer to that specific question, as it depends on a number of things, such as which pawn checks first and what material the dusters are made of. If Billy goes first and the excellent duster has a good material, the armour difference may result in Billy deciding it's better and taking it from the other pawn.