Scripted trigger
is_kinslaying_crime_in_rite_trigger
is_kinslaying_crime_in_rite_trigger = { CHARACTER = … RITE = … }game/common/scripted_triggers/00_crime_triggers.txt, line 48 (20 lines). Parameters: $CHARACTER$, $RITE$.
is_kinslaying_crime_in_rite_trigger is a scripted trigger in Crusader Kings III, written at line 48 of its file. A call passes 2 parameters: CHARACTER and RITE. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_triggers/00_crime_triggers.txt.
What it checks
If
$RITE$ = { has_doctrine_parameter = kinslaying_any_dynasty_member_crime }
Then
One of these
is_close_or_extended_family_of = $CHARACTER$or
dynasty = $CHARACTER$.dynasty
Else if
$RITE$ = { has_doctrine_parameter = kinslaying_extended_family_crime }
Then
is_close_or_extended_family_of = $CHARACTER$
Else if
$RITE$ = { has_doctrine_parameter = kinslaying_close_kin_crime }
Then
is_close_family_of = $CHARACTER$
Otherwise
- Never
• 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 (20 lines of game script)
is_kinslaying_crime_in_rite_trigger = {
trigger_if = {
limit = { $RITE$ = { has_doctrine_parameter = kinslaying_any_dynasty_member_crime } }
OR = {
is_close_or_extended_family_of = $CHARACTER$
dynasty = $CHARACTER$.dynasty
}
}
trigger_else_if = {
limit = { $RITE$ = { has_doctrine_parameter = kinslaying_extended_family_crime } }
is_close_or_extended_family_of = $CHARACTER$
}
trigger_else_if = {
limit = { $RITE$ = { has_doctrine_parameter = kinslaying_close_kin_crime } }
is_close_family_of = $CHARACTER$
}
trigger_else = {
always = no
}
}As written in game/common/scripted_triggers/00_crime_triggers.txt.
Where it is used
No file of common/, events/ or history/ calls it.
Source: game/common/scripted_triggers/00_crime_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.