Scripted trigger
ai_only_check_stronger_same_faith_empire_exists_trigger
ai_only_check_stronger_same_faith_empire_exists_trigger = yesgame/common/scripted_triggers/00_empire_faith_gate_triggers.txt, line 169 (10 lines). No parameters.
ai_only_check_stronger_same_faith_empire_exists_trigger is a scripted trigger in Crusader Kings III, written at line 169 of its file. It takes no parameters: ai_only_check_stronger_same_faith_empire_exists_trigger = yes (or no). The game's script calls it in 1 place, among them rule_title_creation_imperial_power_projection_title_creation_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_empire_faith_gate_triggers.txt.
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 (10 lines of game script)
ai_only_check_stronger_same_faith_empire_exists_trigger = {
is_ai = yes
highest_held_title_tier < tier_empire
any_in_global_list = {
variable = efg_empire_holders
highest_held_title_tier >= tier_empire
faith = root.faith
current_military_strength > root.current_military_strength
}
}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 ai_only_check_stronger_same_faith_empire_exists_trigger.
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.