Scripted trigger
petition_liege_dislikes_trigger
petition_liege_dislikes_trigger = { COMPARE = … }game/common/scripted_triggers/00_activity_triggers.txt, line 368 (11 lines). Parameters: $COMPARE$.
petition_liege_dislikes_trigger is a scripted trigger in Crusader Kings III, written at line 368 of its file. A call passes 1 parameter: COMPARE. The game's script calls it in 2 places, among them Office Endorsement (event petition_liege.0121) and Petition: Gold (event petition_liege.0101). Patch 1.20.1.2, from game/common/scripted_triggers/00_activity_triggers.txt.
What it checks
One of these
has_relation_rival = $COMPARE$or
has_relation_nemesis = $COMPARE$or
Opinion of $COMPARE$ at most -50
• 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 (11 lines of game script)
petition_liege_dislikes_trigger = {
exists = $COMPARE$
OR = {
has_relation_rival = $COMPARE$
has_relation_nemesis = $COMPARE$
opinion = {
target = $COMPARE$
value <= -50
}
}
}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_dislikes_trigger.
Events (2)
- Office Endorsement
petition_liege.0121 - Petition: Gold
petition_liege.0101
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.