Scripted effect · By God Alone files
pam_the_christian_church_excommunication_war_catalyst_effect
pam_the_christian_church_excommunication_war_catalyst_effect = yesgame/common/scripted_effects/pam_effects.txt, line 4995 (15 lines). No parameters.
pam_the_christian_church_excommunication_war_catalyst_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 4995 of its file. It takes no parameters: pam_the_christian_church_excommunication_war_catalyst_effect = yes. The game's script calls it in 1 place, among them Excommunication (casus belli). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
The comment above it in the file
Excommunication war declared between two Christian rulers (excommunication_war on_declaration)
What it does
If
- scope:attacker: Their religion is Christianity
- scope:defender: Their religion is Christianity
- The Christian Church: The current phase counts “Christian Ruler declares an Excommunication War on another Christian”
Then
- The Christian Church: Counts toward the situation's next phase: “Christian Ruler declares an Excommunication War on another Christian”
• 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)
pam_the_christian_church_excommunication_war_catalyst_effect = {
if = {
limit = {
scope:attacker = { has_pam_dlc_trigger = yes }
scope:attacker = { religion = religion:christianity_religion }
scope:defender = { religion = religion:christianity_religion }
situation:the_christian_church ?= {
situation_top_has_catalyst = catalyst_the_christian_church_excommunication_war_declared
}
}
situation:the_christian_church = {
trigger_situation_catalyst = catalyst_the_christian_church_excommunication_war_declared
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_the_christian_church_excommunication_war_catalyst_effect.
Casus belli (1)
Source: game/common/scripted_effects/pam_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.