add_namespace = USSR_soviet

country_event = {
	id = USSR_soviet.1
	title = USSR_soviet.1.t
	desc = USSR_soviet.1.desc
	picture = GFX_report_event_soviet_union_collapse
	
	fire_only_once = yes
	
	trigger = {
		tag = SOV
		has_war_with = GER
		surrender_progress > 0.65
		NOT = { controls_state = 195 }
		NOT = { controls_state = 219 }
		NOT = { controls_state = 217 }
	}

	mean_time_to_happen = {
		days = 2
	}

	immediate = {
		hidden_effect = {
			collapse_the_soviet_union = yes
			SOV = { country_event = { id = USSR_soviet.2 days = 5 } }
		}
	}
	
	option = {
		name = USSR_soviet.1.a
	}
}

country_event = {
	id = USSR_soviet.2
	title = USSR_soviet.2.t
	desc = USSR_soviet.2.desc
	picture = GFX_report_event_tomsk_independence

	fire_only_once = yes

	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			TOM = { siberian_nationalist_independence = yes }
			SOV = { country_event = { id = USSR_soviet.3 days = 5 } }
		}
	}

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

country_event = {
	id = USSR_soviet.3
	title = USSR_soviet.3.t
	desc = USSR_soviet.3.desc
	picture = GFX_report_event_fareast_independence

	fire_only_once = yes

	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			FAR = { siberian_nationalist_independence = yes }
			GER = { country_event = { id = USSR_soviet.4 days = 3 } }
		}
	}

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

country_event = {
	id = USSR_soviet.4
	title = USSR_soviet.4.t
	desc = USSR_soviet.4.desc
	picture = GFX_report_event_german_soviet_white_peace

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = USSR_soviet.3.a
		SOV = { country_event = { id = USSR_soviet.5 days = 2 } }
	}
}

country_event = {
	id = USSR_soviet.5
	title = USSR_soviet.5.t
	desc = USSR_soviet.5.desc
	picture = GFX_report_event_soviet_collapsed

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = USSR_soviet.5.a
		KAZ = { 
			siberian_nationalist_independence = yes 
		}
		TYM = { siberian_nationalist_independence = yes }
		hidden_effect = {
			soviet_german_white_peace = yes
			WRF = { siberian_nationalist_independence = yes change_tag_from = SOV }
			SOV = { country_event = { id = USSR_soviet.7 days = 1 } }
		}
	}
}

country_event = {
	id = USSR_soviet.7
	hidden = yes

	fire_only_once = yes

	is_triggered_only = yes

	immediate = {
		hidden_effect = {
			FAR = { transfer_state = 875 }
		}
	}

	option = {
		name = USSR_soviet.7.a
	}
}