add_namespace = russia
add_namespace = russia_news
add_namespace = sov_vybory
add_namespace = russia_med
add_namespace = rusboloto
add_namespace = sov_other
add_namespace = sov_furgal
add_namespace = sov_girkin
add_namespace = sov_communists
add_namespace = sov_final_strike
add_namespace = sov_student_rallies
add_namespace = sov_warsaw_pact
add_namespace = sov_sover_state
add_namespace = sov_medvedev
add_namespace = sov_oligarchs
add_namespace = sov_liberals
add_namespace = sov_liberals_news
add_namespace = sov_just_russia
add_namespace = sov_dissolution
add_namespace = sov_economic
add_namespace = sov_gru
add_namespace = russia_governorate
add_namespace = sov_nationalists
add_namespace = sov_nationalists_news
add_namespace = sov_nazbol

#Russian Invites [From.ThisGetName] to Faction
country_event = {
	id = russia.0
	title = russia.0.t
	desc = russia.0.d
	picture = GFX_political_deal
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Accept
		name = russia.0.o1
		log = "[GetDateText]: [This.GetName]: russia.0.o1 executed"
		if = { limit = { is_in_faction = yes }
			leave_faction = yes
		}
		SOV = {
			add_to_faction = PREV
			country_event = diplomatic_response.1
		}
		add_ideas = S0V_russian_sphere_idea
		ai_chance = {
			base = 50
			modifier = {
				has_government = nationalist
				factor = 50
			}
			modifier = {
				has_opinion = { target = SOV value > 20 }
				add = 10
			}
		}
	}

	option = { #Never
		name = russia.0.o2
		log = "[GetDateText]: [This.GetName]: russia.0.o2 executed"
		SOV = { country_event = diplomatic_response.2 }
		ai_chance = {
			base = 50
			modifier = {
				NOT = { SOV_targeted_country_has_more_than_10_percent_influence = yes }
				add = -10
			}
			modifier = {
				NOT = { SOV_targeted_country_has_more_than_20_percent_influence = yes }
				add = -15
			}
			modifier = {
				NOT = { SOV_targeted_country_has_more_than_30_percent_influence = yes }
				add = -20
			}
			modifier = {
				has_opinion = { target = SOV value < 0 }
				add = -5
			}
			modifier = {
				has_government = democratic
				factor = 50
			}
		}
	}
}
#Kursk Submarine Disaster
country_event = {
	id = russia.1
	title = russia.1.t
	desc = russia.1.d
	picture = GFX_submarine
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Horrible!
		name = russia.1.o1
		log = "[GetDateText]: [This.GetName]: russia.1.o1 executed"
		navy_experience = 2
		add_stability = -0.02
		add_political_power = -10
		add_manpower = -118

		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		news_event = {
			hours = 6
			id = russia_news.50
		}
	}
}

#Faction members (not Belarus): Russian imperialism
country_event = {
	id = russia.5
	title = russia.5.t
	desc = russia.5.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = { #We will turn our back on Russia
		name = russia.5.o1
		log = "[GetDateText]: [This.GetName]: russia.5.o1 executed"
		ai_chance = {
			base = 75
			modifier = {
				NOT = { SOV_targeted_country_has_more_than_10_percent_influence = yes }
				add = -10
			}
			modifier = {
				NOT = { SOV_targeted_country_has_more_than_20_percent_influence = yes }
				add = -15
			}
			modifier = {
				NOT = { SOV_targeted_country_has_more_than_30_percent_influence = yes }
				add = -20
			}
		}
		SOV = { remove_from_faction = ROOT }
	}

	option = { #Loyalty must stay in place
		name = russia.5.o2
		log = "[GetDateText]: [This.GetName]: russia.5.o2 executed"
		ai_chance = {
			base = 25
			modifier = {
				SOV_targeted_country_has_more_than_10_percent_influence = yes
				add = 5
			}
			modifier = {
				SOV_targeted_country_has_more_than_20_percent_influence = yes
				add = 10
			}
			modifier = {
				SOV_targeted_country_has_more_than_30_percent_influence = yes
				add = 30
			}
		}
		add_political_power = -100
		set_temp_variable = { percent_change = 2 }
		set_temp_variable = { tag_index = SOV.id }
		change_influence_percentage = yes
	}
}

#Russia invades Crimea!
country_event = {
	id = russia.7
	title = russia.7.t
	desc = russia.7.d
	picture = GFX_SOV_generic
	is_triggered_only = yes
	fire_only_once = yes

	# We shall stand down.
	option = {
		name = russia.7.o1
		log = "[GetDateText]: [This.GetName]: russia.7.o1 executed"
		SOV = {
			country_event = { id = russia.8 days = 1 }
			transfer_state = 669
			669 = { add_core_of = SOV }
		}
		ai_chance = { base = 75 }
	}

	option = { #We will stand and fight!
		name = russia.7.o2
		log = "[GetDateText]: [This.GetName]: russia.7.o2 executed"
		FROM = {
			country_event = { id = russia.9 days = 1 }
		}
		effect_tooltip = {
			FROM = {
				declare_war_on = {
					target = ROOT
					type = take_state_focus
					generator = { 669 }
				}
			}
		}
		ai_chance = {
			base = 25
			modifier = {
				is_historical_focus_on = yes
				add = 10
			}
		}
	}
}

#Russia: Ukraine folds Crimea.
country_event = {
	id = russia.8
	title = russia.8.t
	desc = russia.8.d
	picture = GFX_SOV_generic
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Excellent
		name = russia.8.o1
		log = "[GetDateText]: [This.GetName]: russia.8.o1 executed"
		effect_tooltip = {
			SOV = {
				transfer_state = 669
				add_state_core = 669
			}
		}
		add_named_threat = {
			threat = 6
			name = threat_SOV_annexiation_of_crimea
		}
		hidden_effect = {
			add_opinion_modifier = {
				target = SOV
				modifier = annexed_ukraine
			}
			add_opinion_modifier = {
				target = SOV
				modifier = annexed_ukraine_trade
			}
			add_opinion_modifier = {
				target = FROM
				modifier = annexed_ukraine_trade
			}
		}
	}
}
#Russia: Ukraine resists.
country_event = {
	id = russia.9
	title = russia.9.t
	desc = russia.9.d
	picture = GFX_SOV_generic
	is_triggered_only = yes
	fire_only_once = yes

	option = { #They know very well what the consequence is.
		name = russia.9.o1
		log = "[GetDateText]: [This.GetName]: russia.9.o1 executed"
		declare_war_on = {
			target = FROM
			type = take_state_focus
			generator = { 669 }
		}
		ai_chance = {
			base = 100
		}
	}
}

###Russian Investments
##Anti BSB
country_event = {
	id = russia.15
	title = russia.15.t
	desc = russia.15.d
	picture = GFX_sov_antibsb
	is_triggered_only = yes

	##Scotch has banned
	option = { name = russia.15.o1 }
}
##Play DPR,LPR or HPR
country_event = {
	id = russia.16
	title = russia.16.t
	desc = russia.16.d
	picture = GFX_sov_russianspring
	is_triggered_only = yes

	##Play DPR
	option = {
		name = russia.16.o1
		log = "[GetDateText]: [This.GetName]: russia.16.o1 executed"
		DPR = { change_tag_from = SOV }
		trigger = { country_exists = DPR }
	}

	option = {
		name = russia.16.o2
		log = "[GetDateText]: [This.GetName]: russia.16.o2 executed"
		LPR = { change_tag_from = SOV }
		trigger = { country_exists = LPR }
	}

	option = {
		name = russia.16.o4
		log = "[GetDateText]: [This.GetName]: russia.16.o4 executed"
		HPR = { change_tag_from = SOV }
		trigger = { country_exists = HPR }
	}

	option = { name = russia.16.o5 }

	##Play LPR
	##Play HPR
	##Play No
}
# Referendum in Chechnya
country_event = {
	id = russia.29
	title = russia.29.t
	desc = russia.29.d
	picture = GFX_referendum_chechnya
	is_triggered_only = yes

	option = {
		name = russia.29.o1
		log = "[GetDateText]: [This.GetName]: russia.29.o1 executed"
		hidden_effect = {
			if = { limit = { NOT = { country_exists = CHE } }
				release = CHE
			}
		}
		CHE = {
			set_country_flag = SOV_subject_republic
			transfer_state = 672
			add_state_core = 672
		}
		set_autonomy = {
			target = CHE
			autonomy_state = autonomy_republic_rf
		}
		hidden_effect = {
			add_state_core = 672
			CHE = {
				set_temp_variable = { rul_party_temp = 6 }
				set_temp_variable = { change_leader_temp = 1 }
				change_ruling_party_effect = yes
				if = { limit = { is_ai = yes }
					set_temp_variable = { party_index = 6 }
					set_temp_variable = { party_popularity_increase = 0.35 }
					set_temp_variable = { temp_outlook_increase = 0.35 }
					change_relative_party_popularity = yes
				}
				add_ideas = SUB_small_taxes
			}
			set_temp_variable = { modify_subjectnalogs = 3 }
			modify_subjectnalogs_support = yes
			SUB_separatism_plus_subject = yes
		}
		ai_chance = { base = 100 }
	}

	option = {
		name = russia.29.o2
		log = "[GetDateText]: [This.GetName]: russia.29.o2 executed"
		hidden_effect = {
			if = { limit = { NOT = { country_exists = CHE } }
				release = CHE
			}
		}
		CHE = {
			set_country_flag = SOV_subject_republic
			transfer_state = 672
			add_state_core = 672
		}
		set_autonomy = {
			target = CHE
			autonomy_state = autonomy_republic_rf
		}
		hidden_effect = {
			add_state_core = 672
			CHE = {
				set_temp_variable = { rul_party_temp = 6 }
				set_temp_variable = { change_leader_temp = 1 }
				change_ruling_party_effect = yes
				add_ideas = SUB_small_taxes
			}
			set_temp_variable = { modify_subjectnalogs = 3 }
			modify_subjectnalogs_support = yes
			SUB_separatism_plus_subject = yes
		}
		ai_chance = { base = 0 }
	}
}

#Sayano Shushinskaya PW Accident
country_event = {
	id = russia.30
	title = russia.30.t
	desc = russia.30.d
	picture = GFX_burning_oil_refinery
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		tag = SOV
	}

	option = {
		name = russia.30.o1
		log = "[GetDateText]: [This.GetName]: russia.30.o1 executed"
		set_temp_variable = { treasury_change = -8 }
		modify_treasury_effect = yes
		add_political_power = -75
		news_event = { hours = 6 id = russia_news.6 }
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = russia.30.o2
		log = "[GetDateText]: [This.GetName]: russia.30.o2 executed"
		add_stability = -0.03
		add_political_power = -100
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		news_event = { hours = 6 id = russia_news.6 }
		ai_chance = {
			base = 5
			modifier = {
				factor = 0
				has_stability < 0.25
			}
		}
	}
}

country_event = {
	id = russia.32
	title = russia.32.t
	desc = russia.32.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	option = {
		name = russia.32.o1
		log = "[GetDateText]: [This.GetName]: russia.32.o1 executed"
		one_random_arms_factory = yes
		SOV = {
			one_random_arms_factory = yes
			set_temp_variable = { percent_change = 2 }
			set_temp_variable = { tag_index = SOV }
			set_temp_variable = { influence_target = ROOT }
			change_influence_percentage = yes
			country_event = { id = russia.38 days = 1 }
		}
		set_temp_variable = { percent_change = 2 }
		set_temp_variable = { tag_index = ROOT }
		set_temp_variable = { influence_target = SOV }
		change_influence_percentage = yes
		ai_chance = { base = 50 }
	}

	option = {
		name = russia.32.o2
		log = "[GetDateText]: [This.GetName]: russia.32.o2 executed"
		add_opinion_modifier = {
			target = SOV
			modifier = medium_decrease
		}
		SOV = {
			country_event = { id = russia.39 days = 1 }
		}
		ai_chance = { base = 20 }
	}
}
### Ukrainian Coup
country_event = {
	id = russia.33
	title = russia.33.t
	desc = russia.33.d
	picture = GFX_special_forces
	is_triggered_only = yes

	option = {
		name = russia.33.o1
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = russia.34
	title = russia.34.t
	desc = russia.34.d
	picture = GFX_russia_crimea_troops
	is_triggered_only = yes

	option = {
		name = russia.34.o1
		log = "[GetDateText]: [This.GetName]: russia.34.o1 executed"
		hidden_effect = {
			news_event = {
				hours = 6
				id = russia_news.9
			}
		}
		ai_chance = { base = 20 }
	}
}
country_event = {
	id = russia.35
	title = russia.35.t
	desc = russia.35.d
	picture = GFX_special_forces
	is_triggered_only = yes

	option = {
		name = russia.35.o1
		log = "[GetDateText]: [This.GetName]: russia.35.o1 executed"
		hidden_effect = {
			news_event = {
				hours = 6
				id = russia_news.10
			}
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = russia.38
	title = russia.38.t
	desc = russia.38.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = russia.38.o1 }
}
country_event = {
	id = russia.39
	title = russia.39.t
	desc = russia.39.d
	picture = GFX_declined_offer_no
	is_triggered_only = yes

	option = { name = russia.39.o1 }
}
#TOS Export
country_event = {
	id = russia.41
	title = russia.41.t
	desc = russia.41.d
	picture = GFX_tosochka
	is_triggered_only = yes

	option = {
		name = russia.41.o1
		log = "[GetDateText]: [This.GetName]: russia.41.o1 executed"
		ai_chance = { base = 90 }
		set_temp_variable = { treasury_change = -10 }
		modify_treasury_effect = yes
		add_equipment_to_stockpile = {
			type = medium_tank_rocket_chassis_1
			variant_name = "TOS-1"
			amount = 8
		}
		SOV = { country_event = russia.44 }
	}

	option = {
		name = russia.41.o2
		log = "[GetDateText]: [This.GetName]: russia.41.o2 executed"
		ai_chance = { base = 10 }
		SOV = { country_event = russia.45 }
	}
}
country_event = {
	id = russia.44
	title = russia.44.t
	desc = russia.44.d
	picture = GFX_tosochka
	is_triggered_only = yes

	option = {
		name = russia.44.a
		log = "[GetDateText]: [This.GetName]: russia.44.a executed"
		set_temp_variable = { treasury_change = 10 }
		modify_treasury_effect = yes
	}
}
country_event = {
	id = russia.45
	title = russia.45.t
	desc = russia.45.d
	picture = GFX_tosochka
	is_triggered_only = yes

	option = { name = russia.45.a }
}
#Tanks Export
country_event = {
	id = russia.46
	title = russia.46.t
	desc = russia.46.d
	picture = GFX_t90
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = russia.46.o1
		log = "[GetDateText]: [This.GetName]: russia.46.o1 executed"
		ai_chance = { base = 90 }
		set_temp_variable = { treasury_change = -20 }
		modify_treasury_effect = yes
		if = {
			limit = { has_dlc = "No Step Back" }
			add_equipment_to_stockpile = {
				type = medium_tank_chassis_0
				amount = 100
				producer = SOV
			}
		}
		else = {
			add_equipment_to_stockpile = {
				type = MBT_2
				amount = 100
				producer = SOV
			}
		}
		SOV = { country_event = russia.47 }
	}

	option = {
		name = russia.46.o2
		log = "[GetDateText]: [This.GetName]: russia.46.o2 executed"
		ai_chance = { base = 10 }
		SOV = { country_event = russia.48 }
	}
}
country_event = {
	id = russia.47
	title = russia.47.t
	desc = russia.47.d
	picture = GFX_t90
	is_triggered_only = yes

	option = {
		name = russia.47.a
		log = "[GetDateText]: [This.GetName]: russia.47.a executed"
		set_temp_variable = { treasury_change = 20 }
		modify_treasury_effect = yes
	}
}
country_event = {
	id = russia.48
	title = russia.48.t
	desc = russia.48.d
	picture = GFX_t90
	is_triggered_only = yes

	option = { name = russia.48.a }
}
#Aze vs Armenia choose
country_event = {
	id = russia.49
	title = russia.49.t
	desc = russia.49.d
	picture = GFX_army_arm_flag
	is_triggered_only = yes

	option = {
		name = russia.49.a
		log = "[GetDateText]: [This.GetName]: russia.49.a executed"
		set_country_flag = demsov_supp_arm
		ARM = {
			add_stability = 0.05
			add_popularity = {
				ideology = democratic
				popularity = 0.10
			}
		}
		NKR = {
			add_stability = 0.05
			add_popularity = {
				ideology = democratic
				popularity = 0.10
			}
		}
	}

	option = {
		name = russia.49.b
		log = "[GetDateText]: [This.GetName]: russia.49.b executed"
		set_country_flag = demsov_supp_aze
		AZE = {
			add_stability = 0.05
			add_popularity = {
				ideology = democratic
				popularity = 0.10
			}
		}
	}
}
#Puppet
country_event = {
	id = russia.51
	title = russia.51.t
	desc = russia.51.d
	picture = GFX_generic_soldiers
	is_triggered_only = yes

	option = {
		name = russia.51.a
		log = "[GetDateText]: [This.GetName]: russia.51.a executed"
		SOV = {
			if = {
				limit = { has_global_flag = GAME_RULE_allow_colored_puppets }
				set_autonomy = {
					target = ROOT
					autonomy_state = autonomy_puppet_state_colored
					end_wars = no
					end_civil_wars = no
				}
			}
			else = {
				set_autonomy = {
					target = ROOT
					autonomy_state = autonomy_puppet_state
					end_wars = no
					end_civil_wars = no
				}
			}
		}
	}
}
#Baikal
country_event = {
	id = russia.52
	title = russia.52.t
	desc = russia.52.d
	picture = GFX_denmark_conservatives
	is_triggered_only = yes

	option = {
		name = russia.52.a
		log = "[GetDateText]: [This.GetName]: russia.52.a executed"
		ai_chance = {
			base = 70
			modifier = {
				has_opinion = { target = TAI value > 50 }
				add = 30
			}
		}
		hidden_effect = { SOV = { add_ideas = SOV_i_blin_idea } }
		random_owned_controlled_state = {
			add_resource = {
				type = oil
				amount = 3
			}
			add_resource = {
				type = oil
				amount = 2
			}
		}
	}

	option = {
		name = russia.52.b
		log = "[GetDateText]: [This.GetName]: russia.52.b executed"
		ai_chance = {
			base = 30
			modifier = {
				has_opinion = { target = TAI value < 50 }
				add = -30
			}
		}
		SOV = { country_event = russia.53 }
	}
}
country_event = {
	id = russia.53
	title = russia.53.t
	desc = russia.53.d
	picture = GFX_olsen
	is_triggered_only = yes

	option = { name = russia.53.a }
}

##VKS Founded
country_event = {
	id = russia.54
	title = russia.54.t
	desc = russia.54.d
	picture = GFX_generic_soldiers
	is_triggered_only = yes

	#picture =
	option = {
		name = russia.54.a
		log = "[GetDateText]: [This.GetName]: russia.54.a"
		add_war_support = 0.05
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SOV_airforce_modifier }
		add_to_variable = { SOV_air_air_training_xp_gain_factor = 0.10 tooltip = air_training_xp_gain_factor_tt }
		add_to_variable = { SOV_air_air_mission_xp_gain_factor = 0.10 tooltip = air_mission_xp_gain_factor_tt }
		add_to_variable = { SOV_air_air_accidents_factor = -0.02 tooltip = air_accidents_factor_tt }
		add_to_variable = { SOV_air_airforce_personnel_cost_multiplier_modifier = -0.10 tooltip = airforce_personnel_cost_multiplier_modifier_tt }
		ai_chance = { base = 50 }
	}
}
##Borya the Tsar
country_event = {
	id = russia.55
	title = russia.55.t
	desc = russia.55.d
	picture = GFX_borya_tsar
	is_triggered_only = yes

	option = {
		name = russia.55.a
		log = "[GetDateText]: [This.GetName]: russia.55.a"
		set_country_flag = SOV_borya_ded
	}
}

country_event = {
	id = russia.611
	title = russia.611.t
	desc = russia.611.d
	picture = GFX_political_deal
	is_triggered_only = yes

	trigger = {
		is_ai = yes
		is_historical_focus_on = no
		NOT = { SOV_ai_any_path = yes }
	}

	option = {
		name = russia.611.a
		log = "[GetDateText]: [This.GetName]: russia.611.a"
		set_temp_variable = { party_popularity_increase = -0.35 }
		change_relative_party_popularity = yes
		news_event = russia_news.10000
		random_list = {
			25 = {
				set_temp_variable = { party_index = 2 }
				set_temp_variable = { party_popularity_increase = 0.60 }
				set_temp_variable = { temp_outlook_increase = 0.60 }
				change_relative_party_popularity = yes
			}
			25 = {
				set_temp_variable = { party_index = 4 }
				set_temp_variable = { party_popularity_increase = 0.60 }
				set_temp_variable = { temp_outlook_increase = 0.60 }
				change_relative_party_popularity = yes
			}
			25 = {
				set_temp_variable = { party_index = 20 }
				set_temp_variable = { party_popularity_increase = 0.60 }
				set_temp_variable = { temp_outlook_increase = 0.60 }
				change_relative_party_popularity = yes
			}
			25 = {
				set_temp_variable = { party_index = 15 }
				set_temp_variable = { party_popularity_increase = 0.60 }
				set_temp_variable = { temp_outlook_increase = 0.60 }
				change_relative_party_popularity = yes
			}
		}
	}
}

##Lebed
country_event = {
	id = russia.62
	title = russia.62.t
	desc = russia.62.d
	picture = GFX_sov_lebed
	is_triggered_only = yes

	trigger = {
		NOT = {
			OR = {
				has_country_leader = { name = "Alexander Lebed" ruling_only = yes }
				PMR = {
					OR = {
						has_country_leader = { name = "Alexander Lebed" ruling_only = yes }
						has_country_flag = ded_lebed
						has_country_flag = PMR_lebed_secured
					}
				}
			}
		}
	}

	option = {
		name = russia.62.a
		log = "[GetDateText]: [This.GetName]: russia.62.a"
		hidden_effect = {
			PMR = {
				set_country_flag = ded_lebed
				country_event = { id = transnistria.46 days = 1 }
			}
		}
	}
}

##Kassack help for LPR
country_event = {
	id = russia.66
	title = russia.66.t
	desc = russia.66.d
	picture = GFX_sov_russia_help_lpr
	is_triggered_only = yes

	option = {
		name = russia.66.a
		log = "[GetDateText]: [This.GetName]: russia.66.a"
		add_manpower = 1000
		add_timed_idea = { idea = SOV_support_nov_idea days = 1825 }
		division_template = {
			name = "Kuban Cossacks Regiment"
			regiments = {
				Militia_Bat = { x = 0 y = 0 }
				Militia_Bat = { x = 0 y = 1 }
				Militia_Bat = { x = 1 y = 0 }
				Militia_Bat = { x = 1 y = 1 }
			}
			priority = 2
		}
		random_owned_controlled_state = {
			limit = { ROOT = { has_full_control_of_state = PREV } }
			prioritize = { 46 }
			create_unit = {
				division = "name = \"Kuban Cossacks Regiment\" division_template = \"Kuban Cossacks Regiment\" start_experience_factor = 0.4"
				owner = LPR
			}
		}
	}
}
##Chechen help for DPR
country_event = {
	id = russia.67
	title = russia.67.t
	desc = russia.67.d
	picture = GFX_sov_chechen_help_dpr
	is_triggered_only = yes

	option = {
		name = russia.67.a
		log = "[GetDateText]: [This.GetName]: russia.67.a"
		add_manpower = 1000
		add_timed_idea = { idea = SOV_support_nov_idea days = 1825 }
		division_template = {
			name = "Death Battallion"
			regiments = {
				Militia_Bat = { x = 0 y = 0 }
				Militia_Bat = { x = 0 y = 1 }
				Militia_Bat = { x = 1 y = 0 }
				Militia_Bat = { x = 1 y = 1 }
			}
			priority = 2
		}
		random_owned_controlled_state = {
			limit = { ROOT = { has_full_control_of_state = PREV } }
			prioritize = { 46 }
			create_unit = {
				division = "name = \"Death Battallion\" division_template = \"Death Battallion\" start_experience_factor = 0.4"
				owner = DPR
			}
		}
	}
}
##PMC E.N.O.T help for HPR
country_event = {
	id = russia.68
	title = russia.68.t
	desc = russia.68.d
	picture = GFX_sov_enot_help_hpr
	is_triggered_only = yes

	option = {
		name = russia.68.a
		log = "[GetDateText]: [This.GetName]: russia.68.a"
		add_manpower = 1000
		add_timed_idea = { idea = SOV_support_nov_idea days = 1825 }
		division_template = {
			name = "PMC Battalion"
			regiments = {
				L_Inf_Bat = { x = 0 y = 0 }
				L_Inf_Bat = { x = 0 y = 1 }
				L_Inf_Bat = { x = 0 y = 2 }
				L_Inf_Bat = { x = 0 y = 3 }
			}
			priority = 2
		}
		random_owned_controlled_state = {
			limit = { ROOT = { has_full_control_of_state = PREV } }
			prioritize = { 46 }
			create_unit = {
				division = "name = \"PMC E.N.O.T\" division_template = \"PMC Battalion\" start_experience_factor = 0.4"
				owner = DPR
			}
		}
	}
}
country_event = {
	id = russia.77
	title = russia.77.t
	desc = russia.77.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = {
		name = russia.77.o1
		log = "[GetDateText]: [This.GetName]: russia.77.o1 executed"
		one_office_construction = yes
		SOV = {
			one_office_construction = yes
			set_temp_variable = { percent_change = 2 }
			set_temp_variable = { tag_index = SOV }
			set_temp_variable = { influence_target = ROOT }
			change_influence_percentage = yes
			country_event = { id = russia.78 days = 1 }
		}
		set_temp_variable = { percent_change = 2 }
		set_temp_variable = { tag_index = ROOT }
		set_temp_variable = { influence_target = SOV }
		change_influence_percentage = yes
		ai_chance = { base = 50 }
	}

	option = {
		name = russia.77.o2
		log = "[GetDateText]: [This.GetName]: russia.77.o2 executed"
		add_opinion_modifier = {
			target = SOV
			modifier = medium_decrease
		}
		SOV = {
			country_event = { id = russia.79 days = 1 }
		}
		ai_chance = { base = 20 }
	}
}
country_event = {
	id = russia.78
	title = russia.78.t
	desc = russia.78.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = { name = russia.78.o1 }
}
country_event = {
	id = russia.79
	title = russia.79.t
	desc = russia.79.d
	picture = GFX_declined_offer_no
	is_triggered_only = yes

	option = { name = russia.79.o1 }
}

country_event = {
	id = russia.80
	title = russia.80.t
	desc = russia.80.d
	picture = GFX_nuclear_power_plant
	is_triggered_only = yes

	option = {
		name = russia.80.o1
		log = "[GetDateText]: [This.GetName]: russia.80.o1 executed"
		one_random_renewable_energy_infra = yes
		SOV = {
			one_random_renewable_energy_infra = yes
			set_temp_variable = { percent_change = 2 }
			set_temp_variable = { tag_index = SOV }
			set_temp_variable = { influence_target = ROOT }
			change_influence_percentage = yes
			country_event = { id = russia.81 days = 1 }
		}
		set_temp_variable = { percent_change = 2 }
		set_temp_variable = { tag_index = ROOT }
		set_temp_variable = { influence_target = SOV }
		change_influence_percentage = yes
		ai_chance = { base = 50 }
	}

	option = {
		name = russia.80.o2
		log = "[GetDateText]: [This.GetName]: russia.80.o2 executed"
		add_opinion_modifier = {
			target = SOV
			modifier = medium_decrease
		}
		SOV = {
			country_event = { id = russia.82 days = 1 }
		}
		ai_chance = { base = 20 }
	}
}
country_event = {
	id = russia.81
	title = russia.81.t
	desc = russia.81.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = russia.81.o1 }
}
country_event = {
	id = russia.82
	title = russia.82.t
	desc = russia.82.d
	picture = GFX_declined_offer_no
	is_triggered_only = yes

	option = { name = russia.82.o1 }
}

country_event = {
	id = russia.83
	title = russia.83.t
	desc = russia.83.d
	picture = GFX_ssg_geo
	is_triggered_only = yes

	option = {
		name = russia.83.o1
		log = "[GetDateText]: [This.GetName]: russia.83.o1 executed"
		GEO = { puppet = ROOT }
		add_political_power = 150
		add_opinion_modifier = { target = SOV modifier = betrayed_our_cause }
		reverse_add_opinion_modifier = { target = SOV modifier = betrayed_our_cause }
		set_temp_variable = { percent_change = 10 }
		set_temp_variable = { tag_index = SOV }
		set_temp_variable = { influence_target = GEO }
		change_influence_percentage = yes
		ai_chance = { base = 50 }
	}

	option = {
		name = russia.83.o2
		log = "[GetDateText]: [This.GetName]: russia.83.o2 executed"
		SOV = {
			set_temp_variable = { wargoal_on = ROOT }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				type = puppet_wargoal_focus
				target = ROOT
			}
		}
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = russia.84
	title = russia.84.t
	desc = russia.84.d
	picture = GFX_iran_majles
	is_triggered_only = yes

	option = {
		name = russia.84.o1
		log = "[GetDateText]: [This.GetName]: russia.84.o1 executed"
		PER = { add_opinion_modifier = { target = SOV modifier = has_expressed_loyalty } }
		add_opinion_modifier = { target = PER modifier = has_expressed_loyalty }
	}
}

country_event = {
	id = russia.85
	title = russia.85.t
	desc = russia.85.d
	picture = GFX_pahlavi_country
	is_triggered_only = yes

	option = {
		name = russia.85.o1
		log = "[GetDateText]: [This.GetName]: russia.85.o1 executed"
		PER = {
			add_opinion_modifier = { target = SOV modifier = betrayed_our_cause }
			reverse_add_opinion_modifier = { target = SOV modifier = betrayed_our_cause }
		}
	}
}
##############
country_event = {
	id = russia.86
	title = russia.86.t
	desc = russia.86.d
	picture = GFX_trump_desk
	is_triggered_only = yes

	option = {
		name = russia.86.o1
		log = "[GetDateText]: [This.GetName]: russia.86.o1 executed"
		diplomatic_relation = {
			country = SOV
			relation = guarantee
			active = yes
		}
		diplomatic_relation = {
			country = SOV
			relation = non_aggression_pact
			active = yes
		}
		SOV = {
			diplomatic_relation = {
				country = USA
				relation = guarantee
				active = yes
			}
			diplomatic_relation = {
				country = USA
				relation = non_aggression_pact
				active = yes
			}
			set_temp_variable = { percent_change = 2 }
			set_temp_variable = { tag_index = SOV }
			set_temp_variable = { influence_target = ROOT }
			change_influence_percentage = yes
			country_event = { id = russia.87 days = 1 }
		}
		set_temp_variable = { percent_change = 2 }
		set_temp_variable = { tag_index = ROOT }
		set_temp_variable = { influence_target = SOV }
		change_influence_percentage = yes
		ai_chance = { base = 50 }
	}

	option = {
		name = russia.86.o2
		log = "[GetDateText]: [This.GetName]: russia.86.o2 executed"
		add_opinion_modifier = {
			target = SOV
			modifier = medium_decrease
		}
		SOV = {
			country_event = { id = russia.88 days = 1 }
		}
		ai_chance = { base = 20 }
	}
}
country_event = {
	id = russia.87
	title = russia.87.t
	desc = russia.87.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = russia.87.o1 }
}
country_event = {
	id = russia.88
	title = russia.88.t
	desc = russia.88.d
	picture = GFX_declined_offer_no
	is_triggered_only = yes

	option = { name = russia.88.o1 }
}
################
country_event = {
	id = russia.89
	title = russia.89.t
	desc = russia.89.d
	picture = GFX_retaliatory_strike
	is_triggered_only = yes

	option = {
		name = russia.89.o1
		log = "[GetDateText]: [This.GetName]: russia.89.o1 executed"
		set_temp_variable = { temp_change = 1 }
		random_owned_state = { add_building_construction = { type = enrichment_facility level = 1 } }
		random_owned_controlled_state = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
				}
			add_building_construction = {
				type = nuclear_reactor
				level = 1
				instant_build = yes
				}
			add_building_construction = {
				type = anti_air_building
				level = 1
				instant_build = yes
				}
			add_extra_state_shared_building_slots = 2
		}
		set_temp_variable = { treasury_change = -25 }
		modify_treasury_effect = yes
		SOV = {
			set_temp_variable = { temp_change = 1 }
			random_owned_state = { add_building_construction = { type = enrichment_facility level = 1 } }
			random_owned_controlled_state = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
					}
				add_building_construction = {
					type = nuclear_reactor
					level = 1
					instant_build = yes
					}
				add_building_construction = {
					type = anti_air_building
					level = 1
					instant_build = yes
					}
				add_extra_state_shared_building_slots = 2
			}
			set_temp_variable = { treasury_change = -25 }
			modify_treasury_effect = yes
			set_temp_variable = { percent_change = 2 }
			set_temp_variable = { tag_index = SOV }
			set_temp_variable = { influence_target = ROOT }
			change_influence_percentage = yes
			country_event = { id = russia.87 days = 1 }
		}
		set_temp_variable = { percent_change = 2 }
		set_temp_variable = { tag_index = ROOT }
		set_temp_variable = { influence_target = SOV }
		change_influence_percentage = yes
		ai_chance = { base = 50 }
	}

	option = {
		name = russia.89.o2
		log = "[GetDateText]: [This.GetName]: russia.89.o2 executed"
		add_opinion_modifier = {
			target = SOV
			modifier = medium_decrease
		}
		SOV = {
			country_event = { id = russia.90 days = 1 }
		}
		ai_chance = { base = 20 }
	}
}
country_event = {
	id = russia.90
	title = russia.90.t
	desc = russia.90.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = russia.90.o1 }
}
country_event = {
	id = russia.92
	title = russia.92.t
	desc = russia.92.d
	picture = GFX_POL_generic
	is_triggered_only = yes

	option = {
		name = russia.92.o1
		log = "[GetDateText]: [This.GetName]: russia.92.o1 executed"
		diplomatic_relation = {
			country = SOV
			relation = guarantee
			active = yes
		}
		diplomatic_relation = {
			country = SOV
			relation = non_aggression_pact
			active = yes
		}
		SOV = {
			diplomatic_relation = {
				country = POL
				relation = guarantee
				active = yes
			}
			diplomatic_relation = {
				country = POL
				relation = non_aggression_pact
				active = yes
			}
			set_temp_variable = { percent_change = 2 }
			set_temp_variable = { tag_index = SOV }
			set_temp_variable = { influence_target = ROOT }
			change_influence_percentage = yes
			country_event = { id = russia.93 days = 1 }
		}
		set_temp_variable = { percent_change = 2 }
		set_temp_variable = { tag_index = ROOT }
		set_temp_variable = { influence_target = SOV }
		change_influence_percentage = yes
		ai_chance = { base = 50 }
	}

	option = {
		name = russia.92.o2
		log = "[GetDateText]: [This.GetName]: russia.92.o2 executed"
		add_opinion_modifier = {
			target = SOV
			modifier = medium_decrease
		}
		SOV = {
			country_event = { id = russia.94 days = 1 }
		}
		ai_chance = { base = 20 }
	}
}
country_event = {
	id = russia.93
	title = russia.93.t
	desc = russia.93.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = russia.93.o1 }
}
country_event = {
	id = russia.94
	title = russia.94.t
	desc = russia.94.d
	picture = GFX_declined_offer_no
	is_triggered_only = yes

	option = { name = russia.94.o1 }
}
country_event = {
	id = russia.95
	title = russia.95.t
	desc = russia.95.d
	picture = GFX_POL_generic
	is_triggered_only = yes

	option = {
		name = russia.95.o1
		log = "[GetDateText]: [This.GetName]: russia.95.o1 executed"
		SOV = {
			give_guarantee = GEO
			country_event = { id = russia.96 days = 1 }
		}
			GEO = {
				give_military_access = SOV
				diplomatic_relation = {
					country = SOV
					relation = docking_rights
					active = yes
				}
			}
		ai_chance = { base = 50 }
	}

	option = {
		name = russia.95.o2
		log = "[GetDateText]: [This.GetName]: russia.95.o2 executed"
		add_opinion_modifier = {
			target = SOV
			modifier = medium_decrease
		}
		SOV = {
			country_event = { id = russia.97 days = 1 }
		}
		ai_chance = { base = 20 }
	}
}
country_event = {
	id = russia.96
	title = russia.96.t
	desc = russia.96.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = { name = russia.96.o1 }
}
country_event = {
	id = russia.97
	title = russia.97.t
	desc = russia.97.d
	picture = GFX_declined_offer_no
	is_triggered_only = yes

	option = { name = russia.97.o1 }
}
country_event = {
	id = russia.98
	title = russia.98.t
	desc = russia.98.d
	picture = GFX_navalny_biboshka
	is_triggered_only = yes

	option = {
		name = russia.98.o1
		ai_chance = { base = 10 }
	}

	option = {
		name = russia.98.o2
		log = "[GetDateText]: [This.GetName]: russia.98.o2 executed"
		ai_chance = { base = 90 }
		country_event = russia.99
	}
}
country_event = {
	id = russia.99
	title = russia.99.t
	desc = russia.99.d
	picture = GFX_navalny_biboshka
	is_triggered_only = yes

	option = {
		name = russia.99.o1
		log = "[GetDateText]: [This.GetName]: russia.99.o1 executed"
		ai_chance = { base = 1 }
		set_country_flag = SOV_navalny_a
		update_party_name = yes
		custom_effect_tooltip = SOV_the_party_TT
		add_political_power = -100
	}

	option = {
		name = russia.99.o2
		log = "[GetDateText]: [This.GetName]: russia.99.o2 executed"
		ai_chance = { base = 1 }
		set_country_flag = SOV_navalny_p
		update_party_name = yes
		custom_effect_tooltip = SOV_the_party_TT
		add_political_power = -100
	}

	option = {
		name = russia.99.o3
		log = "[GetDateText]: [This.GetName]: russia.99.o3 executed"
		ai_chance = { base = 1 }
		set_country_flag = SOV_navalny_b
		update_party_name = yes
		custom_effect_tooltip = SOV_the_party_TT
		add_political_power = -100
	}
}
country_event = {
	id = russia.100
	title = russia.100.t
	desc = russia.100.d
	picture = GFX_navalny_biboshka
	is_triggered_only = yes

	option = {
		name = russia.100.o1
		ai_chance = { base = 10 }
	}

	option = {
		name = russia.100.o2
		log = "[GetDateText]: [This.GetName]: russia.100.o2 executed"
		ai_chance = { base = 90 }
		set_country_flag = SOV_navalny_n
		update_party_name = yes
		custom_effect_tooltip = SOV_the_party_TT
		add_political_power = -100
		hidden_effect = {
			create_country_leader = {
				name = "Alexei Navalny"
				desc = "bled nevelniy"
				picture = "Western_Alexei_Navalny.dds"
				expire = "2050.1.1"
				ideology = liberalism
				traits = { western_liberalism
				certified_nationalist }
			}
		}
	}
}
country_event = {
	id = russia.101
	title = russia.101.t
	desc = russia.101.d
	picture = GFX_ssg_event
	is_triggered_only = yes

	option = {
		name = russia.101.o1
		ai_chance = { base = 10 }
	}

	option = {
		name = russia.101.o2
		log = "[GetDateText]: [This.GetName]: russia.101.o2 executed"
		ai_chance = { base = 90 }
		set_country_flag = SOV_gorbach
		update_party_name = yes
		custom_effect_tooltip = SOV_the_party_TT
		add_political_power = -100
	}
}
country_event = {
	id = russia.102
	title = russia.102.t
	desc = russia.102.d
	picture = GFX_ssg_event
	is_triggered_only = yes

	option = {
		name = russia.102.o1
		ai_chance = { base = 10 }
	}

	option = {
		name = russia.102.o2
		log = "[GetDateText]: [This.GetName]: russia.102.o2 executed"
		ai_chance = { base = 90 }
		create_country_leader = {
			name = "Mikhail Gorbachev"
			picture = "mikhail_gorbachev.dds"
			ideology = communist_state
			traits = {
				emerging_communist_state
			}
		}
	}
}

