Scripted trigger
should_avoid_hostile_action_against_due_to_liege_relations_trigger
should_avoid_hostile_action_against_due_to_liege_relations_trigger = { ACTOR = … RECIPIENT = … }game/common/scripted_triggers/00_interaction_triggers.txt, line 425 (14 lines). Parameters: $ACTOR$, $RECIPIENT$.
should_avoid_hostile_action_against_due_to_liege_relations_trigger is a scripted trigger in Crusader Kings III, written at line 425 of its file. A call passes 2 parameters: ACTOR and RECIPIENT. The game's script calls it in 7 places, among them … Imprison (interaction), … Retract Vassal (interaction) and … Revoke Title (interaction). Patch 1.20.1.2, from game/common/scripted_triggers/00_interaction_triggers.txt.
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (14 lines of game script)
should_avoid_hostile_action_against_due_to_liege_relations_trigger = {
$ACTOR$ = {
liege ?= {
OR = {
has_any_good_relationship_with_character_trigger = { CHARACTER = $RECIPIENT$ }
is_allied_to = $RECIPIENT$
opinion = {
target = $RECIPIENT$
value >= very_high_positive_opinion
}
}
}
}
}As written in game/common/scripted_triggers/00_interaction_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls should_avoid_hostile_action_against_due_to_liege_relations_trigger.
Character interactions (6)
Events (1)
Source: game/common/scripted_triggers/00_interaction_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.