CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

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)

13 more

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.

Spotted a mistake on this page?