Scripted effect · Legends of the Dead files
legend_ending_rewards_mythical_heroic_effect
legend_ending_rewards_mythical_heroic_effect = yesgame/common/scripted_effects/06_dlc_ce1_legend_effects.txt, line 1070 (17 lines). No parameters.
legend_ending_rewards_mythical_heroic_effect is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 1070 of its file. It takes no parameters: legend_ending_rewards_mythical_heroic_effect = yes. The game's script calls it in 1 place, among them Heroic (legend). Patch 1.20.1.2, from game/common/scripted_effects/06_dlc_ce1_legend_effects.txt.
The comment above it in the file
Rewards for Mythical Legends
What it does
- Gains 300 Legitimacy
• 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_ending_rewards_mythical_heroic_effect = {
add_legitimacy = massive_legitimacy_gain
# Chance to become a Living Legend
if = {
limit = {
dynasty ?= {
ce1_heroic_track_perks >= 4
}
}
add_trait = legend
}
if = {
limit = { exists = promoted_legend }
set_variable = finished_mythical_legend_var
set_variable = finished_heroic_legend_var
}
}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_ending_rewards_mythical_heroic_effect.
Legends (1)
- Heroic
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.