贿赂加入联盟
国家互动本版本新增

贿赂加入联盟

italian_wars_bribe_countryin_game/common/country_interactions/italian_wars_country_interactions.txt:167

向尚未加入任何联盟的意大利国家提供杜卡特,引诱其加入我们。

需要巴尔干联盟国际组织effect, price modifier, select trigger 1法兰西联盟国际组织effect, price modifier, select trigger 1神圣罗马联盟国际组织effect, price modifier, select trigger 1伊比利亚联盟国际组织effect, price modifier, select trigger 1第一意大利联盟国际组织accept, effect, price modifier, select trigger 1第二意大利联盟国际组织accept, effect, price modifier, select trigger 1第三意大利联盟国际组织accept, effect, price modifier, select trigger 1每月威望修正类型ai prerequisite意大利战争局势potentialiw_tension变量potential

定义in_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
177trigger_if = {
178limit = {
179prestige < 20
}
}
183trigger_else = {
}
}
188potential = {
189trigger_if = {
190limit = {
192situation_is_active = yes
193has_variable = iw_tension
}
}
197situation_is_active = yes
}
}
201trigger_else = {
201always = no
}
}
204allow = {
205scope:actor = {
205at_war = no
}
206scope:actor = {
}
}
209cooldown = {
210type = italian_wars_bribe_country
211years = 5
}
214price = price:bribe_voter_for_policy
215price_modifier = {
216add = {
217value = 1
218desc = "BASE_VALUE" 基础:巴伦西亚
}
220if = {
221limit = {
222scope:actor = {
222is_leader_of_international_organization = international_organization:italian_league_1
}
}
224add = {
225desc = "size_of_our_league_tt" 我们的联盟的规模
227multiply = 0.1
228subtract = 0.1
}
}
231if = {
232limit = {
233scope:actor = {
233is_leader_of_international_organization = international_organization:italian_league_2
}
}
235add = {
236desc = "size_of_our_league_tt" 我们的联盟的规模
238multiply = 0.1
239subtract = 0.1
}
}
242if = {
243limit = {
244scope:actor = {
244is_leader_of_international_organization = international_organization:italian_league_3
}
}
246add = {
247desc = "size_of_our_league_tt" 我们的联盟的规模
249multiply = 0.1
250subtract = 0.1
}
}
253if = {
254limit = {
255scope:actor = {
255is_leader_of_international_organization = international_organization:foreign_league_france
}
}
257add = {
258desc = "size_of_our_league_tt" 我们的联盟的规模
260multiply = 0.1
261subtract = 0.1
}
}
264if = {
265limit = {
266scope:actor = {
266is_leader_of_international_organization = international_organization:foreign_league_hre
}
}
268add = {
269desc = "size_of_our_league_tt" 我们的联盟的规模
271multiply = 0.1
272subtract = 0.1
}
}
275if = {
276limit = {
277scope:actor = {
277is_leader_of_international_organization = international_organization:foreign_league_iberia
}
}
279add = {
280desc = "size_of_our_league_tt" 我们的联盟的规模
282multiply = 0.1
283subtract = 0.1
}
}
286if = {
287limit = {
288scope:actor = {
288is_leader_of_international_organization = international_organization:foreign_league_balkan
}
}
290add = {
291desc = "size_of_our_league_tt" 我们的联盟的规模
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" 我们要贿赂谁加入联盟?
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
}
321NOT = {
}
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 不是任何联盟的领袖
}
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" 我们要出多少杜卡特?
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在接下来的2年内不会加入其他任何联盟
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" 提供杜卡特
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" 造成赤字
468value = 10
}
}
471if = {
472limit = {
473scope:recipient = {
474is_during_bankruptcy = yes
}
}
477add = {
478desc = "IS_BANKRUPT_TOOLTIP" 破产
479value = 1000
}
}
482if = {
483limit = {
483exists = scope:target_value
}
484add = {
485desc = "OFFERED_GOLD" 提供杜卡特
486value = {
487value = scope:target_value
488divide = 8
}
}
}
494add = {
495desc = "TARGET_LEADER_TRUST" 他们对我们的信任度
496scope:actor = {
497scope:recipient = {
498value = this_trust_of_prev
499multiply = 0.25
}
}
}
503subtract = {
504desc = "TARGET_LEADER_RELATIVE_STRENGTH" 他们与我们的相对国家实力
505value = 25
506multiply = "scope:recipient.relative_strength(scope:actor)"
}
508add = {
509desc = "TARGET_LEADER_OPINION" 他们对我们的好感
510scope:actor = {
511scope:recipient = {
512value = this_opinion_of_prev
513multiply = 0.15
}
}
}
519if = {
520limit = {
520scope:recipient = {
}
}
521if = {
522limit = {
522scope:recipient = {
522is_member_of_international_organization = international_organization:italian_league_1
}
}
523save_temporary_scope_as = league_leader_current
}
}
525else_if = {
526limit = {
526scope:recipient = {
526is_member_of_international_organization = international_organization:italian_league_2
}
}
527save_temporary_scope_as = league_leader_current
}
}
529else_if = {
530limit = {
530scope:recipient = {
530is_member_of_international_organization = international_organization:italian_league_3
}
}
531save_temporary_scope_as = league_leader_current
}
}
533if = {
534limit = {
534exists = scope:league_leader_current
}
535subtract = {
536desc = "LEAGUE_LEADER_CURRENT_TRUST" 他们对League Leader Current的信任度
537scope:league_leader_current = {
538scope:recipient = {
539value = this_trust_of_prev
540multiply = 0.25
}
}
}
544subtract = {
545desc = "RELATIVE_STRENGTH_LEAGUE_LEADER_CURRENT" 他们与League Leader Current的相对国家实力
546value = 25
547multiply = "scope:recipient.relative_strength(scope:league_leader_current)"
}
549add = {
550desc = "LEAGUE_LEADER_CURRENT_OPINION" 他们对League Leader Current的好感
551scope:league_leader_current = {
552scope:recipient = {
553value = this_opinion_of_prev
554multiply = -0.15
}
}
}
}
}
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明