
International OrganizationChanged this version
French League
A league formed around the capital of French League Leader Country, this confederation symbolizes the aspiration of taming Italy and establishing a steady monopoly over her wealth.
RomeCountrycan join trigger
Balkan LeagueInternational Organizationmonthly effect, on 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 joinedModifiers
Non leader modifier
Modifier 1
Modifier 2
Modifier 3
Leader modifier 1
Leader modifier 2
Definitionin_game/common/international_organizations/foreign_league_france.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_france
10member_color = map_iw_france_member
11secondary_map_color_override = {
13if = {
14limit = {
15root.owner ?= scope:recipient.leader_country
}
17value = map_iw_france
}
}
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
}
}
319if = {
320limit = {
}
322remove_country_from_international_organization = prev
}
}
326every_owned_location = {
327limit = {
327region = region:italy_region
}
328root = {
329add_location_to_international_organization = prev
}
}
332add_cooldown = {
333type = join_a_league
334years = 2
}
336root = {
336add_country_to_international_organization = prev
}
}
}
}
341ai_desire_to_join = {
342add = {
343value = 5
344desc = BASE_VALUE Base: Valencia
}
349if = {
353subtract = {
354scope:league_leader_current = {
355root = {
356value = this_trust_of_prev
357multiply = 0.25
}
}
360desc = "LEAGUE_LEADER_CURRENT_TRUST" Their Trust towards League Leader Current
}
362subtract = {
363value = 25
364multiply = "root.relative_strength(scope:league_leader_current)"
365desc = "RELATIVE_STRENGTH_LEAGUE_LEADER_CURRENT" Their Country Strength relative to League Leader Current
}
367add = {
368scope:league_leader_current = {
369root = {
370value = this_opinion_of_prev
371multiply = -0.15
}
}
374desc = "LEAGUE_LEADER_CURRENT_OPINION" Their Opinion of League Leader Current
}
}
379add = {
380scope:actor = {
381root = {
382value = this_trust_of_prev
383multiply = 0.25
}
}
386desc = "TARGET_LEADER_TRUST" Their Trust towards us
}
388subtract = {
389value = 25
390multiply = "root.relative_strength(scope:actor)"
391desc = "TARGET_LEADER_RELATIVE_STRENGTH" Their Country Strength relative to us
}
393add = {
394scope:actor = {
395root = {
396value = this_opinion_of_prev
397multiply = 0.15
}
}
400desc = "TARGET_LEADER_OPINION" Their Opinion of us
}
405add = {
406value = -10
407desc = "FOREIGN_LEAGUE" Our League is Foreign
}
409add = {
410desc = "IW_BALANCE_OF_POWER" Size of the Foreign League
411value = scope:recipient.total_members
412multiply = -1
}
}
417ai_desire_to_allow_new_member = {
418leader_country = {
418save_temporary_scope_as = target_country
}
419add = {
420desc = "WE_WANT_THE_ORGANIZATION_TO_GROW" We want the International Organization to grow
421value = 10
}
423subtract = {
424desc = "CONQUEST_DESIRE_ON_US" Conquest Desire against us
425value = "scope:target_country.conquer_desire(scope:actor)"
}
427add = {
428scope:actor = {
429scope:target_country = {
430value = this_trust_of_prev
431multiply = 0.25
}
}
434desc = "TARGET_LEADER_TRUST" Their Trust towards us
}
436subtract = {
437value = 25
438multiply = "scope:target_country.relative_strength(scope:actor)"
439desc = "TARGET_LEADER_RELATIVE_STRENGTH" Their Country Strength relative to us
}
441add = {
442scope:actor = {
443scope:target_country = {
444value = this_opinion_of_prev
445multiply = 0.15
}
}
448desc = "TARGET_LEADER_OPINION" Their Opinion of us
}
}









