Scripted trigger
has_any_petty_revenge_opinion_against_character_trigger
has_any_petty_revenge_opinion_against_character_trigger = { CHARACTER = … }game/common/scripted_triggers/00_opinion_scripted_triggers.txt, line 323 (20 lines). Parameters: $CHARACTER$.
has_any_petty_revenge_opinion_against_character_trigger is a scripted trigger in Crusader Kings III, written at line 323 of its file. A call passes 1 parameter: CHARACTER. The game's script calls it in 2 places, among them … Imprison (interaction) and Whispered Words (event bp2_yearly.0631). Patch 1.20.1.2, from game/common/scripted_triggers/00_opinion_scripted_triggers.txt.
The comment above it in the file
Did this character do something irksome to me or my family?
What it checks
One of these
has_opinion_modifier = { modifier = insulted_opinion target = $CHARACTER$ }or
has_opinion_modifier = { modifier = smeared_opinion target = $CHARACTER$ }or
has_opinion_modifier = { modifier = mocked_me_in_time_of_need target = $CHARACTER$ }or
has_opinion_modifier = { modifier = abandoned_me_opinion target = $CHARACTER$ }
• 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 (20 lines of game script)
has_any_petty_revenge_opinion_against_character_trigger = {
OR = {
has_opinion_modifier = {
modifier = insulted_opinion
target = $CHARACTER$
}
has_opinion_modifier = {
modifier = smeared_opinion
target = $CHARACTER$
}
has_opinion_modifier = {
modifier = mocked_me_in_time_of_need
target = $CHARACTER$
}
has_opinion_modifier = {
modifier = abandoned_me_opinion
target = $CHARACTER$
}
}
}As written in game/common/scripted_triggers/00_opinion_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls has_any_petty_revenge_opinion_against_character_trigger.
Character interactions (1)
Events (1)
- Whispered Words
bp2_yearly.0631
Source: game/common/scripted_triggers/00_opinion_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.