# Author(s): Deflinok add_namespace = vitebsk_rus #Give weapon to Vitebsk country_event = { id = vitebsk_rus.2 title = vitebsk_rus.2.t desc = vitebsk_rus.2.d picture = GFX_weapons_arms1 is_triggered_only = yes option = { name = vitebsk_rus.2.a log = "[GetDateText]: [This.GetName]: vitebsk_rus.2.a executed" ai_chance = { base = 70 } hidden_effect = { add_equipment_to_stockpile = { type = infantry_weapons_3 amount = -2000 producer = SOV } add_equipment_to_stockpile = { type = transport_helicopter_1 amount = -15 producer = SOV } add_equipment_to_stockpile = { type = cnc_equipment_1 amount = -1000 producer = SOV } add_equipment_to_stockpile = { type = medium_tank_chassis amount = -50 producer = SOV } } set_temp_variable = { percent_change = 7.12 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = VTB } change_influence_percentage = yes VTB = { add_ideas = SOV_support_nov_idea add_equipment_to_stockpile = { type = infantry_weapons_3 amount = 2000 producer = SOV } add_equipment_to_stockpile = { type = transport_helicopter_1 amount = 15 producer = SOV } add_equipment_to_stockpile = { type = cnc_equipment_1 amount = 1000 producer = SOV } add_equipment_to_stockpile = { type = medium_tank_chassis amount = 50 producer = SOV } } } option = { name = vitebsk_rus.2.b log = "[GetDateText]: [This.GetName]: vitebsk_rus.2.b executed" ai_chance = { base = 30 } set_temp_variable = { percent_change = -7.12 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = VTB } change_influence_percentage = yes add_opinion_modifier = { target = VTB modifier = diplomatic_distance } VTB = { add_opinion_modifier = { target = SOV modifier = diplomatic_distance } } } } #Give money to Vitebsk country_event = { id = vitebsk_rus.3 title = vitebsk_rus.3.t desc = vitebsk_rus.3.d picture = GFX_generic_factory is_triggered_only = yes option = { name = vitebsk_rus.3.a log = "[GetDateText]: [This.GetName]: vitebsk_rus.3.a executed" ai_chance = { base = 70 } set_temp_variable = { percent_change = 5.12 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = VTB } change_influence_percentage = yes set_temp_variable = { treasury_change = -20 } modify_treasury_effect = yes VTB = { set_temp_variable = { treasury_change = 20 } modify_treasury_effect = yes } } option = { name = vitebsk_rus.3.b log = "[GetDateText]: [This.GetName]: vitebsk_rus.3.b executed" ai_chance = { base = 30 } set_temp_variable = { percent_change = -5.12 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = VTB } change_influence_percentage = yes add_opinion_modifier = { target = VTB modifier = diplomatic_distance } VTB = { add_opinion_modifier = { target = SOV modifier = diplomatic_distance } } } } #Give weapon to Vitebsk country_event = { id = vitebsk_rus.4 title = vitebsk_rus.4.t desc = vitebsk_rus.4.d picture = GFX_weapons_arms1 is_triggered_only = yes option = { name = vitebsk_rus.4.a log = "[GetDateText]: [This.GetName]: vitebsk_rus.4.a executed" ai_chance = { base = 70 } hidden_effect = { add_equipment_to_stockpile = { type = infantry_weapons_3 amount = -3000 producer = SOV } add_equipment_to_stockpile = { type = artillery_0 amount = -70 producer = SOV } add_equipment_to_stockpile = { type = cnc_equipment_1 amount = -1500 producer = SOV } add_equipment_to_stockpile = { type = Rec_tank_0 amount = -100 producer = SOV } } set_temp_variable = { percent_change = 4.12 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = VTB } change_influence_percentage = yes VTB = { add_equipment_to_stockpile = { type = infantry_weapons_3 amount = 3000 producer = SOV } add_equipment_to_stockpile = { type = artillery_0 amount = 70 producer = SOV } add_equipment_to_stockpile = { type = cnc_equipment_1 amount = 1500 producer = SOV } add_equipment_to_stockpile = { type = Rec_tank_0 amount = 100 producer = SOV } } } option = { name = vitebsk_rus.4.b log = "[GetDateText]: [This.GetName]: vitebsk_rus.4.b executed" ai_chance = { base = 30 } set_temp_variable = { percent_change = -4.12 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = VTB } change_influence_percentage = yes add_opinion_modifier = { target = VTB modifier = diplomatic_distance } VTB = { add_opinion_modifier = { target = SOV modifier = diplomatic_distance } } } } #Hold a referendum on joining Russia country_event = { id = vitebsk_rus.6 title = vitebsk_rus.6.t desc = vitebsk_rus.6.d picture = GFX_treaty is_triggered_only = yes option = { name = vitebsk_rus.6.a log = "[GetDateText]: [This.GetName]: vitebsk_rus.6.a executed" ai_chance = { base = 90 } VTB = { set_country_flag = SUB_russ_polit update_party_name = yes } SOV = { set_autonomy = { target = VTB autonomous_state = autonomy_republic_rf } } if = { limit = { NOT = { has_global_flag = GAME_RULE_eu_disabled } } for_each_scope_loop = { array = global.EU_member tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN if = { limit = { NOT = { tag = ROOT } } add_opinion_modifier = { target = SOV modifier = recent_actions_negative } } } } } option = { name = vitebsk_rus.6.b log = "[GetDateText]: [This.GetName]: vitebsk_rus.6.b executed" ai_chance = { base = 10 } set_temp_variable = { percent_change = -7.12 } set_temp_variable = { tag_index = SOV } set_temp_variable = { influence_target = VTB } change_influence_percentage = yes add_opinion_modifier = { target = VTB modifier = diplomatic_distance } VTB = { add_opinion_modifier = { target = SOV modifier = diplomatic_distance } } } }