Scripted trigger
hof_or_realm_priest_superior_actor_trigger
hof_or_realm_priest_superior_actor_trigger = yesgame/common/scripted_triggers/00_religious_triggers.txt, line 3499 (40 lines). No parameters.
hof_or_realm_priest_superior_actor_trigger is a scripted trigger in Crusader Kings III, written at line 3499 of its file. It takes no parameters: hof_or_realm_priest_superior_actor_trigger = yes (or no). No file of common/, events/ or history/ calls it. Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/00_religious_triggers.txt.
What it checks
If
None of these
exists = faith.religious_headexists = cp:councillor_court_chaplain.superiorAll of these
- Government is a Theocratic-type Government
exists = superior
Then
- … must be your Court Chaplain and a Theocratic Ruler of at least Duke-Tier
Otherwise
- … must be your Court Chaplain's Religious Superior, your Head of Faith, or your Religious Superior (if you are Ecclesiastical)
• 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 (40 lines of game script)
hof_or_realm_priest_superior_actor_trigger = {
#If there are no superiors (867), just their own bishop is fine...
trigger_if = {
limit = {
NOR = {
exists = faith.religious_head
exists = cp:councillor_court_chaplain.superior
AND = {
government_has_flag = government_is_theocracy
exists = superior
}
}
}
custom_tooltip = {
text = duke_plus_court_chaplain_tt
cp:councillor_court_chaplain ?= {
highest_held_title_tier >= tier_duchy
government_has_flag = government_is_theocracy
}
}
}
trigger_else = {
custom_tooltip = {
text = superior_or_hof_tt
OR = {
faith = {
religious_head ?= scope:recipient
}
cp:councillor_court_chaplain ?= {
superior ?= scope:recipient
}
AND = {
government_has_flag = government_is_theocracy
superior ?= scope:recipient
}
}
}
}
}As written in game/common/scripted_triggers/00_religious_triggers.txt.
Where it is used
No file of common/, events/ or history/ calls it.
Source: game/common/scripted_triggers/00_religious_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.