
International OrganizationChanged this version
Second Italian League
A league formed around the capital of Second 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
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/italian_league_2.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_2
10member_color = map_iw_italian_2_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
}
}
228add_cooldown = {
229type = join_a_league
230years = 2
}
}
234on_left = {
235every_owned_location = {
236limit = {
236region = region:italy_region
}
237scope:recipient = {
238remove_location_from_international_organization = prev
}
}
}
244can_leave_trigger = {
246OR = {
247NOT = {
247is_subject_of = scope:recipient.leader_country
}
248AND = {
249is_subject = yes
250subject_loyalty < 50
}
}
}
255auto_leave_trigger = {
256OR = {
257is_at_war_with = scope:recipient.leader_country
258AND = {
259is_subject = yes
260exists = top_overlord
261NOT = {
262top_overlord = {
262is_member_of_international_organization = scope:recipient
}
}
}
}
}
268auto_disband_trigger = {
269total_members < 1
}
271disband_minimum_member_count = 0
273monthly_effect = {
274every_international_organization_member = {
275limit = {
276any_subject = {
277NOT = {
277is_member_of_international_organization = root
}
278can_join_international_organization = root
279subject_loyalty >= 50
}
}
282every_subject = {
283limit = {
284NOT = {
284is_member_of_international_organization = root
}
285can_join_international_organization = root
286subject_loyalty >= 50
}
288if = {
289limit = {
}
291remove_country_from_international_organization = prev
}
}
294if = {
295limit = {
}
297remove_country_from_international_organization = prev
}
}
300if = {
301limit = {
}
303remove_country_from_international_organization = prev
}
}
306if = {
307limit = {
}
309remove_country_from_international_organization = prev
}
}
312if = {
313limit = {
}
315remove_country_from_international_organization = prev
}
}
318if = {
319limit = {
}
321remove_country_from_international_organization = prev
}
}
325every_owned_location = {
326limit = {
326region = region:italy_region
}
327root = {
328add_location_to_international_organization = prev
}
}
331add_cooldown = {
332type = join_a_league
333years = 2
}
335root = {
335add_country_to_international_organization = prev
}
}
}
}
340join_defensive_wars_auto_call = {
342scope:recipient ?= {
343OR = {
344this = root.leader_country
345at_war = no
}
347is_subject = no
348NOT = {
349has_special_status_in_international_organization = {
351international_organization = root
}
}
}
355scope:target ?= {
356NOT = {
357is_member_of_international_organization = root
}
359OR = {
}
}
}
368ai_desire_to_join = {
369add = {
370value = 5
371desc = BASE_VALUE Base: Valencia
}
376if = {
380subtract = {
381scope:league_leader_current = {
382root = {
383value = this_trust_of_prev
384multiply = 0.25
}
}
387desc = "LEAGUE_LEADER_CURRENT_TRUST" Their Trust towards League Leader Current
}
389subtract = {
390value = 25
391multiply = "root.relative_strength(scope:league_leader_current)"
392desc = "RELATIVE_STRENGTH_LEAGUE_LEADER_CURRENT" Their Country Strength relative to League Leader Current
}
394add = {
395scope:league_leader_current = {
396root = {
397value = this_opinion_of_prev
398multiply = -0.15
}
}
401desc = "LEAGUE_LEADER_CURRENT_OPINION" Their Opinion of League Leader Current
}
}
406add = {
407scope:actor = {
408root = {
409value = this_trust_of_prev
410multiply = 0.25
}
}
413desc = "TARGET_LEADER_TRUST" Their Trust towards us
}
415subtract = {
416value = 25
417multiply = "root.relative_strength(scope:actor)"
418desc = "TARGET_LEADER_RELATIVE_STRENGTH" Their Country Strength relative to us
}
420add = {
421scope:actor = {
422root = {
423value = this_opinion_of_prev
424multiply = 0.15
}
}
427desc = "TARGET_LEADER_OPINION" Their Opinion of us
}
}
433ai_desire_to_allow_new_member = {
434leader_country = {
434save_temporary_scope_as = target_country
}
435add = {
436desc = "WE_WANT_THE_ORGANIZATION_TO_GROW" We want the International Organization to grow
437value = 10
}
439subtract = {
440desc = "CONQUEST_DESIRE_ON_US" Conquest Desire against us
441value = "scope:target_country.conquer_desire(scope:actor)"
}
443add = {
444scope:actor = {
445scope:target_country = {
446value = this_trust_of_prev
447multiply = 0.25
}
}
450desc = "TARGET_LEADER_TRUST" Their Trust towards us
}
452subtract = {
453value = 25
454multiply = "scope:target_country.relative_strength(scope:actor)"
455desc = "TARGET_LEADER_RELATIVE_STRENGTH" Their Country Strength relative to us
}
457add = {
458scope:actor = {
459scope:target_country = {
460value = this_opinion_of_prev
461multiply = 0.15
}
}
464desc = "TARGET_LEADER_OPINION" Their Opinion of us
}
}





