脚本效果
recalculate_parliament_vote_for_law_change
游戏提示中不显示
- Set parliament issue support: 0%
- Every international organization member
- 在接收者的议会中弃权
- 如果接收者Has voted for
- Voter: Voter
- 决议:
开始法律辩论 - Vote: 接收者var:io_law_target
否则如果接收者Has voted for- Voter: Voter
- 决议:
开始法律辩论 - Vote: 接收者var:io_current_law
- Change parliament issue supportIf
- Limit
禁止多项政策投票: yes - 如果
- 拥有变量:io_law_target设置来源
- 拥有变量:io_current_law设置来源
- Votes for resolution
- 决议:
开始法律辩论 - Outcome: var:io_current_law
- Value > 0
- 决议:
则- Value:
votes_for_resolution(resolution:policy_vote|var:io_law_target) - Divide
- Value:
votes_for_resolution(resolution:policy_vote|var:io_current_law) - Add:
votes_for_resolution(resolution:policy_vote|var:io_law_target)
- Value:
否则Value: 1 - 拥有变量:io_law_target
Else- Value:
votes_for_resolution(resolution:policy_vote|var:io_law_target) - Divide:
total_members
- Limit
完整脚本
需要 2
决议
开始法律辩论Hidden effect
修正类型
禁止多项政策投票Hidden effect
被使用于 1
开始法律辩论国家撤回投票时, 国家投票时
脚本 2
需要 2
- io_current_lawHidden effect
- io_law_targetHidden effect