Scripted effect · Legends of the Dead files
excommunication_legitimacy_effect
excommunication_legitimacy_effect = yesgame/common/scripted_effects/06_dlc_ce1_legitimacy_effects.txt, line 342 (12 lines). No parameters.
excommunication_legitimacy_effect is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 342 of its file. It takes no parameters: excommunication_legitimacy_effect = yes. The game's script calls it in 1 place, among them excommunicate_character (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/06_dlc_ce1_legitimacy_effects.txt.
The comment above it in the file
LEGITIMACY LOSS FROM EXCOMMUNICATION
What it does
• 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)
excommunication_legitimacy_effect = {
if = {
limit = { is_valid_for_legitimacy_change = yes }
send_interface_toast = {
type = msg_legitimacy_loss
title = legitimacy_loss_toast
left_icon = scope:target_character
right_icon = scope:requesting_character
add_legitimacy = major_legitimacy_loss
}
}
}As written in game/common/scripted_effects/06_dlc_ce1_legitimacy_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls excommunication_legitimacy_effect.
Scripted effects (1)
Source: game/common/scripted_effects/06_dlc_ce1_legitimacy_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.