Scripted trigger
is_same_faith_or_culture_trigger
is_same_faith_or_culture_trigger = { CHAR = … STATUS = … }game/common/scripted_triggers/00_generic_struggle_scripted_triggers.txt, line 89 (8 lines). Parameters: $CHAR$, $STATUS$.
is_same_faith_or_culture_trigger is a scripted trigger in Crusader Kings III, written at line 89 of its file. A call passes 2 parameters: CHAR and STATUS. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/00_generic_struggle_scripted_triggers.txt.
What it checks
One of these
culture = $CHAR$.cultureor
faith = $CHAR$.faith
$CHAR$ = { … }
• 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 (8 lines of game script)
is_same_faith_or_culture_trigger = {
OR = {
culture = $CHAR$.culture
faith = $CHAR$.faith
}
$CHAR$ = { any_character_struggle = { involvement = $STATUS$ } }
# Removed the check for what struggle it is
}As written in game/common/scripted_triggers/00_generic_struggle_scripted_triggers.txt.
Where it is used
No file of common/, events/ or history/ calls it.
Source: game/common/scripted_triggers/00_generic_struggle_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.