country_event = {
	id = russia.104
	title = russia.104.t
	desc = russia.104.d
	picture = GFX_SOV_yedinstvo
	is_triggered_only = yes

	option = {
		name = russia.104.o1
		log = "[GetDateText]: [This.GetName]: russia.104.o1 executed"
		add_popularity = { ideology = democratic popularity = 0.05 }
		recalculate_party = yes
		add_stability = 0.05
		ai_chance = { base = 0 }
	}

	option = {
		name = russia.104.o2
		log = "[GetDateText]: [This.GetName]: russia.104.o2 executed"
		country_event = { id = russia.105 days = 10 }
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = russia.105
	title = russia.105.t
	desc = russia.105.d
	picture = GFX_SOV_ur_formed
	is_triggered_only = yes

	option = {
		name = russia.105.a
		log = "[GetDateText]: [This.GetName]: russia.105.a executed"
		hidden_effect = {
			set_country_flag = SOV_united_russia
			update_party_name = yes
		}
		custom_effect_tooltip = SOV_the_party_TT
		add_popularity = { ideology = communism popularity = 0.05 }
		recalculate_party = yes
		add_political_power = 100
	}
}

country_event = {
	id = russia.106
	title = russia.106.t
	desc = russia.106.d
	picture = GFX_SOV_sr_formed
	is_triggered_only = yes

	option = {
		name = russia.106.a
		log = "[GetDateText]: [This.GetName]: russia.106.a executed"
		custom_effect_tooltip = SOV_the_nonparty_TT
	}
}

country_event = {
	id = russia.107
	title = russia.107.t
	desc = russia.107.d
	picture = GFX_SOV_ur_formed
	is_triggered_only = yes

	option = {
		name = russia.107.a
		log = "[GetDateText]: [This.GetName]: russia.107.a executed"
		custom_effect_tooltip = SOV_the_nonparty_TT
	}
}


#Baku Sheep Change
country_event = {
	id = russia.118
	title = russia.118.t
	desc = russia.118.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = russia.118.a
		log = "[GetDateText]: [This.GetName]: russia.118.a executed"
		custom_effect_tooltip = SOV_baku_not_sell_tt
		set_temp_variable = { treasury_change = -6 }
		modify_treasury_effect = yes
		hidden_effect = {
			if = {
				limit = { NOT = { has_tech = carrier_hull_2 } }
				set_technology = { carrier_hull_2 = 1 }
			}
			create_equipment_variant = {
				name = "Baku Class"
				type = carrier_hull_1
				name_group = SOV_CV_HISTORICAL
				parent_version = 0
				modules = {
					fixed_ship_engine_slot = module_surface_oil_power
					fixed_ship_fire_control_system_slot = module_digital_integrated_fire_control
					fixed_ship_radar_slot = module_radar_3
					fixed_ship_auxillary_slot_1 = module_naval_missile_mount_quad
					fixed_ship_auxillary_slot_2 = module_esm_1
					fixed_ship_auxillary_slot = module_naval_missile_mount_quad
					fixed_ship_flight_deck = module_flight_deck_2
					front_1_custom_slot = module_naval_vls_cells_64
					front_2_custom_slot = module_naval_vls_cells_64
					mid_1_custom_slot = module_helipads_2
					mid_2_custom_slot = module_helipads_2
					mid_3_custom_slot = module_naval_missile_mount_quad
					rear_1_custom_slot = module_ciws_2
					rear_2_custom_slot = module_ciws_2
					fixed_ship_missile_ammo_slot = module_naval_ammo_balanced_2
				}
			obsolete = yes
			icon = "gfx/interface/technologies/SOV/NAV/Kiev.dds"
			}
			create_ship = {
				type = carrier_hull_1
				equipment_variant = "Baku Class"
				creator = SOV
				name = "Admiral Gorshkov"
			}
		}
	}

	option = {
		name = russia.118.b
		log = "[GetDateText]: [This.GetName]: russia.118.b executed"
		set_temp_variable = { treasury_change = 6 }
		modify_treasury_effect = yes
		custom_effect_tooltip = SOV_baku_sell_tt
	}
}

# Canonization of the Romanov Family
country_event = {
	id = russia.119
	title = russia.119.t
	desc = russia.119.d
	picture = GFX_SOV_romanov_canonization
	is_triggered_only = yes

	# Martyrs... Fucking Commies
	option = {
		name = russia.119.a
		log = "[GetDateText]: [This.GetName]: russia.119.a executed"
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = -0.02 }
		set_temp_variable = { temp_outlook_increase = -0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 0 }
	}

	option = {
		name = russia.119.b
		log = "[GetDateText]: [This.GetName]: russia.119.b executed"
		add_stability = 0.02
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
	}

	# Honor the Dead
}

# Crash of the Su-37
country_event = {
	id = russia.120
	title = russia.120.t
	desc = russia.120.d
	picture = GFX_SOV_su37_crash
	is_triggered_only = yes

	# Unfourtnate...
	option = { name = russia.120.a }
}

#Livonia Governorate
country_event = {
	id = russia_governorate.1
	title = russia_governorate.1.t
	desc = russia_governorate.1.d
	picture = GFX_sov_empire_governorates
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = russia_governorate.1.o1
		log = "[GetDateText]: [This.GetName]: russia_governorate.1.o1 executed"
		ai_chance = {
			base = 10
			modifier = {
				has_government = nationalist
				factor = 90
			}
			modifier = {
				ROOT = { is_subject_of = SOV }
				factor = 90
			}
		}
		LIT = {
			set_country_flag = SOV_subject_governorate
			set_cosmetic_tag = GOV_LIT
			clr_country_flag = dynamic_flag
			SOV = {
				country_event = sov_nationalists.50
				set_autonomy = {
					target = LIT
					autonomy_state = autonomy_governorate_rf
				}
			}
			every_core_state = { add_core_of = SOV }
			if = {
				limit = { NOT = { check_variable = { ruling_party = 23 } } }
				set_temp_variable = { rul_party_temp = 23 }
				set_temp_variable = { disable_elections = 1 }
				change_ruling_party_effect = yes
			}
			set_temp_variable = { party_index = 23 }
			set_temp_variable = { party_popularity_increase = 0.10 }
			set_temp_variable = { temp_outlook_increase = 0.10 }
			change_relative_party_popularity = yes
		}
		SOV = { country_event = russia_governorate.2 }
	}

	option = {
		name = russia_governorate.1.o2
		log = "[GetDateText]: [This.GetName]: russia_governorate.1.o2 executed"
		ai_chance = {
			base = 10
			modifier = {
				has_government = democratic
				factor = 90
			}
			modifier = {
				has_government = neutrality
				factor = 90
			}
			modifier = {
				has_government = communism
				factor = 90
			}
		}
		SOV = {
			country_event = russia_governorate.3
			add_opinion_modifier = { target = LIT modifier = betrayed_our_cause }
		}
	}
}
#Livonia Governorate Agree
country_event = {
	id = russia_governorate.2
	title = russia_governorate.2.t
	desc = russia_governorate.2.d
	picture = GFX_sov_empire_governorates
	is_triggered_only = yes
	fire_only_once = yes

	option = { name = russia_governorate.2.o1 }
}
#Livonia Governorate Disagree
country_event = {
	id = russia_governorate.3
	title = russia_governorate.3.t
	desc = russia_governorate.3.d
	picture = GFX_sov_empire_governorates
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = russia_governorate.3.o1
		log = "[GetDateText]: [This.GetName]: russia_governorate.3.o1 executed"
		effect_tooltip = {
			add_opinion_modifier = { target = LIT modifier = betrayed_our_cause }
		}
		if = {
			limit = { LIT = { NOT = { is_subject_of = SOV } } }
			LIT = { every_controlled_state = { add_core_of = SOV } }
			SOV = {
				set_temp_variable = { wargoal_on = LIT }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = LIT
					type = annex_everything
				}
			}
		}
	}
}
#Courland Governorate
country_event = {
	id = russia_governorate.4
	title = russia_governorate.4.t
	desc = russia_governorate.4.d
	picture = GFX_sov_empire_governorates
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = russia_governorate.4.o1
		log = "[GetDateText]: [This.GetName]: russia_governorate.4.o1 executed"
		ai_chance = {
			base = 10
			modifier = {
				has_government = nationalist
				factor = 90
			}
			modifier = {
				ROOT = { is_subject_of = SOV }
				factor = 90
			}
		}
		LAT = {
			set_country_flag = SOV_subject_governorate
			set_cosmetic_tag = GOV_LAT
			clr_country_flag = dynamic_flag
			SOV = {
				country_event = sov_nationalists.50
				set_autonomy = {
					target = LAT
					autonomy_state = autonomy_governorate_rf
				}
			}
			every_core_state = { add_core_of = SOV }
			if = {
				limit = { NOT = { check_variable = { ruling_party = 23 } } }
				set_temp_variable = { rul_party_temp = 23 }
				set_temp_variable = { disable_elections = 1 }
				change_ruling_party_effect = yes
			}
			set_temp_variable = { party_index = 23 }
			set_temp_variable = { party_popularity_increase = 0.10 }
			set_temp_variable = { temp_outlook_increase = 0.10 }
			change_relative_party_popularity = yes
		}
		SOV = { country_event = russia_governorate.5 }
	}

	option = {
		name = russia_governorate.4.o2
		log = "[GetDateText]: [This.GetName]: russia_governorate.4.o2 executed"
		ai_chance = {
			base = 10
			modifier = {
				has_government = democratic
				factor = 90
			}
			modifier = {
				has_government = neutrality
				factor = 90
			}
			modifier = {
				has_government = communism
				factor = 90
			}
		}
		SOV = {
			country_event = russia_governorate.6
			add_opinion_modifier = { target = LAT modifier = betrayed_our_cause }
		}
	}
}
#Courland Governorate Agree
country_event = {
	id = russia_governorate.5
	title = russia_governorate.5.t
	desc = russia_governorate.5.d
	picture = GFX_sov_empire_governorates
	is_triggered_only = yes
	fire_only_once = yes

	option = { name = russia_governorate.5.o1 }
}
#Courland Governorate Disagree
country_event = {
	id = russia_governorate.6
	title = russia_governorate.6.t
	desc = russia_governorate.6.d
	picture = GFX_sov_empire_governorates
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = russia_governorate.6.o1
		log = "[GetDateText]: [This.GetName]: russia_governorate.6.o1 executed"
		effect_tooltip = {
			add_opinion_modifier = { target = LAT modifier = betrayed_our_cause }
		}
		if = {
			limit = { LAT = { NOT = { is_subject_of = SOV } } }
			LAT = { every_controlled_state = { add_core_of = SOV } }
			SOV = {
				set_temp_variable = { wargoal_on = LAT }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = LAT
					type = annex_everything
				}
			}
		}
	}
}
#Estland Governorate
country_event = {
	id = russia_governorate.7
	title = russia_governorate.7.t
	desc = russia_governorate.7.d
	picture = GFX_sov_empire_governorates
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = russia_governorate.7.o1
		log = "[GetDateText]: [This.GetName]: russia_governorate.7.o1 executed"
		ai_chance = {
			base = 10
			modifier = {
				has_government = nationalist
				factor = 90
			}
			modifier = {
				ROOT = { is_subject_of = SOV }
				factor = 90
			}
		}
		EST = {
			set_country_flag = SOV_subject_governorate
			set_cosmetic_tag = GOV_EST
			clr_country_flag = dynamic_flag
			SOV = {
				country_event = sov_nationalists.50
				set_autonomy = {
					target = EST
					autonomy_state = autonomy_governorate_rf
				}
			}
			every_core_state = { add_core_of = SOV }
			if = {
				limit = { NOT = { check_variable = { ruling_party = 23 } } }
				set_temp_variable = { rul_party_temp = 23 }
				set_temp_variable = { disable_elections = 1 }
				change_ruling_party_effect = yes
			}
			set_temp_variable = { party_index = 23 }
			set_temp_variable = { party_popularity_increase = 0.10 }
			set_temp_variable = { temp_outlook_increase = 0.10 }
			change_relative_party_popularity = yes
		}
		SOV = { country_event = russia_governorate.8 }
	}

	option = {
		name = russia_governorate.7.o2
		log = "[GetDateText]: [This.GetName]: russia_governorate.7.o2 executed"
		ai_chance = {
			base = 10
			modifier = {
				has_government = democratic
				factor = 90
			}
			modifier = {
				has_government = neutrality
				factor = 90
			}
			modifier = {
				has_government = communism
				factor = 90
			}
		}
		SOV = {
			country_event = russia_governorate.9
			add_opinion_modifier = { target = EST modifier = betrayed_our_cause }
		}
	}
}
#Estland Governorate Agree
country_event = {
	id = russia_governorate.8
	title = russia_governorate.8.t
	desc = russia_governorate.8.d
	picture = GFX_sov_empire_governorates
	is_triggered_only = yes
	fire_only_once = yes

	option = { name = russia_governorate.8.o1 }
}
#Estland Governorate Disagree
country_event = {
	id = russia_governorate.9
	title = russia_governorate.9.t
	desc = russia_governorate.9.d
	picture = GFX_sov_empire_governorates
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = russia_governorate.9.o1
		log = "[GetDateText]: [This.GetName]: russia_governorate.9.o1 executed"
		effect_tooltip = {
			add_opinion_modifier = { target = EST modifier = betrayed_our_cause }
		}
		if = {
			limit = { EST = { NOT = { is_subject_of = SOV } } }
			EST = { every_controlled_state = { add_core_of = SOV } }
			SOV = {
				set_temp_variable = { wargoal_on = EST }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = EST
					type = annex_everything
				}
			}
		}
	}
}
#Tiflis Governorate
country_event = {
	id = russia_governorate.10
	title = russia_governorate.10.t
	desc = russia_governorate.10.d
	picture = GFX_sov_empire_governorates
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = russia_governorate.10.o1
		log = "[GetDateText]: [This.GetName]: russia_governorate.10.o1 executed"
		ai_chance = {
			base = 10
			modifier = {
				has_government = nationalist
				factor = 90
			}
			modifier = {
				GEO = { is_subject_of = SOV }
				factor = 90
			}
		}
		GEO = {
			set_country_flag = SOV_subject_governorate
			set_cosmetic_tag = GOV_GEO
			clr_country_flag = dynamic_flag
			SOV = {
				country_event = russia_governorate.11
				set_autonomy = {
					target = GEO
					autonomy_state = autonomy_governorate_rf
				}
			}
			every_core_state = { add_core_of = SOV }
			if = {
				limit = { NOT = { check_variable = { ruling_party = 23 } } }
				set_temp_variable = { rul_party_temp = 23 }
				set_temp_variable = { disable_elections = 1 }
				change_ruling_party_effect = yes
			}
			set_temp_variable = { party_index = 23 }
			set_temp_variable = { party_popularity_increase = 0.10 }
			set_temp_variable = { temp_outlook_increase = 0.10 }
			change_relative_party_popularity = yes
		}
	}

	option = {
		name = russia_governorate.10.o2
		log = "[GetDateText]: [This.GetName]: russia_governorate.10.o2 executed"
		ai_chance = {
			base = 10
			modifier = {
				has_government = democratic
				factor = 90
			}
			modifier = {
				has_government = neutrality
				factor = 90
			}
			modifier = {
				has_government = communism
				factor = 90
			}
		}
		SOV = {
			country_event = russia_governorate.12
			add_opinion_modifier = { target = GEO modifier = betrayed_our_cause }
		}
	}
}
#Tiflis Governorate Agree
country_event = {
	id = russia_governorate.11
	title = russia_governorate.11.t
	desc = russia_governorate.11.d
	picture = GFX_sov_empire_governorates
	is_triggered_only = yes
	fire_only_once = yes

	option = { name = russia_governorate.11.o1 }
}
#Tiflis Governorate Disagree
country_event = {
	id = russia_governorate.12
	title = russia_governorate.12.t
	desc = russia_governorate.12.d
	picture = GFX_sov_empire_governorates
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = russia_governorate.12.o1
		log = "[GetDateText]: [This.GetName]: russia_governorate.12.o1 executed"
		effect_tooltip = {
			add_opinion_modifier = { target = GEO modifier = betrayed_our_cause }
		}
		if = {
			limit = { GEO = { NOT = { is_subject_of = SOV } } }
			GEO = { every_controlled_state = { add_core_of = SOV } }
			SOV = {
				set_temp_variable = { wargoal_on = GEO }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = GEO
					type = annex_everything
				}
			}
		}
	}
}
#Bessarabia Governorate
country_event = {
	id = russia_governorate.13
	title = russia_governorate.13.t
	desc = russia_governorate.13.d
	picture = GFX_sov_empire_governorates
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = russia_governorate.13.o1
		log = "[GetDateText]: [This.GetName]: russia_governorate.13.o1 executed"
		ai_chance = {
			base = 10
			modifier = {
				has_government = nationalist
				factor = 90
			}
			modifier = {
				MLV = { is_subject_of = SOV }
				factor = 90
			}
		}
		MLV = {
			set_country_flag = SOV_subject_governorate
			set_cosmetic_tag = GOV_MLV
			clr_country_flag = dynamic_flag
			SOV = {
				country_event = russia_governorate.14
				set_autonomy = {
					target = MLV
					autonomy_state = autonomy_governorate_rf
				}
			}
			every_core_state = { add_core_of = SOV }
			if = {
				limit = { NOT = { check_variable = { ruling_party = 23 } } }
				set_temp_variable = { rul_party_temp = 23 }
				change_ruling_party_effect = yes
			}
			set_temp_variable = { party_index = 23 }
			set_temp_variable = { party_popularity_increase = 0.10 }
			set_temp_variable = { temp_outlook_increase = 0.10 }
			change_relative_party_popularity = yes
		}
	}

	option = {
		name = russia_governorate.13.o2
		log = "[GetDateText]: [This.GetName]: russia_governorate.13.o2 executed"
		ai_chance = {
			base = 10
			modifier = {
				has_government = democratic
				factor = 90
			}
			modifier = {
				has_government = neutrality
				factor = 90
			}
			modifier = {
				has_government = communism
				factor = 90
			}
		}
		SOV = {
			country_event = russia_governorate.15
			add_opinion_modifier = { target = MLV modifier = betrayed_our_cause }
		}
	}
}
#Bessarabia Governorate Agree
country_event = {
	id = russia_governorate.14
	title = russia_governorate.14.t
	desc = russia_governorate.14.d
	picture = GFX_sov_empire_governorates
	is_triggered_only = yes
	fire_only_once = yes

	option = { name = russia_governorate.14.o1 }
}
#Bessarabia Governorate Disagree
country_event = {
	id = russia_governorate.15
	title = russia_governorate.15.t
	desc = russia_governorate.15.d
	picture = GFX_sov_empire_governorates
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = russia_governorate.15.o1
		log = "[GetDateText]: [This.GetName]: russia_governorate.15.o1 executed"
		effect_tooltip = {
			add_opinion_modifier = { target = MLV modifier = betrayed_our_cause }
		}
		if = {
			limit = { MLV = { NOT = { is_subject_of = SOV } } }
			MLV = { every_controlled_state = { add_core_of = SOV } }
			SOV = {
				set_temp_variable = { wargoal_on = MLV }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = MLV
					type = annex_everything
				}
			}
		}
	}
}
#Minks Governorate
country_event = {
	id = russia_governorate.16
	title = russia_governorate.16.t
	desc = russia_governorate.16.d
	picture = GFX_sov_empire_governorates
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = russia_governorate.16.o1
		log = "[GetDateText]: [This.GetName]: russia_governorate.16.o1 executed"
		ai_chance = {
			base = 5
			modifier = {
				has_government = nationalist
				add = 90
			}
			modifier = {
				BLR = { is_subject_of = SOV }
				add = 90
			}
		}
		SOV = { country_event = russia_governorate.17 }
		BLR = {
			set_country_flag = SOV_subject_governorate
			set_cosmetic_tag = GOV_BLR
			clr_country_flag = dynamic_flag
			SOV = {
				set_autonomy = {
					target = BLR
					autonomy_state = autonomy_governorate_rf
				}
			}
			every_core_state = { add_core_of = SOV }
			if = {
				limit = { NOT = { check_variable = { ruling_party = 23 } } }
				set_temp_variable = { rul_party_temp = 23 }
				set_temp_variable = { disable_elections = 1 }
				change_ruling_party_effect = yes
			}
			set_temp_variable = { party_index = 23 }
			set_temp_variable = { party_popularity_increase = 0.10 }
			set_temp_variable = { temp_outlook_increase = 0.10 }
			change_relative_party_popularity = yes
			create_country_leader = {
				name = "Alexander Lukashenko"
				picture = "governer_lukashenko.dds"
				ideology = Monarchist
				traits = {
					nationalist_Monarchist
				}
			}
		}
	}

	option = {
		name = russia_governorate.16.o2
		log = "[GetDateText]: [This.GetName]: russia_governorate.16.o2 executed"
		ai_chance = {
			base = 5
			modifier = {
				has_government = democratic
				add = 90
			}
			modifier = {
				has_government = communism
				add = 90
			}
			modifier = {
				has_government = neutrality
				add = 90
			}
		}
		SOV = {
			add_opinion_modifier = { target = BLR modifier = betrayed_our_cause }
			country_event = russia_governorate.18
		}
	}

	option = {
		name = russia_governorate.16.o3
		log = "[GetDateText]: [This.GetName]: russia_governorate.16.o3 executed"
		trigger = { NOT = { has_autonomy_state = autonomy_union_state } }
		ai_chance = {
			base = 5
			modifier = {
				has_government = nationalist
				add = 90
			}
			modifier = {
				emerging_reactionaries_are_in_power = yes
				add = 90
			}
			modifier = {
				has_government = neutrality
				add = 90
			}
		}
		SOV = { country_event = russia_governorate.19 }
	}
}

#They accept!
country_event = {
	id = russia_governorate.17
	title = russia_governorate.17.t
	desc = russia_governorate.17.d
	picture = GFX_SOV_generic
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = russia_governorate.17.o1
		log = "[GetDateText]: [This.GetName]: russia_governorate.17.o1 executed"
		every_country = {
			limit = {
				is_in_faction_with = SOV
				NOT = { tag = SOV }
				NOT = { tag = BLR }
			}
			country_event = russia.5
		}
	}
}

#They refuse!
country_event = {
	id = russia_governorate.18
	title = russia_governorate.18.t
	desc = russia_governorate.18.d
	picture = GFX_SOV_generic
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = russia_governorate.18.o1
		log = "[GetDateText]: [This.GetName]: russia_governorate.18.o1 executed"
		effect_tooltip = {
			add_opinion_modifier = { target = BLR modifier = betrayed_our_cause }
		}
		if = {
			limit = { BLR = { NOT = { is_subject_of = SOV } } }
			BLR = { every_controlled_state = { add_core_of = SOV } }
			SOV = {
				set_temp_variable = { wargoal_on = BLR }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = BLR
					type = annex_everything
				}
			}
		}
	}
}

#They Union state
country_event = {
	id = russia_governorate.19
	title = russia_governorate.19.t
	desc = russia_governorate.19.d
	picture = GFX_SOV_generic
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = russia_governorate.19.o1
		log = "[GetDateText]: [This.GetName]: russia_governorate.19.o1 executed"
		ai_chance = { base = 50 }
		BLR = { set_country_flag = BLR_unionstate_agree }
		hidden_effect = {
			if = {
				limit = { has_idea = BLR_cheln_trade }
				remove_ideas = BLR_cheln_trade
			}
			if = {
				limit = { has_idea = BLR_unstable_national_currency }
				remove_ideas = BLR_unstable_national_currency
			}
			if = {
				limit = { has_idea = BLR_unstable_national_currency2 }
				remove_ideas = BLR_unstable_national_currency2
				}
			if = {
				limit = { has_idea = BLR_unstable_national_currency3 }
				remove_ideas = BLR_unstable_national_currency3
			}
			if = {
				limit = { has_idea = BLR_unstable_national_currency4 }
				remove_ideas = BLR_unstable_national_currency4
			}
			BLR = {
				add_ideas = USR_union_state_idea
				add_ideas = USR_valute_idea
				add_ideas = USR_civils_idea
				add_ideas = USR_economic_space_idea
				add_ideas = USR_eternal_commitie_idea
				add_ideas = USR_money_palata_idea
				add_ideas = USR_council_ministers_idea
				add_ideas = USR_gos_sovet_idea
				add_ideas = USR_parlament_idea
			}
		}
		SOV = {
			set_autonomy = {
				target = BLR
				autonomy_state = autonomy_union_state
			}
		}
	}

	option = {
		name = russia_governorate.19.o2
		log = "[GetDateText]: [This.GetName]: russia_governorate.19.o2 executed"
		ai_chance = { base = 50 }
		if = {
			limit = { BLR = { NOT = { is_subject_of = SOV } } }
			BLR = { every_controlled_state = { add_core_of = SOV } }
			SOV = {
				set_temp_variable = { wargoal_on = BLR }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = BLR
					type = annex_everything
				}
			}
		}
	}
}

#Armenia Governorate
country_event = {
	id = russia_governorate.20
	title = russia_governorate.20.t
	desc = russia_governorate.20.d
	picture = GFX_sov_empire_governorates
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = russia_governorate.20.o1
		log = "[GetDateText]: [This.GetName]: russia_governorate.20.o1 executed"
		ai_chance = {
			base = 50
			modifier = {
				has_government = democratic
				add = -50
			}
			modifier = {
				ARM = { is_subject_of = SOV }
				add = 50
			}
			modifier = {
				ARM = {
					is_subject = yes
					NOT = { is_subject_of = SOV }
				}
				add = -90
			}
		}
		SOV = { country_event = russia_governorate.21 }
		if = {
			limit = { NKR = { is_subject_of = ARM } }
			ARM = { country_event = russia_governorate.24 }
		}
		ARM = {
			set_country_flag = SOV_subject_governorate
			SOV = {
				set_autonomy = {
					target = ARM
					autonomy_state = autonomy_governorate_rf
				}
			}
		}
	}

	option = {
		name = russia_governorate.20.o2
		log = "[GetDateText]: [This.GetName]: russia_governorate.20.o2 executed"
		ai_chance = {
			base = 0
			modifier = {
				has_government = democratic
				add = 90
			}
		}
		SOV = {
			add_opinion_modifier = { target = ARM modifier = betrayed_our_cause }
			country_event = russia_governorate.22
		}
	}

	option = {
		name = russia_governorate.20.o3
		log = "[GetDateText]: [This.GetName]: russia_governorate.20.o3 executed"
		trigger = { NOT = { has_autonomy_state = autonomy_union_state } }
		ai_chance = {
			base = 50
			modifier = {
				SOV = { is_ai = no }
				add = 50
			}
			modifier = {
				has_government = democratic
				add = -50
			}
			modifier = {
				ARM = {
					is_subject = yes
					NOT = { is_subject_of = SOV }
				}
				add = -90
			}
		}
		SOV = { country_event = russia_governorate.23 }
	}
}

#They accept!
country_event = {
	id = russia_governorate.21
	title = russia_governorate.21.t
	desc = russia_governorate.21.d
	picture = GFX_sov_empire_governorates
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = russia_governorate.21.o1
		log = "[GetDateText]: [This.GetName]: russia_governorate.21.o1 executed"
		every_country = {
			limit = {
				is_in_faction_with = SOV
				NOT = { tag = SOV }
				NOT = { tag = ARM }
			}
			country_event = russia.5
		}
	}
}

#They refuse!
country_event = {
	id = russia_governorate.22
	title = russia_governorate.22.t
	desc = russia_governorate.22.d
	picture = GFX_sov_empire_governorates
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = russia_governorate.22.o1
		log = "[GetDateText]: [This.GetName]: russia_governorate.22.o1 executed"
		effect_tooltip = {
			add_opinion_modifier = { target = ARM modifier = betrayed_our_cause }
		}
		if = {
			limit = { ARM = { NOT = { is_subject_of = SOV } } }
			ARM = { every_controlled_state = { add_core_of = SOV } }
			SOV = {
				set_temp_variable = { wargoal_on = ARM }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = ARM
					type = annex_everything
				}
			}
		}
	}
}

#They Union state
country_event = {
	id = russia_governorate.23
	title = russia_governorate.23.t
	desc = russia_governorate.23.d
	picture = GFX_union_state_more
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = russia_governorate.23.o1
		log = "[GetDateText]: [This.GetName]: russia_governorate.23.o1 executed"
		ai_chance = { base = 100 }
		if = {
			limit = { NKR = { is_subject_of = ARM } }
			ARM = { country_event = russia_governorate.24 }
		}
		ARM = { set_country_flag = USR_armenia_create_union_state }
		SOV = {
			set_autonomy = {
				target = ARM
				autonomy_state = autonomy_union_state
			}
		}
		hidden_effect = {
			ARM = {
				add_ideas = USR_union_state_idea
				add_ideas = USR_valute_idea
				add_ideas = USR_civils_idea
				add_ideas = USR_economic_space_idea
				add_ideas = USR_eternal_commitie_idea
				add_ideas = USR_money_palata_idea
				add_ideas = USR_council_ministers_idea
				add_ideas = USR_gos_sovet_idea
				add_ideas = USR_parlament_idea
			}
		}
	}

	option = {
		name = russia_governorate.23.o2
		log = "[GetDateText]: [This.GetName]: russia_governorate.23.o2 executed"
		ai_chance = { base = 0 }
		if = {
			limit = { ARM = { NOT = { is_subject_of = SOV } } }
			ARM = { every_controlled_state = { add_core_of = SOV } }
			SOV = {
				set_temp_variable = { wargoal_on = ARM }
				set_temp_variable = { wargoal_type = 2 }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = ARM
					type = annex_everything
				}
			}
		}
	}
}

#Artsakh Problem
country_event = {
	id = russia_governorate.24
	title = russia_governorate.24.t
	desc = russia_governorate.24.d
	picture = GFX_win_armenian
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = russia_governorate.24.o1
		log = "[GetDateText]: [This.GetName]: russia_governorate.24.o1 executed"
		SOV = {
			set_autonomy = {
				target = NKR
				autonomy_state = autonomy_autonomous_state
				end_wars = no
				end_civil_wars = no
			}
		}
	}

	option = {
		name = russia_governorate.24.o2
		log = "[GetDateText]: [This.GetName]: russia_governorate.24.o2 executed"
		set_autonomy = {
			target = NKR
			autonomy_state = autonomy_autonomous_state
			end_wars = no
			end_civil_wars = no
		}
		ai_chance = { base = 50 }
	}
}

####Russian News----
#Putin elected President
news_event = {
	id = russia_news.10000
	title = russia_news.10000.t
	desc = russia_news.10000.d
	picture = GFX_putin_scandal
	is_triggered_only = yes
	major = yes

	option = { name = russia_news.10000.a }
}

#The Rise of a New Union
news_event = {
	id = russia_news.5
	title = russia_news.5.t
	desc = russia_news.5.d
	picture = GFX_soviet_union_flag
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = russia_news.5.o1
		trigger = { original_tag = SOV }
	}

	option = {
		name = russia_news.5.o2
		trigger = {
			is_in_faction_with = SOV
			NOT = { original_tag = SOV }
		}
	}

	option = {
		name = russia_news.5.o3
		trigger = {
			NOT = { is_in_faction_with = SOV }
			NOT = { original_tag = SOV }
			NOT = { has_war_with = SOV }
		}
	}

	option = {
		name = russia_news.5.o4
		trigger = { has_war_with = SOV }
	}
}

##Sayano-Shushinsk Incident
news_event = {
	id = russia_news.6
	title = russia_news.6.t
	desc = russia_news.6.d
	picture = GFX_news_rocket_explosion
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = {
		name = russia_news.6.o1
		trigger = { original_tag = SOV }
	}

	option = {
		name = russia_news.6.o2
		trigger = {
			is_in_faction_with = SOV
			NOT = { original_tag = SOV }
		}
	}

	option = {
		name = russia_news.6.o3
		trigger = {
			NOT = { is_in_faction_with = SOV }
			NOT = { original_tag = SOV }
			NOT = { has_war_with = SOV }
		}
	}

	option = {
		name = russia_news.6.o4
		trigger = { has_war_with = SOV }
	}
}

