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
- AllianceEvery neighbor country
Scripting 4
Weighed by the AI in 4
Policies
Assured DefensePolicy bias towards new member, Reasons to join…
Automatic DefensePolicy bias towards new member, Reasons to join…
Possible DefensePolicy bias towards new member, Reasons to join…
Diplomatic Relations
- AllianceWants to keep
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
}