
International OrganizationChanged this version
Balkan League
A league formed around the capital of Balkan League Leader Country. Hailing from centuries past, this league comes to Italy in order to press old claims or forge new ones.
RomeCountrycan join trigger
RomeFormable Countryai desire to join
French LeagueInternational Organizationon joined
Holy Roman LeagueInternational Organizationmonthly effect, on joined
Iberian LeagueInternational Organizationmonthly effect, on joined
First Italian LeagueInternational Organizationmonthly effect, on joined
Second Italian LeagueInternational Organizationmonthly effect, on joined
Third Italian LeagueInternational Organizationmonthly effect, on joined
Latinitas vs RōmanismósSocietal Valueai desire to joinencourage_latin_militarism_variableVariableai desire to joinunlock_spread_philhellenism_variableVariableai desire to joinModifiers
Non leader modifier
Modifier 1
Modifier 2
Modifier 3
Leader modifier 1
Leader modifier 2
Definitionin_game/common/international_organizations/foreign_league_balkan.txt:1
2has_target = no
3unique = yes
4show_on_diplomatic_map = yes
5expel_members_who_are_targets_of_other_members = yes
6expel_members_who_are_attackers_at_war_with_other_members = yes
7expel_members_who_are_defenders_at_war_with_other_members = no
9leader_color = map_iw_balkan
10member_color = map_iw_balkan_member
11secondary_map_color_override = {
13if = {
14limit = {
15root.owner ?= scope:recipient.leader_country
}
17value = map_iw_balkan
}
}
21has_leader_country = yes
22leader_type = country
23disband_if_no_leader = yes
36modifier = {
39scale = {
40add = {
}
}
}
48leader_modifier = {
52scale = {
53add = {
54value = 1
55desc = BASE_VALUE Base: Valencia
}
57add = {
}
}
}
65diplomatic_capacity_cost = {
66scope:recipient = {
67add = {
68desc = "UPKEEP_NUM_MEMBERS" From Number of Members
69value = total_members
70multiply = 0.33
}
72add = {
73desc = "UPKEEP_TOTAL_ECO_BASE" Total Economic Base
74value = international_organization_economical_base
75multiply = 0.0005
}
}
}
80create_visible_trigger = {
81always = no
}
84invite_visible_trigger = {
85always = yes
}
88on_creation = {
89add_to_global_variable_list = {
90name = iw_foreign_leagues_list
91target = root
}
}
95on_disband = {
96remove_list_global_variable = {
96name = iw_foreign_leagues_list
96target = root
}
97leader_country ?= {
98remove_area_preference = foreign_league_italy_conquest
}
}
103can_declare_war = {
104trigger_if = {
105limit = {
105scope:attacker ?= {
105is_member_of_international_organization = scope:recipient
}
}
106scope:defender ?= {
106NOT = {
106is_member_of_international_organization = scope:recipient
}
}
}
108trigger_else = {
109always = yes
}
}
113has_military_access = {
114scope:recipient ?= {
115is_member_of_international_organization = root
}
117scope:actor ?= {
118is_member_of_international_organization = root
}
}
122fleet_basing_rights = {
123scope:recipient ?= {
124is_member_of_international_organization = root
}
126scope:actor ?= {
127is_member_of_international_organization = root
}
}
131gives_food_access_to_members = yes
132can_recruit_regiments_in_members = yes
133can_build_ships_in_members = yes
136leader_modifier = {
}
142can_join_trigger = {
143NOR = {
}
151at_war = no
152is_rebel_country = no
154trigger_if = {
158capital.region = region:italy_region
159country_rank_level < 4
}
161trigger_if = {
162limit = {
162is_subject = no
}
163NOT = {
163has_cooldown = join_a_league
}
}
165trigger_else = {
166custom_tooltip = {
167text = league_subject_can_join_tt Is a loyal Subject of a current member of the Recipient
168scope:recipient ?= {
169any_international_organization_member = {
170root = {
170is_disloyal_subject = no
170is_subject_or_below_of = prev
}
}
}
}
}
}
177on_joined = {
178if = {
179limit = {
}
181remove_country_from_international_organization = root
}
}
184if = {
185limit = {
}
187remove_country_from_international_organization = root
}
}
190if = {
191limit = {
}
193remove_country_from_international_organization = root
}
}
196if = {
197limit = {
}
199remove_country_from_international_organization = root
}
}
202if = {
203limit = {
}
205remove_country_from_international_organization = root
}
}
208if = {
209limit = {
}
211remove_country_from_international_organization = root
}
}
215every_owned_location = {
216limit = {
216region = region:italy_region
}
217scope:recipient = {
218add_location_to_international_organization = prev
}
}
221add_cooldown = {
222type = join_a_league
223years = 2
}
}
227on_left = {
228every_owned_location = {
229limit = {
229region = region:italy_region
}
230scope:recipient = {
231remove_location_from_international_organization = prev
}
}
}
237can_leave_trigger = {
238NOT = {
238root = scope:recipient.leader_country
}
239OR = {
240NOT = {
240is_subject_of = scope:recipient.leader_country
}
241AND = {
242is_subject = yes
243subject_loyalty < 50
}
}
}
248auto_leave_trigger = {
249OR = {
250is_at_war_with = scope:recipient.leader_country
251AND = {
252is_subject = yes
253exists = top_overlord
254NOT = {
255top_overlord = {
255is_member_of_international_organization = scope:recipient
}
}
}
}
}
261join_offensive_wars_auto_call = {
263scope:recipient ?= {
264at_war = no
265is_subject = no
}
}
269auto_disband_trigger = {
270total_members < 1
}
272disband_minimum_member_count = 0
274monthly_effect = {
275every_international_organization_member = {
276limit = {
277any_subject = {
278NOT = {
278is_member_of_international_organization = root
}
279can_join_international_organization = root
280subject_loyalty >= 50
}
}
283every_subject = {
284limit = {
285NOT = {
285is_member_of_international_organization = root
}
286can_join_international_organization = root
287subject_loyalty >= 50
}
289if = {
290limit = {
}
292remove_country_from_international_organization = prev
}
}
295if = {
296limit = {
}
298remove_country_from_international_organization = prev
}
}
301if = {
302limit = {
}
304remove_country_from_international_organization = prev
}
}
307if = {
308limit = {
}
310remove_country_from_international_organization = prev
}
}
313if = {
314limit = {
}
316remove_country_from_international_organization = prev
}
}
320every_owned_location = {
321limit = {
321region = region:italy_region
}
322root = {
323add_location_to_international_organization = prev
}
}
326add_cooldown = {
327type = join_a_league
328years = 2
}
330root = {
330add_country_to_international_organization = prev
}
}
}
}
335ai_desire_to_join = {
336add = {
337value = 5
338desc = BASE_VALUE Base: Valencia
}
343if = {
347subtract = {
348scope:league_leader_current = {
349root = {
350value = this_trust_of_prev
351multiply = 0.25
}
}
354desc = "LEAGUE_LEADER_CURRENT_TRUST" Their Trust towards League Leader Current
}
356subtract = {
357value = 25
358multiply = "root.relative_strength(scope:league_leader_current)"
359desc = "RELATIVE_STRENGTH_LEAGUE_LEADER_CURRENT" Their Country Strength relative to League Leader Current
}
361add = {
362scope:league_leader_current = {
363root = {
364value = this_opinion_of_prev
365multiply = -0.15
}
}
368desc = "LEAGUE_LEADER_CURRENT_OPINION" Their Opinion of League Leader Current
}
}
373add = {
374scope:actor = {
375root = {
376value = this_trust_of_prev
377multiply = 0.25
}
}
380desc = "TARGET_LEADER_TRUST" Their Trust towards us
}
382subtract = {
383value = 25
384multiply = "root.relative_strength(scope:actor)"
385desc = "TARGET_LEADER_RELATIVE_STRENGTH" Their Country Strength relative to us
}
387add = {
388scope:actor = {
389root = {
390value = this_opinion_of_prev
391multiply = 0.15
}
}
394desc = "TARGET_LEADER_OPINION" Their Opinion of us
}
399add = {
400value = -10
401desc = "FOREIGN_LEAGUE" Our League is Foreign
}
403add = {
404desc = "IW_BALANCE_OF_POWER" Size of the Foreign League
405value = scope:recipient.total_members
406multiply = -1
}
408if = {
409limit = {
410scope:actor = {
411OR = {
}
416has_societal_value = societal_value_type:latinization_vs_hellenization
}
}
420add = {
421desc = "[ShowSocietyDirectionName('latinization')]"
422value = scope:actor.societal_value:latinization_vs_hellenization
423multiply = -0.1
}
}
}
429ai_desire_to_allow_new_member = {
430leader_country = {
430save_temporary_scope_as = target_country
}
431add = {
432desc = "WE_WANT_THE_ORGANIZATION_TO_GROW" We want the International Organization to grow
433value = 10
}
435subtract = {
436desc = "CONQUEST_DESIRE_ON_US" Conquest Desire against us
437value = "scope:target_country.conquer_desire(scope:actor)"
}
439add = {
440scope:actor = {
441scope:target_country = {
442value = this_trust_of_prev
443multiply = 0.25
}
}
446desc = "TARGET_LEADER_TRUST" Their Trust towards us
}
448subtract = {
449value = 25
450multiply = "scope:target_country.relative_strength(scope:actor)"
451desc = "TARGET_LEADER_RELATIVE_STRENGTH" Their Country Strength relative to us
}
453add = {
454scope:actor = {
455scope:target_country = {
456value = this_opinion_of_prev
457multiply = 0.15
}
}
460desc = "TARGET_LEADER_OPINION" Their Opinion of us
}
}









