Scripted trigger
ai_will_give_favor_trigger
ai_will_give_favor_trigger = { CHAR1 = … CHAR2 = … }game/common/scripted_triggers/00_ai_acceptance_triggers.txt, line 6 (13 lines). Parameters: $CHAR1$, $CHAR2$.
ai_will_give_favor_trigger is a scripted trigger in Crusader Kings III, written at line 6 of its file. A call passes 2 parameters: CHAR1 and CHAR2. The game's script calls it in 1 place, among them Information Brokering (event intrigue_scheming.4050). Patch 1.20.1.2, from game/common/scripted_triggers/00_ai_acceptance_triggers.txt.
The comment above it in the file
CHAR1 is the character who will be giving the favor, CHAR2 is the character who will be receiving it(i.e., CHAR2 is the one that gets to call in the favor).
What it checks
Every line of it is script with no tooltip text: the script is below.
The script as written (13 lines of game script)
ai_will_give_favor_trigger = {
$CHAR1$ = {
NOR = {
has_relation_rival = $CHAR2$
opinion = {
value <= -25
target = $CHAR2$
}
is_scheming_against = { target = $CHAR2$ type = murder }
}
}
}As written in game/common/scripted_triggers/00_ai_acceptance_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls ai_will_give_favor_trigger.
Events (1)
- Information Brokering
intrigue_scheming.4050
Source: game/common/scripted_triggers/00_ai_acceptance_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.