脚本效果
hacw_effect_based_on_supported_side
如果
拥有变量:
hacw_sided_with_$faction$则
$support_effect$否则
$opponent_effect$完整脚本
调用它的脚本会填入这些值,各调用处见“关联”。
$faction$$support_effect$$opponent_effect$
被使用于 2
Holland的鱼钩派与鳕鱼派战争faction = cod · opponent_effect = root = { support_rebel = var:hook_and_cod_wars_pretender_variable } · support_effect = change_gold_effect = { scale = 12 } (+1)选项 1
Supporter Country干预faction = 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)选项
if = {
limit = {
has_variable = hacw_sided_with_$faction$
}
$support_effect$
}
else = { $opponent_effect$ }