Scripted Effect
flee_to_location_effect_setup
Set local variable
- Name:
difference_between_targets - Value
- Value:
$from$Development - Subtract:
$to$Development - Min: 0
- Multiply: 0.5
- Value:
Exact script
Script that calls it fills these in, as each caller in Connections shows.
$from$$to$
Used by 2
Fleeing to Shàngdūfrom = scope:current_capital · to = scope:target_locationAs soon as it happens
Retreat to Karakorumfrom = scope:current_capital · to = scope:target_locationAs soon as it happens
set_local_variable = {
name = difference_between_targets
value = {
value = $from$.development
subtract = $to$.development
min = 0
multiply = 0.5
}
}