Scripted trigger
can_be_comfort_eater
can_be_comfort_eater = yesgame/common/scripted_triggers/00_stress_triggers.txt, line 230 (14 lines). No parameters.
can_be_comfort_eater is a scripted trigger in Crusader Kings III, written at line 230 of its file. It takes no parameters: can_be_comfort_eater = yes (or no). The game's script calls it in 11 places, among them Mental Break: Befuddled by … (event stress_threshold.2321), Mental Break: Coming Home to Roost (event stress_threshold.1701) and Mental Break: Domain of Debauchery (event stress_threshold.3421). Patch 1.20.1.2, from game/common/scripted_triggers/00_stress_triggers.txt.
What it checks
- Does not have the Trait: Comfort Eater
- Does not have the Trait: Inappetetic
- Does not have the Trait: Temperate
• 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 (14 lines of game script)
can_be_comfort_eater = { # Must have a fitting personality.
NOR = {
has_trait = comfort_eater
has_trait = inappetetic
has_trait = temperate
}
OR = {
has_trait = gluttonous
has_trait = fickle
has_trait = arbitrary
has_trait = impatient
has_trait = calm
}
}As written in game/common/scripted_triggers/00_stress_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls can_be_comfort_eater.
Events (10)
- Mental Break: Befuddled by …
stress_threshold.2321 - Mental Break: Coming Home to Roost
stress_threshold.1701 - Mental Break: Domain of Debauchery
stress_threshold.3421 - Mental Break: Emptiness Inside
stress_threshold.1503 - Mental Break: Growing Needs
stress_threshold.2301 - Mental Break: Impostor!
stress_threshold.1721
4 more
- Mental Break: No Time for Myself
stress_threshold.1731 - Mental Break: Shirked Duty
stress_threshold.2341 - Mental Break: Spinning Thoughts
stress_threshold.1601 - Mental Break: Swirling Emotions
stress_threshold.1602
Scripted effects inside an event file (1)
- stress_threshold_fallback_event_select_options_effect
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.