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

Scripted trigger · By God Alone files

can_manage_faith_holy_sites_without_hof_trigger

can_manage_faith_holy_sites_without_hof_trigger = yes

game/common/scripted_triggers/pam_scripted_triggers.txt, line 1378 (20 lines). No parameters.

can_manage_faith_holy_sites_without_hof_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 1378 of its file. It takes no parameters: can_manage_faith_holy_sites_without_hof_trigger = yes (or no). The game's script calls it in 1 place, among them can_manage_faith_holy_sites_trigger (scripted trigger). Its body carries 2 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

The comment above it in the file

Substitute authority for a faith with no head of faith: a realm priest puppet plus piety standing.

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 (20 lines of game script)
can_manage_faith_holy_sites_without_hof_trigger = {
	OR = {
		custom_tooltip = {
			text = manage_holy_sites_realm_priest_puppet_tt
			# puppet: errors on non-playable characters, so we only check playable ones and tooltips never run it
			trigger_if = {
				limit = { is_playable_character = yes }
				exists = puppet:theological_agent_puppet
			}
			trigger_else = {
				always = no
			}
		}
		government_has_flag = government_is_theocracy
	}
	custom_tooltip = {
		text = manage_holy_sites_piety_level_tt
		piety_level >= 4
	}
}

As written in game/common/scripted_triggers/pam_scripted_triggers.txt.

Where it is used

Every place in common/, events/ and history/ that calls can_manage_faith_holy_sites_without_hof_trigger.

Source: game/common/scripted_triggers/pam_scripted_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?