# Aleksandra Kollontay has an unsed portrait
# Viktor Baydalakov has an unused portrait

characters = {


  ####    ####   #    #  #    #  #####  #####   #   #      #       ######    ##    #####   ######  #####    ####  
 #    #  #    #  #    #  ##   #    #    #    #   # #       #       #        #  #   #    #  #       #    #  #      
 #       #    #  #    #  # #  #    #    #    #    #        #       #####   #    #  #    #  #####   #    #   ####  
 #       #    #  #    #  #  # #    #    #####     #        #       #       ######  #    #  #       #####        # 
 #    #  #    #  #    #  #   ##    #    #   #     #        #       #       #    #  #    #  #       #   #   #    # 
  ####    ####    ####   #    #    #    #    #    #        ######  ######  #    #  #####   ######  #    #   ####  
                                                                                                                  

	SOV_iosif_stalin = {
		name = SOV_iosif_stalin
		portraits = {
			civilian = {
				large = GFX_portrait_SOV_iosif_stalin
			}
			army = {
				large = GFX_portrait_SOV_iosif_stalin
				small = GFX_portrait_SOV_iosif_stalin_small
			}
		}
		country_leader = {
			ideology = stalinism
			traits = { stalin_heart_of_steel }
			expire = "1953.3.1.1"
			id = -1
		}
	}

	SOV_santa_claus = {
		name = SOV_santa_claus
		portraits = {
			civilian = {
				large = "GFX_portrait_SOV_santa_claus"
			}
		}
	}

	#TODO: This should be a country leader token added to Stalin in the appropriate event/focus/whatever
	SOV_tsar_iosif_stalin = {
		name = "Tsar Joseph I"
		portraits = {
			civilian = {
				large = "GFX_portrait_SOV_tsar_stalin"
			}
		}
		country_leader = {
			ideology = despotism
			expire = "1953.3.1.1"
			id = -1
		}
	}

	# Kerensky and Rodzaevsky moved to the bottom of the file

	SOV_tsar_vladimir_kirillovich = {
		name = SOV_tsar_vladimir_kirillovich
		portraits = {
			civilian = {
				large = "GFX_portrait_SOV_vladimir_kirillovich"
			}
		}
		country_leader = {
			ideology = despotism
			expire = "1953.3.1.1"
			id = -1
			traits = {
				emperor_and_autocrat_of_all_the_russias
			}
		}
	}
	SOV_tsar_vsevolod_ivanovich = {
		name = SOV_tsar_vsevolod_ivanovich
		portraits = {
			civilian = {
				large = "GFX_portrait_SOV_vsevolod_ivanovich"
			}
		}
		country_leader = {
			ideology = despotism
			expire = "1953.3.1.1"
			id = -1
		}
	}

	SOV_metropolitan_meletius = {
		name = SOV_metropolitan_meletius
		portraits = {
			civilian = {
				large = "GFX_portrait_SOV_patriarch_meletius"
			}
			army = {
				small = "GFX_idea_SOV_patriarch_meletius"
			}
		}
		country_leader = {
			ideology = despotism
			expire = "1953.3.1.1"
			id = -1
			traits = {
				defier_of_the_sun_god supreme_representative_of_god_on_earth
			}
		}
		advisor = {
			slot = political_advisor
			idea_token = SOV_patriarch_meletius
			allowed = {
				original_tag = SOV
			}
			visible = {
				has_completed_focus = SOV_beaten_but_not_defeated
				NOT = {
					has_completed_focus = SOV_the_third_rome
				}
			}
			available = {
				has_completed_focus = SOV_the_hands_do
				NOT = {
					has_completed_focus = SOV_the_third_rome
				}
			}
			traits = {
				the_masses_opium
			}
			ai_will_do = {
				base = 2
			}
		}	
	}

	SOV_supreme_soviet = { #Country Leader role added via focus
		name = SOV_supreme_soviet

		portraits = {
			civilian = {
				large = GFX_portrait_SOV_supreme_soviet
			}
		}
	}

	SOV_provisional_government = {
		name = SOV_provisional_government

		portraits = {
			civilian = {
				large = "GFX_portrait_SOV_white_transitionary_council"
			}
		}
		country_leader = {
			ideology = despotism
			expire = "1953.3.1.1"
			id = -1
			traits = {
				emigre_connections desperate_gambit dysfunctional_assembly
			}
		}
	}


   # #    #####   #    #  #   #      #        ######    ##    #####   ######  #####    ####  
  #   #   #    #  ##  ##   # #       #        #        #  #   #    #  #       #    #  #      
 #     #  #    #  # ## #    #        #        #####   #    #  #    #  #####   #    #   ####  
 #######  #####   #    #    #        #        #       ######  #    #  #       #####        # 
 #     #  #   #   #    #    #        #        #       #    #  #    #  #       #   #   #    # 
 #     #  #    #  #    #    #        #######  ######  #    #  #####   ######  #    #   ####  
                                                                                             

	SOV_georgy_zhukov = {
		name = SOV_georgy_zhukov

		portraits = {
			army = {
				small = "GFX_idea_georgy_zhukov"
				large = GFX_portrait_SOV_georgy_zhukov
			}
		}

		corps_commander = {
			traits = { media_personality armor_officer war_hero winter_specialist panzer_leader }
			skill = 5
			attack_skill = 5
			defense_skill = 2
			planning_skill = 4
			logistics_skill = 5
			legacy_id = 410
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}

		advisor = {
			cost = 150
			slot = theorist
			idea_token = georgy_zhukov
			ledger = army
			allowed = {
				original_tag = SOV
			}
			available = {
				has_completed_focus = SOV_positive_heroism
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				mass_assault_expert
			}
		}		
	}

	SOV_nikolay_nikolayevich_voronov = {
		name = SOV_nikolay_nikolayevich_voronov

		portraits = {
			army = {
				small = "GFX_idea_nikolay_nikolayevich_voronov"
				large = GFX_portrait_SOV_nikolay_nikolayevich_voronov
			}
		}

		corps_commander = {
			traits = { trait_cautious fortress_buster }
			skill = 3
			attack_skill = 3
			defense_skill = 3
			planning_skill = 3
			logistics_skill = 1
			legacy_id = 1029
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}

		advisor = {
			slot = high_command
			idea_token = nikolay_nikolayevich_voronov
			ledger = army
			allowed = {
				original_tag = SOV
				hidden_trigger = {
					NOT = {
						any_other_country = {
							has_war_with = SOV
							original_tag = SOV
							has_unit_leader = 1029.000
						}
					}
				}
			}
			available = {
				if = {
					limit = {
						NOT = { has_country_flag = voronov_promoted }
					}
					custom_trigger_tooltip = {
						tooltip = "Volunteer forces have been dispatched to the Spanish Civil War"
						has_country_flag = SOV_volunteer_in_spain
					}
				}
				has_tech = superior_firepower
				if = {
					limit = {
						NOT = { has_country_flag = voronov_promoted }
					}
					custom_trigger_tooltip = {
						tooltip = "At least 3,000 pieces of artillery has been deployed in the army"
						OR = {
							check_variable = { num_equipment_in_armies_k@artillery_equipment > 3 }
							SOV = { has_country_flag = voronov_promoted }
						}
					}
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			on_add = {
				SOV = { hidden_effect = { set_country_flag = voronov_promoted } }
			}
			traits = {
				chief_or_artillery_1
			}
			cost = 50
			ai_will_do = {
				factor = 0.000
			}
		}		
	}

	SOV_konstantin_rokossovsky = {
		name = SOV_konstantin_rokossovsky

		portraits = {
			army = {
				small = "GFX_idea_konstantin_rokossovsky"
				large = GFX_portrait_SOV_konstantin_rokossovsky
			}
		}

		corps_commander = {
			traits = { brilliant_strategist trait_cautious armor_officer panzer_leader }
			skill = 4
			attack_skill = 3
			defense_skill = 4
			planning_skill = 2
			logistics_skill = 4
			legacy_id = 402
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}

		advisor = {
			slot = high_command
			idea_token = konstantin_rokossovsky
			ledger = army
			allowed = {
				original_tag = SOV
				hidden_trigger = {
					NOT = {
						any_other_country = {
							has_war_with = SOV
							original_tag = SOV
							has_unit_leader = 403.000
						}
					}
				}
			}
			available = {
				OR = {
					has_completed_focus = SOV_positive_heroism
					has_completed_focus = SOV_the_iron_wall_of_russian_resolve
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				army_armored_3
			}
				cost = 200
			ai_will_do = {
				factor = 25.000
			}
		}		
	}

	SOV_aleksandr_vasilevsky = {
		name = SOV_aleksandr_vasilevsky
		portraits = {
			army = {
				small = "GFX_idea_SOV_aleksandr_vasilevsky"
				large = "GFX_portrait_SOV_aleksandr_vasilevsky"
			}
		}
		corps_commander = {
			traits = { armor_officer politically_connected }
			skill = 4
			attack_skill = 4
			defense_skill = 4
			planning_skill = 3
			logistics_skill = 2
			legacy_id = 407
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}

		advisor = {
			slot = high_command
			idea_token = aleksandr_vasilevsky
			ledger = army
			allowed = {
				original_tag = SOV
				is_ai = no
			}
			available = {
				hidden_trigger = {
					NOT = {
						any_other_country = {
							has_war_with = SOV
							original_tag = SOV
							has_unit_leader = 407.000
						}
					}
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				army_regrouping_2
			}
				cost = 100
			ai_will_do = {
				factor = 1.000
			}
		}	
	}

	SOV_boris_shaposhnikov = {
		name = SOV_boris_shaposhnikov
		portraits = {
			army = {
				small = "GFX_idea_boris_shaposhnikov"
				large = GFX_portrait_SOV_boris_shaposhnikov
			}
		}
		advisor = {
			cost = 100
			slot = theorist
			idea_token = boris_shaposhnikov
			ledger = army
			allowed = {
				original_tag = SOV
			}
			traits = {
				military_theorist
			}
			ai_will_do = {
				factor = 2.000
			}
		}

		corps_commander = {
			traits = { career_officer trait_cautious }
			skill = 3
			attack_skill = 2
			defense_skill = 3
			planning_skill = 2
			logistics_skill = 3
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_nikolay_vatutin = {
		name = SOV_nikolay_vatutin
		portraits = {
			army = {
				large = GFX_portrait_SOV_nikolay_vatutin
				small=GFX_portrait_SOV_nikolay_vatutin_small
			}
		}
		corps_commander = {
			traits = { trait_reckless infantry_officer }
			skill = 3
			attack_skill = 1
			defense_skill = 3
			planning_skill = 3
			logistics_skill = 3
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_ivan_konev = {
		name = SOV_ivan_konev
		portraits = {
			army = {
				small = "GFX_idea_SOV_ivan_konev"
				large = "GFX_portrait_SOV_ivan_konev"
			}
		}
		advisor = {
			slot = high_command
			idea_token = ivan_konev
			ledger = army
			allowed = {
				original_tag = SOV
			}
			available = {
				custom_trigger_tooltip = {
					tooltip = SOV_konev_civil_war
					NOT = {
						any_other_country = {
							has_war_with = SOV
							original_tag = SOV
							has_unit_leader = 408.000
						}
					}
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				army_concealment_2
			}
				cost = 100
			ai_will_do = {
				factor = 1.000
			}
		}

		corps_commander = {
			traits = { harsh_leader armor_officer politically_connected }
			skill = 5
			attack_skill = 4
			defense_skill = 5
			planning_skill = 2
			logistics_skill = 5
			legacy_id = 408
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_semyon_timoshenko = {
		name = SOV_semyon_timoshenko
		portraits = {
			army = {
				small = "GFX_idea_semyon_timoshenko"
				large = "GFX_portrait_SOV_semyon_timoshenko"
			}
		}
		advisor = {
			slot = army_chief
			idea_token = semyon_timoshenko
			allowed = {
				original_tag = SOV
			}
			available = {
				hidden_trigger = {
					OR = {
						is_ai = no
						AND = { 
							is_ai = yes
							NOT = { has_tech = continuous_offensive }
							NOT = { has_tech = human_wave_offensive }
							NOT = { has_tech = shock_and_awe }
							NOT = { has_tech = infiltration_in_depth }
							NOT = { has_tech = modern_blitzkrieg }
							NOT = { has_tech = werwolf_guerillas }
							NOT = { has_tech = air_land_battle }
							NOT = { has_tech = c3i_theory }
						}
					}
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				army_chief_reform_2
			}
				cost = 100
			ai_will_do = {
				factor = 100.000
			}
		}

		corps_commander = {
			traits = { career_officer cavalry_officer politically_connected }
			skill = 3
			attack_skill = 3
			defense_skill = 2
			planning_skill = 2
			logistics_skill = 3
			legacy_id = 404
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_kliment_voroshilov = {
		name = SOV_kliment_voroshilov

		portraits = {
			army = {
				small = "GFX_idea_kliment_voroshilov"
				large = GFX_portrait_SOV_kliment_voroshilov
			}
		}
		advisor = {
			slot = army_chief
			idea_token = kliment_voroshilov
			allowed = {
				original_tag = SOV
			}
			available = {
				hidden_trigger = {
					NOT = {
						any_other_country = {
							has_war_with = SOV
							original_tag = SOV
							has_unit_leader = 405.000
						}
					}
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				army_chief_drill_1
			}
				cost = 50
			ai_will_do = {
				factor = 1.000
			}
		}

		field_marshal = {
			traits = { old_guard inflexible_strategist politically_connected }
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
			legacy_id = 405
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_mikhail_tukhachevsky = {
		name = SOV_mikhail_tukhachevsky
		portraits = {
			army = {
				small = "GFX_idea_mikhail_tukhachevsky"
				large = GFX_portrait_SOV_mikhail_tukhachevsky
			}
		}
		advisor = {
			cost = 150
			slot = theorist
			idea_token = mikhail_tukhachevsky
			ledger = army
			allowed = {
				original_tag = SOV
			}
			available = {
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				mass_assault_expert
			}
		}

		field_marshal = {
			traits = { brilliant_strategist career_officer trait_reckless infantry_officer offensive_doctrine }
			skill = 4
			attack_skill = 3
			defense_skill = 4
			planning_skill = 4
			logistics_skill = 2
			legacy_id = 401
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_semyon_budyonny = {
		name = SOV_semyon_budyonny
		portraits = {
			army = {
				large = "GFX_portrait_SOV_semyon_budyonny"
				small=GFX_portrait_SOV_semyon_budyonny_small
			}
		}
		field_marshal = {
			traits = { old_guard inflexible_strategist politically_connected }
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_ivan_chernyakhovsky = {
		name = SOV_ivan_chernyakhovsky
		portraits = {
			army = {
				large = "GFX_portrait_SOV_ivan_chernyakhovsky"
				small= "GFX_idea_SOV_ivan_chernyakhovsky"
			}
		}
		corps_commander = {
			traits = { armor_officer }
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
			legacy_id = 413
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_issa_pliyev = {
		name = SOV_issa_pliyev
		portraits = {
			army = {
				large = "GFX_portrait_SOV_issa_pliyev"
				small= "GFX_idea_SOV_issa_pliyev"
			}
		}
		corps_commander = {
			traits = { cavalry_officer }
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_leonid_govorov = {
		name = SOV_leonid_govorov
		portraits = {
			army = {
				large = "GFX_portrait_SOV_leonid_govorov"
				small= "GFX_idea_SOV_leonid_govorov"
			}
		}
		corps_commander = {
			skill = 3
			attack_skill = 3
			defense_skill = 2
			planning_skill = 3
			logistics_skill = 2
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_grigory_kulik = {
		name = SOV_grigory_kulik
		portraits = {
			army = {
				large = GFX_portrait_SOV_grigory_kulik
				small=GFX_portrait_SOV_grigory_kulik_small
			}
		}
		corps_commander = {
			traits = { old_guard inflexible_strategist career_officer politically_connected }
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_kirill_meretskov = {
		name = SOV_kirill_meretskov
		portraits = {
			army = {
				large = GFX_portrait_SOV_kirill_meretskov
				small=GFX_portrait_SOV_kirill_meretskov_small
			}
		}
		corps_commander = {
			traits = { trait_cautious infantry_officer }
			skill = 4
			attack_skill = 2
			defense_skill = 2
			planning_skill = 4
			logistics_skill = 5
			legacy_id = 0
		}

		advisor = {
			slot = high_command
			idea_token = SOV_kirill_meretskov
			ledger = army
			allowed = {
				original_tag = SOV
			}
			available = {
				custom_trigger_tooltip = {
					tooltip = "Has learnt from the experience in Finland"
					FIN = { has_country_flag = winter_war_happened }
				}
			}
			traits = {
				army_logistics_2
			}
			cost = 50
			ai_will_do = {
				factor = 10.000
			}
		}
	}

	SOV_filipp_golikov = {
		name = SOV_filipp_golikov
		portraits = {
			army = {
				large = "GFX_portrait_SOV_filipp_golikov"
				small= "GFX_idea_SOV_filipp_golikov"
			}
		}
		corps_commander = {
			traits = { career_officer }
			skill = 3
			attack_skill = 3
			defense_skill = 3
			planning_skill = 3
			logistics_skill = 1
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_andrey_yeryomenko = {
		name = SOV_andrey_yeryomenko
		portraits = {
			army = {
				large = "GFX_portrait_SOV_andrey_yeryomenko"
				small= GFX_portrait_SOV_andrey_yeryomenko_small
			}
		}
		corps_commander = {
			traits = { cavalry_officer }
			skill = 3
			attack_skill = 3
			defense_skill = 3
			planning_skill = 1
			logistics_skill = 3
			legacy_id = 412
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
		advisor={
			slot = high_command
			idea_token = andrey_yeryomenko
			ledger = army
			allowed = {
				original_tag = SOV
			}
			available = {
				custom_trigger_tooltip = {
					tooltip = "'The Russian Guderian' has proven himself" #will be given an event in due time
					OR = {
						has_global_flag = russia_fulfilled_molotov_ribbentrop
						has_completed_focus = SOV_lessons_of_war
						AND = {
							date > 1938.1.1
							OR = {
								has_tech = mobile_warfare
								has_tech = superior_firepower
							}
						}
					}
				}
			}
			traits = {
				army_CombinedArms_2
			}
			cost = 100
			ai_will_do = {
				factor = 25.000
			}
		}
	}

	SOV_georgy_zakharov = {
		name = SOV_georgy_zakharov
		portraits = {
			army = {
				large = GFX_portrait_SOV_georgy_zakharov
				small=GFX_portrait_SOV_georgy_zakharov_small
			}
		}
		corps_commander = {
			traits = { career_officer }
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_yakov_cherevichenko = {
		name = SOV_yakov_cherevichenko
		portraits = {
			army = {
				large = "GFX_portrait_SOV_yakov_cherevichenko"
				small= "GFX_idea_SOV_yakov_cherevichenko"
			}
		}
		corps_commander = {
			traits = { cavalry_officer }
			skill = 3
			attack_skill = 3
			defense_skill = 3
			planning_skill = 2
			logistics_skill = 2
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_maks_reyter = {
		name = SOV_maks_reyter
		portraits = {
			army = {
				large = "GFX_portrait_SOV_maks_reyter"
				small=GFX_portrait_SOV_maks_reyter_small
			}
		}
		corps_commander = {
			traits = { career_officer }
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_nikandr_chibisov = {
		name = SOV_nikandr_chibisov
		portraits = {
			army = {
				large = GFX_portrait_SOV_nikandr_chibisov
				small=GFX_portrait_SOV_nikandr_chibisov_small
			}
		}
		corps_commander = {
			traits = { trickster }
			skill = 3
			attack_skill = 1
			defense_skill = 3
			planning_skill = 3
			logistics_skill = 3
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}

		advisor = {
			slot = high_command
			idea_token = nikandr_chibisov
			ledger = army
			allowed = {
				original_tag = SOV
			}
			available = {
				custom_trigger_tooltip = {
					tooltip = "The Soviet Union has learnt from the experience in Spain"
					OR = {
						has_country_flag = {
							flag = SOV_volunteer_in_spain
							days > 365
						}
						AND = {
							has_global_flag = scw_over
							has_country_flag = SOV_volunteer_in_spain
						}
					}
				}
			}
			traits = {
				army_infantry_1
			}
			cost = 50
			ai_will_do = {
				factor = 1.000
			}
		}
	}

	SOV_vasily_kuznetsov = {
		name = SOV_vasily_kuznetsov
		portraits = {
			army = {
				large = "GFX_portrait_SOV_vasily_kuznetsov"
				small= "GFX_idea_SOV_vasily_kuznetsov"
			}
		}
		corps_commander = {
			traits = { infantry_officer commando }
			skill = 3
			attack_skill = 3
			defense_skill = 3
			planning_skill = 2
			logistics_skill = 2
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}

		advisor = {
			slot = high_command
			idea_token = SOV_vasily_kuznetsov
			ledger = army
			allowed = {
				original_tag = SOV
			}
			available = {
				custom_trigger_tooltip = {
					tooltip = "The Soviet Union contributed towards the victory of the Republicans in Spain"
					OR = {
						AND = {
							has_global_flag = scw_over
							has_country_flag = SOV_volunteer_in_spain
							any_country = {
								original_tag = SPR
								has_completed_focus = SPR_maintain_the_second_republic
							}
						}
					}
				}
			}
			traits = {
				army_logistics_2
			}
			cost = 25 #need to compete with the air ace one
			ai_will_do = {
				factor = 25.000
			}
		}
	}

	SOV_andrey_vlasov = {
		name = SOV_andrey_vlasov
		portraits = {
			army = {
				large = GFX_portrait_SOV_andrey_vlasov
				small=GFX_portrait_SOV_andrey_vlasov_small
			}
		}
		corps_commander = {
			traits = { infantry_officer winter_specialist }
			skill = 3
			attack_skill = 3
			defense_skill = 3
			planning_skill = 1
			logistics_skill = 3
			legacy_id = 0
			visible = {
				if = {
					limit = {
						SOV = { has_country_flag = vlasov_owner_flag }
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
				if = {
					limit = {
						GER = { has_country_flag = vlasov_owner_flag }
					}
					NOT = {
						has_character_flag = vlasov_imprisoned_flag
					}
				}
			}
		}
	}

	SOV_bronislav_kaminski = {
		name = SOV_bronislav_kaminski
		portraits = {
			army = {
				large = GFX_portrait_SOV_bronislav_kaminski
				small = GFX_portrait_SOV_bronislav_kaminski_small
			}
		}
		corps_commander = {
			traits = { politically_connected militias_officer organizer }
			skill = 2
			attack_skill = 2
			defense_skill = 1
			planning_skill = 2
			logistics_skill = 2
			visible = {
				has_global_flag = lokot_autonomy_has_been_established_flag
				NOT = {
					has_government = communism
				}
				NOT = {
					has_global_flag = lokot_autonomy_has_been_crushed_flag
				}
			}
		}
	}

	SOV_konstantin_voskoboinik = {
		name = SOV_konstantin_voskoboinik
		portraits = {
			army = {
				large = GFX_portrait_SOV_konstantin_voskoboinik
				small = GFX_portrait_SOV_konstantin_voskoboinik_small
			}
		}
		corps_commander = {
			traits = { politically_connected militias_officer urban_assault_specialist }
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
			visible = {
				has_global_flag = lokot_autonomy_has_been_established_flag
				NOT = {
					has_government = communism
				}
				NOT = {
					has_global_flag = lokot_autonomy_has_been_crushed_flag
				}
			}
		}
	}

	SOV_ivan_fedyuninsky = {
		name = SOV_ivan_fedyuninsky
		portraits = {
			army = {
				large = GFX_portrait_SOV_ivan_fedyuninsky
				small=GFX_portrait_SOV_ivan_fedyuninsky_small
			}
		}
		corps_commander = {
			traits = { infantry_officer }
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_maksim_purkayev = {
		name = SOV_maksim_purkayev
		portraits = {
			army = {
				large = GFX_portrait_SOV_maksim_purkayev
				small=GFX_portrait_SOV_maksim_purkayev_small
			}
		}
		corps_commander = {
			traits = { career_officer }
			skill = 3
			attack_skill = 2
			defense_skill = 3
			planning_skill = 2
			logistics_skill = 3
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_kuzma_galitsky = {
		name = SOV_kuzma_galitsky
		portraits = {
			army = {
				large = GFX_portrait_SOV_kuzma_galitsky
				small=GFX_portrait_SOV_kuzma_galitsky_small
			}
		}
		corps_commander = {
			traits = { infantry_officer }
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_markian_popov = {
		name = SOV_markian_popov
		portraits = {
			army = {
				large = GFX_portrait_SOV_markian_popov
				small=GFX_portrait_SOV_markian_popov_small
			}
		}
		corps_commander = {
			traits = { brilliant_strategist infantry_officer winter_specialist }
			skill = 2
			attack_skill = 2
			defense_skill = 1
			planning_skill = 2
			logistics_skill = 2
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_nikolay_berzarin = {
		name = SOV_nikolay_berzarin
		portraits = {
			army = {
				large = GFX_portrait_SOV_nikolay_berzarin
				small=GFX_portrait_SOV_nikolay_berzarin_small
			}
		}
		corps_commander = {
			traits = { infantry_officer }
			skill = 4
			attack_skill = 4
			defense_skill = 3
			planning_skill = 3
			logistics_skill = 3
			legacy_id = 0
		}

		advisor = {
			slot = high_command
			idea_token = nikolay_berzarin
			ledger = army
			allowed = {
				original_tag = SOV
			}
			available = {
				custom_trigger_tooltip = {
					tooltip = "The Soviet Union has learnt from the experience in Spain"
					OR = {
						has_country_flag = {
							flag = SOV_volunteer_in_spain
							days > 365
						}
						AND = {
							has_global_flag = scw_over
							has_country_flag = SOV_volunteer_in_spain
						}
					}
				}
			}
			traits = {
				army_infantry_1
			}
			cost = 50
			ai_will_do = {
				factor = 10.000
			}
		}
	}

	SOV_aleksandr_gorbatov = {
		name = SOV_aleksandr_gorbatov
		portraits = {
			army = {
				large = GFX_portrait_SOV_aleksandr_gorbatov
				small=GFX_portrait_SOV_aleksandr_gorbatov_small
			}
		}
		corps_commander = {
			traits = { career_officer cavalry_officer }
			skill = 3
			attack_skill = 2
			defense_skill = 3
			planning_skill = 2
			logistics_skill = 3
			legacy_id = 0
			visible = { 	
				NOT = { has_character_flag = SOV_exiled_flag } 
				OR = {
					date > 1941.3.1
					has_completed_focus = SOV_coup_detat
					has_completed_focus = SOV_left_opposition_coup
					has_completed_focus = SOV_the_hands_do
				}
			}
		}
		advisor={
			slot = high_command
			idea_token = aleksandr_gorbatov
			ledger = army
			allowed = {
				original_tag = SOV
			}
			available = {
				custom_trigger_tooltip = {
					tooltip = gorbatov_unlock_tt
					OR = {
						date > 1941.3.1
						has_completed_focus = SOV_coup_detat
						has_completed_focus = SOV_left_opposition_coup
						has_completed_focus = SOV_the_hands_do
					}
				}
				OR = {
					date > 1941.3.1
					has_completed_focus = SOV_coup_detat
					has_completed_focus = SOV_left_opposition_coup
					has_completed_focus = SOV_the_hands_do
				}
			}
			traits = {
				army_CombinedArms_2
			}
			cost = 100
			ai_will_do = {
				factor = 10.000
			}
		}
	}

	SOV_kirill_moskalenko = {
		name = SOV_kirill_moskalenko
		portraits = {
			army = {
				large = GFX_portrait_SOV_kirill_moskalenko
				small=GFX_portrait_SOV_kirill_moskalenko_small
			}
		}
		corps_commander = {
			skill = 3
			attack_skill = 2
			defense_skill = 2
			planning_skill = 3
			logistics_skill = 3
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_dmitry_lelyushenko = {
		name = SOV_dmitry_lelyushenko
		portraits = {
			army = {
				large = GFX_portrait_SOV_dmitry_lelyushenko
				small=GFX_portrait_SOV_dmitry_lelyushenko_small
			}
		}
		corps_commander = {
			traits = { trait_reckless armor_officer }
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_andrey_grechko = {
		name = SOV_andrey_grechko
		portraits = {
			army = {
				large = "GFX_portrait_SOV_andrey_grechko"
				small= "GFX_idea_SOV_andrey_grechko"
			}
		}
		corps_commander = {
			traits = { cavalry_officer }
			skill = 3
			attack_skill = 1
			defense_skill = 3
			planning_skill = 3
			logistics_skill = 3
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_rodion_malinovsky = {
		name = SOV_rodion_malinovsky
		portraits = {
			army = {
				large = GFX_portrait_SOV_rodion_malinovsky
				small=GFX_portrait_SOV_rodion_malinovsky_small
			}
		}
		corps_commander = {
			traits = { old_guard career_officer trait_cautious politically_connected }
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_vasily_chuykov = {
		name = SOV_vasily_chuykov
		portraits = {
			army = {
				large = GFX_portrait_SOV_vasily_chuykov
				small=GFX_portrait_SOV_vasily_chuykov_small
			}
		}
		advisor = {
			slot = army_chief
			idea_token = vasily_chuykov
			allowed = {
				original_tag = SOV
			}
			available = {
				OR = {
					custom_trigger_tooltip = {
						tooltip = "The effort of the Soviet military has culminated into the completion of their military doctrine"
						OR = {
							has_tech = continuous_offensive
							has_tech = human_wave_offensive
							has_tech = shock_and_awe 
							has_tech = infiltration_in_depth
							has_tech = modern_blitzkrieg
							has_tech = werwolf_guerillas
							has_tech = air_land_battle
							has_tech = c3i_theory
						}
					}
					custom_trigger_tooltip = {
						tooltip = "Mikhail Tomsky has taken leadership of the nation"
						has_country_flag = tomsky_leader
					}
				}
			}
			traits = {
				army_chief_offensive_2
			}
			cost = 25
			ai_will_do = {
				factor = 1.000
			}
		}
		corps_commander = {
			traits = { brilliant_strategist career_officer }
			skill = 3
			attack_skill = 3
			defense_skill = 1
			planning_skill = 5
			logistics_skill = 1
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

######################
#### NAVY LEADRES ####
######################

	SOV_filipp_oktyabrsky = {
		name = SOV_filipp_oktyabrsky
		portraits = {
			army = {
				large = GFX_portrait_SOV_filipp_oktyabrsky
				small=GFX_portrait_SOV_filipp_oktyabrsky_small
			}
		}
		navy_leader = {
			traits = { ironside ground_pounder }
			skill = 2
			attack_skill = 3
			defense_skill = 2
			maneuvering_skill = 1
			coordination_skill = 1
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_sergey_gorshkov = {
		name = SOV_sergey_gorshkov
		portraits = {
			navy = {
				small = "GFX_idea_sergey_gorshkov"
			}
			army = {
				large = GFX_portrait_SOV_sergey_gorshkov
			}
		}
		advisor = {
			cost = 100
			slot = theorist
			idea_token = sergey_gorshkov
			ledger = navy
			allowed = {
				original_tag = SOV
			}
			available = {
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = { naval_theorist }
		}

		navy_leader = {
			traits = { bold navy_career_officer }
			skill = 3
			attack_skill = 3
			defense_skill = 2
			maneuvering_skill = 3
			coordination_skill = 2
			legacy_id = 411
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_gordey_levchenko = {
		name = SOV_gordey_levchenko
		portraits = {
			navy = {
				small = "GFX_idea_gordey_levchenko"
			}
			army = {
				large = GFX_portrait_SOV_gordey_levchenko
			}
		}
		advisor = {
			slot = high_command
			idea_token = gordey_levchenko
			ledger = navy
			allowed = {
				original_tag = SOV
			}
			available = {
				hidden_trigger = {
					NOT = {
						any_other_country = {
							has_war_with = SOV
							original_tag = SOV
							has_unit_leader = 406
						}
					}
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				navy_capital_ship_2
			}
			cost = 100
			ai_will_do = {
				factor = 0.200
			}
		}

		navy_leader = {
			traits = { green_water_expert }
			skill = 2
			attack_skill = 2
			defense_skill = 2
			maneuvering_skill = 1
			coordination_skill = 2
			legacy_id = 406
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_arseny_golovko = {
		name = SOV_arseny_golovko
		portraits = {
			navy = {
				small = "GFX_idea_arseniy_golovko"
			}
			army = {
				large = GFX_portrait_SOV_arseny_golovko
			}
		}
		advisor = {
			slot = high_command
			idea_token = arseniy_golovko
			ledger = navy
			allowed = {
				original_tag = SOV
			}
			available = {
				hidden_trigger = {
					NOT = {
						any_other_country = {
							has_war_with = SOV
							original_tag = SOV
							has_unit_leader = 409.000
						}
					}
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				navy_amphibious_assault_2
			}
			cost = 100
			ai_will_do = {
				factor = 0.200
			}
		}

		navy_leader = {
			traits = { spotter arctic_water_expert }
			skill = 4
			attack_skill = 3
			defense_skill = 4
			maneuvering_skill = 3
			coordination_skill = 3
			legacy_id = 409
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_vladimir_kasatonov = {
		name = SOV_vladimir_kasatonov
		portraits = {
			navy = {
				small = "GFX_idea_vladimir_kasatonov"
			}
			army = {
				large = GFX_portrait_SOV_vladimir_kasatonov
			}
		}
		advisor = {
			slot = high_command
			idea_token = vladimir_kasatonov
			ledger = navy
			allowed = {
				original_tag = SOV
			}
			available = {
				hidden_trigger = {
					NOT = {
						any_other_country = {
							has_war_with = SOV
							original_tag = SOV
							has_unit_leader = 403.000
						}
					}
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				navy_submarine_2
			}
			cost = 100
			ai_will_do = {
				factor = 0.200
			}
		}

		navy_leader = {
			traits = { seawolf }
			skill = 2
			attack_skill = 1
			defense_skill = 2
			maneuvering_skill = 2
			coordination_skill = 2
			legacy_id = 403
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_stepan_krasovsky = {
		name = SOV_stepan_krasovsky
		portraits = {
			army = {
				small = "GFX_idea_stepan_krasovsky"
			}
		}

		advisor = {
			slot = high_command
			idea_token = stepan_krasovsky
			ledger = air
			allowed = {
				original_tag = SOV
			}
			traits = {
				air_air_combat_training_2
			}
				cost = 100
			ai_will_do = {
				factor = 1.000
			}
		}
	}

	SOV_vladimir_tributs = {
		name = SOV_vladimir_tributs
		portraits = {
			army = {
				small = "GFX_idea_vladimir_tributs"
			}
		}

		advisor = {
			cost = 150
			slot = theorist
			idea_token = vladimir_tributs
			ledger = navy
			allowed = {
				original_tag = SOV
			}
			traits = {
				grand_fleet_proponent
			}
		}
	}

	SOV_sergey_khudyakov = {
		name = SOV_sergey_khudyakov
		portraits = {
			army = {
				small = "GFX_idea_sergei_khudyakov"
			}
		}

		advisor = {
			slot = high_command
			idea_token = sergei_khudyakov
			ledger = air
			allowed = {
				original_tag = SOV
			}
			traits = {
				air_close_air_support_2
			}
			cost = 100
			ai_will_do = {
				factor = 1.000
			}
		}		
	}

	SOV_konstantin_vershinin = {
		name = SOV_konstantin_vershinin
		portraits = {
			army = {
				small = "GFX_idea_konstantin_vershinin"
			}
		}

		advisor = {	
			slot = air_chief
			idea_token = konstantin_vershinin
			allowed = {
				original_tag = SOV
			}
			traits = {
				air_chief_ground_support_2
			}
			cost = 100
			ai_will_do = {
				factor = 0.25
				modifier = {
					factor = 0
					NOT = { has_idea = independent_air_force_spirit }
				}
			}
		}
	}

	SOV_sergey_rudenko = {
		name = SOV_sergey_rudenko
		portraits = {
			army = {
				small = "GFX_idea_sergei_rudenko"
			}
		}

		advisor = {
			cost = 150
			
			slot = theorist
			idea_token = sergei_rudenko
			ledger = air
			allowed = {
				original_tag = SOV
			}
			
			traits = {
				close_air_support_proponent
			}
		}		
	}

	SOV_ivan_yumashev = {
		name = SOV_ivan_yumashev
		portraits = {
			army = {
				small = "GFX_idea_ivan_yumashev"
			}
		}

		advisor = {
			slot = navy_chief
			idea_token = ivan_yumashev
			allowed = {
				original_tag = SOV
			}
			traits = {
				navy_chief_decisive_battle_2
			}
			cost = 100
			ai_will_do = {
				factor = 0
				modifier = {
					add = 0.2
					date > 1941.1.1
				}
			}
		}
	}

	SOV_nikolay_kuznetsov = {
		name = SOV_nikolay_kuznetsov
		portraits = {
			army = {
				small = "GFX_idea_nikolay_kuznetsov"
			}
		}

		advisor = {
			slot = navy_chief
			idea_token = nikolay_kuznetsov
			allowed = {
				original_tag = SOV
			}
			traits = {
				navy_chief_reform_2
			}
			cost = 100
			ai_will_do = {
				factor = 0
				modifier = {
					add = 0.2
					date > 1941.1.1
				}
			}
		}		
	}

	SOV_yakov_smushkevich = {
		name = SOV_yakov_smushkevich
		portraits = {
			army = {
				small = "GFX_idea_yakov_smushkevich"
			}
		}

		advisor = {	
			slot = air_chief
			idea_token = yakov_smushkevich
			allowed = {
				original_tag = SOV
			}
			traits = {
				air_chief_safety_2
			}
			cost = 100
			ai_will_do = {
				factor = 0.250
				modifier = {
					factor = 0
					NOT = { has_idea = independent_air_force_spirit }
				}
			}
		}	
	}

	SOV_pavel_rychagov = {
		name = SOV_pavel_rychagov
		portraits = {
			army = {
				small = "GFX_idea_pavel_rychagov"
			}
		}

		advisor = {
			slot = air_chief
			idea_token = pavel_rychagov
			allowed = {
				original_tag = SOV
			}
			traits = {
				air_chief_all_weather_2
			}
			cost = 100
			ai_will_do = {
				factor = 0.250
				modifier = {
					factor = 0
					NOT = { has_idea = independent_air_force_spirit }
				}
			}
		}		
	}

	SOV_aleksandr_golovanov = {
		name = SOV_aleksandr_golovanov
		portraits = {
			army = {
				small = "GFX_idea_alexander_golovanov"
			}
		}

		advisor = {
			cost = 100
			slot = theorist
			idea_token = alexander_golovanov
			ledger = air
			allowed = {
				original_tag = SOV
			}
			traits = { air_warfare_theorist }
			ai_will_do = {
				factor = 2.000
			}
		}		
	}

	SOV_mikhail_frinovsky = {
		name = SOV_mikhail_frinovsky
		portraits = {
			army = {
				small = "GFX_idea_mikhail_frinovsky"
			}
		}

		advisor = {
			slot = navy_chief
			idea_token = mikhail_frinovsky
			allowed = {
				original_tag = SOV
			}
			traits = {
				navy_chief_commerce_raiding_1
			}
			cost = 50
			ai_will_do = {
				factor = 0
				modifier = {
					add = 0.2
					date > 1941.1.1
				}
			}
		}
	}

	SOV_pavel_zhigarev = {
		name = SOV_pavel_zhigarev
		portraits = {
			army = {
				small = "GFX_idea_pavel_zhigarev"
			}
		}

		advisor = {
			slot = high_command
			idea_token = pavel_zhigarev
			ledger = air
			allowed = {
				original_tag = SOV
			}
			traits = {
				air_airborne_1
			}
			cost = 50
			ai_will_do = {
				factor = 1.000
			}
		}
	}

	SOV_pyotr_smirnov = {
		name = SOV_pyotr_smirnov
		portraits = {
			army = {
				small = "GFX_idea_pyotr_smirnov"
			}
		}

		advisor = {
			slot = navy_chief
			idea_token = pyotr_smirnov
			allowed = {
				original_tag = SOV
			}
			available = {
				NOT = {
					has_country_flag = purge_1_group_a
				}
			}
			traits = {
				navy_chief_naval_aviation_1
			}
				cost = 50
			ai_will_do = {
				factor = 0
				modifier = {
					add = 0.2
					date > 1941.1.1
				}
			}
		}		
	}

	SOV_aleksandr_yegorov = {
		name = SOV_aleksandr_yegorov
		portraits = {
			army = {
				small = "GFX_idea_aleksandr_yegorov"
				large = "GFX_portrait_SOV_aleksandr_yegorov"
			}
		}
		advisor = {
			slot = army_chief
			idea_token = SOV_aleksandr_yegorov
			allowed = {
				original_tag = SOV
			}
			traits = {
				army_chief_defensive_2
			}
			cost = 100
			ai_will_do = {
				factor = 1.000
			}
		}

		field_marshal = {
			traits = { career_officer inflexible_strategist trait_reckless }
			skill = 3
			attack_skill = 2
			defense_skill = 2
			planning_skill = 4
			logistics_skill = 2
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}	
	}

	SOV_vasily_blyukher = {
		name = SOV_vasily_blyukher
		portraits = {
			army = {
				small = "GFX_portrait_SOV_blyukher_small" #"gfx/interface/ideas/idea_SOV_blyukher.dds"
				large = "GFX_portrait_SOV_blyukher"
			}
		}
		advisor = {
			slot = army_chief
			idea_token = SOV_vasily_blyukher
			allowed = {
				original_tag = SOV
			}
			traits = {
				army_chief_maneuver_2
			}
			cost = 100
			ai_will_do = {
				factor = 1.000
			}
		}

		field_marshal = {
			traits = { old_guard career_officer infantry_officer organizer }
			skill = 3
			attack_skill = 2
			defense_skill = 1
			planning_skill = 3
			logistics_skill = 4
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_aleksandr_novikov = {
		name = SOV_aleksandr_novikov
		portraits = {
			army = {
				small = "GFX_idea_alexander_novikov"
			}
		}
		advisor = {
			slot = air_chief
			idea_token = alexander_novikov
			allowed = {
				original_tag = SOV
			}
			traits = {
				air_chief_reform_3
			}
			cost = 200
			ai_will_do = {
				factor = 25.000
				modifier = {
					factor = 0
					NOT = { has_idea = independent_air_force_spirit }
				}
			}
		}
	}


	##### NSB #####

	SOV_vitaly_primakov = {
		name = SOV_vitaly_primakov

		portraits = {
			army = {
				large = "GFX_portrait_SOV_vasily_primakov"
				small = "GFX_portrait_SOV_vasily_primakov_small"
			}
		}

		corps_commander = {
			traits = { cavalry_officer trait_reckless war_hero cavalry_leader }
			skill = 3
			attack_skill = 3
			defense_skill = 2
			planning_skill = 2
			logistics_skill = 3
			legacy_id = 0
			visible = { NOT = { has_character_flag = SOV_exiled_flag } }
		}
	}

	SOV_vasily_korzh = {
		name = SOV_vasily_korzh
		portraits = {
			army = {
				large = "GFX_portrait_SOV_vasily_korzh"
				small = GFX_portrait_SOV_vasily_korzh_small
			}
		}

		corps_commander = {
			traits = { trait_cautious war_hero trickster }
			skill = 3
			attack_skill = 3
			defense_skill = 1
			planning_skill = 3
			logistics_skill = 3
			legacy_id = 0
			visible = {
				NOT = { has_character_flag = SOV_exiled_flag }
				has_completed_focus = SOV_organization_of_the_partisans
			}
		}
	}

	SOV_sidor_kovpak = {
		name = SOV_sidor_kovpak
		portraits = {
			army = {
				large = "GFX_portrait_SOV_sidor_kovpak"
				small = GFX_portrait_SOV_sidor_kovpak_small
			}
		}

		corps_commander = {
			traits = { trait_reckless war_hero commando }
			skill = 3
			attack_skill = 2
			defense_skill = 2
			planning_skill = 3
			logistics_skill = 3
			legacy_id = 0
			visible = {
				NOT = { has_character_flag = SOV_exiled_flag }
				has_completed_focus = SOV_organization_of_the_partisans
			}
		}
	}

	SOV_lev_dovator = {
		name = SOV_lev_dovator
		portraits = {
			army = {
				large = "GFX_portrait_SOV_lev_dovator"
				small = GFX_portrait_SOV_lev_dovator_small
			}
		}

		corps_commander = {
			traits = { cavalry_officer trait_reckless cavalry_leader ranger }
			skill = 3
			attack_skill = 3
			defense_skill = 2
			planning_skill = 2
			logistics_skill = 3
			legacy_id = 0
			visible = {
				NOT = { has_character_flag = SOV_exiled_flag }
				has_completed_focus = SOV_restore_cossack_units
			}
		}
	}

	SOV_pavel_rybalko = {
		name = SOV_pavel_rybalko
		portraits = {
			army = {
				large = "GFX_portrait_SOV_pavel_rybalko"
				small = GFX_portrait_SOV_pavel_rybalko_small
			}
		}

		corps_commander = {
			traits = { cavalry_officer armor_officer panzer_leader panzer_expert }
			skill = 3
			attack_skill = 4
			defense_skill = 1
			planning_skill = 2
			logistics_skill = 3
			legacy_id = 0
			visible = {
				NOT = { has_character_flag = SOV_exiled_flag }
				has_completed_focus = SOV_the_glory_of_the_red_army
			}
		}
	}


	###  ##   ##  ##  ###  ## ###      ##  ###  #   # #   #         
	#   #  # #   #  #  #  #    #      #  # #  # ## ##  # #  {~._.~} 
	##  ####  #  #     #   #   #      #### ###  # # #   #    ( Y )  
	#   #  #   # #  #  #    #  #      #  # #  # #   #   #   ()~*~() 
	#   #  # ##   ##  ### ##   #      #  # #  # #   #   #   (_)-(_) 
	SOV_anton_denikin = {
		name = SOV_anton_denikin
		portraits = {
			army = {
				large = "GFX_portrait_SOV_anton_denikin"
				small = "GFX_idea_SOV_anton_denikin"
			}
		}
		advisor = {
			slot = army_chief
			idea_token = SOV_anton_denikin
			allowed = {
				original_tag = SOV
			}
			available = {
				hidden_trigger = {
					OR = {
						is_ai = no
						AND = { 
							is_ai = yes
							NOT = { has_tech = continuous_offensive }
							NOT = { has_tech = human_wave_offensive }
							NOT = { has_tech = shock_and_awe }
							NOT = { has_tech = infiltration_in_depth }
							NOT = { has_tech = modern_blitzkrieg }
							NOT = { has_tech = werwolf_guerillas }
							NOT = { has_tech = air_land_battle }
							NOT = { has_tech = c3i_theory }
						}
					}
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}				
			traits = {
				army_chief_drill_1
			}
			cost = 50
			ai_will_do = {
				factor = 1.000
			}
		}
		
		field_marshal = {
			traits = { old_guard inflexible_strategist }
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
			visible = {
				NOT = { has_character_flag = SOV_exiled_flag }
				ROOT = { has_completed_focus = SOV_beaten_but_not_defeated }
			}
		}
	}



	SOV_pyotr_krasnov = {
		name = SOV_pyotr_krasnov
		portraits = {
			army = {
				large = "GFX_portrait_SOV_pyotr_krasnov"
				small = "GFX_idea_SOV_pyotr_krasnov"
			}
		}
		field_marshal = {
			traits = { cavalry_leader }
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
			visible = {
				NOT = { has_character_flag = SOV_exiled_flag }
				ROOT = { 
					OR = {
						has_completed_focus = SOV_beaten_but_not_defeated 
						has_completed_focus = GER_ally_white_russian_forces 
						has_completed_focus = GER_war_with_the_ussr 
					}
				}
			}
		}
	}

	SOV_konstantin_nechayev = {
		name = SOV_konstantin_nechayev
		portraits = {
			army = {
				large = "GFX_portrait_SOV_konstantin_nechayev"
				small = "GFX_idea_SOV_konstantin_nechayev"
			}
		}
		field_marshal = {
			traits = { infantry_officer war_hero }
			skill = 3
			attack_skill = 3
			defense_skill = 2
			planning_skill = 2
			logistics_skill = 3
			visible = {
				NOT = { has_character_flag = SOV_exiled_flag }
				ROOT = { has_completed_focus = SOV_beaten_but_not_defeated }
			}
		}
	}

	SOV_vladimir_kosmin = {
		name = SOV_vladimir_kosmin
		portraits = {
			army = {
				large = "GFX_portrait_SOV_vladimir_kosmin"
				small = "GFX_idea_SOV_vladimir_kosmin"
			}
		}
		field_marshal = {
			traits = { winter_expert trait_mountaineer }
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
			visible = {
				NOT = { has_character_flag = SOV_exiled_flag }
				ROOT = { has_completed_focus = SOV_beaten_but_not_defeated }
			}
		}
	}

	SOV_aleksandr_rodzyanko = {
		name = SOV_aleksandr_rodzyanko
		portraits = {
			army = {
				large = "GFX_portrait_SOV_aleksandr_rodzyanko"
				small = "GFX_idea_SOV_aleksandr_rodzyanko"
			}
		}
		field_marshal = {
			traits = { cavalry_officer }
			skill = 2
			attack_skill = 2
			defense_skill = 2
			planning_skill = 1
			logistics_skill = 2
			visible = {
				NOT = { has_character_flag = SOV_exiled_flag }
				ROOT = { has_completed_focus = SOV_beaten_but_not_defeated }
			}
		}
	}

	SOV_andrey_shkuro = {
		name = SOV_andrey_shkuro

		portraits = {
			army = {
				large = "GFX_portrait_SOV_andrey_shkuro"
				small = "GFX_idea_SOV_andrey_shkuro"
			}
		}

		corps_commander = {
			traits = { trait_reckless cavalry_officer }
			skill = 3
			attack_skill = 3
			defense_skill = 1
			planning_skill = 4
			logistics_skill = 2
			visible = {
				NOT = { has_character_flag = SOV_exiled_flag }
				ROOT = { 
					OR = {
						has_completed_focus = SOV_beaten_but_not_defeated 
						has_completed_focus = GER_ally_white_russian_forces 
						has_completed_focus = GER_war_with_the_ussr
					}
				}
			}
		}
	}


	###   ##  #   ### ### ###  ##   ##  #        ##  ###  #   # ###  ##  ##  ###   ## 
	#  # #  # #    #   #   #  #  # #  # #       #  # #  # #   #  #  #   #  # #  # #   
	###  #  # #    #   #   #  #    #### #       #### #  #  # #   #   #  #  # ###   #  
	#    #  # #    #   #   #  #  # #  # #       #  # #  #  # #   #    # #  # #  #   # 
	#     ##  ### ###  #  ###  ##  #  # ###     #  # ###    #   ### ##   ##  #  # ##  


	SOV_mikhail_kalinin = {
		name = SOV_mikhail_kalinin
		portraits = {
			army = {
				small = "GFX_idea_mikhail_kalinin"
			}
		}
		allowed_civil_war = {
			OR = {
				SOV_advisor_is_aligned_left = yes 
				SOV_advisor_is_aligned_right = yes 
				SOV_advisor_is_aligned_centre = yes 
			}
			has_government = communism
		}

		advisor = {
			slot = political_advisor
			idea_token = mikhail_kalinin
			allowed = {
				original_tag = SOV
			}
			
			visible = {
				NOT = {
					has_character_flag = SOV_character_purged_flag 
				}
			}
			available = {
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				popular_figurehead 
			}
			ai_will_do = {
				base = 1
			}
		}
	}
	
	SOV_nikita_khrushchyov = {
		name = SOV_nikita_khrushchyov
		portraits = {
			army = {
				small = "GFX_idea_nikita_khrushchev"
			}
		}
		allowed_civil_war = {
			OR = {
				SOV_advisor_is_aligned_left = yes 
				SOV_advisor_is_aligned_right = yes 
				SOV_advisor_is_aligned_centre = yes 
			}
			has_government = communism
		}

		advisor = {
			slot = political_advisor
			idea_token = nikita_khrushchyov
			allowed = {
				original_tag = SOV
			}
			visible = {
				NOT = {
					has_character_flag = SOV_character_purged_flag 
				}
			}
			available = {
				if = {
					limit = {
						has_dlc = "Man the Guns"
					}
					NOT = {
						has_autonomy_state = autonomy_supervised_state
					}
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				political_commissar 
			}
		}
	}

	SOV_nikolay_voznesensky = {
		name = SOV_nikolay_voznesensky

		portraits = {
			army = {
				small = "GFX_idea_SOV_nikolay_voznesensky"
			}
		}
		allowed_civil_war = {
				has_government = communism
			}

		advisor = {
			slot = political_advisor
			idea_token = SOV_nikolay_voznesensky
			name = SOV_nikolay_voznesensky 
			allowed = {
				original_tag = SOV
			}
			
			visible = {
				OR = {
					NOT = {
						has_character_flag = SOV_character_purged_flag 
					}
					SOV = {
						is_ai = yes
					}
				}
			}
			traits = {
				captain_of_industry 
			}
		}
	}

	SOV_lazar_kaganovich = {
		name = SOV_lazar_kaganovich
		portraits = {
			army = {
				small = "GFX_idea_SOV_lazar_kaganovich"
			}
		}
		allowed_civil_war = {
				has_government = communism
			}

		advisor = {
			slot = political_advisor
			idea_token = SOV_lazar_kaganovich
			allowed = {
				original_tag = SOV
			}
			visible = {
				NOT = {
					has_character_flag = SOV_character_purged_flag 
				}
			}
			available = {
				has_completed_focus = SOV_finish_the_five_year_plan 
			}
			
			traits = {
				iron_lazar 
			}
		}
	}

	SOV_genrikh_yagoda = {
		name = SOV_genrikh_yagoda

		portraits = {
			army = {
				small = "GFX_idea_SOV_genrikh_yagoda"
			}
		}

		allowed_civil_war = {
			OR = {
				has_completed_focus = SOV_the_plan_for_the_coup #Goes to right oppo if aligned via Plan for the Coup
				AND = { #If not aligned by Right oppo, then stays with Stalin
					original_tag = SOV
					NOT = { tag = SOV }
					NOT = {
						any_other_country = {
							original_tag = SOV
							has_completed_focus = SOV_the_plan_for_the_coup
						}
					}
				}
			}
			has_government = communism
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_genrikh_yagoda
			can_be_fired = no
			allowed = {
				original_tag = SOV
			}
			visible = {
				NOT = {
					has_character_flag = SOV_character_purged_flag 
				}
			}
			available = {
				hidden_trigger = {
					OR = {
						is_ai = no
						date < 1938.1.1
						NOT = { has_completed_focus = SOV_the_bloc_of_rights_and_trotskyites }
					}
				}
			}
			traits = {
				head_of_the_nkvd_yagoda_initial
			}
			on_add = {
				ROOT = { add_to_variable = { SOV_paranoia_weekly_modifiers_amount = 1 } }
				ROOT = { SOV_paranoia_modifier_update_gui_tooltip = yes }
			}
			on_remove = {
				ROOT = { subtract_from_variable = { SOV_paranoia_weekly_modifiers_amount = 1 } }
				ROOT = { SOV_paranoia_modifier_update_gui_tooltip = yes }
			}
		}
	}

	SOV_nikolay_yezhov = {
		name = SOV_nikolay_yezhov
		portraits = {
			army = {
				small = "GFX_idea_SOV_nikolay_yezhov"
			}
		}

		allowed_civil_war = {
			OR = {
				has_completed_focus = SOV_the_plan_for_the_coup #Goes to right oppo if aligned via Plan for the Coup
				AND = { #If not aligned by Right oppo, then stays with Stalin
					original_tag = SOV
					NOT = { tag = SOV }
					NOT = {
						any_other_country = {
							original_tag = SOV
							has_completed_focus = SOV_the_plan_for_the_coup
						}
					}
				}
			}
			has_government = communism
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_nikolay_yezhov
			can_be_fired = no
			allowed = {
				original_tag = SOV
			}
			available = {
				NOT = { has_idea = SOV_genrikh_yagoda }
				NOT = { has_idea = SOV_lavrenty_beriya }
				hidden_trigger = {
					OR = {
						is_ai = no
						date < 1938.1.1
						NOT = { has_completed_focus = SOV_the_bloc_of_rights_and_trotskyites }
					}
				}
			}
			traits = {
				head_of_the_nkvd_yezhov_initial 
			}
			on_add = {
				ROOT = { add_to_variable = { SOV_paranoia_weekly_modifiers_amount = 2 } }
				SOV_paranoia_modifier_update_gui_tooltip = yes
			}
			on_remove = {
				ROOT = { subtract_from_variable = { SOV_paranoia_weekly_modifiers_amount = 2 } }
				SOV_paranoia_modifier_update_gui_tooltip = yes
			}
		}
	}

	SOV_lavrenty_beriya = {
		#LA RESISTANCE
		instance = {
			allowed = {
				has_dlc = "La Resistance"
			}
			allowed_civil_war = {
				original_tag = SOV
				has_government = communism
				NOT = { tag = SOV }
			}
			name = SOV_lavrenty_beriya
			portraits = {
				civilian = {
					large = "GFX_portrait_SOV_lavrenty_beriya"
				}
				army = {
					small = "GFX_idea_SOV_lavrenty_beriya"
				}
			}

			advisor = {
				slot = political_advisor
				idea_token = SOV_lavrenty_beriya
				name = SOV_lavrenty_beriya
				can_be_fired = no
				allowed = {
					original_tag = SOV
				}
				visible = {
					NOT = {
						has_character_flag = SOV_character_purged_flag 
					}
				}
				available = {
					NOT = { has_idea = SOV_nikolay_yezhov }
					NOT = { has_idea = SOV_genrikh_yagoda }
					NOT = { is_country_leader = yes }
					hidden_trigger = {
						OR = {
							is_ai = no
							date < 1938.1.1
							NOT = { has_completed_focus = SOV_the_bloc_of_rights_and_trotskyites }
						}
					}
				}

				traits = {
					head_of_the_nkvd_beriya_initial
				}
				on_add = {
					ROOT = { add_to_variable = { SOV_paranoia_weekly_modifiers_amount = 2 } }
					SOV_paranoia_modifier_update_gui_tooltip = yes
				}
				on_remove = {
					ROOT = { subtract_from_variable = { SOV_paranoia_weekly_modifiers_amount = 2 } }
					SOV_paranoia_modifier_update_gui_tooltip = yes
				}
			}
		}
		#NO LA RESISTANCE
		instance = {
			allowed = {
				NOT = { has_dlc = "La Resistance" }
			}
			allowed_civil_war = {
				original_tag = SOV
				NOT = { tag = SOV }
				has_government = communism
			}
			name = SOV_lavrenty_beriya
			portraits = {
				civilian = {
					large = "GFX_portrait_SOV_lavrenty_beriya"
				}
				army = {
					small = "GFX_idea_SOV_lavrenty_beriya"
				}
			}
			advisor = {
				slot = political_advisor
				idea_token = SOV_lavrenty_beriya
				name = SOV_lavrenty_beriya
				can_be_fired = no
				allowed = {
					original_tag = SOV
				}
				visible = {
					NOT = {
						has_character_flag = SOV_character_purged_flag 
					}
				}
				available = {
					NOT = { has_idea = SOV_nikolay_yezhov }
					NOT = { has_idea = SOV_genrikh_yagoda }
					hidden_trigger = {
						OR = {
							is_ai = no
							date < 1938.1.1
							NOT = { has_completed_focus = SOV_the_bloc_of_rights_and_trotskyites }
						}
					}
				}

				traits = {
					head_of_the_nkvd_beriya_initial
				}
				on_add = {
					ROOT = { add_to_variable = { SOV_paranoia_weekly_modifiers_amount = 3 } }
					SOV_paranoia_modifier_update_gui_tooltip = yes
				}
				on_remove = {
					ROOT = { subtract_from_variable = { SOV_paranoia_weekly_modifiers_amount = 3 } }
					SOV_paranoia_modifier_update_gui_tooltip = yes
				}
			}
		}
	}

	SOV_vsevolod_merkulov = {
		name = SOV_vsevolod_merkulov
		portraits = {
			army = {
				small = "GFX_idea_soviet_vsevolod_merkulov"
			}
		}
		allowed_civil_war = {
			OR = {
				SOV_advisor_is_aligned_left = yes 
				SOV_advisor_is_aligned_right = yes 
				SOV_advisor_is_aligned_centre = yes 
			}
			has_government = communism
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_vsevolod_merkulov
			allowed = {
				original_tag = SOV
				has_dlc = "La Resistance"
			}
			visible = {
				NOT = {
					has_character_flag = SOV_character_purged_flag 
				}
			}
			available = {
				has_intelligence_agency = yes
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				head_of_intelligence 
			}
		}
	}

	SOV_vyacheslav_molotov = {
		name = SOV_vyacheslav_molotov
		portraits = {
			army = {
				small = "GFX_idea_SOV_vyacheslav_molotov"
			}
		}
		allowed_civil_war = {
			has_government = communism
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_vyacheslav_molotov
			allowed = {
				original_tag = SOV
			}
			visible = {
				NOT = {
					has_character_flag = SOV_character_purged_flag 
				}
			}
			available = {
				has_completed_focus = SOV_policy_of_individual_security
			}
			traits = {
				pc_for_foreign_affairs_molotov 
			}
		}
	}

	SOV_maksim_litvinov = {
		name = SOV_maksim_litvinov
		portraits = {
			army = {
				small = "GFX_idea_SOV_maksim_litvinov"
			}
		}
		allowed_civil_war = {
			has_government = communism
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_maksim_litvinov
			allowed = {
				original_tag = SOV
			}
			visible = {
				NOT = {
					has_character_flag = SOV_character_purged_flag 
				}
			}
			available = {
				has_completed_focus = SOV_policy_of_collective_security 
			}
			traits = {
				pc_for_foreign_affairs_litvinov 
			}
		}
	}

	SOV_lev_trotsky = {
		name = SOV_lev_trotsky
		portraits = {
			civilian = {
				large = GFX_portrait_SOV_lev_trotsky
			}
			army = {
				small = "GFX_idea_SOV_lev_trotsky"
			}
		}
		allowed_civil_war = { 
			OR = {
				AND = {
					tag = SOV 
					has_government = communism
				}
				AND = {
					SOV_is_exiles = yes 
					has_government = communism 
				}
			}
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_lev_trotsky
			allowed = {
				original_tag = SOV
			}
			on_add = {
				if = {
					limit = {	has_global_flag = AAT_trotsky_in_mexico }
					set_global_flag = flag_trotsky_returning_to_ussr_from_mexico
					MEX = { country_event = { id = mexico.22 } }		
				}
				else_if = {
					limit = { has_global_flag = NOR_trotsky_in_norway }
					set_global_flag = flag_trotsky_returning_to_ussr_from_norway
					set_global_flag = NOR_trotsky_in_soviet
					clr_global_flag = NOR_trotsky_in_norway
					NOR = { country_event = { id = mexico.22 } }
				}
			}
			
			visible = {
				OR = {
					AND = {
						NOT = {
							has_character_flag = SOV_character_purged_flag 
						}
						NOT = {
							has_global_flag = trotsky_dead
						}
					}
					has_completed_focus = SOV_santa_18
				}
			}
			available = {
				OR = {
					has_global_flag = SOV_soviet_civil_war
					has_global_flag = SOV_soviet_civil_war_over
					hidden_trigger = { has_completed_focus = SOV_santa_18 }
				}
				OR = {
					has_completed_focus = SOV_integrate_smirnovs_bloc
					has_completed_focus = SOV_return_democracy_to_the_party
					hidden_trigger = { has_completed_focus = SOV_santa_18 }
				}
				is_country_leader = no
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
				IF = {
					limit = {
						has_global_flag = flag_mexico_invited_trotsky_to_government
						NOT = { has_global_flag = flag_trotsky_has_returned_to_ussr_from_mexico }
						SOV_is_opposition = yes 
					}
					MEX = { 
						NOT = { has_idea = MEX_leon_trotsky }
						NOT = { has_country_leader = { character = MEX_leon_trotsky } } 
					}
				}
			}
			traits = {
				pc_military_naval_affairs
			}
		}
	}

	SOV_lev_trotsky_fake = {
		name = SOV_lev_trotsky
		portraits = {
			civilian = {
				large = GFX_portrait_SOV_lev_trotsky
			}
			army = {
				small = "GFX_idea_SOV_lev_trotsky"
			}
		}
		allowed_civil_war = { 
			OR = {
				AND = {
					tag = SOV 
					has_government = communism
				}
				AND = {
					SOV_is_exiles = yes 
					has_government = communism 
				}
			}
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_lev_trotsky
			allowed = {
				original_tag = SOV
			}
			on_add = {
				if = {
					limit = { has_global_flag = AAT_trotsky_in_mexico }
					set_global_flag = flag_trotsky_returning_to_ussr_from_mexico
					MEX = { country_event = { id = mexico.22 } }		
				}
				else_if = {
					limit = { has_global_flag = NOR_trotsky_in_norway }
					set_global_flag = flag_trotsky_returning_to_ussr_from_norway
					set_global_flag = NOR_trotsky_in_soviet
					clr_global_flag = NOR_trotsky_in_norway
					NOR = { country_event = { id = mexico.22 } }
				}
			}
			
			visible = {
				has_country_flag = revive_the_dead_trotsky
			}
			available = {
			}
			traits = {
				pc_military_naval_affairs
			}
		}
	}

	SOV_ivan_smirnov = {
		name = SOV_ivan_smirnov
		portraits = {
			civilian = {
				large = "GFX_portrait_SOV_ivan_smirnov"
			}
			army = {
				small = "GFX_idea_SOV_ivan_smirnov_imprisoned"
			}
		}
		allowed_civil_war = { 
			OR = {
				AND = {
					tag = SOV 
					has_government = communism
				}
				AND = {
					SOV_is_exiles = yes 
					has_government = communism 
				}
			}
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_ivan_smirnov
			allowed = {
				original_tag = SOV
			}
			visible = {
				NOT = { has_character_flag = SOV_character_purged_flag }
				
			}
			available = {
				OR = {
					has_global_flag = SOV_soviet_civil_war
					has_global_flag = SOV_soviet_civil_war_over
					hidden_trigger = { has_completed_focus = SOV_santa_18 }
				}
				OR = {
					has_completed_focus = SOV_integrate_smirnovs_bloc
					has_completed_focus = SOV_return_democracy_to_the_party
					hidden_trigger = { has_completed_focus = SOV_santa_18 }
				}
				is_country_leader = no
				if = {
					limit = {
						has_character_flag = SOV_imprisoned_flag
					}
					NOT = { has_character_flag = SOV_imprisoned_flag } #For flavor purposes only -> Removed in the appropriate focus/event/dec
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				head_directorate_of_new_buildings 
			}
		}
	}

	SOV_ivar_smilga = {
		name = SOV_ivar_smilga
		portraits = {
			army = {
				small = "GFX_idea_SOV_ivar_smilga_imprisoned"
			}
		}
		allowed_civil_war = { 
			OR = {
				AND = {
					tag = SOV 
					has_government = communism
				}
				AND = {
					SOV_is_exiles = yes 
					has_government = communism 
				}
			}
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_ivar_smilga
			allowed = {
				original_tag = SOV
			}
			visible = {
				NOT = {
					has_character_flag = SOV_character_purged_flag 
				}
			}
			available = {
				OR = {
					has_completed_focus = SOV_integrate_smirnovs_bloc
					has_completed_focus = SOV_return_democracy_to_the_party
					hidden_trigger = { has_completed_focus = SOV_santa_18 }
				}
				if = {
					limit = {
						has_character_flag = SOV_imprisoned_flag
					}
					NOT = { has_character_flag = SOV_imprisoned_flag } #For flavor purposes only -> Removed in the appropriate focus/event/dec
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				soviet_economist
			}
		}
	}


	SOV_karl_radek = {
		name = SOV_karl_radek

		portraits = {
			army = {
				small = "GFX_idea_SOV_karl_radek"
			}
		}

		allowed_civil_war = {
			OR = {
				AND = {
					tag = SOV
					SOV_is_left_opposition = yes 
					has_completed_focus = SOV_bring_old_trotskyists_back
				}
				AND = {
					tag = SOV
					SOV_is_right_opposition = yes 
					has_completed_focus = SOV_cooperation_against_stalin 
				}
				AND = {
					SOV_is_exiles = yes 
					has_government = communism 
				}
			}
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_karl_radek
			allowed = {
				original_tag = SOV
			}
			visible = {
				NOT = {
					has_character_flag = SOV_character_purged_flag 
				}
			}
			available = {
				OR = {
					AND = {
						SOV_is_left_opposition = yes 
						has_completed_focus = SOV_bring_old_trotskyists_back
					}
					AND = {
						SOV_is_right_opposition = yes 
						has_completed_focus = SOV_cooperation_against_stalin 
					}
					hidden_trigger = { has_completed_focus = SOV_santa_18 }
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				international_revolutionary 
			}
		}
	}


	SOV_karl_radek_fake = {
		name = SOV_karl_radek

		portraits = {
			army = {
				small = "GFX_idea_SOV_karl_radek"
			}
		}

		allowed_civil_war = {
			OR = {
				AND = {
					tag = SOV
					SOV_is_left_opposition = yes 
					has_completed_focus = SOV_bring_old_trotskyists_back
				}
				AND = {
					tag = SOV
					SOV_is_right_opposition = yes 
					has_completed_focus = SOV_cooperation_against_stalin 
				}
				AND = {
					SOV_is_exiles = yes 
					has_government = communism 
				}
			}
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_karl_radek
			allowed = {
				original_tag = SOV
			}
			
			visible = {
				has_country_flag = revive_the_dead
			}
			available = {
			}
			traits = {
				international_revolutionary 
			}
		}
	}

	SOV_yevgeny_preobrazhensky_fake = {
		name = SOV_yevgeny_preobrazhensky
		portraits = {
			army = {
				small = "GFX_idea_SOV_yevgeny_preobrazhensky"
			}
		}

		allowed_civil_war = {
			OR = {
				AND = {
					tag = SOV
					SOV_is_left_opposition = yes 
					has_completed_focus = SOV_bring_old_trotskyists_back
				}
				AND = {
					tag = SOV
					SOV_is_right_opposition = yes 
					has_completed_focus = SOV_cooperation_against_stalin 
				}
				AND = {
					SOV_is_exiles = yes 
					has_government = communism 
				}
			}
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_yevgeny_preobrazhensky
			allowed = {
				original_tag = SOV
			}
			
			visible = {
				has_country_flag = revive_the_dead
			}
			available = {
			}
			traits = {
				ecomonist_publicist 
			}
		}
	}

	SOV_yevgeny_preobrazhensky = {
		name = SOV_yevgeny_preobrazhensky
		portraits = {
			army = {
				small = "GFX_idea_SOV_yevgeny_preobrazhensky"
			}
		}

		allowed_civil_war = {
			OR = {
				AND = {
					tag = SOV
					SOV_is_left_opposition = yes 
					has_completed_focus = SOV_bring_old_trotskyists_back
				}
				AND = {
					tag = SOV
					SOV_is_right_opposition = yes 
					has_completed_focus = SOV_cooperation_against_stalin 
				}
				AND = {
					SOV_is_exiles = yes 
					has_government = communism 
				}
			}
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_yevgeny_preobrazhensky
			allowed = {
				original_tag = SOV
			}
			visible = {
				NOT = {
					has_character_flag = SOV_character_purged_flag 
				}
			}
			available = {
				OR = {
					AND = {
						tag = SOV
						SOV_is_left_opposition = yes 
						has_completed_focus = SOV_bring_old_trotskyists_back
					}
					AND = {
						tag = SOV
						SOV_is_right_opposition = yes 
						has_completed_focus = SOV_cooperation_against_stalin 
					}
					hidden_trigger = { has_completed_focus = SOV_santa_18 }
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				ecomonist_publicist 
			}
		}
	}

	SOV_aleksandr_shlyapnikov = {
		name = SOV_aleksandr_shlyapnikov
		portraits = {
			army = {
				small = "GFX_idea_SOV_aleksandr_shlyapnikov_imprisoned"
			}
		}
		allowed_civil_war = { 
			OR = {
				AND = {
					tag = SOV 
					has_government = communism
				}
				AND = {
					SOV_is_exiles = yes 
					has_government = communism 
				}
			}
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_aleksandr_shlyapnikov
			allowed = {
				original_tag = SOV
			}
			visible = {
				NOT = {
					has_character_flag = SOV_character_purged_flag 
				}
			}
			available = {
				OR = {
					SOV_is_left_opposition = yes
					has_completed_focus = SOV_return_democracy_to_the_party
					hidden_trigger = { has_completed_focus = SOV_santa_18 }
				}
				if = {
					limit = {
						has_character_flag = SOV_imprisoned_flag
					}
					NOT = { has_character_flag = SOV_imprisoned_flag } #For flavor purposes only -> Removed in the appropriate focus/event/dec
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				left_trade_unionist
			}
		}
	}

	SOV_nikolay_bukharin = {
		name = SOV_nikolay_bukharin
		portraits = {
			civilian = {
				large = "GFX_portrait_SOV_nikolay_bukharin"
			}
			army = {
				small = "GFX_idea_SOV_nikolay_bukharin"
			}
		}

		allowed_civil_war = {
			OR = {
				SOV_is_right_opposition = yes 
				AND = {
					SOV_is_left_opposition = yes 
					has_completed_focus = SOV_cooperation_against_stalin 
				}
				AND = {
					SOV_is_exiles = yes 
					has_government = communism 
				}
			}

		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_nikolay_bukharin
			allowed = {
				original_tag = SOV
			}
			visible = {
				NOT = {
					has_character_flag = SOV_character_purged_flag 
				}
			}
			available = {
				OR = {
					SOV_is_right_opposition = yes 
					AND = {
						SOV_is_left_opposition = yes 
						has_completed_focus = SOV_cooperation_against_stalin 
					}
					hidden_trigger = { has_completed_focus = SOV_santa_18 }
				}
				is_country_leader = no
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				economy_reformer 
			}
		}
	}

	SOV_nikolay_bukharin_fake = {
		name = SOV_nikolay_bukharin
		portraits = {
			civilian = {
				large = "GFX_portrait_SOV_nikolay_bukharin"
			}
			army = {
				small = "GFX_idea_SOV_nikolay_bukharin"
			}
		}

		allowed_civil_war = {
			OR = {
				SOV_is_right_opposition = yes 
				AND = {
					SOV_is_left_opposition = yes 
					has_completed_focus = SOV_cooperation_against_stalin 
				}
				AND = {
					SOV_is_exiles = yes 
					has_government = communism 
				}
			}

		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_nikolay_bukharin
			allowed = {
				original_tag = SOV
			}
			
			visible = {
				has_country_flag = revive_the_dead
			}
			available = {
			}
			traits = {
				economy_reformer 
			}
		}
	}
	
	SOV_aleksey_rykov = {
		name = SOV_aleksey_rykov

		portraits = {
			civilian = {
				large = "GFX_portrait_SOV_aleksey_rykov"
			}
			army = {
				small = "GFX_idea_SOV_aleksey_rykov"
			}
		}

		allowed_civil_war = {
			OR = {
				SOV_is_right_opposition = yes 
				AND = {
					SOV_is_left_opposition = yes 
					has_completed_focus = SOV_cooperation_against_stalin 
				}
				AND = {
					SOV_is_exiles = yes 
					has_government = communism 
				}
			}
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_aleksey_rykov
			allowed = {
				original_tag = SOV
			}
			visible = {
				NOT = {
					has_character_flag = SOV_character_purged_flag 
				}
			}
			available = {
				OR = {
					SOV_is_right_opposition = yes 
					AND = {
						SOV_is_left_opposition = yes 
						has_completed_focus = SOV_cooperation_against_stalin 
					}
					hidden_trigger = { has_completed_focus = SOV_santa_18 }
				}
				is_country_leader = no
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			
			traits = {
				peoples_commissar_for_posts_and_telegraphs 
			}
		}
	}

	SOV_mikhail_tomsky = {
		name = SOV_mikhail_tomsky
		portraits = {
			army = {
				small = "GFX_idea_SOV_mikhail_tomsky"
			}
		}
		allowed_civil_war = { 
			OR = {
				AND = {
					tag = SOV 
					has_government = communism
				}
				AND = {
					SOV_is_exiles = yes 
					has_government = communism 
				}
			}
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_mikhail_tomsky
			allowed = {
				original_tag = SOV
			}
			visible = {
				NOT = {
					has_character_flag = SOV_character_purged_flag 
				}
			}
			available = {
				OR = {
					SOV_is_right_opposition = yes
					has_completed_focus = SOV_return_democracy_to_the_party
					hidden_trigger = { has_completed_focus = SOV_santa_18 }
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				right_trade_unionist 
			}
		}
	}

	SOV_mikhail_tomsky_fake = {
		name = SOV_mikhail_tomsky
		portraits = {
			army = {
				small = "GFX_idea_SOV_mikhail_tomsky"
			}
		}
		allowed_civil_war = { 
			OR = {
				AND = {
					tag = SOV 
					has_government = communism
				}
				AND = {
					SOV_is_exiles = yes 
					has_government = communism 
				}
			}
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_mikhail_tomsky
			allowed = {
				original_tag = SOV
			}
			
			visible = {
				has_country_flag = revive_the_dead
			}
			available = {
			}
			traits = {
				right_trade_unionist 
			}
		}
	}

	SOV_grigory_sokolnikov = {
		name = SOV_grigory_sokolnikov
		portraits = {
			army = {
				small = "GFX_idea_SOV_grigory_sokolnikov"
			}
		}
		allowed_civil_war = {
			has_government = communism
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_grigory_sokolnikov
			allowed = {
				original_tag = SOV
			}
			visible = {
				NOT = {
					has_character_flag = SOV_character_purged_flag 
				}
			}
			available = {
				OR = {
					has_completed_focus = SOV_the_need_for_policy_changes 
					has_completed_focus = SOV_return_democracy_to_the_party
					hidden_trigger = { has_completed_focus = SOV_santa_18 }
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				peoples_commissar_of_finance 
			}
		}
	}

	SOV_grigory_zinovyev = {
		name = SOV_grigory_zinovyev
		portraits = {
			civilian = {
				large = "GFX_portrait_SOV_grigory_zinovyev"
			}
			army = {
				small = "GFX_idea_SOV_grigory_zinovyev_imprisoned"
			}
		}
		allowed_civil_war = { 
			OR = {
				AND = {
					tag = SOV 
					has_government = communism
				}
				AND = {
					SOV_is_exiles = yes 
					has_government = communism 
				}
			}
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_grigory_zinovyev
			allowed = {
				original_tag = SOV
			}
			visible = {
				NOT = {
					has_character_flag = SOV_character_purged_flag 
				}
			}
			available = {
				OR = {
					has_completed_focus = SOV_align_the_zinovyevites
					has_completed_focus = SOV_santa_18
				}
				OR = {
					has_global_flag = SOV_soviet_civil_war
					has_global_flag = SOV_soviet_civil_war_over
					AND = {
						has_completed_focus = SOV_the_plan_for_the_coup
						has_completed_focus = SOV_coup_detat
					}
					hidden_trigger = { has_completed_focus = SOV_santa_18 }
				}
				if = {
					limit = {
						has_character_flag = SOV_imprisoned_flag
					}
					NOT = { has_character_flag = SOV_imprisoned_flag } #For flavor purposes only -> Removed in the appropriate focus/event/dec
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				communist_theorist
			}
		}		
	}
	
	SOV_lev_kamenev = {
		name = SOV_lev_kamenev
		portraits = {
			civilian = {
				large = "GFX_portrait_SOV_lev_kamenev"
			}
			army = {
				small = "GFX_idea_SOV_lev_kamenev_imprisoned"
			}
		}
		allowed_civil_war = { 
			OR = {
				AND = {
					tag = SOV 
					has_government = communism
				}
				AND = {
					SOV_is_exiles = yes 
					has_government = communism 
				}
			}
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_lev_kamenev
			allowed = {
				original_tag = SOV
			}
			visible = {
				NOT = {
					has_character_flag = SOV_character_purged_flag 
				}
			}
			available = {
				OR = {
					has_completed_focus = SOV_align_the_zinovyevites
					hidden_trigger = { has_completed_focus = SOV_santa_18 }
				}
				OR = {
					has_global_flag = SOV_soviet_civil_war
					has_global_flag = SOV_soviet_civil_war_over
					hidden_trigger = { has_completed_focus = SOV_santa_18 }
				}
				if = {
					limit = {
						has_character_flag = SOV_imprisoned_flag
					}
					NOT = { has_character_flag = SOV_imprisoned_flag } #For flavor purposes only -> Removed in the appropriate focus/event/dec
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				appeasing_technocrat 
			}
		}
	}

	SOV_martemyan_ryutin = {
		name = SOV_martemyan_ryutin
		portraits = {
			army = {
				small = "GFX_idea_SOV_martemyan_ryutin_imprisoned"
			}
		}

		allowed_civil_war = {
			OR = {
				AND = {
					SOV_is_left_opposition = yes 
					has_completed_focus = SOV_liberate_ryutin
				}
				AND = {
					SOV_is_right_opposition = yes 
					has_completed_focus = SOV_liberate_ryutin 
				}
				AND = {
					SOV_is_exiles = yes 
					has_government = communism
				}
			}
		}


		advisor = {
			slot = political_advisor
			idea_token = SOV_martemyan_ryutin
			allowed = {
				original_tag = SOV
			}
			visible = {
				NOT = {
					has_character_flag = SOV_character_purged_flag 
				}
			}
			available = {
				OR = {
					has_completed_focus = SOV_liberate_ryutin
					hidden_trigger = { has_completed_focus = SOV_santa_18 }
				}
				OR = {
					has_global_flag = SOV_soviet_civil_war
					has_global_flag = SOV_soviet_civil_war_over
				}
				if = {
					limit = {
						has_character_flag = SOV_imprisoned_flag
					}
					NOT = { has_character_flag = SOV_imprisoned_flag } #For flavor purposes only -> Removed in the appropriate focus/event/dec
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				anti_stalinist_propagandist 
			}
		}
	}
	
	SOV_patriarch_sergy = {
		name = SOV_patriarch_sergy
		portraits = {
			army = {
				small = "GFX_idea_SOV_patriarch_sergy"
			}
		}
		allowed_civil_war = {
			OR = {
				has_government = neutrality 
				has_government = fascism
			}
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_patriarch_sergy
			allowed = {
				original_tag = SOV
			}
			available = {
				OR = {
					has_completed_focus = SOV_patriarch_of_all_russia
					has_completed_focus = SOV_the_declaration
				}
			}
			traits = {
				patriarch_of_moscow_and_all_russia 
			}
		}
	}
	
	SOV_metropolitan_anastasy = {
		name = SOV_metropolitan_anastasy
		portraits = {
			army = {
				small = "GFX_idea_SOV_metropolitan_anastasy"
			}
		}
		allowed_civil_war = {
			OR = {
				has_government = neutrality 
				has_government = fascism
			}
		}
		advisor = {
			slot = political_advisor
			idea_token = SOV_metropolitan_anastasy
			allowed = {
				original_tag = SOV
			}
			visible = {
				has_completed_focus = SOV_beaten_but_not_defeated
			}
			available = {
				has_completed_focus = SOV_return_of_the_rocor
			}
			traits = {
				orthodox_rabblerouser
			}
		}		
	}

	SOV_metropolitan_nikolay = {
		name = SOV_metropolitan_nikolay
		portraits = {
			army = {
				small = "GFX_idea_SOV_metropolitan_nikolay"
			}
		}
		allowed_civil_war = {
			OR = {
				has_government = neutrality 
				has_government = fascism
			}
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_metropolitan_nikolay
			allowed = {
				original_tag = SOV
			}
			visible = {
				has_completed_focus = SOV_beaten_but_not_defeated
			}
			available = {
				has_completed_focus = SOV_the_declaration
			}
			traits = {
				theocratic_diplomat
			}
		}
	}

	SOV_metropolitan_aleksy = {
		name = SOV_metropolitan_aleksy
		portraits = {
			army = {
				small = "GFX_idea_SOV_metropolitan_aleksy"
			}
		}
		allowed_civil_war = {
			OR = {
				has_government = neutrality 
				has_government = fascism
			}
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_metropolitan_aleksy
			allowed = {
				original_tag = SOV
			}
			available = {
				has_completed_focus = SOV_the_declaration
			}
			visible = {
				has_completed_focus = SOV_beaten_but_not_defeated
			}
			traits = {
				driver_of_the_faithful
			}
		}		
	}

	SOV_anastasy_vonsyatsky = {
		name = SOV_anastasy_vonsyatsky
		portraits = {
			army = {
				small = "GFX_idea_SOV_anastasy_vonsyatsky"
			}
		}
		allowed_civil_war = {
			OR = {
				has_government = neutrality 
				has_government = fascism
			}
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_anastasy_vonsyatsky
			allowed = {
				original_tag = SOV
			}
			visible = {
				NOT = {
					has_character_flag = SOV_character_purged_flag 
				}
			}
			available = {
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				the_foreign_connection
			}
		}		
	}

	SOV_grigory_semyonov = {
		name = SOV_grigory_semyonov
		portraits = {
			army = {
				small = "GFX_idea_SOV_grigory_semyonov"
				large = "GFX_portrait_SOV_grigory_semyonov"
			}
		}

		corps_commander = {
			traits = { cavalry_officer cavalry_leader }
			skill = 3
			attack_skill = 4
			defense_skill = 2
			planning_skill = 1
			logistics_skill = 3
			legacy_id = 0
			visible = {
				OR = {
					has_idea = SOV_grigory_semyonov
					has_completed_focus = SOV_approach_semyonov
				}
			}
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_grigory_semyonov
			allowed = {
				OR = {
					original_tag = SOV
					original_tag = MAN # This is where he starts the game
				}
			}
			available = {
				if = { 
					limit = { tag = MAN }
					custom_trigger_tooltip = {
					 	tooltip = SOV_grigory_semyonov_man_tt
					 	SOV_soviet_civil_war_not_started = yes 
					 	NOT = { SOV = { has_completed_focus = SOV_approach_semyonov } }
					}
				}
				
				if = {
					limit = { tag = SOV }
					has_completed_focus = SOV_approach_semyonov
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			visible = {
				NOT = {
					has_character_flag = SOV_character_purged_flag 
				}
			}
			traits = {
				ataman_transbaikal_host
			}
		}		
	}

	SOV_nikolay_ustryalov = {
		name = SOV_nikolay_ustryalov
		portraits = {
			army = {
				small = "GFX_idea_SOV_nikolay_ustryalov"
			}
		}
		allowed_civil_war = {
			OR = {
				has_government = neutrality 
				has_government = fascism
			}
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_nikolay_ustryalov
			allowed = {
				original_tag = SOV
			}
			available = {
				has_completed_focus = SOV_consolidate_power
			}
			traits = {
				political_chameleon
			}
		}		
	}

	SOV_aleksandr_kazembek = {
		name = SOV_aleksandr_kazembek
		portraits = {
			army = {
				small = "GFX_idea_SOV_aleksandr_kazembek"
			}
		}
		allowed_civil_war = {
			OR = {
				has_government = neutrality 
				has_government = fascism
			}
		}

		advisor = {
			slot = political_advisor
			idea_token = SOV_aleksandr_kazembek
			allowed = {
				original_tag = SOV
			}
			visible = {
				NOT = {
					has_character_flag = SOV_character_purged_flag 
				}
			}
			available = {
				has_completed_focus = SOV_reconvene_the_zemsky_sobor
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				mladorossi_theorist
			}
		}
	}


 #######                                         #     #                                                     #                                                       
 #        #    #  #  #       ######   ####       ##   ##  #  #       #  #####    ##    #####   #   #        # #    #####   #    #  #   ####    ####   #####    ####  
 #         #  #   #  #       #       #           # # # #  #  #       #    #     #  #   #    #   # #        #   #   #    #  #    #  #  #       #    #  #    #  #      
 #####      ##    #  #       #####    ####       #  #  #  #  #       #    #    #    #  #    #    #        #     #  #    #  #    #  #   ####   #    #  #    #   ####  
 #          ##    #  #       #            #      #     #  #  #       #    #    ######  #####     #        #######  #    #  #    #  #       #  #    #  #####        # 
 #         #  #   #  #       #       #    #      #     #  #  #       #    #    #    #  #   #     #        #     #  #    #   #  #   #  #    #  #    #  #   #   #    # 
 #######  #    #  #  ######  ######   ####       #     #  #  ######  #    #    #    #  #    #    #        #     #  #####     ##    #   ####    ####   #    #   ####  
                                                                                                                                                                     
 	#THEORIST - AIR
	SOV_aleksandr_prokofyev_seversky = {
		name = SOV_aleksandr_prokofyev_seversky
		portraits = {
			army = {
				small = "GFX_idea_SOV_aleksandr_prokofyev_seversky"
			}
		}
		allowed_civil_war = {
			OR = {
				has_government = neutrality 
				has_government = fascism
			}
		}
		advisor = {
			cost = 100
			slot = theorist
			idea_token = SOV_aleksandr_prokofyev_seversky
			ledger = air
			allowed = {
				original_tag = SOV
			}
			available = {
				SOV_is_exiles = yes
				OR = {
					has_global_flag = SOV_soviet_civil_war
					has_global_flag = SOV_soviet_civil_war_over
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = { victory_through_airpower }
		}
	}

	#CHIEF OF AIRFORCE
	SOV_vyacheslav_tkachyov = {
		name = SOV_vyacheslav_tkachyov

		portraits = {
			army = {
				small = "GFX_idea_SOV_vyacheslav_tkachyov"
			}
		}
		allowed_civil_war = {
			OR = {
				has_government = neutrality 
				has_government = fascism
			}
		}

		advisor = {
			cost = 100
			slot = air_chief
			idea_token = SOV_vyacheslav_tkachyov
			allowed = {
				original_tag = SOV
			}
			available = {
				SOV_is_exiles = yes
				OR = {
					has_global_flag = SOV_soviet_civil_war
					has_global_flag = SOV_soviet_civil_war_over
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = { air_chief_reform_2 }
			ai_will_do = {
				factor = 1.000
				modifier = {
					factor = 0
					NOT = { has_idea = independent_air_force_spirit }
				}
			}
		}
	}

	#CHIEF OF AIRFORCE
	SOV_yan_nagursky = {
		name = SOV_yan_nagursky

		portraits = {
			army = {
				small = "GFX_idea_SOV_yan_nagursky"
			}
		}
		allowed_civil_war = {
			OR = {
				has_government = neutrality 
				has_government = fascism
			}
		}
		
		advisor = {
			cost = 100
			slot = air_chief
			idea_token = SOV_yan_nagursky
			allowed = {
				original_tag = SOV
			}
			available = {
				SOV_is_exiles = yes
				OR = {
					has_global_flag = SOV_soviet_civil_war
					has_global_flag = SOV_soviet_civil_war_over
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = { air_chief_all_weather_2 }
			ai_will_do = {
				factor = 0.25
				modifier = {
					factor = 0
					NOT = { has_idea = independent_air_force_spirit }
				}
			}
		}
	}

	#MHC - Air
	SOV_vasily_yanchenko = {
		name = SOV_vasily_yanchenko

		portraits = {
			army = {
				small = "GFX_idea_SOV_vasily_yanchenko"
			}
		}
		allowed_civil_war = {
			OR = {
				has_government = neutrality 
				has_government = fascism
			}
		}
		
		advisor = {
			cost = 100
			slot = high_command
			idea_token = SOV_vasily_yanchenko
			ledger = air
			allowed = {
				original_tag = SOV
			}
			available = {
				SOV_is_exiles = yes
				OR = {
					has_global_flag = SOV_soviet_civil_war
					has_global_flag = SOV_soviet_civil_war_over
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = { air_air_superiority_2 }
		}
	}	


  ####    ####   #    #  #    #  #####  #####   #   #      #       ######    ##    #####   ######  #####    ####  
 #    #  #    #  #    #  ##   #    #    #    #   # #       #       #        #  #   #    #  #       #    #  #      
 #       #    #  #    #  # #  #    #    #    #    #        #       #####   #    #  #    #  #####   #    #   ####  
 #       #    #  #    #  #  # #    #    #####     #        #       #       ######  #    #  #       #####        # 
 #    #  #    #  #    #  #   ##    #    #   #     #        #       #       #    #  #    #  #       #   #   #    # 
  ####    ####    ####   #    #    #    #    #    #        ######  ######  #    #  #####   ######  #    #   ####  

	SOV_konstantin_rodzayevsky = {
		instance = {
			allowed = {
				has_dlc = "No Step Back"
			}
			name = SOV_konstantin_rodzayevsky

			portraits = {
				civilian = {
					large = GFX_portrait_SOV_konstantin_rodzayevsky
				}
				army = {
					small = "GFX_idea_konstantin_rodzaevsky"
				}
			}

			country_leader = {
				ideology = fascism_ideology
				traits = { fascist_orchestrator }
				expire = "1953.3.1.1"
				id = -1
			}
		}
		instance = {
			allowed = {
				NOT = { has_dlc = "No Step Back" }
			}
			name = SOV_konstantin_rodzayevsky

			portraits = {
				army = {
					small = "GFX_idea_konstantin_rodzaevsky"
				}
			}
			advisor = {
				slot = political_advisor
				idea_token = konstantin_rodzaevsky
				allowed = {
					original_tag = SOV
				}
				visible = {
					NOT = {
						has_character_flag = SOV_character_purged_flag 
					}
				}
				available = {
					if = {
						limit = {
							has_dlc = "Man the Guns"
						}
						NOT = {
							has_autonomy_state = autonomy_supervised_state
						}
					}
					if = {
						limit = {
							has_character_flag = SOV_exiled_flag
						}
						NOT = { has_character_flag = SOV_exiled_flag }
					}
				}
				traits = {
					fascist_demagogue 
				}
				do_effect = {
					NOT = {
						has_government = fascism 
					}
				}
				ai_will_do = {
					factor = 0.000
				}
			}
		}
	}

	SOV_aleksandr_kerensky = {
		name = SOV_aleksandr_kerensky

		portraits = {
			civilian = {
				large = GFX_portrait_SOV_aleksandr_kerensky
			}
			army = {
				small = "GFX_idea_alexander_kerensky"
			}
		}
		country_leader = {
			ideology = socialism
			expire = "1953.3.1.1"
			id = -1
		}
		allowed_civil_war = { tag = SOV}

		advisor = {
			slot = political_advisor
			idea_token = SOV_aleksandr_kerensky
			allowed = {
					original_tag = SOV
			}
			visible = {
				NOT = {
					has_character_flag = SOV_character_purged_flag 
				}
			}
			available = {
				if = {
					limit = {
						has_dlc = "Man the Guns"
					}
					NOT = {
						has_autonomy_state = autonomy_supervised_state
					}
				}
				if = {
					limit = {
						has_character_flag = SOV_exiled_flag
					}
					NOT = { has_character_flag = SOV_exiled_flag }
				}
			}
			traits = {
				democratic_reformer 
			}
			do_effect = {
				NOT = {
					has_government = democratic 
				}
			}
			ai_will_do = {
				factor = 0.000
			}
		}
	}
	SOV_igor_kurchatov = {
		name = SOV_igor_kurchatov
		portraits = {
			army = {
				large = GFX_portrait_SOV_igor_kurchatov
				small = GFX_idea_igor_kurchatov
			}
		}

		scientist = {
			traits = { scientist_trait_nuclear_specialist scientist_trait_fast_learner }
			skills = {
				specialization_nuclear = 2
				specialization_naval = 2
			}
		}

		#advisor = {
		#	cost = 100
		#	slot = theorist
		#	idea_token = igor_kurchatov
		#	ledger = army
		#	allowed = {
		#		original_tag = SOV
		#	}
		#	research_bonus = {
		#		nuclear = 0.150
		#	}
		#	traits = {
		#		nuclear_scientist
		#	}
		#}
	}

	SOV_abram_ioffe = {
		name = SOV_abram_ioffe
		portraits = {
			army = {
				large = GFX_portrait_SOV_abram_ioffe
			}
		}

		scientist = {
			traits = { scientist_trait_nuclear_power_expert }
			skills = {
				specialization_nuclear = 2
			}
		}
	}

	SOV_sergey_korolyov = {
		name = SOV_sergey_korolyov
		portraits = {
			army = {
				large = GFX_portrait_SOV_sergei_korolev
				small = GFX_idea_sergei_korolev
			}
		}

		scientist = {
			traits = { scientist_trait_rocketry_specialist scientist_trait_gifted_engineer }
			skills = {
				specialization_air = 2
			}
		}

		#advisor = {
		#	cost = 100
		#	slot = theorist
		#	idea_token = sergei_korolev
		#	ledger = air
		#	allowed = {
		#		original_tag = SOV
		#	}
		#	research_bonus = {
		#		rocketry = 0.150
		#	}
		#	traits = {
		#		rocket_scientist
		#	}
		#}		
	}

	SOV_boris_stechkin = {
		name = SOV_boris_stechkin
		portraits = {
			army = {
				large = GFX_portrait_SOV_boris_stechkin
			}
		}

		scientist = {
			traits = { scientist_trait_jet_expert scientist_trait_brilliant_theorist }
			skills = {
				specialization_air = 2
			}
		}
	}

	SOV_arkady_nazarov = {
		name = SOV_arkady_nazarov
		portraits = {
			army = {
				large = GFX_portrait_SOV_arkady_nazarov
			}
		}

		scientist = {
			traits = { scientist_trait_aircraft_specialist scientist_trait_fast_learner }
			skills = {
				specialization_air = 2
			}
		}
	}

	SOV_vladimir_kotelnikov = {
		name = SOV_vladimir_kotelnikov
		portraits = {
			army = {
				large = GFX_portrait_SOV_vladimir_kotelnikov
			}
		}

		scientist = {
			traits = { scientist_trait_electronics_specialist }
			skills = {
				specialization_air = 2
			}
		}
	}

}
