Scripted trigger
can_be_contrite
can_be_contrite = yesgame/common/scripted_triggers/00_stress_triggers.txt, line 212 (17 lines). No parameters.
can_be_contrite is a scripted trigger in Crusader Kings III, written at line 212 of its file. It takes no parameters: can_be_contrite = yes (or no). The game's script calls it in 8 places, among them Mental Break: Befuddled by … (event stress_threshold.2321), Mental Break: Dark Thoughts (event stress_threshold.1001) and Mental Break: Haunted by the Past (event stress_threshold.2311). Patch 1.20.1.2, from game/common/scripted_triggers/00_stress_triggers.txt.
What it checks
• 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 (17 lines of game script)
can_be_contrite = {
NOT = { has_trait = contrite }
OR = { # Must have a fitting personality or lifestyle
has_trait = deceitful
has_trait = schemer
has_trait = honest
has_trait = trusting
has_trait = humble
}
OR = { # Must have something to feel guilty about / confess to.
num_sinful_traits >= 1
any_secret = {
exists = this
can_be_exposed_by = root
}
}
}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_contrite.
Events (7)
- Mental Break: Befuddled by …
stress_threshold.2321 - Mental Break: Dark Thoughts
stress_threshold.1001 - 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: Spinning Thoughts
stress_threshold.1601
1 more
- 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.