International organization

Balkan League

A league formed around the capital of Country. Hailing from centuries past, this league comes to Italy in order to press old claims or forge new ones.

Properties

Has target
No
Unique
Yes
Show on diplomatic map
Yes
Expel members who are targets of other members
Yes
Expel members who are attackers at war with other members
Yes
Expel members who are defenders at war with other members
No
Has leader country
Yes
Leader type
Country
Disband if no leader
Yes
Land ownership rule
Italian wars land ownership
Gives food access to members
Yes
Can recruit regiments in members
Yes
Can build ships in members
Yes
Disband minimum member count
0

Conditions

Create visible trigger

  • Never

Invite visible trigger

  • Always

Can declare war

  • If:
    • the attacker:
      • Is a member of the recipient
  • Then:
    • the defender:
      • Is not a member of the recipient
  • Otherwise:
    • Always

Can join trigger

  • None of:
    • Is leader of French League
    • Is leader of First Italian League
    • Is leader of Holy Roman League
    • Is leader of Iberian League
    • Is leader of Third Italian League
    • Is leader of Second Italian League
  • Not: Is at War
  • Not: Is a Rebel state
  • Is a Location.
  • The religion's group is Christianity
  • If is not Rome:
    • The capital's region is Italy
    • Country rank level is less than 4
  • If not: Is a Subject of another Country:
    • Not: Cannot use the action 'Join a League' (available from Join a League)
  • Otherwise:
    • Is a loyal Subject of a current member of the Recipient

Can leave trigger

  • Not: Root is the recipient's leader country
  • Any of:
    • Is not a Subject of the recipient's leader country
    • All of:
      • Is a Subject of another Country
      • Has less than 50 Subject Loyalty

Auto leave trigger

  • Any of:
    • Is at War with the recipient's leader country
    • All of:
      • Is a Subject of another Country
      • Top overlord exists
      • None of:
        • Top overlord:
          • Is a member of the recipient

Join offensive wars auto call

  • Italian Wars:
    • Has Variable: allow call members offensive wars variable
  • the recipient:
    • Not: Is at War
    • Not: Is a Subject of another Country
  • the target:
    • Is member of any italian wars league

Auto disband trigger

  • Has a total of less than 1 members

Has military access

  • the recipient:
    • Is a member of this
  • the actor:
    • Is a member of this

Fleet basing rights

  • the recipient:
    • Is a member of this
  • the actor:
    • Is a member of this

Effects

On creation

  • Add to global variable list (name iw foreign leagues list, target this)

On disband

  • Remove list global variable (name iw foreign leagues list, target this)
  • Leader country:
    • Removes Press claims in Italy as an AI area preference

On joined

  • If is a member of French League:
    • French League:
      • This country leaves the organization
  • If is a member of Holy Roman League:
    • Holy Roman League:
      • This country leaves the organization
  • If is a member of Iberian League:
    • Iberian League:
      • This country leaves the organization
  • If is a member of First Italian League:
    • First Italian League:
      • This country leaves the organization
  • If is a member of Second Italian League:
    • Second Italian League:
      • This country leaves the organization
  • If is a member of Third Italian League:
    • Third Italian League:
      • This country leaves the organization
  • Every owned location:
    • Where:
      • Region is Italy
    • the recipient:
      • the other party is added
  • The action 'Join a League' cannot be used again until for 2 years

On left

  • Every owned location:
    • Where:
      • Region is Italy
    • the recipient:
      • the other party is removed

Monthly effect

  • Every international organization member:
    • Where:
      • Any subject:
        • Is not a member of this
        • Can join this
        • Has at least 50 Subject Loyalty
    • Every subject:
      • Where:
        • Is not a member of this
        • Can join this
        • Has at least 50 Subject Loyalty
      • If is a member of Holy Roman League:
        • Holy Roman League:
          • The other party leaves the organization
      • If is a member of Iberian League:
        • Iberian League:
          • The other party leaves the organization
      • If is a member of First Italian League:
        • First Italian League:
          • The other party leaves the organization
      • If is a member of Second Italian League:
        • Second Italian League:
          • The other party leaves the organization
      • If is a member of Third Italian League:
        • Third Italian League:
          • The other party leaves the organization
      • Every owned location:
        • Where:
          • Region is Italy
        • This country:
          • the other party is added
      • The action 'Join a League' cannot be used again until for 2 years
      • This country:
        • Add country to international organization: the other party
  • Transfer leadership to union senior partner

Modifiers

Technical details
Game id
io:foreign_league_balkan
Defined in
in_game/common/international_organizations/foreign_league_balkan.txt:1

Formulas

  • Scope:recipient: (+ From Number of Members × 0.33, + Total Economic Base: (International organization economical base − this country's country economical base × 0.0005))

Ai

Ai desire to join
Add
Value
5
Desc
BASE_VALUE
Scope:actor
Root
Value
this trust of prev
Multiply
0.25
Desc
TARGET_LEADER_TRUST
Scope:actor
Root
Value
this opinion of prev
Multiply
0.15
Desc
TARGET_LEADER_OPINION
Value
−10
Desc
FOREIGN_LEAGUE
Desc
IW_BALANCE_OF_POWER
Value
scope:recipient.total_members
Multiply
−1
If
Limit
Is member of any italian wars league
Yes
Subtract
Scope:league leader current
Root
Value
this trust of prev
Multiply
0.25
Desc
LEAGUE_LEADER_CURRENT_TRUST
Value
25
Multiply
root.relative_strength(scope:league_leader_current)
Desc
RELATIVE_STRENGTH_LEAGUE_LEADER_CURRENT
Add
Scope:league leader current
Root
Value
this opinion of prev
Multiply
−0.15
Desc
LEAGUE_LEADER_CURRENT_OPINION
Limit
Scope:actor
OR
Has or had tag
ROM
Has variable

unlock spread philhellenism variable, encourage latin militarism variable

Has societal value
societal_value_type:latinization_vs_hellenization
Societal value:latinization vs hellenization
<
0
Add
Desc
[ShowSocietyDirectionName('latinization')]
Value
scope:actor.societal_value:latinization_vs_hellenization
Multiply
−0.1
Subtract
Value
25
Multiply
root.relative_strength(scope:actor)
Desc
TARGET_LEADER_RELATIVE_STRENGTH
Ai desire to allow new member
Leader country
Save temporary scope as
target country
Add
Desc
WE_WANT_THE_ORGANIZATION_TO_GROW
Value
10
Scope:actor
Scope:target country
Value
this trust of prev
Multiply
0.25
Desc
TARGET_LEADER_TRUST
Scope:actor
Scope:target country
Value
this opinion of prev
Multiply
0.15
Desc
TARGET_LEADER_OPINION
Subtract
DescValueMultiply
CONQUEST_DESIRE_ON_USscope:target_country.conquer_desire(scope:actor)
TARGET_LEADER_RELATIVE_STRENGTH25scope:target_country.relative_strength(scope:actor)

Other

Leader color
map iw balkan
Member color
map iw balkan member
Secondary map color override
If
Limit
Root.owner
?=
scope:recipient.leader_country
Value
map iw balkan