Difference between revisions of "Insulation - Cold"

From RimWorld Wiki
Jump to navigation Jump to search
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)
(No double breaks)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{stub}}
+
{{Stub|reason=1) Two-way links}}
{{Stat
+
{{Main|Insulation}}
 +
{{See also|Insulation - Heat}}
 +
{{Verified|1.5.4104}}{{Stat
 +
| def name = Insulation_Cold
 +
| label = Insulation - Cold
 +
| label for full stat list = Insulation - Cold (armor stat)
 +
| description = How much this [[apparel]] improves a wearer's [[minimum comfortable temperature]].<br/>Greater values allow surviving in colder [[temperature]]s.
 
| default base value = 0
 
| default base value = 0
| max value = 2000
+
| min value = -9999
| min value = -2000
+
| max value = 9999
| to string style = Temperature
+
| hide at value = 0
| 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.
+
| to string style = TemperatureOffset
 +
| show on pawns = false
 +
| category = Apparel
 +
| display priority in category = 90
 +
| parts = StatPart_Quality, StatPart_Stuff
 +
| cacheable = true
 
}}
 
}}
  
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.
+
The range of possible temperature is limited to {{Temperature|-273.15}} ~ {{Temperature|1000}}, so final cold insulation values that extend beyond this are largely useless.
  
