Prefer Preferred Apparel Color
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:
[list]
[*] 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 [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2868392160]Research Reinvented[/url] 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.
[/list]
Related mods
[list]
[*] [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2562859859]Self Dyeing[/url] - Useful when a pawn decides to wear a new apparel item e.g. because of a significant quality or hp difference.
[/list]
GitHub: [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fgithub.com%2Fllunak%2Frimworld-preferpreferredapparelcolor]https://github.com/llunak/rimworld-preferpreferredapparelcolor[/url]