Difference between revisions of "Rest Rate Multiplier"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "{{stub}} {{Stat | default base value = 1.0 | min value = 0.05 | to string style = PercentZero | description = A multiplier on how quickly a creature rests while sleeping. }}...")
 
m (Stat Category)
 
(12 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{stub}}
+
{{Stub|reason=Factor order of operations}}{{Verified|1.2.2900}}{{Stat
{{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.
 +
| category = BasicsPawn
 
}}
 
}}
  
 
==Factors==
 
==Factors==
* [[Blood Pumping]]: [[Blood Pumping Importance::0.3|30%]] importance. No allowed defect. No Max.
+
* [[Blood Pumping]]: [[Blood Pumping Importance::0.3|30%]] importance. No allowed defect. [[Blood Pumping Limit::-|No]] Max.
* [[Metabolism]]: [[Metabolism Importance::0.3|30%]] importance. No allowed defect. No Max.
+
* [[Digestion]]: [[Digestion Importance::0.3|30%]] importance. No allowed defect. [[Digestion Limit::-|No]] Max.
* [[Breathing]]: [[Breathing Importance::0.3|30%]] importance. No allowed defect. No Max.
+
* [[Breathing]]: [[Breathing Importance::0.3|30%]] importance. No allowed defect. [[Breathing Limit::-|No]] Max.
 +
* [[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:
 +
** Digestion 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}}

Latest revision as of 19:39, 6 September 2024

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%