Scripted trigger
has_witnessed_stress_coping_trait
has_witnessed_stress_coping_trait = { TRAIT = … }game/common/scripted_triggers/00_stress_triggers.txt, line 329 (4 lines). Parameters: $TRAIT$.
has_witnessed_stress_coping_trait is a scripted trigger in Crusader Kings III, written at line 329 of its file. A call passes 1 parameter: TRAIT. The game's script calls it in 19 places, among them Mental Break: Befuddled by … (event stress_threshold.2321), Mental Break: Coming Home to Roost (event stress_threshold.1701) and Mental Break: Dark Thoughts (event stress_threshold.1001). Patch 1.20.1.2, from game/common/scripted_triggers/00_stress_triggers.txt.
What it checks
- Does not have the Trait: …
- Witnessed trait is $TRAIT$
• 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 (4 lines of game script)
has_witnessed_stress_coping_trait = {
NOT = { has_trait = $TRAIT$ }
var:witnessed_trait ?= flag:$TRAIT$
}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_witnessed_stress_coping_trait.
Events (19)
- Mental Break: Befuddled by …
stress_threshold.2321 - Mental Break: Coming Home to Roost
stress_threshold.1701 - Mental Break: Dark Thoughts
stress_threshold.1001 - Mental Break: Domain of Debauchery
stress_threshold.3421 - Mental Break: Emptiness Inside
stress_threshold.1503 - Mental Break: Endless Toil
stress_threshold.1504
13 more
- Mental Break: Estranged Authority
stress_threshold.2331 - Mental Break: Growing Needs
stress_threshold.2301 - Mental Break: Haunted by the Past
stress_threshold.2311 - Mental Break: I am Unworthy!
stress_threshold.3411 - Mental Break: Impostor!
stress_threshold.1721 - Mental Break: Improprietous Remarks
stress_threshold.2351 - Mental Break: No Time for Myself
stress_threshold.1731 - Mental Break: Nothing Matters
stress_threshold.1501 - Mental Break: Resentment
stress_threshold.1502 - Mental Break: Shirked Duty
stress_threshold.2341 - Mental Break: Shooting the Messenger
stress_threshold.3401 - Mental Break: Too Busy
stress_threshold.1711 - Mental Break: Wanton Desires
stress_threshold.1011
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.