
Country InteractionNew this version
Bribe into League
Offer Ducats to an Italian state not yet in any League, enticing them to join ours.
Balkan LeagueInternational Organizationeffect, price modifier, select trigger 1
French LeagueInternational Organizationeffect, price modifier, select trigger 1
Holy Roman LeagueInternational Organizationeffect, price modifier, select trigger 1
Iberian LeagueInternational Organizationeffect, price modifier, select trigger 1
First Italian LeagueInternational Organizationaccept, effect, price modifier, select trigger 1
Second Italian LeagueInternational Organizationaccept, effect, price modifier, select trigger 1
Third Italian LeagueInternational Organizationaccept, effect, price modifier, select trigger 1
Monthly PrestigeModifier Typeai prerequisite
Italian WarsSituationpotentialiw_tensionVariablepotentialDefinitionin_game/common/country_interactions/italian_wars_country_interactions.txt:167
168type = diplomacy
169category = CATEGORY_ECONOMY_ACTIONS
171ai_limit_per_check = 1
173ai_prerequisite = {
174monthly_balance > 5
175num_loans < 1
176prestige > 10
}
188potential = {
189trigger_if = {
}
201trigger_else = {
201always = no
}
}
209cooldown = {
210type = italian_wars_bribe_country
211years = 5
}
214price = price:bribe_voter_for_policy
215price_modifier = {
216add = {
217value = 1
218desc = "BASE_VALUE" Base: Valencia
}
220if = {
221limit = {
222scope:actor = {
}
}
224add = {
225desc = "size_of_our_league_tt" Size of our League
227multiply = 0.1
228subtract = 0.1
}
}
231if = {
232limit = {
233scope:actor = {
}
}
235add = {
236desc = "size_of_our_league_tt" Size of our League
238multiply = 0.1
239subtract = 0.1
}
}
242if = {
243limit = {
244scope:actor = {
}
}
246add = {
247desc = "size_of_our_league_tt" Size of our League
249multiply = 0.1
250subtract = 0.1
}
}
253if = {
254limit = {
255scope:actor = {
}
}
257add = {
258desc = "size_of_our_league_tt" Size of our League
260multiply = 0.1
261subtract = 0.1
}
}
264if = {
265limit = {
266scope:actor = {
}
}
268add = {
269desc = "size_of_our_league_tt" Size of our League
271multiply = 0.1
272subtract = 0.1
}
}
275if = {
276limit = {
277scope:actor = {
}
}
279add = {
280desc = "size_of_our_league_tt" Size of our League
282multiply = 0.1
283subtract = 0.1
}
}
286if = {
287limit = {
288scope:actor = {
}
}
290add = {
291desc = "size_of_our_league_tt" Size of our League
293multiply = 0.1
294subtract = 0.1
}
}
}
298payee = scope:recipient
301select_trigger = {
302looking_for_a = country
303target_flag = recipient
304name = "italian_wars_bribe_country_select_country" Who do we wish to bribe into the League?
305none_available_msg_key = "italian_wars_bribe_country_no_countries"
306pre_evaluation_sort_value = {
308if = {
308limit = {
308is_during_bankruptcy = yes
}
308add = 100
}
309if = {
309limit = {
309monthly_balance < 0
}
309add = 20
}
}
311pre_evaluation_number_to_evaluate_fully = 3
312column = {
313data = name
}
315column = {
316data = population
}
318visible = {
319capital.region = region:italy_region
320NOT = {
320this = scope:actor
}
322NOT = {
322has_cooldown = join_a_league
}
323NOT = {
324any_international_organizations_member_of = {
325has_member = root
326international_organization_has_leader = yes
327leader_country = scope:actor
328OR = {}
}
}
}
340enabled = {
341at_war = no
342is_subject = no
343custom_tooltip = {
344text = is_not_leader_of_any_leagues_tt Is not a leader of any Leagues
}
347scope:actor = {
348gold > root.monthly_income_total
}
}
}
354select_trigger = {
355looking_for_a = value
356target_flag = target_value
357name = "italian_wars_bribe_country_select_gold_amount" How much Ducats do we offer?
358min = 1
359max = scope:actor.gold
360step = scope:recipient.monthly_income_total
361default = {
362value = scope:recipient.monthly_income_total
363multiply = 6
}
365ai_override_value = {
366value = scope:recipient.monthly_income_total
367multiply = 6
}
}
371effect = {
372if = {
373limit = {
373exists = scope:recipient
}
374custom_tooltip = {
375text = recipient_wont_be_able_to_join_another_league_tt Recipient will NOT be able to join any other League for the next 2 Years
376scope:recipient = {
377add_cooldown = {
378type = join_a_league
379years = 2
}
}
}
383if = {
384limit = {
384exists = scope:target_value
}
385scope:actor = {
386add_gold = {
387value = scope:target_value
388multiply = -1
}
}
391scope:recipient = {
392add_gold = scope:target_value
}
}
395scope:actor = {
396random_international_organizations_member_of = {
397limit = {
398leader_country ?= scope:actor
399OR = {}
}
409add_country_to_international_organization = scope:recipient
}
}
}
}
414reject_effect = {
415if = {
416limit = {
416exists = scope:recipient
}
417scope:actor = {
418add_opinion = {
419target = scope:recipient
420modifier = opinion_rejected_bribe_voter_for_policy
}
}
}
}
426ai_will_do = {
427if = {
428limit = {
428exists = scope:recipient
}
429add = {
430value = scope:recipient.num_locations_owned_or_owned_by_subjects_or_below
431desc = "location number of recipient and subjects"
}
}
435if = {
436limit = {
437exists = scope:target_value
}
440add = {
441desc = "OFFERED_GOLD" Offered Ducats
442value = {
443value = scope:target_value
444divide = 4
445subtract = {
446value = scope:recipient.monthly_income_total
447multiply = 3
}
}
}
}
}
454diplo_chance = {
455base = 5
456in_debt = 5
}
459accept = {
460if = {
461limit = {
462scope:recipient = {
463monthly_balance < 0
}
}
466add = {
467desc = "IN_DEFICIT" Makes a deficit
468value = 10
}
}
471if = {
472limit = {
473scope:recipient = {
474is_during_bankruptcy = yes
}
}
477add = {
478desc = "IS_BANKRUPT_TOOLTIP" Is Bankrupt
479value = 1000
}
}
482if = {
483limit = {
483exists = scope:target_value
}
484add = {
485desc = "OFFERED_GOLD" Offered Ducats
486value = {
487value = scope:target_value
488divide = 8
}
}
}
494add = {
495desc = "TARGET_LEADER_TRUST" Their Trust towards us
496scope:actor = {
497scope:recipient = {
498value = this_trust_of_prev
499multiply = 0.25
}
}
}
503subtract = {
504desc = "TARGET_LEADER_RELATIVE_STRENGTH" Their Country Strength relative to us
505value = 25
506multiply = "scope:recipient.relative_strength(scope:actor)"
}
508add = {
509desc = "TARGET_LEADER_OPINION" Their Opinion of us
510scope:actor = {
511scope:recipient = {
512value = this_opinion_of_prev
513multiply = 0.15
}
}
}
519if = {
521if = {
522limit = {
522scope:recipient = {
}
}
523save_temporary_scope_as = league_leader_current
}
}
525else_if = {
526limit = {
526scope:recipient = {
}
}
527save_temporary_scope_as = league_leader_current
}
}
529else_if = {
530limit = {
530scope:recipient = {
}
}
531save_temporary_scope_as = league_leader_current
}
}
533if = {
534limit = {
534exists = scope:league_leader_current
}
535subtract = {
536desc = "LEAGUE_LEADER_CURRENT_TRUST" Their Trust towards League Leader Current
537scope:league_leader_current = {
538scope:recipient = {
539value = this_trust_of_prev
540multiply = 0.25
}
}
}
544subtract = {
545desc = "RELATIVE_STRENGTH_LEAGUE_LEADER_CURRENT" Their Country Strength relative to League Leader Current
546value = 25
547multiply = "scope:recipient.relative_strength(scope:league_leader_current)"
}
549add = {
550desc = "LEAGUE_LEADER_CURRENT_OPINION" Their Opinion of League Leader Current
551scope:league_leader_current = {
552scope:recipient = {
553value = this_opinion_of_prev
554multiply = -0.15
}
}
}
}
}
}