﻿add_namespace = russia

#Kursk Submarine Disaster
country_event = {
	id = russia.1
	title = russia.1.t
	desc = russia.1.d
	picture = GFX_report_event_kursk_sinking
	
	fire_only_once = yes
	
	trigger = {
		tag = SOV
		date > 2000.8.10
		date < 2001.1.1
		not = { has_country_flag = sov_kursk_sinking }
	}
	
	immediate = {
		set_country_flag = sov_kursk_sinking
	}
	
	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_popularity = {
			ideology = communism
			popularity = -0.02
		}
		recalculate_party = yes
		news_event = {
			hours = 6
			id = news.50
		}
	}
}

#Belarus: Russia offers Union State
country_event = {
	id = russia.2
	title = russia.2.t
	desc = russia.2.d
	picture = GFX_report_event_russian_flag
	
	is_triggered_only = yes
	
	option = {
		name = russia.2.o1
		log = "[GetDateText]: [This.GetName]: russia.2.o1 executed"
		ai_chance = {
			factor = 75
		}
		SOV = { puppet = BLR }
		SOV = { country_event = { id = russia.3 } }
	}
	
	option = {
		name = russia.2.o2
		log = "[GetDateText]: [This.GetName]: russia.2.o2 executed"
		ai_chance = {
			factor = 25
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
		SOV = { add_opinion_modifier = { target = BLR modifier = betrayed_our_cause } }
		SOV = { country_event = { id = russia.4 } }
	}
}

#Belarus accepts!
country_event = {
	id = russia.3
	title = russia.3.t
	desc = russia.3.d
	picture = GFX_report_event_russian_flag
	
	is_triggered_only = yes
	
	option = {
		name = russia.3.o1
		log = "[GetDateText]: [This.GetName]: russia.3.o1 executed"
		effect_tooltip = {
			puppet = BLR
		}
		every_country = {
			limit = {
				is_in_faction_with = SOV
				NOT = { tag = SOV }
				NOT = { tag = BLR }
			}
			country_event = russia.5
		}
	}
}

#Belarus refuses!
country_event = {
	id = russia.4
	title = russia.4.t
	desc = russia.4.d
	picture = GFX_report_event_russian_flag
	
	is_triggered_only = yes
	
	option = {
		name = russia.4.o1
		log = "[GetDateText]: [This.GetName]: russia.4.o1 executed"
		effect_tooltip = {
			add_opinion_modifier = { target = BLR modifier = betrayed_our_cause }
		}
	}
}

#Faction members (not Belarus): Russian imperialism
country_event = {
	id = russia.5
	title = russia.5.t
	desc = russia.5.d
	picture = GFX_report_event_russian_flag
	
	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 = {
			factor = 75
		}
		SOV = { remove_from_faction = ROOT }
		set_country_flag = left_CSTO
	}
	
	option = {	#Loyalty must stay in place
		name = russia.5.o2
		log = "[GetDateText]: [This.GetName]: russia.5.o2 executed"
		ai_chance = {
			factor = 25
		}
		add_political_power = -100
	}
}

#ABK/SOS: Southern Strategy
country_event = {
	id = russia.6
	title = russia.6.t
	desc = russia.6.d
	picture = GFX_report_event_russian_flag
	
	is_triggered_only = yes
	
	option = {
		name = russia.6.o1
		log = "[GetDateText]: [This.GetName]: russia.6.o1 executed"
		army_experience = 5
		navy_experience = 5
		air_experience = 5
		add_political_power = 50
	}
}

#Ukraine: Russia invades Crimea!
country_event = {
	id = russia.7
	title = russia.7.t
	desc = russia.7.d
	picture = GFX_report_event_russian_flag
	
	is_triggered_only = yes
	
	option = {	#We shall stand down.
		name = russia.7.o1
		log = "[GetDateText]: [This.GetName]: russia.7.o1 executed"
		ai_chance = {
			factor = 75
		}
		SOV = { country_event = { id = russia.8 } }
		SOV = { transfer_state = 669 }
	}
	
	option = { #We will stand and fight!
		name = russia.7.o2
		log = "[GetDateText]: [This.GetName]: russia.7.o2 executed"
		ai_chance = {
			factor = 25
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
		effect_tooltip = { 
			SOV = { 
				declare_war_on = {
					target = UKR
					type = take_state_focus
					generator = { 669 }
				}
			}
		}
	}
}

#Russia: Ukraine folds Crimea.
country_event = {
	id = russia.8
	title = russia.8.t
	desc = russia.8.d
	picture = GFX_report_event_russian_flag
	
	is_triggered_only = yes
	
	option = {	#Excellent
		name = russia.8.o1
		log = "[GetDateText]: [This.GetName]: russia.8.o1 executed"
		effect_tooltip = {
			SOV = { transfer_state = 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 = UKR
				modifier = annexed_ukraine_trade
			}
		}
	}
}

#Russia: Ukraine resists.
country_event = {
	id = russia.9
	title = russia.9.t
	desc = russia.9.d
	picture = GFX_report_event_russian_flag
	
	is_triggered_only = 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 = UKR
			type = take_state_focus
			generator = { 669 }
		}
	}
}

#Ukraine: Novorossiya rises against us!
country_event = {
	id = russia.10
	title = russia.10.t
	desc = russia.10.d
	picture = GFX_report_event_russian_flag
	
	is_triggered_only = yes
	
	option = {
		name = russia.10.o1
		log = "[GetDateText]: [This.GetName]: russia.10.o1 executed"
		NOV = { transfer_state = 696 }
		NOV = { transfer_state = 693 }
		NOV = { load_oob = "NOV_2016" }
		NOV = {
			declare_war_on = {
				target = UKR
				type = annex_everything
			}
		}
	}
}