Unfortunately, prior to B19 (I think that's when it changed), ''clothing'' had the base value (e.g. 15&deg;C) while ''textiles'' had the factor (e.g. 0.75).
+
== Stat Parts ==
 +
=== Quality ===
 +
<div><li style="display: inline-table;">
 +
The following factors also apply to negative values:
 +
{| {{STDT| c_01}}
 +
! [[Quality]] !! Factor
 +
|-
 +
! Awful
 +
| {{Bad|×80%}}
 +
|-
 +
! Poor
 +
| {{Bad|×90%}}
 +
|-
 +
! Normal
 +
| '''×100%'''
 +
|-
 +
! Good
 +
| {{Good|×110%}}
 +
|-
 +
! Excellent
 +
| {{Good|×120%}}
 +
|-
 +
! Masterwork
 +
| {{Good|×150%}}
 +
|-
 +
! Legendary
 +
| {{Good|×180%}}
 +
|}
 +
</li></div>
  
As of 1.0, ''textiles'' have the offset (e.g. Hyperweave has 26&deg;C), while ''clothing'' has the factor (e.g. tuques have 0.5).  Thus, a normal hyperweave tuque has a cold insulation of 13&deg;C.
+
=== Stuff ===
 +
* Priority: '''100'''{{Check Tag|What is the significance of this?}}
 +
* Stuff Power Stat: '''[[Insulation - Cold (Material Factor)]]'''
 +
* Multiplier Stat: '''[[Insulation - Cold - Material Effect Multiplier]]'''
  
We should find a way to either fix the display of the relevant stats, or flip the actual semantic properties between the items.
+
== Bases ==
 +
<div><li style="display: inline-table;">
 +
Click to <div class="mw-collapsible">
 +
<div class="mw-collapsible-content">
 +
{| {{STDT| c_01 sortable}}
 +
! Apparel !! [[Property:Insulation - Cold Base|Insulation - Cold Base]]
 +
|-
 +
{{#ask: [[Insulation - Cold Base::+]]
 +
| ?Insulation - Cold Base
 +
| format = template
 +
| template = Ask Table Formatter
 +
| link = none
 +
| sort = From DLC, Name
 +
| limit = 1000
 +
}}
 +
|}
 +
</div>
 +
</div>
 +
</li></div>
 +
 
 +
== Stat Def Data ==
 +
{| {{STDT| c_01}}
 +
! Def Name<br />Label<br />Label For Full Stat List<br />Offset Label<br />Attributes !! Description !! Category !! Parameters !! Complex<br />Parameters !! Display<br />Priority<br />In<br />Category
 +
|- id="Insulation - Cold (Armor Stat)" <!-- ParentName="InsulationBase" --><!--<StatDef>-->
 +
|
 +
* '''Def Name:'''<br />Insulation_Cold
 +
* '''Label:'''<br />Insulation - Cold
 +
* '''Label For Full Stat List:'''<br />Insulation - Cold (armor stat)
 +
| How much this apparel improves a wearer's minimum comfortable temperature.<br/><br/>Greater values allow surviving in colder temperatures.
 +
|
 +
* Display Order:<br />'''30'''
 +
* Def Name:<br />'''Apparel'''
 +
* Label:<br />'''Apparel'''
 +
* Display All By Default:<br />{{Bad|false}}
 +
|
 +
* Default Base Value: '''0'''
 +
* Hide At Value: '''0'''
 +
* Min Value: '''-9999'''
 +
* Max Value: '''9999'''
 +
* To String Style: '''TemperatureOffset'''
 +
* Show On Pawns: {{Bad|false}}
 +
* '''Cacheable:''' {{Good|true}}
 +
|
 +
* '''Parts:'''
 +
** '''''StatPart_Quality:'''''
 +
*** Factor Awful: {{Bad|×{{%|0.8}}}}
 +
*** Factor Poor: {{Bad|×{{%|0.9}}}}
 +
*** Factor Normal: '''×{{%|1}}'''
 +
*** Factor Good: {{Good|×{{%|1.1}}}}
 +
*** Factor Excellent: {{Good|×{{%|1.2}}}}
 +
*** Factor Masterwork: {{Good|×{{%|1.5}}}}
 +
*** Factor Legendary: {{Good|×{{%|1.8}}}}
 +
*** Apply To Negative Values: {{Good|true}}
 +
** '''StatPart_Stuff:'''
 +
*** Priority: '''100'''
 +
*** Stuff Power Stat: '''[[Insulation - Cold (Material Factor)]]'''
 +
*** Multiplier Stat: '''[[Insulation - Cold - Material Effect Multiplier]]'''
 +
| 90
 +
<!--</StatDef>-->
 +
|}
 +
 
 +
== Version history ==
 +
{{Stub|section=1|reason=General Version history}}
 +
 
 +
{{nav|stats|wide}}

Latest revision as of 04:49, 17 October 2024

Insulation - Cold is a stat: How much this apparel improves a wearer's minimum comfortable temperature.
Greater values allow surviving in colder temperatures. Its minimum allowed value is -9,999 °C (-17,998.2 °F). Its maximum allowed value is 9,999 °C (17,998.2 °F). Its default value is 0 °C (0 °F).

The range of possible temperature is limited to -273.15 °C (-459.7 °F) ~ 1,000 °C (1,832 °F), so final cold insulation values that extend beyond this are largely useless.

Stat Parts[edit]

Quality[edit]

  • The following factors also apply to negative values:

    Quality Factor
    Awful ×80%
    Poor ×90%
    Normal ×100%
    Good ×110%
    Excellent ×120%
    Masterwork ×150%
    Legendary ×180%
  • Stuff[edit]

    Bases[edit]

  • Click to
  • Stat Def Data[edit]

    Def Name
    Label
    Label For Full Stat List
    Offset Label
    Attributes
    Description Category Parameters Complex
    Parameters
    Display
    Priority
    In
    Category
    • Def Name:
      Insulation_Cold
    • Label:
      Insulation - Cold
    • Label For Full Stat List:
      Insulation - Cold (armor stat)
    How much this apparel improves a wearer's minimum comfortable temperature.

    Greater values allow surviving in colder temperatures.
    • Display Order:
      30
    • Def Name:
      Apparel
    • Label:
      Apparel
    • Display All By Default:
      false
    • Default Base Value: 0
    • Hide At Value: 0
    • Min Value: -9999
    • Max Value: 9999
    • To String Style: TemperatureOffset
    • Show On Pawns: false
    • Cacheable: true
    90

    Version history[edit]