Scripted trigger
petition_head_of_faith_disposition_favorable_trigger
petition_head_of_faith_disposition_favorable_trigger = yesgame/common/scripted_triggers/11_petition_head_of_faith_triggers.txt, line 229 (19 lines). No parameters.
petition_head_of_faith_disposition_favorable_trigger is a scripted trigger in Crusader Kings III, written at line 229 of its file. It takes no parameters: petition_head_of_faith_disposition_favorable_trigger = yes (or no). The game's script calls it in 11 places, among them Petition: … Excommunication (event petition_head_of_faith.1320), Petition: … Repentance (event petition_head_of_faith.1310) and Petition: Repentance (event petition_head_of_faith.1000). Patch 1.20.1.2, from game/common/scripted_triggers/11_petition_head_of_faith_triggers.txt.
What it checks
One of these
var:petition_head_of_faith_recipient:- Opinion of prev at least 25
One of these
NOT = { exists = prev.var:petition_head_of_faith_target_character }or
Opinion of prev.var:petition_head_of_faith_target_character at most -10
or
Their dynasty: The Dynasty has the Alms and Endowments Legacy
• 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 (19 lines of game script)
petition_head_of_faith_disposition_favorable_trigger = {
OR = {
var:petition_head_of_faith_recipient = {
opinion = {
target = prev
value >= petition_head_of_faith_favorable_opinion_threshold_value
}
OR = {
NOT = { exists = prev.var:petition_head_of_faith_target_character }
opinion = {
target = prev.var:petition_head_of_faith_target_character
value <= -10
}
}
}
# Alms and Endowments dynasty legacy: the Head of Faith looks favorably on the dynasty's petitions
dynasty ?= { has_dynasty_perk = pam_legacy_2 }
}
}As written in game/common/scripted_triggers/11_petition_head_of_faith_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls petition_head_of_faith_disposition_favorable_trigger.
Events (4)
- Petition: … Excommunication
petition_head_of_faith.1320 - Petition: … Repentance
petition_head_of_faith.1310 - Petition: Repentance
petition_head_of_faith.1000 - Petition: Repentance
petition_head_of_faith.3000
Scripted effects (5)
Source: game/common/scripted_triggers/11_petition_head_of_faith_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.