
Country InteractionNew this version
Violate Italian Sovereignty
Offer Ducats to an Italian state or League member to defect to our League, regardless of their current allegiance.
Balkan LeagueInternational Organizationselect trigger
French LeagueInternational Organizationselect trigger
Holy Roman LeagueInternational Organizationselect trigger
Iberian LeagueInternational Organizationselect trigger
First Italian LeagueInternational Organizationselect trigger
Second Italian LeagueInternational Organizationselect trigger
Third Italian LeagueInternational Organizationselect trigger
League SponsorSpecial Statusselect trigger
Italian WarsSituationallow, potentialiw_tensionVariableallowDefinitionin_game/common/country_interactions/italian_wars_country_interactions.txt:1
2type = diplomacy
3category = CATEGORY_ACCESS_ACTIONS
5ai_limit_per_check = 1
7ai_prerequisite = {
}
11potential = {
}
25cooldown = {
26type = violate_italian_sovereignty
27years = 1
}
30select_trigger = {
31looking_for_a = country
32target_flag = recipient
33name = "violate_italian_sovereignty_select_country" Who do we wish to poach into our League?
34none_available_msg_key = "violate_italian_sovereignty_no_countries"
35pre_evaluation_sort_value = {
36if = {
36limit = {
36is_during_bankruptcy = yes
}
36add = 100
}
37if = {
37limit = {
37monthly_balance < 0
}
37add = 20
}
}
39pre_evaluation_number_to_evaluate_fully = 3
40column = {
41data = name
}
43column = {
44data = population
}
46visible = {
51at_war = no
52NOT = {
52this = scope:actor
}
54NOR = {
}
}
}
}
75NOT = {
76any_international_organizations_member_of = {
77has_member = root
78international_organization_has_leader = yes
79leader_country = scope:actor
80OR = {}
}
}
91scope:actor = {
92custom_tooltip = {
93text = violate_italian_sovereignty_not_already_full_access_tt We do not already receive both Military Access and Food Access from them
94NAND = {
95receives_military_access_from = root
96receives_food_access_from = root
}
}
}
}
}
103effect = {
104if = {
105limit = {
105exists = scope:recipient
}
106create_relation = {
107type = relation_type:italian_wars_forced_access
108first = scope:actor
109second = scope:recipient
110years = 5
}
112scope:recipient = {
114add_opinion = {
115modifier = opinion_violated_sovereignty
116target = scope:actor
}
}
}
}
122ai_will_do = {
123add = {
124value = -1
125desc = "BASE_VALUE"
}
127if = {
128limit = {
128exists = scope:recipient
}
129if = {
130limit = {
130scope:actor = {
130wants_military_access_in = scope:recipient
}
}
131add = {
132value = 10
133desc = "actor wants access in recipient country"
}
}
136if = {
137limit = {
138scope:recipient = {
138gives_military_access_to = scope:actor
}
}
140subtract = {
141value = 100
142desc = "already has access"
}
}
145subtract = {
146value = scope:recipient.num_locations_owned_or_owned_by_subjects_or_below
147desc = "size of recipient"
}
149if = {
150limit = {
151scope:recipient = {
152NOR = {
153is_rival_of = scope:actor
154is_enemy_of = scope:actor
}
}
}
158subtract = {
159value = 5
160desc = "neither rival nor enemy"
}
}
}
}