Scripted trigger
spiritual_hof_or_realm_priest_superior_recipient_trigger
spiritual_hof_or_realm_priest_superior_recipient_trigger = yesgame/common/scripted_triggers/00_religious_triggers.txt, line 3298 (52 lines). No parameters.
spiritual_hof_or_realm_priest_superior_recipient_trigger is a scripted trigger in Crusader Kings III, written at line 3298 of its file. It takes no parameters: spiritual_hof_or_realm_priest_superior_recipient_trigger = yes (or no). The game's script calls it in 2 places, among them Ask for Clerical Influence (interaction) and Ask for Gold (interaction). 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 = 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 Theocratic 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 (52 lines of game script)
spiritual_hof_or_realm_priest_superior_recipient_trigger = {
#If there are no superiors (867), just their own bishop is fine...
trigger_if = {
limit = {
NOR = {
AND = {
religious_head_or_challenger ?= scope:recipient
faith = {
has_doctrine = doctrine_spiritual_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_spiritual_hof_tt
OR = {
AND = {
religious_head_or_challenger = scope:recipient
faith = {
has_doctrine = doctrine_spiritual_head
}
}
cp:councillor_court_chaplain ?= {
superior ?= scope:recipient
}
AND = {
government_has_flag = government_is_theocracy
superior ?= scope:recipient
}
AND = {
cp:councillor_court_chaplain ?= scope:recipient
capital_county.clerical_region_title.holder ?= scope:recipient
}
}
}
}
}As written in game/common/scripted_triggers/00_religious_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls spiritual_hof_or_realm_priest_superior_recipient_trigger.
Character interactions (2)
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.