##Russia Joins WTO
news_event = {
	id = russia_news.7
	title = russia_news.7.t
	desc = russia_news.7.d
	picture = GFX_news_trade_agreement
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = {
		name = russia_news.7.o1
		trigger = { original_tag = SOV }
	}

	option = {
		name = russia_news.7.o2
		trigger = {
			is_in_faction_with = SOV
			NOT = { original_tag = SOV }
		}
	}

	option = {
		name = russia_news.7.o3
		trigger = {
			NOT = { is_in_faction_with = SOV }
			NOT = { original_tag = SOV }
			NOT = { has_war_with = SOV }
		}
	}

	option = {
		name = russia_news.7.o4
		trigger = { has_war_with = SOV }
	}
}

##Militsya renames in Politsya
news_event = {
	id = russia_news.8
	title = russia_news.8.t
	desc = russia_news.8.d
	picture = GFX_news_crime_fighting
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = {
		name = russia_news.8.o1
		trigger = { NOT = { original_tag = SOV } }
	}

	option = {
		name = russia_news.8.o2
		trigger = { original_tag = SOV }
	}
}

##Russian Coup Succeded
news_event = {
	id = russia_news.9
	title = russia_news.9.t
	desc = russia_news.9.d
	picture = GFX_russian_flag
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = {
		name = russia_news.9.o1
		trigger = {
			NOT = { original_tag = SOV }
			NOT = { original_tag = UKR }
		}
	}

	option = {
		name = russia_news.9.o2
		trigger = { original_tag = SOV }
	}

	option = {
		name = russia_news.9.o3
		trigger = { original_tag = UKR }
	}
}
news_event = {
	id = russia_news.10
	title = russia_news.10.t
	desc = russia_news.10.d
	picture = GFX_news_capitulation
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = {
		name = russia_news.10.o1
		trigger = { NOT = { original_tag = SOV } }
	}

	option = {
		name = russia_news.10.o2
		trigger = { original_tag = SOV }
	}

	option = {
		name = russia_news.10.o3
		trigger = {
			NOT = { is_in_faction_with = SOV }
			NOT = { original_tag = SOV }
			NOT = { has_war_with = SOV }
		}
	}
}
news_event = {
	id = russia_news.11
	title = russia_news.11.t
	desc = russia_news.11.d
	picture = GFX_news_event_war
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = {
		name = russia_news.11.o1
		trigger = { original_tag = SOV }
	}

	option = {
		name = russia_news.11.o2
		trigger = {
			is_in_faction_with = SOV
			NOT = { original_tag = SOV }
		}
	}

	option = {
		name = russia_news.11.o3
		trigger = { has_idea = NATO_member }
	}

	option = {
		name = russia_news.11.o4
		trigger = {
			OR = {
				has_war_with = SOV
				original_tag = UKR
			}
		}
	}

	option = {
		name = russia_news.11.o5
		trigger = {
			NOT = { is_in_faction_with = SOV }
			NOT = { has_idea = NATO_member }
			NOT = { original_tag = UKR }
		}
	}
}
news_event = {
	id = russia_news.13
	title = russia_news.13.t
	desc = russia_news.13.d
	picture = GFX_news_event_war
	is_triggered_only = yes
	major = yes
	fire_only_once = yes

	option = {
		name = russia_news.13.o1
		trigger = { original_tag = SOV }
	}

	option = {
		name = russia_news.13.o2
		trigger = {
			is_in_faction_with = SOV
			NOT = { original_tag = SOV }
		}
	}

	option = {
		name = russia_news.13.o3
		trigger = { has_idea = NATO_member }
	}

	option = {
		name = russia_news.13.o4
		trigger = {
			OR = {
				has_war_with = SOV
				original_tag = FIN
			}
		}
	}

	option = {
		name = russia_news.13.o5
		trigger = {
			NOT = { is_in_faction_with = SOV }
			NOT = { has_idea = NATO_member }
			NOT = { original_tag = FIN }
		}
	}
}

#Kursk Submarine Disaster
news_event = {
	id = russia_news.50
	title = russia_news.50.t
	desc = russia_news.50.d
	picture = GFX_news_rocket_explosion
	is_triggered_only = yes
	major = yes

	option = {
		name = russia_news.50.o1
		trigger = { original_tag = SOV }
	}

	option = {
		name = russia_news.50.o2
		trigger = {
			is_in_faction_with = SOV
			NOT = { original_tag = SOV }
		}
	}

	option = {
		name = russia_news.50.o3
		trigger = {
			NOT = { is_in_faction_with = SOV }
			NOT = { original_tag = SOV }
			NOT = { has_war_with = SOV }
		}
	}

	option = {
		name = russia_news.50.o4
		trigger = { has_war_with = SOV }
	}
}

#Dugin Death
news_event = {
	id = russia_news.51
	title = russia_news.51.t
	desc = russia_news.51.d
	picture = GFX_sov_dugindead_worldevent
	is_triggered_only = yes
	major = yes

	trigger = { SOV = { has_government = democratic } }

	option = {
		name = russia_news.51.o1
		trigger = { original_tag = SOV }
	}

	option = {
		name = russia_news.51.o2
		trigger = { NOT = { original_tag = SOV } }
	}
}

########################## Reading events
country_event = {
	id = sov_vybory.1
	title = sov_vybory.1.t
	desc = sov_vybory.1.d
	picture = GFX_medvedev_obama
	is_triggered_only = yes

	trigger = { tag = SOV }

	option = {
		name = sov_vybory.1.a
		log = "[GetDateText]: [This.GetName]: sov_vybory.1.a executed"
		set_variable = { ruling_party = 6 }
		update_set_politics = yes
		update_government_coalition_strength = yes
		create_country_leader = {
			name = "Dmitriy Medvedev"
			picture = "Dimitry_Medvedev.dds"
			ideology = Conservative
			traits = {
				emerging_Conservative
				political_dancer
				western_liberalism
			}
		}
	}
}
country_event = {
	id = russia_med.1
	title = russia_med.1.t
	desc = russia_med.1.d
	picture = GFX_report_event_Arrest_3
	is_triggered_only = yes

	trigger = { tag = SOV }

	option = {
		name = russia_med.1.a
		log = "[GetDateText]: [This.GetName]: russia_med.1.a executed"
		add_political_power = 100
		news_event = {
			hours = 6
			id = russia_news.8
		}
	}
}
country_event = {
	id = sov_vybory.2
	title = sov_vybory.2.t
	desc = sov_vybory.2.d
	picture = GFX_vladimir_putin
	is_triggered_only = yes

	trigger = { tag = SOV }

	option = {
		name = sov_vybory.2.a
		log = "[GetDateText]: [This.GetName]: sov_vybory.2.a executed"
		retire_country_leader = yes
		set_temp_variable = { rul_party_temp = 6 }
		set_temp_variable = { col_one = 0 }
		set_temp_variable = { col_two = 15 }
		change_ruling_party_effect = yes
		set_politics = {
			ruling_party = communism
			election_frequency = 72
		}
		create_country_leader = {
			name = "Vladimir V.Putin"
			picture = "Vladimir_Putin_older.dds"
			ideology = Conservative
			traits = {
				spy emerging_Conservative geopolitical_thinker political_dancer likeable sly rational
			}
		}
		add_stability = -0.1
		country_event = { id = rusboloto.1 days = 14 }
	}
}
###Meme Pikalyovo Trip Event
country_event = {
	id = russia_med.2
	title = russia_med.2.t
	desc = russia_med.2.d
	picture = GFX_vladimir_putin
	is_triggered_only = yes

	trigger = { tag = SOV }

	option = {
		name = russia_med.2.a
		log = "[GetDateText]: [This.GetName]: russia_med.2.a executed"
		add_stability = 0.01
		set_temp_variable = { temp_opinion = -1 }
		change_oligarchs_opinion = yes
	}
}

country_event = {
	id = rusboloto.1
	title = rusboloto.1.t
	desc = rusboloto.1.d
	picture = GFX_bolotnaya_movement
	is_triggered_only = yes

	trigger = { tag = SOV }

	option = {
		name = rusboloto.1.a
		log = "[GetDateText]: [This.GetName]: rusboloto.1.a executed"
		ai_chance = { base = 90 }
		add_political_power = -100
		add_stability = 0.05
		country_event = { id = rusboloto.2 days = 5 }
	}

	option = {
		name = rusboloto.1.b
		log = "[GetDateText]: [This.GetName]: rusboloto.1.b executed"
		ai_chance = { base = 10 }
		hidden_effect = {
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.05 }
			change_relative_party_popularity = yes
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}
			set_temp_variable = { party_index = 4 }
			set_temp_variable = { party_popularity_increase = 0.05 }
			change_relative_party_popularity = yes
		}
		hold_election = SOV
	}
}

country_event = {
	id = rusboloto.2
	title = rusboloto.2.t
	desc = rusboloto.2.d
	picture = GFX_russia_protests
	is_triggered_only = yes

	trigger = { tag = SOV }

	option = {
		name = rusboloto.2.a
		log = "[GetDateText]: [This.GetName]: rusboloto.2.a executed"
		ai_chance = { base = 90 }
		add_political_power = -100
		add_stability = 0.05
		country_event = { id = rusboloto.3 days = 3 }
	}

	option = {
		name = rusboloto.2.b
		log = "[GetDateText]: [This.GetName]: rusboloto.2.b executed"
		ai_chance = { base = 10 }
		hidden_effect = {
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.05 }
			change_relative_party_popularity = yes
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}
			set_temp_variable = { party_index = 4 }
			set_temp_variable = { party_popularity_increase = 0.05 }
			change_relative_party_popularity = yes
		}
		hold_election = SOV
	}
}
country_event = {
	id = rusboloto.3
	title = rusboloto.3.t
	desc = rusboloto.3.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	trigger = { tag = SOV }

	option = { name = rusboloto.3.a }
}

country_event = {
	id = sov_other.2
	title = sov_other.2.t
	desc = sov_other.2.d
	picture = GFX_gennady_zyuganov
	is_triggered_only = yes

	trigger = { tag = SOV }

	option = { name = sov_other.2.a }
}

country_event = {
	id = sov_other.6
	title = sov_other.6.t
	desc = sov_other.6.d
	picture = GFX_russian_march
	is_triggered_only = yes

	trigger = { tag = SOV }

	option = { name = sov_other.6.a }
}

country_event = {
	id = sov_other.9
	title = sov_other.9.t
	desc = sov_other.9.d
	picture = GFX_nemtsov_timoshenko
	is_triggered_only = yes

	trigger = {
		OR = {
			tag = SOV
			tag = UKR
		}
	}

	option = {
		name = sov_other.9.a
		trigger = { tag = UKR }
		log = "[GetDateText]: [This.GetName]: sov_other.9.a executed"
		UKR = { add_stability = 0.05 }
	}

	option = {
		name = sov_other.9.b
		trigger = { tag = SOV }
		log = "[GetDateText]: [This.GetName]: sov_other.9.b executed"
		UKR = {
			add_opinion_modifier = { target = SOV modifier = has_expressed_loyalty }
		}
		add_opinion_modifier = {
			target = UKR
			modifier = has_expressed_loyalty
		}
	}
}
country_event = {
	id = sov_other.10
	title = sov_other.10.t
	desc = sov_other.10.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	trigger = { tag = UKR }

	option = {
		name = sov_other.10.a
		trigger = { tag = UKR }
		log = "[GetDateText]: [This.GetName]: sov_other.10.a executed"
		UKR = { decrease_corruption = yes }
	}
}
country_event = {
	id = sov_other.12
	title = sov_other.12.t
	desc = sov_other.12.d
	picture = GFX_russian_us_troops_together_training_two
	is_triggered_only = yes

	option = { name = sov_other.12.a }
}
country_event = {
	id = sov_other.13
	title = sov_other.13.t
	desc = sov_other.13.d
	picture = GFX_eastern_europe
	is_triggered_only = yes

	trigger = { tag = UKR }

	option = {
		name = sov_other.13.a
		trigger = { tag = UKR }
		log = "[GetDateText]: [This.GetName]: sov_other.13.a executed"
		hidden_effect = { SOV = { country_event = sov_other.14 } }
	}

	option = {
		name = sov_other.13.b
		trigger = { tag = UKR }
		log = "[GetDateText]: [This.GetName]: sov_other.13.b executed"
		hidden_effect = { SOV = { country_event = sov_other.15 } }
	}
}
country_event = {
	id = sov_other.14
	title = sov_other.14.t
	desc = sov_other.14.d
	picture = GFX_eastern_europe
	is_triggered_only = yes

	trigger = { tag = SOV }

	option = {
		name = sov_other.14.a
		trigger = { tag = SOV }
		log = "[GetDateText]: [This.GetName]: sov_other.14.a executed"
		hidden_effect = {
			if = {
				limit = {
					country_exists = NOV
					NOT = { NOV = { is_subject_of = UKR } }
				}
				NOV = {
					remove_state_core = 1076
					remove_state_core = 1075
					remove_state_core = 693
					remove_state_core = 669
					remove_state_core = 694
					remove_state_core = 1030
					remove_state_core = 1087
					remove_state_core = 696
					remove_state_core = 1085
					remove_state_core = 1086
					remove_state_core = 333
					remove_state_core = 695
				}
			}
			if = {
				limit = { country_exists = DPR }
				DPR = {
					remove_state_core = 693
					remove_state_core = 1030
				}
			}
			if = {
				limit = { country_exists = LPR }
				LPR = {
					remove_state_core = 1076
					remove_state_core = 1075
				}
			}
			set_temp_variable = { percent_change = 20 }
			set_temp_variable = { influence_target = UKR }
			change_influence_percentage = yes
		}
	}
}
country_event = {
	id = sov_other.15
	title = sov_other.15.t
	desc = sov_other.15.d
	picture = GFX_eastern_europe
	is_triggered_only = yes

	trigger = { tag = SOV }

	option = {
		name = sov_other.15.a
		trigger = { tag = SOV }
		log = "[GetDateText]: [This.GetName]: sov_other.15.a executed"
		set_temp_variable = { percent_change = -5 }
		set_temp_variable = { influence_target = UKR }
		change_influence_percentage = yes
		hidden_effect = {
			if = {
				limit = {
					country_exists = NOV
					NOT = { NOV = { is_subject_of = UKR } }
				}
				NOV = {
					remove_state_core = 1076
					remove_state_core = 1075
					remove_state_core = 693
					remove_state_core = 669
					remove_state_core = 694
					remove_state_core = 1030
					remove_state_core = 1087
					remove_state_core = 696
					remove_state_core = 1085
					remove_state_core = 1086
					remove_state_core = 333
					remove_state_core = 695
				}
			}
			if = {
				limit = { country_exists = DPR }
				DPR = {
					remove_state_core = 693
					remove_state_core = 1030
				}
			}
			if = {
				limit = { country_exists = LPR }
				LPR = {
					remove_state_core = 1076
					remove_state_core = 1075
				}
			}
		}
	}
}
country_event = {
	id = sov_other.17
	title = sov_other.17.t
	desc = sov_other.17.d
	picture = GFX_nat_befriend_armenia
	is_triggered_only = yes

	option = { name = sov_other.17.a }
}
#Artsakh peacekeeping
country_event = {
	id = sov_other.19
	title = sov_other.19.t
	desc = sov_other.19.d
	picture = GFX_armaze_negot
	is_triggered_only = yes

	trigger = {
		OR = {
			tag = AZE
			tag = ARM
		}
	}

	option = {
		name = sov_other.19.a
		ai_chance = {
			base = 25
			modifier = {
				is_historical_focus_on = yes
				add = 5
			}
		}
		log = "[GetDateText]: [This.GetName]: sov_other.19.a executed"
		AZE = {
			set_state_owner = 1037
			set_state_owner = 1036
		}
		SOV = { give_guarantee = NKR }
	}

	option = {
		name = sov_other.19.b
		ai_chance = {
			base = 25
			modifier = {
				is_historical_focus_on = yes
				add = -25
			}
		}
		log = "[GetDateText]: [This.GetName]: sov_other.19.b executed"
		SOV = {
			declare_war_on = {
				target = AZE
				type = annex_everything
			}
		}
	}
}
country_event = {
	id = sov_other.20
	title = sov_other.20.t
	desc = sov_other.20.d
	picture = GFX_armaze_negot
	is_triggered_only = yes

	trigger = {
		OR = {
			tag = AZE
			tag = ARM
		}
	}

	option = {
		name = sov_other.20.a
		ai_chance = {
			base = 25
			modifier = {
				is_historical_focus_on = yes
				add = -25
			}
		}
		log = "[GetDateText]: [This.GetName]: sov_other.20.a executed"
		SOV = { country_event = sov_other.21 }
	}

	option = {
		name = sov_other.20.b
		ai_chance = {
			base = 25
			modifier = {
				is_historical_focus_on = yes
				add = 5
			}
		}
		log = "[GetDateText]: [This.GetName]: sov_other.20.b executed"
		AZE = { country_event = sov_other.19 }
	}
}
country_event = {
	id = sov_other.21
	title = sov_other.21.t
	desc = sov_other.21.d
	picture = GFX_armaze_negot
	is_triggered_only = yes

	trigger = {
		OR = {
			tag = AZE
			tag = ARM
			tag = SOV
		}
	}

	option = { name = sov_other.21.a }
}
#DPK agree or not agree?
country_event = {
	id = sov_other.22
	title = sov_other.22.t
	desc = sov_other.22.d
	picture = GFX_weapons_arms1
	is_triggered_only = yes

	option = {
		name = sov_other.22.a
		log = "[GetDateText]: [This.GetName]: sov_other.22.a executed"
		add_equipment_to_stockpile = {
			type = medium_tank_artillery_chassis_0
			variant_name = "M-1978"
			amount = -1300
		}
		set_temp_variable = { treasury_change = 35.5 }
		modify_treasury_effect = yes
		BLR = { country_event = sov_other.25 }
		SOV = { country_event = sov_other.23 }
		ai_chance = { base = 100 }
	}

	option = {
		name = sov_other.22.b
		log = "[GetDateText]: [This.GetName]: sov_other.22.b executed"
		SOV = { country_event = sov_other.24 }
		ai_chance = { base = 0 }
	}
}
#DPK agree
country_event = {
	id = sov_other.23
	title = sov_other.23.t
	desc = sov_other.23.d
	picture = GFX_generic_soldiers
	is_triggered_only = yes

	option = {
		name = sov_other.23.a
		log = "[GetDateText]: [This.GetName]: sov_other.23.a executed"
		add_opinion_modifier = { target = NKO modifier = recent_actions_positive }
		reverse_add_opinion_modifier = { target = NKO modifier = recent_actions_positive }
		add_equipment_to_stockpile = {
			type = medium_tank_artillery_chassis_0
			variant_name = "M-1978"
			amount = 1100
			producer = NKO
		}
		set_temp_variable = { treasury_change = -35.5 }
		modify_treasury_effect = yes
	}
}
#DPK not agree
country_event = {
	id = sov_other.24
	title = sov_other.24.t
	desc = sov_other.24.d
	picture = GFX_weapons_arms1
	is_triggered_only = yes

	option = {
		name = sov_other.24.a
		log = "[GetDateText]: [This.GetName]: sov_other.24.a executed"
		add_opinion_modifier = { target = NKO modifier = recent_actions_negative }
		reverse_add_opinion_modifier = { target = NKO modifier = recent_actions_negative }
	}
}
#DPK agree to Belarus
country_event = {
	id = sov_other.25
	title = sov_other.25.t
	desc = sov_other.25.d
	picture = GFX_weapons_arms1
	is_triggered_only = yes

	option = {
		name = sov_other.25.a
		log = "[GetDateText]: [This.GetName]: sov_other.25.a executed"
		add_opinion_modifier = { target = NKO modifier = recent_actions_positive }
		reverse_add_opinion_modifier = { target = NKO modifier = recent_actions_positive }
		add_equipment_to_stockpile = {
			type = medium_tank_artillery_chassis_0
			variant_name = "M-1978"
			amount = 200
			producer = NKO
		}
	}
}
#Referendum Independence or Not
country_event = {
	id = sov_other.32
	title = sov_other.32.t
	desc = sov_other.32.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = {
		name = sov_other.32.a
		log = "[GetDateText]: [This.GetName]: sov_other.32.a executed"
		set_country_flag = SOV_subject_republic
		SOV = {
			set_autonomy = {
				target = ROOT
				autonomy_state = autonomy_republic_rf
			 }
		}
		add_ideas = CHE_republic_rf
		add_ideas = SUB_small_taxes
		SOV = {
			set_temp_variable = { modify_subjectnalogs = 3 }
			modify_subjectnalogs_support = yes
			country_event = sov_other.33
		}
		ai_chance = {
			base = 1
			modifier = {
				tag = ROOT
				check_variable = { ROOT.subjectinped < 55 }
				add = 50
			}
			modifier = {
				tag = BSH
				add = 100
			}
		}
	}

	option = {
		name = sov_other.32.b
		log = "[GetDateText]: [This.GetName]: sov_other.32.b executed"
		SOV = { country_event = sov_other.34 }
		ai_chance = {
			base = 1
			modifier = {
				tag = ROOT
				check_variable = { ROOT.subjectinped > 55 }
				add = 50
			}
			modifier = {
				tag = CHE
				has_completed_focus = SOV_navalny
				add = 100
			}
		}
	}
}
#They join Us
country_event = {
	id = sov_other.33
	title = sov_other.33.t
	desc = sov_other.33.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = { name = sov_other.33.a }
}
#They leave Us
country_event = {
	id = sov_other.34
	title = sov_other.34.t
	desc = sov_other.34.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = { name = sov_other.34.a }
}
#KOBA
country_event = {
	id = sov_other.35
	title = sov_other.35.t
	desc = sov_other.35.d
	picture = GFX_sov_koba
	is_triggered_only = yes

	option = {
		name = sov_other.35.a
		log = "[GetDateText]: [This.GetName]: sov_other.35.a executed"
		custom_effect_tooltip = SOV_koba_tooltip
		hidden_effect = {
			country_event = { id = sov_other.36 days = 100 }
		}
		ai_chance = { base = 0 }
	}

	option = {
		name = sov_other.35.b
		log = "[GetDateText]: [This.GetName]: sov_other.35.b executed"
		hidden_effect = {
			set_country_flag = SOV_did_not_allow_duma_to_speak
			mark_focus_tree_layout_dirty = yes
		}
		ai_chance = { base = 100 }
	}
}
#KOBA
country_event = {
	id = sov_other.36
	title = sov_other.36.t
	desc = sov_other.36.d
	picture = GFX_sov_koba
	is_triggered_only = yes

	option = {
		name = sov_other.36.a
		log = "[GetDateText]: [This.GetName]: sov_other.36.a executed"
		ai_chance = { base = 90 }
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = 0.15 }
		set_temp_variable = { temp_outlook_increase = 0.15 }
		change_relative_party_popularity = yes
		hidden_effect = {
			country_event = { id = sov_other.37 days = 100 }
		}
	}

	option = {
		name = sov_other.36.b
		log = "[GetDateText]: [This.GetName]: sov_other.36.b executed"
		ai_chance = { base = 10 }
		add_stability = -0.09
		set_temp_variable = { party_index = 22 }
		set_temp_variable = { party_popularity_increase = -0.15 }
		set_temp_variable = { temp_outlook_increase = -0.15 }
		change_relative_party_popularity = yes
	}
}
#KOBA
country_event = {
	id = sov_other.37
	title = sov_other.37.t
	desc = sov_other.37.d
	picture = GFX_sov_koba
	is_triggered_only = yes

	option = {
		name = sov_other.37.a
		log = "[GetDateText]: [This.GetName]: sov_other.37.a executed"
		hidden_effect = {
			set_temp_variable = { party_index = 22 }
			set_temp_variable = { party_popularity_increase = 0.25 }
			set_temp_variable = { temp_outlook_increase = 0.25 }
			change_relative_party_popularity = yes
			set_temp_variable = { rul_party_temp = 22 }
			change_ruling_party_effect = yes
			clr_country_flag = SOV_did_not_allow_duma_to_speak
			mark_focus_tree_layout_dirty = yes
			complete_national_focus = SOV_kob_party_start
		}
		custom_effect_tooltip = jreci_kick
		create_country_leader = {
			name = "Constantine Petrov"
			picture = "constantine_petrov.dds"
			ideology = Nat_Autocracy
			traits = {
				nationalist_Nat_Autocracy
			}
		}
	}
}
#Nabibulina
country_event = {
	id = sov_other.38
	title = sov_other.38.t
	desc = sov_other.38.d
	picture = GFX_centro_bank_milfa
	is_triggered_only = yes

	option = {
		name = sov_other.38.a
		log = "[GetDateText]: [This.GetName]: sov_other.38.a executed"
		add_ideas = nabibulina_best
		increase_economic_growth = yes
	}
}

#Girkin dal Dengi strelkovu

country_event = {
	id = sov_girkin.1
	title = sov_girkin.1.t
	desc = sov_girkin.1.d
	picture = GFX_girkin_runov_peredal_dengi
	is_triggered_only = yes

	trigger = {
		OR = {
			tag = SOV
			tag = UKR
		}
	}

	option = {
		name = sov_girkin.1.a
		ai_chance = {
			base = 25
			modifier = {
				is_historical_focus_on = yes
				add = 5
			}
		}
	}
}

## USSR Events
country_event = {
	id = sov_communists.1
	title = sov_communists.1.t
	desc = sov_communists.1.d
	picture = GFX_red_guards
	is_triggered_only = yes

	trigger = { has_completed_focus = SOV_ban_private_land_ownership }

	option = {
		name = sov_communists.1.a
		log = "[GetDateText]: [This.GetName]: sov_communists.1.a"
		add_political_power = -75
		add_stability = -0.05
		add_timed_idea = {
			idea = SOV_harsh_raskulachivanie_idea
			days = 180
		}
		ai_chance = { base = 25 }
	}

	option = {
		name = sov_communists.1.b
		log = "[GetDateText]: [This.GetName]: sov_communists.1.b"
		add_political_power = -50
		add_stability = -0.03
		add_timed_idea = {
			idea = SOV_moderate_raskulachivanie_idea
			days = 180
		}
		ai_chance = { base = 25 }
	}

	option = {
		name = sov_communists.1.c
		log = "[GetDateText]: [This.GetName]: sov_communists.1.c"
		add_political_power = -25
		add_stability = -0.02
		add_timed_idea = {
			idea = SOV_moderate_raskulachivanie_idea
			days = 180
		}
		ai_chance = { base = 25 }
	}
}

country_event = {
	id = sov_communists.2
	title = sov_communists.2.t
	desc = sov_communists.2.d
	picture = GFX_communism
	is_triggered_only = yes

	trigger = { has_completed_focus = SOV_a_new_constitution }

	option = {
		name = sov_communists.2.a
		log = "[GetDateText]: [This.GetName]: sov_communists.2.a"
		add_political_power = 25
		add_war_support = 0.03
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SOV_revived_politburo_modifier }
		add_to_variable = { SOV_revived_politburo_nationalist_support = 0.03 tooltip = nationalist_drift_tt }
		ai_chance = { base = 25 }
	}

	option = {
		name = sov_communists.2.b
		log = "[GetDateText]: [This.GetName]: sov_communists.2.b"
		add_political_power = 25
		add_stability = 0.02
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SOV_revived_politburo_modifier }
		add_to_variable = { SOV_revived_politburo_communism_support = 0.03 tooltip = communism_drift_tt }
		ai_chance = { base = 25 }
	}
}

country_event = {
	id = sov_communists.3
	title = sov_communists.3.t
	desc = sov_communists.3.d
	picture = GFX_communism
	is_triggered_only = yes

	trigger = { has_completed_focus = SOV_preserve_perestroika_ideas }

	option = {
		name = sov_communists.3.a
		log = "[GetDateText]: [This.GetName]: sov_communists.3.a"
		add_political_power = 75
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SOV_revived_politburo_modifier }
		add_to_variable = { SOV_revived_politburo_democratic_support = 0.03 tooltip = democratic_drift_tt }
		ai_chance = { base = 25 }
	}

	option = {
		name = sov_communists.3.b
		log = "[GetDateText]: [This.GetName]: sov_communists.3.b"
		add_political_power = 25
		add_stability = 0.02
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SOV_revived_politburo_modifier }
		add_to_variable = { SOV_revived_politburo_communism_support = 0.03 tooltip = communism_drift_tt }
		ai_chance = { base = 25 }
	}
}

country_event = {
	id = sov_communists.4
	title = sov_communists.4.t
	desc = sov_communists.4.d
	picture = GFX_communism
	is_triggered_only = yes

	trigger = { has_completed_focus = SOV_preserve_perestroika_ideas }

	option = {
		name = sov_communists.4.a
		log = "[GetDateText]: [This.GetName]: sov_communists.4.a"
		add_stability = 0.03
		add_war_support = 0.02
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SOV_revived_politburo_modifier }
		ai_chance = { base = 25 }
	}

	option = {
		name = sov_communists.4.b
		log = "[GetDateText]: [This.GetName]: sov_communists.4.b"
		add_stability = 0.05
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SOV_revived_politburo_modifier }
		add_to_variable = { SOV_revived_politburo_communism_support = 0.07 tooltip = communism_drift_tt }
		ai_chance = { base = 25 }
	}
}

country_event = {
	id = sov_communists.6
	title = sov_communists.6.t
	desc = sov_communists.6.d
	picture = GFX_communism
	is_triggered_only = yes

	trigger = { has_completed_focus = SOV_restalinization }

	option = {
		name = sov_communists.6.a
		log = "[GetDateText]: [This.GetName]: sov_communists.6.a"
		set_province_name = {
			id = 3529
			name = SOV_Stalingrad
		}
		hidden_effect = { 665 = { set_state_name = SOV_Stalingrad } }
		set_province_name = {
			id = 3151
			name = SOV_Leningrad
		}
		hidden_effect = { 644 = { set_state_name = SOV_Leningrad } }
		set_province_name = {
			id = 6245
			name = SOV_Kalinin
		}
		hidden_effect = { 649 = { set_state_name = SOV_Kalinin } }
		set_province_name = {
			id = 11225
			name = SOV_Kuybyshev
		}
		hidden_effect = { 663 = { set_state_name = SOV_Kuybyshev } }
		set_province_name = {
			id = 1369
			name = SOV_Stalinsk
		}
		hidden_effect = { 1066 = { set_state_name = SOV_Stalinsk } }
		set_province_name = {
			id = 11375
			name = SOV_Gorky
		}
		hidden_effect = { 660 = { set_state_name = SOV_Gorky } }
		ai_chance = { base = 25 }
	}

	option = {
		name = sov_communists.6.b
		log = "[GetDateText]: [This.GetName]: sov_communists.6.b"
		set_province_name = {
			id = 6380
			name = SOV_Stalinodar
		}
		hidden_effect = { 652 = { set_state_name = SOV_Stalinodar } }
		set_province_name = {
			id = 3529
			name = SOV_Stalingrad
		}
		hidden_effect = { 665 = { set_state_name = SOV_Stalingrad } }
		set_province_name = {
			id = 3151
			name = SOV_Stalingrad_on_Neva
		}
		hidden_effect = { 644 = { set_state_name = SOV_Stalingrad_on_Neva } }
		set_province_name = {
			id = 6245
			name = SOV_Kalinin
		}
		hidden_effect = { 649 = { set_state_name = SOV_Kalinin } }
		set_province_name = {
			id = 11225
			name = SOV_Kuybyshev
		}
		hidden_effect = { 663 = { set_state_name = SOV_Kuybyshev } }
		set_province_name = {
			id = 11375
			name = SOV_Stalinsk_on_Volga
		}
		hidden_effect = { 660 = { set_state_name = SOV_Stalinsk_on_Volga } }
		set_province_name = {
			id = 1369
			name = SOV_Stalinsk
		}
		hidden_effect = { 1066 = { set_state_name = SOV_Stalinsk } }
		ai_chance = { base = 25 }
	}
}

#Nationalist Events
country_event = {
	id = sov_nationalists.1
	title = sov_nationalists.1.t
	desc = sov_nationalists.1.d
	picture = GFX_vladimir_zhirinovsky
	is_triggered_only = yes

	option = {
		name = sov_nationalists.1.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.1.a"
		add_stability = 0.02
		increase_centralization = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		hidden_effect = {
			country_event = sov_nationalists.20
			set_cosmetic_tag = SOV_AUTH_S_nationalist
			set_variable = { dynamic_flag_variant = 8 }
			clr_country_flag = dynamic_flag
			news_event = {
				hours = 12
				id = sov_nationalists_news.2
			}
		}
		ai_chance = { base = 25 }
	}

	option = {
		name = sov_nationalists.1.b
		log = "[GetDateText]: [This.GetName]: sov_nationalists.1.b"
		add_war_support = 0.05
		increase_military_spending = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		hidden_effect = {
			country_event = sov_nationalists.20
			set_cosmetic_tag = SOV_AUTH_S_nationalist
			set_variable = { dynamic_flag_variant = 8 }
			clr_country_flag = dynamic_flag
			news_event = {
				hours = 12
				id = sov_nationalists_news.2
			}
		}
		ai_chance = { base = 25 }
	}
}

##Nationalist Events

##Allied with Bulgaria and Iraq
country_event = {
	id = sov_nationalists.7
	title = sov_nationalists.7.t
	desc = sov_nationalists.7.d
	picture = GFX_sov_empire_herb
	is_triggered_only = yes

	option = {
		name = sov_nationalists.7.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.7.a"
		if = { limit = { is_in_faction = yes }
			leave_faction = yes
		}
		SOV = {
			add_to_faction = PREV
			country_event = diplomatic_response.1
		}
		add_opinion_modifier = { target = SOV modifier = has_expressed_loyalty }
			diplomatic_relation = {
				country = SOV
				relation = military_access
		}
		add_ideas = S0V_russian_sphere_idea
		ai_chance = {
			base = 1
			modifier = {
				has_government = nationalist
				factor = 90
			}
			modifier = {
				ROOT = { is_subject_of = SOV }
				factor = 90
			}
		}
	}

	option = {
		name = sov_nationalists.7.b
		ai_chance = {
			base = 1
			modifier = {
				has_government = democratic
				factor = 90
			}
			modifier = {
				has_government = neutrality
				factor = 90
			}
			modifier = {
				has_government = communism
				factor = 90
			}
			modifier = {
				NOT = { is_in_faction_with = SOV }
				factor = 90
			}
		}
	}
}
##Allied with Persia
country_event = {
	id = sov_nationalists.8
	title = sov_nationalists.8.t
	desc = sov_nationalists.8.d
	picture = GFX_sov_empire_herb
	is_triggered_only = yes

	option = {
		name = sov_nationalists.8.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.8.a"
		if = { limit = { is_in_faction = yes }
		leave_faction = yes
		}
		SOV = {
			add_to_faction = PREV
			country_event = diplomatic_response.1
		}
		add_opinion_modifier = { target = SOV modifier = has_expressed_loyalty }
			diplomatic_relation = {
				country = SOV
				relation = military_access
		}
		add_opinion_modifier = { target = SOV modifier = has_expressed_loyalty }
		diplomatic_relation = {
			country = SOV
			relation = military_access
		}
		ai_chance = { base = 50 }
	}

	option = {
		name = sov_nationalists.8.b
		log = "[GetDateText]: [This.GetName]: sov_nationalists.8.b"
		SOV = {
			country_event = { id = sov_nationalists.10 days = 1 }
		}
		ai_chance = { base = 50 }
	}
}
country_event = {
	id = sov_nationalists.10
	title = sov_nationalists.10.t
	desc = sov_nationalists.10.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = sov_nationalists.10.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.10.a"
		set_temp_variable = { wargoal_on = PER }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = PER
			type = puppet_wargoal_focus
		}
		add_political_power = -25
		add_state_claim = 1073
		add_state_claim = 403
		add_state_claim = 407
		add_state_claim = 1039
	}
}

