Insulation - Cold

From RimWorld Wiki
Revision as of 03:54, 22 July 2019 by FixSomeBugs (talk | contribs) (Document my understanding of the textiles problem, so that I or the next poor sap who looks into this understands it a bit better)
Jump to navigation Jump to search

Insulation - Cold is a stat: For clothing: how well this clothing protects from cold, lowering the Minimum Comfortable Temperature by the given amount. For textiles: impacts how well clothing made from this textile protects from cold. Its minimum allowed value is -2,000 °C (-3,568 °F). Its maximum allowed value is 2,000 °C (3,632 °F). Its default value is 0 °C (32 °F).

NOTE: Currently, the display of these stats is broken on the wiki. There are two properties here: Property:Insulation_-_Cold_Base, the base temperature offset, and Property:Insulation_-_Cold_Factor, the % by which we scale the base offset to get the final value for a clothing item.

Unfortunately, prior to B19 (I think that's when it changed), clothing had the base value (e.g. 15°C) while textiles had the factor (e.g. 0.75).

As of 1.0, textiles have the offset (e.g. Hyperweave has 26°C), while clothing has the factor (e.g. tuques have 0.5). Thus, a normal hyperweave tuque has a cold insulation of 13°C.

We should find a way to either fix the display of the relevant stats, or flip the actual semantic properties between the items.