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_trigger

can_create_faith_holy_site_trigger = { BARONY = … }

game/common/scripted_triggers/pam_scripted_triggers.txt, line 1419 (11 lines). Parameters: $BARONY$.

can_create_faith_holy_site_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 1419 of its file. A call passes 1 parameter: BARONY. The game's script calls it in 2 places, among them Can Found a Holy Site (important action) and can_create_dynamic_holy_site (scripted rules). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_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 (11 lines of game script)
can_create_faith_holy_site_trigger = {
	can_create_faith_holy_site_authority_trigger = yes
	trigger_if = {
		limit = { can_manage_faith_holy_sites_trigger = no }
		save_temporary_scope_as = holy_site_creator
		$BARONY$.holder ?= {
			target_is_same_character_or_above = scope:holy_site_creator
		}
		$BARONY$.county.holder.faith ?= faith
	}
}

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

Important actions (1)

  • Can Found a Holy Site

Scripted rules (1)

  • can_create_dynamic_holy_site

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?