Scripted effect · Legends of the Dead files
send_interface_toast_legend_notification_effect
send_interface_toast_legend_notification_effect = yesgame/common/scripted_effects/06_dlc_ce1_legend_effects.txt, line 2949 (15 lines). No parameters.
send_interface_toast_legend_notification_effect is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 2949 of its file. It takes no parameters: send_interface_toast_legend_notification_effect = yes. The game's script calls it in 3 places, among them Heroic (legend), holy (legend) and legitimizing (legend). 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_legend_effects.txt.
What it does
- Their county’s holder: The … spreads into …
• 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 (15 lines of game script)
send_interface_toast_legend_notification_effect = {
county = { save_scope_as = spread_county }
scope:legend = { save_scope_as = spread_legend }
county.holder = {
set_variable = {
name = legend_alerted_var
value = scope:legend
}
send_interface_toast = {
title = legend_spread_notification_title
custom_tooltip = legend_spread_notification_desc
left_icon = scope:spread_county
}
}
}As written in game/common/scripted_effects/06_dlc_ce1_legend_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls send_interface_toast_legend_notification_effect.
Legends (3)
- Heroic
- holy
- legitimizing
Source: game/common/scripted_effects/06_dlc_ce1_legend_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.