################
#### SOVIET ####
################

####### NO STEP BACK! #######

SOV_paranoia_system = {

	priority = 101

	icon = SOV_paranoia

	scripted_gui = sov_paranoia_system_ui

	allowed = {
		original_tag = SOV
	}

	visible = {
		OR = {
			has_country_flag = SOV_paranoia_system_active_flag
			has_country_flag = SOV_third_moscow_trial_flag
			has_country_flag = SOV_debug_show_paranoia_system_flag #Debug

			# So Opposition can get rid of the Anti-Soviet Military Thinking NS
			has_idea = SOV_anti_soviet_military_thinking_banned_army
			has_idea = SOV_anti_soviet_military_thinking_banned_navy
			has_idea = SOV_anti_soviet_military_thinking_banned_airforce
			# So Opposition can get rid of the Junior Army/Navy Officers Purged NS
			has_idea = SOV_purged_junior_army_officers_1
			has_idea = SOV_purged_junior_army_officers_2
			has_idea = SOV_purged_junior_army_officers_3
			has_idea = SOV_purged_junior_navy_officers_1
			has_idea = SOV_purged_junior_navy_officers_2
			has_idea = SOV_purged_junior_navy_officers_3
			SOV_is_stalinist = yes
			has_country_flag = SOV_assassinated_stalin_flag
		}
	}

	visible_when_empty = yes
}

SOV_propaganda_campaigns = {
	priority = 100

	icon = SOV_propaganda

	scripted_gui = sov_propaganda_campaigns_ui

	allowed = {
		original_tag = SOV
	}

	visible = {
		OR = {
			has_completed_focus = SOV_expand_the_agitprop
			has_country_flag = SOV_debug_show_propaganda_system_flag #Debug
		}
	}
}

SOV_gosproyektstroy_decision_category = {
	priority = 29

	icon = generic_industry

	picture = SOV_civil_puppet_interaction 

	allowed = {
		original_tag = SOV
	}

	visible = {
		OR = {
			has_idea = SOV_gosproyektstroy_1
			has_country_flag = SOV_gosproyektstroy_level_2_flag
			has_country_flag = SOV_gosproyektstroy_level_3_flag
		}
	}
}

SOV_industry_relocation = {
	priority = 12

	icon = generic

	allowed = {
		original_tag = SOV
	}

	visible = {
		has_completed_focus = SOV_desperate_measures
	}
}

SOV_great_patriotic_war = {
	priority = 200

	icon = sov_great_patriotic_war
	
	allowed = {
		original_tag = SOV
	}
	visible = {
		any_enemy_country = {
			SOV_is_major_not_original_sov = yes
		}
	}	
}

SOV_national_academy_of_sciences_dec_cat = {
	priority = 30

	icon = SOV_soviet_academy_of_sciences

	picture = GFX_decision_cat_picture_soviet_national_academy_of_sciences 

	allowed = {
		original_tag = SOV
	}

	visible = {
		has_completed_focus = SOV_national_academies_of_sciences
		has_civil_war = no
	}
}

SOV_merge_designers_dec_cat = {
	priority = 28

	icon = SOV_merge_designers

	allowed = {
		original_tag = SOV
		NOT = { has_dlc = "Arms Against Tyranny" } #Decisions became actual traits in MIOs
	}

	visible = {
		has_civil_war = no
	}
}

SOV_infiltrate_foreign_atomic_programs_dec_cat = {
	priority = 10

	icon = eng_move_to_secure_the_dominions

	allowed = {
		original_tag = SOV
		NOT = { has_dlc = "La Resistance" }
	}

	visible = {
		has_completed_focus = SOV_soviet_atomic_bomb_project
	}
}

SOV_polish_territory = {
	priority = 70

	icon = generic_formable_nations

	allowed = {
		original_tag = SOV
	}

	visible = {
		POL = {
			is_subject_of = ROOT
		}
		#97 = {
		#	is_owned_by = ROOT
		#}
	}
}
