Scripted trigger
has_two_stress_coping_traits_trigger
has_two_stress_coping_traits_trigger = yesgame/common/scripted_triggers/00_stress_triggers.txt, line 28 (19 lines). No parameters.
has_two_stress_coping_traits_trigger is a scripted trigger in Crusader Kings III, written at line 28 of its file. It takes no parameters: has_two_stress_coping_traits_trigger = yes (or no). The game's script calls it in 2 places, among them Mental Break: Endless Toil (event stress_threshold.1504) and Royal Lapse (event court.8140). Patch 1.20.1.2, from game/common/scripted_triggers/00_stress_triggers.txt.
The comment above it in the file
Check if the player already has two stress coping traits ( we don't want to give any more than that! )
What it checks
2 of these 14
- Has the Trait: Drunkard
- Has the Trait: Hashishiyah
- Has the Trait: Rakish
- Has the Trait: Reclusive
- Has the Trait: Irritable
- Has the Trait: Flagellant
- Has the Trait: Profligate
- Has the Trait: Improvident
- Has the Trait: Contrite
- Has the Trait: Comfort Eater
- Has the Trait: Inappetetic
- Has the Trait: Journaller
- Has the Trait: Confider
- Has the Trait: Athletic
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (19 lines of game script)
has_two_stress_coping_traits_trigger = {
calc_true_if = {
amount >= 2
has_trait = drunkard
has_trait = hashishiyah
has_trait = rakish
has_trait = reclusive
has_trait = irritable
has_trait = flagellant
has_trait = profligate
has_trait = improvident
has_trait = contrite
has_trait = comfort_eater
has_trait = inappetetic
has_trait = journaller
has_trait = confider
has_trait = athletic
}
}As written in game/common/scripted_triggers/00_stress_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls has_two_stress_coping_traits_trigger.
Events (2)
- Mental Break: Endless Toil
stress_threshold.1504 - Royal Lapse
court.8140
Source: game/common/scripted_triggers/00_stress_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.