Scripted Effect
hacw_effect_based_on_supported_side
If
Has Variable:
hacw_sided_with_$faction$Then
$support_effect$Otherwise
$opponent_effect$Exact script
Script that calls it fills these in, as each caller in Connections shows.
$faction$$support_effect$$opponent_effect$
Used by 2
The Hook and Cod Wars of Hollandfaction = cod · opponent_effect = root = { support_rebel = var:hook_and_cod_wars_pretender_variable } · support_effect = change_gold_effect = { scale = 12 } (+1)Option 1
Supporter Country Interferencefaction = cod · opponent_effect = scope:supporter_country = { support_rebel = var:hook_and_cod_wars_pretender_variable } · support_effect = add_gold = { value = scope:supporter_country.monthly_income_trade_and_tax multiply = 12 } (+1)Option
if = {
limit = {
has_variable = hacw_sided_with_$faction$
}
$support_effect$
}
else = { $opponent_effect$ }