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

Scripted trigger

can_create_head_of_faith_title_trigger

can_create_head_of_faith_title_trigger = { FAITH = … }

game/common/scripted_triggers/00_religious_triggers.txt, line 1556 (21 lines). Parameters: $FAITH$.

can_create_head_of_faith_title_trigger is a scripted trigger in Crusader Kings III, written at line 1556 of its file. A call passes 1 parameter: FAITH. The game's script calls it in 1 place, among them Establish a … (decision). Patch 1.20.1.2, from game/common/scripted_triggers/00_religious_triggers.txt.

The comment above it in the file

FAITH = The faith we are trying to make the head of faith title for
this = Person trying to create the title

What it checks

Every line of it is script with no tooltip text: the script is below.

The script as written (21 lines of game script)
can_create_head_of_faith_title_trigger = {
	$FAITH$ = {
		trigger_if = {
			limit = {
				has_doctrine_parameter = spiritual_head_of_faith
			}
			can_create_spiritual_head_of_faith_title_trigger = yes
		}
		trigger_else_if = {
			limit = {
				has_doctrine_parameter = temporal_head_of_faith
			}
			can_create_temporal_head_of_faith_title_trigger = yes
		}
		trigger_else = {
			# We shouldn't hit this point, but if we do use the following as error messages.
			has_doctrine_parameter = spiritual_head_of_faith
			has_doctrine_parameter = temporal_head_of_faith
		}
	}
}

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

Where it is used

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

Decisions (1)

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?