Scripted trigger
available_lover_to_sacrifice_in_murder_trigger
available_lover_to_sacrifice_in_murder_trigger = { TARGET = … }game/common/scripted_triggers/00_scheme_triggers.txt, line 561 (14 lines). Parameters: $TARGET$.
available_lover_to_sacrifice_in_murder_trigger is a scripted trigger in Crusader Kings III, written at line 561 of its file. A call passes 1 parameter: TARGET. The game's script calls it in 3 places, among them Murder Intercepter: Foiled by Love (event murder_save.0001), Murder Intercepter: Love … (event murder_save.0002) and scheme_unique_interception_roll_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_triggers/00_scheme_triggers.txt.
The comment above it in the file
Could & would this lover of $TARGET$
What it checks
- Is not a ruler
is_available_ai_adult = yes- Does not have the Trait: Disloyal
• 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 (14 lines of game script)
available_lover_to_sacrifice_in_murder_trigger = {
is_ruler = no
is_available_ai_adult = yes
# Filter out lovers that don't actually like you at all.
NOT = { has_trait = disloyal }
OR = {
has_trait = loyal
opinion = {
target = $TARGET$
# And frankly this is being generous.
value >= 1
}
}
}As written in game/common/scripted_triggers/00_scheme_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls available_lover_to_sacrifice_in_murder_trigger.
Events (2)
- Murder Intercepter: Foiled by Love
murder_save.0001 - Murder Intercepter: Love …
murder_save.0002
Scripted effects (1)
Source: game/common/scripted_triggers/00_scheme_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.