Scripted effect · By God Alone files
pam_challenge_hof_war_excommunicate_if_possible_effect
pam_challenge_hof_war_excommunicate_if_possible_effect = { TARGET = … }game/common/scripted_effects/pam_antipope_effects.txt, line 600 (10 lines). Parameters: $TARGET$.
pam_challenge_hof_war_excommunicate_if_possible_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 600 of its file. A call passes 1 parameter: TARGET. The game's script calls it in 3 places, among them pam_challenge_hof_war_judge_excommunicate_effect (local effect), pam_challenge_hof_war_ai_excommunicate_imprison_effect (scripted effect) and pam_challenge_hof_war_try_execute_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/pam_antipope_effects.txt.
The comment above it in the file
Only excommunicate if the target's rite practises excommunication at all.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (10 lines of game script)
pam_challenge_hof_war_excommunicate_if_possible_effect = {
$TARGET$ = {
if = {
limit = {
rite = { rite_has_parameter = excommunication_active }
}
add_excommunication_actual_effect = yes
}
}
}As written in game/common/scripted_effects/pam_antipope_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_challenge_hof_war_excommunicate_if_possible_effect.
Scripted effects inside an event file (1)
- pam_challenge_hof_war_judge_excommunicate_effect
Source: game/common/scripted_effects/pam_antipope_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.