Scripted trigger · Coronations files
coronation_anointment_authority_is_trigger
coronation_anointment_authority_is_trigger = { CHARACTER = … }game/common/scripted_triggers/10_ach_scripted_triggers.txt, line 121 (16 lines). Parameters: $CHARACTER$.
coronation_anointment_authority_is_trigger is a scripted trigger in Crusader Kings III, in the Coronations files, written at line 121 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 3 places, among them Request Anointment (interaction), Coronation (activity) and is_important_hof_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/10_ach_scripted_triggers.txt.
What it checks
If
a check the game hides
Then
religious_head_or_challenger ?= $CHARACTER$
Else if
rite.head_of_rite = { pam_is_clergy_ruler_trigger = yes }
Then
rite.head_of_rite ?= $CHARACTER$
Otherwise
- Never
• 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)
coronation_anointment_authority_is_trigger = {
trigger_if = {
limit = { exists = religious_head_or_challenger }
religious_head_or_challenger ?= $CHARACTER$
}
trigger_else_if = {
limit = {
exists = rite.head_of_rite
rite.head_of_rite = { pam_is_clergy_ruler_trigger = yes }
}
rite.head_of_rite ?= $CHARACTER$
}
trigger_else = {
always = no
}
}As written in game/common/scripted_triggers/10_ach_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls coronation_anointment_authority_is_trigger.
Character interactions (1)
Activities (1)
Scripted triggers (1)
Source: game/common/scripted_triggers/10_ach_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.