Scripted trigger
demand_divorce_spouse_heretic_trigger
demand_divorce_spouse_heretic_trigger = { RULER = … SPOUSE = … }game/common/scripted_triggers/00_religious_triggers.txt, line 2860 (6 lines). Parameters: $RULER$, $SPOUSE$.
demand_divorce_spouse_heretic_trigger is a scripted trigger in Crusader Kings III, written at line 2860 of its file. A call passes 2 parameters: RULER and SPOUSE. The game's script calls it in 2 places, among them Demand Divorce (interaction) and demand_divorce_marriage_offensive_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_religious_triggers.txt.
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (6 lines of game script)
demand_divorce_spouse_heretic_trigger = {
$RULER$.faith.religion = $SPOUSE$.faith.religion
$SPOUSE$ = {
faith != $RULER$.faith
}
}As written in game/common/scripted_triggers/00_religious_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls demand_divorce_spouse_heretic_trigger.
Character interactions (1)
Scripted triggers (1)
Source: game/common/scripted_triggers/00_religious_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.