Scripted effect · Roads to Power files
clear_placement_variables_effect
clear_placement_variables_effect = yesgame/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 6529 (17 lines). No parameters.
clear_placement_variables_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 6529 of its file. It takes no parameters: clear_placement_variables_effect = yes. The game's script calls it in 2 places, among them chariot_race_remove_variables_effect (scripted effect) and update_chariot_race_standings_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/07_dlc_ep3_scripted_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)
clear_placement_variables_effect = {
switch = {
trigger = has_variable
first_place = { remove_variable = first_place }
second_place = { remove_variable = second_place }
third_place = { remove_variable = third_place }
fourth_place = { remove_variable = fourth_place }
fifth_place = { remove_variable = fifth_place }
sixth_place = { remove_variable = sixth_place }
seventh_place = { remove_variable = seventh_place }
eighth_place = { remove_variable = eighth_place }
ninth_place = { remove_variable = ninth_place }
tenth_place = { remove_variable = tenth_place }
eleventh_place = { remove_variable = eleventh_place }
twelfth_place = { remove_variable = twelfth_place }
}
}As written in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls clear_placement_variables_effect.
Scripted effects (2)
Source: game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.