Scripted effect · Legends of the Dead files
give_legendary_building_location_legitimizing_effect
give_legendary_building_location_legitimizing_effect = yesgame/common/scripted_effects/06_dlc_ce1_legend_effects.txt, line 2399 (7 lines). No parameters.
give_legendary_building_location_legitimizing_effect is a scripted effect in Crusader Kings III, in the Legends of the Dead files, written at line 2399 of its file. It takes no parameters: give_legendary_building_location_legitimizing_effect = yes. The game's script calls it in 2 places, among them give_legendary_building_legitimizing_tooltip_effect (scripted effect) and give_legendary_building_mythical_legitimizing_tooltip_effect (scripted effect). 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
give_legendary_building_location_standard_effect = yes- Gain access to the Legendary Palace option in the Clear Ground for a Legendary Building Decision
• 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 (7 lines of game script)
give_legendary_building_location_legitimizing_effect = {
give_legendary_building_location_standard_effect = yes
custom_tooltip = {
text = can_build_legendary_palace_tt
add_character_flag = legendary_palace_flag
}
}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 give_legendary_building_location_legitimizing_effect.
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.