Difference between revisions of "Mental Break Threshold"

From RimWorld Wiki
Jump to navigation Jump to search
(rewritten and fact checked)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Stat
 
{{Stat
| default base value = 5
+
| def name = MentalBreakThreshold
| max value = 50
+
| label = mental break threshold
| min value = 1
+
| description = As long as someone's [[mood]] is below this level, they are in danger of having a mental break.<br/>The severity of the [[mental break]] will depend on how far below the threshold they are.
| to string style = FloatZero
+
| default base value = 0.35
| description = As long as someone's [[Mood]] is below this level, they are in danger of having a [[mental break]].
+
| min value = 0.01
 +
| max value = 0.50
 +
| to string style = PercentZero
 +
| scenario randomizable = true
 +
| show on animals = false
 +
| show on mechanoids = false
 +
| show on entities = false
 +
| category = BasicsPawn
 +
| display priority in category = 2000
 
}}
 
}}
  
The base Mental Break Threshold is 35% and defines where the minor break risk range startsThis stat is capped at a maximum of 50% and a minimum of 1%.
+
Derived from the base Mental Break Threshold stat are the thresholds for Major and Extreme mental breaks.  The threshold for a Major mental break is always 4/7 of the pawn's Mental Break Threshold statThe threshold for an Extreme mental break is always 1/7 of the pawn's Mental Break Threshold stat.
  
Derived from the base Mental Break Threshold stat are the thresholds for Major and Extreme mental breaks. The threshold for a Major mental break is always 4/7 of the pawn's Mental Break Threshold stat. The threshold for an Extreme mental break is always 1/7 of the pawn's Mental Break Threshold stat.
+
== Factors ==
 +
