Scripted trigger
suitable_faith_for_undirected_ghw_trigger
suitable_faith_for_undirected_ghw_trigger = yesgame/common/scripted_triggers/00_great_holy_war_triggers.txt, line 26 (11 lines). No parameters.
suitable_faith_for_undirected_ghw_trigger is a scripted trigger in Crusader Kings III, written at line 26 of its file. It takes no parameters: suitable_faith_for_undirected_ghw_trigger = yes (or no). The game's script calls it in 1 place, among them great_holy_war.0001 (event). Patch 1.20.1.2, from game/common/scripted_triggers/00_great_holy_war_triggers.txt.
What it checks
faith_has_undirected_ghw_doctrines_trigger = yessave_temporary_scope_value_as = { name = faith_strength value = faith_military_strength }- Any kingdom:
valid_ghw_target_trigger = { FAITH = scope: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 (11 lines of game script)
suitable_faith_for_undirected_ghw_trigger = {
faith_has_undirected_ghw_doctrines_trigger = yes
save_temporary_scope_value_as = {
name = faith_strength
value = faith_military_strength
}
save_temporary_scope_as = faith
any_kingdom = {
valid_ghw_target_trigger = { FAITH = scope:faith }
}
}As written in game/common/scripted_triggers/00_great_holy_war_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls suitable_faith_for_undirected_ghw_trigger.
Events (1)
Source: game/common/scripted_triggers/00_great_holy_war_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.