Scripted trigger
can_be_rakish
can_be_rakish = yesgame/common/scripted_triggers/00_stress_triggers.txt, line 133 (16 lines). No parameters.
can_be_rakish is a scripted trigger in Crusader Kings III, written at line 133 of its file. It takes no parameters: can_be_rakish = yes (or no). The game's script calls it in 12 places, among them Growing Debauchery (event court_yearly.1000), 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
• 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 (16 lines of game script)
can_be_rakish = { # Must have a fitting personality or lifestyle
is_adult = yes
NOR = {
has_trait = rakish
has_sexuality = asexual
has_trait = celibate
has_trait = chaste
}
OR = {
has_trait = lustful
has_trait = arrogant
has_trait = deceitful
has_trait = gallant
has_trait = seducer
}
}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_rakish.
Events (9)
- Growing Debauchery
court_yearly.1000 - Mental Break: Coming Home to Roost
stress_threshold.1701 - Mental Break: Domain of Debauchery
stress_threshold.3421 - Mental Break: Growing Needs
stress_threshold.2301 - Mental Break: Haunted by the Past
stress_threshold.2311 - Mental Break: No Time for Myself
stress_threshold.1731
3 more
- Mental Break: Spinning Thoughts
stress_threshold.1601 - Mental Break: Swirling Emotions
stress_threshold.1602 - Mental Break: Wanton Desires
stress_threshold.1011
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
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.