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.
Events (13)
- A Fortuitous Stroll
tournament_events.9003 - A Secret Exposed!
secrets.0108 - A Secret Exposed!
secrets.0110 - A Secret Exposed!
secrets.0112 - Another Man's …
secrets.0500 - Blooming Friendship
diplomacy_foreign.1103
7 more
- Blooming Friendship
diplomacy_foreign.1104 - Forbidden Love
yearly.0003 - Moonlit Confessions
travel_events_oltner_2.1180 - My Secret Exposed!
secrets.0008 - The Jealous …
diplomacy_family.2250 - The Jealous …
diplomacy_family.2253 - Unfaithful
infidelity_confrontation.1000
Scripted triggers inside an event file (1)
- 8000_valid_to_offer_favor
Scripted effects (1)
Scripted triggers (9)
- bastard_secret_is_shunned
- pam_reaffirm_doctrine_consanguinity_accept_trigger
- pam_reaffirm_doctrine_consanguinity_decline_trigger
- relation_with_character_is_incestuous_in_my_faith_trigger
- relation_with_character_is_incestuous_in_my_or_lieges_rite_trigger
- relation_with_character_is_incestuous_in_my_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.