Scripted trigger
hunt_potential_murder_risk_trigger
hunt_potential_murder_risk_trigger = yesgame/common/scripted_triggers/00_hunt_triggers.txt, line 777 (56 lines). No parameters.
hunt_potential_murder_risk_trigger is a scripted trigger in Crusader Kings III, written at line 777 of its file. It takes no parameters: hunt_potential_murder_risk_trigger = yes (or no). The game's script calls it in 1 place, among them Not Quite Alone (event hunt.1080). Patch 1.20.1.2, from game/common/scripted_triggers/00_hunt_triggers.txt.
What it checks
- Is an Adult
NOT = { has_any_good_relationship_with_character_trigger = { CHARACTER = root } }One of these
has_relation_rival = rootor
house_has_feud_relation_with_trigger = { TARGET = root }or
or
All of these
exists = var:hunt_murder_attempt- Hunt murder attempt is root
can_start_scheme = { type = murder target_character = root }If
One of these
is_close_family_of = rootor
is_consort_of = root
Then
One of these
has_relation_rival = rootor
Does not have the Trait: Compassionateor
Does not have the Trait: Just
- Opinion of them at most -25
• 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 (56 lines of game script)
hunt_potential_murder_risk_trigger = {
is_adult = yes
NOT = {
has_any_good_relationship_with_character_trigger = { CHARACTER = root }
}
OR = {
# Rival
has_relation_rival = root
# Feud
house_has_feud_relation_with_trigger = { TARGET = root }
# Heir
AND = {
this = root.player_heir
NOT = {
has_any_good_relationship_with_character_trigger = { CHARACTER = root.player_heir }
}
opinion = {
target = root
value <= 20
}
NOR = {
has_trait = craven
has_trait = honest
has_trait = content
}
}
AND = {
exists = var:hunt_murder_attempt
var:hunt_murder_attempt = root
}
}
can_start_scheme = {
type = murder
target_character = root
}
trigger_if = {
limit = {
OR = {
is_close_family_of = root
is_consort_of = root
}
}
OR = {
has_relation_rival = root
NOR = {
has_trait = compassionate
has_trait = just
}
}
}
opinion = {
target = root
value <= -25
}
}As written in game/common/scripted_triggers/00_hunt_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls hunt_potential_murder_risk_trigger.
Events (1)
- Not Quite Alone
hunt.1080
Source: game/common/scripted_triggers/00_hunt_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.