Scripted trigger
should_have_same_faith_succession_trigger
should_have_same_faith_succession_trigger = yesgame/common/scripted_triggers/00_cultural_triggers.txt, line 194 (10 lines). No parameters.
should_have_same_faith_succession_trigger is a scripted trigger in Crusader Kings III, written at line 194 of its file. It takes no parameters: should_have_same_faith_succession_trigger = yes (or no). The game's script calls it in 3 places, among them Same Faith (law), on_character_culture_change (on action) and on_tradition_added (on action). Patch 1.20.1.2, from game/common/scripted_triggers/00_cultural_triggers.txt.
What it checks
- Their culture: The Culture has the Only characters of the same Faith can inherit Tradition
- Their government is not a Theocratic-type Government
- Their government is not unplayable
• 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)
should_have_same_faith_succession_trigger = {
culture = {
has_cultural_parameter = same_faith_inheritance_only
}
NOR = {
government_has_flag = government_is_theocracy # Handled separately
government_has_flag = government_is_holy_order # Handled separately
government_has_flag = government_is_mercenary # Irrelevant
}
}As written in game/common/scripted_triggers/00_cultural_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls should_have_same_faith_succession_trigger.
Laws (1)
On actions (the game's own hooks) (2)
- on_character_culture_change
- on_tradition_added
Source: game/common/scripted_triggers/00_cultural_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.