Scripted trigger
faith_has_existing_empire_holder_trigger
faith_has_existing_empire_holder_trigger = yesgame/common/scripted_triggers/00_empire_faith_gate_triggers.txt, line 57 (22 lines). No parameters.
faith_has_existing_empire_holder_trigger is a scripted trigger in Crusader Kings III, written at line 57 of its file. It takes no parameters: faith_has_existing_empire_holder_trigger = yes (or no). The game's script calls it in 10 places, among them Excommunicate (interaction), Request Excommunication (interaction) and Dissolve Empire (casus belli). Patch 1.20.1.2, from game/common/scripted_triggers/00_empire_faith_gate_triggers.txt.
The comment above it in the file
We use efg_empire_holders instead of a world scan
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
faith = prev.faith
- Any in global list:
- Any in global list:
- Is an Independent Ruler
- Highest held Title is exactly Empire Rank
government_subject_to_faith_empire_trigger = yesfaith = prev.faith
• 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 (22 lines of game script)
faith_has_existing_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 = prev.faith
}
}
any_in_global_list = {
variable = efg_empire_holders
NOT = { this = prev }
is_independent_ruler = yes
highest_held_title_tier = tier_empire
government_subject_to_faith_empire_trigger = yes
faith = prev.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 faith_has_existing_empire_holder_trigger.
Character interactions (2)
Casus belli (1)
Important actions (1)
- There are too many empires of your faith
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 (2)
Scripted triggers (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.