Scripted effect · By God Alone files
non_pope_lifting_excommunication_penalty_effect
non_pope_lifting_excommunication_penalty_effect = yesgame/common/scripted_effects/pam_effects.txt, line 8247 (23 lines). No parameters.
non_pope_lifting_excommunication_penalty_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 8247 of its file. It takes no parameters: non_pope_lifting_excommunication_penalty_effect = yes. The game's script calls it in 1 place, among them Make Declaration of Repentance (interaction). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
What it does
If
NOT = { scope:puppet_or_actor.faith.religious_head ?= scope:recipient }
Then
scope:recipient:- Gain -500 Piety
- Level of Devotion -2
- scope:puppet_or_actor.faith.religious_head: Opinion: Betrayal (-80)
• 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 (23 lines of game script)
non_pope_lifting_excommunication_penalty_effect = {
if = {
limit = {
scope:puppet_or_actor = {
has_character_flag = pope_excom
}
NOT = {
scope:puppet_or_actor.faith.religious_head ?= scope:recipient
}
}
scope:recipient = {
add_piety = massive_piety_loss
add_piety_level = -2
}
scope:puppet_or_actor.faith.religious_head = {
add_opinion = {
target = scope:recipient
opinion = -80
modifier = betrayal_opinion
}
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls non_pope_lifting_excommunication_penalty_effect.
Character interactions (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.