Scripted effect · All Under Heaven files
set_duchies_to_attack_variable_effect
set_duchies_to_attack_variable_effect = { VALUE = … }game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 2558 (14 lines). Parameters: $VALUE$.
set_duchies_to_attack_variable_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 2558 of its file. A call passes 1 parameter: VALUE. The game's script calls it in 1 place, among them set_duchies_to_attack_effect (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (14 lines of game script)
set_duchies_to_attack_variable_effect = {
save_temporary_scope_as = duchy
scope:grand_campaign_project = {
set_variable = {
name = attack_$VALUE$
value = scope:duchy
}
add_to_variable_list = {
name = grand_campaign_targets
target = scope:duchy
}
}
remove_from_list = duchies_to_attack
}As written in game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls set_duchies_to_attack_variable_effect.
Scripted effects (1)
Source: game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.