##South Azer Brigade
country_event = {
	id = sov_nationalists.11
	title = sov_nationalists.11.t
	desc = sov_nationalists.11.d
	picture = GFX_generic_soldiers
	is_triggered_only = yes

	option = {
		name = sov_nationalists.11.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.11.a"
		division_template = {
			name = "Azerbaijan Revolutionaries"
			regiments = {
				Militia_Bat = { x = 0 y = 0 }
			}
		}
		add_manpower = 3700
		set_equipment_fraction = 0.25
		407 = {
			create_unit = {
				division = "name = \"Azerbaijan Revolutionaries\" division_template = \"Azerbaijan Revolutionaries\" start_experience_factor = 1"
				owner = SAZ
				count = 1
				prioritize_location = 1896
			}
			create_unit = {
				division = "name = \"Azerbaijan Revolutionaries\" division_template = \"Azerbaijan Revolutionaries\" start_experience_factor = 1"
				owner = SAZ
				count = 1
				prioritize_location = 4553
			}
			create_unit = {
				division = "name = \"Azerbaijan Revolutionaries\" division_template = \"Azerbaijan Revolutionaries\" start_experience_factor = 1"
				owner = SAZ
				count = 1
				prioritize_location = 10454
			}
			create_unit = {
				division = "name = \"Azerbaijan Revolutionaries\" division_template = \"Azerbaijan Revolutionaries\" start_experience_factor = 1"
				owner = SAZ
				count = 1
				prioritize_location = 12793
			}
		}
	}
}
##Allied with Armenia Greece and Sirya
country_event = {
	id = sov_nationalists.12
	title = sov_nationalists.12.t
	desc = sov_nationalists.12.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = sov_nationalists.12.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.12.a"
		if = {
			limit = { is_in_faction = yes }
			leave_faction = yes
		}
		SOV = {
			add_to_faction = PREV
			country_event = diplomatic_response.1
		}
		add_opinion_modifier = { target = SOV modifier = has_expressed_loyalty }
		diplomatic_relation = {
			country = SOV
			relation = military_access
		}
		add_opinion_modifier = { target = SOV modifier = has_expressed_loyalty }
		diplomatic_relation = {
			country = SOV
			relation = military_access
		}
		add_ideas = S0V_russian_sphere_idea
		TUR = {
			add_stability = -0.05
			add_opinion_modifier = { target = SOV modifier = major_breach_of_trust }
			add_opinion_modifier = { target = ROOT modifier = major_breach_of_trust }
		}
		if = {
			limit = { original_tag = ARM }
			add_war_support = 0.05
			AZE = { country_event = sov_other.17 }
			ARM = {
				add_opinion_modifier = { target = SOV modifier = has_expressed_loyalty }
				country_event = sov_other.17
			}
			AZE = { country_event = sov_other.17 }
		}
		ai_chance = {
			base = 50
			modifier = {
				has_government = nationalist
				factor = 50
			}
		}
	}

	option = {
		name = sov_nationalists.12.b
		log = "[GetDateText]: [This.GetName]: sov_nationalists.12.b"
		SOV = { country_event = sov_nationalists.13 }
		ai_chance = {
			base = 50
			modifier = {
				has_government = democratic
				factor = 50
			}
			modifier = {
				has_government = communism
				factor = 50
			}
			modifier = {
				has_government = neutrality
				factor = 50
			}
		}
	}
}
country_event = {
	id = sov_nationalists.13
	title = sov_nationalists.13.t
	desc = sov_nationalists.13.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = { name = sov_nationalists.13.a }
}
country_event = {
	id = sov_nationalists.14
	title = sov_nationalists.14.t
	desc = sov_nationalists.14.d
	picture = GFX_sov_empire_exercises
	is_triggered_only = yes

	option = {
		name = sov_nationalists.14.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.14.a"
		add_timed_idea = { idea = SOV_military_exercises_anti_turkey_idea days = 100 }
	}
}

##Union state with Serbia
country_event = {
	id = sov_nationalists.15
	title = sov_nationalists.15.t
	desc = sov_nationalists.15.d
	picture = GFX_union_state
	is_triggered_only = yes

	option = {
		name = sov_nationalists.15.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.15.a"
		SER = { complete_national_focus = SER_union_state }
		ai_chance = {
			base = 1
			modifier = {
				has_government = nationalist
				factor = 50
			}
		}
	}

	option = {
		name = sov_nationalists.15.b
		log = "[GetDateText]: [This.GetName]: sov_nationalists.15.b"
		SOV = { country_event = sov_nationalists.17 }
		ai_chance = {
			base = 1
			modifier = {
				has_government = democratic
				factor = 50
			}
			modifier = {
				has_government = neutrality
				factor = 50
			}
			modifier = {
				has_government = communism
				factor = 50
			}
		}
	}
}
country_event = {
	id = sov_nationalists.17
	title = sov_nationalists.17.t
	desc = sov_nationalists.17.d
	picture = GFX_union_state
	is_triggered_only = yes

	option = { name = sov_nationalists.17.a }
}

#Jirik Crusade
country_event = {
	id = sov_nationalists.19
	title = sov_nationalists.19.t
	desc = sov_nationalists.19.d
	picture = GFX_SOV_generic
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = sov_nationalists.19.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.19.a executed"
		ai_chance = {
			base = 10
			modifier = {
				factor = 90
				ROOT = { is_subject_of = SOV }
			}
			modifier = {
				has_government = nationalist
				factor = 90
			}
		}
		if = {
			limit = { ROOT = { is_subject_of = SOV } }
			ROOT = {
				set_country_flag = SOV_subject_governorate
				SOV = {
					set_autonomy = {
						target = ROOT
						autonomy_state = autonomy_governorate_rf
						end_wars = no
						end_civil_wars = no
					}
				}
			}
			if = {
				limit = { ROOT = { original_tag = LEB } }
				set_cosmetic_tag = GOV_LEB
				clr_country_flag = dynamic_flag
			}
			if = {
				limit = { ROOT = { original_tag = SYR } }
				set_cosmetic_tag = GOV_SYR
				clr_country_flag = dynamic_flag
			}
			if = {
				limit = { ROOT = { original_tag = ISR } }
				set_cosmetic_tag = GOV_ISR
				clr_country_flag = dynamic_flag
			}
			if = {
				limit = { ROOT = { original_tag = EGY } }
				set_cosmetic_tag = GOV_EGY
				clr_country_flag = dynamic_flag
				set_country_flag = copts_revolted
				remove_ideas = { EGY_Copts_is_very_satisfied_idea EGY_Copts_is_satisfied_idea EGY_Copts_are_neutral_idea EGY_Copts_are_not_satisfied_idea EGY_Copts_are_enraged_idea }
				if = {
					limit = { NOT = { check_variable = { ruling_party = 13 } } }
					set_temp_variable = { rul_party_temp = 13 }
					set_temp_variable = { disable_elections = 0 }
					change_ruling_party_effect = yes
				}
				set_temp_variable = { party_index = 13 }
				set_temp_variable = { party_popularity_increase = 0.10 }
				set_temp_variable = { temp_outlook_increase = 0.10 }
				change_relative_party_popularity = yes
			}
		}
		else_if = {
			limit = { NOT = { ROOT = { is_subject_of = SOV } } }
			SOV = {
				puppet = ROOT
				country_event = diplomatic_response.1
			}
		}
	}

	option = {
		name = sov_nationalists.19.b
		log = "[GetDateText]: [This.GetName]: sov_nationalists.19.b executed"
		ai_chance = {
			base = 10
			modifier = {
				has_government = democratic
				factor = 90
			}
			modifier = {
				has_government = neutrality
				factor = 90
			}
			modifier = {
				has_government = communism
				factor = 90
			}
		}
		SOV = {
			set_temp_variable = { wargoal_on = ROOT }
			set_temp_variable = { wargoal_type = 2 }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				target = ROOT
				type = annex_everything
			}
			add_opinion_modifier = { target = ROOT modifier = betrayed_our_cause }
		}
	}
}

country_event = {
	id = sov_nationalists.20
	title = sov_nationalists.20.t
	desc = sov_nationalists.20.d
	picture = GFX_the_new_empire_zhirik
	is_triggered_only = yes

	trigger = { tag = SOV }

	option = { name = sov_nationalists.20.a }
}

country_event = {
	id = sov_nationalists.21
	title = sov_nationalists.21.t
	desc = sov_nationalists.21.d
	picture = GFX_russian_march
	is_triggered_only = yes

	trigger = { has_completed_focus = SOV_Bring_back_the_legacy_of_the_Russian_Empire }

	option = {
		name = sov_nationalists.21.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.21.a"
		set_province_name = {
			id = 3529
			name = SOV_Tsaritsyn
		}
		hidden_effect = { 665 = { set_state_name = SOV_Tsaritsyn } }
		set_province_name = {
			id = 7274
			name = SOV_Novonikolaevsk
		}
		hidden_effect = { 680 = { set_state_name = SOV_Novonikolaevsk } }
		set_province_name = {
			id = 3734
			name = SOV_Ekaterinodar
		}
		hidden_effect = { 668 = { set_state_name = SOV_North_Ekaterinodar } }
		hidden_effect = { 1140 = { set_state_name = SOV_South_Ekaterinodar } }
		set_province_name = {
			id = 9299
			name = SOV_Stavropol_on_Volga
		}
		hidden_effect = { 663 = { set_state_name = SOV_Stavropol_on_Volga } }
		set_province_name = {
			id = 9338
			name = SOV_Simbirsk
		}
		hidden_effect = { 662 = { set_state_name = SOV_Simbirsk } }
		set_province_name = {
			id = 3151
			name = SOV_Petrograd
		}
		hidden_effect = { 644 = { set_state_name = SOV_Petrograd } }
		set_province_name = {
			id = 6380
			name = SOV_Moscow
		}
		hidden_effect = { 652 = { set_state_name = SOV_Moscow } }
		set_province_name = {
			id = 6245
			name = SOV_Tver
		}
		hidden_effect = { 649 = { set_state_name = SOV_Tver } }
		set_province_name = {
			id = 11225
			name = SOV_Samara
		}
		hidden_effect = { 663 = { set_state_name = SOV_Samara } }
		set_province_name = {
			id = 1369
			name = SOV_Novokuznetsk
		}
		hidden_effect = { 1066 = { set_state_name = SOV_Novokuznetsk } }
		set_province_name = {
			id = 11375
			name = SOV_Nizhny_Novgorod
		}
		hidden_effect = { 660 = { set_state_name = SOV_Nizhny_Novgorod } }
		ai_chance = { base = 25 }
	}

	option = {
		name = sov_nationalists.21.b
		log = "[GetDateText]: [This.GetName]: sov_nationalists.21.b"
		set_province_name = {
			id = 6380
			name = SOV_Moscow
		}
		hidden_effect = { 652 = { set_state_name = SOV_Moscow } }
		set_province_name = {
			id = 3529
			name = SOV_Tsaritsyn
		}
		hidden_effect = { 665 = { set_state_name = SOV_Tsaritsyn } }
		set_province_name = {
			id = 7274
			name = SOV_Novonikolaevsk
		}
		hidden_effect = { 680 = { set_state_name = SOV_Novonikolaevsk } }
		set_province_name = {
			id = 3734
			name = SOV_Ekaterinodar
		}
		hidden_effect = { 668 = { set_state_name = SOV_Ekaterinodar } }
		set_province_name = {
			id = 9299
			name = SOV_Stavropol_on_Volga
		}
		hidden_effect = { 663 = { set_state_name = SOV_Stavropol_on_Volga } }
		set_province_name = {
			id = 9338
			name = SOV_Simbirsk
		}
		hidden_effect = { 662 = { set_state_name = SOV_Simbirsk } }
		set_province_name = {
			id = 3151
			name = SOV_Saint_Petersburg
		}
		hidden_effect = { 644 = { set_state_name = SOV_Saint_Petersburg } }
		set_province_name = {
			id = 6245
			name = SOV_Tver
		}
		hidden_effect = { 649 = { set_state_name = SOV_Tver } }
		set_province_name = {
			id = 11225
			name = SOV_Samara
		}
		hidden_effect = { 663 = { set_state_name = SOV_Samara } }
		set_province_name = {
			id = 11375
			name = SOV_Volgograd
		}
		hidden_effect = { 660 = { set_state_name = SOV_Volgograd } }
		set_province_name = {
			id = 1369
			name = SOV_Novokuznetsk
		}
		hidden_effect = { 1066 = { set_state_name = SOV_Novokuznetsk } }
		ai_chance = { base = 25 }
	}
}
##Annex Transnistria
country_event = {
	id = sov_nationalists.22
	title = sov_nationalists.22.t
	desc = sov_nationalists.22.d
	picture = GFX_transnistria_russia_relations
	is_triggered_only = yes

	option = {
		name = sov_nationalists.22.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.22.a executed"
		hidden_effect = {
			PMR = {
				set_country_flag = SOV_subject_republic
				set_country_flag = SUB_russ_polit
				update_party_name = yes
				set_cosmetic_tag = PMR_russia
				clr_country_flag = dynamic_flag
				add_ideas = SUB_smallish_taxes
			}
			SOV = {
				set_autonomy = {
					target = PMR
					autonomy_state = autonomy_republic_rf
					end_wars = no
					end_civil_wars = no
				}
				set_temp_variable = { modify_subjectnalogs = 0.5 }
				modify_subjectnalogs_support = yes
			}
			PMR = { PMR_russian_join_script = yes }
			SUB_separatism_minus_subject = yes
			hidden_effect = {
				news_event = {
					hours = 12
					id = transnistria_news.1
				}
			}
		}
		ai_chance = { base = 100 }
	}

	option = {
		name = sov_nationalists.22.b
		ai_chance = { base = 0 }
	}
}
##Annex Manchuria
country_event = {
	id = sov_nationalists.23
	title = sov_nationalists.23.t
	desc = sov_nationalists.23.d
	picture = GFX_sov_empire_herb
	is_triggered_only = yes

	##Accept the Annexation
	option = {
		name = sov_nationalists.23.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.23.a executed"
		if = {
			limit = { tag = CHI }
			SOV = { set_country_flag = CHI_accepts_annexation }
			effect_tooltip = {
				SOV = {
					transfer_state = 1097
					transfer_state = 555
					transfer_state = 1096
					transfer_state = 554
					transfer_state = 552
					transfer_state = 1095
				}
			}
		}
		SOV = { country_event = { id = sov_nationalists.24 days = 1 } }
		ai_chance = {
			base = 25
			modifier = {
				strength_ratio = {
					tag = SOV
					ratio > 1
				}
				add = 75
			}
		}
	}

	option = {
		name = sov_nationalists.23.b
		log = "[GetDateText]: [This.GetName]: sov_nationalists.23.b executed"
		if = {
			limit = { tag = CHI }
			SOV = {
				set_country_flag = CHI_refused_annexation
				set_temp_variable = { wargoal_on = CHI }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = CHI
					type = take_claimed_state
				}
				country_event = { id = sov_nationalists.25 days = 1 }
			}
		}
		ai_chance = {
			base = 25
			modifier = {
				strength_ratio = {
					tag = SOV
					ratio < 1
				}
				add = 75
			}
		}
	}

	#Refuse the Annexation
}

##China Accepts
country_event = {
	id = sov_nationalists.24
	title = {
		trigger = { SOV = { has_country_flag = CHI_accepts_annexation } }
		text = sov_nationalists.24.t
	}
	desc = {
		trigger = { SOV = { has_country_flag = CHI_accepts_annexation } }
		text = sov_nationalists.24.d
	}
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = sov_nationalists.24.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.24.a executed"
		if = {
			limit = { SOV = { has_country_flag = CHI_accepts_annexation } }
			SOV = {
				transfer_state = 1097
				transfer_state = 555
				transfer_state = 1096
			}
		}
	}
}
##China Refuses
country_event = {
	id = sov_nationalists.25
	title = {
		trigger = { has_country_flag = CHI_refused_annexation }
		text = sov_nationalists.25.t
	}
	desc = sov_nationalists.25.d
	picture = GFX_sov_empire_herb
	is_triggered_only = yes

	option = {
		name = sov_nationalists.25.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.25.a executed"
		if = {
			limit = { FROM = { tag = CHI } }
			effect_tooltip = {
				set_temp_variable = { wargoal_on = CHI }
				add_threat_from_wargoal_effect = yes
				create_wargoal = {
					target = CHI
					type = take_claimed_state
				}
			}
		}
	}
}
#Turkmen and Afgan Case
country_event = {
	id = sov_nationalists.27
	title = sov_nationalists.27.t
	desc = sov_nationalists.27.d
	picture = GFX_sov_empire_herb
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = sov_nationalists.27.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.27.a executed"
		ai_chance = { base = 50 }
		if = {
			limit = { ROOT = { is_subject_of = SOV } }
			annex_country = { target = ROOT transfer_troops = yes }
			ROOT = {
				every_owned_state = {
					limit = { NOT = { is_core_of = SOV } }
					add_core_of = SOV
				}
			}
		}
		else_if = {
			limit = { NOT = { ROOT = { is_subject_of = SOV } } }
			SOV = {
				puppet = ROOT
				country_event = diplomatic_response.1
			}
		}
	}

	option = {
		name = sov_nationalists.27.b
		log = "[GetDateText]: [This.GetName]: sov_nationalists.27.b executed"
		ai_chance = { base = 50 }
		SOV = {
			set_temp_variable = { wargoal_on = ROOT }
			set_temp_variable = { wargoal_type = 2 }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				target = ROOT
				type = annex_everything
			}
			add_opinion_modifier = { target = ROOT modifier = betrayed_our_cause }
		}
	}
}
country_event = {
	id = sov_nationalists.28
	title = sov_nationalists.28.t
	desc = sov_nationalists.28.d
	picture = GFX_sov_empire_herb
	is_triggered_only = yes

	option = {
		name = sov_nationalists.28.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.28.a executed"
		ai_chance = { base = 100 }
		ROOT = { every_owned_state = { add_core_of = SOV } }
		SOV = {
			country_event = sov_nationalists.51
			add_to_variable = { treasury = ROOT.treasury }
			add_to_variable = { debt = ROOT.debt }
			add_to_variable = { int_investments = ROOT.int_investments }
			annex_country = { target = ROOT transfer_troops = yes }
		}
	}

	option = {
		name = sov_nationalists.28.b
		log = "[GetDateText]: [This.GetName]: sov_nationalists.28.b executed"
		ai_chance = { base = 0 }
		SOV = {
			set_temp_variable = { wargoal_on = ROOT }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				type = puppet_wargoal_focus
				target = ROOT
			}
			add_opinion_modifier = { target = ROOT modifier = betrayed_our_cause }
		}
	}
}
country_event = {
	id = sov_nationalists.29
	title = sov_nationalists.29.t
	desc = sov_nationalists.29.d
	picture = GFX_jirik_zyuga
	is_triggered_only = yes

	option = { name = sov_nationalists.29.a }
}
country_event = {
	id = sov_nationalists.30
	title = sov_nationalists.30.t
	desc = sov_nationalists.30.d
	picture = GFX_bashnya_kremlya_whitesmonarchists
	is_triggered_only = yes

	trigger = { tag = SOV }

	option = {
		name = sov_nationalists.30.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.30.a executed"
		if = {
			limit = { NOT = { check_variable = { ruling_party = 23 } } }
			set_temp_variable = { rul_party_temp = 23 }
			if = {
				limit = { has_elections = no }
				set_temp_variable = { disable_elections = 1 }
			}
			else = {
			}
			change_ruling_party_effect = yes
		}
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.10 }
		set_temp_variable = { temp_outlook_increase = 0.10 }
		change_relative_party_popularity = yes
		retire_country_leader = yes
		create_country_leader = {
			name = "Nikolai III Romanov"
			picture = "Nikolai_romanov.dds"
			ideology = Monarchist
			traits = {
				nationalist_Monarchist elder
			}
		}
		set_cosmetic_tag = SOV_romanov_empire
		hidden_effect = {
			news_event = {
				hours = 12
				id = sov_nationalists_news.9
			}
		}
	}

	option = {
		name = sov_nationalists.30.b
		log = "[GetDateText]: [This.GetName]: sov_nationalists.30.b executed"
		if = {
			limit = { NOT = { check_variable = { ruling_party = 23 } } }
			set_temp_variable = { rul_party_temp = 23 }
			set_temp_variable = { disable_elections = 1 }
			change_ruling_party_effect = yes
		}
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.10 }
		set_temp_variable = { temp_outlook_increase = 0.10 }
		change_relative_party_popularity = yes
		retire_country_leader = yes
		create_country_leader = {
			name = "Maria II Vladimirovna"
			picture = "maria_vladimirovna.dds"
			ideology = Monarchist
			traits = {
				nationalist_Monarchist
				economist
			}
		}
		set_cosmetic_tag = SOV_REB_democratic
		set_variable = { dynamic_flag_variant = 8 }
		hidden_effect = {
			news_event = {
				hours = 12
				id = sov_nationalists_news.10
			}
		}
	}

	option = {
		name = sov_nationalists.30.c
		log = "[GetDateText]: [This.GetName]: sov_nationalists.30.c executed"
		if = {
			limit = { NOT = { check_variable = { ruling_party = 23 } } }
			set_temp_variable = { rul_party_temp = 23 }
			set_temp_variable = { disable_elections = 1 }
			change_ruling_party_effect = yes
		}
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.25 }
		set_temp_variable = { temp_outlook_increase = 0.25 }
		change_relative_party_popularity = yes
		retire_country_leader = yes
		create_country_leader = {
			name = "George I Romanov"
			picture = "georgy_romanov.dds"
			ideology = Monarchist
			traits = {
				nationalist_Monarchist defender_of_democracy
			}
		}
		set_cosmetic_tag = SOV_USSR_AUTH_S_nationalist
		hidden_effect = {
			news_event = {
				hours = 12
				id = sov_nationalists_news.11
			}
		}
	}

	option = {
		name = sov_nationalists.30.d1
		log = "[GetDateText]: [This.GetName]: sov_nationalists.30.d1 executed"
		if = {
			limit = { NOT = { check_variable = { ruling_party = 23 } } }
			set_temp_variable = { rul_party_temp = 23 }
			if = {
				limit = { has_elections = yes }
				set_temp_variable = { disable_elections = 1 }
			}
			change_ruling_party_effect = yes
		}
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.10 }
		set_temp_variable = { temp_outlook_increase = 0.10 }
		change_relative_party_popularity = yes
		retire_country_leader = yes
		create_country_leader = {
			name = "Andrey I Romanov"
			picture = "andrey_romanov.dds"
			ideology = Monarchist
			traits = {
				nationalist_Monarchist
				elder
			}
		}
		set_cosmetic_tag = SOV_ahistorical_flag_neutrality
		hidden_effect = {
			news_event = {
				hours = 12
				id = sov_nationalists_news.12
			}
		}
	}
}
country_event = {
	id = sov_nationalists.31
	title = sov_nationalists.31.t
	desc = sov_nationalists.31.d
	picture = GFX_unification_of_church_and_state
	is_triggered_only = yes

	trigger = { tag = SOV }

	option = {
		name = sov_nationalists.31.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.31.a executed"
		add_political_power = 25
		add_popularity = {
			ideology = nationalist
			popularity = 0.05
		}
	}
}

country_event = {
	id = sov_nationalists.32
	title = sov_nationalists.32.t
	desc = sov_nationalists.32.d
	picture = GFX_zhirik_declaration
	is_triggered_only = yes

	trigger = { tag = SOV }

	option = {
		name = sov_nationalists.32.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.32.a executed"
		add_ideas = SOV_jirik_bad_party_idea
	}
}

country_event = {
	id = sov_nationalists.33
	title = sov_nationalists.33.t
	desc = sov_nationalists.33.d
	picture = GFX_sov_empire_new_russian_army
	is_triggered_only = yes

	trigger = {
		tag = SOV
		date > 2013.12.31
	}

	option = {
		name = sov_nationalists.33.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.33.a executed"
		declare_war_on = {
			target = UKR
			type = annex_everything
		}
		hidden_effect = {
			jirik_ukraine_novorossia = yes
			if = {
				limit = {
					OR = {
						UKR = { owns_state = 669 }
						UKR = { owns_state = 1112 }
						CRM = { is_subject_of = SOV }
					}
				}
				jirik_ukraine_crimea = yes
			}
		}
	}
}

country_event = {
	id = sov_nationalists.35
	title = sov_nationalists.35.t
	desc = sov_nationalists.35.d
	picture = GFX_sov_empire_herb
	is_triggered_only = yes

	option = {
		name = sov_nationalists.35.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.35.a executed"
		add_ideas = S0V_russian_sphere_idea
		create_faction_from_template = faction_template_sov_russian_sphere
	}
}

country_event = {
	id = sov_nationalists.36
	title = sov_nationalists.36.t
	desc = sov_nationalists.36.d
	picture = GFX_sov_empire_governorates
	is_triggered_only = yes

	option = {
		name = sov_nationalists.36.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.36.a executed"
		hidden_effect = {
			set_temp_variable = { treasury_change = -10 }
			modify_treasury_effect = yes
			add_political_power = -100
			set_temp_variable = { party_popularity_increase = 0.09 }
			set_temp_variable = { temp_outlook_increase = 0.09 }
			change_relative_party_popularity = yes
			NOV = { every_core_state = { add_core_of = SOV } }
			annex_country = { target = NOV transfer_troops = yes }
		}
	}
}

country_event = {
	id = sov_nationalists.37
	title = sov_nationalists.37.t
	desc = sov_nationalists.37.d
	picture = GFX_ros_empire_yaik_kazaks
	is_triggered_only = yes

	option = {
		name = sov_nationalists.37.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.37.a executed"
		custom_effect_tooltip = jirik_kazaks_rebellion_tt
		hidden_effect = { jirik_kazak_kazah = yes }
	}
}

country_event = {
	id = sov_nationalists.38
	title = sov_nationalists.38.t
	desc = sov_nationalists.38.d
	picture = GFX_sov_empire_new_russian_army
	is_triggered_only = yes

	option = {
		name = sov_nationalists.38.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.38.a executed"
		add_war_support = 0.05
	}
}

country_event = {
	id = sov_nationalists.39
	title = sov_nationalists.39.t
	desc = sov_nationalists.39.d
	picture = GFX_sov_empire_herb
	is_triggered_only = yes

	timeout_days = 1
	option = {
		name = sov_nationalists.39.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.39.a executed"
		hidden_effect = {
			start_civil_war = {
				ruling_party = ROOT
				ideology = democratic
				size = 0.8
				capital = 111
				states = { 625 474 111 113 }
				set_popularities = {
					democratic = 100
					neutrality = 0
					fascism = 0
					communism = 0
					nationalist = 0
				}
				set_temp_variable = { rul_party_temp = 2 }
				set_temp_variable = { disable_elections = 1 }
				change_ruling_party_effect = yes
				set_temp_variable = { current_cons_popularity = party_pop_array^2 }
				multiply_temp_variable = { current_cons_popularity = 0.5 }
				set_temp_variable = { party_index = 2 }
				set_temp_variable = { party_popularity_increase = current_cons_popularity }
				multiply_temp_variable = { party_popularity_increase = -1 }
				change_relative_party_popularity = yes
			}
		}
	}
}

country_event = {
	id = sov_nationalists.40
	title = sov_nationalists.40.t
	desc = sov_nationalists.40.d
	picture = GFX_sov_empire_herb
	is_triggered_only = yes

	timeout_days = 1
	option = {
		name = sov_nationalists.40.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.40.a executed"
		hidden_effect = {
			start_civil_war = {
				ruling_party = ROOT
				ideology = democratic
				size = 0.8
				capital = 117
				states = { 117 1017 }
				set_popularities = {
					democratic = 100
					neutrality = 0
					fascism = 0
					communism = 0
					nationalist = 0
				}
				set_temp_variable = { rul_party_temp = 2 }
				set_temp_variable = { disable_elections = 1 }
				change_ruling_party_effect = yes
				set_temp_variable = { current_cons_popularity = party_pop_array^2 }
				multiply_temp_variable = { current_cons_popularity = 0.5 }
				set_temp_variable = { party_index = 2 }
				set_temp_variable = { party_popularity_increase = current_cons_popularity }
				multiply_temp_variable = { party_popularity_increase = -1 }
				change_relative_party_popularity = yes
			}
		}
	}
}
country_event = {
	id = sov_nationalists.41
	title = sov_nationalists.41.t
	desc = sov_nationalists.41.d
	picture = GFX_sov_empire_herb
	is_triggered_only = yes

	option = {
		name = sov_nationalists.41.a
		log = "[GetDateText]: [This.GetName]: sov_nationalists.41.a"
		if = { limit = { is_in_faction = yes }
			leave_faction = yes
		}
		SOV = {
			add_to_faction = PREV
			country_event = diplomatic_response.1
		}
		add_opinion_modifier = { target = SOV modifier = has_expressed_loyalty }
		diplomatic_relation = {
			country = SOV
			relation = military_access
		}
		ai_chance = {
			base = 10
			modifier = {
				has_government = nationalist
				factor = 90
			}
			modifier = {
				ROOT = { is_subject_of = SOV }
				factor = 90
			}
		}
	}

	option = {
		name = sov_nationalists.41.b
		log = "[GetDateText]: [This.GetName]: sov_nationalists.41.b"
		ai_chance = {
			base = 10
			modifier = {
				has_government = democratic
				factor = 90
			}
			modifier = {
				has_government = neutrality
				factor = 90
			}
			modifier = {
				has_government = communism
				factor = 90
			}
		}
		SOV = {
			country_event = sov_nationalists.42
			add_opinion_modifier = { target = ROM modifier = betrayed_our_cause }
		}
	}
}

country_event = {
	id = sov_nationalists.42
	title = sov_nationalists.42.t
	desc = sov_nationalists.42.d
	picture = GFX_gdratwarsov
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = sov_nationalists.42.o1
		log = "[GetDateText]: [This.GetName]: sov_nationalists.42.o1 executed"
		effect_tooltip = {
			add_opinion_modifier = { target = ROM modifier = betrayed_our_cause }
		}
		SOV = {
			set_temp_variable = { wargoal_on = ROM }
			set_temp_variable = { wargoal_type = 2 }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				target = ROM
				type = annex_everything
			}
		}
	}
}

country_event = {
	id = sov_nationalists.43
	title = sov_nationalists.43.t
	desc = sov_nationalists.43.d
	picture = GFX_sov_empire_new_russian_army
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = sov_nationalists.43.o1
		log = "[GetDateText]: [This.GetName]: sov_nationalists.43.o1 executed"
		USA = {
			release_puppet = ASK
			set_autonomy = {
				target = ASK
				autonomy_state = autonomy_free
			}
		}
		ASK = {
			set_country_flag = SOV_subject_governorate
			add_stability = -0.06
			set_temp_variable = { percent_change = 15 }
			set_temp_variable = { tag_index = SOV }
			set_temp_variable = { influence_target = ASK }
			change_influence_percentage = yes
			set_cosmetic_tag = GOV_ASK
			clr_country_flag = dynamic_flag
		}
		set_autonomy = {
			target = ASK
			autonomy_state = autonomy_governorate_rf
			end_wars = no
			end_civil_wars = no
		}
		set_temp_variable = { treasury_change = -15 }
		modify_treasury_effect = yes
		add_equipment_to_stockpile = {
			type = cnc_equipment_3
			amount = -2000
			producer = SOV
		}
		add_equipment_to_stockpile = {
			type = infantry_weapons_1
			amount = -4500
			producer = SOV
		}
		add_manpower = -2000
		hidden_effect = {
			declare_war_on = {
				target = USA
				type = annex_everything
			}
			division_template = {
				name = "Spetsnaz Brigade"
				regiments = {
					Special_Forces = { x = 0 y = 0 }
					Special_Forces = { x = 0 y = 1 }
					Special_Forces = { x = 0 y = 2 }
					Special_Forces = { x = 0 y = 3 }
				}
				priority = 2
			}
		}
		814 = {
			create_unit = {
				division = "name = \"Spetsnaz Brigade\" division_template = \"Spetsnaz Brigade\" start_experience_factor = 1.0"
				owner = SOV
				prioritize_location = 7855
			}
		}
	}
}
#Russian Empire Give Weapon
country_event = {
	id = sov_nationalists.44
	title = sov_nationalists.44.t
	desc = sov_nationalists.44.d
	picture = GFX_sov_empire_new_russian_army
	is_triggered_only = yes

	option = {
		name = sov_nationalists.44.o1
		log = "[GetDateText]: [This.GetName]: sov_nationalists.44.o1 executed"
		set_temp_variable = { percent_change = 1 }
		set_temp_variable = { tag_index = SOV }
		set_temp_variable = { influence_target = ROOT }
		change_influence_percentage = yes
		add_equipment_to_stockpile = {
			type = cnc_equipment_2
			amount = 800
			producer = SOV
		}
		add_equipment_to_stockpile = {
			type = infantry_weapons_1
			amount = 1500
			producer = SOV
		}
		SOV = { country_event = sov_nationalists.45 }
		ai_chance = { base = 90 }
	}

	option = {
		name = sov_nationalists.44.o2
		log = "[GetDateText]: [This.GetName]: sov_nationalists.44.o2 executed"
		SOV = { country_event = sov_nationalists.48 }
		ai_chance = { base = 10 }
	}
}
#They Agree Weapon
country_event = {
	id = sov_nationalists.45
	title = sov_nationalists.45.t
	desc = sov_nationalists.45.d
	picture = GFX_sov_empire_new_russian_army
	is_triggered_only = yes

	option = {
		name = sov_nationalists.45.o1
		log = "[GetDateText]: [This.GetName]: sov_nationalists.45.o1 executed"
		set_temp_variable = { percent_change = 1 }
		set_temp_variable = { influence_target = FROM }
		change_influence_percentage = yes
		add_equipment_to_stockpile = {
			type = cnc_equipment_2
			amount = -800
			producer = SOV
		}
		add_equipment_to_stockpile = {
			type = infantry_weapons_1
			amount = -1500
			producer = SOV
		}
	}
}
#They Agree Base and Instructors
country_event = {
	id = sov_nationalists.47
	title = sov_nationalists.47.t
	desc = sov_nationalists.47.d
	picture = GFX_sov_empire_new_russian_army
	is_triggered_only = yes

	option = {
		name = sov_nationalists.47.o1
		log = "[GetDateText]: [This.GetName]: sov_nationalists.47.o1 executed"
		set_temp_variable = { percent_change = 2 }
		set_temp_variable = { influence_target = FROM }
		change_influence_percentage = yes
	}
}
#They Disagree
country_event = {
	id = sov_nationalists.48
	title = sov_nationalists.48.t
	desc = sov_nationalists.48.d
	picture = GFX_sov_empire_new_russian_army
	is_triggered_only = yes

	option = { name = sov_nationalists.48.o1 }
}
#Russian Empire Give Base
country_event = {
	id = sov_nationalists.49
	title = sov_nationalists.49.t
	desc = sov_nationalists.49.d
	picture = GFX_sov_empire_new_russian_army
	is_triggered_only = yes

	option = {
		name = sov_nationalists.49.o1
		log = "[GetDateText]: [This.GetName]: sov_nationalists.49.o1 executed"
		set_temp_variable = { percent_change = 2 }
		set_temp_variable = { tag_index = SOV }
		set_temp_variable = { influence_target = ROOT }
		change_influence_percentage = yes
		if = {
			limit = { tag = IRQ }
			add_ideas = SOV_IRQ_base
			give_military_access = SOV
		}
		if = {
			limit = { tag = LBA }
			add_ideas = SOV_LBA_base
			give_military_access = SOV
		}
		SOV = { country_event = sov_nationalists.47 }
		ai_chance = { base = 90 }
	}

	option = {
		name = sov_nationalists.49.o2
		log = "[GetDateText]: [This.GetName]: sov_nationalists.49.o2 executed"
		SOV = { country_event = sov_nationalists.48 }
		ai_chance = { base = 10 }
	}
}

#Russian Empire Governorate Another country
country_event = {
	id = sov_nationalists.50
	title = sov_nationalists.50.t
	desc = sov_nationalists.50.d
	picture = GFX_sov_empire_herb
	is_triggered_only = yes

	option = { name = sov_nationalists.50.o1 }
}

#Russian Empire Annex Another country
country_event = {
	id = sov_nationalists.51
	title = sov_nationalists.51.t
	desc = sov_nationalists.51.d
	picture = GFX_sov_empire_herb
	is_triggered_only = yes

	option = { name = sov_nationalists.51.o1 }
}

#Russian Empire Start Revoult in Our Country
country_event = {
	id = sov_nationalists.52
	title = sov_nationalists.52.t
	desc = sov_nationalists.52.d
	picture = GFX_sov_empire_herb
	is_triggered_only = yes

	option = { name = sov_nationalists.52.o1 }
}

#Russian Empire Start Special Operation on Azerbaijan
country_event = {
	id = sov_nationalists.53
	title = sov_nationalists.53.t
	desc = sov_nationalists.53.d
	picture = GFX_sov_empire_new_russian_army
	is_triggered_only = yes

	option = {
		name = sov_nationalists.53.o1
		log = "[GetDateText]: [This.GetName]: sov_nationalists.53.o1 executed"
		trigger = { tag = SOV }
		declare_war_on = {
			target = AZE
			type = annex_everything
		}
	}

	option = {
		name = sov_nationalists.53.o2
		trigger = { tag = AZE }
	}
}

