Scripted trigger
faith_has_free_holy_site_action_trigger
faith_has_free_holy_site_action_trigger = yesgame/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)
- A Faith of Our Own
faith_creation.1002 - The … Reformation
faith_creation.1001
On actions (the game's own hooks) (1)
- on_character_holy_site_created
Scripted effects (1)
Scripted triggers (1)
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.