Scripted trigger
demand_divorce_marriage_polygamous_trigger
demand_divorce_marriage_polygamous_trigger = { RULER = … SPOUSE = … }game/common/scripted_triggers/00_religious_triggers.txt, line 2880 (13 lines). Parameters: $RULER$, $SPOUSE$.
demand_divorce_marriage_polygamous_trigger is a scripted trigger in Crusader Kings III, written at line 2880 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 (13 lines of game script)
demand_divorce_marriage_polygamous_trigger = {
$RULER$ = {
any_consort = {
is_alive = yes
this != $SPOUSE$
}
any_consort = {
this = $SPOUSE$
}
}
$SPOUSE$.culture = { NOT = { has_cultural_tradition = tradition_polygamous } }
$SPOUSE$.rite = { NOT = { rite_has_doctrine = doctrine_polygamy } }
}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_marriage_polygamous_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.