#Russian Empire Start Integration Istanbul
country_event = {
	id = sov_nationalists.54
	title = sov_nationalists.54.t
	desc = sov_nationalists.54.d
	picture = GFX_sov_empire_herb
	is_triggered_only = yes

	option = {
		name = sov_nationalists.54.o1
		log = "[GetDateText]: [This.GetName]: sov_nationalists.54.o1 executed"
		add_popularity = {
			ideology = nationalist
			popularity = 0.10
		}
		set_province_name = {
			id = 9833
			name = SOV_Constantinople
		}
		hidden_effect = {
			country_event = sov_nationalists.55
			934 = { set_state_name = SOV_Constantinople }
		}
	}
}

#Russian Empire Istanbul Turkish Resistance
country_event = {
	id = sov_nationalists.55
	title = sov_nationalists.55.t
	desc = sov_nationalists.55.d
	picture = GFX_sov_empire_herb
	is_triggered_only = yes

	option = {
		name = sov_nationalists.55.o1
		log = "[GetDateText]: [This.GetName]: sov_nationalists.55.o1 executed"
		934 = { add_dynamic_modifier = { modifier = SOV_const_rebels } }
	}
}

#Russian Empire Istanbul Special Police Operation
country_event = {
	id = sov_nationalists.56
	title = sov_nationalists.56.t
	desc = sov_nationalists.56.d
	picture = GFX_annex_crimea
	is_triggered_only = yes

	option = {
		name = sov_nationalists.56.o1
		log = "[GetDateText]: [This.GetName]: sov_nationalists.56.o1 executed"
		934 = { if = { limit = { has_dynamic_modifier = { modifier = SOV_const_rebels } } remove_dynamic_modifier = { modifier = SOV_const_rebels } } }
		add_stability = -0.03
	}
}

#Russian Empire Istanbul Now Ours
country_event = {
	id = sov_nationalists.57
	title = sov_nationalists.57.t
	desc = sov_nationalists.57.d
	picture = GFX_sov_empire_herb
	is_triggered_only = yes

	option = {
		name = sov_nationalists.57.o1
		log = "[GetDateText]: [This.GetName]: sov_nationalists.57.o1 executed"
		SOV = { 934 = { add_core_of = SOV } }
		add_political_power = -100
		add_popularity = {
			ideology = nationalist
			popularity = 0.10
		}
	}
}

news_event = {
	id = sov_nationalists_news.1
	title = sov_nationalists_news.1.t
	desc = sov_nationalists_news.1.d
	picture = GFX_sov_jirik_oret_world
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.1.a }
}

news_event = {
	id = sov_nationalists_news.2
	title = sov_nationalists_news.2.t
	desc = sov_nationalists_news.2.d
	picture = GFX_sov_nationalist_news2
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.2.a }
}
news_event = {
	id = sov_nationalists_news.3
	title = sov_nationalists_news.3.t
	desc = sov_nationalists_news.3.d
	picture = GFX_sov_nationalist_news3
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.3.a }
}
news_event = {
	id = sov_nationalists_news.4
	title = sov_nationalists_news.4.t
	desc = sov_nationalists_news.4.d
	picture = GFX_sov_nationalist_news4
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.4.a }
}
news_event = {
	id = sov_nationalists_news.5
	title = sov_nationalists_news.5.t
	desc = sov_nationalists_news.5.d
	picture = GFX_sov_nationalist_news5
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.5.a }
}
news_event = {
	id = sov_nationalists_news.6
	title = sov_nationalists_news.6.t
	desc = sov_nationalists_news.6.d
	picture = GFX_sov_nationalist_news6
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.6.a }
}
news_event = {
	id = sov_nationalists_news.7
	title = sov_nationalists_news.7.t
	desc = sov_nationalists_news.7.d
	picture = GFX_sov_nationalist_news7
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.7.a }
}
news_event = {
	id = sov_nationalists_news.8
	title = sov_nationalists_news.8.t
	desc = sov_nationalists_news.8.d
	picture = GFX_sov_nationalist_news8
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.8.a }
}
news_event = {
	id = sov_nationalists_news.9
	title = sov_nationalists_news.9.t
	desc = sov_nationalists_news.9.d
	picture = GFX_sov_nationalist_news9
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.9.a }
}
news_event = {
	id = sov_nationalists_news.10
	title = sov_nationalists_news.10.t
	desc = sov_nationalists_news.10.d
	picture = GFX_sov_nationalist_news10
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.10.a }
}
news_event = {
	id = sov_nationalists_news.11
	title = sov_nationalists_news.11.t
	desc = sov_nationalists_news.11.d
	picture = GFX_sov_nationalist_news11
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.11.a }
}
news_event = {
	id = sov_nationalists_news.12
	title = sov_nationalists_news.12.t
	desc = sov_nationalists_news.12.d
	picture = GFX_sov_nationalist_news12
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.12.a }
}
news_event = {
	id = sov_nationalists_news.13
	title = sov_nationalists_news.13.t
	desc = sov_nationalists_news.13.d
	picture = GFX_sov_nationalist_news13
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.13.a }
}
news_event = {
	id = sov_nationalists_news.14
	title = sov_nationalists_news.14.t
	desc = sov_nationalists_news.14.d
	picture = GFX_sov_nationalist_news14
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.14.a }
}
news_event = {
	id = sov_nationalists_news.15
	title = sov_nationalists_news.15.t
	desc = sov_nationalists_news.15.d
	picture = GFX_sov_nationalist_news15
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.15.a }
}
news_event = {
	id = sov_nationalists_news.16
	title = sov_nationalists_news.16.t
	desc = sov_nationalists_news.16.d
	picture = GFX_sov_nationalist_news16
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.16.a }
}
news_event = {
	id = sov_nationalists_news.17
	title = sov_nationalists_news.17.t
	desc = sov_nationalists_news.17.d
	picture = GFX_sov_nationalist_news16
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.17.a }
}
news_event = {
	id = sov_nationalists_news.18
	title = sov_nationalists_news.18.t
	desc = sov_nationalists_news.18.d
	picture = GFX_sov_nationalist_news16
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.18.a }
}
news_event = {
	id = sov_nationalists_news.19
	title = sov_nationalists_news.19.t
	desc = sov_nationalists_news.19.d
	picture = GFX_sov_nationalist_news16
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.19.a }
}
news_event = {
	id = sov_nationalists_news.20
	title = sov_nationalists_news.20.t
	desc = sov_nationalists_news.20.d
	picture = GFX_sov_nationalist_news16
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.20.a }
}
news_event = {
	id = sov_nationalists_news.21
	title = sov_nationalists_news.21.t
	desc = sov_nationalists_news.21.d
	picture = GFX_sov_nationalist_news16
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.21.a }
}
news_event = {
	id = sov_nationalists_news.22
	title = sov_nationalists_news.22.t
	desc = sov_nationalists_news.22.d
	picture = GFX_sov_nationalist_news16
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.22.a }
}
news_event = {
	id = sov_nationalists_news.23
	title = sov_nationalists_news.23.t
	desc = sov_nationalists_news.23.d
	picture = GFX_sov_nationalist_news16
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.23.a }
}
news_event = {
	id = sov_nationalists_news.24
	title = sov_nationalists_news.24.t
	desc = sov_nationalists_news.24.d
	picture = GFX_sov_nationalist_news24
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.24.a }
}
news_event = {
	id = sov_nationalists_news.25
	title = sov_nationalists_news.25.t
	desc = sov_nationalists_news.25.d
	picture = GFX_sov_nationalist_news16
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.25.a }
}
news_event = {
	id = sov_nationalists_news.26
	title = sov_nationalists_news.26.t
	desc = sov_nationalists_news.26.d
	picture = GFX_sov_nationalist_news26
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.26.a }
}
news_event = {
	id = sov_nationalists_news.27
	title = sov_nationalists_news.27.t
	desc = sov_nationalists_news.27.d
	picture = GFX_sov_nationalist_news27
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.27.a }
}
news_event = {
	id = sov_nationalists_news.28
	title = sov_nationalists_news.28.t
	desc = sov_nationalists_news.28.d
	picture = GFX_sov_nationalist_news5
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.28.a }
}
news_event = {
	id = sov_nationalists_news.29
	title = sov_nationalists_news.29.t
	desc = sov_nationalists_news.29.d
	picture = GFX_sov_nationalist_news29
	is_triggered_only = yes
	major = yes

	option = { name = sov_nationalists_news.29.a }
}
### Operation in Ukraine Events
##Operation Declared
country_event = {
	id = sov_final_strike.1
	title = sov_final_strike.1.t
	desc = sov_final_strike.1.d
	picture = GFX_declare_svo
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { has_completed_focus = SOV_the_final_strike }

	option = {
		name = sov_final_strike.1.a
		log = "[GetDateText]: [This.GetName]: sov_final_strike.1.a"
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		for_each_scope_loop = {
			array = global.nato_members
			tooltip = TT_ALL_NATO_MEMBER_NATIONS_GAIN
			add_opinion_modifier = {
				target = SOV
				modifier = major_breach_of_trust
			}
		}
		for_each_scope_loop = {
			array = global.EU_member
			tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN
			add_opinion_modifier = {
				target = SOV
				modifier = major_breach_of_trust
			}
		}
		hidden_effect = {
			news_event = {
				hours = 6
				id = russia_news.11
			}
			if = {
				limit = {
					BLR = {
						has_government = communism
						has_war = no
					}
				}
				BLR = {
					country_event = { id = sov_final_strike.6 days = 1 }
				}
			}
			if = {
				limit = {
					NOT = {
						OR = {
							has_idea = corruption_level_01
							has_idea = corruption_level_02
							has_idea = corruption_level_03
							has_idea = corruption_level_04
						}
					}
				}
				SOV = {
					country_event = { id = sov_final_strike.2 days = 15 }
				}
			}
			else = {
				SOV = {
					country_event = { id = sov_final_strike.3 days = 15 }
				}
			}
			if = {
				limit = { NOT = { SOV = { has_country_flag = SOV_western_sanctions } } }
				set_country_flag = SOV_western_sanctions
				add_dynamic_modifier = { modifier = SOV_western_sanctions_modifier }
				country_event = { id = sov_final_strike.7 days = 15 }
				USA = {
					country_event = { id = sov_final_strike.4 days = 1 }
				}
				GER = {
					country_event = { id = sov_final_strike.4 days = 1 }
				}
				FRA = {
					country_event = { id = sov_final_strike.4 days = 1 }
				}
				ENG = {
					country_event = { id = sov_final_strike.4 days = 1 }
				}
			}
			decrease_economic_growth = yes
		}
		ai_chance = { base = 25 }
	}
}
##Fast Operation Failed
country_event = {
	id = sov_final_strike.2
	title = sov_final_strike.2.t
	desc = sov_final_strike.2.d
	picture = GFX_first_military_prikol
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { has_completed_focus = SOV_the_final_strike }

	option = {
		name = sov_final_strike.2.a
		log = "[GetDateText]: [This.GetName]: sov_final_strike.2.a"
		add_stability = -0.06
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		change_relative_party_popularity = yes
		add_timed_idea = { idea = SOV_slow_advance_idea days = 720 }
		ai_chance = { base = 25 }
	}
}

##Fast Operation Succeeded
country_event = {
	id = sov_final_strike.3
	title = sov_final_strike.3.t
	desc = sov_final_strike.3.d
	picture = GFX_annex_crimea
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { has_completed_focus = SOV_the_final_strike }

	option = {
		name = sov_final_strike.3.a
		log = "[GetDateText]: [This.GetName]: sov_final_strike.3.a"
		add_war_support = 0.05
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		ai_chance = { base = 25 }
	}
}

##Impose sanctions on Russia
country_event = {
	id = sov_final_strike.4
	title = sov_final_strike.4.t
	desc = sov_final_strike.4.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = sov_final_strike.4.a
		log = "[GetDateText]: [This.GetName]: sov_final_strike.4.a"
		SOV = {
			SOV_apply_western_sanctions = yes
			country_event = { id = sov_final_strike.5 days = 1 }
		}
		add_timed_idea = { idea = SOV_sanction_backfire_idea_harsh days = 720 }
		ai_chance = {
			base = 25
			modifier = {
				is_historical_focus_on = yes
				add = 70
			}
		}
	}

	option = {
		name = sov_final_strike.4.b
		log = "[GetDateText]: [This.GetName]: sov_final_strike.4.b"
		UKR = {
			add_opinion_modifier = {
				target = ROOT
				modifier = major_breach_of_trust
			}
		}
		ai_chance = { base = 10 }
	}
}
##Sanctions Imposed on Russia!
country_event = {
	id = sov_final_strike.5
	title = sov_final_strike.5.t
	desc = sov_final_strike.5.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = {
		name = sov_final_strike.5.a
		ai_chance = { base = 25 }
	}
}
##Belarus go to war?
country_event = {
	id = sov_final_strike.6
	title = sov_final_strike.6.t
	desc = sov_final_strike.6.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = {
		name = sov_final_strike.6.a
		log = "[GetDateText]: [This.GetName]: sov_final_strike.6.a"
		ai_chance = { base = 50 }
		set_temp_variable = { wargoal_on = UKR }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = UKR
			type = puppet_wargoal_focus
		}
	}

	option = {
		name = sov_final_strike.6.b
		ai_chance = { base = 50 }
	}
}

##FNB destroyed by sanctions
country_event = {
	id = sov_final_strike.7
	title = sov_final_strike.7.t
	desc = sov_final_strike.7.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = {
		name = sov_final_strike.7.a
		log = "[GetDateText]: [This.GetName]: sov_final_strike.7.a"
		add_ideas = { SOV_ruble_collapse }
		set_temp_variable = { treasury_change = -50 }
		modify_treasury_effect = yes
		ai_chance = { base = 50 }
	}
}
##Operation Declared in Finland
country_event = {
	id = sov_final_strike.8
	title = sov_final_strike.8.t
	desc = sov_final_strike.8.d
	picture = GFX_declare_svo
	is_triggered_only = yes
	fire_only_once = yes

	trigger = { has_completed_focus = SOV_secret_strike }

	option = {
		name = sov_final_strike.8.a
		log = "[GetDateText]: [This.GetName]: sov_final_strike.8.a"
		set_temp_variable = { party_index = 6 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		for_each_scope_loop = {
			array = global.nato_members
			tooltip = TT_ALL_NATO_MEMBER_NATIONS_GAIN
			add_opinion_modifier = {
				target = SOV
				modifier = major_breach_of_trust
			}
		}
		for_each_scope_loop = {
			array = global.EU_member
			tooltip = TT_ALL_EU_MEMBER_NATIONS_GAIN
			add_opinion_modifier = {
				target = SOV
				modifier = major_breach_of_trust
			}
		}
		hidden_effect = {
			news_event = {
				hours = 6
				id = russia_news.13
			}
			if = {
				limit = {
					NOT = {
						OR = {
							has_idea = corruption_level_01
							has_idea = corruption_level_02
							has_idea = corruption_level_03
							has_idea = corruption_level_04
						}
					}
				}
				SOV = {
					country_event = { id = sov_final_strike.2 days = 15 }
				}
			}
			else = {
				SOV = {
					country_event = { id = sov_final_strike.3 days = 15 }
				}
			}
			if = {
				limit = { NOT = { SOV = { has_country_flag = SOV_western_sanctions } } }
				set_country_flag = SOV_western_sanctions
				add_dynamic_modifier = { modifier = SOV_western_sanctions_modifier }
				country_event = { id = sov_final_strike.7 days = 15 }
				USA = {
					country_event = { id = sov_final_strike.9 days = 1 }
				}
				GER = {
					country_event = { id = sov_final_strike.9 days = 1 }
				}
				FRA = {
					country_event = { id = sov_final_strike.9 days = 1 }
				}
				ENG = {
					country_event = { id = sov_final_strike.9 days = 1 }
				}
			}
			decrease_economic_growth = yes
		}
		ai_chance = { base = 25 }
	}
}
##Impose sanctions on Russia
country_event = {
	id = sov_final_strike.9
	title = sov_final_strike.9.t
	desc = sov_final_strike.9.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = sov_final_strike.9.a
		log = "[GetDateText]: [This.GetName]: sov_final_strike.9.a"
		SOV = {
			SOV_apply_western_sanctions = yes
			country_event = { id = sov_final_strike.5 days = 1 }
		}
		add_timed_idea = { idea = SOV_sanction_backfire_idea_harsh days = 720 }
		ai_chance = {
			base = 25
			modifier = {
				is_historical_focus_on = yes
				add = 70
			}
		}
	}

	option = {
		name = sov_final_strike.9.b
		log = "[GetDateText]: [This.GetName]: sov_final_strike.9.b"
		FIN = {
			add_opinion_modifier = {
				target = ROOT
				modifier = major_breach_of_trust
			}
		}
		ai_chance = { base = 10 }
	}
}

##Warsaw Pact events

news_event = {
	id = sov_warsaw_pact.2
	title = Sov_warsaw_pact.2.t
	desc = Sov_warsaw_pact.2.d
	picture = GFX_warsaw1_ovd
	is_triggered_only = yes
	major = yes

	option = {
		name = Sov_warsaw_pact.1.a
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = sov_warsaw_pact.3
	title = Sov_warsaw_pact.3.t
	desc = Sov_warsaw_pact.3.d
	picture = GFX_warsaw_event1
	is_triggered_only = yes

	option = {
		name = Sov_warsaw_pact.3.a
		ai_chance = { base = 100 }
	}
}

news_event = {
	id = sov_warsaw_pact.4
	title = Sov_warsaw_pact.4.t
	desc = Sov_warsaw_pact.4.d
	picture = GFX_warsaw1_ovd
	is_triggered_only = yes

	option = {
		name = Sov_warsaw_pact.4.a
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = sov_warsaw_pact.5
	title = Sov_warsaw_pact.5.t
	desc = Sov_warsaw_pact.5.d
	picture = GFX_warsaw_event1
	is_triggered_only = yes

	option = {
		name = Sov_warsaw_pact.5.a
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = sov_warsaw_pact.6
	title = Sov_warsaw_pact.6.t
	desc = Sov_warsaw_pact.6.d
	picture = GFX_warsaw_event1
	is_triggered_only = yes

	option = {
		name = Sov_warsaw_pact.6.a
		log = "[GetDateText]: [This.GetName]: Sov_warsaw_pact.6.a"
		ai_chance = { base = 100 }
		SOV = { add_to_faction = POL }
	}
}

country_event = {
	id = sov_warsaw_pact.7
	title = Sov_warsaw_pact.7.t
	desc = Sov_warsaw_pact.7.d
	picture = GFX_warsaw_cze_union
	is_triggered_only = yes

	option = {
		name = Sov_warsaw_pact.7.a
		log = "[GetDateText]: [This.GetName]: Sov_warsaw_pact.7.a"
		ai_chance = { base = 100 }
		SLO = { every_owned_state = { add_core_of = CZE } }
		CZE = {
			annex_country = { target = SLO transfer_troops = yes }
			set_cosmetic_tag = CZR_union
			set_variable = { dynamic_flag_variant = 8 }
			clr_country_flag = dynamic_flag
		}
	}
}

country_event = {
	id = sov_warsaw_pact.9
	title = sov_warsaw_pact.9.t
	desc = sov_warsaw_pact.9.d
	picture = GFX_women_in_bundeswehr
	is_triggered_only = yes

	option = {
		name = sov_warsaw_pact.9.a
		log = "[GetDateText]: [This.GetName]: sov_warsaw_pact.9.a"
		hidden_effect = {
			start_civil_war = {
				ideology = communism
				set_cosmetic_tag = GER_com_reb_tech
				set_variable = { dynamic_flag_variant = 8 }
				set_country_flag = GDR_test
				size = 0.8
				add_ideas = SOV_support_nov_idea
				add_ideas = faction_warsaw_pact_idea
				add_ideas = SOV_weak_administration_idea
				add_ideas = SOV_Soviet_legacy_idea
				add_ideas = SOV_Return_to_the_planned_economy_idea
				add_ideas = SOV_State_encouragement_of_scientists_idea
				add_ideas = SOV_army_of_the_gdr_idea
				add_ideas = SOV_Stasi_idea
				remove_ideas = Major_Non_NATO_Ally
				leaving_EU = yes
				load_focus_tree = germany_focus
				SOV = {
					set_autonomy = {
						target = PREV
						autonomy_state = autonomy_warsaw
					}
				}
				states = { 539 1079 972 44 545 }
				add_equipment_to_stockpile = {
					type = infantry_weapons_type
					amount = 10000
					producer = SOV
				}
				set_temp_variable = { rul_party_temp = 4 }
				change_ruling_party_effect = yes
			}
			GER = { set_capital = { state = 966 } }
			every_country = {
				limit = { has_country_flag = GDR_test }
				add_named_threat = {
					name = birth_of_eastern_germany_world_tension
					threat = 16
				}
			}
		}
	}
}

news_event = {
	id = sov_warsaw_pact.13
	title = Sov_warsaw_pact.13.t
	desc = Sov_warsaw_pact.13.d
	picture = GFX_warsaw1_bund
	is_triggered_only = yes

	option = {
		name = Sov_warsaw_pact.13.a
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = sov_warsaw_pact.15
	title = Sov_warsaw_pact.15.t
	desc = Sov_warsaw_pact.15.d
	picture = GFX_warsaw_event1
	is_triggered_only = yes

	option = {
		name = Sov_warsaw_pact.15.a
		log = "[GetDateText]: [This.GetName]: Sov_warsaw_pact.15.a"
		leave_faction = yes
		SOV = { end_puppet = ROOT }
		set_country_flag = WP_escaped
		remove_ideas = faction_warsaw_pact_idea
		remove_ideas = SOV_warsaw_pact_joint_exercises_idea
		remove_ideas = SOV_warsaw_pact_exercises_south_idea1
		remove_ideas = SOV_warsaw_pact_exercises_north_idea
		ai_chance = { base = 70 }
	}

	option = {
		name = Sov_warsaw_pact.15.b
		ai_chance = { base = 30 }
	}
}

country_event = {
	id = sov_warsaw_pact.17
	title = Sov_warsaw_pact.17.t
	desc = Sov_warsaw_pact.17.d
	picture = GFX_gdratwarsov
	is_triggered_only = yes

	option = {
		name = Sov_warsaw_pact.17.a
		log = "[GetDateText]: [This.GetName]: Sov_warsaw_pact.17.a"
		add_political_power = -150
		add_stability = 0.02
		add_war_support = 0.05
		SOV = {
			set_temp_variable = { wargoal_on = GER }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				type = take_state_focus
				target = GER
			}
		}
		ai_chance = { base = 100 }
	}

	option = {
		name = Sov_warsaw_pact.17.b
		log = "[GetDateText]: [This.GetName]: Sov_warsaw_pact.17.b"
		every_country = {
			limit = { has_country_flag = GDR_test }
			country_event = sov_warsaw_pact.18
		}
		add_political_power = -300
		add_stability = -0.04
		add_war_support = -0.07
		ai_chance = { base = 0 }
	}
}

country_event = {
	id = sov_warsaw_pact.18
	title = Sov_warsaw_pact.18.t
	desc = Sov_warsaw_pact.18.d
	picture = GFX_gdratwarsov
	is_triggered_only = yes

	option = {
		name = Sov_warsaw_pact.18.a
		log = "[GetDateText]: [This.GetName]: Sov_warsaw_pact.18.a"
		news_event = sov_warsaw_pact.19
		add_stability = -0.02
		add_war_support = -0.01
		leave_faction = yes
		SOV = { end_puppet = ROOT }
		remove_ideas = faction_warsaw_pact_idea
		remove_ideas = SOV_warsaw_pact_joint_exercises_idea
		remove_ideas = SOV_warsaw_pact_exercises_south_idea1
		remove_ideas = SOV_warsaw_pact_exercises_north_idea
		ai_chance = { base = 100 }
	}
}

news_event = {
	id = sov_warsaw_pact.19
	title = Sov_warsaw_pact.19.t
	desc = Sov_warsaw_pact.19.d
	picture = GFX_grdgoodyesov
	is_triggered_only = yes
	major = yes

	option = {
		name = Sov_warsaw_pact.19.a
		ai_chance = { base = 100 }
	}
}

##SSG Start
country_event = {
	id = sov_sover_state.1
	title = sov_sover_state.1.t
	desc = sov_sover_state.1.d
	picture = GFX_ssg_event
	is_triggered_only = yes

	option = {
		name = sov_sover_state.1.a
		log = "[GetDateText]: [This.GetName]: sov_sover_state.1.a"
		set_country_flag = ssg_start
		SOV = { country_event = sov_sover_state.14 }
		ai_chance = {
			base = 20
			modifier = {
				factor = 20
				is_in_faction = yes
			}
			modifier = {
				factor = 20
				is_top5_influencer = yes
			}
			modifier = {
				factor = 20
				is_top3_influencer = yes
			}
			modifier = {
				factor = 20
				has_government = communism
			}
			modifier = {
				factor = 20
				is_guaranteed_by = SOV
			}
			modifier = {
				factor = 20
				has_opinion = { target = SOV value > 50 }
			}
		}
	}

	option = {
		name = sov_sover_state.1.b
		ai_chance = {
			base = 20
			modifier = {
				factor = 20
				is_in_faction = no
			}
			modifier = {
				factor = 20
				has_government = nationalist
			}
			modifier = {
				factor = 20
				has_government = democratic
			}
			modifier = {
				factor = 20
				has_government = neutrality
			}
			modifier = {
				factor = 20
				NOT = { is_influencer = yes }
			}
			modifier = {
				factor = 20
				has_opinion = { target = SOV value < 50 }
			}
		}
	}
}

##Accept USS Declaration
country_event = {
	id = sov_sover_state.5
	title = sov_sover_state.5.t
	desc = sov_sover_state.5.d
	picture = GFX_ssg_event
	is_triggered_only = yes

	timeout_days = 2
	option = {
		name = sov_sover_state.5.a
		log = "[GetDateText]: [This.GetName]: sov_sover_state.5.a"
		set_country_flag = ssg_finish
		SOV = { country_event = sov_sover_state.15 }
		ai_chance = {
			base = 1
			modifier = {
				tag = ABK
				add = 100
			}
			modifier = {
				tag = SOO
				add = 100
			}
			modifier = {
				tag = ARM
				OR = {
					NKR = { is_subject_of = ARM }
					ARM = {
						owns_state = 1037
						owns_state = 1036
						owns_state = 710
					}
				}
				add = 100
			}
			modifier = {
				tag = AZE
				OR = {
					NKR = { is_subject_of = AZE }
					AZE = {
						owns_state = 1037
						owns_state = 1036
						owns_state = 710
					}
				}
				add = 100
			}
		}
	}

	option = {
		name = sov_sover_state.5.b
		ai_chance = {
			base = 1
			modifier = {
				tag = UKR
				SOV = { owns_state = 669 }
				add = 100
			}
			modifier = {
				tag = GEO
				OR = {
					country_exists = ABK
					country_exists = SOO
				}
				add = 100
			}
			modifier = {
				tag = AZE
				OR = {
					NKR = { is_subject_of = ARM }
					ARM = {
						owns_state = 1037
						owns_state = 1036
						owns_state = 710
					}
				}
				add = 100
			}
			modifier = {
				tag = ARM
				OR = {
					NKR = { is_subject_of = AZE }
					AZE = {
						owns_state = 1037
						owns_state = 1036
						owns_state = 710
					}
				}
				add = 100
			}
		}
	}
}

## USS Create
country_event = {
	id = sov_sover_state.6
	title = sov_sover_state.6.t
	desc = sov_sover_state.6.d
	picture = GFX_ssg_event
	is_triggered_only = yes

	timeout_days = 2
	option = {
		name = sov_sover_state.6.a
		log = "[GetDateText]: [This.GetName]: sov_sover_state.6.a"
		set_country_flag = ssg_finish
		set_country_flag = BLR_unionstate_agree
		SOV = {
			set_autonomy = {
			target = ROOT
			autonomy_state = autonomy_union_state
			end_wars = no
			end_civil_wars = no
		}
		}
		ai_chance = { base = 1 }
	}
}

##They Are aacept SSG
country_event = {
	id = sov_sover_state.14
	title = sov_sover_state.14.t
	desc = sov_sover_state.14.d
	picture = GFX_ssg_event
	is_triggered_only = yes

	timeout_days = 1
	option = {
		name = sov_sover_state.14.a
		ai_chance = { base = 50 }
	}
}

##They Are agree SSG
country_event = {
	id = sov_sover_state.15
	title = sov_sover_state.15.t
	desc = sov_sover_state.15.d
	picture = GFX_ssg_event
	is_triggered_only = yes

	timeout_days = 1
	option = {
		name = sov_sover_state.15.a
		ai_chance = { base = 50 }
	}
}

##Medvedev Content
country_event = {
	id = sov_medvedev.1
	title = sov_medvedev.1.t
	desc = sov_medvedev.1.d
	picture = GFX_political_deal
	is_triggered_only = yes

	option = {
		name = sov_medvedev.1.a
		log = "[GetDateText]: [This.GetName]: sov_medvedev.1.a"
		add_stability = -0.15
		ai_chance = { base = 50 }
	}
}

country_event = {
	id = sov_medvedev.4
	title = sov_medvedev.4.t
	desc = sov_medvedev.4.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = {
		name = sov_medvedev.4.a
		log = "[GetDateText]: [This.GetName]: sov_medvedev.4.a"
		diplomatic_relation = {
			country = SOV
			relation = non_aggression_pact
		}
		ai_chance = { base = 50 }
	}

	option = {
		name = sov_medvedev.4.b
		log = "[GetDateText]: [This.GetName]: sov_medvedev.4.b"
		SOV = { country_event = sov_medvedev.5 }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = sov_medvedev.5
	title = sov_medvedev.5.t
	desc = sov_medvedev.5.d
	picture = GFX_treaty_rejected
	is_triggered_only = yes

	option = {
		name = sov_medvedev.5.a
		log = "[GetDateText]: [This.GetName]: sov_medvedev.5.a"
		add_opinion_modifier = {
			modifier = did_not_support_us
			target = USA
		}
		add_popularity = {
			ideology = democratic
			popularity = -0.05
		}
		ai_chance = { base = 50 }
	}
}

country_event = {
	id = sov_medvedev.6
	title = sov_medvedev.6.t
	desc = sov_medvedev.6.d
	is_triggered_only = yes

	option = {
		name = sov_medvedev.6.a
		log = "[GetDateText]: [This.GetName]: sov_medvedev.6.a"
		create_country_leader = {
			name = "Medvedev and Putin Duumvirate"
			desc = "tandem"
			picture = "dima_vova.dds"
			expire = "2050.1.1"
			ideology = Conservative
		}
		ai_chance = { base = 50 }
	}
}
country_event = {
	id = sov_medvedev.7
	title = sov_medvedev.7.t
	desc = sov_medvedev.7.d
	is_triggered_only = yes

	option = {
		name = sov_medvedev.7.a
		log = "[GetDateText]: [This.GetName]: sov_medvedev.7.a"
		create_country_leader = {
			name = "Dmitriy Anatolyevich Medvedev"
			desc = "iron dimon"
			picture = "Dmitry_Medvedev_iron.dds"
			expire = "2050.1.1"
			ideology = Conservative
		}
		ai_chance = { base = 50 }
	}
}

country_event = {
	id = sov_medvedev.8
	title = sov_medvedev.8.t
	desc = sov_medvedev.8.d
	is_triggered_only = yes

	option = {
		name = sov_medvedev.8.a
		log = "[GetDateText]: [This.GetName]: sov_medvedev.8.a"
		hidden_effect = {
			set_temp_variable = { rul_party_temp = 0 }
			set_temp_variable = { col_one = 1 }
			change_ruling_party_effect = yes
			recalculate_party = yes
		}
		set_temp_variable = { party_index = 0 }
		set_temp_variable = { party_popularity_increase = 0.3 }
		set_temp_variable = { temp_outlook_increase = 0.3 }
		change_relative_party_popularity = yes
		create_country_leader = {
			name = "Dmitriy Medvedev"
			picture = "Dimitry_Medvedev.dds"
			ideology = Western_Autocracy
		}
		ai_chance = { base = 50 }
	}
}

##Oligarchs Content
country_event = {
	id = sov_oligarchs.1
	title = sov_oligarchs.1.t
	desc = sov_oligarchs.1.d
	picture = GFX_sov_government_new
	is_triggered_only = yes

	#picture =
	option = {
		name = sov_oligarchs.1.a
		log = "[GetDateText]: [This.GetName]: sov_oligarchs.1.a"
		add_stability = -0.15
		hidden_effect = {
			set_temp_variable = { party_index = 15 }
			set_temp_variable = { party_popularity_increase = party_pop_array^21 }
			change_relative_party_popularity = yes
			set_temp_variable = { rul_party_temp = 15 }
			set_temp_variable = { col_one = 16 }
			# Must precede the party change: SOV_update_political_modifiers reads this flag to decide
			# that Putinism is over and the oligarch modifier is earned.
			set_country_flag = SOV_oligarch_takeover
			change_ruling_party_effect = yes
			remove_ideas = idea_SOV_oligarchic_republic
		}
		create_country_leader = {
			name = "Vladimir Putin"
			picture = "oligarchic_putin.dds"
			ideology = oligarchism
			traits = { spy geopolitical_thinker political_dancer likeable sly rational corruptible }
			expire = "2050.1.1"
		}
		remove_ideas = SOV_idea_revision_6
		set_temp_variable = { temp_opinion = 10 }
		change_oligarchs_opinion = yes
		ai_chance = {
			base = 50
		}
	}
}
country_event = {
	id = sov_oligarchs.2
	title = sov_oligarchs.2.t
	desc = sov_oligarchs.2.d
	picture = GFX_sov_guzinskiy_returned
	is_triggered_only = yes

	#picture =
	option = {
		name = sov_oligarchs.2.a
		log = "[GetDateText]: [This.GetName]: sov_oligarchs.2.a"
		set_temp_variable = { party_index = 15 }
		set_temp_variable = { party_popularity_increase = 0.025 }
		change_relative_party_popularity = yes
		if = {
			limit = { has_idea = SOV_private_media_nationalisation_idea }
			remove_ideas = SOV_private_media_nationalisation_idea
		}
		ai_chance = { base = 50 }
	}
}
country_event = {
	id = sov_oligarchs.3
	title = sov_oligarchs.3.t
	desc = sov_oligarchs.3.d
	picture = GFX_sov_berezovskiy_returned
	is_triggered_only = yes

	#picture =
	option = {
		name = sov_oligarchs.3.a
		log = "[GetDateText]: [This.GetName]: sov_oligarchs.3.a"
		add_stability = 0.02
		set_temp_variable = { treasury_change = 5 }
		modify_treasury_effect = yes
		ai_chance = { base = 50 }
	}
}
country_event = {
	id = sov_oligarchs.4
	title = sov_oligarchs.4.t
	desc = sov_oligarchs.4.d
	picture = GFX_sov_oligarchs_coup
	is_triggered_only = yes

	#picture =
	option = {
		name = sov_oligarchs.4.a
		log = "[GetDateText]: [This.GetName]: sov_oligarchs.4.a"
		add_stability = 0.05
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SOV_russian_oligarchs_modifier }
		set_country_flag = SOV_semibank
		update_party_name = yes
		create_country_leader = {
			name = "Semibankirshina"
			picture = "rus_semibank.dds"
			ideology = oligarchism
			traits = { businessman greedy }
			expire = "2050.1.1"
			desc = SOV_semibankirshina_desc
		}
		ai_chance = { base = 50 }
	}

	option = {
		name = sov_oligarchs.4.b
		log = "[GetDateText]: [This.GetName]: sov_oligarchs.4.b"
		country_event = { id = sov_oligarchs.5 days = 3 }
		ai_chance = { base = 50 }
	}

	option = {
		name = sov_oligarchs.4.c
		log = "[GetDateText]: [This.GetName]: sov_oligarchs.4.c"
		add_stability = 0.05
		add_political_power = 150
		ai_chance = { base = 50 }
	}
}
country_event = {
	id = sov_oligarchs.5
	title = sov_oligarchs.5.t
	desc = sov_oligarchs.5.d
	picture = GFX_sov_elections_soon
	is_triggered_only = yes

	#picture =
	option = {
		name = sov_oligarchs.5.a
		log = "[GetDateText]: [This.GetName]: sov_oligarchs.5.a"
		add_stability = 0.05
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SOV_russian_oligarchs_modifier }
		set_country_flag = SOV_semibank
		update_party_name = yes
		create_country_leader = {
			name = "Alexander Nevzorov"
			picture = "aleksey_nevzorov.dds"
			ideology = oligarchism
			traits = { corruptible }
			expire = "2050.1.1"
			desc = SOV_semibankirshina_desc
		}
		ai_chance = { base = 50 }
	}

	option = {
		name = sov_oligarchs.5.b
		log = "[GetDateText]: [This.GetName]: sov_oligarchs.5.b"
		add_stability = 0.05
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SOV_russian_oligarchs_modifier }
		set_country_flag = SOV_semibank
		update_party_name = yes
		create_country_leader = {
			name = "Boris Berezovsky"
			picture = "boris_berezovskiy.dds"
			ideology = oligarchism
			traits = { businessman ruthless }
			expire = "2050.1.1"
			desc = SOV_semibankirshina_desc
		}
		ai_chance = { base = 50 }
	}

	option = {
		name = sov_oligarchs.5.c
		log = "[GetDateText]: [This.GetName]: sov_oligarchs.5.c"
		add_stability = 0.05
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SOV_russian_oligarchs_modifier }
		set_country_flag = SOV_semibank
		update_party_name = yes
		create_country_leader = {
			name = "Mikhail Khodorkovsky"
			picture = "mikhail_khodorkovskiy.dds"
			ideology = oligarchism
			traits = { businessman rational }
			expire = "2050.1.1"
			desc = SOV_semibankirshina_desc
		}
		ai_chance = { base = 50 }
	}
}

