Scripted trigger
stress_rite_conversion_trigger
stress_rite_conversion_trigger = yesgame/common/scripted_triggers/00_stress_triggers.txt, line 357 (30 lines). No parameters.
stress_rite_conversion_trigger is a scripted trigger in Crusader Kings III, written at line 357 of its file. It takes no parameters: stress_rite_conversion_trigger = yes (or no). The game's script calls it in 1 place, among them Mental Break: Nothing Matters (event stress_threshold.1501). Patch 1.20.1.2, from game/common/scripted_triggers/00_stress_triggers.txt.
What it checks
- Is an Adult
- Spiritual Fulfillment less than 0
rite_fulfillment_score = { target = root.rite value <= 0 }- Their faith: Fervor at most 50
- Any available rite:
pam_rite_is_regional_trigger = no- You:
rite_fulfillment_score = { target = scope:rite_temp value > 0 }
• 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 (30 lines of game script)
stress_rite_conversion_trigger = {
# A child re-founding their realm's religion over a tantrum is not a story we want.
is_adult = yes
spiritual_fulfillment < 0
rite_fulfillment_score = {
target = root.rite
value <= 0
}
OR = {
has_trait = cynical
has_trait = eccentric
has_trait = fickle
spiritual_fulfillment < spiritual_fulfillment_minus_1
}
faith = {
fervor <= 50
}
# Must stay in step with stress_threshold.1501's picker, or the option has no rite
any_available_rite = {
this != root.rite
pam_rite_is_regional_trigger = no
save_temporary_scope_as = rite_temp
root = {
rite_fulfillment_score = {
target = scope:rite_temp
value > 0
}
}
}
}As written in game/common/scripted_triggers/00_stress_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls stress_rite_conversion_trigger.
Events (1)
- Mental Break: Nothing Matters
stress_threshold.1501
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.