ideas = {

	country = {
	}

	political_advisor = {
		mikhail_kalinin = {
			
			
			allowed = {
				original_tag = "SOV"
			}
			available = 
			{
				NOT = { has_country_flag = purged_kalinin }
				NOT = { has_country_flag = counter_purge }
			}
			

			
			traits = { popular_figurehead }
		}

		SOV_lavrentiy_beria = {
			
			picture = generic_army_europe_2
			
			allowed = {
				original_tag = SOV
			}

			available = 
			{
				custom_trigger_tooltip = {
					tooltip =  SOV_beria_idea
					has_country_flag = purge_2_group_a
				}
				NOT = { 
					has_country_flag = counter_purge
				}
			}
			
			traits = { ideological_crusader }
		}

		SOV_vyacheslav_molotov = {
			
			picture = generic_political_advisor_europe_1
			
			allowed = {
				original_tag = SOV
			}
			
			traits = { smooth_talking_charmer }
		}

		SOV_nikolai_voznesensky = {
			
			picture = generic_political_advisor_europe_2
			
			allowed = {
				original_tag = SOV
			}
			
			traits = { captain_of_industry }
		}

		SOV_nikolai_yezhov = {
			
			picture = generic_army_europe_2
			
			allowed = {
				original_tag = SOV
			}

			available = 
			{
				NOT = { has_country_flag = counter_purge }
				NOT = { has_country_flag = purge_2_group_a }
			}
			
			traits = { prince_of_terror }
		}
	}
		
	army_chief = {
		
		
		semyon_timoshenko = {
			#Also unit leader: 404
			
			allowed = {
				original_tag = SOV
			}
			available = 
			{
				NOT = { has_country_flag = purge_1_group_b }
				hidden_trigger = {
					NOT = { 
						any_country = {
							has_war_with = SOV
							original_tag = SOV
							has_unit_leader = 404
						} 
					}
				}
			}
			

			
			traits = { army_chief_reform_2 }
			
			ai_will_do = {
				factor = 1
			}
		}
		
		kliment_voroshilov = {
			#Also unit leader: 405
			
			allowed = {
				original_tag = SOV
			}
			available = 
			{
				NOT = { has_country_flag = purge_1_group_b }
				hidden_trigger = {
					NOT = { 
						any_country = {
							has_war_with = SOV
							original_tag = SOV
							has_unit_leader = 405
						} 
					}
				}
			}
			

			
			traits = { army_chief_drill_1 }
			
			ai_will_do = {
				factor = 1
			}
		}
		
		alexander_yegorov = {
			
			
			allowed = {
				original_tag = SOV
			}
			available = 
			{
				NOT = { has_country_flag = purge_1_group_a }
			}
			

			
			# PURGED
			traits = { army_chief_defensive_2 }
			
			ai_will_do = {
				factor = 1
			}
		}
		
		vasily_blucher = {
			
			
			allowed = {
				original_tag = SOV

			}
			available = 
			{
				NOT = { has_country_flag = purge_1_group_a }
			}
			

			
			# PURGED
			traits = { army_chief_maneuver_2 }
			
			ai_will_do = {
				factor = 1
			}
		}	
	}
	navy_chief = {
		
		pyotr_smirnov = {
			
			
			allowed = {
				original_tag = SOV

			}
			available = 
			{
				NOT = { has_country_flag = purge_1_group_a }
			}
			

			
			# PURGED
			traits = { navy_chief_naval_aviation_1 }
			
			ai_will_do = {
				factor = 1
			}
		}
		
		mikhail_frinovsky = {
			
			
			allowed = {
				original_tag = SOV

			}
			available = 
			{
				NOT = { has_country_flag = purge_1_group_a }
			}
			

			
			# PURGED
			traits = { navy_chief_commerce_raiding_1 }
			
			ai_will_do = {
				factor = 1
			}
		}
		
		nikolay_kuznetsov = {
			
			
			allowed = {
				original_tag = SOV

			}
			available = 
			{
				NOT = { has_country_flag = purge_2_group_b }
			}
			

			
			# Not Purged, but eventually demoted
			traits = { navy_chief_reform_2 }
			
			ai_will_do = {
				factor = 1
			}
		}
		
		ivan_yumashev = {
			
			
			allowed = {
				original_tag = SOV

			}
			available = 
			{
				NOT = { has_country_flag = purge_1_group_b }
			}
			

			
			traits = { navy_chief_decisive_battle_2 }
			
			ai_will_do = {
				factor = 1
			}
		}	
	}
	
	air_chief = {
		
		
		alexander_novikov = {
						
			allowed = {
				original_tag = SOV

			}
			available = 
			{
				NOT = { has_country_flag = purge_2_group_a }
			}
			

			
			# Not Purged, but imprisoned
			traits = { air_chief_reform_3 }
			
			ai_will_do = {
				factor = 1
			}
		}
		
		konstantin_vershinin = {
			
			
			allowed = {
				original_tag = SOV

			}
			available = 
			{
				NOT = { has_country_flag = purge_2_group_b }
			}
			

			
			traits = { air_chief_ground_support_2 }
			
			ai_will_do = {
				factor = 1
			}
		}
		
		yakov_smushkevich = {
			
			
			allowed = {
				original_tag = SOV

			}
			available = 
			{
				NOT = { has_country_flag = purge_2_group_a }
			}
			

			
			# PURGED
			traits = { air_chief_safety_2 } # Could also have reform
			
			ai_will_do = {
				factor = 1
			}
		}
		
		pavel_rychagov = {
			
			
			allowed = {
				original_tag = SOV

			}
			available = 
			{
				NOT = { has_country_flag = purge_2_group_a }
			}
			

			
			# PURGED
			traits = { air_chief_all_weather_2 }
			
			ai_will_do = {
				factor = 1
			}
		}	
	}
	
	
	high_command = {
	
		ivan_konev = {
			#Also unit leader: 408
			
			allowed = {
				original_tag = SOV
			}
			available = 
			{
				NOT = { has_country_flag = counter_purge }
				custom_trigger_tooltip = {
				tooltip = SOV_konev_civil_war
					NOT = { 
						any_country = {
							has_war_with = SOV
							original_tag = SOV
							has_unit_leader = 408
						}
					}
				}
			}
			

			
			traits = { army_concealment_2 }
			# Almost certainly a psychopath
			
			ai_will_do = {
				factor = 1
			}
		}
		
		aleksandr_vasilevsky = {
			#Also unit leader: 407
			
			allowed = {
				original_tag = SOV

			}
			available = 
			{
				NOT = { has_country_flag = purge_2_group_b }
				hidden_trigger = {
					NOT = { 
						any_country = {
							has_war_with = SOV
							original_tag = SOV
							has_unit_leader = 407
						} 
					}
				}
			}
			

			
			traits = { army_regrouping_2 }
			
			ai_will_do = {
				factor = 1
			}
		}
		
		konstantin_rokossovsky = {
			#Also unit leader: 402
			
			allowed = {
				original_tag = SOV # Unlocked via focus
				hidden_trigger = {
					NOT = {
						any_country = {
							has_war_with = SOV
							original_tag = SOV
							has_unit_leader = 403
						} 
					}
				}
			}
			available = 
			{
				NOT = { has_country_flag = purge_1_group_b }
				has_completed_focus = SOV_positive_heroism
			}
			

			
			# Not purged, but tried and tortured, then released
			traits = { army_armored_3 }
			
			ai_will_do = {
				factor = 1
			}
		}	
		
		pavel_zhigarev = {
			
			
			allowed = {
				original_tag = SOV

			}
			available = 
			{
				NOT = { has_country_flag = counter_purge }
			}
			

			
			traits = { air_airborne_1 }
			
			ai_will_do = {
				factor = 1
			}
		}
		
		sergei_khudyakov = {
			
			
			allowed = {
				original_tag = SOV

			}
			available = 
			{
				NOT = { has_country_flag = purge_2_group_b }
			}
			

			
			# Purged, but post-war
			traits = { air_close_air_support_2 }
			
			ai_will_do = {
				factor = 1
			}
		}
		
		stepan_krasovsky = {
			
			
			allowed = {
				original_tag = SOV

			}
			available = 
			{
				NOT = { has_country_flag = counter_purge }
			}
			

			
			traits = { air_air_combat_training_2 }
			
			ai_will_do = {
				factor = 1
			}
		}	
		
		vladimir_kasatonov = {
			#Also unit leader: 403
			
			allowed = {
				original_tag = SOV

			}
			available = 
			{
				NOT = { has_country_flag = purge_1_group_b }
				hidden_trigger = {
					NOT = { 
						any_country = {
							has_war_with = SOV
							original_tag = SOV
							has_unit_leader = 403
						} 
					}
				}
			}
			

			
			traits = { navy_submarine_2 }
			
			ai_will_do = {
				factor = 1
			}
		}
		
		gordey_levchenko = {
			#Also unit leader: 406
			
			allowed = {
				original_tag = SOV

			}
			available = 
			{
				NOT = { has_country_flag = purge_2_group_a }
				hidden_trigger = {
					NOT = { 
						any_country = {
							has_war_with = SOV
							original_tag = SOV
							has_unit_leader = 406
						} 
					}
				}
			}
			

			
			# Not purged, but arrested and released
			traits = { navy_capital_ship_2 }
			
			ai_will_do = {
				factor = 1
			}
		}
		
		arseniy_golovko = {
			#Also unit leader: 409
			
			allowed = {
				original_tag = SOV

			}
			available = 
			{
				NOT = { has_country_flag = counter_purge }
				hidden_trigger = {
					NOT = { 
						any_country = {
							has_war_with = SOV
							original_tag = SOV
							has_unit_leader = 409
						} 
					}
				}
			}
			

			
			traits = { navy_amphibious_assault_2 }
			
			ai_will_do = {
				factor = 1
			}
		}	
	}
		
	tank_manufacturer = {
		
		designer = yes
		
		morozov_design_bureau = {
			
			
			allowed = {
				original_tag = SOV
			}
			

			
			research_bonus = {
				armor = 0.10
			}
			
			traits = { fast_tank_manufacturer }
			
			modifier = {
			}
		}
		
		astrov_design_bureau = {
			
			
			allowed = {
				original_tag = SOV
			}
			

			
			research_bonus = {
				armor = 0.10
			}
			
			traits = { medium_tank_manufacturer }
			
			modifier = {
			}
		}
		
		okmo = {
			
			
			allowed = {
				original_tag = SOV
			}
			

			
			research_bonus = {
				armor = 0.10
			}
			
			traits = { heavy_tank_manufacturer }
			
			modifier = {
			}
		}
	}
	
	aircraft_manufacturer = {
		
		designer = yes
		
		mig_design_bureau = {
			
			
			allowed = {
				original_tag = SOV
			}
			

			
			research_bonus = {
				air_equipment = 0.10
			}
			
			traits = { light_aircraft_manufacturer }
			
			modifier = {
			}
		}
		
		ilyushin_design_bureau = {
			
			
			allowed = {
				original_tag = SOV
			}
			

			
			research_bonus = {
				air_equipment = 0.10
			}
			
			traits = { medium_aircraft_manufacturer }
			
			modifier = {
			}
		}
		
		tupolev_design_bureau = {
			
			
			allowed = {
				original_tag = SOV
			}
			

			
			research_bonus = {
				air_equipment = 0.10
			}
			
			traits = { heavy_aircraft_manufacturer }
			
			modifier = {
			}
		}
		
		yakovlev_design_bureau = {
			
			
			allowed = {
				original_tag = SOV
			}
			

			
			research_bonus = {
				air_equipment = 0.10
			}
			
			traits = { naval_aircraft_manufacturer }
			
			modifier = {
			}
		}
	}	
	
	
	industrial_concern = {
				
		stalingrad_tractor_factory = {
		
			
			allowed = {
				original_tag = SOV
			}
			

			
			research_bonus = {
				industry = 0.10
			}
			
			traits = { industrial_concern }
			
			modifier = {
			}
		}
		
		leningrad_polytechnical_institute = {
			
			
			allowed = {
				original_tag = SOV
			}
			

			
			research_bonus = {
				electronics = 0.10
			}
			
			traits = { electronics_concern }
			
			modifier = {
			}
		}
	}
	
	materiel_manufacturer = {
			
		designer = yes
		
		grabin_design_bureau = {
			
			
			allowed = {
				original_tag = SOV
			}
			

			
			research_bonus = {
				artillery = 0.10
			}
			
			traits = { artillery_manufacturer }
			
			modifier = {
			}
		}	
		
	
		
		tula_arms_plant = {
			
			
			allowed = {
				original_tag = SOV
			}
			

			
			research_bonus = {
				infantry_weapons = 0.10
			}
			
			traits = { infantry_equipment_manufacturer }
			
			modifier = {
			}
		}
		
		gaz = {
			
			
			allowed = {
				original_tag = SOV
			}
			

			
			research_bonus = {
				motorized_equipment = 0.10
				mot_rockets = 0.50
			}
			
			traits = { motorized_equipment_manufacturer }
			
			modifier = {
			}
		}
	}
	
	naval_manufacturer = {
	
		designer = yes
		
		nevskoye_design_bureau = {
			
			
			allowed = {
				original_tag = SOV
			}
			

			
			research_bonus = {
				naval_equipment = 0.10
			}
			
			traits = { naval_manufacturer }
			
			modifier = {
			}
		}
	}
	
	theorist = {	
	
			
		mikhail_tukhachevsky = {
			
			
			allowed = {
				original_tag = SOV

			}
			available = 
			{
				NOT = { has_country_flag = purge_1_group_a }
			}
			
			cost = 250
			
			research_bonus = {
				cat_mass_assault = 0.10
			}
			
			# PURGED
			traits = { mass_assault_expert }
		}
		
		boris_shaposhnikov = {
			
			
			allowed = {
				original_tag = SOV
			}
			

			
			research_bonus = {
				land_doctrine = 0.07
			}
			
			traits = { military_theorist }
		}
		
		georgy_zhukov = {
			
			
			allowed = {
				original_tag = SOV # Unlocked via focus

			}
			available = 
			{
				NOT = { has_country_flag = counter_purge }
			}
			available = {
				has_completed_focus = SOV_positive_heroism
			}
			
			cost = 250
			
			research_bonus = {
				cat_mass_assault = 0.10
			}
			
			traits = { mass_assault_expert }
		}
		
		sergey_gorshkov = {
			
			
			allowed = {
				original_tag = SOV

			}
			available = 
			{
				NOT = { has_country_flag = counter_purge }
			}
			
			cost = 150
			
			research_bonus = {
				naval_doctrine = 0.07
			}
			
			traits = { naval_theorist }
		}
		
		vladimir_tributs = {
			
			
			allowed = {
				original_tag = SOV
			}
			
			cost = 250
			
			research_bonus = {
				cat_fleet_in_being = 0.10
			}
			
			traits = { grand_fleet_proponent}
		}
		
		sergei_rudenko = {
			
			
			allowed = {
				original_tag = SOV

			}
			available = 
			{
				NOT = { has_country_flag = counter_purge }
			}
			
			cost = 250
			
			research_bonus = {
				cat_battlefield_support = 0.10
			}
			
			traits = { close_air_support_proponent }
		}
		
		alexander_golovanov = {
			
			
			allowed = {
				original_tag = SOV
			}
			

			
			research_bonus = {
				air_doctrine = 0.07
			}
			
			traits = { air_warfare_theorist }
		}
		
		igor_kurchatov = {
			
			
			allowed = {
				original_tag = SOV
			}
			

			
			research_bonus = {
				nuclear = 0.10
			}
			
			traits = { nuclear_scientist }
		}
		
		sergei_korolev = {
			
			
			allowed = {
				original_tag = SOV
			}
			
			research_bonus = {
				rocketry = 0.10
			}

			
			traits = { rocket_scientist }
		}
	}
	
}