Scripted trigger
efg_faith_has_hof_trigger
efg_faith_has_hof_trigger = yesgame/common/scripted_triggers/00_empire_faith_gate_triggers.txt, line 14 (12 lines). No parameters.
efg_faith_has_hof_trigger is a scripted trigger in Crusader Kings III, written at line 14 of its file. It takes no parameters: efg_faith_has_hof_trigger = yes (or no). The game's script calls it in 1 place, among them empire_faith_gate_vassals_check (gui). Patch 1.20.1.2, from game/common/scripted_triggers/00_empire_faith_gate_triggers.txt.
The comment above it in the file
Yes when the faith has a spiritual or temporal head and that head is alive
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 (12 lines of game script)
efg_faith_has_hof_trigger = {
OR = {
AND = {
faith = { has_doctrine = doctrine_spiritual_head }
exists = faith.religious_head
}
AND = {
faith = { has_doctrine = doctrine_temporal_head }
exists = faith.religious_head
}
}
}As written in game/common/scripted_triggers/00_empire_faith_gate_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls efg_faith_has_hof_trigger.
Buttons of the game's windows (scripted GUIs) (1)
- empire_faith_gate_vassals_check
Source: game/common/scripted_triggers/00_empire_faith_gate_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.