* [[Traits#Nerves|Nerves spectrum traits]] and Too Smart. Note that a given pawn can only have one of the following:
 +
** [[Iron-willed]] trait - lowers threshold by {{---|18%}}
 +
** [[Steadfast]] trait - lowers threshold by {{---|9%}}
 +
** [[Nervous]] trait - raises threshold by {{++|8%}}
 +
** [[Volatile]] trait - raises threshold by {{++|15%}}
 +
** [[Too smart]] trait - raises threshold by {{++|12%}}
 +
* [[Traits#Neurotic|Neurotic spectrum traits]]. Note that a given pawn can only have one of the following:
 +
** [[Neurotic]] trait - raises threshold by {{++|8%}}
 +
** [[Very neurotic]] trait - raises threshold by {{++|14%}}
 +
 
 +
{| class="wikitable sortable"
 +
|-
 +
! rowspan='2'|Trait combination !! colspan='3'| Break Threshold
 +
|-
 +
! Minor  !! Major !! Extreme
 +
|-
 +
! ''None''
 +
| {{#vardefineecho: MBT| 35}}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 +
|-
 +
! [[Iron-willed]]
 +
| {{#vardefineecho: MBT| {{#expr: 35 - 18 }} }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 +
|-
 +
! [[Steadfast]]
 +
| {{#vardefineecho: MBT| {{#expr: 35 -  9 }} }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 +
|-
 +
! [[Nervous]]
 +
| {{#vardefineecho: MBT| {{#expr: 35 +  8 }} }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 +
|-
 +
! [[Volatile]]
 +
| {{#vardefineecho: MBT| {{#expr: 35 + 15 }} }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 +
|-
 +
! [[Too smart]]
 +
| {{#vardefineecho: MBT| {{#expr: 35 + 12 }} }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 +
|-
 +
! [[Neurotic]]
 +
| {{#vardefineecho: MBT| {{#expr: 35 +  8 }} }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 +
|-
 +
! [[Iron-willed]] + [[Neurotic]]
 +
| {{#vardefineecho: MBT| {{#expr: 35 - 18 + 8 }} }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 +
|-
 +
! [[Steadfast]] + [[Neurotic]]
 +
| {{#vardefineecho: MBT| {{#expr: 35 -  9 + 8 }} }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 +
|-
 +
! [[Nervous]] + [[Neurotic]]
 +
| {{#vardefineecho: MBT| 50<!--{{#expr: 35 +  8 + 8 }}--> }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 +
|-
 +
! [[Volatile]] + [[Neurotic]]
 +
| {{#vardefineecho: MBT|  50<!--{{#expr: 35 + 15 + 8 }}--> }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 +
|-
 +
! [[Too smart]] + [[Neurotic]]
 +
| {{#vardefineecho: MBT|  50<!--{{#expr: 35 + 12 + 8 }}--> }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 +
|-
 +
! [[Very neurotic]]
 +
| {{#vardefineecho: MBT| {{#expr: 35 + 14}} }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 +
|-
 +
! [[Iron-willed]] + [[Very neurotic]]
 +
| {{#vardefineecho: MBT| {{#expr: 35 - 18 + 14}} }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 +
|-
 +
! [[Steadfast]] + [[Very neurotic]]
 +
| {{#vardefineecho: MBT| {{#expr: 35 -  9 + 14}} }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 +
|-
 +
! [[Nervous]] + [[Very neurotic]]
 +
| {{#vardefineecho: MBT| 50<!--{{#expr: 35 +  8 + 14}}--> }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 +
|-
 +
! [[Volatile]] + [[Very neurotic]]
 +
| {{#vardefineecho: MBT| 50<!--{{#expr: 35 + 15 + 14}}--> }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 +
|-
 +
! [[Too smart]] + [[Very neurotic]]
 +
| {{#vardefineecho: MBT| 50<!--{{#expr: 35 + 12 + 14}}--> }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 +
|}
  
==Factors==
+
== Stat Def Data ==
* [[Traits#Iron-willed|Iron-willed]] trait - lowers threshold by -18%
+
{| {{STDT}}
* [[Traits#Steadfast|Steadfast]] trait - lowers threshold by -9%
+
! 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
* [[Traits#Nervous|Nervous]] trait - raises threshold by +8%
+
|- id="Mental Break Threshold" <!--<StatDef>-->
* [[Traits#Volatile|Volatile]] trait - raises threshold by +15%
+
|
* [[Traits#Too smart|Too Smart]] trait - raises threshold by +12%
+
* '''Def Name:'''<br />MentalBreakThreshold
* [[Traits#Neurotic|Neurotic]] trait - raises threshold by +8%
+
* '''Label:'''<br />mental break threshold
* [[Traits#Very neurotic|Very neurotic]] trait - raises threshold by +14%
+
| As long as someone's mood is below this level, they are in danger of having a mental break.<br/><br/>The severity of the mental break will depend on how far below the threshold they are.
 +
|
 +
* Display Order:<br />'''11'''
 +
* Def Name:<br />'''BasicsPawn'''
 +
* Label:<br />'''Basics'''
 +
* Display All By Default:<br />{{Bad|false}}
 +
|
 +
* '''Default Base Value:''' {{%|0.35}}
 +
* '''Min Value:''' {{%|0.01}}
 +
* '''Max Value:''' {{%|0.50}}
 +
* '''To String Style:''' PercentZero
 +
* '''Show On Animals:''' {{Bad|false}}
 +
* '''Show On Mechanoids:''' {{Bad|false}}
 +
* '''Show On Entities:''' {{Bad|false}}
 +
* '''Scenario Randomizable:''' {{Good|true}}
 +
| -
 +
| 2000
 +
<!--</StatDef>-->
 +
|}
  
 
{{nav|stats|wide}}
 
{{nav|stats|wide}}

Latest revision as of 14:58, 27 September 2024

Mental Break Threshold is a stat: As long as someone's mood is below this level, they are in danger of having a mental break.
The severity of the mental break will depend on how far below the threshold they are. Its minimum allowed value is 1%. Its maximum allowed value is 50%. Its default value is 35%.

Derived from the base Mental Break Threshold stat are the thresholds for Major and Extreme mental breaks. The threshold for a Major mental break is always 4/7 of the pawn's Mental Break Threshold stat. The threshold for an Extreme mental break is always 1/7 of the pawn's Mental Break Threshold stat.

Factors[edit]

Trait combination Break Threshold
Minor Major Extreme
None 35% 20% 5%
Iron-willed 17% 10% 2%
Steadfast 26% 15% 4%
Nervous 43% 25% 6%
Volatile 50% 29% 7%
Too smart 47% 27% 7%
Neurotic 43% 25% 6%
Iron-willed + Neurotic 25% 14% 4%
Steadfast + Neurotic 34% 19% 5%
Nervous + Neurotic 50% 29% 7%
Volatile + Neurotic 50% 29% 7%
Too smart + Neurotic 50% 29% 7%
Very neurotic 49% 28% 7%
Iron-willed + Very neurotic 31% 18% 4%
Steadfast + Very neurotic 40% 23% 6%
Nervous + Very neurotic 50% 29% 7%
Volatile + Very neurotic 50% 29% 7%
Too smart + Very neurotic 50% 29% 7%

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:
    MentalBreakThreshold
  • Label:
    mental break threshold
As long as someone's mood is below this level, they are in danger of having a mental break.

The severity of the mental break will depend on how far below the threshold they are.
  • Display Order:
    11
  • Def Name:
    BasicsPawn
  • Label:
    Basics
  • Display All By Default:
    false
  • Default Base Value: 35%
  • Min Value: 1%
  • Max Value: 50%
  • To String Style: PercentZero
  • Show On Animals: false
  • Show On Mechanoids: false
  • Show On Entities: false
  • Scenario Randomizable: true
- 2000