Scripted effect
add_excommunication_tooltip_only_effect
add_excommunication_tooltip_only_effect = yesgame/common/scripted_effects/00_religion_effects.txt, line 523 (12 lines). No parameters.
add_excommunication_tooltip_only_effect is a scripted effect in Crusader Kings III, written at line 523 of its file. It takes no parameters: add_excommunication_tooltip_only_effect = yes. The game's script calls it in 4 places, among them Heretics Amongst Us: Room to Breath (event east_europe.0118), religious_interaction.1020 (event) and religious_interaction.1021 (event). 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.
The comment above it in the file
Excommunication management.
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 (12 lines of game script)
add_excommunication_tooltip_only_effect = {
show_as_tooltip = {
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_tooltip_only_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.