Scripted effect
add_excommunication_actual_effect
add_excommunication_actual_effect = yesgame/common/scripted_effects/00_religion_effects.txt, line 535 (10 lines). No parameters.
add_excommunication_actual_effect is a scripted effect in Crusader Kings III, written at line 535 of its file. It takes no parameters: add_excommunication_actual_effect = yes. The game's script calls it in 6 places, among them great_holy_war.0016 (event), Heretics Amongst Us: A Temporary Reprieve (event east_europe.0117) and gruesome_festivals_own_faith_martyred_own_hof_effect (local effect). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_religion_effects.txt.
What it does
- … will become Excommunicated and gain the Excommunicated Trait
- Gains the modifier “Recent Excommunication” for 365 days
• 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 (10 lines of game script)
add_excommunication_actual_effect = {
custom_tooltip = {
text = get_excommunicated_tt
add_trait = excommunicated
}
add_character_modifier = { # Minor negative modifier that stops us from immediately getting our excommunication recinded (so you have a guaranteed 'penance period').
modifier = recent_excommunication
days = 365
}
}As written in game/common/scripted_effects/00_religion_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls add_excommunication_actual_effect.
Events (2)
- great_holy_war.0016
- Heretics Amongst Us: A Temporary Reprieve
east_europe.0117
Scripted effects inside an event file (1)
- gruesome_festivals_own_faith_martyred_own_hof_effect
Source: game/common/scripted_effects/00_religion_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.