Policy

Possible Defense

Members will be able to 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

No Defense, Automatic Defense, Assured Defense

Technical details
Game id
possible_defense_policy
Defined in
in_game/common/laws/io_alliances_law.txt:1

Ai

Wants this policy bias
If
Limit
Exists
scope:recipient
Scope:recipient
OR
  • policy:automatic_defense_policy
  • policy:assured_defense_policy
Subtract
Desc
WE_ALREADY_HAVE_A_BETTER_POLICY
Value
1,000
Add
io members and potential members opinion value
Desc
NEEDS_ALLIES_AGAINST_STRONG_RIVALS_AND_NEIGHBOURS
Value
country needs allies value
Max
30
Min
0.5
Wants keep policy
Add
Desc
POLICY_BASE_REASON_KEEP_POLICY
Value
20
Wants propose policy
If
Limit
Exists
scope:recipient
Scope:recipient
OR
  • policy:automatic_defense_policy
  • policy:assured_defense_policy
Subtract
Desc
WE_ALREADY_HAVE_A_BETTER_POLICY
Value
1,000

Other

Diplomatic capacity cost
possible defence upkeep cost

Formulas

Reasons to join

  • + Io members and potential members opinion value
  • + Threat from neighbors and rivals: (Country needs allies value at most 30 at least 0.5)
  • at most 40

Policy bias towards new member

  • If all of these:
    • Any of:
      • Is a Rival of the actor
      • Is an War Enemy of the actor
  • Then:
    • + −1000
  • + Opinion:
  • + Threat from neighbors and rivals: (Country needs allies value at most 30 at least 0.5)