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

Scripted trigger

relation_with_character_is_incestuous_in_rite_trigger

relation_with_character_is_incestuous_in_rite_trigger = { CHARACTER = … RITE = … }

game/common/scripted_triggers/00_religious_triggers.txt, line 260 (30 lines). Parameters: $CHARACTER$, $RITE$.

relation_with_character_is_incestuous_in_rite_trigger is a scripted trigger in Crusader Kings III, written at line 260 of its file. A call passes 2 parameters: CHARACTER and RITE. The game's script calls it in 24 places, among them A Fortuitous Stroll (event tournament_events.9003), A Secret Exposed! (event secrets.0108) and A Secret Exposed! (event secrets.0110). Patch 1.20.1.2, from game/common/scripted_triggers/00_religious_triggers.txt.

The comment above it in the file

Needs CHARACTER and RITE

What it checks

  • One of these

    • All of these

      • $RITE$ = { rite_has_parameter = consanguinity_restricted_dynastic_marriage }
      • Not: Is Lowborn
      • $CHARACTER$.dynasty ?= dynasty
    • or

      All of these

      • $RITE$ = { rite_has_parameter = consanguinity_restricted_close_kin_incest }
      • is_close_or_extended_family_of = $CHARACTER$
    • or

      All of these

      • $RITE$ = { rite_has_parameter = consanguinity_cousins_marriage }
      • One of these

        • is_close_family_of = $CHARACTER$
        • or

          is_uncle_or_aunt_of = $CHARACTER$
        • or

          is_nibling_of = $CHARACTER$
    • or

      All of these

      • $RITE$ = { rite_has_parameter = consanguinity_aunt_nephew_and_uncle_niece_marriage }
      • is_close_family_of = $CHARACTER$

• 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 (30 lines of game script)
relation_with_character_is_incestuous_in_rite_trigger = {
	OR = {
		# doctrine_consanguinity_dynastic; not within the same descent group
		AND = {
			$RITE$ = { rite_has_parameter = consanguinity_restricted_dynastic_marriage }
			is_lowborn = no
			$CHARACTER$.dynasty ?= dynasty
		}
		#doctrine_consanguinity_restricted; absolutely no family business
		AND = {
			$RITE$ = { rite_has_parameter = consanguinity_restricted_close_kin_incest }
			is_close_or_extended_family_of = $CHARACTER$ #[parents, children, siblings, grandparents, grandchildren, cousins, uncles, aunts, nephews, nieces]
		}
		#doctrine_consanguinity_cousins; the only acceptable incest is with your cousin
		AND = {
			$RITE$ = { rite_has_parameter = consanguinity_cousins_marriage }
			OR = {
	            is_close_family_of = $CHARACTER$ #[parents, children, siblings, grandparents, grandchildren]
	            is_uncle_or_aunt_of = $CHARACTER$
	            is_nibling_of = $CHARACTER$
	        }
		}
		#doctrine_consanguinity_aunt_nephew_and_uncle_niece; extended family is ok
		AND = {
			$RITE$ = { rite_has_parameter = consanguinity_aunt_nephew_and_uncle_niece_marriage }
			is_close_family_of = $CHARACTER$
		}
		#doctrine_consanguinity_unrestricted; all forms of incest is acceptable
	}
}

As written in game/common/scripted_triggers/00_religious_triggers.txt.

Where it is used

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

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.

Spotted a mistake on this page?