Difference between revisions of "Mental Break Threshold"

From RimWorld Wiki
Jump to navigation Jump to search
 
(5 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 starts.  This 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 stat.  The 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.
Line 24: Line 30:
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
! Trait combination !! Minor Break Threshold !! Major Break Threshold !! Extreme Break Threshold
+
! rowspan='2'|Trait combination !! colspan='3'| Break Threshold
 +
|-
 +
! Minor  !! Major !! Extreme
 
|-
 
|-
 
! ''None''
 
! ''None''
Line 35: Line 43:
 
| {{#vardefineecho: MBT| {{#expr: 35 -  9 }} }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 
| {{#vardefineecho: MBT| {{#expr: 35 -  9 }} }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 
|-
 
|-
! [[Nervous]]/[[Neurotic]]
+
! [[Nervous]]
 
| {{#vardefineecho: MBT| {{#expr: 35 +  8 }} }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 
| {{#vardefineecho: MBT| {{#expr: 35 +  8 }} }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 
|-
 
|-
Line 43: Line 51:
 
! [[Too smart]]
 
! [[Too smart]]
 
| {{#vardefineecho: MBT| {{#expr: 35 + 12 }} }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 
| {{#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]]
 
! [[Iron-willed]] + [[Neurotic]]
Line 51: Line 62:
 
|-
 
|-
 
! [[Nervous]] + [[Neurotic]]
 
! [[Nervous]] + [[Neurotic]]
| {{#vardefineecho: MBT| {{#expr: 35 +  8 + 8 }} }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
+
| {{#vardefineecho: MBT| 50<!--{{#expr: 35 +  8 + 8 }}--> }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 
|-
 
|-
 
! [[Volatile]] + [[Neurotic]]
 
! [[Volatile]] + [[Neurotic]]
| {{#vardefineecho: MBT| {{#expr: 35 + 15 + 8 }} }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
+
| {{#vardefineecho: MBT| 50<!--{{#expr: 35 + 15 + 8 }}--> }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 
|-
 
|-
 
! [[Too smart]] + [[Neurotic]]
 
! [[Too smart]] + [[Neurotic]]
| {{#vardefineecho: MBT| {{#expr: 35 + 12 + 8 }} }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
+
| {{#vardefineecho: MBT| 50<!--{{#expr: 35 + 12 + 8 }}--> }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 
|-
 
|-
 
! [[Very neurotic]]
 
! [[Very neurotic]]
Line 69: Line 80:
 
|-
 
|-
 
! [[Nervous]] + [[Very neurotic]]
 
! [[Nervous]] + [[Very neurotic]]
| {{#vardefineecho: MBT| {{#expr: 35 +  8 + 14}} }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
+
| {{#vardefineecho: MBT| 50<!--{{#expr: 35 +  8 + 14}}--> }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 
|-
 
|-
 
! [[Volatile]] + [[Very neurotic]]
 
! [[Volatile]] + [[Very neurotic]]
| {{#vardefineecho: MBT| {{#expr: 35 + 15 + 14}} }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
+
| {{#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]]
 
! [[Too smart]] + [[Very neurotic]]
| {{#vardefineecho: MBT| {{#expr: 35 + 12 + 14}} }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
+
| {{#vardefineecho: MBT| 50<!--{{#expr: 35 + 12 + 14}}--> }}% || {{#expr:{{#var: MBT}} * 4/7 round 0}}% || {{#expr:{{#var: MBT}} * 1/7 round 0}}%
 +
|}
 +
 
 +
== Stat Def Data ==
 +
{| {{STDT}}
 +
! 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="Mental Break Threshold" <!--<StatDef>-->
 +
|
 +
* '''Def Name:'''<br />MentalBreakThreshold
 +
* '''Label:'''<br />mental break threshold
 +
| 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