Effet scripté
hacw_effect_based_on_supported_side
Si
A la variable :
hacw_sided_with_$faction$Alors
$support_effect$Sinon
$opponent_effect$Script exact
Le script qui l’appelle les renseigne, comme le montre chaque appel dans Liens.
$faction$$support_effect$$opponent_effect$
Utilisé par 2
Les Guerre des Hameçons et des Cabillauds de Hollandfaction = cod · opponent_effect = root = { support_rebel = var:hook_and_cod_wars_pretender_variable } · support_effect = change_gold_effect = { scale = 12 } (+1)Option 1
Ingérence de Supporter Countryfaction = 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$ }