Scripted trigger
character_hates_scope_due_to_strife_guts_trigger
character_hates_scope_due_to_strife_guts_trigger = { TARGET = … }game/common/scripted_triggers/00_diarchy_scripted_triggers.txt, line 8 (13 lines). Parameters: $TARGET$.
character_hates_scope_due_to_strife_guts_trigger is a scripted trigger in Crusader Kings III, written at line 8 of its file. A call passes 1 parameter: TARGET. The game's script calls it in 3 places, among them character_hates_scope_due_to_strife_modifier (scripted modifier), character_hates_scope_due_to_strife_plus_desc_modifier (scripted modifier) and character_hates_scope_spouse_due_to_strife_plus_desc_modifier (scripted modifier). Patch 1.20.1.2, from game/common/scripted_triggers/00_diarchy_scripted_triggers.txt.
What it checks
liege = $TARGET$.liege$TARGET$.strife_opinion >= strife_harm_threshold_value- Opinion of $TARGET$ less than 0
• 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 (13 lines of game script)
character_hates_scope_due_to_strife_guts_trigger = {
# We've got to share a direct liege for strife to be valid.
exists = liege
exists = $TARGET$.liege
liege = $TARGET$.liege
# And $TARGET$ must have accumulated enough strife to aggravate me (which we modulate up or down a little with some traits).
$TARGET$.strife_opinion >= strife_harm_threshold_value
# Finally, there has to be at least _some_ love lost.
opinion = {
target = $TARGET$
value < 0
}
}As written in game/common/scripted_triggers/00_diarchy_scripted_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls character_hates_scope_due_to_strife_guts_trigger.
Scripted modifiers (AI weights) (3)
- character_hates_scope_due_to_strife_modifier
- character_hates_scope_due_to_strife_plus_desc_modifier
- character_hates_scope_spouse_due_to_strife_plus_desc_modifier
Source: game/common/scripted_triggers/00_diarchy_scripted_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.