Scripted effect
declaration_of_repentance_interaction_effect
declaration_of_repentance_interaction_effect = yesgame/common/scripted_effects/00_interaction_effects.txt, line 3957 (67 lines). No parameters.
declaration_of_repentance_interaction_effect is a scripted effect in Crusader Kings III, written at line 3957 of its file. It takes no parameters: declaration_of_repentance_interaction_effect = yes. The game's script calls it in 2 places, among them Make Declaration of Repentance (interaction) and religious_interaction.1024 (event). Patch 1.20.1.2, from game/common/scripted_effects/00_interaction_effects.txt.
What it does
If
scope:declaration_hook = yes
Then
scope:puppet_or_actor:use_hook = scope:recipient
scope:puppet_or_actor:If
scope:declaration_hook = noNone of these
- Their rite: The rite has Recover from Excommunication costs less Prestige and does not lower your Level of Fame
Then
- Gain -750 Prestige
- Level of Fame -1
- Loses the Trait Excommunicated
clear_excommunication_tracking_effect = yes- Gains the modifier “Excommunication Recently Lifted” for 10 years
- Monthly Piety -10%
- Stress and fulfillment impact: by trait: Cynical +20
scope:recipient:- Gain +350 Prestige
- Opinion: Repentant (+10)
scope:puppet_or_actor:If
- Any character situation:
situation_type = the_christian_church
- The Christian Church: The current phase counts “A sovereign repents to have their Excommunication lifted”
Then
- If highest held Title is at least Kingdom Rank › The Christian Church: Counts toward the situation's next phase: “A sovereign repents to have their Excommunication lifted”
- Otherwise › The Christian Church: Counts toward the situation's next phase: “A Ruler repents to have their Excommunication lifted”
- Any character situation:
• 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 (67 lines of game script)
declaration_of_repentance_interaction_effect = {
if = {
limit = { scope:declaration_hook = yes }
scope:puppet_or_actor = {
use_hook = scope:recipient
}
}
scope:puppet_or_actor = {
if = {
limit = {
scope:declaration_hook = no
NOT = { rite ?= { rite_has_parameter = tenet_purgatory_absolution_costs_less_prestige } }
}
#Lose a ton of prestige (e.g., Henry's Walk to Canossa)
add_prestige = massive_prestige_loss
add_prestige_level = -1
}
else_if = {
limit = {
scope:declaration_hook = no
}
add_prestige = major_prestige_loss
}
#Character cannot be excommunicated again for 10 years.
remove_trait = excommunicated
clear_excommunication_tracking_effect = yes
add_character_modifier = {
modifier = excommunication_recently_lifted
years = 10
}
stress_and_fulfillment_impact = {
cynical = minor_stress_impact_gain
}
}
scope:recipient = {
add_prestige = major_prestige_gain
add_opinion = {
modifier = repentant_opinion
target = scope:puppet_or_actor
opinion = 10
}
}
scope:puppet_or_actor = {
if = {
limit = {
any_character_situation = {
situation_type = the_christian_church
}
situation:the_christian_church ?= {
situation_top_has_catalyst = catalyst_declaration_of_repentance
}
}
if = {
limit = {
highest_held_title_tier >= tier_kingdom
}
situation:the_christian_church = { trigger_situation_catalyst = catalyst_declaration_of_repentance }
}
else = {
situation:the_christian_church = { trigger_situation_catalyst = catalyst_declaration_of_repentance_minor }
}
}
}
}As written in game/common/scripted_effects/00_interaction_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls declaration_of_repentance_interaction_effect.
Character interactions (1)
Events (1)
Source: game/common/scripted_effects/00_interaction_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.