Scripted Effect
flee_to_location_effect
- Set capital: to
$to$Gainslocal_var:difference_between_targetsDevelopment$from$Loseslocal_var:difference_between_targetsDevelopment
Exact script
Script that calls it fills these in, as each caller in Connections shows.
$to$$from$
Used by 2
Fleeing to Shàngdūfrom = scope:current_capital · to = scope:target_locationOption 1
Retreat to Karakorumfrom = scope:current_capital · to = scope:target_locationOption 1
set_capital = $to$
$to$ = {
change_development = {
value = local_var:difference_between_targets
}
}
$from$ = {
change_development = {
value = local_var:difference_between_targets
multiply = -1
}
}