Action

Vote in Organization Parliament

The International Organization is currently having a debate in its Parliament. Member states can cast their vote to influence the outcome of the Parliament Issue.

Effects

  • If:
    • The vote exists
    • The recipient exists
    • The actor exists
  • Then:
    • If:
      • the recipient:
        • Has Variable: io law target
        • Has Variable: io current law
        • Parliament issue is Imperial Law Debate
    • Then:
      • If:
        • the actor:
          • Is controlled by the AI
      • Then:
        • the recipient:
          • Save temporary scope value as:
            • Name: vote for new law bias
            • Value: ai issue voting bias (the actor|scope:recipient|scope:recipient's io law target), + the recipient's io law target's actor|scope:recipient)
          • Save temporary scope value as (name keep current law bias, value the recipient's io current law's actor|scope:recipient))
          • If the vote for new law bias is more than the keep current law bias:
            • the actor will vote io law target in the resolution 'Start Law Debate'
          • Otherwise:
            • the actor will vote io current law in the resolution 'Start Law Debate'
      • Otherwise:
        • the recipient:
          • If the vote:
            • the actor will vote io law target in the resolution 'Start Law Debate'
          • Otherwise:
            • the actor will vote io current law in the resolution 'Start Law Debate'
    • Else if:
      • the actor:
        • Is controlled by the AI
        • Does not have participated in the Parliament of the recipient
    • Then:
      • If scope:recipient parliament issue ai parliament issue resolution vote bias(scope:actor|scope:recipient) is more than 0:
        • the actor:
          • Participate in parliament (international organization the recipient, vote yes)
      • Otherwise:
        • the actor:
          • Participate in parliament (international organization the recipient, vote no)
    • Otherwise:
      • the actor:
        • Participate in parliament (international organization the recipient, vote the vote)
  • Otherwise:
    • We will vote for or against the proposed Parliament Issue

Referenced by 2

Technical details
Game id
vote_in_organization_parliament
Defined in
in_game/common/generic_actions/io_parliament.txt:290

Fields

Icon
call parliament
Type
Internationalorganization
Ai tick
Monthly
Ai tick frequency
3
Automation tick
Monthly
Automation tick frequency
3
Player automated category
Diplomacy
Show in gui list
No
Show message
No