Scripted effect
save_best_location_for_house_name_effect
save_best_location_for_house_name_effect = yesgame/common/scripted_effects/00_decisions_effects.txt, line 2884 (13 lines). No parameters.
save_best_location_for_house_name_effect is a scripted effect in Crusader Kings III, written at line 2884 of its file. It takes no parameters: save_best_location_for_house_name_effect = yes. The game's script calls it in 2 places, among them on_dynasty_created (on action) and create_cadet_house_with_name_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_decisions_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (13 lines of game script)
save_best_location_for_house_name_effect = {
if = {
limit = { exists = domicile.domicile_location }
domicile.domicile_location = { save_scope_as = location }
}
else_if = {
limit = { exists = capital_province }
capital_province = { save_scope_as = location }
}
else = {
default_location = { save_scope_as = location }
}
}As written in game/common/scripted_effects/00_decisions_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls save_best_location_for_house_name_effect.
On actions (the game's own hooks) (1)
- on_dynasty_created
Scripted effects (1)
Source: game/common/scripted_effects/00_decisions_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.