Scripted trigger
secret_murder_is_trivial_trigger
secret_murder_is_trivial_trigger = { OWNER = … TARGET = … }game/common/scripted_triggers/00_secret_type_triggers.txt, line 257 (36 lines). Parameters: $OWNER$, $TARGET$.
secret_murder_is_trivial_trigger is a scripted trigger in Crusader Kings III, written at line 257 of its file. A call passes 2 parameters: OWNER and TARGET. The game's script calls it in 2 places, among them secret_murder_is_criminal_trigger (scripted trigger) and secret_murder_is_shunned_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/00_secret_type_triggers.txt.
The comment above it in the file
SECRET MURDER
What it checks
$OWNER$ = { highest_held_title_tier >= tier_county }One of these
$OWNER$ = { top_liege = this }or
$TARGET$ = { … }
• 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 (36 lines of game script)
secret_murder_is_trivial_trigger = {
#Is the murderer important enough to get away with it?
$OWNER$ = { highest_held_title_tier >= tier_county }
#Is it a murder that people might care about?
OR = {
#Independent rulers have little fear in terms of legal consequences for their actions.
$OWNER$ = { top_liege = this }
#Otherwise, certain victims are just not worth a strong hook.
$TARGET$ = {
NOR = {
#If landless or a baron, must have no important landed family.
AND = {
OR = {
is_ruler = no
highest_held_title_tier = tier_barony
}
any_close_or_extended_family_member = { highest_held_title_tier >= $OWNER$.primary_title.tier }
}
#Otherwise, characters who are two tiers lower than you arguably aren't nearly as much of a concern (again, providing they lack important family).
AND = {
tier_difference = {
target = $OWNER$
value >= -1
}
#Be a bit harsher with this, as these characters are the most likely to be relatives of the $OWNER$'s piers.
any_close_or_extended_family_member = {
tier_difference = {
target = $OWNER$
value >= -1
}
}
}
}
}
}
}As written in game/common/scripted_triggers/00_secret_type_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls secret_murder_is_trivial_trigger.
Scripted triggers (2)
Source: game/common/scripted_triggers/00_secret_type_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.