Difference between revisions of "Cold Containment Bonus"

From RimWorld Wiki
Jump to navigation Jump to search
(Base StatDef data for Cold Containment Bonus)
 
m (Remaining Stat Template data, Ask query table, and explain how the statworker and the bonus is calculated)
 
Line 1: Line 1:
 
{{Anomaly}}
 
{{Anomaly}}
{{Stub|reason=Breakdown of StatWorker_ColdContainmentBonus, and complete the list of what entities are affected by it}}
+
{{See also|Containment|Containment Strength|Minimum Containment Strength}}
 
{{Verified|1.5.4104}}{{Stat
 
{{Verified|1.5.4104}}{{Stat
 +
| def name = ColdContainmentBonus
 +
| label = cold containment bonus
 +
| description = This entity is less likely to escape if kept in a very [[Temperature|cold]] room.
 
| default base value = 0
 
| default base value = 0
 +
| effective minimum = 1
 +
| effective maximum = 1.5
 +
| overrides hide stats = true
 
| to string style = PercentZero
 
| to string style = PercentZero
| description = This entity is less likely to escape if kept in a very cold room.
 
 
| category = Containment
 
| category = Containment
 +
| worker class = StatWorker_ColdContainmentBonus
 
}}
 
}}
  
[[Entities]] with the [[Property:Gets Cold Containment Bonus|Gets Cold Containment Bonus]] property set to true are affected by this stat:
+
== Explanation ==
{{#ask:[[Gets Cold Containment Bonus::+]]
+
[[Cold Containment Bonus]] is applied as a multiplier to the escape interval of an entity.
| format = ul
+
 
 +
This factor scales linearly with the temperature of the containment facility, with ×100% at {{Temperature|0}}, and a max of 150% at {{Temperature|-30}}. Note that this is regardless of a pawn's [[Minimum Comfortable Temperature]], depending only on the absolute temperature of a room.
 +
<div><li style="display: inline-table;">
 +
{| {{STDT| c_10}}
 +
! Temperature !! Cold<br />Containment<br />Bonus
 +
|-
 +
! {{Temperature|-30}}
 +
| ×150%
 +
|-
 +
! {{Temperature|0}}
 +
| ×100%
 +
|}
 +
</li></div>
 +
{{Graph:Chart|width=300|height=150|xAxisTitle=Temperature (°C)|yAxisTitle=Cold Containment Bonus Factor|type=line|x=-30, 0|y=1.5, 1|interpolate=monotone|xGrid=|yGrid=}}
 +
 
 +
This stat is displayed as the above factor - 100%, for a range of 0% to 50%.
 +
 
 +
== Values ==
 +
The following pawns are affected by this stat:
 +
<div><li style="display: inline-table;">
 +
{| {{STDT| c_10 sortable}}
 +
! Pawn !! [[Property:Gets Cold Containment Bonus|Gets Cold<br />Containment<br />Bonus]]
 +
|-
 +
{{#ask: [[Gets Cold Containment Bonus::+]]
 +
| ?Gets Cold Containment Bonus
 +
| format = template
 +
| template = Ask Table Formatter
 +
| link = none
 +
| sort = From DLC, Name
 
}}
 
}}
 +
|}
 +
</li></div>
  
 
== Stat Def Data ==
 
== Stat Def Data ==
{| {{STDT}}
+
{| {{STDT| c_10}}
 
! Def Name<br />Label<br />Label For Full Stat List<br />Offset Label !! Description !! Category !! Parameters !! Complex<br />Parameters !! Display<br />Priority<br />In<br />Category
 
! Def Name<br />Label<br />Label For Full Stat List<br />Offset Label !! Description !! Category !! Parameters !! Complex<br />Parameters !! Display<br />Priority<br />In<br />Category
 
|- id="Cold Containment Bonus" <!--<StatDef>-->
 
|- id="Cold Containment Bonus" <!--<StatDef>-->

Latest revision as of 19:18, 3 October 2024

Cold Containment Bonus is a stat: This entity is less likely to escape if kept in a very cold room. Its default value is 0%.

Explanation[edit]

Cold Containment Bonus is applied as a multiplier to the escape interval of an entity.

This factor scales linearly with the temperature of the containment facility, with ×100% at 0 °C (32 °F), and a max of 150% at -30 °C (-22 °F). Note that this is regardless of a pawn's Minimum Comfortable Temperature, depending only on the absolute temperature of a room.

  • Temperature Cold
    Containment
    Bonus
    -30 °C (-22 °F) ×150%
    °C (32 °F) ×100%
  • This stat is displayed as the above factor - 100%, for a range of 0% to 50%.

    Values[edit]

    The following pawns are affected by this stat:

  • Pawn Gets Cold
    Containment
    Bonus
    Bulbfreak Content added by the Anomaly DLC true
    Dreadmeld Content added by the Anomaly DLC true
    Fingerspike Content added by the Anomaly DLC true
    Ghoul Content added by the Anomaly DLC true
    Toughspike Content added by the Anomaly DLC true
    Trispike Content added by the Anomaly DLC true
  • Stat Def Data[edit]

    Def Name
    Label
    Label For Full Stat List
    Offset Label
    Description Category Parameters Complex
    Parameters
    Display
    Priority
    In
    Category
    • Def Name:
      ColdContainmentBonus
    • Label:
      cold containment bonus
    This entity is less likely to escape if kept in a very cold room.
    • Display Order:
      600
    • Def Name:
      Containment
    • Label:
      Containment
    • Display All By Default:
      false
    • Worker Class: StatWorker_ColdContainmentBonus
    • Overrides Hide Stats: true
    • Default Base Value: 0%
    • To String Style: PercentZero
    - -

    Version history[edit]