
International OrganizationChanged this version
Third Italian League
A league formed around the capital of Third Italian League Leader 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.
RomeCountrycan join trigger
Balkan LeagueInternational Organizationmonthly effect, on joined
French 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 joinedModifiers
Non leader modifier
Modifier 1
Modifier 2
Modifier 3
Leader modifier 1
Leader modifier 2
Definitionin_game/common/international_organizations/italian_league_3.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_italian_3
10member_color = map_iw_italian_3_member
12has_leader_country = yes
13leader_type = country
14disband_if_no_leader = yes
15take_over_wars_when_called = yes
21modifier = {
23scale = {
24add = {
25value = scope:recipient.total_locations_owned
26divide = 301
27desc = "IO_LOCATIONS_IN_ITALY"
}
}
}
36modifier = {
38scale = {
39add = {
}
}
}
47leader_modifier = {
50scale = {
51add = {
52value = 1
53desc = BASE_VALUE Base: Valencia
}
55add = {
}
}
}
63diplomatic_capacity_cost = {
64scope:recipient = {
65add = {
66desc = "UPKEEP_NUM_MEMBERS" From Number of Members
67value = total_members
68multiply = 0.1
}
70add = {
71desc = "UPKEEP_TOTAL_ECO_BASE" Total Economic Base
72value = international_organization_economical_base
73multiply = 0.00025
}
}
}
78on_creation = {
79add_to_global_variable_list = {
80name = iw_italian_leagues_list
81target = root
}
}
85on_disband = {
86remove_list_global_variable = {
86name = iw_italian_leagues_list
86target = root
}
}
93payments_implemented = {
italian_league_sponsor_gold_contribution
italian_league_sponsor_manpower_contribution
}
99can_declare_war = {
100trigger_if = {
101limit = {
101scope:attacker ?= {
101is_member_of_international_organization = scope:recipient
}
}
102scope:defender ?= {
102NOT = {
102is_member_of_international_organization = scope:recipient
}
}
}
104trigger_else = {
105always = yes
}
}
109has_military_access = {
110scope:recipient ?= {
111is_member_of_international_organization = root
}
113scope:actor ?= {
114is_member_of_international_organization = root
}
}
118fleet_basing_rights = {
119scope:recipient ?= {
120is_member_of_international_organization = root
}
122scope:actor ?= {
123is_member_of_international_organization = root
}
}
127gives_food_access_to_members = yes
128can_recruit_regiments_in_members = yes
129can_build_ships_in_members = yes
138create_visible_trigger = {
139always = no
}
142invite_visible_trigger = {
143always = yes
}
146can_lead_trigger = {
}
150can_join_trigger = {
151NOR = {
}
158at_war = no
159is_rebel_country = no
161trigger_if = {
165capital.region = region:italy_region
166country_rank_level < 4
}
168trigger_if = {
169limit = {
169is_subject = no
}
170NOT = {
170has_cooldown = join_a_league
}
}
172trigger_else = {
173custom_tooltip = {
174text = league_subject_can_join_tt Is a loyal Subject of a current member of the Recipient
175scope:recipient ?= {
176any_international_organization_member = {
177root = {
177is_disloyal_subject = no
177is_subject_or_below_of = prev
}
}
}
}
}
}
184on_joined = {
185if = {
186limit = {
}
188remove_country_from_international_organization = root
}
}
191if = {
192limit = {
}
194remove_country_from_international_organization = root
}
}
197if = {
198limit = {
}
200remove_country_from_international_organization = root
}
}
203if = {
204limit = {
}
206remove_country_from_international_organization = root
}
}
209if = {
210limit = {
}
212remove_country_from_international_organization = root
}
}
215if = {
216limit = {
}
218remove_country_from_international_organization = root
}
}
222every_owned_location = {
223limit = {
223region = region:italy_region
}
224scope:recipient = {
225add_location_to_international_organization = prev
}
}
229add_cooldown = {
230type = join_a_league
231years = 2
}
}
235on_left = {
236every_owned_location = {
237limit = {
237region = region:italy_region
}
238scope:recipient = {
239remove_location_from_international_organization = prev
}
}
}
245can_leave_trigger = {
247OR = {
248NOT = {
248is_subject_of = scope:recipient.leader_country
}
249AND = {
250is_subject = yes
251subject_loyalty < 50
}
}
}
256auto_leave_trigger = {
257OR = {
258is_at_war_with = scope:recipient.leader_country
259AND = {
260is_subject = yes
261exists = top_overlord
262NOT = {
263top_overlord = {
263is_member_of_international_organization = scope:recipient
}
}
}
}
}
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
}
}
333add_cooldown = {
334type = join_a_league
335years = 2
}
337root = {
337add_country_to_international_organization = prev
}
}
}
}
342join_defensive_wars_auto_call = {
344scope:recipient ?= {
345OR = {
346this = root.leader_country
347at_war = no
}
349is_subject = no
350NOT = {
351has_special_status_in_international_organization = {
353international_organization = root
}
}
}
357scope:target ?= {
358NOT = {
359is_member_of_international_organization = root
}
361OR = {
}
}
}
370ai_desire_to_join = {
371add = {
372value = 5
373desc = BASE_VALUE Base: Valencia
}
378if = {
382subtract = {
383scope:league_leader_current = {
384root = {
385value = this_trust_of_prev
386multiply = 0.25
}
}
389desc = "LEAGUE_LEADER_CURRENT_TRUST" Their Trust towards League Leader Current
}
391subtract = {
392value = 25
393multiply = "root.relative_strength(scope:league_leader_current)"
394desc = "RELATIVE_STRENGTH_LEAGUE_LEADER_CURRENT" Their Country Strength relative to League Leader Current
}
396add = {
397scope:league_leader_current = {
398root = {
399value = this_opinion_of_prev
400multiply = -0.15
}
}
403desc = "LEAGUE_LEADER_CURRENT_OPINION" Their Opinion of League Leader Current
}
}
408add = {
409scope:actor = {
410root = {
411value = this_trust_of_prev
412multiply = 0.25
}
}
415desc = "TARGET_LEADER_TRUST" Their Trust towards us
}
417subtract = {
418value = 25
419multiply = "root.relative_strength(scope:actor)"
420desc = "TARGET_LEADER_RELATIVE_STRENGTH" Their Country Strength relative to us
}
422add = {
423scope:actor = {
424root = {
425value = this_opinion_of_prev
426multiply = 0.15
}
}
429desc = "TARGET_LEADER_OPINION" Their Opinion of us
}
}
434ai_desire_to_allow_new_member = {
435leader_country = {
435save_temporary_scope_as = target_country
}
436add = {
437desc = "WE_WANT_THE_ORGANIZATION_TO_GROW" We want the International Organization to grow
438value = 10
}
440subtract = {
441desc = "CONQUEST_DESIRE_ON_US" Conquest Desire against us
442value = "scope:target_country.conquer_desire(scope:actor)"
}
444add = {
445scope:actor = {
446scope:target_country = {
447value = this_trust_of_prev
448multiply = 0.25
}
}
451desc = "TARGET_LEADER_TRUST" Their Trust towards us
}
453subtract = {
454value = 25
455multiply = "scope:target_country.relative_strength(scope:actor)"
456desc = "TARGET_LEADER_RELATIVE_STRENGTH" Their Country Strength relative to us
}
458add = {
459scope:actor = {
460scope:target_country = {
461value = this_opinion_of_prev
462multiply = 0.15
}
}
465desc = "TARGET_LEADER_OPINION" Their Opinion of us
}
}





