脚本值
union_parliament_gold_bribe_recipient
- 如果接收者存在
save_temporary_value_asnameparliament_gold_bribe_upper_limit- =
- =
scope:recipient.monthly_income_trade_and_tax - ×4
- =
- =
scope:recipient.monthly_income_trade_and_tax
- 否则
save_temporary_value_asnameparliament_gold_bribe_upper_limit- =
- =
root.monthly_income_trade_and_tax - ×4
- =
- =
root.monthly_income_trade_and_tax
- 如果Union cost factor multiplier存在
- ×
scope:union_cost_factor_multiplier
- ×
- 如果Union special status multiplier存在
- ×
scope:union_special_status_multiplier
- ×
- ≤
scope:parliament_gold_bribe_upper_limit
脚本 3
被引用于 3
脚本效果
脚本触发器
- can_bribe_default_triggerTrigger if 3
desc = "union_parliament_gold_bribe_cost" 贿赂花费
if = {
limit = {
exists = scope:recipient
}
save_temporary_value_as = {
name = parliament_gold_bribe_upper_limit
value = {
value = scope:recipient.monthly_income_trade_and_tax
multiply = 4
}
}
value = scope:recipient.monthly_income_trade_and_tax
}