Scripted trigger
ghw_pope_annoyed_at_lack_of_participation_trigger
ghw_pope_annoyed_at_lack_of_participation_trigger = yesgame/common/scripted_triggers/00_great_holy_war_triggers.txt, line 112 (24 lines). No parameters.
ghw_pope_annoyed_at_lack_of_participation_trigger is a scripted trigger in Crusader Kings III, written at line 112 of its file. It takes no parameters: ghw_pope_annoyed_at_lack_of_participation_trigger = yes (or no). The game's script calls it in 3 places, among them Pending … Participation (important action), great_holy_war.0022 (event) and great_holy_war.0023 (event). Patch 1.20.1.2, from game/common/scripted_triggers/00_great_holy_war_triggers.txt.
The comment above it in the file
The Pope is getting annoyed that player hasn't joined or contributed to the Crusade yet.
What it checks
faith = scope:the_faithNone of these
this = scope:the_faith.great_holy_war.ghw_war_declarerhas_character_flag = ghw_unpledging_cooldownhas_character_flag = ghw_unpledged_oncehas_character_flag = ghw_pledged_goldscope:the_faith.great_holy_war:has_pledged_attacker = prev
- Any liege or above:
this = scope:the_faith.great_holy_war.ghw_target_character
One of these
- Is an Independent Ruler
or
None of these
- Any liege or above:
faith != scope:the_faith
- Any liege or above:
• 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 (24 lines of game script)
ghw_pope_annoyed_at_lack_of_participation_trigger = {
faith = scope:the_faith
NOR = {
this = scope:the_faith.great_holy_war.ghw_war_declarer
has_character_flag = ghw_unpledging_cooldown
#Has not already unpledged and been castigated for it once.
has_character_flag = ghw_unpledged_once
#Has not already pledged troops or money.
has_character_flag = ghw_pledged_gold
scope:the_faith.great_holy_war = { has_pledged_attacker = prev }
#Do not pledge against your own liege, or when your top liege belongs to the faith being targeted.
any_liege_or_above = {
this = scope:the_faith.great_holy_war.ghw_target_character
}
}
OR = { #Either be independent, or all lieges above you MUST be of the same Faith declaring the war to avoid messy situations of vassals and lieges fighting against each other.
top_liege = this
NOT = {
any_liege_or_above = {
faith != scope:the_faith
}
}
}
}As written in game/common/scripted_triggers/00_great_holy_war_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls ghw_pope_annoyed_at_lack_of_participation_trigger.
Important actions (1)
- Pending … Participation
Events (2)
Source: game/common/scripted_triggers/00_great_holy_war_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.