Scripted trigger
petition_head_of_faith_repentance_option_available_trigger
petition_head_of_faith_repentance_option_available_trigger = yesgame/common/scripted_triggers/11_petition_head_of_faith_triggers.txt, line 83 (15 lines). No parameters.
petition_head_of_faith_repentance_option_available_trigger is a scripted trigger in Crusader Kings III, written at line 83 of its file. It takes no parameters: petition_head_of_faith_repentance_option_available_trigger = yes (or no). The game's script calls it in 2 places, among them petition_head_of_faith_any_available_trigger (scripted trigger) and petition_head_of_faith_repentance_available_trigger (scripted trigger). Patch 1.20.1.2, from game/common/scripted_triggers/11_petition_head_of_faith_triggers.txt.
What it checks
- Has the Trait: Excommunicated
- Does not have the Modifier: Recent Excommunication
• 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 (15 lines of game script)
petition_head_of_faith_repentance_option_available_trigger = {
trigger_if = {
limit = {
NOR = {
has_character_flag = pope_excom
capital_county.clerical_region_title.holder ?= religious_head_or_challenger
capital_county.clerical_region_title.holder ?= this
}
}
highest_held_title_tier >= tier_kingdom
}
# A personal papal excommunication requires a petition at any rank.
has_trait = excommunicated
NOT = { has_character_modifier = recent_excommunication }
}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_repentance_option_available_trigger.
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.