International organization
Second Italian League
A league formed around the capital of Country. Dedicated to the protection of its members' sovereign borders, the states within this League are prepared to resist the influence and potential invasions of their foreign counterparts.
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
- Take over wars when called
- Yes
- Land ownership rule
- Italian wars land ownership
- Special statuses implemented
italian league sponsor
- Payments implemented
italian league sponsor gold contribution, italian league sponsor manpower contribution
- Gives food access to members
- Yes
- Can recruit regiments in members
- Yes
- Can build ships in members
- Yes
- Disband minimum member count
- 0
Conditions
Can declare war
- If:
- the attacker:
- Is a member of the recipient
- the attacker:
- Then:
- the defender:
- Is not a member of the recipient
- the defender:
- Otherwise:
- Always
Create visible trigger
- Never
Invite visible trigger
- Always
Can lead trigger
- Is leader of Second Italian League
Can join trigger
- None of:
- Is leader of French League
- Is leader of Holy Roman League
- Is leader of Iberian League
- Is leader of First Italian League
- Is leader of Third 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
- Is not leader of Second Italian League
- 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
- Top overlord:
Auto disband trigger
- Has a total of less than 1 members
Join defensive wars auto call
- Italian Wars:
- Variable 'iw tension' is at least 75
- the recipient:
- Any of:
- This is this country's leader country
- Not: Is at War
- Not: Is a Subject of another Country
- Does not have 'League Sponsor' status in the this
- Any of:
- the target:
- Is not a member of this
- Any of:
- Is leader of French League
- Is leader of Iberian League
- Is leader of Holy Roman League
- Is leader of Balkan League
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 italian leagues list, target this)
On disband
- Remove list global variable (name iw italian leagues list, target this)
On joined
- If is a member of Balkan League:
- Balkan League:
- This country leaves the organization
- Balkan League:
- If is a member of French League:
- French League:
- This country leaves the organization
- French League:
- If is a member of Iberian League:
- Iberian League:
- This country leaves the organization
- Iberian League:
- If is a member of First Italian League:
- First Italian League:
- This country leaves the organization
- First Italian League:
- If is a member of Holy Roman League:
- Holy Roman League:
- This country leaves the organization
- Holy Roman League:
- If is a member of Third Italian League:
- Third Italian League:
- This country leaves the organization
- Third Italian League:
- Every owned location:
- Where:
- Region is Italy
- the recipient:
- the other party is added
- Where:
- 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
- Where:
Monthly effect
- Every international organization member:
- Where:
- Any subject:
- Is not a member of this
- Can join this
- Has at least 50 Subject Loyalty
- Any subject:
- Every subject:
- Where:
- Is not a member of this
- Can join this
- Has at least 50 Subject Loyalty
- If is a member of French League:
- French League:
- The other party leaves the organization
- French League:
- If is a member of Iberian League:
- Iberian League:
- The other party leaves the organization
- Iberian League:
- If is a member of First Italian League:
- First Italian League:
- The other party leaves the organization
- First Italian League:
- If is a member of Holy Roman League:
- Holy Roman League:
- The other party leaves the organization
- Holy Roman League:
- If is a member of Third Italian League:
- Third Italian League:
- The other party leaves the organization
- Third Italian League:
- If is a member of Balkan League:
- Balkan League:
- The other party leaves the organization
- Balkan League:
- Every owned location:
- Where:
- Region is Italy
- This country:
- the other party is added
- Where:
- The action 'Join a League' cannot be used again until for 2 years
- This country:
- Add country to international organization: the other party
- Where:
- Where:
Modifiers
Non leader modifier
Modifier
Leader modifier
Technical details
- Game id
io:italian_league_2- Defined in
in_game/common/international_organizations/italian_league_2.txt:1
Formulas
- + Base Value: 1
- Scope:recipient: (+ From Number of Members: 0, + Total Economic Base: 0)
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
- 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
- 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
Desc Value Multiply CONQUEST_DESIRE_ON_US scope:target_country.conquer_desire(scope:actor) TARGET_LEADER_RELATIVE_STRENGTH 25 scope:target_country.relative_strength(scope:actor)
Other
- Leader color
- map iw italian 2
- Member color
- map iw italian 2 member