Difference between revisions of "Rest Rate Multiplier"

From RimWorld Wiki
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Verified|1.2.2900}}{{Stat
+
{{Stub|reason=Factor order of operations}}{{Verified|1.2.2900}}{{Stat
 
| default base value = 1.0
 
| default base value = 1.0
 
| min value = 0.05
 
| min value = 0.05
 
| to string style = PercentZero
 
| to string style = PercentZero
| description = A multiplier on how quickly a creature rests while sleeping.
+
| description = A multiplier on how quickly a creature [[rest]]s while sleeping.
 
}}
 
}}
  
Line 10: Line 10:
 
* [[Metabolism]]: [[Metabolism Importance::0.3|30%]] importance. No allowed defect. [[Metabolism Limit::-|No]] Max.
 
* [[Metabolism]]: [[Metabolism Importance::0.3|30%]] importance. No allowed defect. [[Metabolism Limit::-|No]] Max.
 
* [[Breathing]]: [[Breathing Importance::0.3|30%]] importance. No allowed defect. [[Breathing Limit::-|No]] Max.
 
* [[Breathing]]: [[Breathing Importance::0.3|30%]] importance. No allowed defect. [[Breathing Limit::-|No]] Max.
* [[Traits#Quick sleeper|Quick sleeper trait]]: +50%
+
* [[Quick sleeper]] trait: {{+|50%}}
 +
 
 +
== Example ==
 +
Rest Rate Multiplier of a particular pawn can be calculated using the following formula:
 +
 
 +
'''Rest Rate Multiplier''' = (Base value + Offsets) × Factors × External factors
 +
 
 +
Let us calculate how fast a human could possibly sleep. It would have the following values:
 +
* Base value: 100%
 +
* Offset: {{+|50%}} ([[Quick sleeper]] trait)
 +
* Factors:
 +
** Metabolism capacity: '''×((132%-100%)*0.3)+1)''' (High on [[luciferium]] and [[Bionic stomach|Bionic]]/[[Reprocessor stomach|Reprocessor]]/[[Nuclear stomach|Nuclear]]/[[Sterilizing stomach|Sterilizing stomach]]).
 +
** Breathing capacity: '''×((110%-100%)*0.3)+1)''' (High on [[luciferium]]).
 +
** Blood Pumping capacity: '''×((190%-100%)*0.3)+1)''' (High on [[luciferium]], [[Bionic heart]], and [[Fibrous mechanites]]).
 +
* External factor: '''×100%'''
 +
 
 +
'''Rest Rate Multiplier''' = (100% + 50%) × (1 + 0.32 × 0.3) × (1 + 0.10 × 0.3)  × (1 + 0.90 × 0.3) = '''{{#expr: (100 + 50) * (1 + 0.32 * 0.3) * (1 + 0.10 * 0.3)  * (1 + 0.90 * 0.3) round 2}}%'''
 +
 
 
{{nav|stats|wide}}
 
{{nav|stats|wide}}

Latest revision as of 23:22, 19 March 2023

Rest Rate Multiplier is a stat: A multiplier on how quickly a creature rests while sleeping. Its minimum allowed value is 5%. Its default value is 100%.

Factors[edit]

Example[edit]

Rest Rate Multiplier of a particular pawn can be calculated using the following formula:

Rest Rate Multiplier = (Base value + Offsets) × Factors × External factors

Let us calculate how fast a human could possibly sleep. It would have the following values:

Rest Rate Multiplier = (100% + 50%) × (1 + 0.32 × 0.3) × (1 + 0.10 × 0.3)  × (1 + 0.90 × 0.3) = 215.05%