Scripted effect · Legends of the Dead files
epidemic_endemic_capital_legitimacy_effect
epidemic_endemic_capital_legitimacy_effect = yesgame/common/scripted_effects/06_dlc_ce1_legitimacy_effects.txt, line 393 (16 lines). No parameters.
epidemic_endemic_capital_legitimacy_effect is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 393 of its file. It takes no parameters: epidemic_endemic_capital_legitimacy_effect = yes. The game's script calls it in 1 place, among them epidemic_ongoing_events (on action). Its body carries 1 text of the game's own for the player. 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 EPIDEMIC OUTBREAK
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (16 lines of game script)
epidemic_endemic_capital_legitimacy_effect = {
save_scope_as = endemic_capital
province_owner = {
if = {
limit = { is_valid_for_legitimacy_change = yes }
send_interface_toast = {
type = msg_legitimacy_loss
title = legitimacy_loss_toast
left_icon = scope:endemic_capital.province_owner
right_icon = scope:endemic_capital.barony
custom_tooltip = legitimacy_loss_endemic_capital_tt
add_legitimacy = miniscule_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 epidemic_endemic_capital_legitimacy_effect.
On actions (the game's own hooks) (1)
- epidemic_ongoing_events
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.