country_event = {
	id = sov_just_russia.1
	title = sov_just_russia.1.t
	desc = sov_just_russia.1.d
	picture = GFX_sr_logo
	is_triggered_only = yes

	option = {
		name = sov_just_russia.1.o1
		log = "[GetDateText]: [This.GetName]: sov_just_russia.1.o1 executed"
		if = {
			limit = { NOT = { check_variable = { ruling_party = 5 } } }
			set_temp_variable = { rul_party_temp = 5 }
			set_temp_variable = { disable_elections = 0 }
			change_ruling_party_effect = yes
		}
		set_temp_variable = { party_index = 5 }
		set_temp_variable = { party_popularity_increase = 0.075 }
		set_temp_variable = { temp_outlook_increase = 0.075 }
		change_relative_party_popularity = yes
	}

	option = {
		name = sov_just_russia.1.o2
		log = "[GetDateText]: [This.GetName]: sov_just_russia.1.o2 executed"
		if = {
			limit = { NOT = { check_variable = { ruling_party = 3 } } }
			set_temp_variable = { rul_party_temp = 3 }
			set_temp_variable = { disable_elections = 0 }
			change_ruling_party_effect = yes
		}
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.075 }
		set_temp_variable = { temp_outlook_increase = 0.075 }
		change_relative_party_popularity = yes
	}
}

country_event = {
	id = sov_just_russia.2
	title = sov_just_russia.2.t
	desc = sov_just_russia.2.d
	picture = GFX_sr_convention1
	is_triggered_only = yes

	option = {
		name = sov_just_russia.2.o1
		log = "[GetDateText]: [This.GetName]: sov_just_russia.2.o1 executed"
		set_temp_variable = { party_index = 7 }
		set_temp_variable = { party_popularity_increase = 0.07 }
		change_relative_party_popularity = yes
}
}
country_event = {
	id = sov_just_russia.3
	title = sov_just_russia.3.t
	desc = sov_just_russia.3.d
	picture = GFX_sr_convention2
	is_triggered_only = yes

	option = {
		name = sov_just_russia.3.o1
		log = "[GetDateText]: [This.GetName]: sov_just_russia.3.o1 executed"
		set_temp_variable = { add_col_one = 7 }
		add_coalition_members_effect = yes
	}
}

country_event = {
	id = sov_dissolution.1
	title = sov_dissolution.1.t
	desc = sov_dissolution.1.d
	picture = GFX_sov_russ_dissolved
	is_triggered_only = yes

	option = {
		name = sov_dissolution.1.a
		log = "[GetDateText]: [This.GetName]: sov_dissolution.1.a executed"
		set_country_flag = SOV_dissolution_flag
		hidden_effect = {
			# ESB cores
			692 = { add_core_of = ESB }
			687 = { add_core_of = ESB }
			691 = { add_core_of = ESB }
			1068 = { add_core_of = ESB }
			1069 = { add_core_of = ESB }
			1070 = { add_core_of = ESB }
			688 = { add_core_of = ESB }
			689 = { add_core_of = ESB }
			690 = { add_core_of = ESB }
			685 = { add_core_of = ESB }
			686 = { add_core_of = ESB }
			1136 = { add_core_of = ESB }
			1137 = { add_core_of = ESB }
			1168 = { add_core_of = ESB }
			# CSB cores
			683 = { add_core_of = CSB }
			682 = { add_core_of = CSB }
			1011 = { add_core_of = CSB }
			684 = { add_core_of = CSB }
			1066 = { add_core_of = CSB }
			681 = { add_core_of = CSB }
			679 = { add_core_of = CSB }
			678 = { add_core_of = CSB }
			1067 = { add_core_of = CSB }
			677 = { add_core_of = CSB }
			1071 = { add_core_of = CSB }
			676 = { add_core_of = CSB }
			675 = { add_core_of = CSB }
			680 = { add_core_of = CSB }
			1064 = { add_core_of = CSB }
			1065 = { add_core_of = CSB }
			# DON cores
			667 = { add_core_of = DON }
			665 = { add_core_of = DON }
			668 = { add_core_of = DON }
			670 = { add_core_of = DON }
			1107 = { add_core_of = DON }
			674 = { add_core_of = DON }
			673 = { add_core_of = DON }
			671 = { add_core_of = DON }
			672 = { add_core_of = DON }
			666 = { add_core_of = DON }
			1126 = { add_core_of = DON }
		}
		ai_chance = { base = 100 }
	}
}

# Shard reintegrated
country_event = {
	id = sov_dissolution.2
	title = sov_dissolution.2.t
	desc = sov_dissolution.2.d
	picture = GFX_sov_russ_unified
	is_triggered_only = yes

	option = {
		name = sov_dissolution.2.a
		ai_chance = { base = 100 }
	}
}

# Russia asks to release a puppet
country_event = {
	id = sov_dissolution.3
	title = sov_dissolution.3.t
	desc = sov_dissolution.3.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	# give money
	option = {
		name = sov_dissolution.3.a
		log = "[GetDateText]: [This.GetName]: sov_dissolution.3.a executed"
		SOV = { country_event = { id = sov_dissolution.4 days = 1 } }
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				SOV = { has_added_tension_amount > 10 }
			}
			modifier = {
				add = 10
				has_opinion = { target = SOV value > 150 }
			}
		}
	}

	option = {
		name = sov_dissolution.3.b
		log = "[GetDateText]: [This.GetName]: sov_dissolution.3.b executed"
		SOV = { country_event = { id = sov_dissolution.5 days = 1 } }
		ai_chance = {
			base = 10
			modifier = {
				factor = 0
				SOV = { has_added_tension_amount > 10 }
			}
			modifier = {
				add = 10
				has_opinion = { target = SOV value > 150 }
			}
		}
	}

	option = {
		name = sov_dissolution.3.c
		log = "[GetDateText]: [This.GetName]: sov_dissolution.3.c executed"
		SOV = { country_event = { id = sov_dissolution.6 days = 1 } }
		ai_chance = {
			base = 10
			modifier = {
				add = -5
				has_opinion = { target = SOV value > 150 }
			}
		}
	}

	# ask for factories
	# no
}

# overlord asks for money
country_event = {
	id = sov_dissolution.4
	title = sov_dissolution.4.t
	desc = sov_dissolution.4.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = {
		name = sov_dissolution.4.a
		log = "[GetDateText]: [This.GetName]: sov_dissolution.4.a executed"
		large_expenditure = yes
		FROM = {
			set_temp_variable = { treasury_change = gdp_total }
			multiply_temp_variable = { treasury_change = 0.006 }
			modify_treasury_effect = yes
			country_event = { id = sov_dissolution.7 days = 1 }
		}
		ai_chance = { base = 100 }
	}

	option = {
		name = sov_dissolution.4.b
		FROM = { country_event = { id = sov_dissolution.8 days = 1 } }
		log = "[GetDateText]: [This.GetName]: sov_dissolution.4.b executed"
	}
}

# overlord asks factories
country_event = {
	id = sov_dissolution.5
	title = sov_dissolution.5.t
	desc = sov_dissolution.5.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = {
		name = sov_dissolution.5.a
		log = "[GetDateText]: [This.GetName]: sov_dissolution.5.a executed"
		every_owned_state = {
			limit = { industrial_complex > 0 }
			random_select_amount = 3
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		FROM = {
			add_offsite_building = { type = industrial_complex level = 3 }
			country_event = { id = sov_dissolution.7 days = 1 }
		}
		ai_chance = { base = 100 }
	}

	option = {
		name = sov_dissolution.5.b
		FROM = { country_event = { id = sov_dissolution.8 days = 1 } }
		log = "[GetDateText]: [This.GetName]: sov_dissolution.5.b executed"
	}
}

# overlord denies
country_event = {
	id = sov_dissolution.6
	title = sov_dissolution.6.t
	desc = sov_dissolution.6.d
	picture = GFX_treaty_rejected
	is_triggered_only = yes

	option = {
		name = sov_dissolution.6.a
		log = "[GetDateText]: [This.GetName]: sov_dissolution.6.a executed"
		clr_country_flag = reunification_talks_in_progress
		clear_variable = reunification_puppet_target
		ai_chance = { base = 100 }
	}
}

# Russia completed the agreement
country_event = {
	id = sov_dissolution.7
	title = sov_dissolution.7.t
	desc = sov_dissolution.7.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = {
		name = sov_dissolution.7.a
		log = "[GetDateText]: [This.GetName]: sov_dissolution.7.a executed"
		end_puppet = SOV.reunification_puppet_target
		SOV = {
			clr_country_flag = reunification_talks_in_progress
			clear_variable = reunification_puppet_target
		}
		ai_chance = { base = 100 }
	}
}

# Russia disagreed on terms
country_event = {
	id = sov_dissolution.8
	title = sov_dissolution.8.t
	desc = sov_dissolution.8.d
	picture = GFX_treaty_rejected
	is_triggered_only = yes

	option = {
		name = sov_dissolution.8.a
		log = "[GetDateText]: [This.GetName]: sov_dissolution.8.a executed"
		SOV = {
			clr_country_flag = reunification_talks_in_progress
			clear_variable = reunification_puppet_target
		}
		ai_chance = { base = 100 }
	}
}

# 9 is free
# Random event - extra pp required
country_event = {
	id = sov_dissolution.10
	title = sov_dissolution.10.t
	desc = sov_dissolution.10.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = {
		name = sov_dissolution.10.a
		log = "[GetDateText]: [This.GetName]: sov_dissolution.10.a executed"
		add_political_power = -100
		add_to_variable = { reunification_progress = 10 }
		custom_effect_tooltip = SOV_reunification_plus_10
		ai_chance = { base = 100 }
	}

	option = {
		name = sov_dissolution.10.b
		log = "[GetDateText]: [This.GetName]: sov_dissolution.10.b executed"
		subtract_from_variable = { reunification_progress = 10 }
		custom_effect_tooltip = SOV_reunification_minus_10
		ai_chance = { base = 10 }
	}
}

# Random event - money required
country_event = {
	id = sov_dissolution.11
	title = sov_dissolution.11.t
	desc = sov_dissolution.11.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = {
		name = sov_dissolution.11.a
		log = "[GetDateText]: [This.GetName]: sov_dissolution.11.a executed"
		medium_expenditure = yes
		add_to_variable = { reunification_progress = 15 }
		custom_effect_tooltip = SOV_reunification_plus_15
		ai_chance = { base = 100 }
	}

	option = {
		name = sov_dissolution.11.b
		log = "[GetDateText]: [This.GetName]: sov_dissolution.11.b executed"
		subtract_from_variable = { reunification_progress = 10 }
		custom_effect_tooltip = SOV_reunification_minus_10
		ai_chance = { base = 10 }
	}
}

# Random event - factory required
country_event = {
	id = sov_dissolution.12
	title = sov_dissolution.12.t
	desc = sov_dissolution.12.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = {
		name = sov_dissolution.12.a
		log = "[GetDateText]: [This.GetName]: sov_dissolution.12.a executed"
		random_owned_state = {
			limit = { industrial_complex > 0 }
			remove_building = {
				type = industrial_complex
				level = 1
			}
		}
		add_to_variable = { reunification_progress = 20 }
		custom_effect_tooltip = SOV_reunification_plus_20
		ai_chance = { base = 100 }
	}

	option = {
		name = sov_dissolution.12.b
		log = "[GetDateText]: [This.GetName]: sov_dissolution.12.b executed"
		subtract_from_variable = { reunification_progress = 10 }
		custom_effect_tooltip = SOV_reunification_minus_10
		ai_chance = { base = 10 }
	}
}

country_event = {
	id = russia.200
	title = russia.200.t
	desc = russia.200.d
	picture = GFX_astronauts
	is_triggered_only = yes

	option = {
		name = russia.200.a
		log = "[GetDateText]: [This.GetName]: russia.200.a executed"
		set_country_flag = SOV_funding_success
		add_days_mission_timeout = {
			mission = SOV_buran_hangar
			days = 400
		}
	}
}

country_event = {
	id = russia.300
	title = russia.300.t
	desc = russia.300.d
	picture = GFX_astronauts
	is_triggered_only = yes

	option = { name = russia.300.a }
}

country_event = {
	id = russia.301
	title = russia.301.t
	desc = russia.301.d
	picture = GFX_buran_event_4_SOV
	is_triggered_only = yes

	option = {
		name = russia.301.a
		log = "[GetDateText]: [This.GetName]: russia.301.a executed"
		add_tech_bonus = {
			name = russia.301.t
			bonus = 0.3
			uses = 4
			category = CAT_space
		} hidden_effect = { rq_eb_7ef709d243 = yes }
		newline = yes
	}

	option = {
		name = russia.301.b
		log = "[GetDateText]: [This.GetName]: russia.301.b executed"
		add_political_power = 150
		set_temp_variable = { party_popularity_increase = 0.055 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
	}
}

country_event = {
	id = russia.302
	title = russia.302.t
	desc = russia.302.d
	picture = GFX_buran_event_3_SOV
	is_triggered_only = yes

	option = {
		name = russia.302.a
		log = "[GetDateText]: [This.GetName]: russia.302.a executed"
		add_stability = 0.05
		set_country_flag = SOV_mission_space_ended
		news_event = {
			hours = 6
			id = russia.3022
		}
		717 = {
			add_building_construction = {
				type = landmark_buran
				level = 1
				instant_build = yes
				province = 7600
			}
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
	}
}

news_event = {
	id = russia.3022
	title = russia.3022.t
	desc = russia.3022.d
	picture = GFX_buran_event_3_news_SOV
	is_triggered_only = yes
	major = yes

	option = { name = russia.3022.a }
}

country_event = {
	id = russia.303
	title = russia.303.t
	desc = russia.303.d
	picture = GFX_terrorist_attack
	is_triggered_only = yes

	option = {
		name = russia.303.a
		log = "[GetDateText]: [This.GetName]: russia.303.a executed"
		add_stability = -0.05
		set_country_flag = SOV_mission_space_ended
		news_event = {
			hours = 6
			id = russia.3033
		}
	}
}

news_event = {
	id = russia.3033
	title = russia.3033.t
	desc = russia.3033.d
	picture = GFX_buran_event_2_news_SOV
	is_triggered_only = yes
	major = yes

	option = { name = russia.3033.a }
}

country_event = {
	id = russia.304
	title = russia.304.t
	desc = russia.304.d
	picture = GFX_buran_event_1_SOV
	is_triggered_only = yes

	option = {
		name = russia.304.a
		log = "[GetDateText]: [This.GetName]: russia.304.a executed"
		add_stability = -0.05
		add_political_power = -100
		set_country_flag = SOV_mission_space_ended
		news_event = {
			hours = 6
			id = russia.3044
		}
	}
}

news_event = {
	id = russia.3044
	title = russia.3044.t
	desc = russia.3044.d
	picture = GFX_buran_event_1_news_SOV
	is_triggered_only = yes
	major = yes

	option = { name = russia.3044.a }
}
country_event = {
	id = sov_economic.1
	title = sov_economic.1.t
	desc = sov_economic.1.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = sov_economic.1.a
		log = "[GetDateText]: [This.GetName]: sov_economic.1.a executed"
		custom_effect_tooltip = SOV_khodorkovsky_guilty_path_TT
		add_political_power = -100
		add_stability = -0.03
		set_temp_variable = { temp_opinion = 10 }
		change_intelligence_community_opinion = yes
		set_temp_variable = { temp_opinion = -10 }
		change_oligarchs_opinion = yes
		set_temp_variable = { temp_opinion = -10 }
		change_fossil_fuel_industry_opinion = yes
		SOV = { set_country_flag = SOV_khodorkovsky_found_guilty }
		add_to_variable = { SOV_statist_verdicts = 1 }
		custom_effect_tooltip = SOV_verdict_scorecard_TT
		ai_chance = {
			base = 100
			modifier = {
				is_historical_focus_on = yes
				add = 100
			}
		}
	}

	option = {
		name = sov_economic.1.b
		log = "[GetDateText]: [This.GetName]: sov_economic.1.b executed"
		custom_effect_tooltip = SOV_khodorkovsky_not_guilty_path_TT
		set_country_flag = SOV_khodorkovsky_acquitted
		if = {
			limit = { has_idea = SOV_yukos_idea }
			remove_ideas = SOV_yukos_idea
		}
		add_stability = 0.02
		add_popularity = {
			ideology = democratic
			popularity = 0.15
		}
		set_temp_variable = { temp_opinion = 10 }
		change_oligarchs_opinion = yes
		set_temp_variable = { temp_opinion = 10 }
		change_fossil_fuel_industry_opinion = yes
		set_temp_variable = { temp_opinion = -15 }
		change_intelligence_community_opinion = yes
		add_to_variable = { SOV_oligarch_verdicts = 1 }
		custom_effect_tooltip = SOV_verdict_scorecard_TT
		ai_chance = {
			base = 0
			modifier = {
				is_historical_focus_on = yes
				add = 0
			}
		}
	}
}
country_event = {
	id = sov_economic.2
	title = sov_economic.2.t
	desc = sov_economic.2.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = sov_economic.2.a
		log = "[GetDateText]: [This.GetName]: sov_economic.2.a executed"
		add_political_power = -50
		add_stability = 0.03
		set_temp_variable = { temp_opinion = 7 }
		change_intelligence_community_opinion = yes
		set_temp_variable = { temp_opinion = -5 }
		change_oligarchs_opinion = yes
		set_temp_variable = { party_popularity_increase = 0.10 }
		change_relative_party_popularity = yes
		add_to_variable = { SOV_statist_verdicts = 1 }
		custom_effect_tooltip = SOV_verdict_scorecard_TT
		ai_chance = {
			base = 100
			modifier = {
				is_historical_focus_on = yes
				add = 0
			}
		}
	}

	option = {
		name = sov_economic.2.b
		log = "[GetDateText]: [This.GetName]: sov_economic.2.b executed"
		add_stability = -0.05
		add_popularity = {
			ideology = democratic
			popularity = 0.05
		}
		set_temp_variable = { party_popularity_increase = -0.10 }
		change_relative_party_popularity = yes
		set_temp_variable = { temp_opinion = 3 }
		change_oligarchs_opinion = yes
		set_temp_variable = { temp_opinion = 3 }
		change_fossil_fuel_industry_opinion = yes
		add_to_variable = { SOV_oligarch_verdicts = 1 }
		custom_effect_tooltip = SOV_verdict_scorecard_TT
		newline = yes
		set_temp_variable = { treasury_change = 5 }
		modify_treasury_effect = yes
		ai_chance = {
			base = 0
			modifier = {
				is_historical_focus_on = yes
				add = 0
			}
		}
	}
}
country_event = {
	id = sov_economic.3
	title = sov_economic.3.t
	desc = sov_economic.3.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = sov_economic.3.a
		log = "[GetDateText]: [This.GetName]: sov_economic.3.a executed"
		add_political_power = -25
		add_stability = 0.07
		set_temp_variable = { temp_opinion = -5 }
		change_oligarchs_opinion = yes
		add_ideas = SOV_private_media_nationalisation_idea
		add_to_variable = { SOV_statist_verdicts = 1 }
		custom_effect_tooltip = SOV_verdict_scorecard_TT
		newline = yes
		set_temp_variable = { treasury_change = -5 }
		modify_treasury_effect = yes
		ai_chance = {
			base = 100
			modifier = {
				is_historical_focus_on = yes
				add = 100
			}
		}
	}

	option = {
		name = sov_economic.3.b
		log = "[GetDateText]: [This.GetName]: sov_economic.3.b executed"
		add_stability = -0.05
		set_temp_variable = { temp_opinion = 10 }
		change_oligarchs_opinion = yes
		add_popularity = {
			ideology = democratic
			popularity = 0.15
		}
		set_country_flag = SOV_private_media_free
		add_ideas = SOV_independent_media_idea
		add_to_variable = { SOV_oligarch_verdicts = 1 }
		custom_effect_tooltip = SOV_verdict_scorecard_TT
		ai_chance = {
			base = 0
			modifier = {
				is_historical_focus_on = yes
				add = 0
			}
		}
	}

	option = {
		name = sov_economic.3.c
		log = "[GetDateText]: [This.GetName]: sov_economic.3.c executed"
		add_political_power = -50
		add_stability = 0.05
		set_temp_variable = { temp_opinion = -10 }
		change_oligarchs_opinion = yes
		set_temp_variable = { temp_opinion = 10 }
		change_intelligence_community_opinion = yes
		add_ideas = SOV_private_media_nationalisation_idea
		add_to_variable = { SOV_statist_verdicts = 1 }
		custom_effect_tooltip = SOV_verdict_scorecard_TT
		ai_chance = {
			base = 0
			modifier = {
				is_historical_focus_on = yes
				add = 0
			}
		}
	}
}
country_event = {
	id = sov_economic.4
	title = sov_economic.4.t
	desc = sov_economic.4.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = sov_economic.4.a
		log = "[GetDateText]: [This.GetName]: sov_economic.4.a executed"
		add_political_power = -75
		set_temp_variable = { temp_opinion = -7 }
		change_oligarchs_opinion = yes
		set_temp_variable = { temp_opinion = 5 }
		change_fossil_fuel_industry_opinion = yes
		set_temp_variable = { SOV_modify_capitalisation_rosneft = 3 }
		SOV_modify_capitalisation_rosneft_support = yes
		add_to_variable = { SOV_statist_verdicts = 1 }
		custom_effect_tooltip = SOV_verdict_scorecard_TT
		newline = yes
		set_temp_variable = { treasury_change = -15 }
		modify_treasury_effect = yes
		ai_chance = {
			base = 25
			modifier = {
				is_historical_focus_on = yes
				add = 50
			}
		}
	}

	option = {
		name = sov_economic.4.b
		log = "[GetDateText]: [This.GetName]: sov_economic.4.b executed"
		add_stability = -0.03
		set_temp_variable = { temp_opinion = 5 }
		change_oligarchs_opinion = yes
		set_temp_variable = { temp_opinion = -7 }
		change_fossil_fuel_industry_opinion = yes
		add_popularity = {
			ideology = democratic
			popularity = 0.05
		}
		add_to_variable = { SOV_oligarch_verdicts = 1 }
		custom_effect_tooltip = SOV_verdict_scorecard_TT
		ai_chance = {
			base = 0
			modifier = {
				has_global_flag = SOV_OLIGARCHS_FOCUS_PATH
				add = 155
			}
		}
	}
}
country_event = {
	id = sov_economic.5
	title = sov_economic.5.t
	desc = sov_economic.5.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = sov_economic.5.a
		log = "[GetDateText]: [This.GetName]: sov_economic.5.a executed"
		add_political_power = -85
		set_temp_variable = { temp_opinion = -10 }
		change_oligarchs_opinion = yes
		set_temp_variable = { temp_opinion = 7 }
		change_fossil_fuel_industry_opinion = yes
		set_temp_variable = { SOV_modify_capitalisation_gazprom = 4 }
		SOV_modify_capitalisation_gazprom_support = yes
		add_to_variable = { SOV_statist_verdicts = 1 }
		custom_effect_tooltip = SOV_verdict_scorecard_TT
		newline = yes
		set_temp_variable = { treasury_change = -20 }
		modify_treasury_effect = yes
		ai_chance = {
			base = 50
			modifier = {
				is_historical_focus_on = yes
				add = 50
			}
		}
	}

	option = {
		name = sov_economic.5.b
		log = "[GetDateText]: [This.GetName]: sov_economic.5.b executed"
		add_stability = -0.05
		set_temp_variable = { temp_opinion = 7 }
		change_oligarchs_opinion = yes
		set_temp_variable = { temp_opinion = -10 }
		change_fossil_fuel_industry_opinion = yes
		add_popularity = {
			ideology = democratic
			popularity = 0.05
		}
		add_to_variable = { SOV_oligarch_verdicts = 1 }
		custom_effect_tooltip = SOV_verdict_scorecard_TT
		ai_chance = {
			base = 0
			modifier = {
				has_global_flag = SOV_OLIGARCHS_FOCUS_PATH
				add = 155
			}
		}
	}
}
country_event = {
	id = sov_economic.7
	title = sov_economic.7.t
	desc = sov_economic.7.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = sov_economic.7.a
		log = "[GetDateText]: [This.GetName]: sov_economic.7.a executed"
		add_ideas = SOV_nord_stream_idea
		set_temp_variable = { treasury_change = -11.00 }
		modify_treasury_effect = yes
		SOV = {
			add_opinion_modifier = {
				modifier = economic_mission
				target = GER
			}
		}
		GER = {
			add_opinion_modifier = {
				modifier = economic_mission
				target = SOV
			}
		}
		hidden_effect = { SOV = { add_ideas = SOV_nord_stream_sov_idea } }
		USA = {
			add_opinion_modifier = {
				target = GER
				modifier = recent_actions_negative
			}
			add_opinion_modifier = {
				target = SOV
				modifier = recent_actions_negative
			}
		}
		SOV = { country_event = sov_economic.8 }
		ai_chance = { base = 90 }
	}

	option = {
		name = sov_economic.7.b
		log = "[GetDateText]: [This.GetName]: sov_economic.7.b executed"
		USA = {
			add_opinion_modifier = {
				target = GER
				modifier = recent_actions_positive
			}
		}
		SOV = {
			set_country_flag = SOV_nord_stream_refused
			country_event = sov_economic.9
		}
		ai_chance = { base = 0 }
	}
}
country_event = {
	id = sov_economic.8
	title = sov_economic.8.t
	desc = sov_economic.8.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = sov_economic.8.a
		log = "[GetDateText]: [This.GetName]: sov_economic.8.a executed"
		set_temp_variable = { treasury_change = 11.00 }
		modify_treasury_effect = yes
	}
}
country_event = {
	id = sov_economic.9
	title = sov_economic.9.t
	desc = sov_economic.9.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	minor_flavor = yes
	option = { name = sov_economic.9.a }
}
country_event = {
	id = sov_economic.10
	title = sov_economic.10.t
	desc = sov_economic.10.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = sov_economic.10.a
		log = "[GetDateText]: [This.GetName]: sov_economic.10.a executed"
		add_ideas = SOV_blue_stream_idea
		set_temp_variable = { treasury_change = -11.00 }
		modify_treasury_effect = yes
		SOV = {
			add_opinion_modifier = { modifier = economic_mission target = TUR }
			reverse_add_opinion_modifier = { modifier = economic_mission target = TUR }
		}
		hidden_effect = { SOV = { add_ideas = SOV_blue_stream_sov_idea } }
		USA = {
			add_opinion_modifier = { target = TUR modifier = recent_actions_negative }
			add_opinion_modifier = { target = SOV modifier = recent_actions_negative }
		}
		SOV = { country_event = sov_economic.8 }
		ai_chance = { base = 90 }
	}

	option = {
		name = sov_economic.10.b
		log = "[GetDateText]: [This.GetName]: sov_economic.10.b executed"
		USA = {
			add_opinion_modifier = {
				target = TUR
				modifier = recent_actions_positive
			}
		}
		SOV = {
			set_country_flag = SOV_blue_stream_refused
			country_event = sov_economic.9
		}
		ai_chance = { base = 0 }
	}
}
country_event = {
	id = sov_economic.11
	title = sov_economic.11.t
	desc = sov_economic.11.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = sov_economic.11.a
		log = "[GetDateText]: [This.GetName]: sov_economic.11.a executed"
		add_ideas = SOV_turkey_stream_idea
		set_temp_variable = { treasury_change = -11.00 }
		modify_treasury_effect = yes
		SOV = {
			add_opinion_modifier = {
				modifier = economic_mission
				target = TUR
			}
		}
		TUR = {
			add_opinion_modifier = {
				modifier = economic_mission
				target = SOV
			}
		}
		hidden_effect = { SOV = { add_ideas = SOV_turkey_stream_sov_idea } }
		USA = {
			add_opinion_modifier = {
				target = TUR
				modifier = recent_actions_negative
			}
			add_opinion_modifier = {
				target = SOV
				modifier = recent_actions_negative
			}
		}
		SOV = { country_event = sov_economic.8 }
		ai_chance = { base = 90 }
	}

	option = {
		name = sov_economic.11.b
		log = "[GetDateText]: [This.GetName]: sov_economic.11.b executed"
		USA = {
			add_opinion_modifier = {
				target = TUR
				modifier = recent_actions_positive
			}
		}
		SOV = {
			set_country_flag = SOV_turkey_stream_refused
			country_event = sov_economic.9
		}
		ai_chance = { base = 0 }
	}
}
country_event = {
	id = sov_economic.12
	title = sov_economic.12.t
	desc = sov_economic.12.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = sov_economic.12.a
		log = "[GetDateText]: [This.GetName]: sov_economic.12.a executed"
		add_ideas = SOV_nord_stream2_idea
		set_temp_variable = { treasury_change = -11.00 }
		modify_treasury_effect = yes
		SOV = {
			add_opinion_modifier = {
				modifier = economic_mission
				target = GER
			}
		}
		GER = {
			add_opinion_modifier = {
				modifier = economic_mission
				target = SOV
			}
		}
		hidden_effect = { SOV = { add_ideas = SOV_nord_stream2_sov_idea } }
		USA = {
			add_opinion_modifier = {
				target = GER
				modifier = recent_actions_negative
			}
			add_opinion_modifier = {
				target = SOV
				modifier = recent_actions_negative
			}
		}
		SOV = { country_event = sov_economic.8 }
		ai_chance = { base = 90 }
	}

	option = {
		name = sov_economic.12.b
		log = "[GetDateText]: [This.GetName]: sov_economic.12.b executed"
		USA = {
			add_opinion_modifier = {
				target = GER
				modifier = recent_actions_positive
			}
		}
		SOV = {
			set_country_flag = SOV_nord_stream2_refused
			country_event = sov_economic.9
		}
		ai_chance = { base = 0 }
	}
}

country_event = {
	id = sov_economic.13
	title = sov_economic.13.t
	desc = sov_economic.13.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = sov_economic.13.a
		log = "[GetDateText]: [This.GetName]: sov_economic.13.a executed"
		custom_effect_tooltip = SOV_russia_rubber_TT
		set_temp_variable = { treasury_change = -2.8 }
		modify_treasury_effect = yes
		random_owned_state = { add_resource = { type = rubber amount = 2 } }
		set_temp_variable = { percent_change = 2 }
		set_temp_variable = { influence_target = SOV }
		change_influence_percentage = yes
		SOV = { country_event = sov_economic.14 }
		ai_chance = { base = 90 }
	}

	option = {
		name = sov_economic.13.b
		log = "[GetDateText]: [This.GetName]: sov_economic.13.b executed"
		SOV = { country_event = sov_economic.15 }
		ai_chance = { base = 10 }
	}
}

country_event = {
	id = sov_economic.14
	title = sov_economic.14.t
	desc = sov_economic.14.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = sov_economic.14.a
		log = "[GetDateText]: [This.GetName]: sov_economic.14.a executed"
		set_temp_variable = { treasury_change = -2.8 }
		modify_treasury_effect = yes
		random_owned_state = { add_resource = { type = rubber amount = 3 } }
	}
}

country_event = {
	id = sov_economic.15
	title = sov_economic.15.t
	desc = sov_economic.15.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = { name = sov_economic.15.a }
}
#Trading mission
country_event = {
	id = sov_economic.16
	title = sov_economic.16.t
	desc = sov_economic.16.d
	picture = GFX_generic_tractor_manufacturer
	is_triggered_only = yes

	option = {
		name = sov_economic.16.a
		log = "[GetDateText]: [This.GetName]: sov_economic.16.a executed"
		add_ideas = BLR_azot_fertilizers_idea
		add_opinion_modifier = {
			target = SOV
			modifier = trade_mission
		}
		reverse_add_opinion_modifier = {
			target = SOV
			modifier = trade_mission
		}
		SOV = {
			country_event = { id = sov_economic.17 days = 1 }
		}
		ai_chance = {
			base = 1
			modifier = {
				THIS = { has_opinion = { target = SOV value > -20 } }
				add = 10
			}
			modifier = {
				is_top5_influencer = yes
				add = 10
			}
		}
	}

	option = {
		name = sov_economic.16.b
		log = "[GetDateText]: [This.GetName]: sov_economic.16.b executed"
		SOV = {
			country_event = { id = sov_economic.18 days = 1 }
		}
		ai_chance = { base = 1 }
	}
}

#They agree callback
country_event = {
	id = sov_economic.17
	title = sov_economic.17.t
	desc = sov_economic.17.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = {
		name = sov_economic.17.a
		log = "[GetDateText]: [This.GetName]: sov_economic.17.a executed"
		ai_chance = { base = 1 }
		add_to_variable = { ROOT.current_azot_capacity = 1 }
		clr_country_flag = BLR_pending_offer
	}
}
#They disagree callback
country_event = {
	id = sov_economic.18
	title = sov_economic.18.t
	desc = sov_economic.18.d
	picture = GFX_treaty_rejected
	is_triggered_only = yes

	option = {
		name = sov_economic.18.a
		log = "[GetDateText]: [This.GetName]: sov_economic.18.a executed"
		ai_chance = { base = 1 }
		clr_country_flag = BLR_pending_offer
	}
}
#MONTH EVENTS
#Gazprom Scandal
country_event = {
	id = sov_economic.22
	title = sov_economic.22.t
	desc = sov_economic.22.d
	picture = GFX_sov_gazprom_cap
	is_triggered_only = yes
	fire_only_once = yes

	mean_time_to_happen = {
		modifier = {
			factor = 1.5
			check_variable = { SOV_capitalisation_gazprom > 3 }
			NOT = { check_variable = { SOV_capitalisation_gazprom > 12 } }
		}
		modifier = {
			factor = 1.80
			check_variable = { SOV_capitalisation_gazprom > 12 }
			NOT = { check_variable = { SOV_capitalisation_gazprom > 25 } }
		}
		modifier = {
			factor = 2.5
			check_variable = { SOV_capitalisation_gazprom > 25 }
		}
	}

	trigger = {
		original_tag = SOV
		has_completed_focus = SOV_economic_reform_gazprom
		NOT = {
			OR = {
				emerging_communist_state_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
			}
		}
	}

	option = {
		name = sov_economic.22.a
		log = "[GetDateText]: [This.GetName]: sov_economic.22.a executed"
		SOV = {
			set_temp_variable = { SOV_modify_capitalisation_gazprom = -0.250 }
			SOV_modify_capitalisation_gazprom_support = yes
		}
	}
}
#Sberbank Scandal
country_event = {
	id = sov_economic.23
	title = sov_economic.23.t
	desc = sov_economic.23.d
	picture = GFX_sov_sberbank_cap
	is_triggered_only = yes
	fire_only_once = yes

	mean_time_to_happen = {
		modifier = {
			factor = 1.5
			check_variable = { SOV_capitalisation_sberbank > 3 }
			NOT = { check_variable = { SOV_capitalisation_sberbank > 15 } }
		}
		modifier = {
			factor = 1.80
			check_variable = { SOV_capitalisation_sberbank > 15 }
			NOT = { check_variable = { SOV_capitalisation_sberbank > 25 } }
		}
		modifier = {
			factor = 2.5
			check_variable = { SOV_capitalisation_sberbank > 25 }
		}
	}

	trigger = {
		original_tag = SOV
		has_completed_focus = SOV_economic_destiny_sber
		NOT = {
			OR = {
				emerging_communist_state_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
			}
		}
	}

	option = {
		name = sov_economic.23.a
		log = "[GetDateText]: [This.GetName]: sov_economic.23.a executed"
		SOV = {
			set_temp_variable = { SOV_modify_capitalisation_sberbank = -0.100 }
			SOV_modify_capitalisation_sberbank_support = yes
		}
	}
}

