CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted trigger

spiritual_hof_or_realm_priest_superior_recipient_trigger

spiritual_hof_or_realm_priest_superior_recipient_trigger = yes

game/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

• 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.

Spotted a mistake on this page?