
Country InteractionChanged this version
Bolster Imperial Army
We will request them to bolster our troops by having them join one of our current Wars.
Holy Roman EmpireInternational Organizationeffect, select trigger 1Definitionin_game/common/country_interactions/hre.txt:2705
2706type = diplomacy
2707category = CATEGORY_HRE_ACTIONS
2708ai_limit_per_check = 5
2709use_enroute = yes
2715allow = {
2716scope:actor = {
2717at_war = yes
}
}
2720select_trigger = {
2721looking_for_a = country
2722target_flag = recipient
2723name = "choose_country" Choose the Country:
2724column = {
2725data = name
}
2727visible = {
2729NOT = {
2729is_at_war_with = scope:actor
}
2730is_subject = no
}
2732enabled = {
2735country = scope:actor
}
}
}
2740select_trigger = {
2741looking_for_a = war
2742source = actor
2743target_flag = target
2744name = "bolster_imperial_army_select_title" Select a War for Recipient to join us
2745none_available_msg_key = "bolster_imperial_army_no_wars"
2746default_sort = select_target_acceptance_total
2747column = {
2748data = name
}
2750column = {
2751data = select_target_acceptance_total
}
2753visible = {
2754NOT = {
2755any_war_participant = {
2756this = scope:recipient
}
}
}
2760enabled = {
2761OR = {
2762AND = {
2763is_an_attacker = scope:actor
2764can_join_as_attacker = scope:recipient
2765custom_tooltip = {
2766text = no_defender_union_with_recipient_tt No defender is in a Union with Recipient
2767trigger_if = {
2768limit = {
2768scope:recipient = {
2768exists = union
}
}
2769NOT = {
2769any_defender = {
2769in_union_with = scope:recipient
}
}
}
}
}
2773AND = {
2774is_a_defender = scope:actor
2775can_join_as_defender = scope:recipient
2776custom_tooltip = {
2777text = no_attacker_union_with_recipient_tt No attacker is in a Union with Recipient
2778trigger_if = {
2779limit = {
2779scope:recipient = {
2779exists = union
}
}
2780NOT = {
2780any_attacker = {
2780in_union_with = scope:recipient
}
}
}
}
}
}
}
}
2787effect = {
2788if = {
2789limit = {
}
}
}
2802else = {
}
2810if = {
2811limit = {
2811exists = scope:target
}
2812scope:recipient = {
2813join_war_with = {
2814target = scope:actor
2815war = scope:target
2816call_in_subjects = yes
2817notify_opposing_side = yes
}
}
}
}
2827reject_effect = {
2829key = bolster_imperial_army
2830target = scope:recipient
}
}
2834ai_will_do = {
2835if = {
2836limit = {
2838key = bolster_imperial_army
2839target = scope:recipient
}
}
2844subtract = {
2845desc = "DIPLOREASON_THEY_REJECTED_DEMAND_ALREADY"
2846value = 10000
}
}
2849else = {
2850add = {
2851desc = "TARGET_ACCEPTANCE"
2852value = "scope:actor.country_interaction_acceptance(country_interaction:bolster_imperial_army|scope:recipient)"
}
2856if = {
2857limit = {
2858exists = scope:target
2859scope:actor = {
2860war_score_in_war_whole_side = {
2860war = scope:target
2860value >= 25
}
}
}
2863subtract = {
2864desc = "DIPLOREASON_IS_WINNING"
2865value = 1000
}
}
}
}
2870accept = {
2871subtract = {
2872desc = "VOTE_BASE_VALUE" Base Value
2873value = 25
}
2876if = {
2877limit = {
2877scope:recipient = {
2877at_war = yes
}
}
2878subtract = {
2879desc = "DIPLOREASON_RECIPIENT_AT_WAR" TARGET COUNTRY is at war
2880value = 100
}
}
2883if = {
2884limit = {
2884scope:recipient = {
2884is_during_bankruptcy = yes
}
}
2885subtract = {
2886desc = "IS_BANKRUPT_TOOLTIP" Is Bankrupt
2887value = 1000
}
}
2890if = {
2891limit = {
2891scope:recipient = {
2891has_any_active_disaster = yes
}
}
2892subtract = {
2893desc = "DIPLOREASON_RECIPIENT_IS_IN_A_DISASTER" TARGET COUNTRY is experiencing a Disaster
2894value = 100
}
}
2897subtract = {
2898desc = "DIPLOREASON_RECIPIENT_WAR_EXHAUSTION" Their War Exhaustion
2899value = "scope:recipient.war_exhaustion"
2900multiply = 20
}
2902if = {
2903limit = {
2904scope:recipient = {
2904stability < 0
}
}
2906add = {
2907desc = "DIPLOREASON_RECIPIENT_STABILITY" Their Stability
2908value = "scope:recipient.stability"
2909multiply = 4
}
}
2912if = {
2913limit = {
2914scope:recipient = {
2914government_power < 50
}
}
2916add = {
2917desc = "DIPLOREASON_RECIPIENT_GOVERNMENT_POWER" Their Government Power
2918value = "scope:recipient.government_power"
2919subtract = 50
2920multiply = 4
}
}
2923subtract = {
2924desc = "DIPLOREASON_RECIPIENT_LOANS" Their Loans
2925value = "scope:recipient.num_loans"
2926multiply = 25
}
2928if = {
2929limit = {
2930scope:recipient = {
2931monthly_balance < 0
}
}
2934subtract = {
2935desc = "DIPLOREASON_RECIPIENT_NEGATIVE_BALANCE" Their negative monthly balance
2936value = 50
}
}
}