Scripted effect · Legends of the Dead files
legend_seed_great_deed_region_effect
legend_seed_great_deed_region_effect = { REGION = … }game/common/scripted_effects/06_dlc_ce1_legend_effects.txt, line 2455 (17 lines). Parameters: $REGION$.
legend_seed_great_deed_region_effect is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 2455 of its file. A call passes 1 parameter: REGION. The game's script calls it in 4 places, among them … Britannia (event british_isles.0001), One Africa (event iberia_north_africa.0010) and The Italian Empire (event roman_restoration.0140). 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 (17 lines of game script)
legend_seed_great_deed_region_effect = {
if = {
limit = { has_dlc_feature = legends }
$REGION$ = {
save_scope_as = legend_region
}
create_legend_seed = {
type = heroic
quality = famed
chronicle = great_deed_region
properties = {
legend_region = scope:legend_region
founder = root
}
}
}
}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 legend_seed_great_deed_region_effect.
Events (4)
- … Britannia
british_isles.0001 - One Africa
iberia_north_africa.0010 - The Italian Empire
roman_restoration.0140 - The Sacred Waters
south_asia.0011
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.