Scripted trigger · Coronations files
is_important_hof_trigger
is_important_hof_trigger = yesgame/common/scripted_triggers/10_ach_scripted_triggers.txt, line 138 (23 lines). No parameters.
is_important_hof_trigger is a scripted trigger in Crusader Kings III, in the Coronations files, written at line 138 of its file. It takes no parameters: is_important_hof_trigger = yes (or no). The game's script calls it in 1 place, among them Arrival (event ach_coronation.0001). Patch 1.20.1.2, from game/common/scripted_triggers/10_ach_scripted_triggers.txt.
What it checks
- Their rite: Does not have the Theocratic Doctrine
- Government is a Theocratic-type Government
One of these
All of these
- Their faith is the same as that of host
- Any held title: Is the Head of Faith
or
All of these
scope:host.involved_activity:has_activity_option = { category = special_type option = coronation_type_anointment }
scope:host:coronation_anointment_authority_is_trigger = { CHARACTER = root }
• 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 (23 lines of game script)
is_important_hof_trigger = {
# The HoF actually matters
rite = { NOT = { rite_has_doctrine = doctrine_theocracy_temporal } }
government_has_flag = government_is_theocracy
OR = {
AND = {
# Preserve the ordinary-coronation Head of Faith behavior
faith = scope:host.faith
any_held_title = { is_head_of_faith = yes }
}
AND = {
scope:host.involved_activity ?= {
has_activity_option = {
category = special_type
option = coronation_type_anointment
}
}
scope:host = {
coronation_anointment_authority_is_trigger = { CHARACTER = root }
}
}
}
}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 is_important_hof_trigger.
Events (1)
- Arrival
ach_coronation.0001
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.