Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
The default value of StuffEffectMultiplierDiscomfort (a property of the apparel, I think) is 0, and I don't see it being set by AIU anywhere (only the value of StuffPower_Discomfort for vanilla materials). Thus, for all apparel, the StatPart_Stuff part of the computation does not modify the discomfort. Furthermore, if the default value were changed (or values patched in for specific apparel), the discomfort would simply be increased, proportional to StuffPower_Discomfort (unless one of StuffPower_Discomfort and StuffEffectMultiplierDiscomfort was negative, but they both have 0 as their minimum values), not scaled based on the two values.
Instead, I think the StatPart_Stuff part of the formula should be replaced by something like:
So the discomfort is scaled based on StuffPower_Discomfort, which is a property of the material, but that modification is itself scaled based on StuffEffectMultiplierDiscomfort, which is a property of the apparel.
I'm very new to RimWorld C# modding, so I'm not sure if a StatPart with this formula already exists. However, it would be pretty straightforward to create a new one, since it is very similar to StatPart_Stuff. I plan on testing this out locally, but I'm curious what your thoughts are, or if I missed something in understanding how the formula works.
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2252798130&searchtext=leather
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1713884017&searchtext=leather
I actually use Simple Chains: Leather in my own mod list, so they work together. Don't know about the other mod, but AIU is designed to be pretty much be compatible with everything.