Difference between revisions of "Insulation - Cold"

From RimWorld Wiki
Jump to navigation Jump to search
m
m (Document my understanding of the textiles problem, so that I or the next poor sap who looks into this understands it a bit better)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{stub}}
 
{{stub}}
 
{{Stat
 
{{Stat
| round to five over = 200
+
| default base value = 0
| to string style = FloatTwo
+
| max value = 2000
| description = A property of textiles. "Insulation - Cold" refers to the effectiveness that a particular textile material (i.e Cloth) protects from cold.
+
| min value = -2000
 +
| to string style = Temperature
 +
| description = For [[clothing]]: how well this clothing protects from cold, lowering the [[Minimum Comfortable Temperature]] by the given amount. For [[textile]]s: impacts how well clothing made from this textile protects from cold.  
 
}}
 
}}
 +
 +
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.

Revision as of 03:54, 22 July 2019

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.