Scripted effect · Legends of the Dead files
legend_seed_struggle_ended_effect
legend_seed_struggle_ended_effect = { STRUGGLE = … STRUGGLE_ENDING = … }game/common/scripted_effects/06_dlc_ce1_legend_effects.txt, line 2505 (16 lines). Parameters: $STRUGGLE$, $STRUGGLE_ENDING$.
legend_seed_struggle_ended_effect is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 2505 of its file. A call passes 2 parameters: STRUGGLE and STRUGGLE_ENDING. No file of common/, events/ or history/ calls it. Patch 1.20.1.2, from game/common/scripted_effects/06_dlc_ce1_legend_effects.txt.
What it does
If
a check the game hides
Then
create_legend_seed = { … }
• 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 (16 lines of game script)
legend_seed_struggle_ended_effect = {
if = {
limit = { has_dlc_feature = legends }
create_legend_seed = {
type = heroic
quality = famed
chronicle = struggle_ended
properties = {
founder = root
culture = root.culture
struggle = $STRUGGLE$
struggle_ending = $STRUGGLE_ENDING$
}
}
}
}As written in game/common/scripted_effects/06_dlc_ce1_legend_effects.txt.
Where it is used
No file of common/, events/ or history/ calls it.
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.