Scripted effect · Legends of the Dead files
balancing_legend_global_var_effect
balancing_legend_global_var_effect = yesgame/common/scripted_effects/06_dlc_ce1_legend_effects.txt, line 2886 (17 lines). No parameters.
balancing_legend_global_var_effect is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 2886 of its file. It takes no parameters: balancing_legend_global_var_effect = yes. 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
Every line of it is script with no tooltip text: the script is below.
The script as written (17 lines of game script)
balancing_legend_global_var_effect = {
if = {
limit = {
NOT = { has_global_variable = legend_count_var }
}
set_global_variable = {
name = legend_count_var
value = 1
}
}
else = {
change_global_variable = {
name = legend_count_var
add = 1
}
}
}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.