Policy
Automatic Defense
Members will automatically be called into defensive wars declared on other members, but do not have to accept.
Conditions
- Is at War with any non-member of Organization
Siblings
Technical details
- Game id
automatic_defense_policy- Defined in
in_game/common/laws/io_alliances_law.txt:1
Ai
- Wants this policy bias
- Add
Desc Value Multiply Min Max DIPLOREASON_BASE −20 OPINION_OF_OTHER_MEMBERS io members and potential members opinion value 1.2 −100 100 NEEDS_ALLIES_AGAINST_STRONG_RIVALS_AND_NEIGHBOURS country needs allies value 1.2 0.5 30 - If
- Limit
- Exists
- scope:recipient
- Add
- Desc
- YEARS_OF_ORGANIZATION_EXISTENCE
- Value
- −100
- Add
- Value
- scope:recipient.international_organization_lifetime
- Multiply
- 5
- Max
- 25
- If
- Limit
- Scope:recipient
- International organization has policy
- policy:assured_defense_policy
- Subtract
- Desc
- WE_ALREADY_HAVE_A_BETTER_POLICY
- Value
- 1,000
- Wants keep policy
- Add
- Desc
- POLICY_BASE_REASON_KEEP_POLICY
- Value
- 40
- Wants propose policy
- Value
- 0
- If
- Limit
- Exists
- scope:recipient
- If
- Limit
- Scope:recipient
- International organization has policy
- policy:assured_defense_policy
- Subtract
- Desc
- WE_ALREADY_HAVE_A_BETTER_POLICY
- Value
- 1,000
- Limit
- Scope:recipient
- International organization has policy
- policy:assured_defense_policy
- Subtract
- Desc
- WE_ALREADY_HAVE_A_BETTER_POLICY
- Value
- 1,000
- Add
- Desc
- YEARS_OF_ORGANIZATION_EXISTENCE
- Value
- −25
- Add
- Value
- scope:recipient.international_organization_lifetime
- Multiply
- 5
- Max
- 0
Other
- Diplomatic capacity cost
- automatic defence upkeep cost
Formulas
Reasons to join
- + Opinion of other members: (Io members and potential members opinion value × 1.2 at least −100 at most 100)
- + Threat from neighbors and rivals: (Country needs allies value × 1.2 at most 30 at least 0.5)
- at most 60
Policy bias towards new member
- + Base: −20
- + Opinion:
- + Threat from neighbors and rivals: (Country needs allies value × 1.2 at most 30 at least 0.5)
- If all of these:
- Any of:
- Is a Rival of the actor
- Is an War Enemy of the actor
- Any of:
- Then:
- + −1000