Scripted trigger
can_be_drunkard
can_be_drunkard = yesgame/common/scripted_triggers/00_stress_triggers.txt, line 81 (13 lines). No parameters.
can_be_drunkard is a scripted trigger in Crusader Kings III, written at line 81 of its file. It takes no parameters: can_be_drunkard = yes (or no). The game's script calls it in 28 places, among them Growing Debauchery (event court_yearly.1000), inspiration_system.1101 (event) and Mental Break: Befuddled by … (event stress_threshold.2321). 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 (13 lines of game script)
can_be_drunkard = {
is_adult = yes
NOR = { # Cannot be Temperate or already have a Substance Abuse trait.
has_trait = drunkard
has_trait = hashishiyah
has_trait = temperate
}
faith = { # Cannot be Muslim ( some Muslims did actually drink, but ideally we want Muslims to be Hashishiyahs instead of Drunkards because it is more thematic).
NOT = {
religion_tag = islam_religion
}
}
}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_drunkard.
Events (24)
- Growing Debauchery
court_yearly.1000 - inspiration_system.1101
- 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
18 more
- Mental Break: Endless Toil
stress_threshold.1504 - 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: Resentment
stress_threshold.1502 - Mental Break: Shirked Duty
stress_threshold.2341 - Mental Break: Shooting the Messenger
stress_threshold.3401 - Mental Break: Spinning Thoughts
stress_threshold.1601 - Mental Break: Swirling Emotions
stress_threshold.1602 - Mental Break: Too Busy
stress_threshold.1711 - Mental Break: Torrential Grief
stress_threshold_special.1001 - Mental Break: Unwelcome
stress_threshold.2101 - The Joys of Wine
court.6060 - Tourney Troubles
relation_upgrade.0001
Scripted effects inside an event file (1)
- stress_threshold_fallback_event_select_options_effect
Scripted triggers inside an event file (2)
- court_1000_valid_child
- court_1001_valid_debaucher
Scripted effects (1)
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.