#Rosneft Scandal
country_event = {
	id = sov_economic.24
	title = sov_economic.24.t
	desc = sov_economic.24.d
	picture = GFX_sov_rosneft_cap
	is_triggered_only = yes
	fire_only_once = yes

	mean_time_to_happen = {
		modifier = {
			factor = 1.5
			check_variable = { SOV_capitalisation_rosneft > 3 }
			NOT = { check_variable = { SOV_capitalisation_rosneft > 15 } }
		}
		modifier = {
			factor = 1.80
			check_variable = { SOV_capitalisation_rosneft > 15 }
			NOT = { check_variable = { SOV_capitalisation_rosneft > 25 } }
		}
		modifier = {
			factor = 2.5
			check_variable = { SOV_capitalisation_rosneft > 25 }
		}
	}

	trigger = {
		original_tag = SOV
		has_completed_focus = SOV_economic_reform_rosneft
		NOT = {
			OR = {
				emerging_communist_state_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
			}
		}
	}

	option = {
		name = sov_economic.24.a
		log = "[GetDateText]: [This.GetName]: sov_economic.24.a executed"
		SOV = {
			set_temp_variable = { SOV_modify_capitalisation_rosneft = -0.190 }
			SOV_modify_capitalisation_rosneft_support = yes
		}
	}
}

#Sanctions Capitalization
country_event = {
	id = sov_economic.25
	title = sov_economic.25.t
	desc = sov_economic.25.d
	picture = GFX_sov_econ_obval
	is_triggered_only = yes

	option = {
		name = sov_economic.25.a
		log = "[GetDateText]: [This.GetName]: sov_economic.25.a executed"
		custom_effect_tooltip = SOV_sanctions_capitalization_tt
		if = {
			limit = { has_completed_focus = SOV_economic_reform_rosneft }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_rosneft = -3 }
				SOV_modify_capitalisation_rosneft_support = yes
			}
		}
		if = {
			limit = { has_completed_focus = SOV_economic_destiny_sber }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_sberbank = -1.5 }
				SOV_modify_capitalisation_sberbank_support = yes
			}
		}
		if = {
			limit = { has_completed_focus = SOV_economic_reform_gazprom }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_gazprom = -3 }
				SOV_modify_capitalisation_gazprom_support = yes
			}
		}
		if = {
			limit = { has_completed_focus = SOV_economic_mts }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_mts = -0.470 }
				SOV_modify_capitalisation_mts_support = yes
			}
		}
		if = {
			limit = { has_completed_focus = SOV_economic_vtb }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_vtb = -0.350 }
				SOV_modify_capitalisation_vtb_support = yes
			}
		}
		if = {
			limit = { has_completed_focus = SOV_economic_alrosa }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_alrosa = -0.230 }
				SOV_modify_capitalisation_alrosa_support = yes
			}
		}
	}
}

#Purge Oligarchs Capitalization
country_event = {
	id = sov_economic.26
	title = sov_economic.26.t
	desc = sov_economic.26.d
	picture = GFX_sov_econ_obval
	is_triggered_only = yes

	option = {
		name = sov_economic.26.a
		log = "[GetDateText]: [This.GetName]: sov_economic.26.a executed"
		if = {
			limit = { has_completed_focus = SOV_economic_reform_rosneft }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_rosneft = -1.5 }
				SOV_modify_capitalisation_rosneft_support = yes
			}
		}
		if = {
			limit = { has_completed_focus = SOV_economic_destiny_sber }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_sberbank = -0.750 }
				SOV_modify_capitalisation_sberbank_support = yes
			}
		}
		if = {
			limit = { has_completed_focus = SOV_economic_reform_gazprom }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_gazprom = -1.8 }
				SOV_modify_capitalisation_gazprom_support = yes
			}
		}
		if = {
			limit = { has_completed_focus = SOV_economic_mts }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_mts = -0.230 }
				SOV_modify_capitalisation_mts_support = yes
			}
		}
		if = {
			limit = { has_completed_focus = SOV_economic_vtb }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_vtb = -0.350 }
				SOV_modify_capitalisation_vtb_support = yes
			}
		}
		if = {
			limit = { has_completed_focus = SOV_economic_alrosa }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_alrosa = -0.270 }
				SOV_modify_capitalisation_alrosa_support = yes
			}
		}
	}
}

#Rosneft Alert
country_event = {
	id = sov_economic.27
	title = sov_economic.27.t
	desc = sov_economic.27.d
	picture = GFX_sov_rosneft_cap
	is_triggered_only = yes
	fire_only_once = yes

	mean_time_to_happen = {
		modifier = {
			factor = 1.5
			check_variable = { SOV_capitalisation_rosneft > 3 }
			NOT = { check_variable = { SOV_capitalisation_rosneft > 15 } }
		}
		modifier = {
			factor = 1.80
			check_variable = { SOV_capitalisation_rosneft > 15 }
			NOT = { check_variable = { SOV_capitalisation_rosneft > 25 } }
		}
		modifier = {
			factor = 2.5
			check_variable = { SOV_capitalisation_rosneft > 25 }
		}
	}

	trigger = {
		original_tag = SOV
		has_completed_focus = SOV_economic_reform_rosneft
		NOT = {
			OR = {
				emerging_communist_state_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
			}
		}
	}

	option = {
		name = sov_economic.27.a
		log = "[GetDateText]: [This.GetName]: sov_economic.27.a executed"
		SOV = {
			set_temp_variable = { SOV_modify_capitalisation_rosneft = -0.275 }
			SOV_modify_capitalisation_rosneft_support = yes
		}
	}
}
#Gazprom Alert
country_event = {
	id = sov_economic.28
	title = sov_economic.28.t
	desc = sov_economic.28.d
	picture = GFX_sov_gazprom_cap
	is_triggered_only = yes
	fire_only_once = yes

	mean_time_to_happen = {
		modifier = {
			factor = 1.5
			check_variable = { SOV_capitalisation_gazprom > 3 }
			NOT = { check_variable = { SOV_capitalisation_gazprom > 12 } }
		}
		modifier = {
			factor = 1.80
			check_variable = { SOV_capitalisation_gazprom > 12 }
			NOT = { check_variable = { SOV_capitalisation_gazprom > 25 } }
		}
		modifier = {
			factor = 2.5
			check_variable = { SOV_capitalisation_gazprom > 25 }
		}
	}

	trigger = {
		original_tag = SOV
		has_completed_focus = SOV_economic_reform_gazprom
		NOT = {
			OR = {
				emerging_communist_state_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
			}
		}
	}

	option = {
		name = sov_economic.28.a
		log = "[GetDateText]: [This.GetName]: sov_economic.28.a executed"
		SOV = {
			set_temp_variable = { SOV_modify_capitalisation_gazprom = -0.380 }
			SOV_modify_capitalisation_gazprom_support = yes
		}
	}
}

#Streams Closed
country_event = {
	id = sov_economic.29
	title = sov_economic.29.t
	desc = sov_economic.29.d
	picture = GFX_sov_gazprom_cap
	is_triggered_only = yes

	option = {
		name = sov_economic.29.a
		log = "[GetDateText]: [This.GetName]: sov_economic.29.a executed"
		SOV = {
			set_temp_variable = { SOV_modify_capitalisation_gazprom = -0.950 }
			SOV_modify_capitalisation_gazprom_support = yes
		}
	}
}

#Streams Open
country_event = {
	id = sov_economic.30
	title = sov_economic.30.t
	desc = sov_economic.30.d
	picture = GFX_sov_gazprom_cap
	is_triggered_only = yes

	option = {
		name = sov_economic.30.a
		log = "[GetDateText]: [This.GetName]: sov_economic.30.a executed"
		SOV = {
			set_temp_variable = { SOV_modify_capitalisation_gazprom = 0.550 }
			SOV_modify_capitalisation_gazprom_support = yes
		}
	}
}

#Nationalize Capitalization
country_event = {
	id = sov_economic.31
	title = sov_economic.31.t
	desc = sov_economic.31.d
	picture = GFX_sov_econ_obval
	is_triggered_only = yes

	option = {
		name = sov_economic.31.a
		log = "[GetDateText]: [This.GetName]: sov_economic.31.a executed"
		if = {
			limit = { has_completed_focus = SOV_economic_reform_rosneft }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_rosneft = -1.1 }
				SOV_modify_capitalisation_rosneft_support = yes
			}
		}
		if = {
			limit = { has_completed_focus = SOV_economic_destiny_sber }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_sberbank = -0.450 }
				SOV_modify_capitalisation_sberbank_support = yes
			}
		}
		if = {
			limit = { has_completed_focus = SOV_economic_reform_gazprom }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_gazprom = -1.2 }
				SOV_modify_capitalisation_gazprom_support = yes
			}
		}
		if = {
			limit = { has_completed_focus = SOV_economic_mts }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_mts = -0.490 }
				SOV_modify_capitalisation_mts_support = yes
			}
		}
		if = {
			limit = { has_completed_focus = SOV_economic_vtb }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_vtb = -0.220 }
				SOV_modify_capitalisation_vtb_support = yes
			}
		}
		if = {
			limit = { has_completed_focus = SOV_economic_alrosa }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_alrosa = -0.170 }
				SOV_modify_capitalisation_alrosa_support = yes
			}
		}
	}
}

#Join WTO
country_event = {
	id = sov_economic.32
	title = sov_economic.32.t
	desc = sov_economic.32.d
	picture = GFX_sov_econ_obval
	is_triggered_only = yes

	option = {
		name = sov_economic.32.a
		log = "[GetDateText]: [This.GetName]: sov_economic.32.a executed"
		if = {
			limit = { has_completed_focus = SOV_economic_reform_rosneft }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_rosneft = 0.980 }
				SOV_modify_capitalisation_rosneft_support = yes
			}
		}
		if = {
			limit = { has_completed_focus = SOV_economic_destiny_sber }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_sberbank = 0.350 }
				SOV_modify_capitalisation_sberbank_support = yes
			}
		}
		if = {
			limit = { has_completed_focus = SOV_economic_reform_gazprom }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_gazprom = 1.2 }
				SOV_modify_capitalisation_gazprom_support = yes
			}
		}
		if = {
			limit = { has_completed_focus = SOV_economic_mts }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_mts = 0.290 }
				SOV_modify_capitalisation_mts_support = yes
			}
		}
		if = {
			limit = { has_completed_focus = SOV_economic_vtb }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_vtb = 0.170 }
				SOV_modify_capitalisation_vtb_support = yes
			}
		}
		if = {
			limit = { has_completed_focus = SOV_economic_alrosa }
			SOV = {
				set_temp_variable = { SOV_modify_capitalisation_alrosa = 0.170 }
				SOV_modify_capitalisation_alrosa_support = yes
			}
		}
	}
}

#MOEX start
country_event = {
	id = sov_economic.33
	title = sov_economic.33.t
	desc = sov_economic.33.d
	picture = GFX_sov_econ_obval
	is_triggered_only = yes

	option = {
		name = sov_economic.33.a
		log = "[GetDateText]: [This.GetName]: sov_economic.33.a executed"
		custom_effect_tooltip = SOV_run_moex_tt
		hidden_effect = { clr_country_flag = SOV_stop_moex }
	}
}

#Buy GRES Moldovan
country_event = {
	id = sov_economic.34
	title = sov_economic.34.t
	desc = sov_economic.34.d
	picture = GFX_sov_interrao_cap
	is_triggered_only = yes

	option = {
		name = sov_economic.34.a
		log = "[GetDateText]: [This.GetName]: sov_economic.34.a executed"
		add_ideas = PMR_inter_rao
		set_temp_variable = { percent_change = 2.5 }
		set_temp_variable = { tag_index = SOV }
		set_temp_variable = { influence_target = PMR }
		change_influence_percentage = yes
		set_temp_variable = { treasury_change = 5.00 }
		modify_treasury_effect = yes
		SOV = { country_event = sov_economic.35 }
		ai_chance = { base = 90 }
	}

	option = {
		name = sov_economic.34.b
		log = "[GetDateText]: [This.GetName]: sov_economic.34.b executed"
		set_temp_variable = { percent_change = -3.5 }
		set_temp_variable = { tag_index = SOV }
		set_temp_variable = { influence_target = PMR }
		change_influence_percentage = yes
		SOV = { country_event = sov_economic.36 }
		ai_chance = { base = 10 }
	}
}

#Buy GRES Moldovan Agree
country_event = {
	id = sov_economic.35
	title = sov_economic.35.t
	desc = sov_economic.35.d
	picture = GFX_sov_interrao_cap
	is_triggered_only = yes

	option = {
		name = sov_economic.35.a
		log = "[GetDateText]: [This.GetName]: sov_economic.35.a executed"
		set_temp_variable = { percent_change = 1 }
		set_temp_variable = { influence_target = PMR }
		change_influence_percentage = yes
		set_temp_variable = { treasury_change = -5.00 }
		modify_treasury_effect = yes
	}
}
#Buy GRES Moldovan Disagree
country_event = {
	id = sov_economic.36
	title = sov_economic.36.t
	desc = sov_economic.36.d
	picture = GFX_sov_interrao_cap
	is_triggered_only = yes

	option = {
		name = sov_economic.36.a
		log = "[GetDateText]: [This.GetName]: sov_economic.36.a executed"
		set_temp_variable = { percent_change = -1.5 }
		set_temp_variable = { influence_target = PMR }
		change_influence_percentage = yes
	}
}

#Free Gas from Russia
country_event = {
	id = sov_economic.37
	title = sov_economic.37.t
	desc = sov_economic.37.d
	picture = GFX_sov_gazprom_cap
	is_triggered_only = yes

	option = {
		name = sov_economic.37.a
		log = "[GetDateText]: [This.GetName]: sov_economic.37.a executed"
		add_ideas = PMR_gazprom_gaz
		set_temp_variable = { percent_change = 4.5 }
		set_temp_variable = { tag_index = SOV }
		set_temp_variable = { influence_target = PMR }
		change_influence_percentage = yes
		SOV = { country_event = sov_economic.38 }
		ai_chance = { base = 90 }
	}

	option = {
		name = sov_economic.37.b
		log = "[GetDateText]: [This.GetName]: sov_economic.37.b executed"
		set_temp_variable = { percent_change = -5.5 }
		set_temp_variable = { tag_index = SOV }
		set_temp_variable = { influence_target = PMR }
		change_influence_percentage = yes
		SOV = { country_event = sov_economic.39 }
		ai_chance = { base = 10 }
	}
}

#Free Gas from Russia Agree
country_event = {
	id = sov_economic.38
	title = sov_economic.38.t
	desc = sov_economic.38.d
	picture = GFX_sov_gazprom_cap
	is_triggered_only = yes

	option = {
		name = sov_economic.38.a
		log = "[GetDateText]: [This.GetName]: sov_economic.38.a executed"
		set_temp_variable = { percent_change = 1.5 }
		set_temp_variable = { influence_target = PMR }
		change_influence_percentage = yes
	}
}
#Free Gas from Russia Disagree
country_event = {
	id = sov_economic.39
	title = sov_economic.39.t
	desc = sov_economic.39.d
	picture = GFX_sov_gazprom_cap
	is_triggered_only = yes

	option = {
		name = sov_economic.39.a
		log = "[GetDateText]: [This.GetName]: sov_economic.39.a executed"
		set_temp_variable = { percent_change = -2.5 }
		set_temp_variable = { influence_target = PMR }
		change_influence_percentage = yes
	}
}

#Choose VK future
country_event = {
	id = sov_economic.40
	title = sov_economic.40.t
	desc = sov_economic.40.d
	picture = GFX_sov_vk_cap
	is_triggered_only = yes

	option = {
		name = sov_economic.40.a
		log = "[GetDateText]: [This.GetName]: sov_economic.40.a executed"
		add_ideas = SOV_vk_durov_idea
	}

	option = {
		name = sov_economic.40.b
		log = "[GetDateText]: [This.GetName]: sov_economic.40.b executed"
		add_ideas = SOV_vk_idea
	}
}

## NPP Failed
country_event = {
	id = sov_economic.41
	title = sov_economic.41.t
	desc = sov_economic.41.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = sov_economic.41.o1
		log = "[GetDateText]: [This.GetName]: sov_economic.41.o1 executed"
		increase_corruption = yes
		add_stability = 0.03
	}

	option = {
		name = sov_economic.41.o2
		log = "[GetDateText]: [This.GetName]: sov_economic.41.o2 executed"
		add_political_power = -200
		add_stability = -0.05
		set_temp_variable = { party_popularity_increase = -0.15 }
		change_relative_party_popularity = yes
	}
}

country_event = {
	id = sov_economic.42
	title = sov_economic.42.t
	desc = sov_economic.42.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = sov_economic.42.o1
		log = "[GetDateText]: [This.GetName]: sov_economic.42.o1 executed"
		add_political_power = 200
		set_temp_variable = { party_popularity_increase = 0.15 }
		change_relative_party_popularity = yes
	}
}

#MTS
country_event = {
	id = sov_economic.43
	title = sov_economic.43.t
	desc = sov_economic.43.d
	picture = GFX_sov_mts_cap
	is_triggered_only = yes

	option = {
		name = sov_economic.43.a
		log = "[GetDateText]: [This.GetName]: sov_economic.43.a executed"
		SOV = {
			set_temp_variable = { SOV_modify_capitalisation_mts = 0.25 }
			SOV_modify_capitalisation_mts_support = yes
		}
	}
}
#Gazprom
country_event = {
	id = sov_economic.44
	title = sov_economic.44.t
	desc = sov_economic.44.d
	picture = GFX_sov_gazprom_cap
	is_triggered_only = yes

	option = {
		name = sov_economic.44.a
		log = "[GetDateText]: [This.GetName]: sov_economic.44.a executed"
		SOV = {
			set_temp_variable = { SOV_modify_capitalisation_gazprom = 0.055 }
			SOV_modify_capitalisation_gazprom_support = yes
		}
	}
}
#VTB
country_event = {
	id = sov_economic.45
	title = sov_economic.45.t
	desc = sov_economic.45.d
	picture = GFX_sov_vtb_cap
	is_triggered_only = yes

	option = {
		name = sov_economic.45.a
		log = "[GetDateText]: [This.GetName]: sov_economic.45.a executed"
		SOV = {
			set_temp_variable = { SOV_modify_capitalisation_vtb = 0.035 }
			SOV_modify_capitalisation_vtb_support = yes
			country_event = sov_economic.45
		}
	}
}
#Rosneft
country_event = {
	id = sov_economic.46
	title = sov_economic.46.t
	desc = sov_economic.46.d
	picture = GFX_sov_rosneft_cap
	is_triggered_only = yes

	option = {
		name = sov_economic.46.a
		log = "[GetDateText]: [This.GetName]: sov_economic.46.a executed"
		SOV = {
			set_temp_variable = { SOV_modify_capitalisation_rosneft = 0.051 }
			SOV_modify_capitalisation_rosneft_support = yes
		}
	}
}
#Alrosa
country_event = {
	id = sov_economic.47
	title = sov_economic.47.t
	desc = sov_economic.47.d
	picture = GFX_sov_alrosa_cap
	is_triggered_only = yes

	option = {
		name = sov_economic.47.a
		log = "[GetDateText]: [This.GetName]: sov_economic.47.a executed"
		SOV = {
			set_temp_variable = { SOV_modify_capitalisation_alrosa = 0.035 }
			SOV_modify_capitalisation_alrosa_support = yes
		}
	}
}

#LIBERALS
#Yavlinskiy Stuff
country_event = {
	id = sov_liberals.1
	title = sov_liberals.1.t
	desc = sov_liberals.1.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = sov_liberals.1.o1
		log = "[GetDateText]: [This.GetName]: sov_liberals.1.o1 executed"
		add_political_power = 100
		set_temp_variable = { party_popularity_increase = 0.12 }
		change_relative_party_popularity = yes
		set_country_flag = SOV_reforms_done
	}
}
country_event = {
	id = sov_liberals.2
	title = sov_liberals.2.t
	desc = sov_liberals.2.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		trigger = { has_country_flag = sov_zug_econ }
		name = sov_liberals.2.o1
		log = "[GetDateText]: [This.GetName]: sov_liberals.2.o1 executed"
		add_political_power = -100
		add_timed_idea = {
			idea = SOV_new_broken_economy
			days = 730
		}
		set_country_flag = SOV_reforms_failed
	}

	option = {
		trigger = { has_country_flag = sov_zir_econ }
		name = sov_liberals.2.o2
		log = "[GetDateText]: [This.GetName]: sov_liberals.2.o2 executed"
		add_political_power = -100
		add_timed_idea = {
			idea = SOV_new_broken_economy_1
			days = 730
		}
		set_country_flag = SOV_reforms_failed
	}

	option = {
		trigger = {
			NOT = { OR = { has_country_flag = sov_zug_econ has_country_flag = sov_zir_econ } }
		}
		name = sov_liberals.2.o3
		log = "[GetDateText]: [This.GetName]: sov_liberals.2.o3 executed"
		add_political_power = -100
		add_timed_idea = {
			idea = SOV_new_broken_economy_2
			days = 730
		}
		set_country_flag = SOV_reforms_failed
	}
}
#Great Democratic Referendum
country_event = {
	id = sov_liberals.3
	title = sov_liberals.3.t
	desc = sov_liberals.3.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = sov_liberals.3.o1
		log = "[GetDateText]: [This.GetName]: sov_liberals.3.o1 executed"
		SOV_great_democratic_referedum_effect = yes
	}
}
#Free Independent Alliance - Subjects
country_event = {
	id = sov_liberals.4
	title = sov_liberals.4.t
	desc = sov_liberals.4.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = {
		name = sov_liberals.4.a
		log = "[GetDateText]: [This.GetName]: sov_liberals.4.a"
		SOV = { country_event = { id = sov_liberals.5 days = 1 } }
		set_country_flag = SOV_accepted_alliance
		ai_chance = {
			base = 1
			modifier = {
				has_opinion = { target = SOV value > 30 }
				add = 50
			}
			modifier = {
				has_government = democratic
				add = 50
			}
		}
	}

	option = {
		name = sov_liberals.4.b
		log = "[GetDateText]: [This.GetName]: sov_liberals.4.b"
		SOV = { country_event = { id = sov_liberals.6 days = 1 } }
		ai_chance = {
			base = 1
			modifier = {
				has_government = nationalist
				add = 50
			}
			modifier = {
				has_opinion = { target = SOV value < 30 }
				add = 50
			}
			modifier = {
				has_war_with = SOV
				add = 99
			}
		}
	}
}
#Free Independent Alliance- Accept
country_event = {
	id = sov_liberals.5
	title = sov_liberals.5.t
	desc = sov_liberals.5.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = {
		name = sov_liberals.5.a
		ai_chance = { base = 1 }
	}
}
#Free Independent Alliance - Decline
country_event = {
	id = sov_liberals.6
	title = sov_liberals.6.t
	desc = sov_liberals.6.d
	picture = GFX_treaty_rejected
	is_triggered_only = yes

	option = {
		name = sov_liberals.6.a
		ai_chance = { base = 5 }
	}

	option = {
		name = sov_liberals.6.b
		log = "[GetDateText]: [This.GetName]: sov_liberals.6.b"
		set_temp_variable = { wargoal_on = FROM }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			type = puppet_wargoal_focus
			target = FROM
		}
		ai_chance = { base = 1 }
	}
}
#Free Independent Alliance - Europe
country_event = {
	id = sov_liberals.7
	title = sov_liberals.7.t
	desc = sov_liberals.7.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = {
		name = sov_liberals.7.a
		log = "[GetDateText]: [This.GetName]: sov_liberals.7.a"
		SOV = { country_event = { id = sov_liberals.5 days = 1 } }
		set_country_flag = SOV_accepted_alliance
		ai_chance = {
			base = 1
			modifier = {
				has_opinion = { target = SOV value > 30 }
				add = 50
			}
			modifier = {
				has_government = democratic
				add = 50
			}
		}
	}

	option = {
		name = sov_liberals.7.b
		log = "[GetDateText]: [This.GetName]: sov_liberals.7.b"
		SOV = { country_event = { id = sov_liberals.6 days = 1 } }
		ai_chance = {
			base = 1
			modifier = {
				has_government = nationalist
				add = 50
			}
			modifier = {
				has_opinion = { target = SOV value < 30 }
				add = 50
			}
			modifier = {
				has_war_with = SOV
				add = 99
			}
		}
	}
}
#Free Independent Alliance - Baltic States
country_event = {
	id = sov_liberals.8
	title = sov_liberals.8.t
	desc = sov_liberals.8.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = {
		name = sov_liberals.8.a
		log = "[GetDateText]: [This.GetName]: sov_liberals.8.a"
		SOV = { country_event = { id = sov_liberals.5 days = 1 } }
		set_country_flag = SOV_accepted_alliance
		ai_chance = {
			base = 1
			modifier = {
				has_opinion = { target = SOV value > 30 }
				add = 50
			}
			modifier = {
				has_government = democratic
				add = 50
			}
		}
	}

	option = {
		name = sov_liberals.8.b
		log = "[GetDateText]: [This.GetName]: sov_liberals.8.b"
		SOV = { country_event = { id = sov_liberals.6 days = 1 } }
		ai_chance = {
			base = 1
			modifier = {
				has_government = nationalist
				add = 50
			}
			modifier = {
				has_opinion = { target = SOV value < 30 }
				add = 50
			}
			modifier = {
				has_war_with = SOV
				add = 99
			}
		}
	}
}
#Free Independent Alliance - Caucasus
country_event = {
	id = sov_liberals.9
	title = sov_liberals.9.t
	desc = sov_liberals.9.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = {
		name = sov_liberals.9.a
		log = "[GetDateText]: [This.GetName]: sov_liberals.9.a"
		SOV = { country_event = { id = sov_liberals.5 days = 1 } }
		set_country_flag = SOV_accepted_alliance
		ai_chance = {
			base = 1
			modifier = {
				has_opinion = { target = SOV value > 30 }
				add = 50
			}
			modifier = {
				has_government = democratic
				add = 50
			}
		}
	}

	option = {
		name = sov_liberals.9.b
		log = "[GetDateText]: [This.GetName]: sov_liberals.9.b"
		SOV = { country_event = { id = sov_liberals.6 days = 1 } }
		ai_chance = {
			base = 1
			modifier = {
				has_government = nationalist
				add = 50
			}
			modifier = {
				has_opinion = { target = SOV value < 30 }
				add = 50
			}
			modifier = {
				has_war_with = SOV
				add = 99
			}
		}
	}
}
#Free Independent Alliance - Central Asia
country_event = {
	id = sov_liberals.10
	title = sov_liberals.10.t
	desc = sov_liberals.10.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = {
		name = sov_liberals.10.a
		log = "[GetDateText]: [This.GetName]: sov_liberals.10.a"
		SOV = { country_event = { id = sov_liberals.5 days = 1 } }
		set_country_flag = SOV_accepted_alliance
		ai_chance = {
			base = 1
			modifier = {
				has_opinion = { target = SOV value > 30 }
				add = 50
			}
			modifier = {
				has_government = democratic
				add = 50
			}
		}
	}

	option = {
		name = sov_liberals.10.b
		log = "[GetDateText]: [This.GetName]: sov_liberals.10.b"
		SOV = { country_event = { id = sov_liberals.6 days = 1 } }
		ai_chance = {
			base = 1
			modifier = {
				has_government = nationalist
				add = 50
			}
			modifier = {
				has_opinion = { target = SOV value < 30 }
				add = 50
			}
			modifier = {
				has_war_with = SOV
				add = 99
			}
		}
	}
}

#CIS - Invite
country_event = {
	id = sov_liberals.11
	title = sov_liberals.11.t
	desc = sov_liberals.11.d
	picture = GFX_ukr_cis
	is_triggered_only = yes

	option = {
		name = sov_liberals.11.a
		log = "[GetDateText]: [This.GetName]: sov_liberals.11.a"
		SOV = { country_event = { id = sov_liberals.12 days = 1 } }
		add_ideas = CIS_member_state_idea
		hidden_effect = {
			add_ideas = CIS_united_anti_air_idea
			add_ideas = CIS_anti_terror_idea
			add_ideas = CIS_bank_idea
			add_ideas = CIS_council_leaders_idea
		}
		ai_chance = {
			base = 1
			modifier = {
				has_opinion = { target = SOV value > 30 }
				add = 50
			}
			modifier = {
				has_government = democratic
				add = 50
			}
			modifier = {
				OR = {
					original_tag = PMR
					original_tag = ABK
					original_tag = SOO
				}
				add = 100
			}
		}
	}

	option = {
		name = sov_liberals.11.b
		log = "[GetDateText]: [This.GetName]: sov_liberals.11.b"
		SOV = { country_event = { id = sov_liberals.13 days = 1 } }
		ai_chance = {
			base = 1
			modifier = {
				has_government = nationalist
				add = 50
			}
			modifier = {
				has_opinion = { target = SOV value < 30 }
				add = 50
			}
			modifier = {
				has_war_with = SOV
				add = 99
			}
		}
	}
}
#CIS - Invite Accept
country_event = {
	id = sov_liberals.12
	title = sov_liberals.12.t
	desc = sov_liberals.12.d
	picture = GFX_ukr_cis
	is_triggered_only = yes

	option = { name = sov_liberals.12.a }
}
#CIS - Invite Decline
country_event = {
	id = sov_liberals.13
	title = sov_liberals.13.t
	desc = sov_liberals.13.d
	picture = GFX_ukr_cis
	is_triggered_only = yes

	option = { name = sov_liberals.13.a }
}

#CIS - Unite State
country_event = {
	id = sov_liberals.14
	title = sov_liberals.14.t
	desc = sov_liberals.14.d
	picture = GFX_ukr_cis
	is_triggered_only = yes

	option = {
		name = sov_liberals.14.a
		log = "[GetDateText]: [This.GetName]: sov_liberals.14.a"
		SOV = { country_event = { id = sov_liberals.15 days = 1 } }
		hidden_effect = {
			set_country_flag = CIS_subject_agree
			add_ideas = CIS_confederation_member_idea
			SOV = {
				set_autonomy = {
					target = ROOT
					autonomy_state = autonomy_state_cis
				}
			}
		}
		ai_chance = {
			base = 1
			modifier = {
				has_opinion = { target = SOV value > 30 }
				add = 50
			}
			modifier = {
				has_government = democratic
				add = 50
			}
			modifier = {
				add = 30
				is_influencer = yes
			}
			modifier = {
				add = 30
				is_top3_influencer = yes
			}
			modifier = {
				add = 30
				is_top_eighty_influencer = yes
			}
			modifier = {
				OR = {
					original_tag = PMR
					original_tag = ABK
					original_tag = SOO
				}
				add = 100
			}
		}
	}

	option = {
		name = sov_liberals.14.b
		log = "[GetDateText]: [This.GetName]: sov_liberals.14.b"
		SOV = { country_event = { id = sov_liberals.16 days = 1 } }
		remove_ideas = CIS_member_state_idea
		ai_chance = {
			base = 1
			modifier = {
				has_government = nationalist
				add = 50
			}
			modifier = {
				has_government = neutrality
				add = 50
			}
			modifier = {
				has_opinion = { target = SOV value < 30 }
				add = 50
			}
			modifier = {
				has_war_with = SOV
				add = 99
			}
		}
	}
}

#CIS - Unite State Accept
country_event = {
	id = sov_liberals.15
	title = sov_liberals.15.t
	desc = sov_liberals.15.d
	picture = GFX_ukr_cis
	is_triggered_only = yes

	option = { name = sov_liberals.15.a }
}
#CIS - Unite State Decline
country_event = {
	id = sov_liberals.16
	title = sov_liberals.16.t
	desc = sov_liberals.16.d
	picture = GFX_ukr_cis
	is_triggered_only = yes

	option = { name = sov_liberals.16.a }
}

#CIS - Unite Arms Forces
country_event = {
	id = sov_liberals.17
	title = sov_liberals.17.t
	desc = sov_liberals.17.d
	picture = GFX_ukr_cis
	is_triggered_only = yes

	option = {
		name = sov_liberals.17.a
		log = "[GetDateText]: [This.GetName]: sov_liberals.17.a"
		SOV = { country_event = { id = sov_liberals.18 days = 1 } }
		SUB_subjects_integrate_army_of_russia = yes
		ai_chance = { base = 99 }
	}

	option = {
		name = sov_liberals.17.b
		log = "[GetDateText]: [This.GetName]: sov_liberals.17.b"
		SOV = { country_event = { id = sov_liberals.19 days = 1 } }
		ai_chance = { base = 1 }
	}
}

#CIS - Unite Arms Forces Accept
country_event = {
	id = sov_liberals.18
	title = sov_liberals.18.t
	desc = sov_liberals.18.d
	picture = GFX_ukr_cis
	is_triggered_only = yes

	option = { name = sov_liberals.18.a }
}
#CIS - Unite Arms Forces Decline
country_event = {
	id = sov_liberals.19
	title = sov_liberals.19.t
	desc = sov_liberals.19.d
	picture = GFX_ukr_cis
	is_triggered_only = yes

	option = { name = sov_liberals.19.a }
}

#CIS - Leave Bad
country_event = {
	id = sov_liberals.21
	title = sov_liberals.21.t
	desc = sov_liberals.21.d
	picture = GFX_ukr_cis
	is_triggered_only = yes

	option = { name = sov_liberals.21.a }
}

#Russia Request Invest in Kaliningrad
country_event = {
	id = sov_liberals.22
	title = sov_liberals.22.t
	desc = sov_liberals.22.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = {
		name = sov_liberals.22.a
		log = "[GetDateText]: [This.GetName]: sov_liberals.22.a"
		SOV = {
			country_event = { id = sov_liberals.23 days = 1 }
		}
		set_temp_variable = { percent_change = 1 }
		set_temp_variable = { tag_index = ROOT }
		set_temp_variable = { influence_target = SOV }
		change_influence_percentage = yes
		set_temp_variable = { treasury_change = -6 }
		modify_treasury_effect = yes
		hidden_effect = {
			SOV = {
				add_to_variable = {
					var = kaliningrad_invest
					value = 1
				}
			}
		}
		ai_chance = {
			base = 50
			modifier = {
				has_government = democratic
				factor = 20
			}
		}
	}

	option = {
		name = sov_liberals.22.b
		log = "[GetDateText]: [This.GetName]: sov_liberals.22.b"
		SOV = {
			country_event = { id = sov_liberals.24 days = 1 }
		}
		ai_chance = { base = 50 }
	}
}

#Russia Request Invest in Kaliningrad - Accept
country_event = {
	id = sov_liberals.23
	title = sov_liberals.23.t
	desc = sov_liberals.23.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = {
		name = sov_liberals.23.a
		log = "[GetDateText]: [This.GetName]: sov_liberals.23.a"
		set_temp_variable = { percent_change = 1 }
		set_temp_variable = { tag_index = FROM }
		set_temp_variable = { influence_target = SOV }
		change_influence_percentage = yes
	}
}

#Russia Request Invest in Kaliningrad - Decline
country_event = {
	id = sov_liberals.24
	title = sov_liberals.24.t
	desc = sov_liberals.24.d
	picture = GFX_treaty_rejected
	is_triggered_only = yes

	option = { name = sov_liberals.24.a }
}

