Scripted Effect
recalculate_parliament_vote_for_law_change
Not shown in the game's tooltip
- Set parliament issue support: 0%
- Every international organization member
- Abstain from the Parliament of Recipient
- IfRecipientHas voted for
- Voter: Voter
- Resolution:
Start Law Debate - Vote: Recipientvar:io_law_target
ThenParticipates in the Parliament of Recipient voting yes in regards of the Parliament IssueElse ifRecipientHas voted for- Voter: Voter
- Resolution:
Start Law Debate - Vote: Recipientvar:io_current_law
ThenParticipates in the Parliament of Recipient voting no in regards of the Parliament Issue
- Change parliament issue supportIf
- Limit
- If
- Has Variable: io_law_target
- Has Variable: io_current_law
- Votes for resolution
- Resolution:
Start Law Debate - Outcome: var:io_current_law
- Value > 0
- Resolution:
Then- 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:
OtherwiseValue: 1
Else- Value:
votes_for_resolution(resolution:policy_vote|var:io_law_target) - Divide:
total_members
Exact script
Requires 2
Resolutions
Start Law DebateHidden effect
Modifier Types
Forbid Multiple Policies VoteHidden effect
Used by 1
Start Law DebateWhen a country withdraws its vote, When a country votes
Scripting 2
Requires 2
- io_current_lawHidden effect
- io_law_targetHidden effect