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

Scripted trigger

faith_holy_site_kingdom_unused_trigger

faith_holy_site_kingdom_unused_trigger = { BARONY = … }

game/common/scripted_triggers/00_religious_triggers.txt, line 2026 (14 lines). Parameters: $BARONY$.

faith_holy_site_kingdom_unused_trigger is a scripted trigger in Crusader Kings III, written at line 2026 of its file. A call passes 1 parameter: BARONY. The game's script calls it in 4 places, among them Adopt Holy Site (decision), Can Found a Holy Site (important action) and record_dynamic_holy_site_kingdom_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/00_religious_triggers.txt.

The comment above it in the file

BARONY = the candidate holy site's barony title, in faith scope
One created or adopted holy site per de jure kingdom

What it checks

  • If

    a check the game hides

    Then

    • NOT = { is_target_in_variable_list = { name = dynamic_holy_site_kingdoms target = $BARONY$.kingdom } }

• 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 (14 lines of game script)
faith_holy_site_kingdom_unused_trigger = {
	trigger_if = {
		limit = {
			has_variable_list = dynamic_holy_site_kingdoms
			exists = $BARONY$.kingdom
		}
		NOT = {
			is_target_in_variable_list = {
				name = dynamic_holy_site_kingdoms
				target = $BARONY$.kingdom
			}
		}
	}
}

As written in game/common/scripted_triggers/00_religious_triggers.txt.

Where it is used

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

Decisions (1)

Important actions (1)

  • Can Found a Holy Site

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?