Scripted trigger
efg_same_faith_empire_holder_trigger
efg_same_faith_empire_holder_trigger = yesgame/common/scripted_triggers/00_empire_faith_gate_triggers.txt, line 181 (15 lines). No parameters.
efg_same_faith_empire_holder_trigger is a scripted trigger in Crusader Kings III, written at line 181 of its file. It takes no parameters: efg_same_faith_empire_holder_trigger = yes (or no). The game's script calls it in 4 places, among them empire_faith_gate.0001 (event), The True Emperor (event empire_faith_gate.0002) and yearly_global_pulse (on action). Patch 1.20.1.2, from game/common/scripted_triggers/00_empire_faith_gate_triggers.txt.
The comment above it in the file
Yearly pulse/list scans: root = list member, scope:efg_ruler = reference ruler
What it checks
- Highest held Title is exactly Empire Rank
- Is an Independent Ruler
government_subject_to_faith_empire_trigger = yesfaith_allows_empire_trigger = yesNone of these
- Any in global list:
- Is an Independent Ruler
- Highest held Title is at least Hegemony Rank
- Their faith is the same as that of efg ruler
- Any in global list:
- Their faith is the same as that of efg ruler
• 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 (15 lines of game script)
efg_same_faith_empire_holder_trigger = {
highest_held_title_tier = tier_empire
is_independent_ruler = yes
government_subject_to_faith_empire_trigger = yes
faith_allows_empire_trigger = yes
NOT = {
any_in_global_list = {
variable = efg_empire_holders
is_independent_ruler = yes
highest_held_title_tier >= tier_hegemony
faith = scope:efg_ruler.faith
}
}
faith = scope:efg_ruler.faith
}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_same_faith_empire_holder_trigger.
Events (2)
- empire_faith_gate.0001
- The True Emperor
empire_faith_gate.0002
On actions (the game's own hooks) (1)
- yearly_global_pulse
Scripted effects (1)
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.