Scripted trigger
petition_liege_relation_favor_trigger
petition_liege_relation_favor_trigger = yesgame/common/scripted_triggers/00_activity_triggers.txt, line 506 (12 lines). No parameters.
petition_liege_relation_favor_trigger is a scripted trigger in Crusader Kings III, written at line 506 of its file. It takes no parameters: petition_liege_relation_favor_trigger = yes (or no). The game's script calls it in 4 places, among them Office Endorsement (event petition_liege.0121), Petition: Gold (event petition_liege.0101) and Petition: Rejected (event petition_liege.0209). Patch 1.20.1.2, from game/common/scripted_triggers/00_activity_triggers.txt.
The comment above it in the file
Character has some way to be placated by liege
What it checks
can_add_hook = { type = favor_hook target = scope:petition_liege }One of these
has_relation_friend = scope:petition_liegeor
has_relation_best_friend = scope:petition_liegeor
has_relation_lover = scope:petition_liegeor
has_relation_soulmate = scope:petition_liege
• 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 (12 lines of game script)
petition_liege_relation_favor_trigger = {
can_add_hook = {
type = favor_hook
target = scope:petition_liege
}
OR = {
has_relation_friend = scope:petition_liege
has_relation_best_friend = scope:petition_liege
has_relation_lover = scope:petition_liege
has_relation_soulmate = scope:petition_liege
}
}As written in game/common/scripted_triggers/00_activity_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls petition_liege_relation_favor_trigger.
Events (4)
- Office Endorsement
petition_liege.0121 - Petition: Gold
petition_liege.0101 - Petition: Rejected
petition_liege.0209 - Petition: Rejected
petition_liege.0229
Source: game/common/scripted_triggers/00_activity_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.