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_has_free_holy_site_action_trigger

faith_has_free_holy_site_action_trigger = yes

game/common/scripted_triggers/00_religious_triggers.txt, line 2014 (9 lines). No parameters.

faith_has_free_holy_site_action_trigger is a scripted trigger in Crusader Kings III, written at line 2014 of its file. It takes no parameters: faith_has_free_holy_site_action_trigger = yes (or no). The game's script calls it in 11 places, among them Abandon Holy Site (decision), Adopt Holy Site (decision) and Demote Holy Site (decision). Patch 1.20.1.2, from game/common/scripted_triggers/00_religious_triggers.txt.

The comment above it in the file

Faith is the scope here

What it checks

  • If has “free holy site actions” (a variable the game's script sets): Free holy site actions at least 1
  • Otherwise: Never

• 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 (9 lines of game script)
faith_has_free_holy_site_action_trigger = {
	trigger_if = {
		limit = { has_variable = free_holy_site_actions }
		var:free_holy_site_actions >= 1
	}
	trigger_else = {
		always = no
	}
}

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

Events (2)

On actions (the game's own hooks) (1)

  • on_character_holy_site_created

Script values (1)

  • holy_site_decision_cooldown_value

Scripted costs (1)

  • create_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?