Scripted trigger · Coronations files
coronation_anointment_save_authority_trigger
coronation_anointment_save_authority_trigger = yesgame/common/scripted_triggers/10_ach_scripted_triggers.txt, line 70 (17 lines). No parameters.
coronation_anointment_save_authority_trigger is a scripted trigger in Crusader Kings III, in the Coronations files, written at line 70 of its file. It takes no parameters: coronation_anointment_save_authority_trigger = yes (or no). The game's script calls it in 2 places, among them Coronation (activity) and coronation_anointment_authority_available_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/10_ach_scripted_triggers.txt.
The comment above it in the file
We save coronation_anointment_authority silently because another tooltip trigger already reports it
What it checks
If
a check the game hides
Then
religious_head_or_challenger = { save_temporary_scope_as = coronation_anointment_authority }
Else if
rite.head_of_rite = { pam_is_clergy_ruler_trigger = yes }
Then
rite.head_of_rite = { save_temporary_scope_as = coronation_anointment_authority }
Otherwise
always = yes
• 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)
coronation_anointment_save_authority_trigger = {
trigger_if = {
limit = { exists = religious_head_or_challenger }
religious_head_or_challenger = { save_temporary_scope_as = coronation_anointment_authority }
}
trigger_else_if = {
limit = {
exists = rite.head_of_rite
rite.head_of_rite = { pam_is_clergy_ruler_trigger = yes }
}
rite.head_of_rite = { save_temporary_scope_as = coronation_anointment_authority }
}
trigger_else = {
# No authority: callers check scope:coronation_anointment_authority
always = yes
}
}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_save_authority_trigger.
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.