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_create_faith_holy_site_authority_trigger

can_create_faith_holy_site_authority_trigger = yes

game/common/scripted_triggers/pam_scripted_triggers.txt, line 1400 (18 lines). No parameters.

can_create_faith_holy_site_authority_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 1400 of its file. It takes no parameters: can_create_faith_holy_site_authority_trigger = yes (or no). The game's script calls it in 2 places, among them pam_can_create_holy_site_gui (gui) and can_create_faith_holy_site_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

The comment above it in the file

Location-independent standing to create holy sites; also gates the Create Holy Site button

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 (18 lines of game script)
can_create_faith_holy_site_authority_trigger = {
	OR = {
		can_manage_faith_holy_sites_trigger = yes
		AND = {
			is_independent_ruler = yes
			highest_held_title_tier >= tier_kingdom
			piety_level >= 4
			save_temporary_scope_as = holy_site_creator
			exists = faith.religious_head
			faith.religious_head = {
				opinion = {
					target = scope:holy_site_creator
					value > 0
				}
			}
		}
	}
}

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

Buttons of the game's windows (scripted GUIs) (1)

  • pam_can_create_holy_site_gui

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?