CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted trigger · By God Alone files

amicable_infertile_divorce_trigger

amicable_infertile_divorce_trigger = { DIVORCEE = … }

game/common/scripted_triggers/pam_scripted_triggers.txt, line 3800 (6 lines). Parameters: $DIVORCEE$.

amicable_infertile_divorce_trigger is a scripted trigger in Crusader Kings III, in the By God Alone files, written at line 3800 of its file. A call passes 1 parameter: DIVORCEE. The game's script calls it in 1 place, among them divorce_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/pam_scripted_triggers.txt.

What it checks

  • Their rite: The rite has Can always divorce a spouse of low Fertility
  • $DIVORCEE$ = { fertility < 0.1 }

• 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 (6 lines of game script)
amicable_infertile_divorce_trigger = {
	rite = { rite_has_parameter = tenet_be_fruitful_and_multiply_low_fertility_divorce }
	$DIVORCEE$ = {
		fertility < 0.1
	}
}

As written in game/common/scripted_triggers/pam_scripted_triggers.txt.

Where it is used

Every place in common/, events/ and history/ that calls amicable_infertile_divorce_trigger.

Scripted effects (1)

Source: game/common/scripted_triggers/pam_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.

Spotted a mistake on this page?