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

Scripted trigger

hof_or_realm_priest_superior_actor_trigger

hof_or_realm_priest_superior_actor_trigger = yes

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

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

Spotted a mistake on this page?