Script Value

country_needs_allies_value

  • save_temporary_scope_asroot_country
  • −defensive_alliance_strength
  • If
    • Scripted relation type exists
    • Recipient exists
    • +scope:recipient.country_strength
  • every_neighbor_country
    • +country_strength
  • every_rival
    • +country_strength
  • scope:target
    • +country_strength
  • ÷
    • =country_strength
    • ≥0.001

Requires 1

Scripting 4

Weighed by the AI in 4

Policies
Diplomatic Relations

save_temporary_scope_as = root_country
subtract = defensive_alliance_strength
if = {
limit = {
exists = scope:scripted_relation_type
exists = scope:recipient
}
add = scope:recipient.country_strength
}

© 2026 Soft Santa Cruz, S.L.U. All rights reserved. Unofficial fan project, not affiliated with Paradox Interactive. Game content © Paradox Interactive. · About · Privacy · Legal notice