#Russia Request Invest in Kaliningrad - Finish
country_event = {
	id = sov_liberals.25
	title = sov_liberals.25.t
	desc = sov_liberals.25.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = {
		name = sov_liberals.25.a
		log = "[GetDateText]: [This.GetName]: sov_liberals.25.a"
		set_temp_variable = { SOV_modify_economic = 1 }
		SOV_modify_economic_support = yes
		if = {
			limit = { check_variable = { kaliningrad_invest < 2 } }
			642 = { add_extra_state_shared_building_slots = 1 }
		}
		else_if = {
			limit = { check_variable = { kaliningrad_invest > 2 } }
			642 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = offices
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = fossil_powerplant
					level = 1
					instant_build = yes
				}
			}
		}
		else_if = {
			limit = {
				check_variable = { kaliningrad_invest > 4 }
				check_variable = { kaliningrad_invest < 3 }
			}
			642 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = offices
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = fossil_powerplant
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
}

#Russia Invest in Far East - Second Stage
country_event = {
	id = sov_liberals.26
	title = sov_liberals.26.t
	desc = sov_liberals.26.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	option = {
		name = sov_liberals.26.a
		log = "[GetDateText]: [This.GetName]: sov_liberals.26.a"
		set_temp_variable = { SOV_modify_economic = 1 }
		SOV_modify_economic_support = yes
		if = {
			limit = { owns_state = 691 }
			691 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			set_temp_variable = { treasury_change = -7.5 }
			modify_treasury_effect = yes
		}
		if = {
			limit = { owns_state = 1069 }
			1069 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			set_temp_variable = { treasury_change = -7.5 }
			modify_treasury_effect = yes
		}
		if = {
			limit = { owns_state = 1136 }
			1136 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			set_temp_variable = { treasury_change = -7.5 }
			modify_treasury_effect = yes
		}
		if = {
			limit = { owns_state = 1137 }
			1137 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			set_temp_variable = { treasury_change = -7.5 }
			modify_treasury_effect = yes
		}
	}
}

country_event = {
	id = sov_liberals.27
	title = sov_liberals.27.t
	desc = sov_liberals.27.d
	picture = GFX_ssg_geo
	is_triggered_only = yes

	option = {
		name = sov_liberals.27.a
		log = "[GetDateText]: [This.GetName]: sov_liberals.27.a"
		set_temp_variable = { wargoal_on = GEO }
		set_temp_variable = { wargoal_type = 2 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			target = GEO
			type = annex_everything
		}
		hidden_effect = { set_country_flag = georgia_broken_relations }
		ai_chance = { base = 70 }
	}

	option = {
		name = sov_liberals.27.b
		log = "[GetDateText]: [This.GetName]: sov_liberals.27.b"
			set_temp_variable = { percent_change = 4 }
			set_temp_variable = { influence_target = GEO }
			change_influence_percentage = yes
			GEO = { add_opinion_modifier = { target = SOV modifier = has_expressed_loyalty } }
			add_opinion_modifier = { target = GEO modifier = has_expressed_loyalty }
		ai_chance = { base = 30 }
	}
}

country_event = {
	id = sov_liberals.28
	title = sov_liberals.28.t
	desc = sov_liberals.28.d
	picture = GFX_fbk_gotcha
	is_triggered_only = yes

	option = {
		name = sov_liberals.28.a
		log = "[GetDateText]: [This.GetName]: sov_liberals.28.a"
		add_stability = 0.05
		decrease_corruption = yes
		decrease_corruption = yes
		add_political_power = -100
		set_temp_variable = { treasury_change = -10 }
		modify_treasury_effect = yes
		ai_chance = { base = 50 }
	}
}

#Nemtsov death
country_event = {
	id = sov_liberals.29
	title = sov_liberals.29.t
	desc = sov_liberals.29.d
	picture = GFX_nemtsov_killers
	is_triggered_only = yes

	trigger = {
		OR = {
			emerging_reactionaries_are_in_power = yes
			neutrality_neutral_oligarch_are_in_power = yes
		}
	}

	option = {
		name = sov_liberals.29.a
		ai_chance = {
			base = 25
			modifier = {
				is_historical_focus_on = yes
				add = 5
			}
		}
		log = "[GetDateText]: [This.GetName]: sov_liberals.29.a executed"
		hidden_effect = {
			add_political_power = 50
			add_popularity = {
				ideology = democratic
				popularity = -0.05
			}
			set_country_flag = nemtsov_dead
		}
	}
}

country_event = {
	id = sov_liberals.30
	title = sov_liberals.30.t
	desc = sov_liberals.30.d
	picture = GFX_putin_and_yeltsin
	is_triggered_only = yes

	trigger = { tag = SOV }

	option = { name = sov_liberals.30.a }
}

country_event = {
	id = sov_liberals.31
	title = sov_liberals.31.t
	desc = sov_liberals.31.d
	picture = GFX_putin_and_yeltsin
	is_triggered_only = yes

	option = {
		name = sov_liberals.31.a
		trigger = {
			OR = {
				western_liberals_are_in_power = yes
				western_conservatism_are_in_power = yes
				western_social_democrats_are_in_power = yes
			}
		}
	}

	option = {
		name = sov_liberals.31.b
		trigger = {
			NOT = {
				OR = {
					western_liberals_are_in_power = yes
					western_conservatism_are_in_power = yes
					western_social_democrats_are_in_power = yes
				}
			}
		}
	}
}

#Great Democratic Referendum News
news_event = {
	id = sov_liberals_news.1
	title = sov_liberals_news.1.t
	desc = sov_liberals_news.1.d
	picture = GFX_event_news_SOV_democratic_referendum
	is_triggered_only = yes
	major = yes

	option = { name = sov_liberals_news.1.a }
}

country_event = {
	id = sov_nazbol.1
	title = sov_nazbol.1.t
	desc = sov_nazbol.1.d
	picture = GFX_sov_nazbolls
	is_triggered_only = yes

	option = {
		name = sov_nazbol.1.a
		log = "[GetDateText]: [This.GetName]: sov_nazbol.1.a executed"
		ai_chance = { base = 100 }
		ROOT = { every_owned_state = { add_core_of = SOV } }
		SOV = {
			country_event = sov_nazbol.2
			add_to_variable = { treasury = ROOT.treasury }
			add_to_variable = { debt = ROOT.debt }
			add_to_variable = { int_investments = ROOT.int_investments }
			annex_country = { target = ROOT transfer_troops = yes }
		}
	}

	option = {
		name = sov_nazbol.1.b
		log = "[GetDateText]: [This.GetName]: sov_nazbol.1.b executed"
		ai_chance = { base = 0 }
		SOV = {
			set_temp_variable = { wargoal_on = ROOT }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				type = puppet_wargoal_focus
				target = ROOT
			}
			add_opinion_modifier = { target = ROOT modifier = betrayed_our_cause }
		}
	}
}

country_event = {
	id = sov_nazbol.2
	title = sov_nazbol.2.t
	desc = sov_nazbol.2.d
	picture = GFX_sov_nazbolls
	is_triggered_only = yes

	option = { name = sov_nazbol.2.a }
}

country_event = {
	id = sov_nazbol.3
	title = sov_nazbol.3.t
	desc = sov_nazbol.3.d
	picture = GFX_sov_nazbolls
	is_triggered_only = yes

	option = {
		name = sov_nazbol.3.a
		log = "[GetDateText]: [This.GetName]: sov_nazbol.3.a executed"
		ai_chance = {
			base = 50
			modifier = {
				is_subject_of = SOV
				add = 50
			}
		}
		if = {
			limit = {
				tag = UKR
				UKR = { owns_state = 669 }
			}
			transfer_state = 669
			669 = { add_core_of = SOV }
		}
		if = {
			limit = {
				tag = UKR
				UKR = { owns_state = 696 }
			}
			transfer_state = 696
			696 = { add_core_of = SOV }
		}
		if = {
			limit = {
				tag = LAT
				LAT = { owns_state = 1013 }
			}
			transfer_state = 1013
			1013 = { add_core_of = SOV }
		}
		if = {
			limit = {
				tag = KAZ
				KAZ = { owns_state = 714 }
			}
			transfer_state = 714
			714 = { add_core_of = SOV }
		}
		if = {
			limit = {
				tag = KAZ
				KAZ = { owns_state = 715 }
			}
			transfer_state = 715
			715 = { add_core_of = SOV }
		}
	}

	option = {
		name = sov_nazbol.3.b
		log = "[GetDateText]: [This.GetName]: sov_nazbol.3.b executed"
		ai_chance = {
			base = 50
			modifier = {
				is_subject_of = SOV
				add = -50
			}
		}
		SOV = {
			set_temp_variable = { wargoal_on = ROOT }
			add_threat_from_wargoal_effect = yes
			create_wargoal = {
				type = puppet_wargoal_focus
				target = ROOT
			}
			add_opinion_modifier = { target = ROOT modifier = betrayed_our_cause }
		}
	}
}

country_event = {
	id = sov_nazbol.4
	title = sov_nazbol.4.t
	desc = sov_nazbol.4.d
	picture = GFX_nazbols_rally
	is_triggered_only = yes

	trigger = { tag = SOV }

	option = { name = sov_nazbol.4.a }
}

#GRU start
country_event = {
	id = sov_gru.1
	title = sov_gru.1.t
	desc = sov_gru.1.d
	picture = GFX_sov_gru_event
	is_triggered_only = yes

	option = {
		name = sov_gru.1.a
		log = "[GetDateText]: [This.GetName]: sov_gru.1.a executed"
		add_ideas = SOV_gru_foreign
		set_temp_variable = { percent_change = 4 }
		set_temp_variable = { tag_index = SOV }
		set_temp_variable = { influence_target = ROOT }
		change_influence_percentage = yes
		SOV = { country_event = sov_gru.2 }
		custom_effect_tooltip = SOV_decision_gru_brigade_tt
		hidden_effect = {
			division_template = {
				name = "GRU Brigade"
				is_locked = yes
				regiments = {
					Special_Forces = { x = 0 y = 0 }
					Special_Forces = { x = 0 y = 1 }
				}
				support = {
					L_Engi_Comp = { x = 0 y = 0 }
					L_Recce_Comp = { x = 0 y = 0 }
				}
				priority = 2
			}
			capital_scope = {
				create_unit = {
					division = "name = \"[Russia] 2nd Guards Spetsnaz Brigade\" division_template = \"GRU Brigade\" start_experience_factor = 1.0"
					count = 1
					owner = ROOT
				}
				create_unit = {
					division = "name = \"[Russia] 14th Spetsnaz Brigade\" division_template = \"GRU Brigade\" start_experience_factor = 1.0"
					count = 1
					owner = ROOT
				}
				create_unit = {
					division = "name = \"[Russia] 16th Guards Spetsnaz Brigade\" division_template = \"GRU Brigade\" start_experience_factor = 1.0"
					count = 1
					owner = ROOT
				}
			}
		}
		ai_chance = { base = 100 }
	}

	option = {
		name = sov_gru.1.b
		log = "[GetDateText]: [This.GetName]: sov_gru.1.b executed"
		SOV = { country_event = sov_gru.3 }
		ai_chance = { base = 0 }
	}
}

#GRU accept
country_event = {
	id = sov_gru.2
	title = sov_gru.2.t
	desc = sov_gru.2.d
	picture = GFX_sov_gru_event
	is_triggered_only = yes

	option = {
		name = sov_gru.2.a
		log = "[GetDateText]: [This.GetName]: sov_gru.2.a executed"
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SOV_intelligence_modifier }
		subtract_from_variable = { SOV_intel_decryption_factor = 0.07 tooltip = decryption_factor_tt }
		subtract_from_variable = { SOV_intel_police_cost_multiplier_modifier = 0.06 tooltip = police_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SOV_landforce_modifier }
		subtract_from_variable = { SOV_land_send_volunteers_tension = -0.08 tooltip = send_volunteers_tension_tt }
		subtract_from_variable = { SOV_land_special_forces_training_time_factor = -0.05 tooltip = special_forces_training_time_factor_tt }
	}
}
#GRU Decline
country_event = {
	id = sov_gru.3
	title = sov_gru.3.t
	desc = sov_gru.3.d
	picture = GFX_sov_gru_event
	is_triggered_only = yes

	option = {
		name = sov_gru.3.a
		log = "[GetDateText]: [This.GetName]: sov_gru.3.a executed"
		clr_country_flag = SOV_gru_active
	}
}
#GRU Go Home
country_event = {
	id = sov_gru.4
	title = sov_gru.4.t
	desc = sov_gru.4.d
	picture = GFX_sov_gru_event
	is_triggered_only = yes

	option = {
		name = sov_gru.4.a
		log = "[GetDateText]: [This.GetName]: sov_gru.4.a executed"
		clr_country_flag = SOV_gru_active
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SOV_intelligence_modifier }
		add_to_variable = { SOV_intel_decryption_factor = 0.07 tooltip = decryption_factor_tt }
		add_to_variable = { SOV_intel_police_cost_multiplier_modifier = 0.06 tooltip = police_cost_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = SOV_landforce_modifier }
		add_to_variable = { SOV_land_send_volunteers_tension = -0.08 tooltip = send_volunteers_tension_tt }
		add_to_variable = { SOV_land_special_forces_training_time_factor = -0.05 tooltip = special_forces_training_time_factor_tt }
	}
}

#Create Centre E
country_event = {
	id = sov_gru.5
	title = sov_gru.5.t
	desc = sov_gru.5.d
	picture = GFX_sov_gru_event
	is_triggered_only = yes

	option = {
		name = sov_gru.5.a
		log = "[GetDateText]: [This.GetName]: sov_gru.5.a executed"
		add_ideas = SOV_centr_e_idea
	}
}

#Wagner goes to Standart or help GRU
country_event = {
	id = sov_gru.6
	title = sov_gru.6.t
	desc = sov_gru.6.d
	picture = GFX_wagner_events
	is_triggered_only = yes

	option = {
		name = sov_gru.6.a
		log = "[GetDateText]: [This.GetName]: sov_gru.6.a executed"
		add_ideas = SOV_wagner_foreign
		set_temp_variable = { percent_change = 4 }
		set_temp_variable = { tag_index = SOV }
		set_temp_variable = { influence_target = ROOT }
		change_influence_percentage = yes
		SOV = { country_event = sov_gru.7 }
		custom_effect_tooltip = SOV_decision_gru_brigade_tt
		hidden_effect = {
			division_template = {
				name = "Wagner Light Unit"
				is_locked = yes
				regiments = {
					L_Inf_Bat = { x = 0 y = 0 }
					L_Inf_Bat = { x = 0 y = 1 }
					L_Inf_Bat = { x = 0 y = 2 }
					L_Inf_Bat = { x = 0 y = 3 }
					Arty_Bat = { x = 0 y = 4 }
					L_Inf_Bat = { x = 1 y = 0 }
					L_Inf_Bat = { x = 1 y = 1 }
					L_Inf_Bat = { x = 1 y = 2 }
					L_Inf_Bat = { x = 1 y = 3 }
					Arty_Bat = { x = 1 y = 4 }
				}
				support = {
					L_Recce_Comp = { x = 0 y = 0 }
					L_Engi_Comp = { x = 0 y = 1 }
				}
				priority = 2
			}
			spawn_light_infantry_wagner = yes
			if = {
				limit = { SOV = { has_completed_focus = SOV_wagner_rusich } }
				division_template = {
					name = "DSHRG Rusich"
					is_locked = yes
					regiments = {
						Special_Forces = { x = 0 y = 0 }
						Special_Forces = { x = 0 y = 1 }
					}
					priority = 2
				}
				capital_scope = {
					create_unit = {
						division = "name = \"[Russia] DSHRG Rusich\" division_template = \"DSHRG Rusich\" start_experience_factor = 1.0"
						count = 1
						owner = ROOT
					}
				}
			}
		}
		ai_chance = { base = 100 }
	}

	option = {
		name = sov_gru.6.b
		log = "[GetDateText]: [This.GetName]: sov_gru.6.b executed"
		SOV = { country_event = sov_gru.8 }
		ai_chance = { base = 0 }
	}
}

#Wagner accept
country_event = {
	id = sov_gru.7
	title = sov_gru.7.t
	desc = sov_gru.7.d
	picture = GFX_wagner_events
	is_triggered_only = yes

	option = {
		name = sov_gru.7.a
		log = "[GetDateText]: [This.GetName]: sov_gru.7.a executed"
		clr_country_flag = SOV_wagner_active
		hidden_effect = { remove_ideas = SOV_wagner }
	}
}
#Wagner Decline
country_event = {
	id = sov_gru.8
	title = sov_gru.8.t
	desc = sov_gru.8.d
	picture = GFX_wagner_events
	is_triggered_only = yes

	option = {
		name = sov_gru.8.a
		log = "[GetDateText]: [This.GetName]: sov_gru.8.a executed"
		clr_country_flag = SOV_wagner_active
	}
}
#Wagner Go Home
country_event = {
	id = sov_gru.9
	title = sov_gru.9.t
	desc = sov_gru.9.d
	picture = GFX_wagner_events
	is_triggered_only = yes

	option = {
		name = sov_gru.9.a
		log = "[GetDateText]: [This.GetName]: sov_gru.9.a executed"
		add_ideas = SOV_wagner
	}
}

#Wagner goes to Africa
country_event = {
	id = sov_gru.10
	title = sov_gru.10.t
	desc = sov_gru.10.d
	picture = GFX_wagner_events
	is_triggered_only = yes

	option = {
		name = sov_gru.10.a
		log = "[GetDateText]: [This.GetName]: sov_gru.10.a executed"
		add_ideas = SOV_wagner_foreign_africa
		set_temp_variable = { percent_change = 4 }
		set_temp_variable = { tag_index = SOV }
		set_temp_variable = { influence_target = ROOT }
		change_influence_percentage = yes
		SOV = { country_event = sov_gru.11 }
		hidden_effect = {
			division_template = {
				name = "Wagner Light Unit"
				is_locked = yes
				regiments = {
					L_Inf_Bat = { x = 0 y = 0 }
					L_Inf_Bat = { x = 0 y = 1 }
					L_Inf_Bat = { x = 0 y = 2 }
					L_Inf_Bat = { x = 0 y = 3 }
					Arty_Bat = { x = 0 y = 4 }
					L_Inf_Bat = { x = 1 y = 0 }
					L_Inf_Bat = { x = 1 y = 1 }
					L_Inf_Bat = { x = 1 y = 2 }
					L_Inf_Bat = { x = 1 y = 3 }
					Arty_Bat = { x = 1 y = 4 }
				}
				support = {
					L_Recce_Comp = { x = 0 y = 0 }
					L_Engi_Comp = { x = 0 y = 1 }
				}
				priority = 2
			}
			spawn_light_infantry_wagner = yes
			if = {
				limit = { SOV = { has_completed_focus = SOV_wagner_rusich } }
				division_template = {
					name = "DSHRG Rusich"
					is_locked = yes
					regiments = {
						Special_Forces = { x = 0 y = 0 }
						Special_Forces = { x = 0 y = 1 }
					}
					priority = 2
				}
				random_owned_controlled_state = {
					limit = { ROOT = { has_full_control_of_state = PREV } }
					prioritize = { 1140 }
					create_unit = {
						division = "name = \"[Russia] DSHRG Rusich\" division_template = \"DSHRG Rusich\" start_experience_factor = 1.0"
						owner = ROOT
					}
				}
			}
		}
		ai_chance = { base = 100 }
	}

	option = {
		name = sov_gru.10.b
		log = "[GetDateText]: [This.GetName]: sov_gru.10.b executed"
		SOV = { country_event = sov_gru.12 }
		ai_chance = { base = 0 }
	}
}

#Wagner accept
country_event = {
	id = sov_gru.11
	title = sov_gru.11.t
	desc = sov_gru.11.d
	picture = GFX_wagner_events
	is_triggered_only = yes

	option = {
		name = sov_gru.11.a
		log = "[GetDateText]: [This.GetName]: sov_gru.11.a executed"
		clr_country_flag = SOV_wagner_active
		hidden_effect = { remove_ideas = SOV_wagner_africa }
	}
}
#Wagner Decline
country_event = {
	id = sov_gru.12
	title = sov_gru.12.t
	desc = sov_gru.12.d
	picture = GFX_wagner_events
	is_triggered_only = yes

	option = {
		name = sov_gru.12.a
		log = "[GetDateText]: [This.GetName]: sov_gru.12.a executed"
		clr_country_flag = SOV_wagner_active
	}
}
#Wagner Go Home
country_event = {
	id = sov_gru.13
	title = sov_gru.13.t
	desc = sov_gru.13.d
	picture = GFX_wagner_events
	is_triggered_only = yes

	option = {
		name = sov_gru.13.a
		log = "[GetDateText]: [This.GetName]: sov_gru.13.a executed"
		add_ideas = SOV_wagner_africa
	}
}

# Rostec consolidates the helicopter industry into JSC Russian Helicopters.
country_event = {
	id = russia.500
	title = russia.500.t
	desc = russia.500.d
	picture = GFX_SOV_russian_helicopters
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = russia.500.a
		log = "[GetDateText]: [This.GetName]: russia.500.a executed"
		set_country_flag = SOV_russian_helicopters_consolidation
		unlock_military_industrial_organization_tooltip = mio:SOV_russian_helicopters_tank_manufacturer
		newline = yes
		custom_effect_tooltip = TT_SOV_russian_helicopters_carry_traits
		hidden_effect = {
			if = {
				limit = { mio:SOV_mil_helicopters_tank_manufacturer = { is_mio_trait_completed = SOV_mil_helicopters_tank_manufacturer_mi_8_heritage } }
				mio:SOV_russian_helicopters_tank_manufacturer = { complete_mio_trait = SOV_mil_helicopters_tank_manufacturer_mi_8_heritage }
			}
			if = {
				limit = { mio:SOV_mil_helicopters_tank_manufacturer = { is_mio_trait_completed = SOV_mil_helicopters_tank_manufacturer_mi_17_hip_h } }
				mio:SOV_russian_helicopters_tank_manufacturer = { complete_mio_trait = SOV_mil_helicopters_tank_manufacturer_mi_17_hip_h }
			}
			if = {
				limit = { mio:SOV_mil_helicopters_tank_manufacturer = { is_mio_trait_completed = SOV_mil_helicopters_tank_manufacturer_mi_171a2_lineage } }
				mio:SOV_russian_helicopters_tank_manufacturer = { complete_mio_trait = SOV_mil_helicopters_tank_manufacturer_mi_171a2_lineage }
			}
			if = {
				limit = { mio:SOV_mil_helicopters_tank_manufacturer = { is_mio_trait_completed = SOV_mil_helicopters_tank_manufacturer_mi_38_replacement } }
				mio:SOV_russian_helicopters_tank_manufacturer = { complete_mio_trait = SOV_mil_helicopters_tank_manufacturer_mi_38_replacement }
			}
			if = {
				limit = { mio:SOV_mil_helicopters_tank_manufacturer = { is_mio_trait_completed = SOV_mil_helicopters_tank_manufacturer_cabin_versatility } }
				mio:SOV_russian_helicopters_tank_manufacturer = { complete_mio_trait = SOV_mil_helicopters_tank_manufacturer_cabin_versatility }
			}
			if = {
				limit = { mio:SOV_mil_helicopters_tank_manufacturer = { is_mio_trait_completed = SOV_mil_helicopters_tank_manufacturer_glass_cockpit } }
				mio:SOV_russian_helicopters_tank_manufacturer = { complete_mio_trait = SOV_mil_helicopters_tank_manufacturer_glass_cockpit }
			}
			if = {
				limit = { mio:SOV_mil_helicopters_tank_manufacturer = { is_mio_trait_completed = SOV_mil_helicopters_tank_manufacturer_kazan_production } }
				mio:SOV_russian_helicopters_tank_manufacturer = { complete_mio_trait = SOV_mil_helicopters_tank_manufacturer_kazan_production }
			}
			if = {
				limit = { mio:SOV_mil_helicopters_tank_manufacturer = { is_mio_trait_completed = SOV_mil_helicopters_tank_manufacturer_vk_2500_engines } }
				mio:SOV_russian_helicopters_tank_manufacturer = { complete_mio_trait = SOV_mil_helicopters_tank_manufacturer_vk_2500_engines }
			}
			if = {
				limit = { mio:SOV_mil_helicopters_tank_manufacturer = { is_mio_trait_completed = SOV_mil_helicopters_tank_manufacturer_halo_heritage } }
				mio:SOV_russian_helicopters_tank_manufacturer = { complete_mio_trait = SOV_mil_helicopters_tank_manufacturer_halo_heritage }
			}
			if = {
				limit = { mio:SOV_mil_helicopters_tank_manufacturer = { is_mio_trait_completed = SOV_mil_helicopters_tank_manufacturer_mi_26t_lineage } }
				mio:SOV_russian_helicopters_tank_manufacturer = { complete_mio_trait = SOV_mil_helicopters_tank_manufacturer_mi_26t_lineage }
			}
			if = {
				limit = { mio:SOV_mil_helicopters_tank_manufacturer = { is_mio_trait_completed = SOV_mil_helicopters_tank_manufacturer_flying_crane } }
				mio:SOV_russian_helicopters_tank_manufacturer = { complete_mio_trait = SOV_mil_helicopters_tank_manufacturer_flying_crane }
			}
			if = {
				limit = { mio:SOV_mil_helicopters_tank_manufacturer = { is_mio_trait_completed = SOV_mil_helicopters_tank_manufacturer_mi_26t2v_avionics } }
				mio:SOV_russian_helicopters_tank_manufacturer = { complete_mio_trait = SOV_mil_helicopters_tank_manufacturer_mi_26t2v_avionics }
			}
			if = {
				limit = { mio:SOV_mil_helicopters_tank_manufacturer = { is_mio_trait_completed = SOV_mil_helicopters_tank_manufacturer_d_136_engines } }
				mio:SOV_russian_helicopters_tank_manufacturer = { complete_mio_trait = SOV_mil_helicopters_tank_manufacturer_d_136_engines }
			}
			if = {
				limit = { mio:SOV_mil_helicopters_tank_manufacturer = { is_mio_trait_completed = SOV_mil_helicopters_tank_manufacturer_composite_rotors } }
				mio:SOV_russian_helicopters_tank_manufacturer = { complete_mio_trait = SOV_mil_helicopters_tank_manufacturer_composite_rotors }
			}
			if = {
				limit = { mio:SOV_mil_helicopters_tank_manufacturer = { is_mio_trait_completed = SOV_mil_helicopters_tank_manufacturer_rostvertol_plant } }
				mio:SOV_russian_helicopters_tank_manufacturer = { complete_mio_trait = SOV_mil_helicopters_tank_manufacturer_rostvertol_plant }
			}
		}
	}
}

# Russian computing sovereignty
country_event = {
	id = sov_economic.300
	title = sov_economic.300.t
	desc = sov_economic.300.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = SOV_cs_elbrus_domestic_bet }
		NOT = { has_country_flag = SOV_cs_foreign_architecture }
	}

	option = {
		name = sov_economic.300.a
		log = "[GetDateText]: [Root.GetName]: sov_economic.300.a executed"
		add_political_power = -20
		add_tech_bonus = {
			name = sov_economic.300.t
			bonus = 0.15
			uses = 1
			category = CAT_information_technology
		} hidden_effect = { rq_eb_364f0b778e = yes }
		set_country_flag = SOV_cs_elbrus_domestic_bet
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = sov_economic.300.b
		log = "[GetDateText]: [Root.GetName]: sov_economic.300.b executed"
		add_tech_bonus = {
			name = sov_economic.300.t
			bonus = 0.10
			uses = 1
			category = CAT_information_technology
		} hidden_effect = { rq_eb_dcfbaed803 = yes }
		set_country_flag = SOV_cs_foreign_architecture
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = sov_economic.301
	title = sov_economic.301.t
	desc = sov_economic.301.d
	picture = GFX_stock_market
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = SOV_cs_angstrem_t_pursued }
		NOT = { has_country_flag = SOV_cs_fab_deferred }
	}

	option = {
		name = sov_economic.301.a
		log = "[GetDateText]: [Root.GetName]: sov_economic.301.a executed"
		add_political_power = -25
		add_tech_bonus = {
			name = sov_economic.301.t
			bonus = 0.15
			uses = 1
			category = CAT_microchips
		} hidden_effect = { rq_eb_01a7bd4347 = yes }
		set_country_flag = SOV_cs_angstrem_t_pursued
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = sov_economic.301.b
		log = "[GetDateText]: [Root.GetName]: sov_economic.301.b executed"
		add_tech_bonus = {
			name = sov_economic.301.t
			bonus = 0.10
			uses = 1
			category = CAT_industry
		} hidden_effect = { rq_eb_b504394b66 = yes }
		set_country_flag = SOV_cs_fab_deferred
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = sov_economic.302
	title = sov_economic.302.t
	desc = sov_economic.302.d
	picture = GFX_political_deal
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = SOV_cs_import_substitution }
		NOT = { has_country_flag = SOV_cs_open_procurement }
	}

	option = {
		name = sov_economic.302.a
		log = "[GetDateText]: [Root.GetName]: sov_economic.302.a executed"
		add_political_power = -30
		add_tech_bonus = {
			name = sov_economic.302.t
			bonus = 0.15
			uses = 1
			category = CAT_industry
		} hidden_effect = { rq_eb_dd86e42890 = yes }
		set_country_flag = SOV_cs_import_substitution
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = sov_economic.302.b
		log = "[GetDateText]: [Root.GetName]: sov_economic.302.b executed"
		add_tech_bonus = {
			name = sov_economic.302.t
			bonus = 0.10
			uses = 1
			category = CAT_information_technology
		} hidden_effect = { rq_eb_dcfbaed803 = yes }
		set_country_flag = SOV_cs_open_procurement
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = sov_economic.303
	title = sov_economic.303.t
	desc = sov_economic.303.d
	picture = GFX_raid_international_sanctions
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = SOV_cs_embargo_absorbed }
		NOT = { has_country_flag = SOV_cs_embargo_circumvented }
	}

	option = {
		name = sov_economic.303.a
		log = "[GetDateText]: [Root.GetName]: sov_economic.303.a executed"
		add_political_power = -25
		add_tech_bonus = {
			name = sov_economic.303.t
			bonus = 0.15
			uses = 1
			category = CAT_industry
		} hidden_effect = { rq_eb_dd86e42890 = yes }
		set_country_flag = SOV_cs_embargo_absorbed
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = sov_economic.303.b
		log = "[GetDateText]: [Root.GetName]: sov_economic.303.b executed"
		add_tech_bonus = {
			name = sov_economic.303.t
			bonus = 0.10
			uses = 1
			category = CAT_microchips
		} hidden_effect = { rq_eb_c4abe0b00c = yes }
		set_country_flag = SOV_cs_embargo_circumvented
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = sov_economic.304
	title = sov_economic.304.t
	desc = sov_economic.304.d
	picture = GFX_broken_infrastructure
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = SOV_cs_foundry_loss_accepted }
		NOT = { has_country_flag = SOV_cs_chinese_foundry_turn }
		NOT = { has_country_flag = SOV_cs_domestic_line_funded }
	}

	option = {
		name = sov_economic.304.a
		log = "[GetDateText]: [Root.GetName]: sov_economic.304.a executed"
		add_political_power = -20
		add_tech_bonus = {
			name = sov_economic.304.t
			bonus = 0.15
			uses = 1
			category = CAT_microchips
		} hidden_effect = { rq_eb_01a7bd4347 = yes }
		set_country_flag = SOV_cs_foundry_loss_accepted
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = sov_economic.304.b
		log = "[GetDateText]: [Root.GetName]: sov_economic.304.b executed"
		add_tech_bonus = {
			name = sov_economic.304.t
			bonus = 0.10
			uses = 1
			category = CAT_information_technology
		} hidden_effect = { rq_eb_dcfbaed803 = yes }
		set_country_flag = SOV_cs_chinese_foundry_turn
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}

	option = {
		name = sov_economic.304.c
		log = "[GetDateText]: [Root.GetName]: sov_economic.304.c executed"
		set_temp_variable = { treasury_change = -12.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = sov_economic.304.t
			bonus = 0.15
			uses = 1
			category = CAT_microchips
		} hidden_effect = { rq_eb_01a7bd4347 = yes }
		set_country_flag = SOV_cs_domestic_line_funded
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}
}

country_event = {
	id = sov_economic.305
	title = sov_economic.305.t
	desc = sov_economic.305.d
	picture = GFX_generic_factory
	is_triggered_only = yes

	trigger = { SOV_computing_sovereignty_outcome_settled = no }

	option = {
		name = sov_economic.305.a
		trigger = { has_country_flag = SOV_cs_chinese_foundry_turn }
		log = "[GetDateText]: [Root.GetName]: sov_economic.305.a executed"
		effect_tooltip = { add_timed_idea = { idea = SOV_computing_sovereignty_chinese_substitution days = 365 } }
		hidden_effect = { SOV_computing_sovereignty_apply_chinese_substitution = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = sov_economic.305.b
		trigger = {
			NOT = { has_country_flag = SOV_cs_chinese_foundry_turn }
			NOT = {
				AND = {
					has_country_flag = SOV_cs_domestic_line_funded
					has_country_flag = SOV_cs_angstrem_t_pursued
					has_country_flag = SOV_cs_import_substitution
				}
			}
			has_country_flag = SOV_cs_embargo_circumvented
		}
		log = "[GetDateText]: [Root.GetName]: sov_economic.305.b executed"
		effect_tooltip = { add_timed_idea = { idea = SOV_computing_sovereignty_parallel_import_economy days = 365 } }
		hidden_effect = { SOV_computing_sovereignty_apply_parallel_imports = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = sov_economic.305.c
		trigger = {
			NOT = { has_country_flag = SOV_cs_chinese_foundry_turn }
			has_country_flag = SOV_cs_domestic_line_funded
			has_country_flag = SOV_cs_angstrem_t_pursued
			has_country_flag = SOV_cs_import_substitution
		}
		log = "[GetDateText]: [Root.GetName]: sov_economic.305.c executed"
		effect_tooltip = { add_ideas = SOV_computing_sovereignty_sovereign_computing_stack }
		hidden_effect = { SOV_computing_sovereignty_apply_sovereign_stack = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = sov_economic.305.e
		trigger = {
			NOT = { has_country_flag = SOV_cs_chinese_foundry_turn }
			NOT = {
				AND = {
					has_country_flag = SOV_cs_domestic_line_funded
					has_country_flag = SOV_cs_angstrem_t_pursued
					has_country_flag = SOV_cs_import_substitution
				}
			}
			NOT = { has_country_flag = SOV_cs_embargo_circumvented }
		}
		log = "[GetDateText]: [Root.GetName]: sov_economic.305.e executed"
		effect_tooltip = { add_timed_idea = { idea = SOV_computing_sovereignty_mature_node_specialization days = 365 } }
		hidden_effect = { SOV_computing_sovereignty_apply_mature_nodes = yes }
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = sov_economic.306
	title = sov_economic.306.t
	desc = sov_economic.306.d
	picture = GFX_SOV_generic
	is_triggered_only = yes

	option = {
		name = sov_economic.306.a
		log = "[GetDateText]: [This.GetName]: sov_economic.306.a executed"
		add_political_power = -50
		add_stability = 0.03
		set_temp_variable = { temp_opinion = 7 }
		change_intelligence_community_opinion = yes
		set_temp_variable = { temp_opinion = -5 }
		change_oligarchs_opinion = yes
		set_temp_variable = { party_popularity_increase = 0.10 }
		change_relative_party_popularity = yes
		add_to_variable = { SOV_statist_verdicts = 1 }
		custom_effect_tooltip = SOV_verdict_scorecard_TT
		ai_chance = { base = 100 }
	}

	option = {
		name = sov_economic.306.b
		log = "[GetDateText]: [This.GetName]: sov_economic.306.b executed"
		add_stability = -0.05
		add_popularity = {
			ideology = democratic
			popularity = 0.05
		}
		set_temp_variable = { party_popularity_increase = -0.10 }
		change_relative_party_popularity = yes
		set_temp_variable = { temp_opinion = 3 }
		change_oligarchs_opinion = yes
		set_temp_variable = { temp_opinion = 3 }
		change_fossil_fuel_industry_opinion = yes
		add_to_variable = { SOV_oligarch_verdicts = 1 }
		custom_effect_tooltip = SOV_verdict_scorecard_TT
		newline = yes
		set_temp_variable = { treasury_change = 5 }
		modify_treasury_effect = yes
		ai_chance = { base = 0 }
	}
}
