focus_tree = {
	id = soviet_focus
	country = {
		factor = 0
		modifier = {
			add = 10
			tag = SOV
		}
	}
	default = no
	
	continuous_focus_position = { x = 250 y = 1500 }
	
	focus = {
		id = SOV_infrastructure_effort_nsb
		icon = GFX_goal_generic_construction
		cost = 5
		x = 14
		y = 0
			ai_will_do = {
					factor = 1
				}
			available = {

}
			bypass = {
					custom_trigger_tooltip = {
							tooltip = infrastructure_effort_tt
							all_owned_state = {
									free_building_slots = {
											building = infrastructure
											size < 1
										}
								}
						}
				}
			search_filters = { FOCUS_FILTER_INDUSTRY }
			complete_tooltip = {
					every_state = {
							limit = {
									has_state_flag = SOV_infrastructure_effort_3Inf
								}
							add_building_construction = {
									type = infrastructure
									level = 1
									instant_build = yes
								}
						}
				}
			completion_reward = {
					if = {
							limit = {
									all_owned_state = {
											infrastructure > 1
										}
								}
							random_owned_controlled_state = {
									limit = {
											free_building_slots = {
													building = infrastructure
													size > 0
												}
										}
									add_building_construction = {
											type = infrastructure
											level = 1
											instant_build = yes
										}
									set_state_flag = SOV_infrastructure_effort_3Inf
								}
							random_owned_controlled_state = {
									limit = {
											free_building_slots = {
													building = infrastructure
													size > 0
												}
										}
									add_building_construction = {
											type = infrastructure
											level = 1
											instant_build = yes
										}
									set_state_flag = SOV_infrastructure_effort_3Inf
								}
						}
					random_owned_controlled_state = {
							limit = {
									infrastructure < 3
								}
							add_building_construction = {
									type = infrastructure
									level = 1
									instant_build = yes
								}
							set_state_flag = SOV_infrastructure_effort_3Inf
						}
					random_owned_controlled_state = {
							limit = {
									infrastructure < 3
								}
							add_building_construction = {
									type = infrastructure
									level = 1
									instant_build = yes
								}
							set_state_flag = SOV_infrastructure_effort_3Inf
						}
					random_owned_controlled_state = {
							limit = {
									infrastructure < 3
								}
							add_building_construction = {
									type = infrastructure
									level = 1
									instant_build = yes
								}
							set_state_flag = SOV_infrastructure_effort_3Inf
						}
					random_owned_controlled_state = {
							limit = {
									infrastructure < 3
								}
							add_building_construction = {
									type = infrastructure
									level = 1
									instant_build = yes
								}
							set_state_flag = SOV_infrastructure_effort_3Inf
						}
				}

	}
	focus = {
		id = SOV_heavy_industry
		icon = GFX_goal_generic_construct_civ_factory
		cost = 5
		x = 16
		y = 0
			ai_will_do = {
					factor = 1
				}
			available = { }
			search_filters = { FOCUS_FILTER_INDUSTRY }
			complete_tooltip = {
					every_state = {
							limit = {
									has_state_flag = SOV_finish_five_year_plan_2IC
								}
							add_extra_state_shared_building_slots = 1
							add_building_construction = {
									type = industrial_complex
									level = 1
									instant_build = yes
								}
						}
				}
			completion_reward = {
					IF = {
							limit = {
									any_owned_state = {
											is_controlled_by = ROOT
											industrial_complex > 0
											free_building_slots = {
													building = industrial_complex
													size > 0
													include_locked = yes
												}
											NOT = {
													has_state_flag = SOV_finish_five_year_plan_2IC
												}
										}
								}
							random_owned_controlled_state = {
									limit = {
											industrial_complex > 0
											free_building_slots = {
													building = industrial_complex
													size > 0
													include_locked = yes
												}
										}
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = industrial_complex
											level = 1
											instant_build = yes
										}
									set_state_flag = SOV_finish_five_year_plan_2IC
								}
						}
					ELSE = {
							random_owned_controlled_state = {
									limit = {
											free_building_slots = {
													building = industrial_complex
													size > 0
													include_locked = yes
												}
										}
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = industrial_complex
											level = 1
											instant_build = yes
										}
									set_state_flag = SOV_finish_five_year_plan_2IC
								}
						}
					IF = {
							limit = {
									check_variable = {
											num_owned_states > 1
										}
									any_owned_state = {
											is_controlled_by = ROOT
											industrial_complex > 0
											free_building_slots = {
													building = industrial_complex
													size > 0
													include_locked = yes
												}
											NOT = {
													has_state_flag = SOV_finish_five_year_plan_2IC
												}
										}
								}
							random_owned_controlled_state = {
									limit = {
											industrial_complex > 0
											free_building_slots = {
													building = industrial_complex
													size > 0
													include_locked = yes
												}
											NOT = {
													has_state_flag = SOV_finish_five_year_plan_2IC
												}
										}
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = industrial_complex
											level = 1
											instant_build = yes
										}
									set_state_flag = SOV_finish_five_year_plan_2IC
								}
						}
					ELSE_IF = {
							limit = {
									check_variable = {
											num_owned_states > 1
										}
								}
							random_owned_controlled_state = {
									limit = {
											free_building_slots = {
													building = industrial_complex
													size > 0
													include_locked = yes
												}
											NOT = {
													has_state_flag = SOV_finish_five_year_plan_2IC
												}
										}
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = industrial_complex
											level = 1
											instant_build = yes
										}
									set_state_flag = SOV_finish_five_year_plan_2IC
								}
						}
				}

	}
	focus = {
		id = SOV_found_the_pcdi
		icon = GFX_goal_generic_defence
		cost = 5
		x = 27
		y = 0
			ai_will_do = {
					factor = 1
				}
			available = {

}
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					hidden_effect = {
							add_dynamic_modifier = {
									modifier = SOV_defense_industry_dynamic_modifier
								}
						}
					custom_effect_tooltip = SOV_found_the_pcdi_ns_tt
				}

	}
	focus = {
		id = SOV_strengthen_the_mobilization_plan
		icon = GFX_focus_SOV_mobilization_plan
		cost = 5
		x = 32
		y = 0
			ai_will_do = {
					factor = 1
				}
			available = {

}
			search_filters = { FOCUS_FILTER_MANPOWER }
			completion_reward = {
					add_to_variable = {
							SOV_the_red_army_mobilization_speed = 0.05
						}
					add_to_variable = {
							SOV_the_red_army_conscription_factor = 0.05
						}
					custom_effect_tooltip = SOV_strengthen_the_mobilization_plan_ns_tt
				}

	}
	
	focus = {
		id = SOV_the_path_of_marxism_leninism
		icon = GFX_focus_SOV_the_path_of_marxism_leninism
		cost = 5
		mutually_exclusive = {
			focus = SOV_beaten_but_not_defeated
		}
		x = 16
		y = 0
		relative_position_id = SOV_strengthen_the_mobilization_plan
			offset = {
					x = -1
					y = 0
					trigger = {
							has_game_rule = {
									rule = obsolete_focus_branches_visibility
									option = HIDE
								}
							has_completed_focus = SOV_beaten_but_not_defeated
						}
				}
			allow_branch = {
					if = {
							limit = {
									has_game_rule = {
											rule = obsolete_focus_branches_visibility
											option = HIDE
										}
								}
							NOT = {
									has_completed_focus = SOV_the_hands_do
								}
						}
				}
			available = { }
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					add_political_power = 25
					SOV_paranoia_low_decrease_effect = yes
					if = {
							limit = {
									has_dlc = "No Step Back"
									has_game_rule = {
											rule = obsolete_focus_branches_visibility
											option = HIDE
										}
								}
							mark_focus_tree_layout_dirty = yes
						}
				}

	}
	focus = {
		id = SOV_beaten_but_not_defeated
		icon = GFX_SOV_beaten_but_not_defeated_ccp_2d_sov_compatibility
		cost = 5
		mutually_exclusive = {
			focus = SOV_the_path_of_marxism_leninism
		}
		x = 58
		y = 0
		relative_position_id = SOV_the_path_of_marxism_leninism
			offset = {
					x = -40
					y = 0
					trigger = {
							has_game_rule = {
									rule = obsolete_focus_branches_visibility
									option = HIDE
								}
							has_completed_focus = SOV_beaten_but_not_defeated
						}
				}
			#All commie branches hide except for Stalinist
			offset = {
					x = -10
					y = 0
					trigger = {
							has_game_rule = {
									rule = obsolete_focus_branches_visibility
									option = HIDE
								}
							has_completed_focus = SOV_the_hands_do#Stalinist branch hides
						}
				}
			allow_branch = {
					has_dlc = "No Step Back"
					if = {
							limit = {
									has_game_rule = {
											rule = obsolete_focus_branches_visibility
											option = HIDE
										}
								}
							NOT = {
									has_completed_focus = SOV_the_path_of_marxism_leninism
								}
						}
				}
			ai_will_do = {
					factor = 1
				}
			available = {
					custom_trigger_tooltip = {
							tooltip = SOV_no_major_purge_tt
							check_variable = {
									SOV_great_purge_counter < 1
								}
						}
				}
			available_if_capitulated = yes
			search_filters = { FOCUS_FILTER_POLITICAL }
			completion_reward = {
					custom_effect_tooltip = SOV_beaten_but_not_defeated_tt
					add_political_power = 25
					hidden_effect = {
							country_event = {
									id = NSB_soviet_paranoia_system_events.01
									hours = 6
									random_hours = 24
								}
							set_variable = {
									SOV_exiles_army_support = 0.1
								}
							set_variable = {
									SOV_exiles_navy_support = 0.02
								}
							set_variable = {
									SOV_exiles_air_support = 0.02
								}
							SOV_launch_stalinist_counter_measure = yes
							SOV_get_centre_military_support = yes
						}
					every_other_country = {
						limit = {
							is_subject_of = SOV
							OR = { tag = MON tag = TAN }
						}
						ROOT = { set_autonomy = { target = PREV autonomy_state = autonomy_free } }
						leave_faction = yes
					}
					if = {
							limit = {
									has_game_rule = {
											rule = obsolete_focus_branches_visibility
											option = HIDE
										}
								}
							mark_focus_tree_layout_dirty = yes
						}
				}

	}
	
	focus = {
		id = SOV_addressing_internal_affairs
		icon = GFX_focus_generic_self_management
		cost = 5
		prerequisite = {
			focus = SOV_the_path_of_marxism_leninism
		}
		x = -6
		y = 1
		relative_position_id = SOV_the_path_of_marxism_leninism
			allow_branch = {
					if = {
							limit = {
									has_game_rule = {
											rule = obsolete_focus_branches_visibility
											option = HIDE
										}
								}
							NOT = {
									has_completed_focus = SOV_beaten_but_not_defeated
								}
						}
				}
			available = { }
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_STABILITY }
			completion_reward = {
					add_political_power = 50
					add_stability = 0.1
				}

	}
	
	focus = {
		id = SOV_the_comintern
		icon = GFX_goal_support_communism
		cost = 5
		prerequisite = {
			focus = SOV_the_path_of_marxism_leninism
		}
		x = 44
		y = 0
		relative_position_id = SOV_addressing_internal_affairs
			offset = {
					x = -20
					y = 0
					trigger = {
							NOT = {
									has_dlc = "No Step Back"
								}
							has_completed_focus = SOV_the_centre
							has_game_rule = {
									rule = obsolete_focus_branches_visibility
									option = HIDE
								}
						}
				}
			#Trotskyist branch hides
			offset = {
					x = 20
					y = 0
					trigger = {
							NOT = {
									has_dlc = "No Step Back"
								}
							has_completed_focus = SOV_the_left_opposition
							has_game_rule = {
									rule = obsolete_focus_branches_visibility
									option = HIDE
								}
						}
				}
			# Stalinist branch hides
			offset = {
					x = -24
					y = 0
					trigger = {
							has_dlc = "No Step Back"
							has_completed_focus = SOV_the_centre
							has_game_rule = {
									rule = obsolete_focus_branches_visibility
									option = HIDE
								}
						}
				}
			offset = {
					x = -8
					y = 0
					trigger = {
							has_dlc = "No Step Back"
							OR = {
									AND = {
											has_completed_focus = SOV_the_left_opposition
											has_completed_focus = SOV_left_opposition_coup
										}
									AND = {
											has_completed_focus = SOV_the_right_opposition
											has_completed_focus = SOV_coup_detat
										}
								}
							has_game_rule = {
									rule = obsolete_focus_branches_visibility
									option = HIDE
								}
						}
				}
			allow_branch = {
					if = {
							limit = {
									has_game_rule = {
											rule = obsolete_focus_branches_visibility
											option = HIDE
										}
								}
							NOT = {
									has_completed_focus = SOV_beaten_but_not_defeated
								}
						}
				}
			available = {

}
			search_filters = { FOCUS_FILTER_POLITICAL }
			completion_reward = {
					add_political_power = 50
					add_popularity = {
							ideology = communism
							popularity = 0.05
						}
				}

	}
	focus = {
		id = SOV_send_military_advisors_to_spain
		icon = GFX_focus_intervention_spain_republic
		cost = 5
		prerequisite = {
			focus = SOV_the_comintern
		}
		x = 0
		y = 1
		relative_position_id = SOV_the_comintern
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					has_civil_war = no
					OR = {
							has_completed_focus = SOV_the_centre
							has_completed_focus = SOV_the_left_opposition
							has_completed_focus = SOV_the_right_opposition
						}
					if = {
							limit = {
									has_dlc = "La Resistance"
								}
							SPR_scw_in_progress = yes
							if = {
									limit = {
											NOT = {
													has_global_flag = spanish_civil_war
												}
										}
									custom_trigger_tooltip = {
											tooltip = POR_spr_tooltip_country_exist_tt
											country_exists = SPR
										}
									custom_trigger_tooltip = {
											tooltip = POR_spr_tooltip_at_peace_tt
											NOT = {
													has_war_with = SPR
												}
										}
								}
							else = {
									if = {
											limit = {
													has_completed_focus = SOV_covert_support_for_spanish_poum
												}
											country_exists = SPC
											NOT = {
													has_war_with = SPC
												}
										}
									else = {
											country_exists = SPD
											NOT = {
													has_war_with = SPD
												}
										}
								}
						}
					else = {
							any_other_country = {
									original_tag = SPR
									has_civil_war = yes
									NOT = {
											has_war_with = ROOT
										}
									OR = {
											has_government = democratic
											has_government = communism
										}
								}
						}
					has_government = communism
					is_subject = no
				}
			search_filters = {

}
			completion_reward = {
					add_timed_idea = {
							idea = SOV_military_advisors_in_spain
							days = 1095
						}
					if = {
							limit = {
									has_dlc = "La Resistance"
									has_completed_focus = SOV_covert_support_for_spanish_poum
									has_completed_focus = SOV_coup_detat
									has_global_flag = SPR_anarchist_uprising_flag
									country_exists = SPC
									SPC = {
											has_completed_focus = SPR_the_anti_fascist_workers_revolution
										}
								}
							SPC = {
									hidden_effect = {
											country_event = {
													id = NSB_soviet_foreign_politics_events.20
													hours = 2
													random_hours = 1
												}
										}
									effect_tooltip = {
											add_timed_idea = {
													idea = SOV_soviet_advisors_spr
													days = 1095
												}
										}
								}
						}
					else_if = {
							limit = {
									has_dlc = "La Resistance"
									country_exists = SPD
								}
							SPD = {
									hidden_effect = {
											country_event = {
													id = NSB_soviet_foreign_politics_events.20
													hours = 2
													random_hours = 1
												}
										}
									effect_tooltip = {
											add_timed_idea = {
													idea = SOV_soviet_advisors_spr
													days = 1095
												}
										}
								}
						}
					else_if = {
							limit = {
									has_dlc = "La Resistance"
									NOT = {
											country_exists = SPD
										}
								}
							custom_effect_tooltip = SOV_aid_republican_spain_tt
							effect_tooltip = {
									add_timed_idea = {
											idea = SOV_soviet_advisors_spr
											days = 1095
										}
								}
						}
					else = {
							random_country = {
									limit = {
											original_tag = SPR
											has_civil_war = yes
											OR = {
													has_government = communism
													has_government = democratic
												}
										}
									hidden_effect = {
											country_event = {
													id = NSB_soviet_foreign_politics_events.20
													hours = 2
													random_hours = 1
												}
										}
									effect_tooltip = {
											add_timed_idea = {
													idea = SOV_soviet_advisors_spr
													days = 1095
												}
										}
								}
						}
					if = {
							limit = {
									has_dlc = "La Resistance"
								}
							custom_effect_tooltip = SOV_send_military_advisors_to_spain_generals_tt
							set_country_flag = SOV_spanish_refugee_generals_welcome_flag
						}
				}

	}
	focus = {
		id = SOV_unification_of_the_exiles
		icon = GFX_goal_generic_major_alliance
		cost = 10
		prerequisite = {
			focus = SOV_beaten_but_not_defeated
		}
		x = -3
		y = 1
		relative_position_id = SOV_beaten_but_not_defeated
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			bypass = {
					OR = {
							has_global_flag = SOV_soviet_civil_war_over
							has_global_flag = SOV_soviet_civil_war
						}
				}
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = yes
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					add_political_power = 75
					SOV_paranoia_low_increase_effect = yes
					custom_effect_tooltip = SOV_unification_of_the_exiles_tt
				}

	}
	focus = {
		id = SOV_the_true_tsars
		icon = GFX_focus_SOV_the_true_tsars
		cost = 5
		prerequisite = {
			focus = SOV_beaten_but_not_defeated
		}
		x = 3
		y = 1
		relative_position_id = SOV_beaten_but_not_defeated
			ai_will_do = {
					factor = 1
				}
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			bypass = {
					OR = {
							has_global_flag = SOV_soviet_civil_war_over
							has_global_flag = SOV_soviet_civil_war
						}
				}
			available_if_capitulated = yes
			search_filters = { FOCUS_FILTER_MANPOWER  FOCUS_FILTER_STABILITY }
			completion_reward = {
					add_popularity = {
							ideology = fascism
							popularity = 0.05
						}
					add_popularity = {
							ideology = neutrality
							popularity = 0.1
						}
					custom_effect_tooltip = SOV_the_true_tsars_tt
					effect_tooltip = {
							add_ideas = SOV_the_true_tsars_idea
						}
					set_country_flag = SOV_the_true_tsars_flag
				}

	}
	focus = {
		id = SOV_national_unification
		icon = GFX_goal_generic_construct_mil_factory
		cost = 5
		prerequisite = {
			focus = SOV_unification_of_the_exiles
			focus = SOV_the_true_tsars
		}
		x = 2
		y = 1
		relative_position_id = SOV_unification_of_the_exiles
			ai_will_do = {
					factor = 1
				}
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			bypass = {
					OR = {
							has_global_flag = SOV_soviet_civil_war_over
							has_global_flag = SOV_soviet_civil_war
						}
				}
			available_if_capitulated = yes
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					SOV_opposition_support_high_increase_effect = yes
					add_popularity = {
							ideology = fascism
							popularity = 0.15
						}
					add_popularity = {
							ideology = neutrality
							popularity = 0.1
						}
					custom_effect_tooltip = SOV_national_unification_tt
					set_country_flag = SOV_national_unification_flag
				}

	}
	focus = {
		id = SOV_article_124
		icon = GFX_focus_generic_treaty
		cost = 5
		prerequisite = {
			focus = SOV_the_true_tsars
		}
		x = 3
		y = 2
		relative_position_id = SOV_the_true_tsars
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = yes
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_STABILITY }
			completion_reward = {
					add_ideas = SOV_church_power_1
				}

	}
	focus = {
		id = SOV_reopen_novodevichi
		icon = GFX_goal_generic_dangerous_deal
		cost = 5
		prerequisite = {
			focus = SOV_article_124
		}
		x = 0
		y = 2
		relative_position_id = SOV_article_124
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = yes
			search_filters = { FOCUS_FILTER_POLITICAL }
			available = {
					has_full_control_of_state = 219
				}
			completion_reward = {
					add_political_power = 75
					add_popularity = {
							ideology = communism
							popularity = -0.1
						}
				}

	}
	focus = {
		id = SOV_womens_fascist_movement
		icon = GFX_focus_SOV_womens_fascist_movement
		cost = 5
		prerequisite = {
			focus = SOV_unification_of_the_exiles
			focus = SOV_the_true_tsars
		}
		x = 4
		y = 1
		relative_position_id = SOV_unification_of_the_exiles
			ai_will_do = {
					factor = 1
				}
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			bypass = {
					OR = {
							has_global_flag = SOV_soviet_civil_war_over
							has_global_flag = SOV_soviet_civil_war
						}
				}
			available_if_capitulated = yes
			search_filters = { FOCUS_FILTER_MANPOWER  FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					add_popularity = {
							ideology = fascism
							popularity = 0.05
						}
					custom_effect_tooltip = SOV_fascist_womens_movement_tt
					effect_tooltip = {
							add_ideas = SOV_fascist_womens_movement_idea
						}
					set_country_flag = SOV_fascist_womens_movement_flag
				}

	}
	focus = {
		id = SOV_anti_fascist_policies
		icon = GFX_focus_generic_anti_fascist_diplomacy
		cost = 5
		prerequisite = {
			focus = SOV_the_comintern
		}
		x = 6
		y = 1
		relative_position_id = SOV_the_comintern
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			search_filters = { FOCUS_FILTER_PROPAGANDA }
			completion_reward = {
					every_other_country = {
							limit = {
									is_major = yes
									OR = {
											has_government = democratic
											has_government = communism
										}
									NOT = {
											has_war_with = ROOT
										}
								}
							add_opinion_modifier = {
									target = SOV
									modifier = SOV_anti_fascist_policies_good
								}
						}
					every_other_country = {
							limit = {
									is_major = yes
									has_government = fascism
								}
							add_opinion_modifier = {
									target = SOV
									modifier = SOV_anti_fascist_policies_bad
								}
						}
					if = {
							limit = {
									has_government = communism
								}
							custom_effect_tooltip = unlock_propaganda_campaign_tt
							unlock_decision_tooltip = SOV_propaganda_anti_fascism
							custom_effect_tooltip = propaganda_campaign_requirement_tt
						}
				}

	}
	focus = {
		id = SOV_finish_the_five_year_plan
		icon = GFX_focus_generic_industry_1
		cost = 6
		prerequisite = {
			focus = SOV_infrastructure_effort_nsb
		}
		prerequisite = {
			focus = SOV_heavy_industry
		}
		x = 15
		y = 1
			available = {
					custom_trigger_tooltip = {
							tooltip = SOV_fyp_controlled_factories_tier_1_tt
							NOT = {
									num_of_controlled_factories < SOV_fyp_factory_requirement_tier_1
								}
						}
				}
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {

					custom_effect_tooltip = available_political_advisor
					show_ideas_tooltip = SOV_lazar_kaganovich
				}

	}
	focus = {
		id = SOV_third_five_year_plan
		icon = GFX_focus_generic_industry_2
		cost = 6
		prerequisite = {
			focus = SOV_finish_the_five_year_plan
		}
		x = 6
		y = 2
			available = {
					custom_trigger_tooltip = {
							tooltip = SOV_fyp_controlled_factories_tier_2_tt
							NOT = {
									num_of_controlled_factories < SOV_fyp_factory_requirement_tier_2
								}
						}
				}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH }
			completion_reward = {
					hidden_effect = {
							add_to_variable = { SOV_fyp_consumer_goods_factor = 0.05 }
							add_to_variable = { SOV_fyp_production_speed_industrial_complex_factor = 0.05  }
						}
					if = {
							limit = {
									has_government = communism
								}
							hidden_effect = {
									remove_dynamic_modifier = {
											modifier = SOV_second_five_year_plan_dynamic_modifier
										}
									add_dynamic_modifier = {
											modifier = SOV_third_five_year_plan_dynamic_modifier
										}
								}
							custom_effect_tooltip = SOV_third_five_year_plan_ns_tt
							add_tech_bonus = {
									name = SOV_third_five_year_plan_default
									bonus = 0.5
									uses = 1
									category = construction_tech
								}
						}
					else = {
							custom_effect_tooltip = SOV_third_five_year_plan_ns_alt_tt
							hidden_effect = {
									remove_dynamic_modifier = {
											modifier = SOV_second_five_year_plan_dynamic_modifier
										}
									add_dynamic_modifier = {
											modifier = SOV_third_five_year_plan_dynamic_modifier_alt
										}
								}
							add_tech_bonus = {
									name = SOV_third_five_year_plan_alt
									bonus = 0.5
									uses = 1
									category = construction_tech
								}
						}
				}

	}
	focus = {
		id = SOV_improve_railway_network
		icon = GFX_goal_generic_construct_infrastructure
		cost = 6
		prerequisite = {
			focus = SOV_third_five_year_plan
		}
		x = 2
		y = 3
			ai_will_do = {
					factor = 1
				}
			available = {

}
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					build_railway = {
							path = { 9330  3356  6279  6230  6398  6341  413  3527  11475  11412  6591  3540  3519  11459  11450  11434  9417 }
						}
					build_railway = {
							path = { 3529  9504  533  9516  509  500  11459 }
						}
					build_railway = {
							path = { 9504  3582  9436  11485  3539  9564  11408 }
						}
					build_railway = {
							path = { 3529  11474  520  6516  6486  9455  11429  6620  9753 }
						}
					build_railway = {
							path = { 1599  9702  12441  3564  12320 }
						}
					230 = {
							add_building_construction = {
									type = supply_node
									level = 1
									province = 12320
									instant_build = yes
								}
						}
					213 = {
							add_building_construction = {
									type = supply_node
									level = 1
									province = 6181
									instant_build = yes
								}
						}
					custom_effect_tooltip = available_designer
					show_ideas_tooltip = SOV_soviet_railways
				}

	}
	focus = {
		id = SOV_increase_state_reserves
		icon = GFX_goal_generic_construction2
		cost = 5
		prerequisite = {
			focus = SOV_third_five_year_plan
		}
		x = 5
		y = 3
			available = {
					OR = {
							has_completed_focus = SOV_the_centre
							has_completed_focus = SOV_strengthen_heavy_industry
							has_completed_focus = SOV_reinstitute_the_mestnichestvo
							has_completed_focus = SOV_russian_corporate_state
							has_completed_focus = SOV_democratic_dream
							has_completed_focus = SOV_strengthen_the_trade_unions
							has_country_leader = { character = SOV_lavrenty_beriya }
						}
				}
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
			        if = {
					    limit = { has_country_leader = { character = SOV_lavrenty_beriya } }
						set_global_flag = SOV_soviet_civil_war_over
						SOV_remove_paranoia_effect = yes
						add_stability = -0.1
						add_war_support = -0.1
					}
					set_variable = {
							SOV_fyp_local_resources_factor = 0.05
						}
					custom_effect_tooltip = SOV_increase_state_reserves_ns_tt
				}
	}
	focus = {
		id = SOV_reorganize_the_pc_of_heavy_industry
		icon = GFX_goal_generic_production2
		cost = 6
		prerequisite = {
			focus = SOV_increase_state_reserves
		}
		x = 3
		y = 4
			available = {
					SOV_third_five_year_plan_available = yes
				}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH }
			completion_reward = {
					hidden_effect = {
							add_to_variable = {
									SOV_fyp_consumer_goods_factor = -0.05
								}
						}
					custom_effect_tooltip = SOV_reorganize_the_pc_of_heavy_industry_ns_tt
					if = {
							limit = {
									has_government = communism
								}
							hidden_effect = {
									remove_dynamic_modifier = {
											modifier = SOV_third_five_year_plan_dynamic_modifier
										}
									add_dynamic_modifier = {
											modifier = SOV_third_five_year_plan_civilian_dynamic_modifier
										}
								}
							add_tech_bonus = {
									name = SOV_reorganize_the_pc_of_heavy_industry_name_default
									bonus = 1.0
									uses = 1
									category = industry
								}
						}
					else = {
							hidden_effect = {
									remove_dynamic_modifier = {
											modifier = SOV_third_five_year_plan_dynamic_modifier_alt
										}
									add_dynamic_modifier = {
											modifier = SOV_third_five_year_plan_civilian_dynamic_modifier_alt
										}
								}
							add_tech_bonus = {
									name = SOV_reorganize_the_pc_of_heavy_industry_name_alt
									bonus = 0.5
									uses = 1
									category = industry
								}
						}
				}

	}
	focus = {
		id = SOV_the_left_opposition
		icon = GFX_focus_fra_loyalty_trotzky
		cost = 5
		prerequisite = {
			focus = SOV_the_path_of_marxism_leninism
		}
		mutually_exclusive = {
			focus = SOV_the_centre
			focus = SOV_the_right_opposition
		}
		x = 9
		y = 1
		relative_position_id = SOV_the_path_of_marxism_leninism
			offset = {
					x = -7
					y = 0
					trigger = {
							OR = {
									has_completed_focus = SOV_left_opposition_coup
									has_completed_focus = SOV_coup_detat
								}
							has_game_rule = {
									rule = obsolete_focus_branches_visibility
									option = HIDE
								}
						}
				}
			available = {
					SOV_soviet_civil_war_not_started = yes
					custom_trigger_tooltip = {
							tooltip = SOV_no_major_purge_tt
							check_variable = {
									SOV_great_purge_counter < 1
								}
						}
				}
			allow_branch = {
					if = {
							limit = {
									has_game_rule = {
											rule = obsolete_focus_branches_visibility
											option = HIDE
										}
								}
							NOT = {
									has_completed_focus = SOV_the_centre
								}
							NOT = {
									has_completed_focus = SOV_beaten_but_not_defeated
								}
						}
				}
			search_filters = { FOCUS_FILTER_POLITICAL }
			completion_reward = {
					add_political_power = 75
					custom_effect_tooltip = SOV_the_left_opposition_tt
					set_variable = {
							SOV_left_opposition_army_support = 0.25
						}
					set_variable = {
							SOV_left_opposition_navy_support = 0.05
						}
					set_variable = {
							SOV_left_opposition_air_support = 0.15
						}
					hidden_effect = {
							add_dynamic_modifier = {
									modifier = SOV_factionalism_modifier
								}
							country_event = {
									id = NSB_soviet_paranoia_system_events.01
									hours = 6
									random_hours = 24
								}
							random_owned_state = {
									limit = {
											NOT = {
													state = 214
												}
											NOT = {
													state = 192
												}
											NOT = {
													state = 651
												}
											NOT = {
													state = 137
												}
											NOT = {
													state = 405
												}
											NOT = {
													state = 571
												}
										}
									set_state_flag = SOV_stalinist_state
								}
							SOV_launch_stalinist_counter_measure = yes
							SOV_get_centre_military_support = yes
						}
				}

	}
	focus = {
		id = SOV_national_specialists
		icon = GFX_goal_generic_consumer_goods
		cost = 5
		prerequisite = {
			focus = SOV_third_five_year_plan
		}
		x = 9
		y = 3
			available = {

}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH }
			completion_reward = {
					custom_effect_tooltip = SOV_national_specialists_tt
					SOV_replace_industrial_designer = yes
					hidden_effect = {
							add_ideas = SOV_national_specialists_ns
						}
				}

	}
	focus = {
		id = SOV_foreign_experts
		icon = GFX_focus_spa_the_spanish_miracle
		cost = 5
		prerequisite = {
			focus = SOV_third_five_year_plan
		}
		x = 11
		y = 3
			available = {

}
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					custom_effect_tooltip = available_designer
					show_ideas_tooltip = SOV_gosproyektstroy_1
				}

	}
	focus = {
		id = SOV_eastern_development
		icon = GFX_goal_generic_construct_civ_factory
		cost = 5
		prerequisite = {
			focus = SOV_national_specialists
			focus = SOV_foreign_experts
		}
		x = 9
		y = 4
			bypass = {
					408 = {
							is_fully_controlled_by = ROOT
							NOT = {
									infrastructure < 5
									free_building_slots = {
											building = industrial_complex
											size > 0
											include_locked = yes
										}
								}
						}
					#VLADIVOSTOK
					409 = {
							is_fully_controlled_by = ROOT
							is_fully_controlled_by = ROOT
							NOT = {
									infrastructure < 5
									free_building_slots = {
											building = industrial_complex
											size > 0
											include_locked = yes
										}
								}
						}
					#KHABAROVSK
					566 = {
							is_fully_controlled_by = ROOT
							is_fully_controlled_by = ROOT
							NOT = {
									infrastructure < 5
									free_building_slots = {
											building = industrial_complex
											size > 0
											include_locked = yes
										}
								}
						}
					#IRKUTSK
					564 = {
							is_fully_controlled_by = ROOT
							is_fully_controlled_by = ROOT
							NOT = {
									infrastructure < 5
									free_building_slots = {
											building = industrial_complex
											size > 0
											include_locked = yes
										}
								}
						}
				}
			#ULAN UDE
			available = {
					OR = {
							408 = {
									is_fully_controlled_by = ROOT
								}
							#VLADIVOSTOK
							409 = {
									is_fully_controlled_by = ROOT
								}
							#KHABAROVSK
							566 = {
									is_fully_controlled_by = ROOT
								}
							#IRKUTSK
							564 = {
									is_fully_controlled_by = ROOT
								}
						}
				}
			#ULAN UDE
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					set_temp_variable = {
							SOV_states_targeted_eastern_development = 0
						}
					if = {
							limit = {
									408 = {
											is_fully_controlled_by = ROOT
											infrastructure < 5
											free_building_slots = {
													building = industrial_complex
													size > 0
													include_locked = yes
												}
										}
								}
							408 = {
									add_building_construction = {
											type = infrastructure
											level = 1
											instant_build = yes
										}
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = industrial_complex
											level = 1
											instant_build = yes
										}
								}
							add_to_temp_variable = {
									SOV_states_targeted_eastern_development = 1
								}
						}
					else_if = {
							limit = {
									check_variable = {
											SOV_states_targeted_eastern_development = 2
											compare = less_than_or_equals
										}
									566 = {
											is_fully_controlled_by = ROOT
											infrastructure < 5
											free_building_slots = {
													building = industrial_complex
													size > 0
													include_locked = yes
												}
										}
								}
							566 = {
									add_building_construction = {
											type = infrastructure
											level = 1
											instant_build = yes
										}
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = industrial_complex
											level = 1
											instant_build = yes
										}
								}
						}
					if = {
							limit = {
									409 = {
											is_fully_controlled_by = ROOT
											infrastructure < 5
											free_building_slots = {
													building = industrial_complex
													size > 0
													include_locked = yes
												}
										}
								}
							409 = {
									add_building_construction = {
											type = infrastructure
											level = 1
											instant_build = yes
										}
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = industrial_complex
											level = 1
											instant_build = yes
										}
								}
							add_to_temp_variable = {
									SOV_states_targeted_eastern_development = 1
								}
						}
					else_if = {
							limit = {
									check_variable = {
											SOV_states_targeted_eastern_development = 2
											compare = less_than_or_equals
										}
									564 = {
											is_fully_controlled_by = ROOT
											infrastructure < 5
											free_building_slots = {
													building = industrial_complex
													size > 0
													include_locked = yes
												}
										}
								}
							564 = {
									add_building_construction = {
											type = infrastructure
											level = 1
											instant_build = yes
										}
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = industrial_complex
											level = 1
											instant_build = yes
										}
								}
						}
				}

	}
	focus = {
		id = SOV_develop_the_urals
		icon = GFX_goal_generic_construct_civ_factory
		cost = 5
		prerequisite = {
			focus = SOV_national_specialists
			focus = SOV_foreign_experts
		}
		x = 11
		y = 4
			bypass = {
					572 = {
							is_fully_controlled_by = ROOT
							NOT = {
									infrastructure < 5
									free_building_slots = {
											building = industrial_complex
											size > 0
											include_locked = yes
										}
								}
						}
					#CHELYABISNK
					573 = {
							is_fully_controlled_by = ROOT
							is_fully_controlled_by = ROOT
							NOT = {
									infrastructure < 5
									free_building_slots = {
											building = industrial_complex
											size > 0
											include_locked = yes
										}
								}
						}
					#ZLATOUST
					582 = {
							is_fully_controlled_by = ROOT
							is_fully_controlled_by = ROOT
							NOT = {
									infrastructure < 5
									free_building_slots = {
											building = industrial_complex
											size > 0
											include_locked = yes
										}
								}
						}
					#MAGNITOGORSK
					653 = {
							is_fully_controlled_by = ROOT
							is_fully_controlled_by = ROOT
							NOT = {
									infrastructure < 5
									free_building_slots = {
											building = industrial_complex
											size > 0
											include_locked = yes
										}
								}
						}
				}
			#SVERDLOVSK
			available = {
					OR = {
							572 = {
									is_fully_controlled_by = ROOT
								}
							#CHELYABISNK
							573 = {
									is_fully_controlled_by = ROOT
								}
							#ZLATOUST
							582 = {
									is_fully_controlled_by = ROOT
								}
							#MAGNITOGORSK
							653 = {
									is_fully_controlled_by = ROOT
								}
						}
				}
			#SVERDLOVSK
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					set_temp_variable = {
							SOV_states_targeted_eastern_development = 0
						}
					if = {
							limit = {
									572 = {
											is_fully_controlled_by = ROOT
											infrastructure < 5
											free_building_slots = {
													building = industrial_complex
													size > 0
													include_locked = yes
												}
										}
								}
							572 = {
									add_building_construction = {
											type = infrastructure
											level = 1
											instant_build = yes
										}
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = industrial_complex
											level = 1
											instant_build = yes
										}
								}
							add_to_temp_variable = {
									SOV_states_targeted_eastern_development = 1
								}
						}
					else_if = {
							limit = {
									check_variable = {
											SOV_states_targeted_eastern_development = 2
											compare = less_than_or_equals
										}
									582 = {
											is_fully_controlled_by = ROOT
											infrastructure < 5
											free_building_slots = {
													building = industrial_complex
													size > 0
													include_locked = yes
												}
										}
								}
							582 = {
									add_building_construction = {
											type = infrastructure
											level = 1
											instant_build = yes
										}
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = industrial_complex
											level = 1
											instant_build = yes
										}
								}
						}
					if = {
							limit = {
									573 = {
											is_fully_controlled_by = ROOT
											infrastructure < 5
											free_building_slots = {
													building = industrial_complex
													size > 0
													include_locked = yes
												}
										}
								}
							573 = {
									add_building_construction = {
											type = infrastructure
											level = 1
											instant_build = yes
										}
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = industrial_complex
											level = 1
											instant_build = yes
										}
								}
							add_to_temp_variable = {
									SOV_states_targeted_eastern_development = 1
								}
						}
					else_if = {
							limit = {
									check_variable = {
											SOV_states_targeted_eastern_development = 2
											compare = less_than_or_equals
										}
									653 = {
											is_fully_controlled_by = ROOT
											infrastructure < 5
											free_building_slots = {
													building = industrial_complex
													size > 0
													include_locked = yes
												}
										}
								}
							653 = {
									add_building_construction = {
											type = infrastructure
											level = 1
											instant_build = yes
										}
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = industrial_complex
											level = 1
											instant_build = yes
										}
								}
						}
				}

	}
	focus = {
		id = SOV_the_ussr_academy_of_sciences
		icon = GFX_focus_research
		cost = 6
		prerequisite = {
			focus = SOV_eastern_development
			focus = SOV_develop_the_urals
		}
		x = 10
		y = 5
			available = {
                    is_major = yes
					OR = {
							has_completed_focus = SOV_increase_state_reserves
							has_completed_focus = SOV_the_third_rome
							has_completed_focus = SOV_back_to_the_nep
						}
				}
			search_filters = { FOCUS_FILTER_RESEARCH }
			completion_reward = {
					add_research_slot = 1
					if = {
							limit = {
									any_country = {
											SOV_is_valid_academy_of_sciences_target = yes
										}
								}
							if = {
									limit = {
											NOT = {
													has_government = communism
												}
										}
									add_to_tech_sharing_group = SOV_imperial_academies_of_sciences_joint_program
									every_country = {
											limit = {
													SOV_is_valid_academy_of_sciences_target = yes
												}
											add_to_tech_sharing_group = SOV_imperial_academies_of_sciences_joint_program
										}
								}
							else = {
									add_to_tech_sharing_group = SOV_soviet_academies_of_sciences_joint_program
									every_country = {
											limit = {
													SOV_is_valid_academy_of_sciences_target = yes
												}
											add_to_tech_sharing_group = SOV_soviet_academies_of_sciences_joint_program
										}
								}
						}
					if = {
							limit = {
									NOT = {
											has_government = communism
										}
								}
							hidden_effect = {
									add_dynamic_modifier = {
											modifier = SOV_ussr_academy_of_sciences_dynamic_modifier_alt
										}
								}
							effect_tooltip = {
									add_ideas = SOV_national_academy_of_sciences_alt_fake
								}
						}
					else = {
							hidden_effect = {
									add_dynamic_modifier = {
											modifier = SOV_ussr_academy_of_sciences_dynamic_modifier
										}
								}
							effect_tooltip = {
									add_ideas = SOV_national_academy_of_sciences_fake
								}
						}
				}

	}
	focus = {
		id = SOV_national_academies_of_sciences
		icon = GFX_focus_research2
		cost = 5
		prerequisite = {
			focus = SOV_the_ussr_academy_of_sciences
		}
		x = 10
		y = 6
			available = {
			         is_major = yes
					OR = { has_completed_focus = SOV_the_centre has_completed_focus = SOV_strengthen_heavy_industry has_completed_focus = SOV_for_the_common_good }
				}
			search_filters = { FOCUS_FILTER_RESEARCH }
			completion_reward = {
					custom_effect_tooltip = SOV_national_academies_of_sciences_tt
				}

	}
	focus = {
		id = SOV_no_time_for_peace
		icon = GFX_focus_rocketry
		cost = 6
		prerequisite = {
			focus = SOV_national_academies_of_sciences
		}
		x = 10
		y = 7
			available = { is_major = yes date > 1940.1.1 }
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH }
			completion_reward = {

			add_breakthrough_progress = {
				specialization = specialization_nuclear
				value = 0.75
			}
			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.75
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					NOT = {
						has_tech = atomic_research
					}
				}
				add_tech_bonus = {
					name = SOV_no_time_for_peace
					bonus = 0.5
					uses = 1 # was 2
					category = nuclear
				}
			}
			add_tech_bonus = {
				name = SOV_no_time_for_peace
				bonus = 0.5
				uses = 1 # was 2
				category = rocketry
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ideas = SOV_no_time_for_peace_idea
			}

	}
	focus = {
		id = SOV_transpolar_flights
		icon = GFX_goal_generic_air_fighter2
		cost = 5
		prerequisite = {
			focus = SOV_finish_the_five_year_plan
		}
		x = 14
		y = 2
			ai_will_do = {
					factor = 1
				}
			available = {

}
			search_filters = { FOCUS_FILTER_AIR_XP }
			completion_reward = {
					air_experience = 50
				}

	}
	focus = {
		id = SOV_expand_the_aircraft_industry
		icon = GFX_goal_generic_construct_mil_factory
		cost = 6
		prerequisite = {
			focus = SOV_transpolar_flights
		}
		x = 13
		y = 3
			available = {
					any_owned_state = {
							is_fully_controlled_by = ROOT
							free_building_slots = {
									building = arms_factory
									size > 1
									include_locked = yes
								}
						}
				}
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					set_variable = {
							SOV_soviet_airforce_aircraft_manufacturer_cost_factor = -0.25
						}
					custom_effect_tooltip = SOV_expand_the_aircraft_industry_ns_tt
					random_owned_controlled_state = {
							limit = {
									free_building_slots = {
											building = arms_factory
											size > 1
											include_locked = yes
										}
								}
							add_extra_state_shared_building_slots = 2
							add_building_construction = {
									type = arms_factory
									level = 2
									instant_build = yes
								}
							if = {
									limit = {
											air_base < 9
										}
									add_building_construction = {
											type = air_base
											level = 2
											instant_build = yes
										}
								}
							else = {
									ROOT = {
											random_owned_controlled_state = {
													limit = {
															air_base < 9
														}
													add_building_construction = {
															type = air_base
															level = 2
															instant_build = yes
														}
												}
										}
								}
						}
				}

	}
	focus = {
		id = SOV_foster_flying_clubs
		icon = GFX_focus_SOV_flying_clubs
		cost = 6
		prerequisite = {
			focus = SOV_transpolar_flights
		}
		x = 15
		y = 3
			available = {

}
			search_filters = { FOCUS_FILTER_AIR_XP }
			completion_reward = {
					add_to_variable = {
							SOV_soviet_airforce_air_accidents_factor = -0.15
						}
					add_to_variable = {
							SOV_soviet_airforce_air_ace_generation_chance_factor = 0.15
						}
					add_to_variable = {
							SOV_soviet_airforce_air_weather_penalty = -0.05
						}
					add_to_variable = {
							SOV_soviet_airforce_air_training_xp_gain_factor = 0.05
						}
					custom_effect_tooltip = SOV_foster_flying_clubs_ns_tt
					air_experience = 25
				}

	}
	focus = {
		id = SOV_expand_aviation_institutes
		icon = GFX_focus_generic_military_academy
		cost = 6
		prerequisite = {
			focus = SOV_expand_the_aircraft_industry
		}
		prerequisite = {
			focus = SOV_foster_flying_clubs
		}
		x = 14
		y = 4
			available = {
				}
			search_filters = { FOCUS_FILTER_AIR_XP }
			completion_reward = {
					add_to_variable = {
							SOV_soviet_airforce_air_accidents_factor = -0.15
						}
					add_to_variable = {
							SOV_soviet_airforce_air_weather_penalty = -0.05
						}
					add_to_variable = {
							SOV_soviet_airforce_air_training_xp_gain_factor = 0.05
						}
					add_to_variable = {
							SOV_soviet_airforce_air_wing_xp_loss_when_killed_factor = -0.1
						}
					custom_effect_tooltip = SOV_expand_aviation_institutes_ns_tt
				}

	}
	focus = {
		id = SOV_increase_aircraft_production
		icon = GFX_focus_generic_aircraft_production
		cost = 6
		prerequisite = {
			focus = SOV_expand_aviation_institutes
		}
		x = 13
		y = 5
			available = {
					NOT = {
							has_country_flag = SOV_paranoia_system_active_flag
						}
				}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH }
			completion_reward = {
					hidden_effect = {
							add_ideas = SOV_increased_aircraft_production_ns_bonus
							add_to_variable = {
									SOV_soviet_airforce_air_accidents_factor = 0.05
								}
						}
					if = {
							limit = {
									has_government = communism
								}
							remove_dynamic_modifier = {
									modifier = SOV_soviet_airforce_dynamic_modifier
								}
							add_dynamic_modifier = {
									modifier = SOV_soviet_airforce_aircraft_production_focus_dynamic_modifier
								}
						}
					else = {
							remove_dynamic_modifier = {
									modifier = SOV_soviet_airforce_dynamic_modifier_alt
								}
							add_dynamic_modifier = {
									modifier = SOV_soviet_airforce_aircraft_production_focus_dynamic_modifier_alt
								}
						}
					custom_effect_tooltip = SOV_increase_aircraft_production_ns_tt
					add_tech_bonus = {
							name = SOV_increase_aircraft_production
							bonus = 1.0
							uses = 1
							category = light_air
						}
				}

	}
	focus = {
		id = SOV_ground_support
		icon = GFX_goal_generic_air_fighter
		cost = 6
		prerequisite = {
			focus = SOV_increase_aircraft_production
		}
		mutually_exclusive = {
			focus = SOV_long_range_aircraft
		}
		x = 13
		y = 6
			available = {

}
			search_filters = { FOCUS_FILTER_RESEARCH }
			completion_reward = {
					add_to_variable = {
							SOV_soviet_airforce_air_cas_present_factor = 0.05
						}
					custom_effect_tooltip = SOV_ground_support_ns_tt
					add_tech_bonus = {
							name = SOV_ground_support
							bonus = 0.75
							uses = 1
							category = light_fighter
							category = cas_bomber
						}
				}

	}
	focus = {
		id = SOV_the_right_opposition
		icon = GFX_focus_SOV_bukharinists
		cost = 5
		prerequisite = {
			focus = SOV_the_path_of_marxism_leninism
		}
		mutually_exclusive = {
			focus = SOV_the_left_opposition
			focus = SOV_the_centre
		}
		x = 14
		y = 0
		relative_position_id = SOV_the_left_opposition
			allow_branch = {
					has_dlc = "No Step Back"
					if = {
							limit = {
									has_game_rule = {
											rule = obsolete_focus_branches_visibility
											option = HIDE
										}
								}
							NOT = {
									has_completed_focus = SOV_the_centre
								}
							NOT = {
									has_completed_focus = SOV_beaten_but_not_defeated
								}
						}
				}
			available = {
					SOV_soviet_civil_war_not_started = yes
					custom_trigger_tooltip = {
							tooltip = SOV_no_major_purge_tt
							check_variable = {
									SOV_great_purge_counter < 1
								}
						}
				}
			search_filters = { FOCUS_FILTER_POLITICAL }
			completion_reward = {
					add_political_power = 75
					custom_effect_tooltip = SOV_the_right_opposition_tt
					set_variable = {
							SOV_right_opposition_army_support = 0.1
						}
					set_variable = {
							SOV_right_opposition_navy_support = 0.05
						}
					set_variable = {
							SOV_right_opposition_air_support = 0.1
						}
					hidden_effect = {
							add_dynamic_modifier = {
									modifier = SOV_factionalism_modifier
								}
							country_event = {
									id = NSB_soviet_paranoia_system_events.01
									hours = 6
									random_hours = 24
								}
							random_owned_state = {
									limit = {
											NOT = {
													state = 214
												}
											NOT = {
													state = 192
												}
											NOT = {
													state = 651
												}
											NOT = {
													state = 137
												}
											NOT = {
													state = 405
												}
											NOT = {
													state = 571
												}
										}
									set_state_flag = SOV_stalinist_state
								}
							SOV_launch_stalinist_counter_measure = yes
							SOV_get_centre_military_support = yes
						}
					custom_effect_tooltip = available_political_advisor
					show_ideas_tooltip = SOV_nikolay_bukharin
					show_ideas_tooltip = SOV_aleksey_rykov
					show_ideas_tooltip = SOV_mikhail_tomsky
				}

	}
	focus = {
		id = SOV_gain_support_from_party_members
		icon = GFX_focus_generic_soviet_politics
		cost = 6
		prerequisite = {
			focus = SOV_the_left_opposition
			focus = SOV_the_right_opposition
		}
		x = 15
		y = 2
		relative_position_id = SOV_the_path_of_marxism_leninism
			offset = {
					x = -8
					y = 0
					trigger = {
							has_dlc = "No Step Back"
							OR = {
									AND = {
											has_completed_focus = SOV_the_left_opposition
											has_completed_focus = SOV_left_opposition_coup
										}
									AND = {
											has_completed_focus = SOV_the_right_opposition
											has_completed_focus = SOV_coup_detat
										}
								}
							has_game_rule = {
									rule = obsolete_focus_branches_visibility
									option = HIDE
								}
						}
				}
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_SOV_POLITICAL_PARANOIA  FOCUS_FILTER_STABILITY }
			completion_reward = {
					SOV_paranoia_low_increase_effect = yes
					add_political_power = 100
					custom_effect_tooltip = SOV_gain_support_from_party_members_tt
					SOV_opposition_support_low_increase_effect = yes
					hidden_effect = {
							if = {
									limit = {
											SOV_is_left_opposition = yes
										}
									SOV_mikhail_kalinin = {
											set_character_flag = SOV_aligned_left_opposition_flag
											clr_character_flag = SOV_safe_from_purge_flag
										}
									SOV_vsevolod_merkulov = {
											set_character_flag = SOV_aligned_left_opposition_flag
											clr_character_flag = SOV_safe_from_purge_flag
										}
									SOV_nikita_khrushchyov = {
											set_character_flag = SOV_aligned_left_opposition_flag
											clr_character_flag = SOV_safe_from_purge_flag
										}
								}
						}
				}

	}
	focus = {
		id = SOV_intensify_pilot_training_program
		icon = GFX_goal_generic_air_doctrine
		cost = 6
		prerequisite = {
			focus = SOV_expand_aviation_institutes
		}
		x = 15
		y = 5
			available = {
					NOT = {
							has_country_flag = SOV_paranoia_system_active_flag
						}
				}
			search_filters = { FOCUS_FILTER_AIR_XP }
			completion_reward = {
					add_to_variable = {
							SOV_soviet_airforce_air_accidents_factor = -0.15
						}
					add_to_variable = {
							SOV_soviet_airforce_air_ace_generation_chance_factor = 0.1
						}
					add_to_variable = {
							SOV_soviet_airforce_air_night_penalty = -0.1
						}
					add_to_variable = {
							SOV_soviet_airforce_air_weather_penalty = -0.1
						}
					add_to_variable = {
							SOV_soviet_airforce_air_wing_xp_loss_when_killed_factor = -0.1
						}
					add_to_variable = {
							SOV_soviet_airforce_air_fuel_consumption_factor = 0.05
						}
					custom_effect_tooltip = SOV_intensify_pilot_training_program_ns_tt
					air_experience = 50
				}

	}
	focus = {
		id = SOV_long_range_aircraft
		icon = GFX_goal_generic_air_bomber
		cost = 6
		prerequisite = {
			focus = SOV_intensify_pilot_training_program
		}
		mutually_exclusive = {
			focus = SOV_ground_support
		}
		x = 15
		y = 6
			available = {

}
			search_filters = { FOCUS_FILTER_RESEARCH }
			completion_reward = {
					add_to_variable = {
							SOV_soviet_airforce_strategic_bomb_visibility = -0.05
						}
					custom_effect_tooltip = SOV_long_range_aircraft_ns_tt
					add_tech_bonus = {
							name = SOV_long_range_aircraft
							bonus = 0.75
							uses = 1
							category = cat_heavy_fighter
							category = tactical_bomber
							category = cat_strategic_bomber
						}
				}

	}
	focus = {
		id = SOV_modernize_aircraft_facilities
		icon = GFX_goal_generic_air_production
		cost = 6
		prerequisite = {
			focus = SOV_ground_support
			focus = SOV_long_range_aircraft
		}
		x = 14
		y = 7
			available = {
					num_of_factories > 160
					OR = {
							has_completed_focus = SOV_increase_state_reserves
							has_completed_focus = SOV_strengthen_the_trade_unions
							has_completed_focus = SOV_back_to_the_nep
						}
}
			search_filters = {

}
			completion_reward = {
					add_to_variable = {
							SOV_soviet_airforce_air_fuel_consumption_factor = -0.05
						}
					add_to_variable = {
							SOV_soviet_airforce_air_range_factor = 0.05
						}
					add_to_variable = {
							SOV_soviet_airforce_air_agility_factor = 0.05
						}
					custom_effect_tooltip = SOV_modernize_aircraft_facilities_ns_tt
				}

	}
	focus = {
		id = SOV_military_engineering_university
		icon = GFX_focus_generic_military_academy
		cost = 5
		prerequisite = {
			focus = SOV_strengthen_the_mobilization_plan
		}
		prerequisite = {
			focus = SOV_found_the_pcdi
		}
		x = 29
		y = 1
			available = {
					OR = {
							has_completed_focus = SOV_increase_state_reserves
							has_completed_focus = SOV_back_to_the_nep
							has_completed_focus = SOV_beaten_but_not_defeated
						}
				}
			search_filters = {

}
			completion_reward = {
					add_to_variable = {
							SOV_defense_industry_production_speed_coastal_bunker_factor = 0.05
						}
					add_to_variable = {
							SOV_defense_industry_production_speed_bunker_factor = 0.05
						}
					custom_effect_tooltip = SOV_military_engineering_university_ns_tt
				}

	}
	focus = {
		id = SOV_expand_the_red_fleet
		icon = GFX_goal_generic_build_navy
		cost = 5
		prerequisite = {
			focus = SOV_finish_the_five_year_plan
		}
		prerequisite = {
			focus = SOV_military_engineering_university
		}
		x = 20
		y = 2
			ai_will_do = {
					factor = 1
				}
			available = {

}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH  FOCUS_FILTER_NAVY_XP }
			completion_reward = {
					navy_experience = 25
					random_owned_controlled_state = {
							limit = {
									dockyard > 0
									free_building_slots = {
											building = dockyard
											size > 1
											include_locked = yes
										}
								}
							add_extra_state_shared_building_slots = 2
							add_building_construction = {
									type = dockyard
									level = 2
									instant_build = yes
								}
						}
					add_tech_bonus = {
							name = ships_bonus
							bonus = 1.0
							uses = 1
							category = naval_equipment
						}
				}

	}
	focus = {
		id = SOV_reinforce_western_naval_bases
		icon = GFX_focus_SOV_reinforce_western_naval_bases
		cost = 5
		prerequisite = {
			focus = SOV_expand_the_red_fleet
		}
		x = 17
		y = 3
			available = {
					195 = {
							is_owned_and_controlled_by = ROOT
						}
				}
			#LENINGRAD
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					195 = {
							if = {
									limit = {
											free_building_slots = {
													building = dockyard
													size > 0
													include_locked = yes
												}
										}
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = dockyard
											level = 1
											instant_build = yes
										}
								}
							add_building_construction = {
									type = anti_air_building
									level = 2
									instant_build = yes
								}
							add_building_construction = {
									type = coastal_bunker
									level = 2
									instant_build = yes
									province = 3151
								}
							if = {
									limit = {
											ROOT = {
													has_tech = radio_detection
												}
											radar_station < 1
										}
									add_building_construction = {
											type = radar_station
											level = 1
											instant_build = yes
										}
								}
							else = {
									custom_effect_tooltip = SOV_reinforce_western_naval_bases_radar_tt
								}
							set_state_flag = SOV_naval_bases_reinforced_flag
						}
					custom_effect_tooltip = SOV_reinforce_western_naval_bases_other_states_tt
					if = {
							limit = {
									has_full_control_of_state = 111
								}
							111 = {
									add_building_construction = {
											type = anti_air_building
											level = 2
											instant_build = yes
										}
									add_building_construction = {
											type = coastal_bunker
											level = 2
											instant_build = yes
											province = 11105
										}
									set_state_flag = SOV_naval_bases_reinforced_flag
								}
						}
					if = {
							limit = {
									has_full_control_of_state = 812
								}
							812 = {
									add_building_construction = {
											type = anti_air_building
											level = 2
											instant_build = yes
										}
									add_building_construction = {
											type = coastal_bunker
											level = 2
											instant_build = yes
											province = 3152
										}
									set_state_flag = SOV_naval_bases_reinforced_flag
								}
						}
					if = {
							limit = {
									has_full_control_of_state = 808
								}
							808 = {
									add_building_construction = {
											type = anti_air_building
											level = 2
											instant_build = yes
										}
									add_building_construction = {
											type = coastal_bunker
											level = 2
											instant_build = yes
											province = 9340
										}
									set_state_flag = SOV_naval_bases_reinforced_flag
								}
						}
					if = {
							limit = {
									has_full_control_of_state = 189
								}
							189 = {
									add_building_construction = {
											type = anti_air_building
											level = 2
											instant_build = yes
										}
									add_building_construction = {
											type = coastal_bunker
											level = 2
											instant_build = yes
											province = 6314
										}
									set_state_flag = SOV_naval_bases_reinforced_flag
								}
						}
				}

	}
	focus = {
		id = SOV_reinforce_northern_naval_bases
		icon = GFX_focus_SOV_reinforce_northern_naval_bases
		cost = 5
		prerequisite = {
			focus = SOV_expand_the_red_fleet
		}
		x = 19
		y = 3
			available = {
					OR = {
							213 = {
									is_owned_and_controlled_by = ROOT
								}
							#MURMANSK
							214 = {
									is_owned_and_controlled_by = ROOT
								}
						}
				}
			#ARKHANGELSK
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					if = {
							limit = {
									has_full_control_of_state = 213
								}
							213 = {
									add_building_construction = {
											type = anti_air_building
											level = 2
											instant_build = yes
										}
									add_building_construction = {
											type = naval_base
											level = 2
											instant_build = yes
											province = 3134
										}
									add_building_construction = {
											type = coastal_bunker
											level = 2
											instant_build = yes
											province = 3134
										}
									set_state_flag = SOV_naval_bases_reinforced_flag
								}
						}
					if = {
							limit = {
									has_full_control_of_state = 214
								}
							214 = {
									add_building_construction = {
											type = anti_air_building
											level = 2
											instant_build = yes
										}
									add_building_construction = {
											type = naval_base
											level = 1
											instant_build = yes
											province = 3338
										}
									add_building_construction = {
											type = naval_base
											level = 2
											instant_build = yes
											province = 312
										}
									add_building_construction = {
											type = coastal_bunker
											level = 2
											instant_build = yes
											province = 3338
										}
									add_building_construction = {
											type = coastal_bunker
											level = 2
											instant_build = yes
											province = 312
										}
									set_state_flag = SOV_naval_bases_reinforced_flag
								}
						}
				}

	}
	focus = {
		id = SOV_reinforce_southern_naval_bases
		icon = GFX_focus_SOV_reinforce_southern_naval_bases
		cost = 5
		prerequisite = {
			focus = SOV_expand_the_red_fleet
		}
		x = 21
		y = 3
			available = {
					OR = {
							192 = {
									is_owned_and_controlled_by = ROOT
								}
							#ODESSA
							137 = {
									is_owned_and_controlled_by = ROOT
								}
							#CRIMEA
							218 = {
									is_owned_and_controlled_by = ROOT
								}
							#ROSTOV
							234 = {
									is_owned_and_controlled_by = ROOT
								}
						}
				}
			#KRASNODAR
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					if = {
							limit = {
									has_full_control_of_state = 192
								}
							192 = {
									add_building_construction = {
											type = anti_air_building
											level = 1
											instant_build = yes
										}
									add_building_construction = {
											type = naval_base
											level = 2
											instant_build = yes
											province = 11670
										}
									add_building_construction = {
											type = coastal_bunker
											level = 2
											instant_build = yes
											province = 11670
										}
									set_state_flag = SOV_naval_bases_reinforced_flag
								}
						}
					if = {
							limit = {
									has_full_control_of_state = 137
								}
							137 = {
									add_building_construction = {
											type = anti_air_building
											level = 2
											instant_build = yes
										}
									add_building_construction = {
											type = coastal_bunker
											level = 3
											instant_build = yes
											province = 3686
										}
									set_state_flag = SOV_naval_bases_reinforced_flag
								}
						}
					if = {
							limit = {
									has_full_control_of_state = 218
								}
							218 = {
									add_building_construction = {
											type = anti_air_building
											level = 1
											instant_build = yes
										}
									add_building_construction = {
											type = naval_base
											level = 2
											instant_build = yes
											province = 9417
										}
									add_building_construction = {
											type = coastal_bunker
											level = 2
											instant_build = yes
											province = 9417
										}
									set_state_flag = SOV_naval_bases_reinforced_flag
								}
						}
					if = {
							limit = {
									has_full_control_of_state = 234
								}
							234 = {
									add_building_construction = {
											type = anti_air_building
											level = 1
											instant_build = yes
										}
									add_building_construction = {
											type = naval_base
											level = 2
											instant_build = yes
											province = 719
										}
									add_building_construction = {
											type = coastal_bunker
											level = 2
											instant_build = yes
											province = 719
										}
									set_state_flag = SOV_naval_bases_reinforced_flag
								}
						}
				}

	}
	focus = {
		id = SOV_reinforce_eastern_naval_bases
		icon = GFX_focus_SOV_reinforce_eastern_naval_bases
		cost = 5
		prerequisite = {
			focus = SOV_expand_the_red_fleet
		}
		x = 23
		y = 3
			available = {
					OR = {
							408 = {
									is_owned_and_controlled_by = ROOT
								}
							#VLADIVOSTOK
							409 = {
									is_owned_and_controlled_by = ROOT
								}
						}
				}
			#KHABAROVSK
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					if = {
							limit = {
									has_full_control_of_state = 408
								}
							408 = {
									add_building_construction = {
											type = anti_air_building
											level = 2
											instant_build = yes
										}
									add_building_construction = {
											type = air_base
											level = 2
											instant_build = yes
										}
									add_building_construction = {
											type = naval_base
											level = 2
											instant_build = yes
											province = 957
										}
									add_building_construction = {
											type = coastal_bunker
											level = 2
											instant_build = yes
											province = 957
										}
									set_state_flag = SOV_naval_bases_reinforced_flag
								}
						}
					if = {
							limit = {
									has_full_control_of_state = 409
								}
							409 = {
									add_building_construction = {
											type = anti_air_building
											level = 1
											instant_build = yes
										}
									add_building_construction = {
											type = air_base
											level = 1
											instant_build = yes
										}
									add_building_construction = {
											type = naval_base
											level = 2
											instant_build = yes
											province = 9604
										}
									add_building_construction = {
											type = coastal_bunker
											level = 2
											instant_build = yes
											province = 9604
										}
									set_state_flag = SOV_naval_bases_reinforced_flag
								}
						}
				}

	}
	focus = {
		id = SOV_expand_shipbuilding_plants
		icon = GFX_goal_generic_construct_naval_dockyard
		cost = 6
		prerequisite = {
			focus = SOV_reinforce_western_naval_bases
			focus = SOV_reinforce_northern_naval_bases
			focus = SOV_reinforce_southern_naval_bases
			focus = SOV_reinforce_eastern_naval_bases
		}
		x = 20
		y = 4
			available = {

}
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					custom_effect_tooltip = SOV_expand_shipbuilding_plants_tt
					every_owned_state = {
							limit = {
									has_state_flag = SOV_naval_bases_reinforced_flag
									is_fully_controlled_by = ROOT
									free_building_slots = {
											building = dockyard
											size > 0
											include_locked = yes
										}
								}
							if = {
									limit = {
											state = 195
											free_building_slots = {
													building = dockyard
													size > 1
													include_locked = yes
												}
										}
									add_extra_state_shared_building_slots = 2
									add_building_construction = {
											type = dockyard
											level = 2
											instant_build = yes
										}
								}
							else = {
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = dockyard
											level = 1
											instant_build = yes
										}
								}
						}
				}

	}
	focus = {
		id = SOV_pc_of_the_ussr_navy
		icon = GFX_goal_generic_navy_cruiser
		cost = 5
		prerequisite = {
			focus = SOV_expand_shipbuilding_plants
		}
		x = 20
		y = 5
			available = {
					num_of_factories > 160
					OR = {
							has_completed_focus = SOV_increase_state_reserves
							has_completed_focus = SOV_strengthen_the_trade_unions
							has_completed_focus = SOV_back_to_the_nep
						}
				}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH }
			completion_reward = {
					hidden_effect = {
							if = {
									limit = {
											has_government = communism
										}
									add_dynamic_modifier = {
											modifier = SOV_the_red_fleet_dynamic_modifier
										}
								}
							else = {
									add_dynamic_modifier = {
											modifier = SOV_the_red_fleet_dynamic_modifier_alt
										}
								}
						}
					custom_effect_tooltip = SOV_pc_of_the_ussr_navy_ns_tt
					if = {
							limit = {
									has_government = communism
								}
							add_tech_bonus = {
									name = SOV_the_red_fleet_dynamic_modifier
									bonus = 1.0
									uses = 1
									category = ship_modules_tech
								}
						}
					else = {
							add_tech_bonus = {
									name = SOV_the_red_fleet_dynamic_modifier_alt
									bonus = 1.0
									uses = 1
									category = ship_modules_tech
								}
						}
				}

	}
	focus = {
		id = SOV_surface_warfare
		icon = GFX_focus_generic_destroyer
		cost = 6
		prerequisite = {
			focus = SOV_pc_of_the_ussr_navy
		}
		mutually_exclusive = {
			focus = SOV_submarine_warfare
		}
		x = 19
		y = 6
			available = {

}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH  FOCUS_FILTER_NAVY_XP }
			completion_reward = {
					hidden_effect = {
							if = {
									limit = {
											has_government = communism
										}
									remove_dynamic_modifier = {
											modifier = SOV_the_red_fleet_dynamic_modifier
										}
									add_dynamic_modifier = {
											modifier = SOV_the_red_fleet_surface_1_dynamic_modifier
										}
								}
							else = {
									remove_dynamic_modifier = {
											modifier = SOV_the_red_fleet_dynamic_modifier_alt
										}
									add_dynamic_modifier = {
											modifier = SOV_the_red_fleet_surface_1_dynamic_modifier_alt
										}
								}
							add_ideas = SOV_red_fleet_surface_bonus_1
						}
					custom_effect_tooltip = SOV_surface_warfare_ns_tt
					navy_experience = 15
					add_tech_bonus = {
							name = SOV_surface_warfare
							bonus = 1.0
							uses = 1
							category = dd_tech
						}
				}

	}
	focus = {
		id = SOV_submarine_warfare
		icon = GFX_goal_generic_navy_submarine
		cost = 6
		prerequisite = {
			focus = SOV_pc_of_the_ussr_navy
		}
		mutually_exclusive = {
			focus = SOV_surface_warfare
		}
		x = 21
		y = 6
			available = {

}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH  FOCUS_FILTER_NAVY_XP }
			completion_reward = {
					hidden_effect = {
							if = {
									limit = {
											has_government = communism
										}
									remove_dynamic_modifier = {
											modifier = SOV_the_red_fleet_dynamic_modifier
										}
									add_dynamic_modifier = {
											modifier = SOV_the_red_fleet_submarine_1_dynamic_modifier
										}
								}
							else = {
									remove_dynamic_modifier = {
											modifier = SOV_the_red_fleet_dynamic_modifier_alt
										}
									add_dynamic_modifier = {
											modifier = SOV_the_red_fleet_submarine_1_dynamic_modifier_alt
										}
								}
							add_ideas = SOV_red_fleet_submarine_bonus_1
						}
					custom_effect_tooltip = SOV_submarine_warfare_ns_tt
					navy_experience = 15
					add_tech_bonus = {
							name = SOV_submarine_warfare
							bonus = 1.0
							uses = 1
							category = ss_tech
						}
				}

	}
	focus = {
		id = SOV_offensive_maritime_strategy
		icon = GFX_focus_generic_cruiser2
		cost = 6
		prerequisite = {
			focus = SOV_surface_warfare
			focus = SOV_submarine_warfare
		}
		x = 20
		y = 7
			available = {
					if = {
							limit = {
									has_dlc = "Man the Guns"
								}
							has_tech = basic_ship_hull_heavy
						}
				}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH  FOCUS_FILTER_NAVY_XP }
			completion_reward = {
					hidden_effect = {
							if = {
									limit = {
											has_government = communism
										}
									remove_dynamic_modifier = {
											modifier = SOV_the_red_fleet_surface_1_dynamic_modifier
										}
									add_dynamic_modifier = {
											modifier = SOV_the_red_fleet_surface_2_dynamic_modifier
										}
								}
							else = {
									remove_dynamic_modifier = {
											modifier = SOV_the_red_fleet_surface_1_dynamic_modifier_alt
										}
									add_dynamic_modifier = {
											modifier = SOV_the_red_fleet_surface_2_dynamic_modifier_alt
										}
								}
							swap_ideas = {
									remove_idea = SOV_red_fleet_surface_bonus_1
									add_idea = SOV_red_fleet_surface_bonus_2
								}
						}
					custom_effect_tooltip = SOV_offensive_maritime_strategy_ns_tt
					navy_experience = 25
					add_tech_bonus = {
							name = SOV_offensive_maritime_strategy
							bonus = 1.0
							uses = 1
							category = ca_tech
							category = cl_tech
						}
					if = {
							limit = {
									NOT = {
											has_dlc = "Man the Guns"
										}
								}
							add_tech_bonus = {
									name = SOV_offensive_maritime_strategy
									bonus = 1.0
									uses = 1
									category = bc_tech
								}
						}
					else = {
							create_equipment_variant = {
									name = "Kronshtadt Class"
									type = ship_hull_heavy_2
									name_group = SOV_BC_HISTORICAL
									parent_version = 0
									modules = {
											fixed_ship_battery_slot = ship_heavy_battery_1
											fixed_ship_anti_air_slot = ship_anti_air_1
											fixed_ship_fire_control_system_slot = ship_fire_control_system_0
											fixed_ship_radar_slot = empty
											fixed_ship_engine_slot = heavy_ship_engine_2
											fixed_ship_secondaries_slot = ship_secondaries_1
											fixed_ship_armor_slot = ship_armor_bc_2
											front_1_custom_slot = ship_heavy_battery_1
											mid_1_custom_slot = ship_secondaries_1
											mid_2_custom_slot = ship_anti_air_1
											rear_1_custom_slot = ship_airplane_launcher_1
										}
								}
							add_equipment_production = {
									equipment = {
											type = ship_hull_heavy_2
											creator = "SOV"
											version_name = "Kronshtadt Class"
										}
									requested_factories = 1
									progress = 0.50
									amount = 1
								}
							add_equipment_production = {
									equipment = {
											type = ship_hull_heavy_2
											creator = "SOV"
											version_name = "Kronshtadt Class"
										}
									requested_factories = 1
									progress = 0.35
									amount = 1
								}
						}
				}

	}
	focus = {
		id = SOV_an_oceangoing_navy
		icon = GFX_goal_generic_navy_battleship
		cost = 6
		prerequisite = {
			focus = SOV_surface_warfare
		}
		x = 18
		y = 7
			available = {
					NOT = {
							has_country_flag = SOV_paranoia_system_active_flag
						}
					if = {
							limit = {
									has_dlc = "Man the Guns"
								}
							has_tech = basic_ship_hull_heavy
						}
				}
			search_filters = { FOCUS_FILTER_RESEARCH  FOCUS_FILTER_NAVY_XP }
			completion_reward = {
					navy_experience = 25
					add_tech_bonus = {
							name = SOV_an_oceangoing_navy
							bonus = 1.0
							uses = 1
							category = bb_tech
						}
					if = {
							limit = {
									NOT = {
											has_dlc = "Man the Guns"
										}
								}
							add_tech_bonus = {
									name = SOV_an_oceangoing_navy
									bonus = 1.0
									uses = 1
									category = shbb_tech
								}
						}
					else = {
							if = {
									limit = {
											NOT = {
													has_tech = ship_hull_super_heavy
												}
										}
									hidden_effect = {
											set_technology = {
													ship_hull_super_heavy = 1
												}
										}
									custom_effect_tooltip = SOV_an_oceangoing_navy_shbb_tt
								}
							create_equipment_variant = {
									name = "Sovetsky Soyuz Class"
									type = ship_hull_super_heavy_1
									name_group = SOV_STATES
									parent_version = 0
									modules = {
											fixed_ship_battery_slot = ship_super_heavy_battery_1
											fixed_ship_anti_air_slot = ship_anti_air_2
											fixed_ship_fire_control_system_slot = ship_fire_control_system_1
											fixed_ship_radar_slot = empty
											fixed_ship_engine_slot = heavy_ship_engine_2
											fixed_ship_secondaries_slot = ship_secondaries_2
											fixed_ship_armor_slot = ship_armor_shbb
											front_1_custom_slot = ship_anti_air_2
											front_2_custom_slot = empty
											mid_1_custom_slot = empty
											mid_2_custom_slot = ship_secondaries_2
											mid_3_custom_slot = ship_secondaries_2
											rear_1_custom_slot = ship_super_heavy_battery_1
											rear_2_custom_slot = ship_airplane_launcher_1
										}
								}
							add_equipment_production = {
									equipment = {
											type = ship_hull_super_heavy_1
											creator = "SOV"
											version_name = "Sovetsky Soyuz Class"
										}
									requested_factories = 1
									progress = 0.50
									amount = 1
								}
							add_equipment_production = {
									equipment = {
											type = ship_hull_super_heavy_1
											creator = "SOV"
											version_name = "Sovetsky Soyuz Class"
										}
									requested_factories = 1
									progress = 0.25
									amount = 1
								}
							add_equipment_production = {
									equipment = {
											type = ship_hull_super_heavy_1
											creator = "SOV"
											version_name = "Sovetsky Soyuz Class"
										}
									requested_factories = 1
									progress = 0.25
									amount = 1
								}
						}
				}

	}
	focus = {
		id = SOV_advanced_maneuvers
		icon = GFX_goal_generic_navy_doctrines_tactics
		cost = 6
		prerequisite = {
			focus = SOV_offensive_maritime_strategy
		}
		x = 20
		y = 8
			available = {

}
			search_filters = { FOCUS_FILTER_NAVY_XP }
			completion_reward = {
					set_variable = {
							SOV_red_fleet_naval_coordination = 0.1
						}
					set_variable = {
							SOV_red_fleet_navy_visibility = -0.05
						}
					set_variable = {
							SOV_red_fleet_positioning = 0.1
						}
					set_variable = {
							SOV_red_fleet_screening_efficiency = 0.1
						}
					custom_effect_tooltip = SOV_advanced_maneuvers_ns_tt
					navy_experience = 50
				}

	}
	focus = {
		id = SOV_naval_infantry
		icon = GFX_goal_generic_amphibious_assault
		cost = 6
		prerequisite = {
			focus = SOV_advanced_maneuvers
		}
		x = 20
		y = 9
			available = {

}
			search_filters = { FOCUS_FILTER_RESEARCH  FOCUS_FILTER_NAVY_XP  FOCUS_FILTER_ARMY_XP }
			completion_reward = {
					if = {
							limit = {
									has_dlc = "Arms Against Tyranny"
								}
							add_potential_special_forces_tree = yes
							add_doctrine_cost_reduction = {
									name = SOV_naval_infantry
									cost_reduction = 0.25
									uses = 1
									category = special_forces_doctrine
								}
						}
					set_variable = {
							SOV_red_fleet_naval_invasion_capacity = 5
						}
					set_variable = {
							SOV_red_fleet_invasion_preparation = -0.1
						}
					set_variable = {
							SOV_red_fleet_special_forces_cap = 0.1
						}
					custom_effect_tooltip = SOV_naval_infantry_ns_tt
					navy_experience = 25
					army_experience = 25
					add_tech_bonus = {
							name = SOV_naval_infantry
							bonus = 1
							uses = 1
							category = marine_tech
						}
				}

	}
	focus = {
		id = SOV_merge_naval_plants
		icon = GFX_focus_SOV_merge_plants
		cost = 5
		prerequisite = {
			focus = SOV_naval_infantry
		}
		x = 21
		y = 10
			available = {
					NOT = {
							has_country_flag = SOV_paranoia_system_active_flag
						}
				}
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					if = {
							limit = {
									has_dlc = "Arms Against Tyranny"
								}
							if = {
									limit = {
											has_dlc = "Man the Guns"
										}
									mio:SOV_nevskoye_design_bureau_organization = {
											unlock_mio_trait_tooltip = SOV_mio_trait_merge_plant_no_370
											unlock_mio_trait_tooltip = SOV_mio_trait_merge_plant_no_5
										}
									mio:SOV_rubin_design_bureau_organization = {
											unlock_mio_trait_tooltip = SOV_mio_trait_merge_plant_no_370
											unlock_mio_trait_tooltip = SOV_mio_trait_merge_plant_no_363
											unlock_mio_trait_tooltip = SOV_mio_trait_merge_plant_no_190
										}
									mio:SOV_black_sea_shipyard_organization = {
											unlock_mio_trait_tooltip = SOV_mio_trait_merge_mariupol_plant
											unlock_mio_trait_tooltip = SOV_mio_trait_merge_leninskaya_kuznitsa_plant
											unlock_mio_trait_tooltip = SOV_mio_trait_merge_plant_no_340
										}
									mio:SOV_sevastopol_marine_plant_organization = {
											unlock_mio_trait_tooltip = SOV_mio_trait_merge_mariupol_plant
											unlock_mio_trait_tooltip = SOV_mio_trait_merge_plant_no_200
										}
								}
							else = {
									mio:SOV_nevskoye_design_bureau_organization = {
											unlock_mio_trait_tooltip = SOV_mio_trait_merge_plant_no_370_no_mtg
											unlock_mio_trait_tooltip = SOV_mio_trait_merge_plant_no_5
										}
									mio:SOV_rubin_design_bureau_organization = {
											unlock_mio_trait_tooltip = SOV_mio_trait_merge_plant_no_370_no_mtg
											unlock_mio_trait_tooltip = SOV_mio_trait_merge_plant_no_363
											unlock_mio_trait_tooltip = SOV_mio_trait_merge_plant_no_190
										}
									mio:SOV_black_sea_shipyard_organization = {
											unlock_mio_trait_tooltip = SOV_mio_trait_merge_mariupol_plant_no_mtg
											unlock_mio_trait_tooltip = SOV_mio_trait_merge_leninskaya_kuznitsa_plant
											unlock_mio_trait_tooltip = SOV_mio_trait_merge_plant_no_340
										}
									mio:SOV_sevastopol_marine_plant_organization = {
											unlock_mio_trait_tooltip = SOV_mio_trait_merge_mariupol_plant_no_mtg
											unlock_mio_trait_tooltip = SOV_mio_trait_merge_plant_no_200
										}
								}
						}
					else = {
							custom_effect_tooltip = SOV_merge_naval_plants_tt
						}
				}

	}
	focus = {
		id = SOV_long_range_raiders
		icon = GFX_goal_generic_navy_anti_submarine
		cost = 6
		prerequisite = {
			focus = SOV_offensive_maritime_strategy
		}
		x = 22
		y = 8
			available = {

}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH  FOCUS_FILTER_NAVY_XP }
			completion_reward = {
					hidden_effect = {
							if = {
									limit = {
											has_government = communism
										}
									remove_dynamic_modifier = {
											modifier = SOV_the_red_fleet_submarine_1_dynamic_modifier
										}
									add_dynamic_modifier = {
											modifier = SOV_the_red_fleet_submarine_2_dynamic_modifier
										}
								}
							else = {
									remove_dynamic_modifier = {
											modifier = SOV_the_red_fleet_submarine_1_dynamic_modifier_alt
										}
									add_dynamic_modifier = {
											modifier = SOV_the_red_fleet_submarine_2_dynamic_modifier_alt
										}
								}
							swap_ideas = {
									remove_idea = SOV_red_fleet_submarine_bonus_1
									add_idea = SOV_red_fleet_submarine_bonus_2
								}
						}
					custom_effect_tooltip = SOV_submarine_warfare_ns_tt
					navy_experience = 25
					add_tech_bonus = {
							name = SOV_long_range_raiders
							ahead_reduction = 1
							uses = 1
							category = ss_tech
						}
					set_technology = {
							cruiser_submarines = 1
						}
					if = {
							limit = {
									has_dlc = "Man the Guns"
								}
							create_equipment_variant = {
									name = "K Class"
									type = ship_hull_cruiser_submarine
									name_group = SOV_SS_HISTORICAL
									parent_version = 0
									modules = {
											fixed_ship_torpedo_slot = ship_torpedo_sub_2
											fixed_ship_engine_slot = sub_ship_engine_2
											front_1_custom_slot = ship_mine_layer_sub
											mid_1_custom_slot = empty
											rear_1_custom_slot = ship_torpedo_sub_2
										}
								}
							add_equipment_production = {
									equipment = {
											type = ship_hull_cruiser_submarine
											creator = "SOV"
											version_name = "K Class"
										}
									name = "K-1"
									requested_factories = 1
									progress = 0.35
									amount = 1
								}
							add_equipment_production = {
									equipment = {
											type = ship_hull_cruiser_submarine
											creator = "SOV"
											version_name = "K Class"
										}
									name = "K-2"
									requested_factories = 1
									progress = 0.35
									amount = 1
								}
						}
					else = {
							if = {
									limit = {
											has_tech = improved_submarine
										}
									add_equipment_production = {
											equipment = {
													type = submarine_3
													creator = "SOV"
													version_name = "K Class"
												}
											requested_factories = 1
											progress = 0.35
											amount = 1
										}
									add_equipment_production = {
											equipment = {
													type = submarine_3
													creator = "SOV"
													version_name = "K Class"
												}
											requested_factories = 1
											progress = 0.35
											amount = 1
										}
								}
							else = {
									add_equipment_production = {
											equipment = {
													type = submarine_2
													creator = "SOV"
													version_name = "K Class"
												}
											requested_factories = 1
											progress = 0.35
											amount = 1
										}
									add_equipment_production = {
											equipment = {
													type = submarine_2
													creator = "SOV"
													version_name = "K Class"
												}
											requested_factories = 1
											progress = 0.35
											amount = 1
										}
								}
						}
				}

	}
	focus = {
		id = SOV_pc_of_mechanical_engineering
		icon = GFX_goal_generic_production2
		cost = 6
		prerequisite = {
			focus = SOV_military_engineering_university
		}
		prerequisite = {
			focus = SOV_finish_the_five_year_plan
		}
		x = 26
		y = 2
			available = {
					has_full_control_of_state = 219#MOSCOW
				}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH }
			completion_reward = {
					if = {
							limit = {
									has_government = communism
								}
							add_tech_bonus = {
									name = SOV_pc_of_mechanical_engineering_name_default
									bonus = 1
									uses = 1
									category = motorized_equipment
									category = infantry_weapons
								}
						}
					else = {
							add_tech_bonus = {
									name = SOV_pc_of_mechanical_engineering_name_alt
									bonus = 1
									uses = 1
									category = motorized_equipment
									category = infantry_weapons
								}
						}
					219 = {
							if = {
									limit = {
											free_building_slots = {
													building = arms_factory
													size > 0
													include_locked = yes
												}
										}
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = arms_factory
											level = 1
											instant_build = yes
										}
								}
						}
				}

	}
	focus = {
		id = SOV_superior_war_machines
		icon = GFX_focus_generic_tank_production
		cost = 6
		prerequisite = {
			focus = SOV_pc_of_mechanical_engineering
		}
		x = 25
		y = 3
			available = {
					has_tech = improved_medium_tank_chassis
				}
			search_filters = { FOCUS_FILTER_RESEARCH }
			completion_reward = {
					set_variable = {
							SOV_defense_industry_tank_manufacturer_cost_factor = -0.1
						}
					custom_effect_tooltip = SOV_superior_war_machines_ns_tt
					add_tech_bonus = {
							name = SOV_superior_war_machines
							bonus = 0.75
							uses = 1
							category = armor
						}
					if = {
							limit = {
									OR = {
											has_tech = artillery3
											has_tech = antitank3
										}
								}
							create_equipment_variant = {
									name = "T-34/76(1941)"
									type = medium_tank_chassis_2
									parent_version = 0
									modules = {
											main_armament_slot = tank_medium_cannon_2
											turret_type_slot = tank_medium_two_man_tank_turret
											suspension_type_slot = tank_christie_suspension
											armor_type_slot = tank_welded_armor
											engine_type_slot = tank_diesel_engine
											special_type_slot_1 = sloped_armor
										}
									upgrades = {
											tank_nsb_engine_upgrade = 7
											tank_nsb_armor_upgrade = 6
										}
									icon = "gfx/interface/technologies/SOV_imp_main_tank.dds"
								}
						}
					else_if = {
							limit = {
									OR = {
											has_tech = artillery1
											has_tech = antitank1
										}
								}
							create_equipment_variant = {
									name = "T-34/76(1940)"
									type = medium_tank_chassis_2
									parent_version = 0
									modules = {
											main_armament_slot = tank_medium_cannon
											turret_type_slot = tank_medium_two_man_tank_turret
											suspension_type_slot = tank_christie_suspension
											armor_type_slot = tank_welded_armor
											engine_type_slot = tank_diesel_engine
											special_type_slot_1 = sloped_armor
										}
									upgrades = {
											tank_nsb_engine_upgrade = 8
											tank_nsb_armor_upgrade = 7
										}
									icon = "gfx/interface/technologies/SOV_imp_main_tank.dds"
								}
						}
					else_if = {
							limit = {
									has_tech = interwar_artillery
								}
							create_equipment_variant = {
									name = "A-32(1939)"
									type = medium_tank_chassis_2
									parent_version = 0
									modules = {
											main_armament_slot = tank_small_cannon_2
											turret_type_slot = tank_medium_two_man_tank_turret
											suspension_type_slot = tank_christie_suspension
											armor_type_slot = tank_welded_armor
											engine_type_slot = tank_diesel_engine
											special_type_slot_1 = sloped_armor
										}
									upgrades = {
											tank_nsb_engine_upgrade = 8
											tank_nsb_armor_upgrade = 5
										}
									icon = "gfx/interface/technologies/SOV_imp_main_tank.dds"
								}
						}
					else = {
							create_equipment_variant = {
									name = "A-20(1938)"
									type = medium_tank_chassis_2
									parent_version = 0
									modules = {
											main_armament_slot = tank_small_cannon
											turret_type_slot = tank_medium_two_man_tank_turret
											suspension_type_slot = tank_christie_suspension
											armor_type_slot = tank_welded_armor
											engine_type_slot = tank_diesel_engine
											special_type_slot_1 = sloped_armor
										}
									upgrades = {
											tank_nsb_engine_upgrade = 8
											tank_nsb_armor_upgrade = 5
										}
									icon = "gfx/interface/technologies/SOV_imp_main_tank.dds"
								}
						}
				}

	}
	focus = {
		id = SOV_development_of_tankograd
		icon = GFX_goal_generic_army_tanks
		cost = 6
		prerequisite = {
			focus = SOV_superior_war_machines
		}
		x = 25
		y = 4
			available = {
					custom_trigger_tooltip = {
							tooltip = SOV_fyp_controlled_factories_tier_4_tt
							NOT = {
									num_of_controlled_factories < SOV_fyp_factory_requirement_tier_4
								}
						}
				}
			#TODO_Manu: This could require X num of factories to have been relocated
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_ARMY_XP }
			completion_reward = {
					add_to_variable = {
							SOV_defense_industry_land_equipment_upgrade_xp_cost = -0.05
						}
					custom_effect_tooltip = SOV_development_of_tankograd_ns_tt
					custom_effect_tooltip = SOV_development_of_tankograd_factories_tt
					effect_tooltip = {
							every_owned_state = {
									limit = {
											is_on_continent = asia
											arms_factory > 2
											free_building_slots = {
													building = arms_factory
													size > 1
													include_locked = yes
												}
										}
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = arms_factory
											level = 1
											instant_build = yes
										}
								}
						}
					set_temp_variable = {
							temp_targets_index = 0
						}
					while_loop_effect = {
							limit = {
									check_variable = {
											temp_targets_index = 10
											compare = less_than
										}
								}
							hidden_effect = {
									random_owned_state = {
											limit = {
													is_on_continent = asia
													arms_factory > 2
													free_building_slots = {
															building = arms_factory
															size > 1
															include_locked = yes
														}
													NOT = {
															has_state_flag = SOV_development_of_tankograd_flag
														}
												}
											add_extra_state_shared_building_slots = 1
											add_building_construction = {
													type = arms_factory
													level = 1
													instant_build = yes
												}
											set_state_flag = SOV_development_of_tankograd_flag
											add_to_temp_variable = {
													SOV.temp_targets_index = 1
												}
											log = "Round [?SOV.temp_targets_index]"
										}
								}
						}
				}

	}
	focus = {
		id = SOV_move_industry_to_the_urals
		icon = GFX_goal_reichsautobahn
		cost = 6
		prerequisite = {
			focus = SOV_found_the_pcdi
		}
		x = 27
		y = 1
			available = {
					has_full_control_of_state = 219#MOSCOW
					has_equipment = {
							train_equipment > 119
						}
					#20 trains per factory
							surrender_progress > 0.01
							any_enemy_country = {
									SOV_is_major_not_original_sov = yes
								}
				}
			select_effect = {
					add_equipment_to_stockpile = {
							type = train_equipment
							amount = SOV_industrial_relocation_trains_focus_negative
							producer = SOV
						}
					#Factories are removed immediately to keep consistency with how decisions work
					219 = {
							remove_building = {
									type = arms_factory
									level = 1
								}
							remove_building = {
									type = industrial_complex
									level = 1
								}
						}
					#Moscow
					if = {
							limit = {
									has_full_control_of_state = 195
								}
							195 = {
									remove_building = {
											type = arms_factory
											level = 1
										}
									remove_building = {
											type = industrial_complex
											level = 1
										}
								}
						}
					#Leningrad
					if = {
							limit = {
									has_full_control_of_state = 202
								}
							202 = {
									remove_building = {
											type = arms_factory
											level = 1
										}
									remove_building = {
											type = industrial_complex
											level = 1
										}
								}
						}
				}
			#Kiev
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					hidden_effect = {
							add_equipment_to_stockpile = {
									type = train_equipment
									amount = SOV_industrial_relocation_trains_focus
									producer = SOV
								}
						}
					custom_effect_tooltip = SOV_focus_select_effect_tt
					effect_tooltip = {
							219 = {
									remove_building = {
											type = arms_factory
											level = 1
										}
									remove_building = {
											type = industrial_complex
											level = 1
										}
								}
							if = {
									limit = {
											has_full_control_of_state = 195
										}
									195 = {
											remove_building = {
													type = arms_factory
													level = 1
												}
											remove_building = {
													type = industrial_complex
													level = 1
												}
										}
								}
							if = {
									limit = {
											has_full_control_of_state = 202
										}
									202 = {
											remove_building = {
													type = arms_factory
													level = 1
												}
											remove_building = {
													type = industrial_complex
													level = 1
												}
										}
								}
						}
					custom_effect_tooltip = SOV_move_industry_to_the_urals_trains_tt
					custom_effect_tooltip = SOV_focus_complete_effect_tt
					unlock_decision_category_tooltip = SOV_industry_relocation
					random_controlled_state = {
							limit = {
									SOV_is_industrial_relocation_destiny_state = yes
								}
							add_extra_state_shared_building_slots = 2
							add_building_construction = {
									type = arms_factory
									level = 1
									instant_build = yes
								}
							add_building_construction = {
									type = industrial_complex
									level = 1
									instant_build = yes
								}
							hidden_effect = {
									damage_building = {
											type = arms_factory
											damage = 0.5
										}
									damage_building = {
											type = industrial_complex
											damage = 0.5
										}
								}
						}
					if = {
							limit = {
									ROOT = {
											has_full_control_of_state = 195
										}
								}
							random_controlled_state = {
									limit = {
											NOT = {
													state = PREV
												}
											SOV_is_industrial_relocation_destiny_state = yes
										}
									add_extra_state_shared_building_slots = 2
									add_building_construction = {
											type = arms_factory
											level = 1
											instant_build = yes
										}
									add_building_construction = {
											type = industrial_complex
											level = 1
											instant_build = yes
										}
									hidden_effect = {
											damage_building = {
													type = arms_factory
													damage = 0.5
												}
											damage_building = {
													type = industrial_complex
													damage = 0.5
												}
										}
								}
						}
					if = {
							limit = {
									ROOT = {
											has_full_control_of_state = 202
										}
								}
							random_controlled_state = {
									limit = {
											NOT = {
													state = PREV
												}
											SOV_is_industrial_relocation_destiny_state = yes
										}
									add_extra_state_shared_building_slots = 2
									add_building_construction = {
											type = arms_factory
											level = 1
											instant_build = yes
										}
									add_building_construction = {
											type = industrial_complex
											level = 1
											instant_build = yes
										}
									hidden_effect = {
											damage_building = {
													type = arms_factory
													damage = 0.5
												}
											damage_building = {
													type = industrial_complex
													damage = 0.5
												}
										}
								}
						}
					custom_effect_tooltip = SOV_relocate_industry_repair_tt
				}

	}
	focus = {
		id = SOV_the_means_to_wage_war
		icon = GFX_goal_generic_military_sphere
		cost = 6
		prerequisite = {
			focus = SOV_pc_of_mechanical_engineering
		}
		x = 27
		y = 3
			available = {

}
			search_filters = { FOCUS_FILTER_RESEARCH }
			completion_reward = {
					set_variable = {
							SOV_defense_industry_materiel_manufacturer_cost_factor = -0.2
						}
					custom_effect_tooltip = SOV_the_means_to_wage_war_ns_tt
					add_tech_bonus = {
							name = SOV_the_means_to_wage_war
							bonus = 0.5
							uses = 2
							category = support_tech
						}
				}

	}
	focus = {
		id = SOV_soviet_artillery
		icon = GFX_goal_generic_army_artillery
		cost = 6
		prerequisite = {
			focus = SOV_the_means_to_wage_war
		}
		x = 27
		y = 4
			available = {

}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH }
			completion_reward = {
					if = {
							limit = {
									has_government = communism
								}
							add_tech_bonus = {
									name = SOV_soviet_artillery_tech_bonus_name_default
									bonus = 0.75
									uses = 1
									category = artillery
								}
						}
					else = {
							add_tech_bonus = {
									name = SOV_soviet_artillery_tech_bonus_name_alt
									bonus = 0.75
									uses = 1
									category = artillery
								}
						}
					if = {
							limit = {
									has_full_control_of_state = 572
									572 = {
											free_building_slots = {
													building = arms_factory
													size > 0
													include_locked = yes
												}
										}
								}
							572 = {
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = arms_factory
											level = 1
											instant_build = yes
										}
								}
						}
					else = {
							random_owned_state = {
									limit = {
											is_fully_controlled_by = ROOT
											arms_factory > 1
											free_building_slots = {
													building = arms_factory
													size > 0
													include_locked = yes
												}
										}
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = arms_factory
											level = 1
											instant_build = yes
										}
								}
						}
					add_ideas = SOV_defense_industry_artillery_bonus
					if = {
							limit = {
									has_tech = antitank5
								}
							create_equipment_variant = {
									name = "SU-100M"
									type = medium_tank_destroyer_chassis_2
									parent_version = 0
									modules = {
											main_armament_slot = tank_high_velocity_cannon_3
											turret_type_slot = tank_medium_fixed_superstructure_turret
											suspension_type_slot = tank_christie_suspension
											armor_type_slot = tank_welded_armor
											engine_type_slot = tank_diesel_engine
											special_type_slot_1 = sloped_armor
											special_type_slot_2 = empty
										}
									upgrades = {
											tank_nsb_engine_upgrade = 10
											tank_nsb_armor_upgrade = 8
										}
									icon = "gfx/interface/technologies/SOV_advanced_medium_tank_destroyer.dds"
								}
						}
					else_if = {
							limit = {
									has_tech = antitank2
								}
							create_equipment_variant = {
									name = "SU-100"
									type = medium_tank_destroyer_chassis_2
									parent_version = 0
									modules = {
											main_armament_slot = tank_high_velocity_cannon_2
											turret_type_slot = tank_medium_fixed_superstructure_turret
											suspension_type_slot = tank_christie_suspension
											armor_type_slot = tank_welded_armor
											engine_type_slot = tank_diesel_engine
											special_type_slot_1 = sloped_armor
											special_type_slot_2 = empty
										}
									upgrades = {
											tank_nsb_engine_upgrade = 10
											tank_nsb_armor_upgrade = 6
										}
									icon = "gfx/interface/technologies/SOV_advanced_medium_tank_destroyer.dds"
								}
						}
					else_if = {
							limit = {
									has_tech = interwar_antitank
								}
							create_equipment_variant = {
									name = "SU-85M"
									type = medium_tank_destroyer_chassis_2
									parent_version = 0
									modules = {
											main_armament_slot = tank_high_velocity_cannon
											turret_type_slot = tank_medium_fixed_superstructure_turret
											suspension_type_slot = tank_christie_suspension
											armor_type_slot = tank_welded_armor
											engine_type_slot = tank_diesel_engine
											special_type_slot_1 = sloped_armor
										}
									upgrades = {
											tank_nsb_engine_upgrade = 10
											tank_nsb_armor_upgrade = 8
										}
									icon = "gfx/interface/technologies/SOV_improved_medium_tank_destroyer.dds"
								}
						}
					else = {
							create_equipment_variant = {
									name = "SU-85"
									type = medium_tank_destroyer_chassis_2
									parent_version = 0
									modules = {
											main_armament_slot = tank_high_velocity_cannon
											turret_type_slot = tank_medium_fixed_superstructure_turret
											suspension_type_slot = tank_christie_suspension
											armor_type_slot = tank_welded_armor
											engine_type_slot = tank_diesel_engine
											special_type_slot_1 = sloped_armor
										}
									upgrades = {
											tank_nsb_engine_upgrade = 8
											tank_nsb_armor_upgrade = 5
										}
									icon = "gfx/interface/technologies/SOV_improved_medium_tank_destroyer.dds"
								}
						}
					if = {
							limit = {
									has_tech = artillery4
								}
							create_equipment_variant = {
									name = "SU-122B"
									type = medium_tank_artillery_chassis_2
									parent_version = 0
									modules = {
											main_armament_slot = tank_medium_howitzer_2
											turret_type_slot = tank_medium_fixed_superstructure_turret
											suspension_type_slot = tank_bogie_suspension
											armor_type_slot = tank_riveted_armor
											engine_type_slot = tank_diesel_engine
											special_type_slot_1 = sloped_armor
										}
									upgrades = {
											tank_nsb_engine_upgrade = 8
											tank_nsb_armor_upgrade = 6
										}
									icon = "gfx/interface/technologies/SOV_improved_medium_tank_artillery.dds"
								}
						}
					else_if = {
							limit = {
									has_tech = artillery1
								}
							create_equipment_variant = {
									name = "SU-122A"
									type = medium_tank_artillery_chassis_2
									parent_version = 0
									modules = {
											main_armament_slot = tank_medium_howitzer
											turret_type_slot = tank_medium_fixed_superstructure_turret
											suspension_type_slot = tank_bogie_suspension
											armor_type_slot = tank_riveted_armor
											engine_type_slot = tank_diesel_engine
											special_type_slot_1 = sloped_armor
										}
									upgrades = {
											tank_nsb_engine_upgrade = 8
											tank_nsb_armor_upgrade = 6
										}
									icon = "gfx/interface/technologies/SOV_improved_medium_tank_artillery.dds"
								}
						}
					else = {
							create_equipment_variant = {
									name = "SU-122"
									type = medium_tank_artillery_chassis_2
									parent_version = 0
									modules = {
											main_armament_slot = tank_medium_howitzer
											turret_type_slot = tank_medium_fixed_superstructure_turret
											suspension_type_slot = tank_bogie_suspension
											armor_type_slot = tank_riveted_armor
											engine_type_slot = tank_diesel_engine
											special_type_slot_1 = sloped_armor
										}
									upgrades = {
											tank_nsb_engine_upgrade = 7
											tank_nsb_armor_upgrade = 5
										}
									icon = "gfx/interface/technologies/SOV_improved_medium_tank_artillery.dds"
								}
						}
				}

	}
	focus = {
		id = SOV_merge_tank_and_materiel_plants
		icon = GFX_focus_SOV_merge_plants
		cost = 5
		prerequisite = {
			focus = SOV_development_of_tankograd
		}
		prerequisite = {
			focus = SOV_soviet_artillery
		}
		x = 26
		y = 5
			available = {
					NOT = {
							has_country_flag = SOV_paranoia_system_active_flag
						}
				}
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					if = {
							limit = {
									has_dlc = "Arms Against Tyranny"
								}
							every_military_industrial_organization = {
									limit = {
											has_mio_trait = SOV_mio_trait_merge_plant_no_174
										}
									unlock_mio_trait_tooltip = SOV_mio_trait_merge_plant_no_174
									unlock_mio_trait_tooltip = SOV_mio_trait_merge_plant_no_112
									unlock_mio_trait_tooltip = SOV_mio_trait_merge_ural_heavy_machine_building_plant
								}
							every_military_industrial_organization = {
									limit = {
											has_mio_trait = SOV_mio_trait_merge_nkmz_plant
										}
									unlock_mio_trait_tooltip = SOV_mio_trait_merge_nkmz_plant
									unlock_mio_trait_tooltip = SOV_mio_trait_merge_magnitogorsk_metallurgical_plant
								}
							mio:SOV_grabin_design_bureau_organization = {
									unlock_mio_trait_tooltip = SOV_mio_trait_merge_plant_no_172
								}
							mio:SOV_tula_arms_plant_organization = {
									unlock_mio_trait_tooltip = SOV_mio_trait_merge_plant_no_622
								}
							mio:SOV_gaz_organization = {
									unlock_mio_trait_tooltip = SOV_mio_trait_merge_automobile_tool_plant
								}
						}
					else = {
							custom_effect_tooltip = SOV_merge_tank_and_materiel_plants_tt
						}
				}

	}
	focus = {
		id = SOV_pc_of_mortar_armament
		icon = GFX_goal_generic_occupy_start_war
		cost = 6
		prerequisite = {
			focus = SOV_soviet_artillery
		}
		x = 28
		y = 5
			available = {
					has_full_control_of_state = 219#MOSCOW
				}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH }
			completion_reward = {
					add_to_variable = {
							SOV_defense_industry_breakthrough_factor = 0.05
						}
					add_to_variable = {
							SOV_defense_industry_army_artillery_defence_factor = 0.05
						}
					custom_effect_tooltip = SOV_pc_of_mortar_armament_ns_tt
					if = {
							limit = {
									has_government = communism
								}
							add_tech_bonus = {
									name = SOV_pc_of_mortar_armament_name_default
									bonus = 0.75
									uses = 1
									category = artillery
								}
						}
					else = {
							add_tech_bonus = {
									name = SOV_pc_of_mortar_armament_name_alt
									bonus = 0.75
									uses = 1
									category = artillery
								}
						}
					219 = {
							if = {
									limit = {
											free_building_slots = {
													building = arms_factory
													size > 0
													include_locked = yes
												}
										}
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = arms_factory
											level = 1
											instant_build = yes
										}
								}
						}
				}

	}
	focus = {
		id = SOV_the_molotov_line
		icon = GFX_goal_fortify_the_westwall
		cost = 6
		prerequisite = {
			focus = SOV_military_engineering_university
		}
		mutually_exclusive = {
			focus = SOV_improve_the_stalin_line
		}
		x = 29
		y = 2
			available = {
					OR = {
							has_full_control_of_state = 188
							has_full_control_of_state = 189
							has_full_control_of_state = 814
							has_full_control_of_state = 97
							has_full_control_of_state = 94
							has_full_control_of_state = 93
							has_full_control_of_state = 91
							has_full_control_of_state = 89
							has_full_control_of_state = 80
							has_full_control_of_state = 78
							has_full_control_of_state = 766
						}
				}
			search_filters = {

}
			completion_reward = {
					custom_effect_tooltip = SOV_the_molotov_line_tt
					if = {
							limit = {
									188 = {
											is_fully_controlled_by = ROOT
										}
								}
							custom_effect_tooltip = SOV_molotov_line_forts_3
							hidden_effect = {
									188 = {
											add_building_construction = {
													type = bunker
													level = 3
													province = {
															id = 3288
														}
													instant_build = yes
												}
										}
								}
						}
					else = {
							189 = {
									if = {
											limit = {
													is_fully_controlled_by = ROOT
												}
											custom_effect_tooltip = SOV_molotov_line_forts_3
											hidden_effect = {
													add_building_construction = {
															type = bunker
															level = 1
															province = {
																	id = 6314
																	id = 9499
																	id = 3337
																}
															instant_build = yes
														}
												}
										}
								}
						}
					814 = {
							if = {
									limit = {
											is_fully_controlled_by = ROOT
										}
									custom_effect_tooltip = SOV_molotov_line_forts_2
									hidden_effect = {
											add_building_construction = {
													type = bunker
													level = 1
													province = {
															id = 6407
															id = 11312
														}
													instant_build = yes
												}
										}
								}
						}
					97 = {
							if = {
									limit = {
											is_fully_controlled_by = ROOT
										}
									custom_effect_tooltip = SOV_molotov_line_forts_6
									hidden_effect = {
											add_building_construction = {
													type = bunker
													level = 1
													province = {
															id = 3254
															id = 400
															id = 11357
															id = 11329
															id = 11274
															id = 290
														}
													instant_build = yes
												}
										}
								}
						}
					94 = {
							if = {
									limit = {
											is_fully_controlled_by = ROOT
										}
									custom_effect_tooltip = SOV_molotov_line_forts_2
									hidden_effect = {
											add_building_construction = {
													type = bunker
													level = 1
													province = {
															id = 3392
															id = 6546
														}
													instant_build = yes
												}
										}
								}
						}
					93 = {
							if = {
									limit = {
											is_fully_controlled_by = ROOT
										}
									custom_effect_tooltip = SOV_molotov_line_forts_2
									hidden_effect = {
											add_building_construction = {
													type = bunker
													level = 1
													province = {
															id = 11441
															id = 422
														}
													instant_build = yes
												}
										}
								}
						}
					91 = {
							if = {
									limit = {
											is_fully_controlled_by = ROOT
										}
									custom_effect_tooltip = SOV_molotov_line_forts_2
									hidden_effect = {
											add_building_construction = {
													type = bunker
													level = 1
													province = {
															id = 536
															id = 9468
														}
													instant_build = yes
												}
										}
								}
						}
					89 = {
							if = {
									limit = {
											is_fully_controlled_by = ROOT
										}
									custom_effect_tooltip = SOV_molotov_line_forts_4
									hidden_effect = {
											add_building_construction = {
													type = bunker
													level = 1
													province = {
															id = 6431
															id = 6460
															id = 9425
															id = 3743
														}
													instant_build = yes
												}
										}
								}
						}
					80 = {
							if = {
									limit = {
											is_fully_controlled_by = ROOT
										}
									custom_effect_tooltip = SOV_molotov_line_forts_2
									hidden_effect = {
											add_building_construction = {
													type = bunker
													level = 1
													province = {
															id = 9548
															id = 577
														}
													instant_build = yes
												}
										}
								}
						}
					78 = {
							if = {
									limit = {
											is_fully_controlled_by = ROOT
										}
									custom_effect_tooltip = SOV_molotov_line_forts_5
									hidden_effect = {
											add_building_construction = {
													type = bunker
													level = 1
													province = {
															id = 3407
															id = 3577
															id = 565
															id = 3707
															id = 3724
														}
													instant_build = yes
												}
										}
								}
						}
					766 = {
							if = {
									limit = {
											is_fully_controlled_by = ROOT
										}
									custom_effect_tooltip = SOV_molotov_line_forts_2
									hidden_effect = {
											add_building_construction = {
													type = bunker
													level = 1
													province = {
															id = 3704
															id = 3701
														}
													instant_build = yes
												}
										}
								}
						}
				}

	}
	focus = {
		id = SOV_improve_the_stalin_line
		icon = GFX_goal_fortify_the_westwall
		cost = 6
		prerequisite = {
			focus = SOV_military_engineering_university
		}
		mutually_exclusive = {
			focus = SOV_the_molotov_line
		}
		x = 31
		y = 2
			available = {

}
			search_filters = {

}
			completion_reward = {
					209 = {
							if = {
									limit = {
											is_controlled_by = ROOT
										}
									add_building_construction = {
											type = bunker
											level = 6
											province = 415
											instant_build = yes
										}
								}
						}
					210 = {
							if = {
									limit = {
											is_controlled_by = ROOT
										}
									add_building_construction = {
											type = bunker
											level = 4
											province = 3333
											instant_build = yes
										}
								}
						}
					207 = {
							if = {
									limit = {
											is_controlled_by = ROOT
										}
									add_building_construction = {
											type = bunker
											level = 4
											province = 3219
											instant_build = yes
										}
									add_building_construction = {
											type = bunker
											level = 4
											province = 6371
											instant_build = yes
										}
									add_building_construction = {
											type = bunker
											level = 4
											province = 6220
											instant_build = yes
										}
								}
						}
					206 = {
							if = {
									limit = {
											is_controlled_by = ROOT
										}
									add_building_construction = {
											type = bunker
											level = 4
											province = 11370
											instant_build = yes
										}
								}
						}
					202 = {
							if = {
									limit = {
											is_controlled_by = ROOT
										}
									add_building_construction = {
											type = bunker
											level = 7
											province = 525
											instant_build = yes
										}
									add_building_construction = {
											type = bunker
											level = 7
											province = 3494
											instant_build = yes
										}
								}
						}
					203 = {
							if = {
									limit = {
											is_controlled_by = ROOT
										}
									add_building_construction = {
											type = bunker
											level = 7
											province = 11409
											instant_build = yes
										}
								}
						}
					834 = {
							if = {
									limit = {
											is_controlled_by = ROOT
										}
									add_building_construction = {
											type = bunker
											level = 5
											province = 754
											instant_build = yes
										}
									add_building_construction = {
											type = bunker
											level = 5
											province = 741
											instant_build = yes
										}
								}
						}
					192 = {
							if = {
									limit = {
											is_controlled_by = ROOT
										}
									add_building_construction = {
											type = bunker
											level = 5
											province = 11670
											instant_build = yes
										}
								}
						}
				}

	}
	focus = {
		id = SOV_the_defense_of_moscow
		icon = GFX_focus_SOV_the_defense_of_moscow
		cost = 5
		prerequisite = {
			focus = SOV_the_molotov_line
			focus = SOV_improve_the_stalin_line
		}
		x = 29
		y = 3
			available = {
					219 = {
							is_controlled_by = ROOT
							OR = {
									any_neighbor_state = {
											NOT = {
													is_controlled_by = ROOT
												}
										}
									SOV = {
											surrender_progress > 0.1
										}
								}
						}
				}
			#Keep an eye on this, might be too cheesy
			search_filters = { FOCUS_FILTER_ARMY_XP }
			completion_reward = {
					army_experience = 15
					219 = {
							custom_effect_tooltip = SOV_defense_of_moscow_forts
							hidden_effect = {
									if = {
											limit = {
													ROOT = {
															controls_province = 3391
														}
												}
											add_building_construction = {
													type = bunker
													level = 3
													province = 3391
													instant_build = yes
												}
										}
									if = {
											limit = {
													ROOT = {
															controls_province = 6414
														}
												}
											add_building_construction = {
													type = bunker
													level = 3
													province = 6414
													instant_build = yes
												}
										}
									if = {
											limit = {
													ROOT = {
															controls_province = 9348
														}
												}
											add_building_construction = {
													type = bunker
													level = 3
													province = 9348
													instant_build = yes
												}
										}
									if = {
											limit = {
													ROOT = {
															controls_province = 301
														}
												}
											add_building_construction = {
													type = bunker
													level = 3
													province = 301
													instant_build = yes
												}
										}
									if = {
											limit = {
													ROOT = {
															controls_province = 9378
														}
												}
											add_building_construction = {
													type = bunker
													level = 3
													province = 9378
													instant_build = yes
												}
										}
									if = {
											limit = {
													ROOT = {
															controls_province = 6283
														}
												}
											add_building_construction = {
													type = bunker
													level = 3
													province = 6283
													instant_build = yes
												}
										}
									if = {
											limit = {
													ROOT = {
															controls_province = 3259
														}
												}
											add_building_construction = {
													type = bunker
													level = 3
													province = 3259
													instant_build = yes
												}
										}
									if = {
											limit = {
													ROOT = {
															controls_province = 11282
														}
												}
											add_building_construction = {
													type = bunker
													level = 3
													province = 11282
													instant_build = yes
												}
										}
									if = {
											limit = {
													ROOT = {
															controls_province = 6380
														}
												}
											add_building_construction = {
													type = bunker
													level = 4
													province = 6380
													instant_build = yes
												}
										}
								}
						}
				}

	}
	focus = {
		id = SOV_rehabilitated_military
		icon = GFX_goal_generic_small_arms
		cost = 6
		prerequisite = {
			focus = SOV_strengthen_the_mobilization_plan
		}
		x = 36
		y = 1
			available = {
					OR = {
							has_completed_focus = SOV_the_centre
							has_completed_focus = SOV_the_left_opposition
							has_completed_focus = SOV_the_right_opposition
							has_completed_focus = SOV_beaten_but_not_defeated
						}
					OR = {
							NOT = {
									has_country_flag = SOV_paranoia_system_active_flag
								}
							surrender_progress > 0.10
						}
				}
			search_filters = {

}
			completion_reward = {
					add_to_variable = {
							SOV_the_red_army_army_org_factor = 0.05
						}
					custom_effect_tooltip = SOV_rehabilitated_military_ns_tt
					add_ideas = SOV_rehabilitated_military_ns
				}

	}
	focus = {
		id = SOV_desperate_measures
		icon = GFX_goal_generic_more_territorial_claims
		cost = 5
		prerequisite = {
			focus = SOV_rehabilitated_military
		}
		x = 34
		y = 2
			available = {
			        date > 1938.1.1
					OR = {
							AND = {
									any_enemy_country = {
											SOV_is_major_not_original_sov = yes
										}
									surrender_progress > 0.05
								}
							surrender_progress > 0.25
							date > 1943.1.1
						}
				}
			search_filters = { }
			completion_reward = {
					add_timed_idea = {
							idea = SOV_desperate_measures_ns
							days = 270
						}
					custom_effect_tooltip = SOV_desperate_measures_decisions_unlocked_tt
				}

	}
	focus = {
		id = SOV_impregnable_forts
		icon = GFX_goal_generic_fortify_city
		cost = 6
		prerequisite = {
			focus = SOV_desperate_measures
			focus = SOV_improve_the_stalin_line
			focus = SOV_the_molotov_line
		}
		x = 31
		y = 3
			available = {

}
			search_filters = {

}
			completion_reward = {
					if = {
							limit = {
									has_full_control_of_state = 195
								}
							195 = {
									add_building_construction = {
											type = anti_air_building
											level = 1
											instant_build = yes
										}
									add_building_construction = {
											type = bunker
											level = 3
											province = {
													id = 3151
													id = 6174
												}
											instant_build = yes
										}
									add_building_construction = {
											type = coastal_bunker
											level = 3
											province = {
													id = 3151
													id = 6174
												}
											instant_build = yes
										}
									add_dynamic_modifier = {
											modifier = SOV_krasnaya_gorka_battery
											scope = SOV
										}
								}
						}
					if = {
							limit = {
									has_full_control_of_state = 208
								}
							208 = {
									add_building_construction = {
											type = anti_air_building
											level = 1
											instant_build = yes
										}
									add_building_construction = {
											type = bunker
											level = 3
											province = 9097
											instant_build = yes
										}
									add_building_construction = {
											type = coastal_bunker
											level = 3
											province = 9097
											instant_build = yes
										}
									add_dynamic_modifier = {
											modifier = SOV_seraya_loshad_battery
											scope = SOV
										}
								}
						}
					if = {
							limit = {
									has_full_control_of_state = 137
								}
							137 = {
									add_building_construction = {
											type = anti_air_building
											level = 1
											instant_build = yes
										}
									add_building_construction = {
											type = bunker
											level = 3
											province = 3686
											instant_build = yes
										}
									add_building_construction = {
											type = coastal_bunker
											level = 3
											province = 3686
											instant_build = yes
										}
									add_dynamic_modifier = {
											modifier = SOV_armored_battery_35
											scope = SOV
										}
								}
						}
				}

	}
	focus = {
		id = SOV_restore_cossack_units
		icon = GFX_focus_SOV_restore_cossack_units
		cost = 5
		prerequisite = {
			focus = SOV_desperate_measures
		}
		mutually_exclusive = {
			focus = SOV_cohesion_first
		}
		x = 33
		y = 3
			available = {

}
			search_filters = {

}
			completion_reward = {
					add_to_variable = {
							SOV_the_red_army_modifier_army_sub_unit_cavalry_speed_factor = 0.05
						}
					add_to_variable = {
							SOV_the_red_army_cavalry_attack_factor = 0.05
						}
					custom_effect_tooltip = SOV_restore_cossack_units_ns_tt
					show_unit_leaders_tooltip = SOV_lev_dovator
					custom_effect_tooltip = SOV_restore_cossack_units_spawn_tt
					hidden_effect = {
							division_template = {
									name = "Kazachya Kavaleryskaya Diviziya"
									division_names_group = SOV_CAV_02
									template_counter = 05
									regiments = {
											cavalry = {
													x = 0
													y = 0
												}
											cavalry = {
													x = 0
													y = 1
												}
											cavalry = {
													x = 0
													y = 2
												}
											cavalry = {
													x = 1
													y = 0
												}
											cavalry = {
													x = 1
													y = 1
												}
											cavalry = {
													x = 1
													y = 2
												}
											mot_artillery_brigade = {
													x = 2
													y = 0
												}
											light_armor = {
													x = 3
													y = 0
												}
											light_armor = {
													x = 3
													y = 1
												}
										}
									support = {
											engineer = {
													x = 0
													y = 0
												}
											artillery = {
													x = 0
													y = 1
												}
											recon = {
													x = 0
													y = 2
												}
										}
								}
							capital_scope = {
									create_unit = {
											division = "name = \"Kazachya Kavaleryskaya Diviziya\" division_template = \"Kazachya Kavaleryskaya Diviziya\" start_experience_factor = 0.5 start_equipment_factor = 0.95"
											owner = ROOT
										}
									create_unit = {
											division = "name = \"4ya Donskaya Kazachya Kav. Div.\" division_template = \"Kazachya Kavaleryskaya Diviziya\" start_experience_factor = 0.8 start_equipment_factor = 0.9"
											owner = ROOT
										}
									create_unit = {
											division = "name = \"6ya Kubansko-Terskaya Kazachya Kav. Div.\" division_template = \"Kazachya Kavaleryskaya Diviziya\" start_experience_factor = 0.8 start_equipment_factor = 0.9"
											owner = ROOT
										}
									create_unit = {
											division = "name = \"10ya Tersko-Stavropolskaya Kazachya Kav. Div\" division_template = \"Kazachya Kavaleryskaya Diviziya\" start_experience_factor = 0.8 start_equipment_factor = 0.9"
											owner = ROOT
										}
									create_unit = {
											division = "name = \"12ya Kubanskaya Kazachya Kav. Div.\" division_template = \"Kazachya Kavaleryskaya Diviziya\" start_experience_factor = 0.8 start_equipment_factor = 0.9"
											owner = ROOT
										}
									create_unit = {
											division = "name = \"13ya Donskaya Kazachya Div.\" division_template = \"Kazachya Kavaleryskaya Diviziya\" start_experience_factor = 0.5 start_equipment_factor = 0.9"
											owner = ROOT
										}
								}
						}
				}

	}
	focus = {
		id = SOV_cohesion_first
		icon = GFX_focus_secret_rearmament
		cost = 5
		prerequisite = {
			focus = SOV_desperate_measures
		}
		mutually_exclusive = {
			focus = SOV_restore_cossack_units
		}
		x = 35
		y = 3
			available = {

}
			search_filters = {

}
			completion_reward = {
					add_to_variable = {
							SOV_the_red_army_army_org_factor = 0.05
						}
					add_to_variable = {
							SOV_the_red_army_training_time_factor = 0.05
						}
					custom_effect_tooltip = SOV_cohesion_first_ns_tt
				}

	}
	focus = {
		id = SOV_lessons_of_war
		icon = GFX_goal_generic_military_sphere
		cost = 5
		prerequisite = {
			focus = SOV_restore_cossack_units
			focus = SOV_cohesion_first
		}
		x = 34
		y = 4
			available = {
					NOT = {
							has_idea = SOV_desperate_measures_ns
						}
				}
			search_filters = { FOCUS_FILTER_ARMY_XP }
			completion_reward = {
					add_to_variable = {
							SOV_the_red_army_army_org_factor = 0.05
						}
					set_variable = {
							SOV_the_red_army_experience_gain_army_factor = 0
						}
					set_variable = {
							SOV_the_red_army_experience_loss_factor = 0
						}
					custom_effect_tooltip = SOV_lessons_of_war_ns_tt
					unlock_decision_tooltip = SOV_order_227
					custom_effect_tooltip = SOV_lessons_of_war_unlock_military_operations_tt
					custom_effect_tooltip = SOV_lessons_of_war_cowed_trait_tt
					custom_effect_tooltip = FIN_winter_warfare_battalion_tt
					hidden_effect = {
							set_technology = {
									winter_logistics_support_tech = 1
									popup = no
								}
						}
					hidden_effect = {
							every_army_leader = {
									limit = {
											has_trait = trait_SOV_cowed_by_stalin_army
										}
									remove_unit_leader_trait = trait_SOV_cowed_by_stalin_army
								}
							every_navy_leader = {
									limit = {
											has_trait = trait_SOV_cowed_by_stalin_navy
										}
									remove_unit_leader_trait = trait_SOV_cowed_by_stalin_navy
								}
						}
				}

	}
	focus = {
		id = SOV_keep_commissars_organization
		icon = GFX_goal_generic_major_war
		cost = 6
		prerequisite = {
			focus = SOV_lessons_of_war
		}
		mutually_exclusive = {
			focus = SOV_swap_to_political_advisors
		}
		x = 35
		y = 5
			allow_branch = {
					NOT = {
							has_government = fascism
							has_government = neutrality
						}
				}
			available = {

}
			bypass = {
					has_completed_focus = SOV_depoliticize_the_military
				}
			search_filters = {

}
			completion_reward = {
					if = {
							limit = {
									has_idea = SOV_politicized_military
								}
							swap_ideas = {
									remove_idea = SOV_politicized_military
									add_idea = SOV_politicized_military_keep
								}
						}
					else_if = {
							limit = {
									has_idea = SOV_politicized_military_humanism
								}
							swap_ideas = {
									remove_idea = SOV_politicized_military_humanism
									add_idea = SOV_politicized_military_keep_humanism
								}
						}
				}

	}
	focus = {
		id = SOV_an_adaptable_army
		icon = GFX_focus_prc_infiltration
		cost = 6
		prerequisite = {
			focus = SOV_rehabilitated_military
		}
		x = 37
		y = 2
			available = {
					OR = {
							AND = {
									any_enemy_country = {
											SOV_is_major_not_original_sov = yes
										}
									surrender_progress > 0.05
								}
							surrender_progress > 0.25
							date > 1943.1.1
						}
				}
			search_filters = { }
			completion_reward = {
					add_to_variable = {
							SOV_the_red_army_heat_attrition_factor = -0.05
						}
					add_to_variable = {
							SOV_the_red_army_winter_attrition_factor = -0.05
						}
					add_to_variable = {
							SOV_the_red_army_acclimatization_cold_climate_gain_factor = 0.1
						}
					add_to_variable = {
							SOV_the_red_army_acclimatization_hot_climate_gain_factor = 0.05
						}
					add_to_variable = {
							SOV_the_red_army_terrain_penalty_reduction = 0.05
						}
					custom_effect_tooltip = SOV_an_adaptable_army_ns_tt
				}

	}
	focus = {
		id = SOV_organization_of_the_partisans
		icon = GFX_focus_focus_fra_maquis
		cost = 6
		prerequisite = {
			focus = SOV_an_adaptable_army
		}
		x = 37
		y = 3
			available = {
					surrender_progress > 0.10
				}
			search_filters = { FOCUS_FILTER_PROPAGANDA }
			completion_reward = {
					add_to_variable = {
							SOV_the_red_army_operative_slot = 1
						}
					custom_effect_tooltip = SOV_organization_of_the_partisans_ns_tt
					if = {
							limit = {
									has_government = communism
								}
							show_unit_leaders_tooltip = SOV_vasily_korzh
							show_unit_leaders_tooltip = SOV_sidor_kovpak
						}
					if = {
							limit = {
									has_dlc = "La Resistance"
								}
							if = {
									limit = {
											has_government = communism
										}
									create_operative_leader = {
											name = "Dmitry Medvedev"
											GFX = GFX_Portrait_dmitry_medvedev
											female = yes
											traits = { operative_demolition_expert  operative_commando }
											bypass_recruitment = no
											available_to_spy_master = yes
											nationalities = { SOV }
										}
								}
							add_timed_idea = {
									idea = SOV_central_headquarters_of_the_partisan_movement
									days = 720
								}
						}
					else = {
							add_timed_idea = {
									idea = SOV_central_headquarters_of_the_partisan_movement_no_lar
									days = 720
								}
						}
					if = {
							limit = {
									has_government = communism
								}
							custom_effect_tooltip = unlock_propaganda_campaign_tt
							unlock_decision_tooltip = SOV_propaganda_glory_to_partisans
							unlock_decision_tooltip = SOV_propaganda_death_to_invaders
							custom_effect_tooltip = propaganda_campaign_requirement_tt
						}
				}

	}
	focus = {
		id = SOV_the_road_of_life
		icon = GFX_focus_SOV_the_road_of_life
		cost = 5
		prerequisite = {
			focus = SOV_organization_of_the_partisans
		}
		x = 36
		y = 4
			available = {
					OR = {
							OR = {
									195 = {
											is_controlled_by = ROOT
											any_neighbor_state = {
													is_owned_by = ROOT
													NOT = {
															is_fully_controlled_by = ROOT
														}
												}
										}
									#LENINGRAD
									219 = {
											is_controlled_by = ROOT
											any_neighbor_state = {
													is_owned_by = ROOT
													NOT = {
															is_fully_controlled_by = ROOT
														}
												}
										}
									#MOSCOW
									217 = {
											is_controlled_by = ROOT
											any_neighbor_state = {
													is_owned_by = ROOT
													NOT = {
															is_fully_controlled_by = ROOT
														}
												}
										}
									#STALINGRAD
									137 = {
											is_controlled_by = ROOT
											any_neighbor_state = {
													is_owned_by = ROOT
													NOT = {
															is_fully_controlled_by = ROOT
														}
												}
										}
									#SEVASTOPOL
									202 = {
											is_controlled_by = ROOT
											any_neighbor_state = {
													is_owned_by = ROOT
													NOT = {
															is_fully_controlled_by = ROOT
														}
												}
										}
								}
							#Kiev
							surrender_progress > 0.2
						}
				}
			search_filters = {

}
			completion_reward = {
					add_timed_idea = {
							idea = SOV_the_road_of_life_ns
							days = 730
						}
				}

	}
	focus = {
		id = SOV_swap_to_political_advisors
		icon = GFX_goal_generic_occupy_states_ongoing_war
		cost = 6
		prerequisite = {
			focus = SOV_lessons_of_war
		}
		mutually_exclusive = {
			focus = SOV_keep_commissars_organization
			focus = SOV_adjoined_battle_priests
		}
		x = 37
		y = 5
			available = {

}
			bypass = {
					has_completed_focus = SOV_depoliticize_the_military
				}
			search_filters = { FOCUS_FILTER_ARMY_XP }
			completion_reward = {
					if = {
							limit = {
									has_idea = SOV_politicized_military
								}
							swap_ideas = {
									remove_idea = SOV_politicized_military
									add_idea = SOV_politicized_military_swap
								}
						}
					else_if = {
							limit = {
									has_idea = SOV_politicized_military_humanism
								}
							swap_ideas = {
									remove_idea = SOV_politicized_military_humanism
									add_idea = SOV_politicized_military_swap_humanism
								}
						}
					else = {
							effect_tooltip = {
									swap_ideas = {
											remove_idea = SOV_politicized_military
											add_idea = SOV_politicized_military_swap
										}
								}
						}
				}

	}
	focus = {
		id = SOV_experts_in_camouflage
		icon = GFX_goal_generic_position_armies
		cost = 5
		prerequisite = {
			focus = SOV_organization_of_the_partisans
		}
		x = 38
		y = 4
			available = {

}
			search_filters = {

}
			completion_reward = {
					add_to_variable = {
							SOV_the_red_army_cas_damage_reduction = 0.05
						}
					add_to_variable = {
							SOV_the_red_army_max_dig_in = 1
						}
					add_to_variable = {
							SOV_the_red_army_dig_in_speed_factor = 0.05
						}
					custom_effect_tooltip = SOV_experts_in_camouflage_ns_tt
				}

	}
	focus = {
		id = SOV_the_new_soviet_woman
		icon = GFX_goal_support_communism
		cost = 5
		prerequisite = {
			focus = SOV_addressing_internal_affairs
		}
		x = 40
		y = 2
			available = {

}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_STABILITY }
			completion_reward = {
					add_political_power = 70
					add_stability = 0.1
					add_popularity = {
							ideology = communism
							popularity = 0.1
						}
				}

	}
	focus = {
		id = SOV_positive_heroism
		icon = GFX_goal_generic_cavalry
		cost = 6
		prerequisite = {
			focus = SOV_the_new_soviet_woman
		}
		x = 39
		y = 3
			available = {

}
			search_filters = { FOCUS_FILTER_PROPAGANDA }
			completion_reward = {
					add_political_power = 25
					custom_effect_tooltip = available_military_high_command
					show_ideas_tooltip = konstantin_rokossovsky
					custom_effect_tooltip = available_theorist
					show_ideas_tooltip = georgy_zhukov
					custom_effect_tooltip = unlock_propaganda_campaign_tt
					unlock_decision_tooltip = SOV_propaganda_heroes_forward
					custom_effect_tooltip = unlock_propaganda_campaign_slot_tt
					SOV_unlock_propaganda_campaign_slot_effect = yes
				}

	}
	focus = {
		id = SOV_women_in_aviation
		icon = GFX_focus_SOV_women_in_aviation
		cost = 6
		prerequisite = {
			focus = SOV_the_new_soviet_woman
		}
		x = 41
		y = 3
			available = {

}
			search_filters = { FOCUS_FILTER_AIR_XP }
			completion_reward = {
					add_to_variable = {
							SOV_soviet_airforce_air_ace_generation_chance_factor = 0.05
						}
					add_to_variable = {
							SOV_soviet_airforce_air_weather_penalty = -0.05
						}
					add_to_variable = {
							SOV_soviet_airforce_air_mission_xp_gain_factor = 0.05
						}
					add_to_variable = {
							SOV_soviet_airforce_air_training_xp_gain_factor = 0.05
						}
					custom_effect_tooltip = SOV_women_in_aviation_ns_tt
					air_experience = 25
					set_rule = {
							can_generate_female_aces = yes
						}
				}

	}
	focus = {
		id = SOV_raskovas_aviation_group
		icon = GFX_goal_generic_CAS
		cost = 6
		prerequisite = {
			focus = SOV_women_in_aviation
		}
		x = 41
		y = 4
			available = {
					any_enemy_country = {
							SOV_is_major_not_original_sov = yes
						}
					has_full_control_of_state = 219#MOSCOW
				}
			search_filters = { FOCUS_FILTER_AIR_XP }
			completion_reward = {
					add_to_variable = {
							SOV_soviet_airforce_air_night_penalty = -0.05
						}
					add_to_variable = {
							SOV_soviet_airforce_air_wing_xp_loss_when_killed_factor = -0.05
						}
					set_variable = {
							SOV_soviet_airforce_air_strategic_bomber_night_penalty = -0.05
						}
					custom_effect_tooltip = SOV_raskovas_aviation_group_ns_tt
					custom_effect_tooltip = SOV_night_witches_nsb_tt
					hidden_effect = {
							if = {
									limit = {
											NOT = {
													has_government = communism
												}
										}
									load_oob = "SOV_night_witches_nsb_alt"
								}
							else = {
									load_oob = "SOV_night_witches_nsb"
								}
						}
				}

	}
	focus = {
		id = SOV_expand_the_agitprop
		icon = GFX_focus_generic_soviet_politics
		cost = 5
		prerequisite = {
			focus = SOV_addressing_internal_affairs
		}
		x = 43
		y = 2
			available = {

}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_PROPAGANDA }
			completion_reward = {
					add_political_power = 25
					add_popularity = {
							ideology = communism
							popularity = 0.05
						}
					hidden_effect = {
							SOV_unlock_propaganda_campaign_slot_effect = yes
						}
					unlock_decision_category_tooltip = SOV_propaganda_campaigns
				}

	}
	focus = {
		id = SOV_collectivist_propaganda
		icon = GFX_goal_generic_propaganda
		cost = 6
		prerequisite = {
			focus = SOV_expand_the_agitprop
		}
		x = 43
		y = 3
			available = {

}
			search_filters = { FOCUS_FILTER_MANPOWER  FOCUS_FILTER_PROPAGANDA }
			completion_reward = {
					add_timed_idea = {
							idea = SOV_collectivist_propaganda_ns
							days = 1095
						}
					custom_effect_tooltip = unlock_propaganda_campaign_tt
					unlock_decision_tooltip = SOV_propaganda_for_the_motherland
					custom_effect_tooltip = unlock_propaganda_campaign_slot_tt
					SOV_unlock_propaganda_campaign_slot_effect = yes
				}

	}
	focus = {
		id = SOV_revive_the_stakhanovite_movement
		icon = GFX_goal_generic_construction2
		cost = 6
		prerequisite = {
			focus = SOV_collectivist_propaganda
		}
		x = 43
		y = 4
			available = {
					OR = {
							has_completed_focus = SOV_the_centre
							has_completed_focus = SOV_long_live_the_workers_government
							has_completed_focus = SOV_back_to_the_nep
						}
				}
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					add_timed_idea = {
							idea = SOV_stakhanovite_movement
							days = 1095
						}
				}

	}
	focus = {
		id = SOV_socialist_emulation
		icon = GFX_goal_generic_soviet_construction
		cost = 6
		prerequisite = {
			focus = SOV_revive_the_stakhanovite_movement
		}
		x = 43
		y = 5
			available = {

}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH }
			completion_reward = {
					add_ideas = SOV_socialist_emulation_1_ns
				}

	}
	focus = {
		id = SOV_the_komsomol
		icon = GFX_focus_generic_join_comintern
		cost = 5
		prerequisite = {
			focus = SOV_socialist_emulation
		}
		x = 43
		y = 6
			available = {

}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_PROPAGANDA }
			completion_reward = {
					add_political_power = 50
					add_popularity = {
							ideology = communism
							popularity = 0.1
						}
					custom_effect_tooltip = unlock_propaganda_campaign_tt
					unlock_decision_tooltip = SOV_propaganda_knowledge
					unlock_decision_tooltip = SOV_propaganda_builders_of_communism
					unlock_decision_tooltip = SOV_propaganda_sweep_scum_out
					custom_effect_tooltip = unlock_propaganda_campaign_slot_tt
					SOV_unlock_propaganda_campaign_slot_effect = yes
				}

	}
	focus = {
		id = SOV_socialist_realism
		icon = GFX_focus_YUG_pan_slavic_congress
		cost = 6
		prerequisite = {
			focus = SOV_the_komsomol
		}
		x = 41
		y = 7
			available = {

}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_POLITICAL }
			completion_reward = {
					swap_ideas = {
							remove_idea = SOV_socialist_emulation_1_ns
							add_idea = SOV_socialist_emulation_2_ns
						}
				}

	}
	focus = {
		id = SOV_the_centre
		icon = GFX_focus_fra_loyalty_stalin
		cost = 5
		prerequisite = {
			focus = SOV_the_path_of_marxism_leninism
		}
		mutually_exclusive = {
			focus = SOV_the_left_opposition
			focus = SOV_the_right_opposition
		}
		x = -1
		y = 1
		relative_position_id = SOV_the_path_of_marxism_leninism
			offset = {
					x = 1
					y = 0
					trigger = {
							has_game_rule = {
									rule = obsolete_focus_branches_visibility
									option = HIDE
								}
							has_completed_focus = SOV_beaten_but_not_defeated
							NOT = {
									has_completed_focus = SOV_the_hands_do
								}
						}
				}
			allow_branch = {
					if = {
							limit = {
									has_game_rule = {
											rule = obsolete_focus_branches_visibility
											option = HIDE
										}
								}
							NOT = {
									AND = {
											has_completed_focus = SOV_the_left_opposition
											has_completed_focus = SOV_left_opposition_coup
										}
									AND = {
											has_completed_focus = SOV_the_right_opposition
											has_completed_focus = SOV_coup_detat
										}
									AND = {
											has_completed_focus = SOV_beaten_but_not_defeated
											has_completed_focus = SOV_the_hands_do
										}
								}
						}
				}
			available = {

}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_SOV_POLITICAL_PARANOIA  FOCUS_FILTER_STABILITY }
			completion_reward = {
					hidden_effect = {
							add_dynamic_modifier = {
									modifier = SOV_the_politburo_good_dynamic_modifier
								}
						}
					custom_effect_tooltip = SOV_the_centre_ns_tt
					add_political_power = 25
					add_stability = 0.05
					set_division_template_lock = {
							division_template = "NKVD Pogranichnaya Diviziya"
							is_locked = no
						}
					SOV_paranoia_low_decrease_effect = yes
					if = {
							limit = {
									has_game_rule = {
											rule = obsolete_focus_branches_visibility
											option = HIDE
										}
								}
							mark_focus_tree_layout_dirty = yes
						}
				}

	}
	focus = {
		id = SOV_socialism_in_one_country
		icon = GFX_focus_SOV_socialism_in_one_country
		cost = 5
		prerequisite = {
			focus = SOV_the_centre
		}
		x = 46
		y = 2
			available = {

}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					every_owned_state = {
							limit = {
									NOT = {
											is_core_of = ROOT
										}
								}
							add_claim_by = SOV
						}
					add_to_variable = {
							SOV_the_politburo_communism_drift = 0.01
						}
					add_to_variable = {
							SOV_the_politburo_drift_defence_factor = 0.05
						}
					add_to_variable = {
							SOV_the_politburo_defensive_war_stability_factor = 0.05
						}
					add_political_power = 50
					SOV_paranoia_low_decrease_effect = yes
				}

	}
	focus = {
		id = SOV_the_stalin_constitution
		icon = GFX_goal_support_communism
		cost = 6
		prerequisite = {
			focus = SOV_the_centre
		}
		x = 48
		y = 2
			available = {

}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_SOV_POLITICAL_PARANOIA  FOCUS_FILTER_STABILITY }
			completion_reward = {
					add_to_variable = {
							SOV_the_politburo_political_power_factor = 0.05
						}
					add_to_variable = {
							SOV_the_politburo_drift_defence_factor = 0.05
						}
					custom_effect_tooltip = SOV_the_stalin_constitution_ns_tt
					add_political_power = 50
					SOV_paranoia_low_decrease_effect = yes
				}

	}
	focus = {
		id = SOV_the_zinovyevite_terrorist_center
		icon = GFX_focus_SOV_purge_zinovyevists
		cost = 5
		prerequisite = {
			focus = SOV_socialism_in_one_country
		}
		prerequisite = {
			focus = SOV_the_stalin_constitution
		}
		x = 47
		y = 3
			available = {

}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			select_effect = {
					set_country_flag = SOV_paranoia_do_not_cancel_focus_flag#This focus cannot be canceled
				}
			completion_reward = {
					clr_country_flag = SOV_paranoia_do_not_cancel_focus_flag
					set_country_flag = {
							flag = SOV_paranoia_random_purge_cooldown_from_focus_flag
							days = 15
						}
					set_country_flag = SOV_first_moscow_trial_flag
					add_political_power = 25
					SOV_paranoia_high_increase_effect = yes
					if = {
							limit = {
									has_character = SOV_grigory_zinovyev
								}
							SOV_grigory_zinovyev = {
									set_character_flag = SOV_targeted_for_purge_flag
								}
						}
					else = {
							SOV_add_random_character_to_purge_targets_effect = yes
						}
					if = {
							limit = {
									has_character = SOV_lev_kamenev
								}
							SOV_lev_kamenev = {
									set_character_flag = SOV_targeted_for_purge_flag
								}
						}
					else = {
							SOV_add_random_character_to_purge_targets_effect = yes
						}
					if = {
							limit = {
									has_character = SOV_ivan_smirnov
								}
							SOV_ivan_smirnov = {
									set_character_flag = SOV_targeted_for_purge_flag
								}
						}
					else = {
							SOV_add_random_character_to_purge_targets_effect = yes
						}
					if = {
							limit = {
									has_character = SOV_grigory_sokolnikov
								}
							SOV_grigory_sokolnikov = {
									set_character_flag = SOV_targeted_for_purge_flag
								}
						}
					else = {
							SOV_add_random_character_to_purge_targets_effect = yes
						}
					if = {
							limit = {
									has_character = SOV_aleksandr_shlyapnikov
								}
							SOV_aleksandr_shlyapnikov = {
									set_character_flag = SOV_targeted_for_purge_flag
								}
						}
					else = {
							SOV_add_random_character_to_purge_targets_effect = yes
						}
					custom_effect_tooltip = SOV_will_trigger_a_great_purge_tt
					hidden_effect = {
							set_country_flag = SOV_purge_event_unavoidable_flag
							SOV_trigger_great_purge_moscow_trial_effect = yes
						}
					custom_effect_tooltip = SOV_trigger_first_moscow_trial_tt
				}

	}
	focus = {
		id = SOV_secure_the_administration
		icon = GFX_focus_generic_join_comintern
		cost = 6
		prerequisite = {
			focus = SOV_the_zinovyevite_terrorist_center
		}
		x = 47
		y = 4
			available = {

}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					add_to_variable = {
							SOV_the_politburo_economy_cost_factor = -0.05
						}
					add_to_variable = {
							SOV_the_politburo_trade_laws_cost_factor = -0.05
						}
					add_to_variable = {
							SOV_the_politburo_mobilization_laws_cost_factor = -0.05
						}
					custom_effect_tooltip = SOV_secure_the_administration_ns_tt
					add_political_power = 50
					SOV_paranoia_medium_decrease_effect = yes
				}

	}
	focus = {
		id = SOV_the_collectivization_process
		icon = GFX_focus_prc_agrarian_socialism
		cost = 6
		prerequisite = {
			focus = SOV_secure_the_administration
		}
		x = 46
		y = 5
			available = {

}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					add_to_variable = {
							SOV_the_politburo_good_consumer_goods_factor = -0.01
						}
					add_to_variable = {
							SOV_the_politburo_production_speed_buildings_factor = 0.05
						}
					custom_effect_tooltip = SOV_the_collectivization_process_ns_tt
					add_stability = -0.05
					add_war_support = -0.05
					if = {
							limit = {
									any_owned_state = {
											OR = {
													has_state_category = town
													has_state_category = rural
												}
											is_fully_controlled_by = ROOT
											industrial_complex < 1
											arms_factory < 1
											dockyard < 1
											free_building_slots = {
													building = industrial_complex
													size > 1
													include_locked = yes
												}
										}
								}
							random_owned_state = {
									limit = {
											OR = {
													has_state_category = town
													has_state_category = rural
												}
											is_fully_controlled_by = ROOT
											industrial_complex < 1
											arms_factory < 1
											dockyard < 1
											free_building_slots = {
													building = industrial_complex
													size > 1
													include_locked = yes
												}
										}
									add_extra_state_shared_building_slots = 2
									add_building_construction = {
											type = industrial_complex
											level = 2
											instant_build = yes
										}
								}
						}
					else_if = {
							limit = {
									any_owned_state = {
											OR = {
													has_state_category = town
													has_state_category = rural
												}
											is_fully_controlled_by = ROOT
											free_building_slots = {
													building = industrial_complex
													size > 1
													include_locked = yes
												}
										}
								}
							random_owned_state = {
									limit = {
											OR = {
													has_state_category = town
													has_state_category = rural
												}
											is_fully_controlled_by = ROOT
											free_building_slots = {
													building = industrial_complex
													size > 1
													include_locked = yes
												}
										}
									add_extra_state_shared_building_slots = 2
									add_building_construction = {
											type = industrial_complex
											level = 2
											instant_build = yes
										}
								}
						}
					else_if = {
							limit = {
									any_owned_state = {
											is_fully_controlled_by = ROOT
											free_building_slots = {
													building = industrial_complex
													size > 1
													include_locked = yes
												}
										}
								}
							random_owned_state = {
									limit = {
											is_fully_controlled_by = ROOT
											free_building_slots = {
													building = industrial_complex
													size > 1
													include_locked = yes
												}
										}
									add_extra_state_shared_building_slots = 2
									add_building_construction = {
											type = industrial_complex
											level = 2
											instant_build = yes
										}
								}
						}
					SOV_paranoia_medium_decrease_effect = yes
				}

	}
	focus = {
		id = SOV_the_anti_soviet_trotskyist_center
		icon = GFX_focus_SOV_purge_trotskyists
		cost = 5
		prerequisite = {
			focus = SOV_secure_the_administration
		}
		x = 48
		y = 5
			available = {
					has_country_flag = {
							flag = SOV_first_moscow_trial_flag
							days > 175
						}
					custom_trigger_tooltip = {
							tooltip = SOV_last_purge_focus_days_tt
							has_country_flag = {
									flag = SOV_first_moscow_trial_flag
									days > 175
								}
						}
				}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			select_effect = {
					set_country_flag = SOV_paranoia_do_not_cancel_focus_flag#This focus cannot be canceled
				}
			completion_reward = {
					clr_country_flag = SOV_paranoia_do_not_cancel_focus_flag
					set_country_flag = {
							flag = SOV_paranoia_random_purge_cooldown_from_focus_flag
							days = 15
						}
					set_country_flag = SOV_second_moscow_trial_flag
					add_political_power = 25
					SOV_paranoia_high_increase_effect = yes
					if = {
							limit = {
									has_character = SOV_karl_radek
								}
							SOV_karl_radek = {
									set_character_flag = SOV_targeted_for_purge_flag
								}
						}
					else = {
							SOV_add_random_character_to_purge_targets_effect = yes
						}
					if = {
							limit = {
									has_character = SOV_ivar_smilga
								}
							SOV_ivar_smilga = {
									set_character_flag = SOV_targeted_for_purge_flag
								}
						}
					else = {
							SOV_add_random_character_to_purge_targets_effect = yes
						}
					if = {
							limit = {
									has_character = SOV_yevgeny_preobrazhensky
								}
							SOV_yevgeny_preobrazhensky = {
									set_character_flag = SOV_targeted_for_purge_flag
								}
						}
					else = {
							SOV_add_random_character_to_purge_targets_effect = yes
						}
					if = {
							limit = {
									has_character = SOV_martemyan_ryutin
								}
							SOV_martemyan_ryutin = {
									set_character_flag = SOV_targeted_for_purge_flag
								}
						}
					else = {
							SOV_add_random_character_to_purge_targets_effect = yes
						}
					if = {
							limit = {
									has_dlc = "No Step Back"
								}
							if = {
									limit = {
											has_character = SOV_nikolay_ustryalov
										}
									SOV_nikolay_ustryalov = {
											set_character_flag = SOV_targeted_for_purge_flag
										}
								}
							else = {
									SOV_add_random_character_to_purge_targets_effect = yes
								}
						}
					custom_effect_tooltip = SOV_will_trigger_a_great_purge_tt
					hidden_effect = {
							set_country_flag = SOV_purge_event_unavoidable_flag
							SOV_trigger_great_purge_moscow_trial_effect = yes
						}
					custom_effect_tooltip = SOV_trigger_second_moscow_trial_tt
					hidden_effect = {
							swap_ruler_traits = {
									remove = stalin_political_paranoia
									add = stalin_political_paranoia_advanced
								}
							add_to_variable = {
									SOV_paranoia_weekly_modifiers_amount = 1
								}
							SOV_paranoia_modifier_update_gui_tooltip = yes
						}
					custom_effect_tooltip = SOV_increase_weekly_paranoia_in_trait_tt
				}

	}
	focus = {
		id = SOV_organization_centralization_discipline
		icon = GFX_focus_SOV_organization_centralization_discipline
		cost = 5
		prerequisite = {
			focus = SOV_the_anti_soviet_trotskyist_center
		}
		x = 48
		y = 6
			available = {

}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					add_to_variable = {
							SOV_the_politburo_max_command_power = 20
						}
					add_to_variable = {
							SOV_the_politburo_mobilization_speed = 0.05
						}
					custom_effect_tooltip = SOV_organization_centralization_discipline_ns_tt
					add_political_power = 50
					SOV_paranoia_medium_decrease_effect = yes
				}

	}
	focus = {
		id = SOV_behead_the_snake
		icon = GFX_focus_SOV_behead_the_snake
		cost = 5
		prerequisite = {
			focus = SOV_organization_centralization_discipline
		}
		x = 48
		y = 7
			available = {
					has_government = communism
				}
			search_filters = { FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					if = {
							limit = {
									has_dlc = "La Resistance"
								}
							custom_effect_tooltip = SOV_behead_the_snake_lar_tt
							create_operative_leader = {
									name = "Ramón Mercader"
									GFX = GFX_portrait_SOV_ramon_mercader
									traits = { operative_tough  operative_infiltrator }
									bypass_recruitment = no
									available_to_spy_master = yes
									nationalities = { SOV  SPR  MEX }
								}
							set_variable = {
									SOV_the_politburo_operative_slot = 1
								}
							custom_effect_tooltip = SOV_behead_the_snake_ns_tt
						}
					else = {
							custom_effect_tooltip = SOV_behead_the_snake_no_lar_tt
						}
					SOV_paranoia_high_decrease_effect = yes
				}

	}
	focus = {
		id = SOV_bring_old_trotskyists_back
		icon = GFX_goal_tripartite_pact
		cost = 5
		prerequisite = {
			focus = SOV_the_left_opposition
		}
		x = -3
		y = 1
		relative_position_id = SOV_the_left_opposition
			bypass = {
					custom_trigger_tooltip = {
							tooltip = SOV_bring_old_trotskyists_back_trigger_tt
							NOT = {
									has_character = SOV_karl_radek
								}
							NOT = {
									has_character = SOV_yevgeny_preobrazhensky
								}
						}
				}
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					SOV_opposition_support_low_increase_effect = yes
					custom_effect_tooltip = SOV_bring_old_trotskyists_back_effect_tt
					SOV_paranoia_low_increase_effect = yes
				}

	}
	focus = {
		id = SOV_the_fourth_international
		icon = GFX_goal_support_fourth_int
		cost = 6
		prerequisite = {
			focus = SOV_bring_old_trotskyists_back
		}
		x = 0
		y = 1
		relative_position_id = SOV_bring_old_trotskyists_back
			bypass = {
					has_global_flag = SOV_soviet_civil_war
				}
			available = {
					custom_trigger_tooltip = {
							tooltip = SOV_major_purge_tt
							check_variable = {
									SOV_great_purge_counter > 0
								}
						}
					SOV_soviet_civil_war_not_started = yes
				}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					add_political_power = 120
					SOV_paranoia_low_increase_effect = yes
					news_event = {
							id = nsb_news.200
							hours = 2
							random_hours = 2
						}
				}

	}
	focus = {
		id = SOV_committee_in_exile
		icon = GFX_focus_generic_self_management
		cost = 6
		prerequisite = {
			focus = SOV_the_fourth_international
		}
		x = 0
		y = 1
		relative_position_id = SOV_the_fourth_international
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			bypass = {
					has_global_flag = SOV_soviet_civil_war
				}
			search_filters = { FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					SOV_paranoia_low_increase_effect = yes
					custom_effect_tooltip = SOV_committee_in_exile_tt
				}

	}
	focus = {
		id = SOV_the_vanguard_of_the_true_revolution
		icon = GFX_focus_spr_torchbearers_of_tomorrow
		cost = 6
		prerequisite = {
			focus = SOV_committee_in_exile
		}
		x = -1
		y = 1
		relative_position_id = SOV_committee_in_exile
			available = {
					has_global_flag = SOV_soviet_civil_war
					NOT = {
							has_global_flag = SOV_soviet_civil_war_over
						}
				}
			search_filters = {

}
			completion_reward = {
					every_other_country = {
							limit = {
									NOT = {
											has_war_with = ROOT
										}
									communism > 0.05
								}
							country_event = {
									id = NSB_soviet_communist_civil_war.004
									days = 2
								}
						}
					hidden_effect = {
							country_event = {
									id = NSB_soviet_communist_civil_war.005
									days = 18
								}
						}
				}

	}
	focus = {
		id = SOV_funds_for_the_cause
		icon = GFX_goal_generic_positive_trade_relations
		cost = 5
		prerequisite = {
			focus = SOV_committee_in_exile
		}
		x = 1
		y = 1
		relative_position_id = SOV_committee_in_exile
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					custom_effect_tooltip = SOV_funds_for_the_cause_tt
					add_political_power = 50
					every_other_country = {
							limit = {
									NOT = {
											is_in_faction_with = ROOT
										}
									OR = {
											is_major = yes
											tag = MEX
										}
									OR = {
											has_government = democratic
											has_government = communism
										}
								}
							country_event = {
									id = NSB_soviet_civil_war_common.118
									days = 3
									random_days = 5
								}
						}
				}

	}
	focus = {
		id = SOV_organize_the_wreckers
		icon = GFX_focus_SOV_organize_wreckers
		cost = 6
		prerequisite = {
			focus = SOV_the_left_opposition
		}
		x = -1
		y = 1
		relative_position_id = SOV_the_left_opposition
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			search_filters = { FOCUS_FILTER_POLITICAL }
			completion_reward = {
					set_country_flag = SOV_organize_wreckers_flag
					add_political_power = 100
					custom_effect_tooltip = SOV_organize_the_wreckers_tt
				}

	}
	focus = {
		id = SOV_integrate_smirnovs_bloc
		icon = GFX_focus_YUG_pan_slavic_congress
		cost = 6
		prerequisite = {
			focus = SOV_the_left_opposition
		}
		x = 0
		y = 2
		relative_position_id = SOV_the_left_opposition
			available = {
					SOV_soviet_civil_war_not_started = yes
					SOV_has_selected_hq = yes
				}
			bypass = {
					OR = {
							has_global_flag = SOV_soviet_civil_war_over
							has_global_flag = SOV_soviet_civil_war
							SOV_ivan_smirnov = {
									has_character_flag = SOV_character_purged_flag
								}
						}
				}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					SOV_paranoia_medium_increase_effect = yes
					add_political_power = 50
					custom_effect_tooltip = SOV_integrate_smirnovs_bloc_tt
					hidden_effect = {
							SOV_ivan_smirnov = {
									clr_character_flag = SOV_imprisoned_flag
									set_character_flag = SOV_exiled_flag
									set_portraits = {
											army = {
													small = "GFX_idea_SOV_ivan_smirnov"
												}
										}
								}
							SOV_ivar_smilga = {
									clr_character_flag = SOV_imprisoned_flag
									set_character_flag = SOV_exiled_flag
									set_portraits = {
											army = {
													small = "GFX_idea_SOV_ivar_smilga"
												}
										}
								}
							SOV_aleksandr_shlyapnikov = {
									clr_character_flag = SOV_imprisoned_flag
									set_character_flag = SOV_exiled_flag
									set_portraits = {
											army = {
													small = "GFX_idea_SOV_aleksandr_shlyapnikov"
												}
										}
								}
							add_to_variable = {
									SOV_left_opposition_army_support = 0.05
								}
							add_to_variable = {
									SOV_left_opposition_navy_support = 0.05
								}
							add_to_variable = {
									SOV_left_opposition_air_support = 0.05
								}
							random_owned_state = {
									limit = {
											OR = {
													state = 399
													state = 398
													state = 400
													state = 406
													state = 402
													state = 407
												}
										}
									set_state_flag = SOV_opposition_partisans_flag
								}
							random_owned_state = {
									limit = {
											OR = {
													state = 399
													state = 398
													state = 400
													state = 406
													state = 402
													state = 407
												}
										}
									set_state_flag = SOV_opposition_partisans_flag
								}
						}
				}

	}
	focus = {
		id = SOV_approach_tukhachevsky
		icon = GFX_focus_SOV_approach_tukahchevsky
		cost = 6
		prerequisite = {
			focus = SOV_integrate_smirnovs_bloc
		}
		x = -1
		y = 1
		relative_position_id = SOV_integrate_smirnovs_bloc
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			bypass = {
					OR = {
							has_global_flag = SOV_soviet_civil_war_over
							has_global_flag = SOV_soviet_civil_war
							NOT = {
									has_character = SOV_mikhail_tukhachevsky
								}
						}
				}
			search_filters = { FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					SOV_paranoia_low_increase_effect = yes
					custom_effect_tooltip = SOV_approach_tukhachevsky_tt
					hidden_effect = {
							SOV_mikhail_tukhachevsky = {
									add_unit_leader_trait = trait_SOV_trotskyist
									remove_unit_leader_trait = trait_SOV_stalinist
									set_character_flag = SOV_aligned_left_opposition_flag
								}
							random_unit_leader = {
									limit = {
											NOT = {
													has_trait = trait_SOV_trotskyist
												}
											NOT = {
													has_trait = trait_SOV_stalinist
												}
											NOT = {
													has_trait = trait_SOV_bukharinist
												}
											NOT = {
													has_trait = trait_SOV_monarchist_sympathizer
												}
										}
									add_unit_leader_trait = trait_SOV_trotskyist
									set_character_flag = SOV_aligned_left_opposition_flag
								}
							random_unit_leader = {
									limit = {
											NOT = {
													has_trait = trait_SOV_trotskyist
												}
											NOT = {
													has_trait = trait_SOV_stalinist
												}
											NOT = {
													has_trait = trait_SOV_bukharinist
												}
											NOT = {
													has_trait = trait_SOV_monarchist_sympathizer
												}
										}
									add_unit_leader_trait = trait_SOV_trotskyist
									set_character_flag = SOV_aligned_left_opposition_flag
								}
							random_unit_leader = {
									limit = {
											NOT = {
													has_trait = trait_SOV_trotskyist
												}
											NOT = {
													has_trait = trait_SOV_stalinist
												}
											NOT = {
													has_trait = trait_SOV_bukharinist
												}
											NOT = {
													has_trait = trait_SOV_monarchist_sympathizer
												}
										}
									add_unit_leader_trait = trait_SOV_trotskyist
									set_character_flag = SOV_aligned_left_opposition_flag
								}
							add_to_variable = {
									SOV_left_opposition_army_support = 0.05
								}
							add_to_variable = {
									SOV_left_opposition_navy_support = 0.05
								}
							add_to_variable = {
									SOV_left_opposition_air_support = 0.05
								}
							random_owned_state = {
									limit = {
											OR = {
													state = 236
													state = 406
													state = 407
													state = 249
													state = 250
													state = 401
													state = 194
													state = 201
													state = 204
													state = 206
												}
											NOT = {
													has_state_flag = SOV_left_opposition_state
												}
											NOT = {
													has_state_flag = SOV_right_opposition_state
												}
											NOT = {
													has_state_flag = SOV_stalinist_state
												}
											NOT = {
													has_state_flag = SOV_opposition_partisans_flag
												}
										}
									set_state_flag = SOV_opposition_partisans_flag
								}
							SOV_get_centre_military_support = yes
						}
				}

	}
	focus = {
		id = SOV_approach_primakov
		icon = GFX_focus_SOV_approach_primakov
		cost = 6
		prerequisite = {
			focus = SOV_integrate_smirnovs_bloc
		}
		x = 1
		y = 1
		relative_position_id = SOV_integrate_smirnovs_bloc
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			bypass = {
					OR = {
							has_global_flag = SOV_soviet_civil_war_over
							has_global_flag = SOV_soviet_civil_war
							NOT = {
									has_character = SOV_vitaly_primakov
								}
						}
				}
			search_filters = { FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					SOV_paranoia_low_increase_effect = yes
					custom_effect_tooltip = SOV_approach_primakov_tt
					hidden_effect = {
							SOV_vitaly_primakov = {
									add_unit_leader_trait = trait_SOV_trotskyist
									remove_unit_leader_trait = trait_SOV_stalinist
									set_character_flag = SOV_aligned_left_opposition_flag
								}
							random_unit_leader = {
									limit = {
											NOT = {
													has_trait = trait_SOV_trotskyist
												}
											NOT = {
													has_trait = trait_SOV_stalinist
												}
											NOT = {
													has_trait = trait_SOV_bukharinist
												}
											NOT = {
													has_trait = trait_SOV_monarchist_sympathizer
												}
										}
									add_unit_leader_trait = trait_SOV_trotskyist
									set_character_flag = SOV_aligned_left_opposition_flag
								}
							random_unit_leader = {
									limit = {
											NOT = {
													has_trait = trait_SOV_trotskyist
												}
											NOT = {
													has_trait = trait_SOV_stalinist
												}
											NOT = {
													has_trait = trait_SOV_bukharinist
												}
											NOT = {
													has_trait = trait_SOV_monarchist_sympathizer
												}
										}
									add_unit_leader_trait = trait_SOV_trotskyist
									set_character_flag = SOV_aligned_left_opposition_flag
								}
							add_to_variable = {
									SOV_left_opposition_army_support = 0.05
								}
							add_to_variable = {
									SOV_left_opposition_navy_support = 0.05
								}
							add_to_variable = {
									SOV_left_opposition_air_support = 0.05
								}
							random_owned_state = {
									limit = {
											OR = {
													state = 234
													state = 227
													state = 235
													state = 238
													state = 237
												}
											NOT = {
													has_state_flag = SOV_left_opposition_state
												}
											NOT = {
													has_state_flag = SOV_right_opposition_state
												}
											NOT = {
													has_state_flag = SOV_stalinist_state
												}
											NOT = {
													has_state_flag = SOV_opposition_partisans_flag
												}
										}
									set_state_flag = SOV_opposition_partisans_flag
								}
							SOV_get_centre_military_support = yes
						}
				}

	}
	focus = {
		id = SOV_left_opposition_coup
		icon = GFX_focus_spr_masters_of_our_own_fate
		cost = 5
		prerequisite = {
			focus = SOV_approach_tukhachevsky
			focus = SOV_approach_primakov
		}
		x = 1
		y = 1
		relative_position_id = SOV_approach_tukhachevsky
			available = {
					SOV_soviet_civil_war_not_started = yes
					if = {
							limit = {
									is_ai = yes
									has_war = yes
								}
							date > 1940.1.1#Some event spawned wars need to be given a chance to breathe for a bit, if they've happened by the time we get here. Beyond a certain date, we stop caring.  
						}
				}
			bypass = {
					OR = {
							has_global_flag = SOV_soviet_civil_war_over
							has_global_flag = SOV_soviet_civil_war
						}
				}
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_war = yes
						}
				}
			search_filters = {

}
			completion_reward = {
					SOV_opposition_support_high_increase_effect = yes
					custom_effect_tooltip = SOV_left_opposition_coup_tt
					add_to_variable = {
							SOV.SOV_left_opposition_army_support = 0.05
						}
					add_to_variable = {
							SOV.SOV_left_opposition_navy_support = 0.05
						}
					add_to_variable = {
							SOV.SOV_left_opposition_air_support = 0.05
						}
					hidden_effect = {
							country_event = {
									id = NSB_soviet_communist_civil_war.001
									hours = 1
								}
							SOV_get_centre_military_support = yes
						}
					custom_effect_tooltip = SOV_exiled_advisors_available_tt
					IF = {
							limit = {
									has_idea = trotskyite_plot_nsb
								}
								remove_ideas = trotskyite_plot_nsb
						}
					IF = {
							limit = {
									has_idea = trotskyite_plot_purged
								}
								remove_ideas = trotskyite_plot_purged
						}
					mark_focus_tree_layout_dirty = yes
				}

	}
	focus = {
		id = SOV_long_live_the_workers_government
		icon = GFX_focus_generic_join_comintern
		cost = 6
		prerequisite = {
			focus = SOV_funds_for_the_cause
			focus = SOV_left_opposition_coup
		}
		x = 1
		y = 1
		relative_position_id = SOV_funds_for_the_cause
			available = {
					has_global_flag = SOV_soviet_civil_war_over
				}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_POLITICAL  FOCUS_FILTER_STABILITY }
			completion_reward = {
					add_timed_idea = {
							idea = SOV_workers_government_idea
							days = 365
						}
					add_stability = 0.05
					add_political_power = 100
					hidden_effect = {
							set_rule = {
									can_join_factions = yes
								}
							set_rule = {
									can_create_factions = yes
								}
						}
					create_faction = FOURTH_INTERNATIONAL_FACTION
				}

	}
	focus = {
		id = SOV_war_economy
		icon = GFX_goal_generic_trade
		cost = 6
		prerequisite = {
			focus = SOV_organization_centralization_discipline
			focus = SOV_long_live_the_workers_government
		}
		x = 51
		y = 7
			available = { 
					OR = {
							any_other_country = {
									NOT = { has_government = ROOT }
									num_of_factories > 400
								}
							threat > 0.5
						}
			}
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					custom_effect_tooltip = SOV_war_economy_stability_tt
					if = {
							limit = {
									has_war = no
								}
							add_stability = -0.1
						}
					else = {
							custom_effect_tooltip = SOV_war_economy_stability_war_tt
						}
					if = {
							limit = {
									NOT = {
											has_idea = war_economy
										}
									NOT = {
											has_idea = tot_economic_mobilisation
										}
								}
							add_ideas = war_economy
						}
					if = {
							limit = {
									217 = {
											is_controlled_by = ROOT
											free_building_slots = {
													building = arms_factory
													size > 1
													include_locked = yes
												}
										}
								}
							217 = {
									add_extra_state_shared_building_slots = 2
									add_building_construction = {
											type = arms_factory
											level = 2
											instant_build = yes
										}
								}
						}
					else = {
							random_controlled_state = {
									limit = {
											arms_factory > 1
											free_building_slots = {
													building = arms_factory
													size > 1
													include_locked = yes
												}
										}
									add_extra_state_shared_building_slots = 2
									add_building_construction = {
											type = arms_factory
											level = 2
											instant_build = yes
										}
								}
						}
				}

	}
	focus = {
		id = SOV_the_permanent_revolution
		icon = GFX_goal_generic_war_with_comintern
		cost = 6
		prerequisite = {
			focus = SOV_long_live_the_workers_government
		}
		x = 0
		y = 1
		relative_position_id = SOV_long_live_the_workers_government
			available = {
					has_global_flag = SOV_soviet_civil_war_over
				}
			search_filters = {

}
			completion_reward = {
					custom_effect_tooltip = SOV_the_permanent_revolution_decisions_tt
					division_template = {
							name = "Trotskyist Revolutionary Militias"
							priority = 1
							is_locked = yes
							division_names_group = SOV_INF_02
							regiments = {
									infantry = {
											x = 0
											y = 0
										}
									infantry = {
											x = 0
											y = 1
										}
									infantry = {
											x = 0
											y = 2
										}
									infantry = {
											x = 1
											y = 0
										}
									infantry = {
											x = 1
											y = 1
										}
								}
						}
					IF = {
							limit = {
									SOV_lev_trotsky = {
											is_country_leader = yes
										}
								}
							swap_ruler_traits = {
									remove = permanent_revolutionary
									add = triumphant_revolutionary
								}
						}
					ELSE = {
							effect_tooltip = {
									custom_effect_tooltip = SOV_the_permanent_revolution_trotsky_trait_tt
									add_trait = {
											character = SOV_lev_trotsky
											slot = country_leader
											trait = triumphant_revolutionary
										}
								}
						}
				}

	}
	focus = {
		id = SOV_the_builder_of_the_red_army
		icon = GFX_focus_SOV_builder_of_the_red_army
		cost = 6
		prerequisite = {
			focus = SOV_the_permanent_revolution
		}
		x = 1
		y = 1
		relative_position_id = SOV_the_permanent_revolution
			available = {
					SOV_lev_trotsky = {
							is_country_leader = yes
						}
				}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH  FOCUS_FILTER_ARMY_XP }
			completion_reward = {
					random_owned_controlled_state = {
							limit = {
									free_building_slots = {
											building = arms_factory
											size > 1
											include_locked = yes
										}
								}
							add_building_construction = {
									type = arms_factory
									level = 2
									instant_build = yes
								}
						}
					army_experience = 50
					add_tech_bonus = {
							name = SOV_the_builder_of_the_red_army
							ahead_reduction = 1
							uses = 1
							category = artillery
							category = infantry_weapons
						}
					add_field_marshal_role = {
							character = SOV_lev_trotsky
							traits = { media_personality  organisational_leader }
							skill = 4
							attack_skill = 3
							defense_skill = 1
							planning_skill = 4
							logistics_skill = 4
						}
				}

	}
	focus = {
		id = SOV_reigniting_the_revolutionary_spirit
		icon = GFX_goal_generic_war_with_comintern
		cost = 6
		prerequisite = {
			focus = SOV_the_permanent_revolution
		}
		x = -2
		y = 1
		relative_position_id = SOV_the_permanent_revolution
			available = {

}
			search_filters = { FOCUS_FILTER_MANPOWER }
			completion_reward = {
					add_timed_idea = {
							idea = SOV_revolutionary_spirit_idea
							days = 365
						}
				}

	}
	focus = {
		id = SOV_strengthen_heavy_industry
		icon = GFX_goal_generic_soviet_construction
		cost = 6
		prerequisite = {
			focus = SOV_reigniting_the_revolutionary_spirit
		}
		x = 1
		y = 1
		relative_position_id = SOV_reigniting_the_revolutionary_spirit
			available = {
					has_global_flag = SOV_soviet_civil_war_over
				}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH }
			completion_reward = {
					add_tech_bonus = {
							name = SOV_strengthen_heavy_industry
							ahead_reduction = 1
							uses = 2
							category = industry
						}
					random_owned_controlled_state = {
							prioritize = { 252  254 }
							limit = {
									free_building_slots = {
											building = arms_factory
											size > 1
											include_locked = yes
										}
								}
							add_building_construction = {
									type = arms_factory
									level = 2
									instant_build = yes
								}
						}
					random_owned_controlled_state = {
							prioritize = { 256  239  260 }
							limit = {
									free_building_slots = {
											building = arms_factory
											size > 1
											include_locked = yes
										}
								}
							add_building_construction = {
									type = arms_factory
									level = 2
									instant_build = yes
								}
						}
					random_owned_controlled_state = {
							limit = {
									free_building_slots = {
											building = arms_factory
											size > 1
											include_locked = yes
										}
								}
							add_building_construction = {
									type = arms_factory
									level = 2
									instant_build = yes
								}
						}
					random_owned_controlled_state = {
							prioritize = { 256  239  260 }
							limit = {
									free_building_slots = {
											building = industrial_complex
											size > 1
											include_locked = yes
										}
								}
							add_building_construction = {
									type = industrial_complex
									level = 2
									instant_build = yes
								}
						}
					random_owned_controlled_state = {
							prioritize = { 195  214  213  408  137 }
							limit = {
									free_building_slots = {
											building = dockyard
											size > 1
											include_locked = yes
										}
									is_coastal = yes
								}
							add_building_construction = {
									type = dockyard
									level = 2
									instant_build = yes
								}
						}
				}

	}
	focus = {
		id = SOV_depoliticize_the_military
		icon = GFX_focus_generic_little_entente
		cost = 6
		prerequisite = {
			focus = SOV_the_builder_of_the_red_army
		}
		x = 0
		y = 1
		relative_position_id = SOV_the_builder_of_the_red_army
			available = {

}
			search_filters = { FOCUS_FILTER_ARMY_XP }
			completion_reward = {
					add_to_variable = {
							SOV_the_red_army_max_command_power_mult = 0.05
						}
					custom_effect_tooltip = SOV_depoliticize_the_military_ns_tt
					army_experience = 150
					if = {
							limit = {
									has_idea = SOV_politicized_military
								}
							remove_ideas = SOV_politicized_military
						}
					else_if = {
							limit = {
									has_idea = SOV_politicized_military_keep
								}
							remove_ideas = SOV_politicized_military_keep
						}
					else_if = {
							limit = {
									has_idea = SOV_politicized_military_swap
								}
							remove_ideas = SOV_politicized_military_swap
						}
				}

	}
	focus = {
		id = SOV_a_global_class_struggle
		icon = GFX_focus_ger_great_red_menace
		cost = 6
		prerequisite = {
			focus = SOV_strengthen_heavy_industry
		}
		prerequisite = {
			focus = SOV_depoliticize_the_military
		}
		x = -1
		y = 1
		relative_position_id = SOV_depoliticize_the_military
			available = {
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.10
					has_stability > 0.50
					has_war_support > 0.50
					date > 1940.1.1
					has_army_manpower = {
							size > 750000
						}
				}
			search_filters = {

}
			completion_reward = {
					custom_effect_tooltip = SOV_a_global_class_struggle_decision_tt
				}

	}
	focus = {
		id = SOV_carry_revolution_east
		icon = GFX_goal_generic_attack_allies
		cost = 6
		prerequisite = {
			focus = SOV_a_global_class_struggle
		}
		x = 1
		y = 1
		relative_position_id = SOV_a_global_class_struggle
			available = {
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.10
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			search_filters = {

}
			completion_reward = {
					custom_effect_tooltip = SOV_carry_revolution_east_decision_tt
				}

	}
	focus = {
		id = SOV_all_power_to_the_soviets
		icon = GFX_goal_support_communism
		cost = 6
		prerequisite = {
			focus = SOV_depoliticize_the_military
		}
		x = 2
		y = 1
		relative_position_id = SOV_depoliticize_the_military
			available = {

}
			search_filters = { FOCUS_FILTER_STABILITY }
			completion_reward = {
					add_ideas = SOV_the_local_soviets_idea
				}

	}
	focus = {
		id = SOV_regional_development
		icon = GFX_focus_generic_soviet_politics
		cost = 6
		prerequisite = {
			focus = SOV_all_power_to_the_soviets
		}
		mutually_exclusive = {
			focus = SOV_strengthen_the_trade_unions
		}
		x = 0
		y = 1
		relative_position_id = SOV_all_power_to_the_soviets
			available = {

}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					add_political_power = 150
					every_owned_state = {
							limit = {
									OR = {
											state = 202
											state = 229
											state = 230
											state = 231
											state = 405
											state = 408
											state = 584
											state = 586
											state = 654
											state = 732
											state = 743
											state = 206
										}
									free_building_slots = {
											building = industrial_complex
											size > 1
											include_locked = yes
										}
								}
							add_extra_state_shared_building_slots = 2
						}
				}

	}
	focus = {
		id = SOV_autonomous_soviet_republics
		icon = GFX_goal_generic_improve_relations
		cost = 6
		prerequisite = {
			focus = SOV_regional_development
		}
		x = 0
		y = 1
		relative_position_id = SOV_regional_development
			available = {

}
			search_filters = {

}
			completion_reward = {
					custom_effect_tooltip = SOV_autonomous_soviet_republics_tt
					IF = {
							limit = {
									231 = {
											is_owned_and_controlled_by = ROOT
										}
								}
							release_autonomy = {
									target = GEO
									autonomy_state = autonomy_puppet
									freedom_level = 0.5
								}
							GEO = {
									add_ideas = { SOV_system_decentralization_idea  SOV_the_local_soviets_idea }
								}
						}
					IF = {
							limit = {
									230 = {
											is_owned_and_controlled_by = ROOT
										}
								}
							release_autonomy = {
									target = ARM
									autonomy_state = autonomy_puppet
									freedom_level = 0.5
								}
							ARM = {
									add_ideas = { SOV_system_decentralization_idea  SOV_the_local_soviets_idea }
								}
						}
					IF = {
							limit = {
									229 = {
											is_owned_and_controlled_by = ROOT
										}
								}
							release_autonomy = {
									target = AZR
									autonomy_state = autonomy_puppet
									freedom_level = 0.5
								}
							AZR = {
									add_ideas = { SOV_system_decentralization_idea  SOV_the_local_soviets_idea }
								}
						}
					IF = {
							limit = {
									206 = {
											is_owned_and_controlled_by = ROOT
										}
								}
							release_autonomy = {
									target = BLR
									autonomy_state = autonomy_puppet
									freedom_level = 0.5
								}
							BLR = {
									add_ideas = { SOV_system_decentralization_idea  SOV_the_local_soviets_idea }
								}
						}
				}

	}
	focus = {
		id = SOV_international_union_of_soviet_republics
		icon = GFX_focus_SOV_international_union_of_soviet_republics
		cost = 6
		prerequisite = {
			focus = SOV_autonomous_soviet_republics
		}
		x = 0
		y = 1
		relative_position_id = SOV_autonomous_soviet_republics
			available = {
					num_subjects > 1
					is_subject = no
				}
			search_filters = { FOCUS_FILTER_STABILITY }
			completion_reward = {
					add_to_variable = {
							SOV_factionalism_overlord_trade_cost_factor = -0.05
						}
					add_to_variable = {
							SOV_factionalism_popularity_stability_cost_factor = 0.05
						}
					custom_effect_tooltip = SOV_international_union_of_soviet_republics_tt
					every_country = {
							limit = {
									is_subject_of = ROOT
								}
							add_ideas = { SOV_puppet_international_of_soviet_republics_idea }
							custom_effect_tooltip = SOV_international_union_of_soviet_republics_puppet_tt
							hidden_effect = {
									random_owned_controlled_state = {
											limit = {
													is_capital = yes
												}
											add_building_construction = {
													type = industrial_complex
													level = 1
													instant_build = yes
												}
											add_building_construction = {
													type = arms_factory
													level = 1
													instant_build = yes
												}
										}
								}
						}
				}

	}
	focus = {
		id = SOV_sway_the_railway_workers
		icon = GFX_goal_generic_construction2
		cost = 5
		prerequisite = {
			focus = SOV_gain_support_from_party_members
		}
		x = -3
		y = 1
		relative_position_id = SOV_gain_support_from_party_members
			available = {
					SOV_has_selected_hq = yes
					SOV_soviet_civil_war_not_started = yes
				}
			search_filters = { FOCUS_FILTER_SOV_POLITICAL_PARANOIA  FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					SOV_paranoia_very_low_increase_effect = yes
					custom_effect_tooltip = SOV_sway_the_railway_workers_tt
					set_country_flag = SOV_supply_hub_flag
				}

	}
	focus = {
		id = SOV_infiltrate_the_nkvd
		icon = GFX_goal_generic_intelligence_exchange
		cost = 6
		prerequisite = {
			focus = SOV_gain_support_from_party_members
		}
		x = -1
		y = 1
		relative_position_id = SOV_gain_support_from_party_members
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			search_filters = { FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					SOV_paranoia_low_decrease_effect = yes
					custom_effect_tooltip = SOV_infiltrate_the_nkvd_tt
					set_country_flag = SOV_nkvd_aligned_flag
					IF = {
							limit = {
									SOV_is_right_opposition = yes
								}
							custom_effect_tooltip = SOV_infiltrate_the_nkvd_coup_tt
						}
				}

	}
	focus = {
		id = SOV_cooperation_against_stalin
		icon = GFX_goal_generic_national_unity
		cost = 6
		prerequisite = {
			focus = SOV_gain_support_from_party_members
		}
		mutually_exclusive = {
			focus = SOV_left_eliminate_right
			focus = SOV_eliminate_the_left
		}
		x = 0
		y = 2
		relative_position_id = SOV_gain_support_from_party_members
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			search_filters = { FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			bypass = { has_global_flag = SOV_soviet_civil_war_over }
			completion_reward = {
					SOV_paranoia_medium_increase_effect = yes
					IF = {
							limit = {
									SOV_is_left_opposition = yes
								}
							custom_effect_tooltip = SOV_cooperation_against_stalin_left_tt
							hidden_effect = {
									SOV_nikolay_bukharin = {
											set_character_flag = SOV_aligned_left_opposition_flag
										}
									SOV_aleksey_rykov = {
											set_character_flag = SOV_aligned_left_opposition_flag
										}
								}
						}
					ELSE_IF = {
							limit = {
									SOV_is_right_opposition = yes
								}
							custom_effect_tooltip = SOV_cooperation_against_stalin_right_tt
							hidden_effect = {
									SOV_karl_radek = {
											set_character_flag = SOV_aligned_right_opposition_flag
										}
									SOV_yevgeny_preobrazhensky = {
											set_character_flag = SOV_aligned_right_opposition_flag
										}
								}
						}
					ELSE = {
							custom_effect_tooltip = SOV_cooperation_against_stalin_other_tt
						}
					custom_effect_tooltip = SOV_cooperation_against_stalin_factionalism_tt
					add_to_variable = {
							SOV_factionalism_political_advisor_cost_factor = -0.1
						}
					add_to_variable = {
							SOV_factionalism_political_power_factor = -0.05
						}
					add_to_variable = {
							SOV_factionalism_popularity_stability_cost_factor = -0.05
						}
				}

	}
	focus = {
		id = SOV_return_democracy_to_the_party
		icon = GFX_goal_generic_neutrality_focus
		cost = 6
		prerequisite = {
			focus = SOV_cooperation_against_stalin
		}
		mutually_exclusive = {
			focus = SOV_left_purges
			focus = SOV_right_purges
		}
		x = 0
		y = 4
		relative_position_id = SOV_cooperation_against_stalin
			available = {
					has_global_flag = SOV_soviet_civil_war_over
				}
			search_filters = {

}
			completion_reward = {
					add_stability = -0.05
					add_war_support = -0.05
					add_popularity = {
							ideology = democratic
							popularity = 0.15
						}
					add_popularity = {
							ideology = neutrality
							popularity = 0.05
						}
					add_popularity = {
							ideology = fascism
							popularity = 0.05
						}
					custom_effect_tooltip = SOV_return_democracy_to_the_party_factionalism_tt
					custom_effect_tooltip = SOV_return_democracy_to_the_party_factionalism_tt
					add_to_variable = {
							SOV_factionalism_political_power_factor = -0.05
						}
					IF = {
							limit = {
									SOV_is_left_opposition = yes
								}
							custom_effect_tooltip = SOV_return_democracy_to_the_party_unlock_right_tt
						}
					ELSE = {
							custom_effect_tooltip = SOV_return_democracy_to_the_party_unlock_left_tt
						}
					IF = {
							limit = {
									has_idea = trotskyite_plot_nsb
								}
								remove_ideas = trotskyite_plot_nsb
						}
					IF = {
							limit = {
									has_idea = trotskyite_plot_purged
								}
								remove_ideas = trotskyite_plot_purged
						}
					if = {
							limit = {
									SOV_ivan_smirnov = {
											NOT = {
													has_character_flag = SOV_character_purged_flag
												}
											has_character_flag = SOV_imprisoned_flag
										}
								}
							SOV_ivan_smirnov = {
									clr_character_flag = SOV_imprisoned_flag
								}
						}
					if = {
							limit = {
									SOV_ivar_smilga = {
											NOT = {
													has_character_flag = SOV_character_purged_flag
												}
											has_character_flag = SOV_imprisoned_flag
										}
								}
							SOV_ivar_smilga = {
									clr_character_flag = SOV_imprisoned_flag
								}
						}
					if = {
							limit = {
									SOV_aleksandr_shlyapnikov = {
											NOT = {
													has_character_flag = SOV_character_purged_flag
												}
											has_character_flag = SOV_imprisoned_flag
										}
								}
							SOV_aleksandr_shlyapnikov = {
									clr_character_flag = SOV_imprisoned_flag
								}
						}
					hidden_effect = {
							set_portraits = {
									character = SOV_ivan_smirnov
									army = {
											small = "GFX_idea_SOV_ivan_smirnov"
										}
								}
							set_portraits = {
									character = SOV_ivar_smilga
									army = {
											small = "GFX_idea_SOV_ivar_smilga"
										}
								}
							set_portraits = {
									character = SOV_aleksandr_shlyapnikov
									army = {
											small = "GFX_idea_SOV_aleksandr_shlyapnikov"
										}
								}
							IF = {
									limit = {
											SOV_is_right_opposition = yes
										}
									every_character = {
											limit = {
													has_character_flag = SOV_exiled_flag
													has_character_flag = SOV_aligned_left_opposition_flag
												}
											clr_character_flag = SOV_exiled_flag
										}
								}
							ELSE_IF = {
									limit = {
											SOV_is_left_opposition = yes
										}
									every_character = {
											limit = {
													has_character_flag = SOV_exiled_flag
													has_character_flag = SOV_aligned_right_opposition_flag
												}
											clr_character_flag = SOV_exiled_flag
										}
								}
						}
				}

	}
	focus = {
		id = SOV_strengthen_the_trade_unions
		icon = GFX_focus_generic_treaty
		cost = 6
		prerequisite = {
			focus = SOV_return_democracy_to_the_party
		}
		mutually_exclusive = {
			focus = SOV_regional_development
			focus = SOV_for_the_common_good
		}
		x = 0
		y = 3
		relative_position_id = SOV_return_democracy_to_the_party
			available = {

}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					add_political_power = 70
					add_popularity = {
							ideology = communism
							popularity = 0.05
						}
					add_ideas = SOV_strong_trade_unions_idea
				}

	}
	focus = {
		id = SOV_the_peoples_revolution
		icon = GFX_focus_por_workers_of_iberia
		cost = 6
		prerequisite = {
			focus = SOV_strengthen_the_trade_unions
		}
		x = -1
		y = 1
		relative_position_id = SOV_strengthen_the_trade_unions
			available = {

}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_MANPOWER }
			completion_reward = {
					add_popularity = {
							ideology = communism
							popularity = 0.05
						}
					add_ideas = SOV_the_peoples_revolution_idea
				}

	}
	focus = {
		id = SOV_the_supreme_soviet
		icon = GFX_focus_SOV_the_supreme_soviet
		cost = 6
		prerequisite = {
			focus = SOV_strengthen_the_trade_unions
		}
		x = 1
		y = 1
		relative_position_id = SOV_strengthen_the_trade_unions
			available = {
					has_government = communism
				}
			search_filters = { FOCUS_FILTER_STABILITY }
			completion_reward = {
			        if = {
					limit = { NOT = { has_country_leader = { character = SOV_lavrenty_beriya } } }
					add_country_leader_role = {
							character = SOV_supreme_soviet
							country_leader = {
									ideology = marxism
									traits = { strong_party_discipline }
									expire = "1965.3.1.1"
								}
							promote_leader = yes
						}
					}
			        if = {
					    limit = { has_country_leader = { character = SOV_lavrenty_beriya } }
                        add_country_leader_trait = stalin_servant_of_lenin_leader
					}
				}

	}
	focus = {
		id = SOV_military_support
		icon = GFX_goal_generic_army_doctrines
		cost = 6
		prerequisite = {
			focus = SOV_gain_support_from_party_members
		}
		mutually_exclusive = {
			focus = SOV_divert_attention_towards_military
		}
		x = 1
		y = 1
		relative_position_id = SOV_gain_support_from_party_members
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			search_filters = { FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					SOV_paranoia_medium_increase_effect = yes
					custom_effect_tooltip = SOV_military_support_tt
					hidden_effect = {
							IF = {
									limit = {
											SOV_is_left_opposition = yes
										}
									add_to_variable = {
											SOV_left_opposition_army_support = 0.10
										}
									clamp_variable = {
											var = SOV.SOV_left_opposition_army_support
											max = 0.9
											min = 0.4
										}
								}
							ELSE_IF = {
									limit = {
											SOV_is_right_opposition = yes
										}
									add_to_variable = {
											SOV_right_opposition_army_support = 0.10
										}
									clamp_variable = {
											var = SOV.SOV_right_opposition_army_support
											max = 0.9
											min = 0.4
										}
								}
							SOV_get_centre_military_support = yes
							IF = {
									limit = {
											any_army_leader = {
													is_field_marshal = yes
													NOT = {
															is_character = SOV_mikhail_tukhachevsky
														}
													NOT = {
															has_trait = trait_SOV_stalinist
														}
													NOT = {
															has_trait = trait_SOV_bukharinist
														}
													NOT = {
															has_trait = trait_SOV_trotskyist
														}
													NOT = {
															has_trait = trait_SOV_monarchist_sympathizer
														}
												}
										}
									random_army_leader = {
											limit = {
													is_field_marshal = yes
													NOT = {
															is_character = SOV_mikhail_tukhachevsky
														}
													NOT = {
															has_trait = trait_SOV_stalinist
														}
													NOT = {
															has_trait = trait_SOV_bukharinist
														}
													NOT = {
															has_trait = trait_SOV_trotskyist
														}
													NOT = {
															has_trait = trait_SOV_monarchist_sympathizer
														}
												}
											IF = {
													limit = {
															SOV_is_left_opposition = yes
														}
													add_unit_leader_trait = trait_SOV_trotskyist
													set_character_flag = SOV_aligned_left_opposition_flag
												}
											ELSE_IF = {
													limit = {
															SOV_is_right_opposition = yes
														}
													add_unit_leader_trait = trait_SOV_bukharinist
													set_character_flag = SOV_aligned_right_opposition_flag
												}
										}
								}
							ELSE = {
									random_army_leader = {
											limit = {
													NOT = {
															is_character = SOV_mikhail_tukhachevsky
														}
													NOT = {
															is_character = SOV_vitaly_primakov
														}
													NOT = {
															has_trait = trait_SOV_stalinist
														}
													NOT = {
															has_trait = trait_SOV_bukharinist
														}
													NOT = {
															has_trait = trait_SOV_trotskyist
														}
													NOT = {
															has_trait = trait_SOV_monarchist_sympathizer
														}
												}
											IF = {
													limit = {
															SOV_is_left_opposition = yes
														}
													add_unit_leader_trait = trait_SOV_trotskyist
													set_character_flag = SOV_aligned_left_opposition_flag
												}
											ELSE_IF = {
													limit = {
															SOV_is_right_opposition = yes
														}
													add_unit_leader_trait = trait_SOV_bukharinist
													set_character_flag = SOV_aligned_right_opposition_flag
												}
										}
								}
						}
				}

	}
	focus = {
		id = SOV_liberate_ryutin
		icon = GFX_focus_CZE_german_puppet
		cost = 6
		prerequisite = {
			focus = SOV_cooperation_against_stalin
		}
		x = 1
		y = 1
		relative_position_id = SOV_cooperation_against_stalin
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			search_filters = { FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					SOV_paranoia_medium_increase_effect = yes
					custom_effect_tooltip = SOV_liberate_ryutin_tt
					IF = {
							limit = {
									SOV_is_left_opposition = yes
								}
							566 = {
									set_state_flag = SOV_left_opposition_state
								}
							hidden_effect = {
									SOV_martemyan_ryutin = {
											set_character_flag = SOV_aligned_left_opposition_flag
											clr_character_flag = SOV_imprisoned_flag
											set_character_flag = SOV_exiled_flag
											set_portraits = {
													army = {
															small = "GFX_idea_SOV_martemyan_ryutin"
														}
												}
										}
								}
						}
					ELSE_IF = {
							limit = {
									SOV_is_right_opposition = yes
								}
							566 = {
									set_state_flag = SOV_right_opposition_state
								}
							hidden_effect = {
									SOV_martemyan_ryutin = {
											set_character_flag = SOV_aligned_right_opposition_flag
											clr_character_flag = SOV_imprisoned_flag
											set_character_flag = SOV_exiled_flag
											set_portraits = {
													army = {
															small = "GFX_idea_SOV_martemyan_ryutin"
														}
												}
										}
								}
						}
				}

	}
	focus = {
		id = SOV_divert_attention_towards_military
		icon = GFX_focus_SOV_military_purge
		cost = 5
		prerequisite = {
			focus = SOV_gain_support_from_party_members
		}
		mutually_exclusive = {
			focus = SOV_military_support
		}
		x = 3
		y = 1
		relative_position_id = SOV_gain_support_from_party_members
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			search_filters = { FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					custom_effect_tooltip = SOV_divert_purge_attention_tt
					hidden_effect = {
							SOV_pick_regular_purge_army_type_effect = yes
						}
				}

	}
	focus = {
		id = SOV_reverse_the_collectivization_process
		icon = GFX_goal_generic_improve_relations
		cost = 6
		prerequisite = {
			focus = SOV_the_right_opposition
		}
		x = 0
		y = 1
		relative_position_id = SOV_the_right_opposition
			offset = {
					x = -1
					y = 0
					trigger = {
							has_dlc = "No Step Back"
							AND = {
									has_completed_focus = SOV_the_right_opposition
									has_completed_focus = SOV_coup_detat
								}
							has_game_rule = {
									rule = obsolete_focus_branches_visibility
									option = HIDE
								}
						}
				}
			available = {

}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_SOV_POLITICAL_PARANOIA  FOCUS_FILTER_STABILITY }
			completion_reward = {
					SOV_paranoia_low_increase_effect = yes
					SOV_opposition_support_high_increase_effect = yes
					add_popularity = {
							ideology = democratic
							popularity = 0.1
						}
					custom_effect_tooltip = SOV_reverse_the_collectivization_process_tt
					add_to_variable = {
							SOV_factionalism_building_slots_factor = -0.1
						}
					add_to_variable = {
							SOV_factionalism_popularity_stability_cost_factor = 0.05
						}
				}

	}
	focus = {
		id = SOV_organize_uprisings_in_the_country
		icon = GFX_goal_generic_demand_territory
		cost = 6
		prerequisite = {
			focus = SOV_reverse_the_collectivization_process
		}
		x = -2
		y = 1
		relative_position_id = SOV_reverse_the_collectivization_process
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			search_filters = { FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					SOV_paranoia_low_increase_effect = yes
					SOV_opposition_support_low_increase_effect = yes
					hidden_effect = {
							country_event = {
									id = NSB_soviet_communist_civil_war.007
									days = 5
									random_days = 3
								}
						}
					custom_effect_tooltip = SOV_organize_uprisings_in_the_country_tt
				}

	}
	focus = {
		id = SOV_eliminate_the_left
		icon = GFX_focus_SOV_purge_trotskyists
		cost = 5
		prerequisite = {
			focus = SOV_organize_uprisings_in_the_country
		}
		mutually_exclusive = {
			focus = SOV_cooperation_against_stalin
		}
		x = -3
		y = 1
		relative_position_id = SOV_organize_uprisings_in_the_country
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					SOV_paranoia_high_increase_effect = yes
					custom_effect_tooltip = SOV_eliminate_the_left_tt
					custom_effect_tooltip = SOV_eliminate_opposition_factionalism_tt
					add_to_variable = {
							SOV_factionalism_political_power_factor = 0.05
						}
					SOV_karl_radek = {
							set_character_flag = SOV_potential_target_flag
						}
					SOV_ivar_smilga = {
							set_character_flag = SOV_potential_target_flag
						}
					SOV_yevgeny_preobrazhensky = {
							set_character_flag = SOV_potential_target_flag
						}
				}

	}
	focus = {
		id = SOV_undermine_stalins_authority
		icon = GFX_focus_ger_bulwark_against_bolshevism
		cost = 6
		prerequisite = {
			focus = SOV_organize_uprisings_in_the_country
		}
		x = -1
		y = 1
		relative_position_id = SOV_organize_uprisings_in_the_country
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					SOV_paranoia_medium_increase_effect = yes
					SOV_iosif_stalin = {
							swap_country_leader_traits = {
									remove = stalin_political_paranoia
									add = stalin_authority_undermined
								}
						}
					add_to_variable = {
							SOV_paranoia_weekly_modifiers_amount = 1
						}
					SOV_paranoia_modifier_update_gui_tooltip = yes
					custom_effect_tooltip = SOV_undermine_stalins_authority_paranoia_tt
				}

	}
	focus = {
		id = SOV_clandestine_cells
		icon = GFX_goal_generic_more_territorial_claims
		cost = 6
		prerequisite = {
			focus = SOV_organize_uprisings_in_the_country
		}
		x = 1
		y = 1
		relative_position_id = SOV_organize_uprisings_in_the_country
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			search_filters = { FOCUS_FILTER_POLITICAL }
			completion_reward = {
					add_political_power = 50
					custom_effect_tooltip = SOV_clandestine_cells_tt
					set_country_flag = SOV_organize_wreckers_flag
				}

	}
	focus = {
		id = SOV_the_plan_for_the_coup
		icon = GFX_goal_generic_major_war
		cost = 6
		prerequisite = {
			focus = SOV_undermine_stalins_authority
		}
		prerequisite = {
			focus = SOV_clandestine_cells
		}
		x = -1
		y = 1
		relative_position_id = SOV_clandestine_cells
			available = {
					SOV_soviet_civil_war_not_started = yes
					NOT = { has_idea = SOV_lavrenty_beriya }
				}
			search_filters = {

}
			completion_reward = {
					custom_effect_tooltip = SOV_the_plan_for_the_coup_tt
				}

	}
	focus = {
		id = SOV_the_need_for_policy_changes
		icon = GFX_focus_hol_abandon_the_gold_standard
		cost = 5
		prerequisite = {
			focus = SOV_reverse_the_collectivization_process
		}
		x = 2
		y = 1
		relative_position_id = SOV_reverse_the_collectivization_process
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			bypass = {
					OR = {
							has_global_flag = SOV_soviet_civil_war_over
							has_global_flag = SOV_soviet_civil_war
						}
				}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					SOV_paranoia_low_increase_effect = yes
					add_political_power = 75
					custom_effect_tooltip = SOV_the_need_for_policy_changes_tt
				}

	}
	focus = {
		id = SOV_dissent_in_the_party
		icon = GFX_goal_generic_forceful_treaty
		cost = 6
		prerequisite = {
			focus = SOV_the_need_for_policy_changes
		}
		x = 0
		y = 1
		relative_position_id = SOV_the_need_for_policy_changes
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			bypass = {
					OR = {
							has_global_flag = SOV_soviet_civil_war_over
							has_global_flag = SOV_soviet_civil_war
						}
				}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					SOV_paranoia_medium_increase_effect = yes
					add_political_power = 100
					SOV_opposition_support_high_increase_effect = yes
				}

	}
	focus = {
		id = SOV_coup_detat
		icon = GFX_focus_spr_masters_of_our_own_fate
		cost = 6
		prerequisite = {
			focus = SOV_dissent_in_the_party
		}
		x = -2
		y = 1
		relative_position_id = SOV_dissent_in_the_party
			available = {
					SOV_soviet_civil_war_not_started = yes
					NOT = { has_completed_focus = SOV_increase_state_reserves }
				}
			bypass = {
					OR = {
							has_global_flag = SOV_soviet_civil_war_over
							has_global_flag = SOV_soviet_civil_war
						}
				}
			search_filters = {

}
			completion_reward = {
					IF = {
							limit = {
									NOT = {
											has_character = SOV_iosif_stalin
										}
								}
							custom_effect_tooltip = SOV_coup_detat_success_tt
							hidden_effect = {
									set_global_flag = SOV_soviet_civil_war_over
									SOV_remove_paranoia_effect = yes
									country_event = {
											id = NSB_soviet_communist_civil_war.002
											hours = 1
										}
									country_event = {
											id = NSB_soviet_civil_war_common.010
											days = 14
											random_days = 7
										}
								}
						}
					ELSE = {
							SOV_opposition_support_high_increase_effect = yes
							custom_effect_tooltip = SOV_coup_detat_civil_war_tt
							add_to_variable = {
									SOV.SOV_right_opposition_army_support = 0.15
								}
							add_to_variable = {
									SOV.SOV_right_opposition_navy_support = 0.1
								}
							add_to_variable = {
									SOV.SOV_right_opposition_air_support = 0.1
								}
							hidden_effect = {
									country_event = {
											id = NSB_soviet_communist_civil_war.003
											hours = 1
										}
								}
							SOV_get_centre_military_support = yes
						}
					custom_effect_tooltip = SOV_exiled_advisors_available_tt
					mark_focus_tree_layout_dirty = yes
				}

	}
	focus = {
		id = SOV_curtailment_of_the_collective_farms
		icon = GFX_focus_renounce_the_treaty_of_trianon
		cost = 6
		prerequisite = {
			focus = SOV_coup_detat
		}
		x = -1
		y = 1
		relative_position_id = SOV_coup_detat
			available = {
			        NOT = { SOV_lavrenty_beriya = { is_country_leader = yes } }
					NOT = { has_completed_focus = SOV_increase_state_reserves }
					has_government = communism
			}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_MANPOWER }
			completion_reward = {
					custom_effect_tooltip = SOV_curtailment_of_the_collective_farms_tt
					add_timed_idea = {
							idea = SOV_curtailment_collective_farms_idea
							days = 365
						}
				}

	}
	focus = {
		id = SOV_administrative_reforms
		icon = GFX_focus_generic_soviet_politics
		cost = 6
		prerequisite = {
			focus = SOV_curtailment_of_the_collective_farms
		}
		x = -1
		y = 1
		relative_position_id = SOV_curtailment_of_the_collective_farms
			available = {
					has_character = SOV_aleksey_rykov
				}
			search_filters = { FOCUS_FILTER_STABILITY  FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					add_stability = 0.05
					add_ideas = SOV_administrative_reforms_idea
				}

	}
	focus = {
		id = SOV_concessions_to_foreign_powers
		icon = GFX_goal_generic_dangerous_deal
		cost = 5
		prerequisite = {
			focus = SOV_dissent_in_the_party
		}
		mutually_exclusive = {
			focus = SOV_covert_support_for_spanish_poum
		}
		x = 0
		y = 1
		relative_position_id = SOV_dissent_in_the_party
			available = {
					NOT = {
							has_country_flag = SOV_soviet_civil_war_over
						}
					# you should be able to do this during the CW as well
					SOV_has_selected_hq = yes
				}
			search_filters = { FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					SOV_paranoia_low_increase_effect = yes
					custom_effect_tooltip = SOV_concessions_to_foreign_powers_tt
				}

	}
	focus = {
		id = SOV_covert_support_for_spanish_poum
		icon = GFX_focus_SOV_support_spanish_poum
		cost = 5
		prerequisite = {
			focus = SOV_dissent_in_the_party
		}
		mutually_exclusive = {
			focus = SOV_concessions_to_foreign_powers
		}
		x = 2
		y = 1
		relative_position_id = SOV_dissent_in_the_party
			available = {
					SOV_soviet_civil_war_not_started = yes
					NOT = {
							has_global_flag = scw_over
						}
					#Allowed Soviets to do this before SCW starts, so that they can make Spanish AI go POUM
					OR = {
							NOT = {
									has_global_flag = SPR_anarchist_uprising_flag
								}
							AND = {
									country_exists = SPC
									NOT = {
											has_war_with = SPC
										}
									SPC = {
											has_completed_focus = SPR_the_anti_fascist_workers_revolution
										}
								}
						}
				}
			allow_branch = {
					has_dlc = "La Resistance"
					has_dlc = "No Step Back"
					if = {
							limit = {
									has_game_rule = {
											rule = obsolete_focus_branches_visibility
											option = HIDE
										}
								}
							NOT = {
									has_completed_focus = SOV_the_centre
								}
							NOT = {
									has_completed_focus = SOV_beaten_but_not_defeated
								}
						}
				}
			bypass = {
					SPR = {
							OR = {
									has_global_flag = scw_over
									AND = {
											has_global_flag = SPR_anarchist_uprising_flag
											OR = {
													NOT = {
															SPC = {
																	has_completed_focus = SPR_the_anti_fascist_workers_revolution
																}
														}
													NOT = {
															country_exists = SPC
														}
												}
										}
								}
						}
				}
			#Tooltip purposes
			search_filters = { FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					SOV_paranoia_low_increase_effect = yes
					set_global_flag = SOV_covert_support_for_poum_flag
					custom_effect_tooltip = SOV_covert_support_for_spanish_poum_tt
					unlock_decision_category_tooltip = SOV_soviet_aid_to_poum_decision_category
					custom_effect_tooltip = SOV_if_poum_wins_tt
				}

	}
	focus = {
		id = SOV_the_socialist_bulwark
		icon = GFX_goal_generic_war_with_comintern
		cost = 5
		prerequisite = {
			focus = SOV_covert_support_for_spanish_poum
		}
		x = 0
		y = 1
		relative_position_id = SOV_covert_support_for_spanish_poum
			available = {
					has_global_flag = SOV_soviet_civil_war_over
					custom_trigger_tooltip = {
							tooltip = SOV_poum_exists_tt
							SPC = {
									exists = yes
									has_completed_focus = SPR_the_anti_fascist_workers_revolution
								}
						}
				}
			search_filters = {

}
			completion_reward = {
					add_political_power = 75
					add_stability = 0.1
					add_war_support = 0.1
					IF = {
							limit = {
									NOT = {
											has_rule = can_join_factions
										}
								}
							set_rule = {
									can_join_factions = yes
								}
						}
					if = {
							limit = {
									SPR_scw_in_progress = yes
								}
							if = {
									limit = {
											country_exists = SPA
										}
									add_to_war = {
											targeted_alliance = SPC
											enemy = SPA
											hostility_reason = asked_to_join
										}
								}
							if = {
									limit = {
											country_exists = SPC
										}
									add_to_war = {
											targeted_alliance = SPC
											enemy = SPD
											hostility_reason = asked_to_join
										}
								}
							if = {
									limit = {
											country_exists = SPB
										}
									add_to_war = {
											targeted_alliance = SPC
											enemy = SPB
											hostility_reason = asked_to_join
										}
								}
							effect_tooltip = {
									give_military_access = SPC
									SPC = {
											give_military_access = ROOT
										}
								}
							hidden_effect = {
									diplomatic_relation = {
											country = SPC
											relation = military_access
											active = yes
										}
									SPC = {
											diplomatic_relation = {
													country = SOV
													relation = military_access
													active = yes
												}
										}
								}
						}
					else_if = {
							limit = {
									NOT = {
											has_global_flag = scw_over
										}
								}
							custom_effect_tooltip = SOV_the_socialist_bulwark_join_war_tt
						}
					if = {
							limit = {
									is_in_faction = yes
									NOT = {
											is_in_faction_with = SPC
										}
									has_global_flag = scw_over
								}
							SPC = {
									country_event = {
											id = generic.5
											hours = 8
											random_hours = 4
										}
								}
						}
				}

	}
	focus = {
		id = SOV_development_aid_for_eastern_allies
		icon = GFX_goal_generic_construct_civilian
		cost = 5
		prerequisite = {
			focus = SOV_the_comintern
		}
		x = -5
		y = 1
		relative_position_id = SOV_the_comintern
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					any_allied_country = {
							capital_scope = {
									is_on_continent = asia
								}
							is_major = no
						}
					num_of_civilian_factories_available_for_projects > 2
					is_subject = no
				}
			search_filters = {

}
			select_effect = {
					add_ideas = SOV_development_of_eastern_allies
				}
			completion_reward = {
					custom_effect_tooltip = SOV_focus_select_effect_tt
					effect_tooltip = {
							add_ideas = SOV_development_of_eastern_allies
						}
					custom_effect_tooltip = SOV_focus_complete_effect_tt
					every_other_country = {
							limit = {
									is_in_faction_with = ROOT
									capital_scope = {
											is_on_continent = asia
										}
									is_major = no
								}
							country_event = {
									id = NSB_soviet_foreign_politics_events.10
									hours = 2
									random_hours = 1
								}
							custom_effect_tooltip = if_they_accept
							custom_effect_tooltip = SOV_development_aid_for_eastern_allies_tt
						}
					hidden_effect = {
							remove_ideas = SOV_development_of_eastern_allies
						}
				}

	}
	focus = {
		id = SOV_war_measures_in_the_east
		icon = GFX_focus_generic_little_entente
		cost = 5
		prerequisite = {
			focus = SOV_development_aid_for_eastern_allies
		}
		x = -5
		y = 1
		relative_position_id = SOV_development_aid_for_eastern_allies
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					is_subject = no
				}
			search_filters = {

}
			completion_reward = {
					custom_effect_tooltip = SOV_war_measures_scope_tt
					every_other_country = {
							limit = {
									is_in_faction_with = ROOT
									capital_scope = {
											is_on_continent = asia
										}
									is_major = no
								}
							country_event = {
									id = NSB_soviet_foreign_politics_events.11
									hours = 2
									random_hours = 1
								}
							custom_effect_tooltip = if_they_accept
							effect_tooltip = {
									add_timed_idea = {
											idea = SOV_war_measures_allies
											days = 1095
										}
								}
						}
				}

	}
	focus = {
		id = SOV_annex_tannu_tuva
		icon = GFX_focus_generic_treaty
		cost = 5
		prerequisite = {
			focus = SOV_war_measures_in_the_east
		}
		x = -1
		y = 1
		relative_position_id = SOV_war_measures_in_the_east
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					is_subject = no
					is_major = yes
					TAN = {
							is_ai = yes
							OR = {
									is_in_faction_with = SOV
									is_subject = no
								}
						}
				}
			search_filters = { FOCUS_FILTER_ANNEXATION }
			completion_reward = {
					TAN = {
							country_event = {
									id = soviet.14
								}
						}
				}

	}
	focus = {
		id = SOV_far_east_fortification
		icon = GFX_goal_fortify_the_westwall
		cost = 6
		prerequisite = {
			focus = SOV_war_measures_in_the_east
		}
		x = 1
		y = 1
		relative_position_id = SOV_war_measures_in_the_east
			available = {

}
			search_filters = {

}
			completion_reward = {
					563 = {
							if = {
									limit = {
											is_controlled_by = ROOT
										}
									custom_effect_tooltip = SOV_far_east_fortification_forts_4
									hidden_effect = {
											add_building_construction = {
													type = bunker
													level = 1
													province = {
															id = 4719
															id = 12622
														}
													instant_build = yes
												}
											add_building_construction = {
													type = bunker
													level = 2
													province = {
															id = 10559
														}
													instant_build = yes
												}
										}
								}
						}
					561 = {
							if = {
									limit = {
											is_controlled_by = ROOT
										}
									custom_effect_tooltip = SOV_far_east_fortification_forts_4
									hidden_effect = {
											add_building_construction = {
													type = bunker
													level = 1
													province = {
															id = 12543
															id = 7851
															id = 10678
														}
													instant_build = yes
												}
											add_building_construction = {
													type = bunker
													level = 1
													province = {
															id = 12657
														}
													instant_build = yes
												}
										}
								}
						}
					657 = {
							if = {
									limit = {
											is_controlled_by = ROOT
										}
									custom_effect_tooltip = SOV_far_east_fortification_forts_10
									hidden_effect = {
											add_building_construction = {
													type = bunker
													level = 1
													province = {
															id = 10655
															id = 7801
															id = 10722
															id = 7672
														}
													instant_build = yes
												}
											add_building_construction = {
													type = bunker
													level = 2
													province = {
															id = 7763
															id = 4725
															id = 4805
														}
													instant_build = yes
												}
										}
								}
						}
					409 = {
							if = {
									limit = {
											is_controlled_by = ROOT
										}
									custom_effect_tooltip = SOV_far_east_fortification_forts_4
									hidden_effect = {
											add_building_construction = {
													type = bunker
													level = 2
													province = {
															id = 12189
														}
													instant_build = yes
												}
											add_building_construction = {
													type = bunker
													level = 2
													province = {
															id = 10466
														}
													instant_build = yes
												}
										}
								}
						}
					408 = {
							if = {
									limit = {
											is_controlled_by = ROOT
										}
									custom_effect_tooltip = SOV_far_east_fortification_forts_10
									hidden_effect = {
											add_building_construction = {
													type = bunker
													level = 1
													province = {
															id = 11643
															id = 6686
															id = 664
															id = 6684
															id = 3787
															id = 6838
														}
													instant_build = yes
												}
											add_building_construction = {
													type = bunker
													level = 2
													province = {
															id = 3977
															id = 957
														}
													instant_build = yes
												}
										}
								}
						}
				}

	}
	focus = {
		id = SOV_fortify_mongolian_border
		icon = GFX_goal_generic_construct_military
		cost = 5
		prerequisite = {
			focus = SOV_far_east_fortification
		}
		x = 0
		y = 1
		relative_position_id = SOV_far_east_fortification
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					MON = {
							is_in_faction_with = ROOT
							has_full_control_of_state = 330
							has_full_control_of_state = 819
							has_full_control_of_state = 817
							has_full_control_of_state = 818
						}
					is_subject = no
				}
			search_filters = {

}
			completion_reward = {
					MON = {
							country_event = {
									id = NSB_soviet_foreign_politics_events.12
									hours = 2
									random_hours = 1
								}
						}
					custom_effect_tooltip = if_they_accept
					custom_effect_tooltip = SOV_fortify_mongolian_border_forts_tt
				}

	}
	focus = {
		id = SOV_the_threat_from_the_land_of_the_rising_sun
		icon = GFX_focus_attack_japan
		cost = 5
		prerequisite = {
			focus = SOV_development_aid_for_eastern_allies
		}
		mutually_exclusive = {
			focus = SOV_reconcile_japan
		}
		x = 0
		y = 1
		relative_position_id = SOV_development_aid_for_eastern_allies
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					is_subject = no
					surrender_progress < 0.10
					has_stability > 0.50
				}
			search_filters = {

}
			completion_reward = {
					JAP = {
							add_opinion_modifier = {
									target = SOV
									modifier = SOV_supported_china_bad
								}
						}
					every_other_country = {
							limit = {
									SOV_is_free_chinese_tag = yes
								}
							if = {
									limit = {
											ROOT = {
													has_government = communism
												}
										}
									add_timed_idea = {
											idea = SOV_support_in_china_communism
											days = 730
										}
									add_equipment_to_stockpile = {
											type = infantry_equipment_0
											amount = 250
											producer = SOV
										}
								}
							else_if = {
									limit = {
											ROOT = {
													has_government = democratic
												}
										}
									add_timed_idea = {
											idea = SOV_support_in_china_democratic
											days = 730
										}
									add_equipment_to_stockpile = {
											type = infantry_equipment_0
											amount = 250
											producer = SOV
										}
								}
							else_if = {
									limit = {
											ROOT = {
													has_government = fascism
												}
										}
									add_ideas = SOV_support_in_china_fascism
								}
							else_if = {
									limit = {
											ROOT = {
													has_government = neutrality
												}
										}
									add_timed_idea = {
											idea = SOV_support_in_china_neutrality
											days = 730
										}
									add_equipment_to_stockpile = {
											type = infantry_equipment_0
											amount = 250
											producer = SOV
										}
								}
							add_opinion_modifier = {
									target = SOV
									modifier = SOV_supported_china_good
								}
						}
				}

	}
	focus = {
		id = SOV_the_gobi_gambit
		icon = GFX_focus_generic_befriend_sinkiang
		cost = 5
		prerequisite = {
			focus = SOV_the_threat_from_the_land_of_the_rising_sun
		}
		mutually_exclusive = {
			focus = SOV_two_red_flags
			focus = SOV_support_the_kuomintang
		}
		x = -2
		y = 1
		relative_position_id = SOV_the_threat_from_the_land_of_the_rising_sun
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					#SOV controls the states in which railway lines will be built
					controls_state = 405#TASHKENT
					controls_state = 404#KYZYL ORDA
					controls_state = 732#PAMIR
					controls_state = 586#ALMA-ATA
					OR = {
							AND = {
									controls_state = 617#URUMQI
									controls_state = 618#DZUNGARIA
								}
							#Relevant states under Soviet control
							SIK = {
									NOT = {
											has_war_with = ROOT
										}
									controls_state = 617#URUMQI
									controls_state = 618#DZUNGARIA
								}
						}
					#Relevant states under Sinkiang control
					is_subject = no
				}
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					hidden_effect = {
							SOV_approach_sinkiang_diplomacy_effect = yes
							SIK = {
									add_ai_strategy = {
											type = alliance
											id = SOV
											value = 4
										}
								}
						}
					if = {
							limit = {
									controls_state = 617
									controls_state = 618
								}
							build_railway = {
									path = { 1459  10148  10366  12397  12340  12640  7706  12583  4224  1591  10547  10619  12529  7866  1783  10674  4709 }
								}
							586 = {
									add_building_construction = {
											type = supply_node
											level = 1
											province = 1591
											instant_build = yes
										}
								}
							custom_effect_tooltip = SOV_sinkiang_decisions_available_tt
						}
					else = {
							SIK = {
									country_event = {
											id = NSB_soviet_foreign_politics_events.270
											hours = 6
											random_hours = 6
										}
								}
							custom_effect_tooltip = if_they_accept_tt
							effect_tooltip = {
									add_opinion_modifier = {
											target = SIK
											modifier = SOV_complied_with_our_demands
										}
									build_railway = {
											path = { 1459  10148  10366  12397  12340  12640  7706  12583  4224  1591  10547  10619  12529  7866  1783  10674  4709 }
										}
									586 = {
											add_building_construction = {
													type = supply_node
													level = 1
													province = 1591
													instant_build = yes
												}
										}
									custom_effect_tooltip = SOV_sinikiang_influence_cg_tt_sov
									custom_effect_tooltip = SOV_sinkiang_decisions_available_tt
								}
							custom_effect_tooltip = if_they_refuse_tt
							effect_tooltip = {
									add_opinion_modifier = {
											target = SIK
											modifier = SOV_rejected_our_demands
										}
									build_railway = {
											path = { 1459  10148  10366  12397  12340  12640  7706  12583  4224  1591 }
										}
									586 = {
											add_building_construction = {
													type = supply_node
													level = 1
													province = 1591
													instant_build = yes
												}
										}
									custom_effect_tooltip = SOV_sinikiang_influence_refuse_tt
								}
						}
					custom_effect_tooltip = SOV_volunteers_allowed_sinkiang_tt
				}

	}
	focus = {
		id = SOV_two_red_flags
		icon = GFX_focus_chi_cooperation_with_the_communists
		cost = 5
		prerequisite = {
			focus = SOV_the_threat_from_the_land_of_the_rising_sun
		}
		mutually_exclusive = {
			focus = SOV_the_gobi_gambit
			focus = SOV_support_the_kuomintang
		}
		x = 0
		y = 1
		relative_position_id = SOV_the_threat_from_the_land_of_the_rising_sun
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			bypass = {
					OR = {
							NOT = {
									country_exists = PRC
								}
							owns_state = 622
						}
				}
			available = {
					has_government = communism
					NOT = {
							has_war_with = PRC
						}
					is_subject = no
				}
			search_filters = {

}
			completion_reward = {
					PRC = {
							add_opinion_modifier = {
									target = ROOT
									modifier = SOV_cooperating_with_us
								}
							add_relation_modifier = {
									target = ROOT
									modifier = SOV_soviet_chinese_relations
								}
							every_other_country = {
									limit = {
											SOV_is_free_chinese_tag = yes
										}
									add_opinion_modifier = {
											target = ROOT
											modifier = SOV_cooperating_with_other
										}
								}
						}
					activate_targeted_decision = {
							target = PRC
							decision = SOV_send_infantry_equipment_asia
						}
					custom_effect_tooltip = SOV_volunteers_allowed_mao_tt
				}

	}
	focus = {
		id = SOV_support_the_kuomintang
		icon = GFX_focus_chi_cooperation_with_the_nationalists
		cost = 5
		prerequisite = {
			focus = SOV_the_threat_from_the_land_of_the_rising_sun
		}
		mutually_exclusive = {
			focus = SOV_the_gobi_gambit
			focus = SOV_two_red_flags
		}
		x = 2
		y = 1
		relative_position_id = SOV_the_threat_from_the_land_of_the_rising_sun
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			bypass = {
					NOT = {
							country_exists = CHI
						}
				}
			available = {
					NOT = {
							has_completed_focus = SOV_the_left_opposition
						}
					NOT = {
							has_war_with = CHI
						}
					is_subject = no
				}
			search_filters = {

}
			completion_reward = {
					CHI = {
							add_opinion_modifier = {
									target = ROOT
									modifier = SOV_cooperating_with_us
								}
							add_relation_modifier = {
									target = ROOT
									modifier = SOV_soviet_chinese_relations
								}
							every_other_country = {
									limit = {
											SOV_is_free_chinese_tag = yes
										}
									add_opinion_modifier = {
											target = ROOT
											modifier = SOV_cooperating_with_other
										}
								}
						}
					activate_targeted_decision = {
							target = CHI
							decision = SOV_send_infantry_equipment_asia
						}
					custom_effect_tooltip = SOV_volunteers_allowed_kuomintang_tt
				}

	}
	focus = {
		id = SOV_prepare_a_war_with_japan
		icon = GFX_focus_AST_war_japan
		cost = 5
		prerequisite = {
			focus = SOV_the_gobi_gambit
			focus = SOV_two_red_flags
			focus = SOV_support_the_kuomintang
		}
		x = 0
		y = 1
		relative_position_id = SOV_two_red_flags
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			bypass = {
					has_war_with = JAP
				}
			available = {
					NOT = {
							has_country_flag = SOV_paranoia_system_active_flag
						}
					surrender_progress < 0.01
					country_exists = JAP
					NOT = {
							JAP = {
									is_in_faction_with = ROOT
								}
						}
					is_subject = no
				}
			search_filters = {

}
			completion_reward = {
					add_timed_idea = {
							idea = SOV_preparations_for_soviet_japanese_war
							days = 365
						}
					every_country = {
							limit = {
									is_in_faction_with = ROOT
									SOV_is_chinese_tag = yes
									is_in_faction_with = ROOT
								}
							hidden_effect = {
									country_event = NSB_soviet_foreign_politics_events.251
								}
							effect_tooltip = {
									add_timed_idea = {
											idea = SOV_preparations_for_soviet_japanese_war_china
											days = 365
										}
								}
						}
				}

	}
	focus = {
		id = SOV_end_the_khalkhin_gol_conflict
		icon = GFX_goal_generic_occupy_states_ongoing_war
		cost = 5
		prerequisite = {
			focus = SOV_prepare_a_war_with_japan
		}
		mutually_exclusive = {
			focus = SOV_recover_the_kuril_islands
		}
		x = -2
		y = 1
		relative_position_id = SOV_prepare_a_war_with_japan
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					country_exists = JAP
					NOT = {
							is_in_faction_with = JAP
						}
					NOT = {
							has_war_together_with = JAP
						}
					761 = {
							controller = {
									NOT = {
											is_in_faction_with = ROOT
										}
								}
						}
					#Hulunbuir
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			search_filters = {

}
			completion_reward = {
					custom_effect_tooltip = SOV_end_the_khalkhin_gol_conflict_wargoal_tt
					hidden_effect = {
							every_country = {
									limit = {
											OR = {
													tag = JAP
													AND = {
															SOV_is_chinese_tag = yes
															is_in_faction_with = JAP
														}
												}
										}
									ROOT = {
											create_wargoal = {
													type = puppet_wargoal_focus
													target = PREV
												}
										}
								}
						}
					add_state_claim = 761
					if = {
							limit = {
									has_idea = SOV_preparations_for_soviet_japanese_war
								}
							remove_ideas = SOV_preparations_for_soviet_japanese_war
							every_country = {
									limit = {
											is_in_faction_with = ROOT
											has_idea = SOV_preparations_for_soviet_japanese_war_china
										}
									remove_ideas = SOV_preparations_for_soviet_japanese_war_china
								}
						}
					add_timed_idea = {
							idea = SOV_soviet_japanese_reckoning
							days = 180
						}
					every_country = {
							limit = {
									is_in_faction_with = ROOT
									OR = {
											SOV_is_chinese_tag = yes
											capital_scope = {
													is_on_continent = asia
												}
										}
								}
							hidden_effect = {
									country_event = NSB_soviet_foreign_politics_events.252
								}
							effect_tooltip = {
									add_timed_idea = {
											idea = SOV_soviet_japanese_reckoning_china
											days = 180
										}
								}
						}
					if = {
							limit = {
									is_in_faction_with = MON
									612 = {
											controller = {
													NOT = {
															is_in_faction_with = ROOT
														}
												}
										}
								}
							MON = {
									add_state_claim = 612
									add_state_claim = 611
								}
						}
				}

	}
	focus = {
		id = SOV_recover_the_kuril_islands
		icon = GFX_goal_generic_political_pressure
		cost = 5
		prerequisite = {
			focus = SOV_prepare_a_war_with_japan
		}
		mutually_exclusive = {
			focus = SOV_end_the_khalkhin_gol_conflict
		}
		x = 0
		y = 1
		relative_position_id = SOV_prepare_a_war_with_japan
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					country_exists = JAP
					NOT = {
							JAP = {
									is_in_faction_with = ROOT
								}
						}
					JAP = {
							controls_state = 555
						}
					NOT = {
							has_war_with = JAP
						}
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			search_filters = {

}
			completion_reward = {
					create_wargoal = {
							type = take_state_focus
							target = JAP
							expire = 365
							generator = { 537  555 }
						}
					if = {
							limit = {
									has_idea = SOV_preparations_for_soviet_japanese_war
								}
							remove_ideas = SOV_preparations_for_soviet_japanese_war
							every_country = {
									limit = {
											is_in_faction_with = ROOT
											has_idea = SOV_preparations_for_soviet_japanese_war_china
										}
									remove_ideas = SOV_preparations_for_soviet_japanese_war_china
								}
						}
					add_timed_idea = {
							idea = SOV_soviet_japanese_reckoning
							days = 180
						}
					every_country = {
							limit = {
									is_in_faction_with = ROOT
									SOV_is_chinese_tag = yes
									is_in_faction_with = ROOT
								}
							hidden_effect = {
									country_event = NSB_soviet_foreign_politics_events.252
								}
							effect_tooltip = {
									add_timed_idea = {
											idea = SOV_soviet_japanese_reckoning_china
											days = 180
										}
								}
						}
					custom_effect_tooltip = SOV_recover_the_kuril_islands_decisions_tt
				}

	}
	focus = {
		id = SOV_intervention_in_china
		icon = GFX_focus_usa_focus_on_asia
		cost = 6
		prerequisite = {
			focus = SOV_prepare_a_war_with_japan
		}
		x = 2
		y = 1
		relative_position_id = SOV_prepare_a_war_with_japan
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			search_filters = {

}
			completion_reward = {
					custom_effect_tooltip = SOV_intervention_in_china_wargoal_tt
					hidden_effect = {
							every_country = {
									limit = {
											SOV_is_chinese_tag = yes
											exists = yes
											NOT = {
													is_subject_of = ROOT
												}
											NOT = {
													is_in_faction_with = ROOT
												}
										}
									if = {
											limit = {
													tag = SIK
													ROOT = {
															has_completed_focus = SOV_the_gobi_gambit
														}
												}
										}
									else_if = {
											limit = {
													tag = PRC
													ROOT = {
															has_completed_focus = SOV_two_red_flags
														}
												}
										}
									else_if = {
											limit = {
													tag = CHI
													ROOT = {
															has_completed_focus = SOV_support_the_kuomintang
														}
												}
										}
									else = {
											ROOT = {
													create_wargoal = {
															type = puppet_wargoal_focus
															target = PREV
														}
												}
										}
								}
						}
					if = {
							limit = {
									has_completed_focus = SOV_the_gobi_gambit
									country_exists = SIK
								}
							every_state = {
									limit = {
											is_core_of = CHI
										}
									add_core_of = SIK
								}
						}
				}

	}
	focus = {
		id = SOV_reconcile_japan
		icon = GFX_focus_chi_collaboration_with_the_japanese
		cost = 6
		prerequisite = {
			focus = SOV_development_aid_for_eastern_allies
		}
		mutually_exclusive = {
			focus = SOV_the_threat_from_the_land_of_the_rising_sun
		}
		x = 4
		y = 1
		relative_position_id = SOV_development_aid_for_eastern_allies
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			bypass = {
					NOT = {
							country_exists = JAP
						}
				}
			available = {
					NOT = {
							has_war_with = JAP
						}
					NOT = {
							has_country_flag = SOV_paranoia_system_active_flag
						}
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			search_filters = {

}
			completion_reward = {
					JAP = {
							country_event = {
									id = NSB_soviet_foreign_politics_events.262
									hours = 12
									random_hours = 6
								}
							custom_effect_tooltip = if_they_accept
							effect_tooltip = {
									add_opinion_modifier = {
											target = SOV
											modifier = border_conflict_reconciled
										}
									transfer_state = 655
									diplomatic_relation = {
											country = SOV
											relation = non_aggression_pact
											active = yes
										}
								}
						}
				}

	}
	focus = {
		id = SOV_spheres_of_influence_in_china
		icon = GFX_goal_generic_position_armies
		cost = 6
		prerequisite = {
			focus = SOV_reconcile_japan
		}
		x = 0
		y = 1
		relative_position_id = SOV_reconcile_japan
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					NOT = {
							has_country_flag = SOV_paranoia_system_active_flag
						}
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			search_filters = { FOCUS_FILTER_ANNEXATION }
			completion_reward = {
					if = {
							limit = {
									SIK = {
											NOT = {
													has_government = ROOT
												}
										}
								}
							create_wargoal = {
									type = puppet_wargoal_focus
									target = SIK
								}
						}
					else = {
							SIK = {
									country_event = {
											id = NSB_soviet_foreign_politics_events.200
											hours = 6
											random_hours = 2
										}
								}
						}
				}

	}
	focus = {
		id = SOV_soviet_japanese_pact_against_usa_focus
		icon = GFX_goal_generic_military_deal
		cost = 6
		prerequisite = {
			focus = SOV_spheres_of_influence_in_china
		}
		x = 0
		y = 2
		relative_position_id = SOV_spheres_of_influence_in_china
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					NOT = {
							has_country_flag = SOV_paranoia_system_active_flag
						}
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
					country_exists = JAP
					NOT = {
							has_war_with = JAP
						}
					is_subject = no
					JAP = {
							SOV_is_valid_subject = yes
						}
				}
			search_filters = {

}
			completion_reward = {
					JAP = {
							country_event = {
									id = NSB_soviet_foreign_politics_events.263
									hours = 8
									random_hours = 4
								}
						}
					custom_effect_tooltip = if_they_accept
					effect_tooltip = {
							if = {
									limit = {
											JAP = {
													has_war_with = USA
												}
											NOT = {
													SOV = {
															has_war_with = USA
														}
												}
										}
									SOV = {
											add_to_war = {
													targeted_alliance = JAP
													enemy = USA
													hostility_reason = asked_to_join
												}
										}
								}
							else_if = {
									limit = {
											SOV = {
													has_war_with = USA
												}
											NOT = {
													JAP = {
															has_war_with = USA
														}
												}
										}
									JAP = {
											add_to_war = {
													targeted_alliance = SOV
													enemy = USA
													hostility_reason = asked_to_join
												}
										}
								}
							else_if = {
									limit = {
											NOT = {
													SOV = {
															has_war_with = USA
														}
												}
											NOT = {
													JAP = {
															has_war_with = USA
														}
												}
										}
									SOV = {
											declare_war_on = {
													target = USA
													type = annex_everything
												}
										}
									JAP = {
											add_to_war = {
													targeted_alliance = SOV
													enemy = USA
													hostility_reason = asked_to_join
												}
										}
								}
							JAP = {
									if = {
											limit = {
													NOT = {
															has_non_aggression_pact_with = SOV
														}
												}
											diplomatic_relation = {
													country = SOV
													relation = non_aggression_pact
													active = yes
												}
										}
								}
							463 = {
									add_claim_by = SOV
								}
							650 = {
									add_claim_by = SOV
								}
							632 = {
									add_claim_by = JAP
								}
							631 = {
									add_claim_by = JAP
								}
							629 = {
									add_claim_by = JAP
								}
							630 = {
									add_claim_by = JAP
								}
							727 = {
									add_claim_by = JAP
								}
							642 = {
									add_claim_by = JAP
								}
							638 = {
									add_claim_by = JAP
								}
							JAP = {
									add_opinion_modifier = {
											target = SOV
											modifier = SOV_soviet_japanese_pact_against_usa
										}
								}
							SOV = {
									add_timed_idea = {
											idea = SOV_soviet_japanese_anti_usa_pact
											days = 365
										}
								}
							JAP = {
									add_timed_idea = {
											idea = SOV_soviet_japanese_anti_usa_pact
											days = 365
										}
								}
						}
				}

	}
	focus = {
		id = SOV_baltic_security
		icon = GFX_focus_SOV_baltic_security
		cost = 5
		prerequisite = {
			focus = SOV_anti_fascist_policies
		}
		x = -4
		y = 1
		relative_position_id = SOV_anti_fascist_policies
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			bypass = {
					NOT = {
							has_country_flag = SOV_paranoia_system_active_flag
						}
					NOT = {
							country_exists = EST
							country_exists = LAT
							country_exists = LIT
						}
				}
			available = {
					OR = {
							NOT = {
									has_country_flag = SOV_paranoia_system_active_flag
								}
							threat > 0.75
							has_idea = SOV_molotov_ribbentrop_pact
						}
					#TODO_Manu: Change for the inverse, "Political Paranoia has subsided"
					is_subject = no
				}
			search_filters = {

}
			completion_reward = {
					if = {
							limit = {
									country_exists = EST
								}
							EST = {
									if = {
											limit = {
													ROOT = {
															has_government = fascism
														}
												}
											add_timed_idea = {
													idea = fascist_influence
													days = 1095
												}
										}
									if = {
											limit = {
													ROOT = {
															has_government = democratic
														}
												}
											add_timed_idea = {
													idea = democratic_influence
													days = 1095
												}
										}
									if = {
											limit = {
													ROOT = {
															has_government = communism
														}
												}
											add_timed_idea = {
													idea = communist_influence
													days = 1095
												}
										}
									hidden_effect = {
											country_event = {
													id = generic.1
												}
										}
								}
						}
					if = {
							limit = {
									country_exists = LAT
								}
							LAT = {
									if = {
											limit = {
													ROOT = {
															has_government = fascism
														}
												}
											add_timed_idea = {
													idea = fascist_influence
													days = 1095
												}
										}
									if = {
											limit = {
													ROOT = {
															has_government = democratic
														}
												}
											add_timed_idea = {
													idea = democratic_influence
													days = 1095
												}
										}
									if = {
											limit = {
													ROOT = {
															has_government = communism
														}
												}
											add_timed_idea = {
													idea = communist_influence
													days = 1095
												}
										}
									hidden_effect = {
											country_event = {
													id = generic.1
												}
										}
								}
						}
					if = {
							limit = {
									country_exists = LIT
								}
							LIT = {
									if = {
											limit = {
													ROOT = {
															has_government = fascism
														}
												}
											add_timed_idea = {
													idea = fascist_influence
													days = 1095
												}
										}
									if = {
											limit = {
													ROOT = {
															has_government = democratic
														}
												}
											add_timed_idea = {
													idea = democratic_influence
													days = 1095
												}
										}
									if = {
											limit = {
													ROOT = {
															has_government = communism
														}
												}
											add_timed_idea = {
													idea = communist_influence
													days = 1095
												}
										}
									hidden_effect = {
											country_event = {
													id = generic.1
												}
										}
								}
						}
				}

	}
	focus = {
		id = SOV_respect_baltic_self_determination
		icon = GFX_focus_generic_concessions
		cost = 5
		prerequisite = {
			focus = SOV_baltic_security
		}
		mutually_exclusive = {
			focus = SOV_claims_in_baltic
		}
		x = -1
		y = 1
		relative_position_id = SOV_baltic_security
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			bypass = {
					NOT = {
							country_exists = EST
							country_exists = LAT
							country_exists = LIT
						}
				}
			available = {
					OR = {
							NOT = {
									has_country_flag = SOV_paranoia_system_active_flag
								}
							threat > 0.75
							has_idea = SOV_molotov_ribbentrop_pact
						}
					is_subject = no
				}
			search_filters = {

}
			completion_reward = {
					activate_targeted_decision = {
							target = EST
							decision = SOV_promote_ideology_rallies_baltic
						}
					activate_targeted_decision = {
							target = LAT
							decision = SOV_promote_ideology_rallies_baltic
						}
					activate_targeted_decision = {
							target = LIT
							decision = SOV_promote_ideology_rallies_baltic
						}
					activate_targeted_decision = {
							target = EST
							decision = SOV_pressure_country_government_baltic
						}
					activate_targeted_decision = {
							target = LAT
							decision = SOV_pressure_country_government_baltic
						}
					activate_targeted_decision = {
							target = LIT
							decision = SOV_pressure_country_government_baltic
						}
				}

	}
	focus = {
		id = SOV_claims_in_baltic
		icon = GFX_goal_generic_more_territorial_claims
		cost = 6
		prerequisite = {
			focus = SOV_baltic_security
		}
		mutually_exclusive = {
			focus = SOV_respect_baltic_self_determination
		}
		x = 1
		y = 1
		relative_position_id = SOV_baltic_security
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							OR = {
									has_civil_war = yes
									date < 1939.1.1
								}
						}
				}
			available = {
					OR = {
							NOT = {
									has_country_flag = SOV_paranoia_system_active_flag
								}
							threat > 0.75
							has_idea = SOV_molotov_ribbentrop_pact
						}
					is_subject = no
				}
			bypass = {
					all_state = {
							OR = {
									is_core_of = EST
									is_core_of = LAT
									is_core_of = LIT
								}
							NOT = {
									state = 188
								}
							is_controlled_by = ROOT
						}
				}
			search_filters = { FOCUS_FILTER_ANNEXATION }
			completion_reward = {
					custom_effect_tooltip = SOV_estonian_claimed_states_tt
					hidden_effect = {
							EST = {
									every_owned_state = {
											limit = {
													is_core_of = PREV
												}
											ROOT = {
													add_state_claim = PREV
												}
										}
								}
						}
					custom_effect_tooltip = SOV_latvian_claimed_states_tt
					hidden_effect = {
							LAT = {
									every_owned_state = {
											limit = {
													is_core_of = PREV
												}
											ROOT = {
													add_state_claim = PREV
												}
										}
								}
						}
					custom_effect_tooltip = SOV_lithuanian_claimed_states_tt
					hidden_effect = {
							LIT = {
									every_owned_state = {
											limit = {
													is_core_of = PREV
												}
											ROOT = {
													add_state_claim = PREV
												}
										}
								}
						}
					activate_targeted_decision = {
							target = EST
							decision = SOV_send_ultimatum_to_country_baltic
						}
					activate_targeted_decision = {
							target = LAT
							decision = SOV_send_ultimatum_to_country_baltic
						}
					activate_targeted_decision = {
							target = LIT
							decision = SOV_send_ultimatum_to_country_baltic
						}
					add_named_threat = {
							threat = 1
							name = SOV_claims_in_baltic
						}
				}

	}
	focus = {
		id = SOV_secure_leningrad
		icon = GFX_focus_generic_attack_finland
		cost = 6
		prerequisite = {
			focus = SOV_respect_baltic_self_determination
			focus = SOV_claims_in_baltic
		}
		x = 0
		y = 1
		relative_position_id = SOV_respect_baltic_self_determination
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			dynamic = yes
			available = {
					OR = {
							NOT = {
									has_country_flag = SOV_paranoia_system_active_flag
								}
							threat > 0.75
							has_idea = SOV_molotov_ribbentrop_pact
						}
					is_subject = no
				}
			bypass = {
					has_full_control_of_state = 146
				}
			search_filters = { FOCUS_FILTER_ANNEXATION }
			completion_reward = {
					add_state_core = 146
					146 = {
							controller = {
									add_timed_idea = {
											idea = communist_pressure
											days = 365
										}
									country_event = {
											id = finland.1
											hours = 16
											random_hours = 8
										}
								}
						}
				}

	}
	focus = {
		id = SOV_control_scandinavia
		icon = GFX_focus_generic_scandinavia_flags
		cost = 6
		prerequisite = {
			focus = SOV_secure_leningrad
		}
		x = 0
		y = 1
		relative_position_id = SOV_secure_leningrad
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					NOT = {
							has_country_flag = SOV_paranoia_system_active_flag
						}
					is_subject = no
				}
			search_filters = {

}
			completion_reward = {
					if = {
							limit = {
									country_exists = SWE
									SWE = {
											NOT = {
													is_in_faction_with = ROOT
												}
										}
								}
							SWE = {
									add_timed_idea = {
											idea = communist_pressure
											days = 365
										}
									hidden_effect = {
											country_event = {
													id = generic.1
												}
										}
								}
						}
					if = {
							limit = {
									country_exists = NOR
									NOR = {
											NOT = {
													is_in_faction_with = ROOT
												}
										}
								}
							NOR = {
									add_timed_idea = {
											idea = communist_pressure
											days = 365
										}
									hidden_effect = {
											country_event = {
													id = generic.1
												}
										}
								}
						}
					if = {
							limit = {
									country_exists = DEN
									DEN = {
											NOT = {
													is_in_faction_with = ROOT
												}
										}
								}
							DEN = {
									add_timed_idea = {
											idea = communist_pressure
											days = 365
										}
									hidden_effect = {
											country_event = {
													id = generic.1
												}
										}
								}
						}
					if = {
							limit = {
									country_exists = KAR
								}
							hidden_effect = {
									country_event = {
											id = generic.1
										}
								}
						}
					custom_effect_tooltip = SOV_control_scandinavia_decisions_tt
					hidden_effect = {
							activate_targeted_decision = {
									target = FIN
									decision = SOV_promote_ideology_rallies_nordic
								}
							activate_targeted_decision = {
									target = SWE
									decision = SOV_promote_ideology_rallies_nordic
								}
							activate_targeted_decision = {
									target = NOR
									decision = SOV_promote_ideology_rallies_nordic
								}
							activate_targeted_decision = {
									target = DEN
									decision = SOV_promote_ideology_rallies_nordic
								}
							activate_targeted_decision = {
									target = FIN
									decision = SOV_pressure_country_government_nordic
								}
							activate_targeted_decision = {
									target = SWE
									decision = SOV_pressure_country_government_nordic
								}
							activate_targeted_decision = {
									target = NOR
									decision = SOV_pressure_country_government_nordic
								}
							activate_targeted_decision = {
									target = DEN
									decision = SOV_pressure_country_government_nordic
								}
						}
				}

	}
	focus = {
		id = SOV_claims_on_poland
		icon = GFX_goal_generic_occupy_states_ongoing_war
		cost = 6
		prerequisite = {
			focus = SOV_respect_baltic_self_determination
			focus = SOV_claims_in_baltic
		}
		x = 0
		y = 1
		relative_position_id = SOV_claims_in_baltic
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			ai_will_do = {
					factor = 10
					modifier = {
							factor = 0
							date < 1939.1.1
						}
					modifier = {
							factor = 200
							GER = {
									has_government = democratic
								}
						}
				}
			available = {
					NOT = {
							has_country_flag = SOV_paranoia_system_active_flag
						}
					is_subject = no
				}
			bypass = {
					OR = {
							has_idea = SOV_molotov_ribbentrop_pact
							NOT = {
									country_exists = POL
								}
							has_non_aggression_pact_with = POL
							has_guaranteed = POL
							AND = {
									OR = {
											owns_state = 91
											91 = {
													is_claimed_by = ROOT
												}
										}
									OR = {
											owns_state = 93
											93 = {
													is_claimed_by = ROOT
												}
										}
									OR = {
											owns_state = 94
											94 = {
													is_claimed_by = ROOT
												}
										}
									OR = {
											owns_state = 95
											95 = {
													is_claimed_by = ROOT
												}
										}
									OR = {
											owns_state = 96
											96 = {
													is_claimed_by = ROOT
												}
										}
									OR = {
											owns_state = 89
											89 = {
													is_claimed_by = ROOT
												}
										}
									OR = {
											owns_state = 784
											784 = {
													is_claimed_by = ROOT
												}
										}
								}
						}
				}
			search_filters = { FOCUS_FILTER_ANNEXATION }
			completion_reward = {
					add_state_claim = 96
					add_state_claim = 95
					add_state_claim = 94
					add_state_claim = 93
					add_state_claim = 91
					add_state_claim = 89
					add_state_claim = 784
					add_named_threat = {
							threat = 3
							name = SOV_claims_on_poland
						}
					every_other_country = {
							limit = {
									OR = {
											owns_state = 96
											owns_state = 95
											owns_state = 94
											owns_state = 93
											owns_state = 91
											owns_state = 89
											owns_state = 784
										}
								}
							add_opinion_modifier = {
									target = SOV
									modifier = claimed_eastern_poland
								}
						}
				}

	}
	focus = {
		id = SOV_demand_eastern_poland
		icon = GFX_goal_generic_attack_allies
		cost = 6
		prerequisite = {
			focus = SOV_claims_on_poland
		}
		mutually_exclusive = {
			focus = SOV_offer_poland_protection
		}
		x = 0
		y = 1
		relative_position_id = SOV_claims_on_poland
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			ai_will_do = {
					factor = 10
					modifier = {
							factor = 0
							date < 1939.1.1
						}
					modifier = {
							factor = 0.5
							ai_irrationality > 20
						}
					modifier = {
							factor = 0.5
							ai_irrationality > 25
						}
					modifier = {
							factor = 0.5
							ai_irrationality > 30
						}
					modifier = {
							factor = 0.1
							ai_irrationality > 35
						}
				}
			available = {
					NOT = {
							has_country_flag = SOV_paranoia_system_active_flag
						}
					is_subject = no
					NOT = {
							is_in_faction_with = POL
						}
					NOT = {
							has_non_aggression_pact_with = POL
						}
					NOT = {
							has_guaranteed = POL
						}
					NOT = {
							has_war_with = POL
						}
					OR = {
							96 = {
									is_owned_and_controlled_by = POL
								}
							95 = {
									is_owned_and_controlled_by = POL
								}
							94 = {
									is_owned_and_controlled_by = POL
								}
							93 = {
									is_owned_and_controlled_by = POL
								}
							91 = {
									is_owned_and_controlled_by = POL
								}
							89 = {
									is_owned_and_controlled_by = POL
								}
							784 = {
									is_owned_and_controlled_by = POL
								}
						}
				}
			search_filters = { FOCUS_FILTER_ANNEXATION }
			completion_reward = {
					POL = {
							country_event = {
									id = poland.2
								}
							custom_effect_tooltip = needs_approval
						}
					effect_tooltip = {
							SOV = {
									if = {
											limit = {
													POL = {
															owns_state = 96
															controls_state = 96
														}
												}
											transfer_state = 96
										}
									if = {
											limit = {
													POL = {
															owns_state = 95
															controls_state = 95
														}
												}
											transfer_state = 95
										}
									if = {
											limit = {
													POL = {
															owns_state = 94
															controls_state = 94
														}
												}
											transfer_state = 94
										}
									if = {
											limit = {
													POL = {
															owns_state = 93
															controls_state = 93
														}
												}
											transfer_state = 93
										}
									if = {
											limit = {
													POL = {
															owns_state = 91
															controls_state = 91
														}
												}
											transfer_state = 91
										}
									if = {
											limit = {
													POL = {
															owns_state = 89
															controls_state = 89
														}
												}
											transfer_state = 89
										}
									if = {
											limit = {
													POL = {
															owns_state = 784
															controls_state = 784
														}
												}
											transfer_state = 784
										}
								}
						}
				}

	}
	focus = {
		id = SOV_demand_balkan_submission
		icon = GFX_focus_generic_balkans_focus
		cost = 6
		prerequisite = {
			focus = SOV_anti_fascist_policies
		}
		mutually_exclusive = {
			focus = SOV_seek_balkan_cooperation
		}
		x = -2
		y = 1
		relative_position_id = SOV_anti_fascist_policies
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					OR = {
							NOT = {
									has_country_flag = SOV_paranoia_system_active_flag
								}
							threat > 0.75
							has_idea = SOV_molotov_ribbentrop_pact
						}
					any_other_country = {
							BUL_is_balkan_nation = yes
						}
					is_subject = no
				}
			search_filters = {

}
			completion_reward = {
					every_other_country = {
							limit = {
									BUL_is_balkan_nation = yes
								}
							add_timed_idea = {
									idea = communist_pressure
									days = 365
								}
							hidden_effect = {
									country_event = {
											id = generic.1
										}
								}
						}
					custom_effect_tooltip = SOV_demand_balkan_submission_decisions_tt
					hidden_effect = {
							activate_targeted_decision = {
									target = ROM
									decision = SOV_send_ultimatum_to_country_balkan
								}
							activate_targeted_decision = {
									target = BUL
									decision = SOV_send_ultimatum_to_country_balkan
								}
							activate_targeted_decision = {
									target = GRE
									decision = SOV_send_ultimatum_to_country_balkan
								}
							activate_targeted_decision = {
									target = YUG
									decision = SOV_send_ultimatum_to_country_balkan
								}
							activate_targeted_decision = {
									target = TUR
									decision = SOV_send_ultimatum_to_country_balkan
								}
						}
				}

	}
	focus = {
		id = SOV_seek_balkan_cooperation
		icon = GFX_focus_BUL_free_balkan_states
		cost = 6
		prerequisite = {
			focus = SOV_anti_fascist_policies
		}
		mutually_exclusive = {
			focus = SOV_demand_balkan_submission
		}
		x = 0
		y = 1
		relative_position_id = SOV_anti_fascist_policies
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					OR = {
							NOT = {
									has_country_flag = SOV_paranoia_system_active_flag
								}
							threat > 0.75
							has_idea = SOV_molotov_ribbentrop_pact
						}
					any_other_country = {
							BUL_is_balkan_nation = yes
						}
					is_subject = no
				}
			search_filters = {

}
			completion_reward = {
					every_other_country = {
							limit = {
									BUL_is_balkan_nation = yes
								}
							add_timed_idea = {
									idea = communist_pressure
									days = 365
								}
							hidden_effect = {
									country_event = {
											id = generic.1
										}
								}
						}
					custom_effect_tooltip = SOV_seek_balkan_cooperation_decisions_tt
					hidden_effect = {
							activate_targeted_decision = {
									target = ROM
									decision = SOV_pressure_country_government_balkan
								}
							activate_targeted_decision = {
									target = BUL
									decision = SOV_pressure_country_government_balkan
								}
							activate_targeted_decision = {
									target = GRE
									decision = SOV_pressure_country_government_balkan
								}
							activate_targeted_decision = {
									target = YUG
									decision = SOV_pressure_country_government_balkan
								}
							activate_targeted_decision = {
									target = TUR
									decision = SOV_pressure_country_government_balkan
								}
							activate_targeted_decision = {
									target = ROM
									decision = SOV_promote_ideology_rallies_balkan
								}
							activate_targeted_decision = {
									target = BUL
									decision = SOV_promote_ideology_rallies_balkan
								}
							activate_targeted_decision = {
									target = GRE
									decision = SOV_promote_ideology_rallies_balkan
								}
							activate_targeted_decision = {
									target = YUG
									decision = SOV_promote_ideology_rallies_balkan
								}
							activate_targeted_decision = {
									target = TUR
									decision = SOV_promote_ideology_rallies_balkan
								}
						}
				}

	}
	focus = {
		id = SOV_claim_on_bessarabia
		icon = GFX_focus_generic_attack_romania
		cost = 6
		prerequisite = {
			focus = SOV_demand_balkan_submission
			focus = SOV_seek_balkan_cooperation
		}
		x = -1
		y = 1
		relative_position_id = SOV_seek_balkan_cooperation
			ai_will_do = {
					factor = 2.5
					modifier = {
							factor = 0
							OR = {
									date < 1939.1.1
									has_civil_war = yes
								}
						}
					modifier = {
							factor = 200
							GER = {
									has_government = democratic
								}
						}
				}
			available = {
					OR = {
							NOT = {
									has_country_flag = SOV_paranoia_system_active_flag
								}
							threat > 0.75
							has_idea = SOV_molotov_ribbentrop_pact
						}
					is_subject = no
				}
			bypass = {
					OR = {
							owns_state = 78#Bessarabia
							78 = {
									owner = {
											is_in_faction_with = ROOT
										}
								}
						}
					OR = {
							owns_state = 80#Bucovina
							80 = {
									owner = {
											is_in_faction_with = ROOT
										}
								}
						}
					OR = {
							owns_state = 766#Southern Bessarabia
							766 = {
									owner = {
											is_in_faction_with = ROOT
										}
								}
						}
				}
			search_filters = { FOCUS_FILTER_ANNEXATION }
			completion_reward = {
					if = {
							limit = {
									78 = {
											OWNER = {
													NOT = {
															is_in_faction_with = ROOT
														}
												}
										}
								}
							add_state_claim = 78
						}
					if = {
							limit = {
									766 = {
											OWNER = {
													NOT = {
															is_in_faction_with = ROOT
														}
												}
										}
								}
							add_state_claim = 766
						}
					if = {
							limit = {
									80 = {
											OWNER = {
													NOT = {
															is_in_faction_with = ROOT
														}
												}
										}
								}
							add_state_claim = 80
						}
					add_named_threat = {
							threat = 1
							name = SOV_claim_on_bessarabia
						}
					random_other_country = {
							limit = {
									owns_state = 78
								}
							add_opinion_modifier = {
									target = SOV
									modifier = claimed_bessarabia
								}
							set_country_flag = SOV_added_claimed_bessarabia
							country_event = {
									id = romania.1
									hours = 16
									random_hours = 8
								}
						}
					if = {
							limit = {
									any_other_country = {
											owns_state = 78
											NOT = {
													owns_state = 80
												}
										}
								}
							random_other_country = {
									limit = {
											owns_state = 80
											NOT = {
													has_country_flag = SOV_added_claimed_bessarabia
												}
										}
									add_opinion_modifier = {
											target = SOV
											modifier = claimed_bucovina
										}
									country_event = {
											id = romania.1
											hours = 16
											random_hours = 8
										}
								}
						}
					if = {
							limit = {
									AND = {
											any_other_country = {
													owns_state = 78
													NOT = {
															owns_state = 766
														}
												}
											any_other_country = {
													owns_state = 80
													NOT = {
															owns_state = 766
														}
												}
										}
								}
							random_other_country = {
									limit = {
											owns_state = 766
											NOT = {
													has_country_flag = SOV_added_claimed_bessarabia
												}
										}
									add_opinion_modifier = {
											target = SOV
											modifier = claimed_bucovina
										}
									country_event = {
											id = romania.1
											hours = 16
											random_hours = 8
										}
								}
						}
				}

	}
	focus = {
		id = SOV_offer_poland_protection
		icon = GFX_focus_generic_polish_deal
		cost = 6
		prerequisite = {
			focus = SOV_claims_on_poland
		}
		mutually_exclusive = {
			focus = SOV_demand_eastern_poland
		}
		x = 2
		y = 1
		relative_position_id = SOV_claims_on_poland
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			ai_will_do = {
					factor = 10
					modifier = {
							factor = 0
							date < 1939.1.1
						}
					modifier = {
							factor = 0.5
							ai_irrationality < 24
						}
					modifier = {
							factor = 0.5
							ai_irrationality < 20
						}
					modifier = {
							factor = 0.5
							ai_irrationality < 15
						}
					modifier = {
							factor = 0.1
							ai_irrationality < 10
						}
				}
			available = {
					NOT = {
							has_country_flag = SOV_paranoia_system_active_flag
						}
					country_exists = POL
					NOT = {
							has_war_with = POL
						}
					POL = {
							SOV_is_valid_subject = yes
							has_capitulated = no
						}
					is_subject = no
				}
			search_filters = { FOCUS_FILTER_ANNEXATION }
			completion_reward = {
					POL = {
							country_event = {
									id = poland.5
								}
							custom_effect_tooltip = needs_approval
							effect_tooltip = {
									add_state_claim = 5
									add_state_claim = 63
									add_state_claim = 68
									add_state_claim = 66
									add_state_claim = 67
									custom_effect_tooltip = SOV_offer_poland_protection_tt
								}
						}
					effect_tooltip = {
							SOV = {
									if = {
											limit = {
													POL = {
															owns_state = 96
															controls_state = 96
														}
												}
											transfer_state = 96
										}
									if = {
											limit = {
													POL = {
															owns_state = 95
															controls_state = 95
														}
												}
											transfer_state = 95
										}
									if = {
											limit = {
													POL = {
															owns_state = 94
															controls_state = 94
														}
												}
											transfer_state = 94
										}
									if = {
											limit = {
													POL = {
															owns_state = 93
															controls_state = 93
														}
												}
											transfer_state = 93
										}
									if = {
											limit = {
													POL = {
															owns_state = 91
															controls_state = 91
														}
												}
											transfer_state = 91
										}
									if = {
											limit = {
													POL = {
															owns_state = 89
															controls_state = 89
														}
												}
											transfer_state = 89
										}
									if = {
											limit = {
													POL = {
															owns_state = 784
															controls_state = 784
														}
												}
											transfer_state = 784
										}
								}
						}
				}

	}
	focus = {
		id = SOV_policy_of_collective_security
		icon = GFX_goal_anschluss
		cost = 5
		prerequisite = {
			focus = SOV_anti_fascist_policies
		}
		x = 2
		y = 1
		relative_position_id = SOV_anti_fascist_policies
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {

}
			search_filters = { FOCUS_FILTER_POLITICAL }
			completion_reward = {
					add_political_power = 35
					custom_effect_tooltip = available_political_advisor
					show_ideas_tooltip = SOV_maksim_litvinov
				}

	}
	focus = {
		id = SOV_seek_a_defense_pact_with_the_allies
		icon = GFX_goal_generic_major_alliance
		cost = 5
		prerequisite = {
			focus = SOV_policy_of_collective_security
		}
		mutually_exclusive = {
			focus = SOV_approach_germany
		}
		x = 0
		y = 2
		relative_position_id = SOV_policy_of_collective_security
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			bypass = {
					OR = {
							NOT = {
									country_exists = FRA
								}
							FRA = {
									has_capitulated = yes
								}
						}
					NOT = {
							any_other_country = {
									is_faction_leader = yes
									SOV_is_valid_collective_security_target = yes
								}
						}
				}
			available = {
					NOT = {
							has_country_flag = SOV_paranoia_system_active_flag
						}
				    has_war = no
					is_subject = no
					num_of_factories > 160
					FRA = {	  has_war = no is_subject = no }
					ENG = {	  has_war = no is_subject = no }
				}
			search_filters = {

}
			completion_reward = {
					if = {
							limit = {
									country_exists = FRA
									FRA = {
											SOV_is_valid_collective_security_target = yes
										}
								}
							set_variable = {
									SOV_collective_security_target = FRA
								}
							FRA = {
									country_event = {
											id = NSB_soviet_policies_of_collective_security.1
											hours = 8
											random_hours = 4
										}
								}
						}
					else_if = {
							limit = {
									country_exists = ENG
									is_faction_leader = yes
									ENG = {
											SOV_is_valid_collective_security_target = yes
										}
								}
							set_variable = {
									SOV_collective_security_target = FRA
								}
							ENG = {
									country_event = {
											id = NSB_soviet_policies_of_collective_security.1
											hours = 8
											random_hours = 4
										}
								}
						}
					else_if = {
							limit = {
									any_country = {
											is_faction_leader = yes
											capital_scope = {
													is_on_continent = europe
												}
											SOV_is_valid_collective_security_target = yes
										}
								}
							random_other_country = {
									limit = {
											is_faction_leader = yes
											capital_scope = {
													is_on_continent = europe
												}
											SOV_is_valid_collective_security_target = yes
										}
									ROOT = {
											set_variable = {
													SOV_collective_security_target = PREV
												}
										}
									country_event = {
											id = NSB_soviet_policies_of_collective_security.1
											hours = 8
											random_hours = 4
										}
								}
						}
					else_if = {
							limit = {
									any_other_country = {
											is_faction_leader = yes
											SOV_is_valid_collective_security_target = yes
										}
								}
							random_other_country = {
									limit = {
											is_faction_leader = yes
											SOV_is_valid_collective_security_target = yes
										}
									ROOT = {
											set_variable = {
													SOV_collective_security_target = PREV
												}
										}
									country_event = {
											id = NSB_soviet_policies_of_collective_security.1
											hours = 8
											random_hours = 4
										}
								}
						}
					custom_effect_tooltip = SOV_seek_a_defense_pact_with_the_allies_event_effects_tt
					if = {
							limit = {
									country_exists = POL
									POL = {
											SOV_is_valid_collective_security_target = yes
										}
									var:SOV_collective_security_target = {
											capital_scope = {
													is_on_continent = europe
												}
										}
								}
							custom_effect_tooltip = SOV_seek_a_defense_pact_with_the_allies_poland_tt
						}
				}

	}
	focus = {
		id = SOV_eradicate_western_fascism
		icon = GFX_focus_generic_strike_at_democracy1
		cost = 15
		prerequisite = {
			focus = SOV_seek_a_defense_pact_with_the_allies
		}
		x = 0
		y = 1
		relative_position_id = SOV_seek_a_defense_pact_with_the_allies
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					NOT = {
							has_country_flag = SOV_paranoia_system_active_flag
						}
					any_country = {
							OR = {
									tag = ENG
									tag = FRA
									tag = GER
									tag = ITA
								}
							has_government = fascism
							is_major = yes
						}
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			search_filters = {

}
			completion_reward = {
					add_timed_idea = {
							idea = SOV_face_western_fascism_ns
							days = 365
						}
					if = {
							limit = {
									ENG = {
											has_government = fascism
										}
								}
							hidden_effect = {
									add_ideas = SOV_targeted_bonus_against_ENG
								}
							create_wargoal = {
									type = puppet_wargoal_focus
									target = ENG
								}
						}
					if = {
							limit = {
									FRA = {
											has_government = fascism
										}
								}
							hidden_effect = {
									add_ideas = SOV_targeted_bonus_against_FRA
								}
							create_wargoal = {
									type = puppet_wargoal_focus
									target = FRA
								}
						}
					if = {
							limit = {
									GER = {
											has_government = fascism
										}
								}
							hidden_effect = {
									add_ideas = SOV_targeted_bonus_against_GER
								}
							create_wargoal = {
									type = puppet_wargoal_focus
									target = GER
								}
						}
					if = {
							limit = {
									ITA = {
											has_government = fascism
										}
								}
							hidden_effect = {
									add_ideas = SOV_targeted_bonus_against_ITA
								}
							create_wargoal = {
									type = puppet_wargoal_focus
									target = ITA
								}
						}
				}

	}
	focus = {
		id = SOV_anti_capitalist_policies
		icon = GFX_focus_spr_class_war
		cost = 5
		prerequisite = {
			focus = SOV_anti_fascist_policies
		}
		x = 6
		y = 1
		relative_position_id = SOV_anti_fascist_policies
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					NOT = {
							has_government = democratic
						}
					OR = {
							NOT = {
									has_country_flag = SOV_paranoia_system_active_flag
								}
							threat > 0.50
							has_idea = SOV_molotov_ribbentrop_pact
						}
					is_subject = no
				}
			search_filters = { FOCUS_FILTER_PROPAGANDA }
			completion_reward = {
					every_other_country = {
							limit = {
									is_major = yes
									OR = {
											has_government = fascism
											has_government = communism
										}
									NOT = {
											has_war_with = ROOT
										}
								}
							add_opinion_modifier = {
									target = SOV
									modifier = SOV_anti_capitalist_policies_good
								}
						}
					every_other_country = {
							limit = {
									is_major = yes
									has_government = democratic
								}
							add_opinion_modifier = {
									target = SOV
									modifier = SOV_anti_capitalist_policies_bad
								}
						}
					if = {
							limit = {
									has_government = communism
								}
							custom_effect_tooltip = unlock_propaganda_campaign_tt
							unlock_decision_tooltip = SOV_propaganda_anti_capitalism
							custom_effect_tooltip = propaganda_campaign_requirement_tt
						}
				}

	}
	focus = {
		id = SOV_policy_of_individual_security
		icon = GFX_goal_generic_defence
		cost = 5
		prerequisite = {
			focus = SOV_anti_capitalist_policies
		}
		x = -2
		y = 1
		relative_position_id = SOV_anti_capitalist_policies
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					OR = {
							NOT = {
									has_country_flag = SOV_paranoia_system_active_flag
								}
							threat > 0.50
							has_idea = SOV_molotov_ribbentrop_pact
						}
					is_subject = no
				}
			search_filters = { FOCUS_FILTER_POLITICAL }
			completion_reward = {
					add_political_power = 35
					custom_effect_tooltip = available_political_advisor
					show_ideas_tooltip = SOV_vyacheslav_molotov
				}

	}
	focus = {
		id = SOV_approach_germany
		icon = GFX_goal_molotov_ribbentrop_pact
		cost = 5
		prerequisite = {
			focus = SOV_policy_of_individual_security
		}
		mutually_exclusive = {
			focus = SOV_seek_a_defense_pact_with_the_allies
		}
		x = 0
		y = 1
		relative_position_id = SOV_policy_of_individual_security
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					OR = {
							NOT = {
									has_country_flag = SOV_paranoia_system_active_flag
								}
							threat > 0.75
							has_idea = SOV_molotov_ribbentrop_pact
						}
					country_exists = GER
					GER = {
							SOV_is_valid_subject = yes
						}
					NOT = {
							has_war_with = GER
						}
					is_subject = no
				}
			bypass = {
					NOT = {
							country_exists = GER
						}
				}
			search_filters = {

}
			completion_reward = {
					GER = {
							country_event = {
									id = NSB_soviet_soviet_german_trade_agreement.1
									hours = 1
								}
						}
					custom_effect_tooltip = if_they_accept
					effect_tooltip = {
							if = {
									limit = {
											has_dlc = "Man the Guns"
										}
									if = {
											limit = {
													NOT = {
															has_tech = basic_ship_hull_cruiser
														}
												}
											set_technology = {
													basic_ship_hull_cruiser = 1
												}
										}
									if = {
											limit = {
													NOT = {
															has_tech = basic_cruiser_armor_scheme
														}
												}
											set_technology = {
													basic_cruiser_armor_scheme = 1
												}
										}
									if = {
											limit = {
													has_tech = basic_medium_battery
												}
											create_equipment_variant = {
													name = "Hipper Class"
													type = ship_hull_cruiser_2
													name_group = SOV_CA_HISTORICAL
													parent_version = 0
													modules = {
															fixed_ship_battery_slot = ship_medium_battery_2
															fixed_ship_anti_air_slot = ship_anti_air_1
															fixed_ship_fire_control_system_slot = ship_fire_control_system_0
															fixed_ship_radar_slot = empty
															fixed_ship_engine_slot = cruiser_ship_engine_1
															fixed_ship_secondaries_slot = empty
															fixed_ship_armor_slot = ship_armor_cruiser_2
															front_1_custom_slot = ship_anti_air_1
															mid_1_custom_slot = ship_torpedo_1
															mid_2_custom_slot = ship_airplane_launcher_1
															rear_1_custom_slot = ship_medium_battery_2
														}
												}
										}
									else = {
											create_equipment_variant = {
													name = "Hipper Class"
													type = ship_hull_cruiser_2
													name_group = SOV_CA_HISTORICAL
													parent_version = 0
													modules = {
															fixed_ship_battery_slot = ship_medium_battery_1
															fixed_ship_anti_air_slot = ship_anti_air_1
															fixed_ship_fire_control_system_slot = ship_fire_control_system_0
															fixed_ship_radar_slot = empty
															fixed_ship_engine_slot = cruiser_ship_engine_1
															fixed_ship_secondaries_slot = empty
															fixed_ship_armor_slot = ship_armor_cruiser_2
															front_1_custom_slot = ship_anti_air_1
															mid_1_custom_slot = ship_torpedo_1
															mid_2_custom_slot = ship_airplane_launcher_1
															rear_1_custom_slot = ship_medium_battery_1
														}
												}
										}
									add_equipment_production = {
											equipment = {
													type = ship_hull_cruiser_2
													creator = "SOV"
													version_name = "Hipper Class"
												}
											name = "Petropavlovsk"
											requested_factories = 1
											progress = 0.5
											amount = 1
										}
									if = {
											limit = {
													has_government = communism
												}
											add_tech_bonus = {
													name = NSB_soviet_soviet_german_trade_agreement_tech_bonus_name
													bonus = 0.5
													uses = 1
													category = ship_modules_tech
													category = bb_tech
													category = dd_tech
												}
										}
									else = {
											add_tech_bonus = {
													name = NSB_soviet_soviet_german_trade_agreement_tech_bonus_name_alt
													bonus = 0.5
													uses = 1
													category = ship_modules_tech
													category = bb_tech
													category = dd_tech
												}
										}
								}
							else = {
									if = {
											limit = {
													NOT = {
															has_tech = basic_heavy_cruiser
														}
												}
											set_technology = {
													basic_heavy_cruiser = 1
												}
										}
									create_equipment_variant = {
											name = "Hipper Class"
											type = heavy_cruiser_2
											parent_version = 0
											upgrades = {
													ship_reliability_upgrade = 1
													ship_engine_upgrade = 1
													ship_armor_upgrade = 2
													ship_gun_upgrade = 2
												}
										}
									add_equipment_production = {
											equipment = {
													type = heavy_cruiser_2
													creator = "SOV"
												}
											requested_factories = 1
											progress = 0.5
											amount = 1
										}
									if = {
											limit = {
													has_government = communism
												}
											add_tech_bonus = {
													name = NSB_soviet_soviet_german_trade_agreement_tech_bonus_name
													bonus = 0.5
													uses = 1
													category = ca_tech
													category = bb_tech
													category = dd_tech
												}
										}
									else = {
											add_tech_bonus = {
													name = NSB_soviet_soviet_german_trade_agreement_tech_bonus_name_alt
													bonus = 0.5
													uses = 1
													category = ca_tech
													category = bb_tech
													category = dd_tech
												}
										}
								}
							if = {
									limit = {
											has_government = communism
										}
									add_tech_bonus = {
											name = NSB_soviet_soviet_german_trade_agreement_tech_bonus_name
											bonus = 0.5
											uses = 1
											category = air_equipment
										}
								}
							else = {
									add_tech_bonus = {
											name = NSB_soviet_soviet_german_trade_agreement_tech_bonus_name_alt
											bonus = 0.5
											uses = 1
											category = air_equipment
										}
								}
							GER = {
									add_timed_idea = {
											idea = SOV_soviet_german_trade_agreement
											days = 545
										}
									capital_scope = {
											add_dynamic_modifier = {
													modifier = SOV_soviet_imports
												}
										}
								}
							add_opinion_modifier = {
									target = GER
									modifier = SOV_strengthened_relations_with_us
								}
							GER = {
									add_opinion_modifier = {
											target = ROOT
											modifier = SOV_strengthened_relations_with_us
										}
								}
						}
				}

	}
	focus = {
		id = SOV_liberation_of_the_european_proletariat
		icon = GFX_focus_spr_torchbearers_of_tomorrow
		cost = 15
		prerequisite = {
			focus = SOV_approach_germany
		}
		x = 0
		y = 1
		relative_position_id = SOV_approach_germany
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					NOT = {
							has_country_flag = SOV_paranoia_system_active_flag
						}
					any_country = {
							OR = {
									tag = ENG
									tag = FRA
									tag = GER
									tag = ITA
								}
							has_government = democratic
							is_major = yes
							is_subject = no
						}
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			search_filters = {

}
			completion_reward = {
					add_timed_idea = {
							idea = SOV_liberation_of_the_european_proletariat_ns
							days = 365
						}
					if = {
							limit = {
									ENG = {
											has_government = democratic
										}
								}
							hidden_effect = {
									add_ideas = SOV_targeted_bonus_against_ENG
								}
							create_wargoal = {
									type = puppet_wargoal_focus
									target = ENG
								}
						}
					if = {
							limit = {
									FRA = {
											has_government = democratic
										}
								}
							hidden_effect = {
									add_ideas = SOV_targeted_bonus_against_FRA
								}
							create_wargoal = {
									type = puppet_wargoal_focus
									target = FRA
								}
						}
					if = {
							limit = {
									GER = {
											has_government = democratic
										}
								}
							hidden_effect = {
									add_ideas = SOV_targeted_bonus_against_GER
								}
							create_wargoal = {
									type = puppet_wargoal_focus
									target = GER
								}
						}
					if = {
							limit = {
									ITA = {
											has_government = democratic
										}
								}
							hidden_effect = {
									add_ideas = SOV_targeted_bonus_against_ITA
								}
							create_wargoal = {
									type = puppet_wargoal_focus
									target = ITA
								}
						}
				}

	}
	focus = {
		id = SOV_the_khakimov_proposal
		icon = GFX_focus_generic_befriend_saudi_arabia
		cost = 5
		prerequisite = {
			focus = SOV_anti_capitalist_policies
		}
		x = 0
		y = 1
		relative_position_id = SOV_anti_capitalist_policies
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					is_subject = no
					country_exists = SAU
					NOT = {
							has_war_with = SAU
						}
				}
			search_filters = {

}
			completion_reward = {
					SAU = {
							add_ideas = SOV_ambassador_karim_khakimov
							add_opinion_modifier = {
									target = SOV
									modifier = SOV_cordial_relations_developed_by_soviet_diplomat
								}
							hidden_effect = {
									country_event = {
											id = NSB_soviet_foreign_politics_events.211
											hours = 8
											random_hours = 4
										}
								}
						}
					activate_targeted_decision = {
							target = SAU
							decision = SOV_pressure_country_government_middle_east
						}
					activate_targeted_decision = {
							target = SAU
							decision = SOV_promote_ideology_rallies_middle_east
						}
				}

	}
	focus = {
		id = SOV_recover_alaska
		icon = GFX_focus_SOV_recover_alaska
		cost = 6
		prerequisite = {
			focus = SOV_approach_germany
		}
		x = 2
		y = 1
		relative_position_id = SOV_approach_germany
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					NOT = {
							has_country_flag = SOV_paranoia_system_active_flag
						}
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			bypass = {
					463 = {
							is_owned_by = ROOT
						}
					650 = {
							is_owned_by = ROOT
						}
				}
			search_filters = { FOCUS_FILTER_ANNEXATION }
			completion_reward = {
					if = {
							limit = {
									463 = {
											NOT = {
													is_claimed_by = ROOT
												}
										}
								}
							add_state_claim = 463
						}
					if = {
							limit = {
									650 = {
											NOT = {
													is_claimed_by = ROOT
												}
										}
								}
							add_state_claim = 650
						}
					if = {
							limit = {
									463 = {
											controller = {
													controls_state = 650
												}
										}
								}
							if = {
									limit = {
											463 = {
													controller = {
															NOT = {
																	has_war_with = ROOT
																}
														}
												}
										}
									463 = {
											controller = {
													country_event = {
															id = NSB_soviet_foreign_politics_events.30
															hours = 4
															random_hours = 2
														}
													custom_effect_tooltip = if_they_accept
													effect_tooltip = {
															ROOT = {
																	transfer_state = 463
																}
															ROOT = {
																	transfer_state = 650
																}
															add_opinion_modifier = {
																	target = ROOT
																	modifier = SOV_pressured_our_government
																}
														}
												}
										}
								}
						}
					else = {
							if = {
									limit = {
											463 = {
													controller = {
															NOT = {
																	has_war_with = ROOT
																}
														}
												}
										}
									463 = {
											controller = {
													country_event = {
															id = NSB_soviet_foreign_politics_events.30
															hours = 4
															random_hours = 2
														}
													custom_effect_tooltip = if_they_accept
													effect_tooltip = {
															ROOT = {
																	transfer_state = 463
																}
															add_opinion_modifier = {
																	target = ROOT
																	modifier = SOV_pressured_our_government
																}
														}
												}
										}
								}
							if = {
									limit = {
											650 = {
													controller = {
															NOT = {
																	has_war_with = ROOT
																}
														}
												}
										}
									650 = {
											controller = {
													country_event = {
															id = NSB_soviet_foreign_politics_events.30
															hours = 4
															random_hours = 2
														}
													custom_effect_tooltip = if_they_accept
													effect_tooltip = {
															ROOT = {
																	transfer_state = 650
																}
															add_opinion_modifier = {
																	target = ROOT
																	modifier = SOV_pressured_our_government
																}
														}
												}
										}
								}
						}
				}

	}
	focus = {
		id = SOV_the_fight_for_the_pacific
		icon = GFX_focus_generic_navy_battleship2
		cost = 6
		prerequisite = {
			focus = SOV_recover_alaska
		}
		x = 0
		y = 1
		relative_position_id = SOV_recover_alaska
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					OR = {
							has_full_control_of_state = 408
							has_full_control_of_state = 409
							has_full_control_of_state = 637
						}
					is_subject = no
				}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH }
			completion_reward = {
					if = {
							limit = {
									408 = {
											is_controlled_by = ROOT
											free_building_slots = {
													building = dockyard
													size > 1
													include_locked = yes
												}
										}
								}
							408 = {
									add_extra_state_shared_building_slots = 2
									add_building_construction = {
											type = dockyard
											level = 2
											instant_build = yes
										}
								}
						}
					else_if = {
							limit = {
									408 = {
											is_controlled_by = ROOT
											free_building_slots = {
													building = dockyard
													size > 0
													include_locked = yes
												}
										}
								}
							408 = {
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = dockyard
											level = 1
											instant_build = yes
										}
								}
						}
					if = {
							limit = {
									409 = {
											is_controlled_by = ROOT
											free_building_slots = {
													building = dockyard
													size > 1
													include_locked = yes
												}
										}
								}
							409 = {
									add_extra_state_shared_building_slots = 2
									add_building_construction = {
											type = dockyard
											level = 2
											instant_build = yes
										}
								}
						}
					else_if = {
							limit = {
									409 = {
											is_controlled_by = ROOT
											free_building_slots = {
													building = dockyard
													size > 0
													include_locked = yes
												}
										}
								}
							409 = {
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = dockyard
											level = 1
											instant_build = yes
										}
								}
						}
					if = {
							limit = {
									637 = {
											is_controlled_by = ROOT
											free_building_slots = {
													building = dockyard
													size > 0
													include_locked = yes
												}
										}
								}
							637 = {
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = dockyard
											level = 1
											instant_build = yes
										}
								}
						}
					if = {
							limit = {
									637 = {
											is_controlled_by = ROOT
											naval_base < 9
										}
								}
							637 = {
									add_building_construction = {
											type = naval_base
											level = 2
											instant_build = yes
											province = 4728
										}
									if = {
											limit = {
													ROOT = {
															has_tech = radio_detection
														}
													radar_station < 1
												}
											add_building_construction = {
													type = radar_station
													level = 1
													instant_build = yes
												}
										}
									else = {
											custom_effect_tooltip = SOV_reinforce_western_naval_bases_radar_tt
										}
								}
						}
					add_tech_bonus = {
							name = SOV_the_fight_for_the_pacific
							bonus = 1.0
							uses = 1
							category = cv_tech
							category = bc_tech
							category = bb_tech
							category = shbb_tech
						}
				}

	}
	focus = {
		id = SOV_middle_east_diplomacy
		icon = GFX_focus_TUR_treaty_of_saadabad
		cost = 5
		prerequisite = {
			focus = SOV_anti_capitalist_policies
		}
		x = 2
		y = 1
		relative_position_id = SOV_anti_capitalist_policies
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			bypass = {
					NOT = {
							country_exists = IRQ
							country_exists = PER
							country_exists = AFG
							country_exists = SAU
						}
				}
			available = {
					is_subject = no
				}
			search_filters = {

}
			completion_reward = {
					if = {
							limit = {
									country_exists = IRQ
								}
							IRQ = {
									if = {
											limit = {
													ROOT = {
															has_government = fascism
														}
												}
											add_timed_idea = {
													idea = fascist_influence_weak
													days = 1095
												}
										}
									if = {
											limit = {
													ROOT = {
															has_government = democratic
														}
												}
											add_timed_idea = {
													idea = democratic_influence_weak
													days = 1095
												}
										}
									if = {
											limit = {
													ROOT = {
															has_government = communism
														}
												}
											add_timed_idea = {
													idea = communist_influence_weak
													days = 1095
												}
										}
									hidden_effect = {
											country_event = {
													id = generic.1
												}
										}
								}
						}
					if = {
							limit = {
									country_exists = PER
								}
							PER = {
									if = {
											limit = {
													ROOT = {
															has_government = fascism
														}
												}
											add_timed_idea = {
													idea = fascist_influence_weak
													days = 1095
												}
										}
									if = {
											limit = {
													ROOT = {
															has_government = democratic
														}
												}
											add_timed_idea = {
													idea = democratic_influence_weak
													days = 1095
												}
										}
									if = {
											limit = {
													ROOT = {
															has_government = communism
														}
												}
											add_timed_idea = {
													idea = communist_influence_weak
													days = 1095
												}
										}
									hidden_effect = {
											country_event = {
													id = generic.1
												}
										}
								}
						}
					if = {
							limit = {
									country_exists = AFG
								}
							AFG = {
									if = {
											limit = {
													ROOT = {
															has_government = fascism
														}
												}
											add_timed_idea = {
													idea = fascist_influence_weak
													days = 1095
												}
										}
									if = {
											limit = {
													ROOT = {
															has_government = democratic
														}
												}
											add_timed_idea = {
													idea = democratic_influence_weak
													days = 1095
												}
										}
									if = {
											limit = {
													ROOT = {
															has_government = communism
														}
												}
											add_timed_idea = {
													idea = communist_influence_weak
													days = 1095
												}
										}
									hidden_effect = {
											country_event = {
													id = generic.1
												}
										}
								}
						}
					if = {
							limit = {
									country_exists = SAU
								}
							SAU = {
									if = {
											limit = {
													ROOT = {
															has_government = fascism
														}
												}
											add_timed_idea = {
													idea = fascist_influence_weak
													days = 1095
												}
										}
									if = {
											limit = {
													ROOT = {
															has_government = democratic
														}
												}
											add_timed_idea = {
													idea = democratic_influence_weak
													days = 1095
												}
										}
									if = {
											limit = {
													ROOT = {
															has_government = communism
														}
												}
											add_timed_idea = {
													idea = communist_influence_weak
													days = 1095
												}
										}
									hidden_effect = {
											country_event = {
													id = generic.1
												}
										}
								}
						}
				}

	}
	focus = {
		id = SOV_the_southern_thrust
		icon = GFX_goal_generic_military_sphere
		cost = 6
		prerequisite = {
			focus = SOV_middle_east_diplomacy
		}
		mutually_exclusive = {
			focus = SOV_support_afghan_ideology
		}
		x = -1
		y = 1
		relative_position_id = SOV_middle_east_diplomacy
			available = {
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			ai_will_do = {
					factor = 1
					modifier = {
							has_war_with = GER
							factor = 0
						}
					modifier = {
							AND = {
									has_war_with = ENG
									surrender_progress > 0.3
								}
							factor = 0
						}
					modifier = {
							has_war_with = RAJ
							factor = 5
						}
				}
			bypass = {
					PER = {
							NOT = {
									owns_state = 419
								}
							NOT = {
									owns_state = 420
								}
							NOT = {
									owns_state = 266
								}
							NOT = {
									owns_state = 416
								}
						}
					IRQ = {
							NOT = {
									owns_state = 676
								}
							NOT = {
									owns_state = 291
								}
						}
					AFG = {
							NOT = {
									owns_state = 267
								}
							NOT = {
									owns_state = 415
								}
						}
				}
			available = {
					OR = {
							country_exists = IRQ
							country_exists = PER
							country_exists = AFG
							country_exists = SAU
						}
					is_subject = no
				}
			will_lead_to_war_with = PER
			will_lead_to_war_with = IRQ
			will_lead_to_war_with = AFG
			search_filters = { FOCUS_FILTER_ANNEXATION }
			completion_reward = {
					if = {
							limit = {
									PER = {
											OR = {
													owns_state = 419
													owns_state = 420
													owns_state = 266
													owns_state = 416
												}
										}
								}
							create_wargoal = {
									type = take_state_focus
									target = PER
									expire = 365
									generator = { 419  420  266  416 }
								}
						}
					if = {
							limit = {
									IRQ = {
											OR = {
													owns_state = 676
													owns_state = 291
												}
										}
								}
							create_wargoal = {
									type = take_state_focus
									target = IRQ
									expire = 365
									generator = { 676  291 }
								}
						}
					if = {
							limit = {
									AFG = {
											OR = {
													owns_state = 267
													owns_state = 415
												}
										}
								}
							create_wargoal = {
									type = take_state_focus
									target = AFG
									expire = 365
									generator = { 267  415 }
								}
						}
					ENG = {
							add_opinion_modifier = {
									target = SOV
									modifier = middle_east_expansionism
								}
						}
					FRA = {
							add_opinion_modifier = {
									target = SOV
									modifier = middle_east_expansionism
								}
						}
					USA = {
							add_opinion_modifier = {
									target = SOV
									modifier = middle_east_expansionism
								}
						}
				}

	}
	focus = {
		id = SOV_support_afghan_ideology
		icon = GFX_focus_generic_befriend_afghanistan
		cost = 5
		prerequisite = {
			focus = SOV_middle_east_diplomacy
		}
		mutually_exclusive = {
			focus = SOV_the_southern_thrust
		}
		x = 1
		y = 1
		relative_position_id = SOV_middle_east_diplomacy
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			bypass = {
					NOT = {
							country_exists = AFG
						}
				}
			available = {
					NOT = {
							has_war_with = AFG
						}
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			search_filters = {

}
			completion_reward = {
					activate_targeted_decision = {
							target = AFG
							decision = SOV_pressure_country_government_middle_east
						}
					activate_targeted_decision = {
							target = AFG
							decision = SOV_promote_ideology_rallies_middle_east
						}
				}

	}
	focus = {
		id = SOV_preemptive_invasion_of_iran
		icon = GFX_focus_generic_attack_iran
		cost = 5
		prerequisite = {
			focus = SOV_support_afghan_ideology
		}
		x = 0
		y = 1
		relative_position_id = SOV_support_afghan_ideology
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_civil_war = yes
						}
				}
			available = {
					country_exists = PER
					NOT = {
							has_war_with = PER
						}
					is_subject = no
					any_enemy_country = {
							is_major = yes
						}
				}
			search_filters = {

}
			completion_reward = {
					PER = {
							set_country_flag = SOV_ultimatum_sent_flag
							country_event = {
									id = NSB_soviet_foreign_politics_events.210
									hours = 16
									random_hours = 8
								}
						}
					effect_tooltip = {
							custom_effect_tooltip = if_they_accept_tt
							ROOT = {
									puppet = PER
								}
							custom_effect_tooltip = if_they_refuse_tt
							effect_tooltip = {
									activate_mission = SOV_preparations_for_operation_countenance
									custom_effect_tooltip = SOV_preparations_for_operation_countenance_tt
								}
							custom_effect_tooltip = SOV_preemptive_invasion_of_iran_tt
						}
				}

	}
	focus = {
		id = SOV_shift_to_armaments_production
		icon = GFX_focus_generic_combined_arms
		cost = 6
		prerequisite = {
			focus = SOV_increase_state_reserves
		}
		x = 7
		y = 4
			available = {
			        NOT = { has_completed_focus = SOV_fourth_five_year_plan }
					AND = { 
					     has_completed_focus = SOV_desperate_measures
						 OR = { 
						      AND = { has_completed_focus = SOV_reorganize_the_pc_of_heavy_industry has_completed_focus = SOV_industrial_modernization threat > 0.8 }
							  any_enemy_country = { is_major = yes }
						 }
				    }
				}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH }
			completion_reward = {
					hidden_effect = {
							set_variable = { SOV_fyp_production_speed_industrial_complex_factor = 0 }
						}
					if = {
							limit = {
									has_government = communism
								}
							hidden_effect = {
									remove_dynamic_modifier = {
											modifier = SOV_third_five_year_plan_dynamic_modifier
										}
									add_dynamic_modifier = {
											modifier = SOV_third_five_year_plan_military_dynamic_modifier
										}
								}
						}
					if = {
							hidden_effect = {
									remove_dynamic_modifier = {
											modifier = SOV_third_five_year_plan_civilian_dynamic_modifier
										}
									add_dynamic_modifier = {
											modifier = SOV_third_five_year_plan_military_dynamic_modifier
										}
								}
						}
					if = {
							hidden_effect = {
									remove_dynamic_modifier = {
											modifier = SOV_third_five_year_plan_civilian_dynamic_modifier_alt
										}
									add_dynamic_modifier = {
											modifier = SOV_third_five_year_plan_military_dynamic_modifier
										}
								}
						}
					custom_effect_tooltip = SOV_shift_to_armaments_production_ns_tt
				}

	}
	focus = {
		id = SOV_optimize_production_lines
		icon = GFX_focus_generic_tank_production
		cost = 6
		prerequisite = {
			focus = SOV_shift_to_armaments_production
		}
		x = 7
		y = 7
			available = {
			        NOT = { has_completed_focus = SOV_fourth_five_year_plan }
				}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH }
			completion_reward = {
					add_to_variable = {
							SOV_fyp_production_factory_start_efficiency_factor = 0.05
						}
					add_to_variable = {
							SOV_fyp_industrial_capacity_factory = 0.05
						}
					add_to_variable = {
							SOV_fyp_production_factory_max_efficiency_factor = 0.05
						}
					custom_effect_tooltip = SOV_optimize_production_lines_ns_tt
					add_tech_bonus = {
							name = SOV_optimize_production_lines
							bonus = 0.5
							uses = 1
							category = cat_production
						}
				}

	}
	focus = {
		id = SOV_embrace_the_black_hundreds
		icon = GFX_focus_generic_little_entente
		cost = 5
		prerequisite = {
			focus = SOV_national_unification
			focus = SOV_womens_fascist_movement
		}
		x = -1
		y = 1
		relative_position_id = SOV_womens_fascist_movement
			ai_will_do = {
					factor = 1
				}
			available = {
					SOV_has_selected_hq = yes
					SOV_soviet_civil_war_not_started = yes
				}
			bypass = {
					OR = {
							has_global_flag = SOV_soviet_civil_war_over
							has_global_flag = SOV_soviet_civil_war
						}
				}
			available_if_capitulated = yes
			search_filters = {

}
			completion_reward = {
					SOV_opposition_support_high_increase_effect = yes
					set_country_flag = SOV_embrace_the_black_hundreds_flag
					custom_effect_tooltip = SOV_embrace_the_black_hundreds_tt
					add_political_power = 50
				}

	}
	focus = {
		id = SOV_muster_the_old_guard
		icon = GFX_focus_generic_military_mission
		cost = 6
		prerequisite = {
			focus = SOV_embrace_the_black_hundreds
		}
		x = -2
		y = 1
		relative_position_id = SOV_embrace_the_black_hundreds
			ai_will_do = {
					factor = 1
				}
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			bypass = {
					OR = {
							has_global_flag = SOV_soviet_civil_war_over
							has_global_flag = SOV_soviet_civil_war
						}
				}
			available_if_capitulated = yes
			search_filters = {

}
			completion_reward = {
					custom_effect_tooltip = SOV_muster_the_old_guard_tt
					add_popularity = {
							ideology = neutrality
							popularity = 0.1
						}
					set_country_flag = SOV_muster_the_old_guard_flag
				}

	}
	focus = {
		id = SOV_fascist_youth_union
		icon = GFX_goal_generic_small_arms
		cost = 6
		prerequisite = {
			focus = SOV_embrace_the_black_hundreds
		}
		x = 2
		y = 1
		relative_position_id = SOV_embrace_the_black_hundreds
			ai_will_do = {
					factor = 1
				}
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			bypass = {
					OR = {
							has_global_flag = SOV_soviet_civil_war_over
							has_global_flag = SOV_soviet_civil_war
						}
				}
			available_if_capitulated = yes
			search_filters = {

}
			completion_reward = {
					set_country_flag = SOV_fascist_youth_union_flag
					custom_effect_tooltip = SOV_fascist_youth_union_tt
					add_popularity = {
							ideology = fascism
							popularity = 0.05
						}
				}

	}
	focus = {
		id = SOV_covert_operations
		icon = GFX_goal_generic_more_territorial_claims
		cost = 5
		prerequisite = {
			focus = SOV_fascist_youth_union
		}
		x = 0
		y = 1
		relative_position_id = SOV_fascist_youth_union
			ai_will_do = {
					factor = 1
				}
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			bypass = {

}
			available_if_capitulated = yes
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					add_political_power = 50
					custom_effect_tooltip = SOV_covert_operations_tt
				}

	}
	focus = {
		id = SOV_tolkachi
		icon = GFX_goal_generic_intelligence_exchange
		cost = 5
		prerequisite = {
			focus = SOV_covert_operations
		}
		x = 0
		y = 1
		relative_position_id = SOV_covert_operations
			ai_will_do = {
					factor = 1
				}
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			bypass = {
					OR = {
							has_global_flag = SOV_soviet_civil_war_over
							has_global_flag = SOV_soviet_civil_war
						}
				}
			available_if_capitulated = yes
			search_filters = {

}
			completion_reward = {
					set_country_flag = SOV_tolkachi_flag
					custom_effect_tooltip = SOV_tolkachi_tt
				}

	}
	focus = {
		id = SOV_the_synod
		icon = GFX_goal_generic_national_unity
		cost = 5
		prerequisite = {
			focus = SOV_reopen_novodevichi
		}
		x = 0
		y = 1
		relative_position_id = SOV_reopen_novodevichi
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = yes
			search_filters = { FOCUS_FILTER_POLITICAL }
			completion_reward = {
					SOV_increase_church_power = yes
				}

	}
	focus = {
		id = SOV_the_declaration
		icon = GFX_goal_generic_forceful_treaty
		cost = 5
		prerequisite = {
			focus = SOV_the_synod
		}
		x = 0
		y = 1
		relative_position_id = SOV_the_synod
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = yes
			search_filters = {

}
			completion_reward = {
					custom_effect_tooltip = SOV_the_declaration_tt
				}

	}
	focus = {
		id = SOV_reformalize_the_role_of_the_patriarchate
		icon = GFX_focus_generic_treaty
		cost = 5
		prerequisite = {
			focus = SOV_the_declaration
		}
		x = 0
		y = 1
		relative_position_id = SOV_the_declaration
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = yes
			search_filters = { FOCUS_FILTER_POLITICAL }
			completion_reward = {
					SOV_increase_church_power = yes
				}

	}
	focus = {
		id = SOV_industrial_modernization
		icon = GFX_goal_reichsautobahn
		cost = 6
		prerequisite = {
			focus = SOV_reorganize_the_pc_of_heavy_industry
		}
		x = 3
		y = 7
			available = {
					SOV_third_five_year_plan_available = yes
					custom_trigger_tooltip = {
							tooltip = SOV_fyp_controlled_factories_tier_4_tt
							NOT = {
									num_of_controlled_factories < SOV_fyp_factory_requirement_tier_4
								}
						}
					NOT = {
							has_completed_focus = SOV_curtailment_of_the_collective_farms
						}
				}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH }
			completion_reward = {
					add_to_variable = {
							SOV_fyp_production_factory_max_efficiency_factor = 0.05
						}
					add_to_variable = {
							SOV_fyp_line_change_production_efficiency_factor = 0.05
						}
					custom_effect_tooltip = SOV_industrial_modernization_ns_tt
					add_tech_bonus = {
							name = SOV_industrial_modernization
							ahead_reduction = 2
							bonus = 1.0
							uses = 1
							category = industry
						}
				}

	}
	focus = {
		id = SOV_steel_casting_industry
		icon = GFX_focus_generic_steel
		cost = 6
		prerequisite = {
			focus = SOV_reorganize_the_pc_of_heavy_industry
		}
		x = 2
		y = 5
			available = {
			    SOV_third_five_year_plan_available = yes
				}
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					set_variable = { SOV_fyp_industrial_capacity_factory = 0.05 }
					set_variable = { SOV_fyp_industrial_capacity_dockyard = 0.05 }
					custom_effect_tooltip = SOV_steel_casting_industry_ns_tt
					random_owned_controlled_state = {
							add_resource = { type = steel amount = 8 }
							set_state_flag = SOV_steel_casting_industry_flag
						}
				}

	}
	focus = {
		id = SOV_synthetic_rubber
		icon = GFX_focus_generic_rubber
		cost = 5
		prerequisite = {
			focus = SOV_shift_to_armaments_production
		}
		x = 6
		y = 5
			available = {
					has_tech = rubber_processing
					has_full_control_of_state = 219#MOSCOW
					OR = {
							has_full_control_of_state = 260#VORONEZH
							has_full_control_of_state = 223#TULA
						}
				}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH }
			completion_reward = {
					modify_building_resources = {
							building = synthetic_refinery
							resource = rubber
							amount = 1
						}
					if = {
							limit = {
									has_full_control_of_state = 260
								}
							260 = {
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = synthetic_refinery
											level = 1
											instant_build = yes
										}
								}
							if = {
									limit = {
											has_full_control_of_state = 254
											has_full_control_of_state = 258
										}
									build_railway = {
											path = { 6380  6414  9348  9282  11268  9330  3356  6279  6230  6398  6341  413  3527 }
										}
								}
						}
					if = {
							limit = {
									has_full_control_of_state = 223
								}
							223 = {
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = synthetic_refinery
											level = 1
											instant_build = yes
										}
								}
							build_railway = {
									path = { 6380  6414  9348  6290  6396  6262 }
								}
						}
					add_tech_bonus = {
							name = SOV_synthetic_rubber
							bonus = 0.75
							uses = 1
							category = cat_synth_rubber
						}
				}

	}
	focus = {
		id = SOV_oil_production
		icon = GFX_goal_generic_oil_refinery
		cost = 5
		prerequisite = {
			focus = SOV_reorganize_the_pc_of_heavy_industry
		}
		x = 4
		y = 5
			available = { SOV_third_five_year_plan_available = yes }
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					set_variable = { SOV_fyp_fuel_gain_factor_from_states = 0.05 }
					set_variable = { SOV_fyp_production_oil_factor = 0.05	}
					custom_effect_tooltip = SOV_oil_production_ns_tt
					set_temp_variable = { SOV_silos_from_focus = 0 }
					every_owned_state = {
							limit = {
									is_fully_controlled_by = ROOT
									has_resources_amount = {
											resource = oil
											amount > 1
										}
									infrastructure < 2
								}
							add_building_construction = {
									type = infrastructure
									level = 1
									instant_build = yes
								}
							hidden_effect = {
									if = {
											limit = {
													check_variable = {
															SOV_silos_from_focus = 2
															compare = less_than_or_equals
														}
												}
											add_building_construction = {
													type = fuel_silo
													level = 1
													instant_build = yes
												}
											add_to_temp_variable = {
													SOV_silos_from_focus = 1
												}
										}
								}
							custom_effect_tooltip = SOV_oil_production_silo_tt
						}
					if = {
							limit = {
									has_full_control_of_state = 229
									has_full_control_of_state = 230
									has_full_control_of_state = 231
								}
							build_railway = {
									path = { 7661  1536  4614  4477  11645  11674  1539  11708  1599 }
								}
						}
					if = {
							limit = {
									has_full_control_of_state = 232
									has_full_control_of_state = 821
								}
							build_railway = {
									path = { 3668  3682  3672 }
								}
						}
				}

	}
	focus = {
		id = SOV_restoration_and_development
		icon = GFX_goal_generic_production
		cost = 5
		prerequisite = {
			focus = SOV_industrial_modernization
			focus = SOV_optimize_production_lines
		}
		x = 5
		y = 8
			cancel_if_invalid = no
			available = {
					OR = { 
					    SOV_fourth_five_year_plan_available = yes
						AND = { date > 1945.5.9 surrender_progress < 0.05 }
					}
				}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_PROPAGANDA }
			completion_reward = {
					add_timed_idea = {
							idea = SOV_restoration_and_development_idea
							days = 365
						}
					if = {
							limit = {
									has_government = communism
								}
							custom_effect_tooltip = unlock_propaganda_campaign_tt
							unlock_decision_tooltip = SOV_propaganda_rebuild_to_glory
							unlock_decision_tooltip = SOV_propaganda_peace
							unlock_decision_tooltip = SOV_propaganda_happy_life
							custom_effect_tooltip = propaganda_campaign_requirement_tt
						}
				}

	}
	focus = {
		id = SOV_fourth_five_year_plan
		icon = GFX_focus_generic_industry_3
		cost = 6
		prerequisite = {
			focus = SOV_restoration_and_development
		}
		x = 4
		y = 9
			available = {
					custom_trigger_tooltip = {
							tooltip = SOV_fyp_controlled_factories_tier_5_tt
							NOT = {
									num_of_controlled_factories < SOV_fyp_factory_requirement_tier_5
								}
						}
				}
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					hidden_effect = {
							add_to_variable = {
									SOV_fyp_consumer_goods_factor = -0.05
								}
							if = {
									limit = {
											has_government = communism
										}
									if = {
											limit = {
													has_dynamic_modifier = {
															modifier = SOV_third_five_year_plan_civilian_dynamic_modifier
														}
												}
											remove_dynamic_modifier = {
													modifier = SOV_third_five_year_plan_civilian_dynamic_modifier
												}
										}
									else_if = {
											limit = {
													has_dynamic_modifier = {
															modifier = SOV_third_five_year_plan_military_dynamic_modifier
														}
												}
											remove_dynamic_modifier = {
													modifier = SOV_third_five_year_plan_military_dynamic_modifier
												}
										}
									else_if = {
											limit = {
													has_dynamic_modifier = {
															modifier = SOV_third_five_year_plan_dynamic_modifier
														}
												}
											remove_dynamic_modifier = {
													modifier = SOV_third_five_year_plan_dynamic_modifier
												}
										}
									add_dynamic_modifier = {
											modifier = SOV_fourth_five_year_plan_dynamic_modifier
										}
								}
							else = {
									if = {
											limit = {
													has_dynamic_modifier = {
															modifier = SOV_third_five_year_plan_civilian_dynamic_modifier_alt
														}
												}
											remove_dynamic_modifier = {
													modifier = SOV_third_five_year_plan_civilian_dynamic_modifier_alt
												}
										}
									else_if = {
											limit = {
													has_dynamic_modifier = {
															modifier = SOV_third_five_year_plan_military_dynamic_modifier_alt
														}
												}
											remove_dynamic_modifier = {
													modifier = SOV_third_five_year_plan_military_dynamic_modifier_alt
												}
										}
									else_if = {
											limit = {
													has_dynamic_modifier = {
															modifier = SOV_third_five_year_plan_dynamic_modifier_alt
														}
												}
											remove_dynamic_modifier = {
													modifier = SOV_third_five_year_plan_dynamic_modifier_alt
												}
										}
									add_dynamic_modifier = {
											modifier = SOV_fourth_five_year_plan_dynamic_modifier_alt
										}
								}
						}
					custom_effect_tooltip = SOV_fourth_five_year_plan_ns_tt
				}

	}
	focus = {
		id = SOV_found_the_comecon
		icon = GFX_focus_SOV_the_comecon
		cost = 6
		prerequisite = {
			focus = SOV_fourth_five_year_plan
		}
		x = 4
		y = 10
			allow_branch = {
					has_government = communism
				}
			available = {
					num_subjects > 1
					is_subject = no
					is_major = yes
					NOT = {
							has_completed_focus = SOV_curtailment_of_the_collective_farms
						}
				}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH }
			completion_reward = {
					if = {
							limit = {
									num_subjects > 0
								}
							add_ideas = SOV_comecon_sov_default
							custom_effect_tooltip = SOV_found_the_comecon_subjects_tt
							every_other_country = {
									limit = {
											is_subject_of = ROOT
										}
									add_ideas = SOV_comecon_puppet_default
								}
							custom_effect_tooltip = SOV_found_the_comecon_program_tt
							hidden_effect = {
									add_to_tech_sharing_group = SOV_comecon
									every_country = {
											limit = {
													is_subject_of = ROOT
												}
											add_to_tech_sharing_group = SOV_comecon
										}
								}
						}
					else = {
							effect_tooltip = {
									add_ideas = SOV_comecon_sov_default
								}
							custom_effect_tooltip = SOV_found_the_comecon_subjects_tt
							effect_tooltip = {
									add_ideas = SOV_comecon_puppet_default
								}
							custom_effect_tooltip = SOV_found_the_comecon_program_tt
						}
					unlock_decision_category_tooltip = SOV_comecon_dec_cat
				}

	}
	focus = {
		id = SOV_transformation_of_nature
		icon = GFX_goal_generic_soviet_construction
		cost = 6
		prerequisite = {
			focus = SOV_restoration_and_development
		}
		x = 6
		y = 9
			allow_branch = {
					has_government = communism
				}
			available = { is_subject = no }
			search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {

			hidden_effect = {
				IF = {
					limit = {
						has_country_leader = {
							ruling_only = yes
							character = SOV_iosif_stalin
						}	
					}
					set_province_name = {
						id = 3555
						name = SOV_stalingrad_hydro_station
					}
				}
				ELSE = {
					set_province_name = {
						id = 3555
						name = SOV_volgograd_hydro_station
					}
				}
				set_province_name = {
					id = 6275
					name = SOV_kuybyshev_hydro_station
				}
				set_province_name = {
					id = 737
					name = SOV_kakhovka_dam
				}
				set_province_name = {
					id = 3478
					name = SOV_tsimlyanskoye_hydroelectric_station
				}
			}

			add_ideas = SOV_transformation_of_nature
			custom_effect_tooltip = generic_skip_one_line_tt

			217 = {	
				add_building_construction = {
					type = dam
					level = 1
					instant_build = yes
					province = {
						id = 3555
					}
				}
				custom_effect_tooltip = {
					localization_key = building_state_modifier|dam
					INDENT = "    "
				}
			}
			196 = {	
				add_building_construction = {
					type = dam
					level = 1
					instant_build = yes
					province = {
						id = 737
					}
				}
				custom_effect_tooltip = {
					localization_key = building_state_modifier|dam
					INDENT = "    "
				}
			}
			245 = {	
				add_building_construction = {
					type = dam
					level = 1
					instant_build = yes
					province = {
						id = 3478
					}
				}
				custom_effect_tooltip = {
					localization_key = building_state_modifier|dam
					INDENT = "    "
				}
			}
			251 = {	
				add_building_construction = {
					type = dam
					level = 1
					instant_build = yes
					province = {
						id = 6275
					}
				}
				custom_effect_tooltip = {
					localization_key = building_state_modifier|dam
					INDENT = "    "
				}
			}
		}

	}
	focus = {
		id = SOV_transformation_of_nature_alt
		icon = GFX_goal_generic_construction2
		cost = 6
		prerequisite = {
			focus = SOV_restoration_and_development
		}
		x = 6
		y = 9
			allow_branch = {
					NOT = {
							has_government = communism
						}
				}
			available = {

}
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					add_ideas = SOV_transformation_of_nature
				}

	}
	focus = {
		id = SOV_merge_aircraft_plants
		icon = GFX_focus_SOV_merge_plants
		cost = 5
		prerequisite = {
			focus = SOV_modernize_aircraft_facilities
		}
		x = 14
		y = 8
			available = {
					NOT = {
							has_country_flag = SOV_paranoia_system_active_flag
						}
				}
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					if = {
							limit = {
									has_dlc = "Arms Against Tyranny"
								}
							every_military_industrial_organization = {
									limit = {
											has_mio_trait = SOV_mio_trait_merge_plant_no_28
										}
									unlock_mio_trait_tooltip = SOV_mio_trait_merge_plant_no_28
									unlock_mio_trait_tooltip = SOV_mio_trait_merge_plant_no_150
									unlock_mio_trait_tooltip = SOV_mio_trait_merge_vef_plant
								}
						}
					else = {
							custom_effect_tooltip = SOV_merge_aircraft_plants_tt
						}
				}

	}
	focus = {
		id = SOV_found_the_jet_institute
		icon = GFX_goal_generic_build_airforce
		cost = 6
		prerequisite = {
			focus = SOV_the_modern_war_in_the_skies
		}
		x = 14
		y = 10
			available = {

}
			search_filters = { FOCUS_FILTER_RESEARCH }
			completion_reward = {

			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.5
			}

			add_tech_bonus = {
				name = SOV_found_the_jet_institute
				bonus = 0.5
				uses = 1
				category = jet_technology
			}
				}

	}
	focus = {
		id = SOV_the_modern_war_in_the_skies
		icon = GFX_goal_generic_CAS
		cost = 6
		prerequisite = {
			focus = SOV_merge_aircraft_plants
		}
		x = 14
		y = 9
			available = {

}
			search_filters = { FOCUS_FILTER_AIR_XP }
			completion_reward = {
					add_to_variable = {
							SOV_soviet_airforce_air_night_penalty = -0.05
						}
					add_to_variable = {
							SOV_soviet_airforce_air_mission_efficiency = 0.05
						}
					custom_effect_tooltip = SOV_the_modern_war_in_the_skies_ns_tt
					air_experience = 50
				}

	}
	focus = {
		id = SOV_mine_warfare
		icon = GFX_focus_generic_mine_warfare
		cost = 6
		prerequisite = {
			focus = SOV_offensive_maritime_strategy
		}
		x = 18
		y = 8
			available = {

}
			search_filters = { FOCUS_FILTER_RESEARCH }
			completion_reward = {
					add_ideas = SOV_mine_warfare_ns
					add_tech_bonus = {
							name = SOV_mine_warfare
							bonus = 1.0
							uses = 1
							category = naval_mines
						}
				}

	}
	focus = {
		id = SOV_expand_the_morskaya_aviatsiya
		icon = GFX_goal_generic_navy_carrier
		cost = 6
		prerequisite = {
			focus = SOV_naval_infantry
		}
		x = 19
		y = 10
			available = {

}
			search_filters = { FOCUS_FILTER_RESEARCH  FOCUS_FILTER_AIR_XP  FOCUS_FILTER_NAVY_XP }
			completion_reward = {
					navy_experience = 25
					air_experience = 25
					add_tech_bonus = {
							name = SOV_expand_the_morskaya_aviatsiya
							bonus = 1
							uses = 1
							category = cv_tech
							category = naval_air
						}
					if = {
							limit = {
									has_dlc = "Man the Guns"
								}
							if = {
									limit = {
											has_tech = advanced_ship_hull_carrier
										}
									create_equipment_variant = {
											name = "Project 71 Class"
											type = ship_hull_carrier_3
											name_group = SOV_CV_HISTORICAL
											parent_version = 0
											modules = {
													fixed_ship_deck_slot_1 = ship_deck_space
													fixed_ship_deck_slot_2 = ship_deck_space
													fixed_ship_anti_air_slot = ship_anti_air_2
													fixed_ship_radar_slot = empty
													fixed_ship_engine_slot = carrier_ship_engine_4
													fixed_ship_secondaries_slot = ship_secondaries_1
													front_1_custom_slot = ship_deck_space
												}
										}
									add_equipment_production = {
											equipment = {
													type = ship_hull_carrier_3
													creator = "SOV"
													version_name = "Project 71 Class"
												}
											name = "Siberia"
											requested_factories = 1
											progress = 0.45
											amount = 1
										}
								}
							else_if = {
									limit = {
											has_tech = improved_ship_hull_carrier
										}
									create_equipment_variant = {
											name = "Project 71 Class"
											type = ship_hull_carrier_2
											name_group = SOV_CV_HISTORICAL
											parent_version = 0
											modules = {
													fixed_ship_deck_slot_1 = ship_deck_space
													fixed_ship_deck_slot_2 = ship_deck_space
													fixed_ship_anti_air_slot = ship_anti_air_2
													fixed_ship_radar_slot = empty
													fixed_ship_engine_slot = carrier_ship_engine_3
													fixed_ship_secondaries_slot = ship_secondaries_1
													front_1_custom_slot = ship_deck_space
												}
										}
									add_equipment_production = {
											equipment = {
													type = ship_hull_carrier_2
													creator = "SOV"
													version_name = "Project 71 Class"
												}
											name = "Siberia"
											requested_factories = 1
											progress = 0.45
											amount = 1
										}
								}
							else_if = {
									limit = {
											has_tech = basic_ship_hull_carrier
										}
									create_equipment_variant = {
											name = "Project 71 Class"
											type = ship_hull_carrier_1
											name_group = SOV_CV_HISTORICAL
											parent_version = 0
											modules = {
													fixed_ship_deck_slot_1 = ship_deck_space
													fixed_ship_deck_slot_2 = ship_deck_space
													fixed_ship_anti_air_slot = ship_anti_air_2
													fixed_ship_radar_slot = empty
													fixed_ship_engine_slot = carrier_ship_engine_2
													fixed_ship_secondaries_slot = ship_secondaries_1
													front_1_custom_slot = ship_deck_space
												}
										}
									add_equipment_production = {
											equipment = {
													type = ship_hull_carrier_1
													creator = "SOV"
													version_name = "Project 71 Class"
												}
											name = "Siberia"
											requested_factories = 1
											progress = 0.45
											amount = 1
										}
								}
							else = {
									if = {
											limit = {
													NOT = {
															has_tech = early_ship_hull_carrier
														}
												}
											set_technology = {
													early_ship_hull_carrier = 1
												}
										}
									create_equipment_variant = {
											name = "Project 71 Class"
											type = ship_hull_carrier_conversion_ca
											name_group = SOV_CV_HISTORICAL
											parent_version = 0
											modules = {
													fixed_ship_deck_slot_1 = ship_deck_space
													fixed_ship_deck_slot_2 = ship_deck_space
													fixed_ship_anti_air_slot = ship_anti_air_2
													fixed_ship_radar_slot = empty
													fixed_ship_engine_slot = carrier_ship_engine_1
													fixed_ship_secondaries_slot = ship_secondaries_1
												}
										}
									add_equipment_production = {
											equipment = {
													type = ship_hull_carrier_conversion_ca
													creator = "SOV"
													version_name = "Project 71 Class"
												}
											name = "Siberia"
											requested_factories = 1
											progress = 0.45
											amount = 1
										}
								}
						}
					else = {
							if = {
									limit = {
											has_tech = advanced_carrier
										}
									add_equipment_production = {
											equipment = {
													type = carrier_4
													creator = "SOV"
													version_name = "Project 71 Class"
												}
											requested_factories = 1
											progress = 0.45
											amount = 1
										}
								}
							else_if = {
									limit = {
											has_tech = improved_carrier
										}
									add_equipment_production = {
											equipment = {
													type = carrier_3
													creator = "SOV"
													version_name = "Project 71 Class"
												}
											requested_factories = 1
											progress = 0.45
											amount = 1
										}
								}
							else_if = {
									limit = {
											has_tech = basic_carrier
										}
									add_equipment_production = {
											equipment = {
													type = carrier_2
													creator = "SOV"
													version_name = "Project 71 Class"
												}
											requested_factories = 1
											progress = 0.45
											amount = 1
										}
								}
							else = {
									if = {
											limit = {
													NOT = {
															has_tech = early_carrier
														}
												}
											set_technology = {
													early_carrier = 1
												}
										}
									add_equipment_production = {
											equipment = {
													type = carrier_1
													creator = "SOV"
													version_name = "Project 71 Class"
												}
											requested_factories = 1
											progress = 0.45
											amount = 1
										}
								}
						}
				}

	}
	focus = {
		id = SOV_leningrad_polytechnical_institute
		icon = GFX_focus_research
		cost = 6
		prerequisite = {
			focus = SOV_merge_tank_and_materiel_plants
		}
		x = 26
		y = 6
			available = {
					OR = {
							has_completed_focus = SOV_increase_state_reserves
							has_completed_focus = SOV_strengthen_the_trade_unions
							has_completed_focus = SOV_back_to_the_nep
							has_completed_focus = SOV_the_third_rome
						}
				}
			search_filters = { FOCUS_FILTER_RESEARCH }
			completion_reward = {
					add_research_slot = 1
				}

	}
	focus = {
		id = SOV_soviet_atomic_bomb_project
		icon = GFX_focus_wonderweapons
		cost = 6
		prerequisite = {
			focus = SOV_leningrad_polytechnical_institute
		}
		x = 26
		y = 7
			available = {
					is_major = yes
					is_subject = no
					date > 1943.1.1
				}
			search_filters = { FOCUS_FILTER_RESEARCH }
			completion_reward = {
					add_tech_bonus = {
							name = SOV_soviet_atomic_bomb_project_tech_bonus_name
							bonus = 1
							uses = 1
							ahead_reduction = 1
							category = nuclear
						}
					if = {
							limit = {
									has_dlc = "La Resistance"
								}
							create_operative_leader = {
									name = "Ursula Kuczynski"
									GFX = GFX_Portrait_ursula_kuczynski
									female = yes
									traits = { operative_safe_cracker  operative_infiltrator }
									bypass_recruitment = no
									available_to_spy_master = yes
									nationalities = { SOV  GER }
								}
							add_ideas = SOV_soviet_atomic_bomb_project_ns
						}
					custom_effect_tooltip = SOV_soviet_atomic_bomb_project_unlock_operation_tt
				}

	}
	focus = {
		id = SOV_protect_the_white_sea_baltic_canal
		icon = GFX_focus_generic_provoke_border_clashes
		cost = 5
		prerequisite = {
			focus = SOV_impregnable_forts
		}
		x = 31
		y = 4
			available = {

}
			search_filters = {

}
			completion_reward = {
					if = {
							limit = {
									has_full_control_of_state = 215
								}
							215 = {
									add_building_construction = {
											type = anti_air_building
											level = 1
											instant_build = yes
										}
									add_building_construction = {
											type = bunker
											level = 1
											province = {
													id = 9045
													id = 3078
													id = 11212
												}
											instant_build = yes
										}
									add_building_construction = {
											type = coastal_bunker
											level = 1
											province = 9045
											instant_build = yes
										}
								}
						}
					if = {
							limit = {
									has_full_control_of_state = 216
								}
							216 = {
									add_building_construction = {
											type = anti_air_building
											level = 1
											instant_build = yes
										}
									add_building_construction = {
											type = bunker
											level = 1
											province = {
													id = 92
													id = 11092
												}
											instant_build = yes
										}
								}
						}
					if = {
							limit = {
									has_full_control_of_state = 264
								}
							264 = {
									add_building_construction = {
											type = anti_air_building
											level = 1
											instant_build = yes
										}
									add_building_construction = {
											type = bunker
											level = 1
											province = {
													id = 9082
													id = 9190
													id = 11059
												}
											instant_build = yes
										}
								}
						}
					if = {
							limit = {
									has_full_control_of_state = 195
								}
							195 = {
									add_building_construction = {
											type = anti_air_building
											level = 1
											instant_build = yes
										}
									add_building_construction = {
											type = bunker
											level = 1
											province = {
													id = 149
													id = 11068
													id = 79
												}
											instant_build = yes
										}
								}
						}
				}

	}
	focus = {
		id = SOV_military_reorganization
		icon = GFX_focus_generic_military_mission
		cost = 6
		prerequisite = {
			focus = SOV_the_glory_of_the_red_army_alt
		}
		x = 33
		y = 6
			select_effect = {
					add_ideas = SOV_military_reorganization_ns
				}
			available = {

}
			search_filters = { FOCUS_FILTER_ARMY_XP }
			completion_reward = {
					custom_effect_tooltip = SOV_focus_select_effect_tt
					effect_tooltip = {
							add_ideas = SOV_military_reorganization_ns
						}
					custom_effect_tooltip = SOV_focus_complete_effect_tt
					hidden_effect = {
							remove_ideas = SOV_military_reorganization_ns
						}
					add_to_variable = {
							SOV_the_red_army_unit_infantry_design_cost_factor = -0.05
						}
					add_to_variable = {
							SOV_the_red_army_unit_artillery_brigade_design_cost_factor = -0.05
						}
					custom_effect_tooltip = SOV_military_reorganization_ns_tt
					army_experience = 25
					add_command_power = 25
				}

	}
	focus = {
		id = SOV_penal_battalions
		icon = GFX_focus_SOV_penal_battalions
		cost = 5
		prerequisite = {
			focus = SOV_smersh
		}
		x = 41
		y = 9
			available = {
					any_enemy_country = {
							SOV_is_major_not_original_sov = yes
						}
					surrender_progress > 0.10
				}
			search_filters = {

}
			completion_reward = {
					custom_effect_tooltip = SOV_penal_battalions_spawn_tt
					hidden_effect = {
							division_template = {
									name = "Shtrafnaya Chast"
									division_names_group = SOV_PEN_01
									is_locked = yes
									regiments = {
											penal_battalion = {
													x = 0
													y = 0
												}
											penal_battalion = {
													x = 0
													y = 1
												}
											penal_battalion = {
													x = 0
													y = 2
												}
											penal_battalion = {
													x = 1
													y = 0
												}
											penal_battalion = {
													x = 1
													y = 1
												}
											penal_battalion = {
													x = 1
													y = 2
												}
											penal_battalion = {
													x = 2
													y = 0
												}
											penal_battalion = {
													x = 2
													y = 1
												}
											penal_battalion = {
													x = 2
													y = 2
												}
										}
									support = {
											artillery = {
													x = 0
													y = 0
												}
											recon = {
													x = 0
													y = 1
												}
											engineer = {
													x = 0
													y = 2
												}
										}
								}
							SOV_spawn_penal_divisions_effect = yes
						}
				}

	}
	focus = {
		id = SOV_smersh
		icon = GFX_goal_generic_forceful_treaty
		cost = 6
		prerequisite = {
			focus = SOV_nkvd_primacy
		}
		x = 42
		y = 8
			available = {
					OR = {
							any_enemy_country = {
									SOV_is_major_not_original_sov = yes
								}
							surrender_progress > 0.05
						}
				}
			search_filters = { FOCUS_FILTER_PROPAGANDA }
			completion_reward = {
					if = {
							limit = {
									has_dlc = "La Resistance"
								}
							add_ideas = SOV_smersh
						}
					else = {
							add_ideas = SOV_smersh_no_lar
						}
					if = {
							limit = {
									has_government = communism
								}
							custom_effect_tooltip = unlock_propaganda_campaign_tt
							unlock_decision_tooltip = SOV_propaganda_treacherous_enemy
							unlock_decision_tooltip = SOV_propaganda_do_not_blab
							custom_effect_tooltip = propaganda_campaign_requirement_tt
						}
				}

	}
	focus = {
		id = SOV_barrier_troops
		icon = GFX_focus_generic_manpower
		cost = 5
		prerequisite = {
			focus = SOV_smersh
		}
		x = 43
		y = 9
			available = {
					any_enemy_country = {
							SOV_is_major_not_original_sov = yes
						}
					surrender_progress > 0.10
				}
			search_filters = {

}
			completion_reward = {
					add_to_variable = {
							SOV_the_red_army_army_org_regain = 0.05
						}
					custom_effect_tooltip = SOV_barrier_troops_ns_tt
				}

	}
	focus = {
		id = SOV_adjoined_battle_priests
		icon = GFX_focus_GRE_an_orthodox_state
		cost = 6
		prerequisite = {
			focus = SOV_lessons_of_war
		}
		mutually_exclusive = {
			focus = SOV_swap_to_political_advisors
		}
		x = 35
		y = 5
			allow_branch = {
					OR = {
							has_government = fascism
							has_government = neutrality
						}
				}
			available = {
					has_completed_focus = SOV_church_candidates
				}
			bypass = {
					has_completed_focus = SOV_depoliticize_the_military
					has_completed_focus = SOV_socialist_humanism
				}
			search_filters = {

}
			completion_reward = {
					if = {
							limit = {
									has_idea = SOV_politicized_military
								}
							swap_ideas = {
									remove_idea = SOV_politicized_military
									add_idea = SOV_politicized_military_battle_priests
								}
						}
					else_if = {
							limit = {
									has_idea = SOV_politicized_military_humanism
								}
							swap_ideas = {
									remove_idea = SOV_politicized_military_humanism
									add_idea = SOV_politicized_military_battle_priests
								}
						}
				}

	}
	focus = {
		id = SOV_the_glory_of_the_red_army
		icon = GFX_focus_SOV_the_glory_of_the_red_army_communism
		cost = 6
		prerequisite = {
			focus = SOV_war_heroes
		}
		x = 39
		y = 6
			allow_branch = {
					NOT = {
							has_government = fascism
							has_government = neutrality
						}
				}
			available = {
					has_war_support > 0.75
				}
			search_filters = { FOCUS_FILTER_ARMY_XP }
			completion_reward = {
					add_to_variable = {
							SOV_the_red_army_special_forces_cap = 0.05
						}
					add_to_variable = {
							SOV_the_red_army_land_doctrine_cost_factor = -0.1
						}
					custom_effect_tooltip = SOV_the_glory_of_the_red_army_ns_tt
					army_experience = 150
					hidden_effect = {
							set_technology = {
									masterful_blitz = 1
									popup = no
								}
						}
					custom_effect_tooltip = SOV_the_glory_of_the_red_army_masterful_blitz_tactic_tt
				}

	}
	focus = {
		id = SOV_the_glory_of_the_red_army_alt
		icon = GFX_focus_SOV_the_glory_of_the_red_army_alternative
		cost = 6
		prerequisite = {
			focus = SOV_lessons_of_war
		}
		x = 33
		y = 5
			allow_branch = {
					OR = {
							has_government = fascism
							has_government = neutrality
						}
				}
			available = {
					has_war_support > 0.75
				}
			search_filters = { FOCUS_FILTER_ARMY_XP }
			completion_reward = {
					add_to_variable = {
							SOV_the_red_army_special_forces_cap = 0.05
						}
					add_to_variable = {
							SOV_the_red_army_land_doctrine_cost_factor = -0.1
						}
					custom_effect_tooltip = SOV_the_glory_of_the_red_army_ns_tt
					army_experience = 150
					hidden_effect = {
							set_technology = {
									masterful_blitz = 1
									popup = no
								}
						}
					custom_effect_tooltip = SOV_the_glory_of_the_red_army_masterful_blitz_tactic_tt
				}

	}
	focus = {
		id = SOV_the_workers_dictatorship
		icon = GFX_focus_spr_masters_of_our_own_fate
		cost = 6
		prerequisite = {
			focus = SOV_the_collectivization_process
		}
		x = 46
		y = 6
			available = {

}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					add_to_variable = {
							SOV_the_politburo_political_power_factor = 0.05
						}
					add_to_variable = {
							SOV_the_politburo_max_surrender_limit_offset = 0.05
						}
					custom_effect_tooltip = SOV_the_workers_dictatorship_ns_tt
					add_political_power = 50
					SOV_paranoia_low_decrease_effect = yes
				}

	}
	focus = {
		id = SOV_the_military_conspiracy
		icon = GFX_focus_SOV_military_purge
		cost = 5
		prerequisite = {
			focus = SOV_the_workers_dictatorship
		}
		prerequisite = {
			focus = SOV_organization_centralization_discipline
		}
		x = 46
		y = 7
			available = {
					has_country_flag = {
							flag = SOV_second_moscow_trial_flag
							days > 175
						}
					custom_trigger_tooltip = {
							tooltip = SOV_last_purge_focus_days_military_tt
							has_country_flag = {
									flag = SOV_second_moscow_trial_flag
									days > 175
								}
						}
				}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			select_effect = {
					set_country_flag = SOV_paranoia_do_not_cancel_focus_flag#This focus cannot be canceled
				}
			completion_reward = {
					clr_country_flag = SOV_paranoia_do_not_cancel_focus_flag
					set_country_flag = {
							flag = SOV_paranoia_random_purge_cooldown_from_focus_flag
							days = 15
						}
					set_country_flag = SOV_trial_of_the_generals_flag
					add_political_power = 25
					SOV_paranoia_high_increase_effect = yes
					if = {
							limit = {
									has_character = SOV_mikhail_tukhachevsky
								}
							SOV_mikhail_tukhachevsky = {
									set_character_flag = SOV_targeted_for_purge_flag
								}
						}
					else = {
							SOV_add_random_character_to_purge_targets_effect = yes
						}
					if = {
							limit = {
									has_character = SOV_aleksandr_yegorov
								}
							SOV_aleksandr_yegorov = {
									set_character_flag = SOV_targeted_for_purge_flag
								}
						}
					else = {
							SOV_add_random_character_to_purge_targets_effect = yes
						}
					if = {
							limit = {
									has_character = SOV_vasily_blyukher
								}
							SOV_vasily_blyukher = {
									set_character_flag = SOV_targeted_for_purge_flag
								}
						}
					else = {
							SOV_add_random_character_to_purge_targets_effect = yes
						}
					if = {
							limit = {
									has_character = SOV_vitaly_primakov
								}
							SOV_vitaly_primakov = {
									set_character_flag = SOV_targeted_for_purge_flag
								}
						}
					else = {
							SOV_add_random_character_to_purge_targets_effect = yes
						}
					custom_effect_tooltip = SOV_will_trigger_a_great_purge_tt
					hidden_effect = {
							set_country_flag = SOV_purge_event_unavoidable_flag
							SOV_great_purge_army_trial_of_the_generals_effect = yes
						}
					set_country_flag = SOV_stalinist_military_flag
				}

	}
	focus = {
		id = SOV_the_bloc_of_rights_and_trotskyites
		icon = GFX_focus_SOV_purge_bukharinists
		cost = 6
		prerequisite = {
			focus = SOV_the_military_conspiracy
		}
		x = 46
		y = 8
			available = {
					has_country_flag = {
							flag = SOV_trial_of_the_generals_flag
							days > 175
						}
					custom_trigger_tooltip = {
							tooltip = SOV_last_purge_focus_days_rights_tt
							has_country_flag = {
									flag = SOV_trial_of_the_generals_flag
									days > 175
								}
						}
				}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			select_effect = {
					set_country_flag = SOV_paranoia_do_not_cancel_focus_flag#This focus cannot be canceled
				}
			completion_reward = {
					clr_country_flag = SOV_paranoia_do_not_cancel_focus_flag
					set_country_flag = {
							flag = SOV_paranoia_random_purge_cooldown_from_focus_flag
							days = 15
						}
					set_country_flag = SOV_third_moscow_trial_flag
					add_political_power = 25
					if = {
							limit = {
									has_character = SOV_nikolay_bukharin
								}
							SOV_nikolay_bukharin = {
									set_character_flag = SOV_targeted_for_purge_flag
								}
						}
					else = {
							SOV_add_random_character_to_purge_targets_effect = yes
						}
					if = {
							limit = {
									has_character = SOV_aleksey_rykov
								}
							SOV_aleksey_rykov = {
									set_character_flag = SOV_targeted_for_purge_flag
								}
						}
					else = {
							SOV_add_random_character_to_purge_targets_effect = yes
						}
					if = {
							limit = {
									has_character = SOV_mikhail_tomsky
								}
							SOV_mikhail_tomsky = {
									set_character_flag = SOV_targeted_for_purge_flag
								}
						}
					else = {
							SOV_add_random_character_to_purge_targets_effect = yes
						}
					if = {
							limit = {
									has_character = SOV_maksim_litvinov
								}
							SOV_maksim_litvinov = {
									set_character_flag = SOV_targeted_for_purge_flag
								}
						}
					else = {
							SOV_add_random_character_to_purge_targets_effect = yes
						}
					custom_effect_tooltip = SOV_will_trigger_a_great_purge_tt
					hidden_effect = {
							set_country_flag = SOV_purge_event_unavoidable_flag
							SOV_trigger_great_purge_moscow_trial_effect = yes
						}
					custom_effect_tooltip = SOV_trigger_third_moscow_trial_tt
					SOV_remove_paranoia_effect = yes
				}

	}
	focus = {
		id = SOV_stalins_cult_of_personality
		icon = GFX_focus_SOV_stalins_cult_of_personality
		cost = 5
		prerequisite = {
			focus = SOV_the_bloc_of_rights_and_trotskyites
		}
		x = 46
		y = 9
			available = {
					has_country_flag = {
							flag = SOV_third_moscow_trial_flag
							days > 175
						}
					custom_trigger_tooltip = {
							tooltip = SOV_last_purge_focus_days_cult_tt
							has_country_flag = {
									flag = SOV_third_moscow_trial_flag
									days > 175
								}
						}
					has_completed_focus = SOV_expand_the_agitprop
				}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_PROPAGANDA }
			completion_reward = {
					add_political_power = 25
					custom_effect_tooltip = unlock_propaganda_campaign_tt
					unlock_decision_tooltip = SOV_propaganda_stalin
					custom_effect_tooltip = propaganda_campaign_requirement_tt
					if = {
							limit = {
									has_idea = trotskyite_plot_nsb
								}
							remove_ideas = trotskyite_plot_nsb
						}
					if = {
							limit = {
									has_idea = trotskyite_plot_purged
								}
							remove_ideas = trotskyite_plot_purged
						}
				}

	}
	focus = {
		id = SOV_they_will_know_fear
		icon = GFX_focus_generic_army_tanks2
		cost = 5
		prerequisite = {
			focus = SOV_stalins_cult_of_personality
		}
		x = 41
		y = 10
			available = {
					has_war_support > 0.75
				}
			search_filters = { FOCUS_FILTER_RESEARCH }
			completion_reward = {
					add_tech_bonus = {
							name = SOV_they_will_know_fear
							bonus = 1
							uses = 1
							category = armor
						}
					if = {
							limit = {
									OR = {
											has_tech = antiair2
											has_tech = antitank2
										}
								}
							create_equipment_variant = {
									name = "IS-2(1944)"
									type = heavy_tank_chassis_3
									parent_version = 0
									modules = {
											main_armament_slot = tank_heavy_cannon_2
											turret_type_slot = tank_heavy_three_man_tank_turret
											suspension_type_slot = tank_torsion_bar_suspension
											armor_type_slot = tank_welded_armor
											engine_type_slot = tank_diesel_engine
											special_type_slot_1 = tank_radio_2
											special_type_slot_2 = sloped_armor
											special_type_slot_3 = smoke_launchers
										}
									upgrades = {
											tank_nsb_engine_upgrade = 8
											tank_nsb_armor_upgrade = 7
										}
									icon = "gfx/interface/technologies/SOV_adv_heavy_tank.dds"
								}
						}
					else_if = {
							limit = {
									OR = {
											has_tech = interwar_antiair
											has_tech = interwar_antitank
										}
								}
							create_equipment_variant = {
									name = "IS-1(1943)"
									type = heavy_tank_chassis_3
									parent_version = 0
									modules = {
											main_armament_slot = tank_heavy_cannon
											turret_type_slot = tank_heavy_three_man_tank_turret
											suspension_type_slot = tank_torsion_bar_suspension
											armor_type_slot = tank_welded_armor
											engine_type_slot = tank_diesel_engine
											special_type_slot_1 = tank_radio_1
											special_type_slot_2 = sloped_armor
											special_type_slot_3 = smoke_launchers
										}
									upgrades = {
											tank_nsb_engine_upgrade = 7
											tank_nsb_armor_upgrade = 6
										}
									icon = "gfx/interface/technologies/SOV_adv_heavy_tank.dds"
								}
						}
				}

	}
	focus = {
		id = SOV_inheritor_of_the_mantle_of_lenin
		icon = GFX_focus_generic_support_the_left_right
		cost = 5
		prerequisite = {
			focus = SOV_stalins_cult_of_personality
		}
		mutually_exclusive = {
			focus = SOV_the_faithful_servant_of_lenin
		}
		x = 44
		y = 10
			available = {
					custom_trigger_tooltip = {
							tooltip = SOV_propaganda_campaigns_taken_5_or_greater_tt
							check_variable = {
									SOV_propaganda_campaigns_taken = 5
									compare = greater_than_or_equals
								}
						}
				}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_WAR_SUPPORT }
			completion_reward = {
					add_war_support = 0.05
					add_country_leader_trait = stalin_inheritor_of_lenin
				}

	}
	focus = {
		id = SOV_brilliant_genius
		icon = GFX_focus_generic_socialist_science
		cost = 6
		prerequisite = {
			focus = SOV_inheritor_of_the_mantle_of_lenin
		}
		x = 43
		y = 11
			available = {
					custom_trigger_tooltip = {
							tooltip = SOV_propaganda_campaigns_taken_10_or_greater_tt
							check_variable = {
									SOV_propaganda_campaigns_taken = 10
									compare = greater_than_or_equals
								}
						}
				}
			search_filters = { FOCUS_FILTER_RESEARCH }
			completion_reward = {
					divide_variable = {
							SOV_national_academy_of_sciences_construction_cost = 2
						}
					custom_effect_tooltip = SOV_brilliant_genius_academies_of_sciences_tt
					if = {
							limit = {
									has_completed_focus = SOV_leader_of_the_party_and_the_people
								}
							swap_ruler_traits = {
									remove = stalin_inheritor_of_lenin_leader
									add = stalin_inheritor_of_lenin_final
								}
						}
					else = {
							swap_ruler_traits = {
									remove = stalin_inheritor_of_lenin
									add = stalin_inheritor_of_lenin_genius
								}
						}
				}

	}
	focus = {
		id = SOV_the_faithful_servant_of_lenin
		icon = GFX_goal_generic_neutrality_focus
		cost = 5
		prerequisite = {
			focus = SOV_stalins_cult_of_personality
		}
		mutually_exclusive = {
			focus = SOV_inheritor_of_the_mantle_of_lenin
		}
		x = 46
		y = 10
			available = {
					custom_trigger_tooltip = {
							tooltip = SOV_propaganda_campaigns_taken_5_or_greater_tt
							check_variable = {
									SOV_propaganda_campaigns_taken = 5
									compare = greater_than_or_equals
								}
						}
				}
			search_filters = { FOCUS_FILTER_STABILITY }
			completion_reward = {
					add_stability = 0.1
					add_country_leader_trait = stalin_servant_of_lenin
				}

	}
	focus = {
		id = SOV_ban_excessive_hero_worship
		icon = GFX_focus_renounce_the_treaty_of_trianon
		cost = 6
		prerequisite = {
			focus = SOV_the_faithful_servant_of_lenin
		}
		x = 47
		y = 11
			available = {
					custom_trigger_tooltip = {
							tooltip = SOV_propaganda_campaigns_taken_10_or_greater_tt
							check_variable = {
									SOV_propaganda_campaigns_taken = 10
									compare = greater_than_or_equals
								}
						}
				}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_STABILITY }
			completion_reward = {
					custom_effect_tooltip = SOV_ban_excessive_hero_worship_dec_cost_tt
					SOV_foreign_politics_decision_cost_reduction_effect = yes
					if = {
							limit = {
									has_completed_focus = SOV_leader_of_the_party_and_the_people
								}
							swap_ruler_traits = {
									remove = stalin_servant_of_lenin_leader
									add = stalin_servant_of_lenin_final
								}
						}
					else = {
							swap_ruler_traits = {
									remove = stalin_servant_of_lenin
									add = stalin_servant_of_lenin_worship
								}
						}
				}

	}
	focus = {
		id = SOV_leader_of_the_party_and_the_people
		icon = GFX_focus_YUG_pan_slavic_congress
		cost = 5
		prerequisite = {
			focus = SOV_inheritor_of_the_mantle_of_lenin
			focus = SOV_the_faithful_servant_of_lenin
		}
		x = 45
		y = 11
			available = {
					custom_trigger_tooltip = {
							tooltip = SOV_propaganda_campaigns_taken_10_or_greater_tt
							check_variable = {
									SOV_propaganda_campaigns_taken = 10
									compare = greater_than_or_equals
								}
						}
				}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_STABILITY }
			completion_reward = {
					add_political_power = 50
					if = {
							limit = {
									has_completed_focus = SOV_inheritor_of_the_mantle_of_lenin
								}
							if = {
									limit = {
											has_completed_focus = SOV_brilliant_genius
										}
									swap_ruler_traits = {
											remove = stalin_inheritor_of_lenin_genius
											add = stalin_inheritor_of_lenin_final
										}
								}
							else = {
									swap_ruler_traits = {
											remove = stalin_inheritor_of_lenin
											add = stalin_inheritor_of_lenin_leader
										}
								}
						}
					else_if = {
							limit = {
									has_completed_focus = SOV_the_faithful_servant_of_lenin
								}
							if = {
									limit = {
											has_completed_focus = SOV_ban_excessive_hero_worship
										}
									swap_ruler_traits = {
											remove = stalin_servant_of_lenin_worship
											add = stalin_servant_of_lenin_final
										}
								}
							else = {
									swap_ruler_traits = {
											remove = stalin_servant_of_lenin
											add = stalin_servant_of_lenin_leader
										}
								}
						}
					else = {
							custom_effect_tooltip = SOV_leader_of_the_party_and_the_people_trait_tt
						}
				}

	}
	focus = {
		id = SOV_great_commander
		icon = GFX_focus_generic_military_dictatorship
		cost = 5
		prerequisite = {
			focus = SOV_inheritor_of_the_mantle_of_lenin
		}
		prerequisite = {
			focus = SOV_leader_of_the_party_and_the_people
		}
		mutually_exclusive = {
			focus = SOV_architect_of_communism
		}
		x = 44
		y = 12
			available = {
					custom_trigger_tooltip = {
							tooltip = SOV_propaganda_campaigns_taken_15_or_greater_tt
							check_variable = {
									SOV_propaganda_campaigns_taken = 15
									compare = greater_than_or_equals
								}
						}
				}
			search_filters = { FOCUS_FILTER_WAR_SUPPORT }
			completion_reward = {
					add_country_leader_trait = stalin_great_commander
					add_field_marshal_role = {
							character = "SOV_iosif_stalin"
							traits = { old_guard  politically_connected  media_personality  harsh_leader }
							skill = 3
							attack_skill = 1
							defense_skill = 3
							planning_skill = 3
							logistics_skill = 3
							legacy_id = 0
						}
				}

	}
	focus = {
		id = SOV_architect_of_communism
		icon = GFX_goal_generic_soviet_construction
		cost = 5
		prerequisite = {
			focus = SOV_the_faithful_servant_of_lenin
		}
		prerequisite = {
			focus = SOV_leader_of_the_party_and_the_people
		}
		mutually_exclusive = {
			focus = SOV_great_commander
		}
		x = 46
		y = 12
			available = {
					custom_trigger_tooltip = {
							tooltip = SOV_propaganda_campaigns_taken_15_or_greater_tt
							check_variable = {
									SOV_propaganda_campaigns_taken = 15
									compare = greater_than_or_equals
								}
						}
				}
			search_filters = { FOCUS_FILTER_POLITICAL }
			completion_reward = {
					add_country_leader_trait = stalin_architect_of_communism
				}

	}
	focus = {
		id = SOV_father_of_nations
		icon = GFX_focus_SOV_father_of_nations
		cost = 6
		prerequisite = {
			focus = SOV_great_commander
			focus = SOV_architect_of_communism
		}
		x = 45
		y = 13
			available = {
					custom_trigger_tooltip = {
							tooltip = SOV_propaganda_campaigns_taken_20_or_greater_tt
							check_variable = {
									SOV_propaganda_campaigns_taken = 20
									compare = greater_than_or_equals
								}
						}
				}
			search_filters = { FOCUS_FILTER_MANPOWER  FOCUS_FILTER_STABILITY }
			completion_reward = {
					swap_ruler_traits = {
							remove = stalin_heart_of_steel
							add = stalin_father_of_nations
						}
					hidden_effect = {
							play_song = "comintern_war_1"
						}
				}

	}
	focus = {
		id = SOV_freedom_of_debate_unity_of_action
		icon = GFX_focus_generic_soviet_politics
		cost = 6
		prerequisite = {
			focus = SOV_stalins_cult_of_personality
		}
		x = 48
		y = 10
			available = {

}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_WAR_SUPPORT  FOCUS_FILTER_STABILITY }
			completion_reward = {
					add_to_variable = {
							SOV_the_politburo_political_power_factor = 0.05
						}
					add_to_variable = {
							SOV_the_politburo_political_advisor_cost_factor = -0.1
						}
					custom_effect_tooltip = SOV_freedom_of_debate_unity_of_action_ns_tt
					add_political_power = 50
					add_stability = 0.05
					add_war_support = 0.05
				}

	}
	focus = {
		id = SOV_the_construction_of_communism
		icon = GFX_focus_ger_great_red_menace
		cost = 6
		prerequisite = {
			focus = SOV_freedom_of_debate_unity_of_action
		}
		x = 48
		y = 12
			available = {
					num_subjects > 0
				}
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					add_to_variable = {
							SOV_the_politburo_opinion_gain_monthly_same_ideology_factor = 0.15
						}
					custom_effect_tooltip = SOV_the_construction_of_communism_ns_tt
					if = {
							limit = {
									num_subjects > 0
								}
							every_subject_country = {
									add_autonomy_score = {
											value = -100
											localization = SOV_the_construction_of_communism
										}
								}
						}
					else = {
							custom_effect_tooltip = SOV_the_construction_of_communism_puppet_autonomy_tt
						}
					custom_effect_tooltip = SOV_the_construction_of_communism_railways_tt
					hidden_effect = {
							every_subject_country = {
									limit = {
											capital_scope = {
													OR = {
															is_on_continent = europe
															is_on_continent = asia
															is_on_continent = middle_east
														}
												}
										}
									if = {
											limit = {
													can_build_railway = {
															start_state = ROOT.capital
															target_state = THIS.capital
															build_only_on_allied = yes
														}
												}
											build_railway = {
													start_state = ROOT.capital
													target_state = THIS.capital
													build_only_on_allied = yes
												}
										}
								}
						}
				}

	}
	focus = {
		id = SOV_left_eliminate_right
		icon = GFX_focus_SOV_purge_bukharinists
		cost = 5
		prerequisite = {
			focus = SOV_integrate_smirnovs_bloc
		}
		mutually_exclusive = {
			focus = SOV_cooperation_against_stalin
		}
		x = 3
		y = 1
		relative_position_id = SOV_integrate_smirnovs_bloc
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					SOV_paranoia_high_increase_effect = yes
					custom_effect_tooltip = SOV_left_eliminate_right_tt
					custom_effect_tooltip = SOV_eliminate_opposition_factionalism_tt
					add_to_variable = {
							SOV_factionalism_political_power_factor = 0.05
						}
					SOV_nikolay_bukharin = {
							set_character_flag = SOV_potential_target_flag
						}
					SOV_mikhail_tomsky = {
							set_character_flag = SOV_potential_target_flag
						}
					SOV_aleksey_rykov = {
							set_character_flag = SOV_potential_target_flag
						}
				}

	}
	focus = {
		id = SOV_left_purges
		icon = GFX_focus_SOV_the_last_purge
		cost = 6
		prerequisite = {
			focus = SOV_the_permanent_revolution
		}
		mutually_exclusive = {
			focus = SOV_return_democracy_to_the_party
		}
		x = 4
		y = 1
		relative_position_id = SOV_the_permanent_revolution
			available = {
					has_global_flag = SOV_soviet_civil_war_over
				}
			search_filters = { FOCUS_FILTER_POLITICAL }
			completion_reward = {
					add_stability = 0.05
					add_war_support = 0.05
					add_political_power = 100
					custom_effect_tooltip = SOV_left_purges_tt
					IF = {
							limit = {
									has_character = SOV_nikolay_bukharin
								}
							retire_character = SOV_nikolay_bukharin
						}
					IF = {
							limit = {
									has_character = SOV_aleksey_rykov
								}
							retire_character = SOV_aleksey_rykov
						}
					IF = {
							limit = {
									has_character = SOV_mikhail_tomsky
								}
							retire_character = SOV_mikhail_tomsky
						}
					IF = {
							limit = {
									has_character = SOV_grigory_zinovyev
								}
							retire_character = SOV_grigory_zinovyev
						}
					IF = {
							limit = {
									has_character = SOV_martemyan_ryutin
								}
							retire_character = SOV_martemyan_ryutin
						}
					IF = {
							limit = {
									has_character = SOV_mikhail_kalinin
								}
							retire_character = SOV_mikhail_kalinin
						}
					IF = {
							limit = {
									has_character = SOV_nikita_khrushchyov
								}
							retire_character = SOV_nikita_khrushchyov
						}
					IF = {
							limit = {
									has_character = SOV_vsevolod_merkulov
								}
							retire_character = SOV_vsevolod_merkulov
						}
					set_variable = {
							SOV_factionalism_political_power_factor = 0
						}
					custom_effect_tooltip = SOV_left_right_purges_factionalism_tt
				}

	}
	focus = {
		id = SOV_system_decentralization
		icon = GFX_goal_generic_forceful_treaty
		cost = 6
		prerequisite = {
			focus = SOV_reigniting_the_revolutionary_spirit
		}
		x = -1
		y = 1
		relative_position_id = SOV_reigniting_the_revolutionary_spirit
			available = {

}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_STABILITY  FOCUS_FILTER_WAR_SUPPORT }
			completion_reward = {
					add_popularity = {
							ideology = communism
							popularity = 0.1
						}
					add_ideas = SOV_system_decentralization_idea
				}

	}
	focus = {
		id = SOV_the_onslaught_on_colonialism
		icon = GFX_goal_tfv_saf_anti_colonialist_crusade
		cost = 6
		prerequisite = {
			focus = SOV_a_global_class_struggle
		}
		x = -1
		y = 1
		relative_position_id = SOV_a_global_class_struggle
			available = {
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.10
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			search_filters = {

}
			completion_reward = {
					custom_effect_tooltip = SOV_the_onslaught_on_colonialism_decision_tt
				}

	}
	focus = {
		id = SOV_the_end_of_the_imperialist_era
		icon = GFX_focus_por_latin_american_communism
		cost = 6
		prerequisite = {
			focus = SOV_the_onslaught_on_colonialism
		}
		x = 0
		y = 1
		relative_position_id = SOV_the_onslaught_on_colonialism
			available = {
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.10
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			search_filters = {

}
			completion_reward = {
					custom_effect_tooltip = SOV_the_end_of_the_imperialist_era_decision_tt
				}

	}
	focus = {
		id = SOV_right_purges
		icon = GFX_focus_SOV_the_last_purge
		cost = 6
		prerequisite = {
			focus = SOV_administrative_reforms
		}
		mutually_exclusive = {
			focus = SOV_return_democracy_to_the_party
		}
		x = -3
		y = 1
		relative_position_id = SOV_administrative_reforms
			available = {

}
			search_filters = { FOCUS_FILTER_POLITICAL }
			completion_reward = {
					add_stability = 0.05
					add_war_support = 0.05
					add_political_power = 100
					custom_effect_tooltip = SOV_right_purges_tt
					IF = {
							limit = {
									has_character = SOV_lev_trotsky
								}
							SOV_lev_trotsky = {
									retire = yes
								}
						}
					IF = {
							limit = {
									has_character = SOV_ivan_smirnov
								}
							SOV_ivan_smirnov = {
									retire = yes
								}
						}
					IF = {
							limit = {
									has_character = SOV_ivar_smilga
								}
							SOV_ivar_smilga = {
									retire = yes
								}
						}
					IF = {
							limit = {
									has_character = SOV_aleksandr_shlyapnikov
								}
							SOV_aleksandr_shlyapnikov = {
									retire = yes
								}
						}
					custom_effect_tooltip = SOV_left_right_purges_factionalism_tt
					set_variable = {
							SOV_factionalism_political_power_factor = 0
						}
					IF = {
							limit = {
									has_idea = trotskyite_plot_nsb
								}
								remove_ideas = trotskyite_plot_nsb
						}
					IF = {
							limit = {
									has_idea = trotskyite_plot_purged
								}
								remove_ideas = trotskyite_plot_purged
						}
				}

	}
	focus = {
		id = SOV_the_power_of_the_peasantry
		icon = GFX_focus_SOV_breadbasket_of_the_union
		cost = 6
		prerequisite = {
			focus = SOV_coup_detat
		}
		x = -3
		y = 1
		relative_position_id = SOV_coup_detat
			available = {
					NOT = {
							has_global_flag = SOV_soviet_civil_war_over
						}
				}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_MANPOWER }
			completion_reward = {
					add_popularity = {
							ideology = communism
							popularity = 0.05
						}
					add_timed_idea = {
							idea = SOV_support_of_the_peasants_idea
							days = 365
						}
				}

	}
	focus = {
		id = SOV_a_new_theory_of_revolution
		icon = GFX_goal_generic_war_with_comintern
		cost = 6
		prerequisite = {
			focus = SOV_curtailment_of_the_collective_farms
		}
		x = 1
		y = 1
		relative_position_id = SOV_curtailment_of_the_collective_farms
			available = {
					SOV_nikolay_bukharin = {
							is_country_leader = yes
						}
				}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_STABILITY  FOCUS_FILTER_RESEARCH }
			completion_reward = {
					add_political_power = 75
					IF = {
							limit = {
									has_character = SOV_nikolay_bukharin
								}
							if = {
									limit = {
											SOV_nikolay_bukharin = {
													is_country_leader = yes
												}
										}
									swap_ruler_traits = {
											remove = defender_of_the_peasantry
											add = hero_of_the_peasantry
										}
								}
							else = {
									effect_tooltip = {
											add_trait = {
													character = SOV_nikolay_bukharin
													slot = country_leader
													trait = hero_of_the_peasantry
												}
										}
								}
						}
				}

	}
	focus = {
		id = SOV_back_to_the_nep
		icon = GFX_focus_generic_treaty
		cost = 6
		prerequisite = {
			focus = SOV_administrative_reforms
			focus = SOV_a_new_theory_of_revolution
		}
		x = -1
		y = 1
		relative_position_id = SOV_a_new_theory_of_revolution
			available = {
					has_global_flag = SOV_soviet_civil_war_over
				}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_STABILITY }
			completion_reward = {
					custom_effect_tooltip = SOV_back_to_the_nep_new_economy_law
					add_ideas = new_economic_policy
					add_stability = 0.05
				}

	}
	focus = {
		id = SOV_planned_economy
		icon = GFX_goal_generic_positive_trade_relations
		cost = 6
		prerequisite = {
			focus = SOV_back_to_the_nep
		}
		x = 0
		y = 1
		relative_position_id = SOV_back_to_the_nep
			available = {

}
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					if = {
							limit = {
									num_subjects > 0
								}
							every_subject_country = {
									country_event = {
											id = NSB_soviet_planned_economy.1
										}
									effect_tooltip = {
											add_tech_bonus = {
													name = SOV_planned_economy
													bonus = 1.0
													uses = 1
													category = industry
												}
											add_ideas = new_economic_policy
										}
								}
						}
					else = {
							custom_effect_tooltip = SOV_planned_economy_subjects_tt
							effect_tooltip = {
									country_event = {
											id = NSB_soviet_planned_economy.1
										}
									add_tech_bonus = {
											name = SOV_planned_economy
											bonus = 1.0
											uses = 1
											category = industry
										}
									add_ideas = new_economic_policy
								}
						}
					custom_effect_tooltip = SOV_planned_economy_dynamic_modifier_tt
					hidden_effect = {
							add_dynamic_modifier = {
									modifier = SOV_planned_economy_dynamic_modifier
								}
						}
				}

	}
	focus = {
		id = SOV_paced_industrialization
		icon = GFX_focus_generic_industry_2
		cost = 6
		prerequisite = {
			focus = SOV_planned_economy
		}
		x = 2
		y = 1
		relative_position_id = SOV_planned_economy
			available = {

}
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					random_owned_controlled_state = {
							prioritize = { 252  254 }
							limit = {
									free_building_slots = {
											building = arms_factory
											size > 1
											include_locked = yes
										}
								}
							add_building_construction = {
									type = arms_factory
									level = 2
									instant_build = yes
								}
						}
					random_owned_controlled_state = {
							prioritize = { 252  254 }
							limit = {
									free_building_slots = {
											building = arms_factory
											size > 1
											include_locked = yes
										}
								}
							add_building_construction = {
									type = arms_factory
									level = 2
									instant_build = yes
								}
						}
					random_owned_controlled_state = {
							prioritize = { 256  239  260 }
							limit = {
									free_building_slots = {
											building = industrial_complex
											size > 1
											include_locked = yes
										}
								}
							add_building_construction = {
									type = industrial_complex
									level = 2
									instant_build = yes
								}
						}
					random_owned_controlled_state = {
							prioritize = { 256  239  260 }
							limit = {
									free_building_slots = {
											building = industrial_complex
											size > 1
											include_locked = yes
										}
								}
							add_building_construction = {
									type = industrial_complex
									level = 2
									instant_build = yes
								}
						}
				}

	}
	focus = {
		id = SOV_international_revolutionary_marxist_centre
		icon = GFX_focus_spr_unify_the_london_bureau
		cost = 6
		prerequisite = {
			focus = SOV_planned_economy
		}
		x = -1
		y = 1
		relative_position_id = SOV_planned_economy
			available = {
					surrender_progress < 0.1
					OR = {
							is_faction_leader = yes
							is_in_faction = no
						}
				}
			search_filters = { FOCUS_FILTER_POLITICAL }
			completion_reward = {
					add_political_power = 75
					add_popularity = {
							ideology = communism
							popularity = 0.1
						}
					IF = {
							limit = {
									NOT = {
											has_completed_focus = SOV_the_socialist_bulwark
										}
								}
							set_rule = {
									can_join_factions = yes
								}
						}
					if = {
							limit = {
									is_faction_leader = yes
								}
							set_faction_name = SOV_international_revolutionary_marxist_centre_faction_name
						}
					else_if = {
							limit = {
									is_in_faction = no
								}
							create_faction = SOV_international_revolutionary_marxist_centre_faction_name
							every_subject_country = {
									ROOT = {
											add_to_faction = PREV
										}
								}
						}
					every_other_country = {
							limit = {
									is_in_faction_with = ROOT
									NOT = {
											has_country_leader_ideology = stalinism
										}
								}
							set_country_leader_ideology = marxism
							custom_effect_tooltip = SOV_international_revolutionary_marxist_centre_marxism_tt
						}
					if = {
							limit = {
									any_other_country = {
											has_government = communism
											NOT = {
													has_country_leader_ideology = stalinism
												}
											is_in_faction = no
											NOT = {
													has_war_with = ROOT
												}
										}
								}
							custom_effect_tooltip = SOV_international_revolutionary_marxist_centre_allies_tt
							every_other_country = {
									limit = {
											has_government = communism
											NOT = {
													has_country_leader_ideology = stalinism
												}
											is_in_faction = no
											NOT = {
													has_war_with = ROOT
												}
										}
									add_opinion_modifier = {
											modifier = SOV_international_socialist_association
											target = ROOT
										}
									country_event = {
											id = generic.5
											hours = 8
											random_hours = 8
										}
								}
						}
					else = {
							custom_effect_tooltip = SOV_international_revolutionary_marxist_centre_no_allies_tt
							effect_tooltip = {
									every_other_country = {
											limit = {
													has_government = communism
													NOT = {
															has_country_leader_ideology = stalinism
														}
													is_in_faction = no
													NOT = {
															has_war_with = ROOT
														}
												}
											add_opinion_modifier = {
													modifier = SOV_international_socialist_association
													target = ROOT
												}
											country_event = {
													id = generic.5
													hours = 8
													random_hours = 8
												}
										}
								}
						}
					if = {
							limit = {
									any_other_country = {
											has_country_leader_ideology = stalinism
										}
								}
							custom_effect_tooltip = SOV_international_revolutionary_marxist_centre_stalinists_tt
							every_other_country = {
									limit = {
											has_country_leader_ideology = stalinism
										}
									add_opinion_modifier = {
											modifier = SOV_international_socialist_association_bad
											target = ROOT
										}
								}
						}
					else = {
							custom_effect_tooltip = SOV_international_revolutionary_marxist_centre_stalinists_tt
							every_other_country = {
									limit = {
											has_country_leader_ideology = stalinism
										}
									add_opinion_modifier = {
											modifier = SOV_international_socialist_association_bad
											target = ROOT
										}
								}
						}
				}

	}
	focus = {
		id = SOV_incorporate_local_organizations
		icon = GFX_goal_generic_major_alliance
		cost = 6
		prerequisite = {
			focus = SOV_international_revolutionary_marxist_centre
		}
		x = 1
		y = 1
		relative_position_id = SOV_international_revolutionary_marxist_centre
			available = {

}
			search_filters = { FOCUS_FILTER_POLITICAL }
			completion_reward = {
					add_ideas = SOV_local_organizations_idea
				}

	}
	focus = {
		id = SOV_the_trade_union_as_labor_organizer
		icon = GFX_goal_generic_consumer_goods
		cost = 6
		prerequisite = {
			focus = SOV_incorporate_local_organizations
		}
		prerequisite = {
			focus = SOV_for_the_common_good
		}
		x = -1
		y = 1
		relative_position_id = SOV_incorporate_local_organizations
			available = {
					has_idea = SOV_mikhail_tomsky
				}
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					remove_trait = {
							character = SOV_mikhail_tomsky
							slot = political_advisor
							trait = right_trade_unionist
						}
					add_trait = {
							character = SOV_mikhail_tomsky
							slot = political_advisor
							trait = chair_of_the_unions
						}
				}

	}
	focus = {
		id = SOV_for_the_common_good
		icon = GFX_focus_eng_concessions_to_the_trade_unions
		cost = 6
		prerequisite = {
			focus = SOV_international_revolutionary_marxist_centre
		}
		mutually_exclusive = {
			focus = SOV_strengthen_the_trade_unions
		}
		x = -2
		y = 1
		relative_position_id = SOV_international_revolutionary_marxist_centre
			available = {
					is_faction_leader = yes
					is_subject = no
				}
			search_filters = {

}
			completion_reward = {
					every_subject_country = {
							country_event = {
									id = NSB_soviet_for_the_common_good.1
									hours = 4
								}
							custom_effect_tooltip = if_they_accept
							effect_tooltip = {
									add_ideas = SOV_for_the_common_good_subjects
									add_autonomy_score = {
											value = -100
											localization = SOV_for_the_common_good
										}
								}
						}
					every_other_country = {
							limit = {
									is_in_faction_with = ROOT
									is_subject = no
								}
							country_event = {
									id = NSB_soviet_for_the_common_good.1
									hours = 4
								}
							custom_effect_tooltip = if_they_accept
							effect_tooltip = {
									add_ideas = SOV_for_the_common_good_allies
									if = {
											limit = {
													has_dlc = "Death or Dishonor"
												}
											add_relation_modifier = {
													target = ROOT
													modifier = SOV_for_the_common_good_relation
												}
										}
								}
						}
				}

	}
	focus = {
		id = SOV_victory_over_devastation
		icon = GFX_focus_generic_support_the_left_right
		cost = 6
		prerequisite = {
			focus = SOV_for_the_common_good
		}
		x = 0
		y = 1
		relative_position_id = SOV_for_the_common_good
			available = {

}
			search_filters = {

}
			completion_reward = {
					set_variable = {
							SOV_planned_economy_party_popularity_stability_factor = 0.15
						}
					set_variable = {
							SOV_planned_economy_max_surrender_limit_offset = 0.1
						}
					set_variable = {
							SOV_planned_economy_industry_repair_factor = 0.1
						}
					set_variable = {
							SOV_planned_economy_consumer_goods_factor = -0.02
						}
					custom_effect_tooltip = SOV_victory_over_devastation_tt
					divide_variable = {
							SOV_industrial_relocation_days = 2
						}
					custom_effect_tooltip = SOV_victory_over_devastation_industrial_relocation_tt
				}

	}
	focus = {
		id = SOV_socialist_humanism
		icon = GFX_focus_research
		cost = 6
		prerequisite = {
			focus = SOV_victory_over_devastation
		}
		prerequisite = {
			focus = SOV_victory_over_devastation
		}
		prerequisite = {
			focus = SOV_victory_over_devastation
		}
		x = 0
		y = 1
		relative_position_id = SOV_victory_over_devastation
			available = {

}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_STABILITY }
			completion_reward = {
					add_ideas = progress_cult_focus
					if = {
							limit = {
									has_idea = SOV_politicized_military
								}
							swap_ideas = {
									remove_idea = SOV_politicized_military
									add_idea = SOV_politicized_military_humanism
								}
						}
					else_if = {
							limit = {
									has_idea = SOV_politicized_military_keep
								}
							swap_ideas = {
									remove_idea = SOV_politicized_military_keep
									add_idea = SOV_politicized_military_keep_humanism
								}
						}
					else_if = {
							limit = {
									has_idea = SOV_politicized_military_swap
								}
							swap_ideas = {
									remove_idea = SOV_politicized_military_swap
									add_idea = SOV_politicized_military_swap_humanism
								}
						}
				}

	}
	focus = {
		id = SOV_a_sustainable_economy
		icon = GFX_focus_prc_agrarian_socialism
		cost = 6
		prerequisite = {
			focus = SOV_paced_industrialization
		}
		x = 0
		y = 1
		relative_position_id = SOV_paced_industrialization
			available = {
					has_idea = new_economic_policy
					custom_trigger_tooltip = {
							tooltip = SOV_fyp_controlled_factories_tier_4_tt
							NOT = {
									num_of_controlled_factories < SOV_fyp_factory_requirement_tier_4
								}
						}
				}
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					swap_ideas = {
							remove_idea = new_economic_policy
							add_idea = new_economic_policy_2
						}
				}

	}
	focus = {
		id = SOV_the_enemies_of_the_people
		icon = GFX_focus_spr_the_anti_fascist_workers_revolution
		cost = 6
		prerequisite = {
			focus = SOV_incorporate_local_organizations
		}
		prerequisite = {
			focus = SOV_a_sustainable_economy
		}
		x = -1
		y = 1
		relative_position_id = SOV_a_sustainable_economy
			available = {
					surrender_progress < 0.1
					is_subject = no
				}
			search_filters = {

}
			completion_reward = {
					every_country = {
							limit = {
									OR = {
											tag = ROOT
											is_in_faction_with = ROOT
										}
								}
							add_timed_idea = {
									idea = SOV_enemies_of_the_people_idea
									days = 365
								}
						}
				}

	}
	focus = {
		id = SOV_proclaim_soviet_hegemony
		icon = GFX_focus_SOV_proclaim_soviet_hegemony
		cost = 6
		prerequisite = {
			focus = SOV_the_enemies_of_the_people
		}
		x = 0
		y = 1
		relative_position_id = SOV_the_enemies_of_the_people
			available = {
					surrender_progress < 0.1
					is_subject = no
					num_of_factories > 160
					has_stability > 0.50
					has_war_support > 0.50
					date > 1940.1.1
					NOT = { has_idea = SOV_enemies_of_the_people_idea }
				}
			search_filters = { FOCUS_FILTER_WAR_SUPPORT  FOCUS_FILTER_POLITICAL }
			completion_reward = {
					add_war_support = 0.1
					every_other_country = {
							limit = {
									is_neighbor_of = ROOT
									num_of_factories > 35
									is_subject = no
									OR = { has_government = fascism	has_government = neutrality }
								}
							ROOT = {
									create_wargoal = {
											type = puppet_wargoal_focus
											target = PREV
										}
								}
						}
					add_timed_idea = {
							idea = SOV_soviet_hegemony_idea
							days = 730
						}
				}

	}
	focus = {
		id = SOV_align_the_zinovyevites
		icon = GFX_focus_SOV_zinovyevists
		cost = 6
		prerequisite = {
			focus = SOV_cooperation_against_stalin
		}
		x = -1
		y = 1
		relative_position_id = SOV_cooperation_against_stalin
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			search_filters = { FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					SOV_paranoia_medium_increase_effect = yes
					custom_effect_tooltip = SOV_align_the_zinovyevites_tt
					custom_effect_tooltip = SOV_align_the_zinovyevites_factionalism_tt
					add_to_variable = {
							SOV_factionalism_political_power_factor = -0.05
						}
					hidden_effect = {
							if = {
									limit = {
											SOV_is_left_opposition = yes
										}
									SOV_grigory_zinovyev = {
											set_character_flag = SOV_aligned_left_opposition_flag
											clr_character_flag = SOV_imprisoned_flag
											set_character_flag = SOV_exiled_flag
											set_portraits = {
													army = {
															small = "GFX_idea_SOV_grigory_zinovyev"
														}
												}
										}
									SOV_lev_kamenev = {
											set_character_flag = SOV_aligned_left_opposition_flag
											clr_character_flag = SOV_imprisoned_flag
											set_character_flag = SOV_exiled_flag
											set_portraits = {
													army = {
															small = "GFX_idea_SOV_lev_kamenev"
														}
												}
										}
								}
							else_if = {
									limit = {
											SOV_is_right_opposition = yes
										}
									SOV_grigory_zinovyev = {
											set_character_flag = SOV_aligned_right_opposition_flag
											clr_character_flag = SOV_imprisoned_flag
											set_character_flag = SOV_exiled_flag
											set_portraits = {
													army = {
															small = "GFX_idea_SOV_grigory_zinovyev"
														}
												}
										}
									SOV_lev_kamenev = {
											set_character_flag = SOV_aligned_right_opposition_flag
											clr_character_flag = SOV_imprisoned_flag
											set_character_flag = SOV_exiled_flag
											set_portraits = {
													army = {
															small = "GFX_idea_SOV_lev_kamenev"
														}
												}
										}
								}
						}
				}

	}
	focus = {
		id = SOV_nkvd_primacy
		icon = GFX_goal_generic_military_deal
		cost = 5
		prerequisite = {
			focus = SOV_the_workers_dictatorship
		}
		prerequisite = {
			focus = SOV_the_komsomol
		}
		x = 43
		y = 7
			available = {

}
			search_filters = { FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					add_ideas = SOV_nkvd_nsb
					SOV_paranoia_medium_increase_effect = yes
				}

	}
	focus = {
		id = SOV_war_heroes
		icon = GFX_goal_generic_war_with_comintern
		cost = 6
		prerequisite = {
			focus = SOV_lessons_of_war
		}
		x = 39
		y = 5
			available = {
					OR = {
							has_war_support > 0.75
							has_war = yes
						}
				}
			search_filters = {

}
			completion_reward = {
					custom_effect_tooltip = ITA_battaglioni_d_assalto_tt
					hidden_effect = {
							set_technology = {
									blackshirt_assault_battalion_tech = 1
									popup = no
								}
						}
					add_timed_idea = {
							idea = SOV_war_heroes_ns
							days = 365
						}
					if = {
							limit = {
									SOV_georgy_zhukov = {
											NOT = {
													has_character_flag = SOV_character_purged_flag
												}
											is_corps_commander = yes
										}
								}
							SOV_georgy_zhukov = {
									promote_leader = yes
								}
						}
					else = {
							random_army_leader = {
									limit = {
											NOT = {
													has_character_flag = SOV_potential_target_flag
												}
											is_corps_commander = yes
											NOT = {
													is_character = SOV_konstantin_rokossovsky
												}
											NOT = {
													is_character = SOV_ivan_konev
												}
										}
									promote_leader = yes
								}
						}
					if = {
							limit = {
									SOV_konstantin_rokossovsky = {
											NOT = {
													has_character_flag = SOV_character_purged_flag
												}
											is_corps_commander = yes
										}
								}
							SOV_konstantin_rokossovsky = {
									promote_leader = yes
								}
						}
					else = {
							random_army_leader = {
									limit = {
											NOT = {
													has_character_flag = SOV_potential_target_flag
												}
											is_corps_commander = yes
											NOT = {
													is_character = SOV_georgy_zhukov
												}
											NOT = {
													is_character = SOV_ivan_konev
												}
										}
									promote_leader = yes
								}
						}
					if = {
							limit = {
									SOV_ivan_konev = {
											NOT = {
													has_character_flag = SOV_character_purged_flag
												}
											is_corps_commander = yes
										}
								}
							SOV_ivan_konev = {
									promote_leader = yes
								}
						}
					else = {
							random_army_leader = {
									limit = {
											NOT = {
													has_character_flag = SOV_potential_target_flag
												}
											is_corps_commander = yes
											NOT = {
													is_character = SOV_georgy_zhukov
												}
											NOT = {
													is_character = SOV_konstantin_rokossovsky
												}
										}
									promote_leader = yes
								}
						}
				}

	}
	focus = {
		id = SOV_patriarch_of_all_russia
		icon = GFX_focus_SOV_patriarch_of_all_russia
		cost = 5
		prerequisite = {
			focus = SOV_nkvd_primacy
		}
		x = 44
		y = 8
			available = {

}
			search_filters = { FOCUS_FILTER_STABILITY }
			completion_reward = {
					add_stability = 0.1
					custom_effect_tooltip = available_political_advisor
					show_ideas_tooltip = SOV_patriarch_sergy
				}

	}
	focus = {
		id = SOV_approach_semyonov
		icon = GFX_focus_SOV_approach_semyonov
		cost = 5
		prerequisite = {
			focus = SOV_muster_the_old_guard
		}
		x = 0
		y = 1
		relative_position_id = SOV_muster_the_old_guard
			ai_will_do = {
					factor = 1
				}
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			bypass = {

}
			available_if_capitulated = yes
			search_filters = {

}
			completion_reward = {
					custom_effect_tooltip = SOV_approach_semyonov_tt
					add_command_power = 25
				}

	}
	focus = {
		id = SOV_south_manchuria_railway
		icon = GFX_focus_SOV_south_manchuria_railway
		cost = 5
		prerequisite = {
			focus = SOV_approach_semyonov
		}
		x = 0
		y = 1
		relative_position_id = SOV_approach_semyonov
			ai_will_do = {
					factor = 1
				}
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			bypass = {

}
			available_if_capitulated = yes
			search_filters = { FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					SOV_paranoia_low_increase_effect = yes
					custom_effect_tooltip = SOV_sway_the_railway_workers_tt
					set_country_flag = SOV_supply_hub_flag
				}

	}
	focus = {
		id = SOV_organize_wreckers
		icon = GFX_focus_SOV_organize_wreckers
		cost = 5
		prerequisite = {
			focus = SOV_muster_the_old_guard
			focus = SOV_fascist_youth_union
		}
		x = 2
		y = 1
		relative_position_id = SOV_muster_the_old_guard
			ai_will_do = {
					factor = 1
				}
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			bypass = {
					OR = {
							has_global_flag = SOV_soviet_civil_war_over
							has_global_flag = SOV_soviet_civil_war
						}
			} 
			available_if_capitulated = yes
			search_filters = { FOCUS_FILTER_SOV_POLITICAL_PARANOIA }
			completion_reward = {
					add_political_power = 100
					set_country_flag = SOV_organize_wreckers_flag
					SOV_paranoia_low_increase_effect = yes
					SOV_opposition_support_high_increase_effect = yes
					custom_effect_tooltip = SOV_organize_wreckers_tt
				}

	}
	focus = {
		id = SOV_the_eyes_fear
		icon = GFX_goal_generic_secret_weapon
		cost = 5
		prerequisite = {
			focus = SOV_approach_semyonov
			focus = SOV_covert_operations
			focus = SOV_organize_wreckers
		}
		x = 0
		y = 1
		relative_position_id = SOV_organize_wreckers
			ai_will_do = {
					factor = 1
				}
			available = {
					SOV = {
							OR = {
									fascism > 0.20
									neutrality > 0.20
								}
						}
					SOV_soviet_civil_war_not_started = yes
				}
			bypass = {
					OR = {
							has_global_flag = SOV_soviet_civil_war_over
							has_global_flag = SOV_soviet_civil_war
						}
				}
			available_if_capitulated = yes
			search_filters = {

}
			completion_reward = {
					set_country_flag = Sov_the_eyes_fear_flag
					custom_effect_tooltip = SOV_the_eyes_fear_tt
				}

	}
	focus = {
		id = SOV_the_hands_do
		icon = GFX_goal_generic_major_war
		cost = 5
		prerequisite = {
			focus = SOV_the_eyes_fear
		}
		x = 0
		y = 1
		relative_position_id = SOV_the_eyes_fear
			ai_will_do = {
					factor = 1
				}
			available = {
					SOV_soviet_civil_war_not_started = yes
				}
			bypass = {
					OR = {
							has_global_flag = SOV_soviet_civil_war_over
							has_global_flag = SOV_soviet_civil_war
						}
				}
			available_if_capitulated = yes
			search_filters = {

}
			completion_reward = {
					country_event = {
							id = NSB_Soviet_fascist_civil_war.001
							hours = 6
							random_hours = 6
						}
					SOV_opposition_support_high_increase_effect = yes
					SOV_increase_opposition_army_support = yes
					custom_effect_tooltip = SOV_the_hands_do_tt
					mark_focus_tree_layout_dirty = yes
				}

	}
	focus = {
		id = SOV_sabotage_behind_enemy_lines
		icon = GFX_focus_prc_infiltration
		cost = 5
		prerequisite = {
			focus = SOV_the_hands_do
		}
		x = -4
		y = 1
		relative_position_id = SOV_the_hands_do
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = yes
			search_filters = {

}
			completion_reward = {
					unlock_decision_tooltip = {
							decision = SOV_sabotage_behind_enemy_lines_decision
							show_effect_tooltip = yes
							show_modifiers = no
						}
				}

	}
	focus = {
		id = SOV_call_for_aid
		icon = GFX_goal_tripartite_pact
		cost = 5
		prerequisite = {
			focus = SOV_sabotage_behind_enemy_lines
		}
		x = 0
		y = 1
		relative_position_id = SOV_sabotage_behind_enemy_lines
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = yes
			search_filters = { }
			completion_reward = {
					every_other_country = {
							limit = {
									is_major = yes
									OR = {
											has_government = fascism
											AND = {
													tag = JAP
													has_government = neutrality
												}
											AND = {
													tag = ITA
													has_government = neutrality
												}
											AND = {
													tag = GER
													has_government = neutrality
												}
											AND = {
													tag = ENG
													has_government = neutrality
												}
										}
								}
							add_opinion_modifier = {
									target = ROOT
									modifier = SOV_support_for_exiles
								}
							add_ai_strategy = {
									type = send_volunteers_desire
									id = SOV
									value = 200
								}
							add_ai_strategy = {
									type = send_lend_lease_desire
									id = SOV
									value = 200
								}
						}
				}

	}
	
	focus = {
		id = SOV_request_imperial_protection
		icon = GFX_focus_jap_showa_restoration
		cost = 6
		prerequisite = {
			focus = SOV_call_for_aid
		}
		x = 0
		y = 1
		relative_position_id = SOV_call_for_aid
			ai_will_do = {
					factor = 0
					modifier = {
							factor = 0# No point asking for japanese help if we are winning, unless we get stuck
							surrender_progress < 0.2
						}
				}
			available = {
					has_global_flag = SOV_soviet_civil_war
					surrender_progress > 0.2
					OR = {
							has_country_flag = SOV_CSW_transfer_vladivostok_flag
							has_country_flag = SOV_CSW_transfer_sakhalin_flag
						}
				}
			available_if_capitulated = yes
			search_filters = {

}
			completion_reward = {
					JAP = {
							country_event = {
									id = NSB_soviet_civil_war_common.121
									days = 2
									random_days = 3
								}
						}
					custom_effect_tooltip = SOV_request_imperial_protection_tt
				}

	}

	focus = {
		id = SOV_consolidate_power
		icon = GFX_goal_generic_political_pressure
		cost = 5
		prerequisite = {
			focus = SOV_the_hands_do
		}
		x = 0
		y = 1
		relative_position_id = SOV_the_hands_do
			ai_will_do = {
					factor = 1
				}
			available = {
					has_global_flag = SOV_soviet_civil_war_over
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_STABILITY }
			completion_reward = {
					add_timed_idea = {
							idea = SOV_consolidate_power
							days = 365
						}
					custom_effect_tooltip = SOV_consolidate_power_tt
				}

	}
	focus = {
		id = SOV_rebuild_the_nation
		icon = GFX_goal_generic_construct_civilian
		cost = 5
		prerequisite = {
			focus = SOV_reformalize_the_role_of_the_patriarchate
			focus = SOV_consolidate_power
		}
		x = -3
		y = 1
		relative_position_id = SOV_reformalize_the_role_of_the_patriarchate
			ai_will_do = {
					factor = 1
				}
			available = {
					has_global_flag = SOV_soviet_civil_war_over
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_POLITICAL }
			completion_reward = {
					if = {
							limit = {
									has_idea = trotskyite_plot_nsb
								}
							remove_ideas = trotskyite_plot_nsb
						}
					if = {
							limit = {
									has_idea = trotskyite_plot_purged
								}
							remove_ideas = trotskyite_plot_purged
						}
					add_timed_idea = {
							idea = SOV_rebuild_the_nation
							days = 730
						}
					random_owned_controlled_state = {
							limit = {
									free_building_slots = {
											building = industrial_complex
											size > 2
										}
									is_core_of = ROOT
								}
							add_extra_state_shared_building_slots = 3
							add_building_construction = {
									type = industrial_complex
									level = 3
									instant_build = yes
								}
						}
				}

	}
	focus = {
		id = SOV_aristocratic_investments
		icon = GFX_focus_generic_industry_3
		cost = 6
		prerequisite = {
			focus = SOV_rebuild_the_nation
		}
		x = 0
		y = 1
		relative_position_id = SOV_rebuild_the_nation
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					add_timed_idea = {
							idea = SOV_aristocratic_investments_idea
							days = 730
						}
					random_owned_controlled_state = {
							add_extra_state_shared_building_slots = 2
							add_building_construction = {
									type = arms_factory
									level = 2
									instant_build = yes
								}
							set_state_flag = SOV_national_unification_factory_bonus_flag
						}
					random_owned_controlled_state = {
							limit = {
									Not = {
											has_state_flag = SOV_national_unification_factory_bonus_flag
										}
								}
							add_extra_state_shared_building_slots = 2
							add_building_construction = {
									type = arms_factory
									level = 2
									instant_build = yes
								}
						}
				}

	}
	focus = {
		id = SOV_restore_the_glory_of_the_motherland
		icon = GFX_goal_generic_construction
		cost = 6
		prerequisite = {
			focus = SOV_consolidate_power
		}
		x = 0
		y = 1
		relative_position_id = SOV_consolidate_power
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					create_corps_commander = {
							name = "Oleg Ivanov"
							gfx = GFX_portrait_europe_generic_land_13
							traits = { infantry_officer  winter_specialist }
							skill = 2
							attack_skill = 3
							defense_skill = 2
							planning_skill = 1
							logistics_skill = 2
						}
					create_corps_commander = {
							name = "Sergey Popov"
							gfx = GFX_portrait_europe_generic_land_19
							traits = { career_officer  winter_specialist }
							skill = 2
							attack_skill = 2
							defense_skill = 3
							planning_skill = 3
							logistics_skill = 2
						}
					create_corps_commander = {
							name = "Ivan Shaposhnikov"
							gfx = GFX_Portrait_Europe_Generic_land_1
							traits = { brilliant_strategist  armor_officer  winter_specialist }
							skill = 4
							attack_skill = 3
							defense_skill = 3
							planning_skill = 3
							logistics_skill = 3
						}
					create_corps_commander = {
							name = "Dmitry Chibisov"
							gfx = GFX_Portrait_Europe_Generic_land_3
							traits = { trickster  winter_specialist }
							skill = 2
							attack_skill = 4
							defense_skill = 2
							planning_skill = 2
							logistics_skill = 3
						}
					create_corps_commander = {
							name = "Nikolay Konev"
							gfx = GFX_Portrait_Europe_Generic_land_4
							traits = { harsh_leader  winter_specialist }
							skill = 2
							attack_skill = 2
							defense_skill = 2
							planning_skill = 2
							logistics_skill = 2
						}
					add_ideas = SOV_restore_the_glory_of_the_motherland
				}

	}
	focus = {
		id = SOV_offer_autonomy_to_former_soviet_republics
		icon = GFX_goal_generic_forceful_treaty
		cost = 5
		prerequisite = {
			focus = SOV_restore_the_glory_of_the_motherland
		}
		mutually_exclusive = {
			focus = SOV_bringing_breakaways_back_to_the_fold
		}
		x = -2
		y = 1
		relative_position_id = SOV_restore_the_glory_of_the_motherland
			ai_will_do = {
					factor = 1
				}
			available = {
					any_country = {
							has_country_flag = SOV_breakaway_country_flag
						}
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					every_country = {
							limit = {
									has_country_flag = SOV_breakaway_country_flag
									NOT = {
											is_in_faction_with = ROOT
										}
								}
							country_event = {
									id = NSB_soviet_nationalist.002
									days = 3
									random_days = 3
								}
						}
				}

	}
	focus = {
		id = SOV_bringing_breakaways_back_to_the_fold
		icon = GFX_goal_generic_demand_territory
		cost = 6
		prerequisite = {
			focus = SOV_restore_the_glory_of_the_motherland
		}
		mutually_exclusive = {
			focus = SOV_offer_autonomy_to_former_soviet_republics
		}
		x = 0
		y = 1
		relative_position_id = SOV_restore_the_glory_of_the_motherland
			ai_will_do = {
					factor = 1
				}
			available = {
					any_country = {
							has_country_flag = SOV_breakaway_country_flag
						}
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_POLITICAL }
			completion_reward = {
					every_country = {
							limit = {
									has_country_flag = SOV_breakaway_country_flag
								}
							ROOT = {
									create_wargoal = {
											type = take_core_state
											target = PREV
										}
								}
						}
				}

	}
	focus = {
		id = SOV_reconvene_the_zemsky_sobor
		icon = GFX_focus_SOV_zemsky_sobor
		cost = 6
		prerequisite = {
			focus = SOV_aristocratic_investments
		}
		x = 0
		y = 1
		relative_position_id = SOV_aristocratic_investments
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			available = {
					has_civil_war = no
				}
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_STABILITY }
			completion_reward = {
					add_timed_idea = {
							idea = SOV_romanov_spirit_idea
							days = 365
						}
					custom_effect_tooltip = SOV_reconvene_the_zemsky_sobor_tt
					country_event = NSB_soviet_fascist_tsarist.14
					SOV_aleksandr_kazembek = {
							clr_character_flag = SOV_exiled_flag
						}
					SOV_anastasy_vonsyatsky = {
							clr_character_flag = SOV_exiled_flag
						}
					custom_effect_tooltip = SOV_recognized_country_tt
					set_rule = {
							can_join_factions = yes
							can_send_volunteers = yes
							can_create_factions = yes
						}
				}

	}
	focus = {
		id = SOV_dismantle_the_zemsky_sobor
		icon = GFX_goal_support_fascism
		cost = 6
		prerequisite = {
			focus = SOV_reconvene_the_zemsky_sobor
		}
		mutually_exclusive = {
			focus = SOV_church_candidates
			focus = SOV_romanov_reconstruction
			focus = SOV_restore_democratic
		}
		x = 7
		y = 1
		relative_position_id = SOV_reconvene_the_zemsky_sobor
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_STABILITY  FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					hidden_effect = {
							set_temp_variable = {
									var = dismantle_the_zemsky_sobor_var
									value = party_popularity@fascism
								}
							subtract_from_temp_variable = {
									var = dismantle_the_zemsky_sobor_var
									value = 0.75
								}
							multiply_temp_variable = {
									var = dismantle_the_zemsky_sobor_var
									value = 0.5
								}
						}
					custom_effect_tooltip = SOV_dismantle_the_zemsky_sobor_tt
					add_stability = dismantle_the_zemsky_sobor_var
					retire_character = SOV_tsar_vladimir_kirillovich
					add_ideas = SOV_tsar_vladimir_i
					set_politics = {
							ruling_party = fascism
							elections_allowed = yes
						}
					add_popularity = {
							ideology = fascism
							popularity = 0.15
						}
					promote_character = SOV_konstantin_rodzayevsky
					news_event = {
							id = nsb_news.401
							hours = 12
						}
					IF = {
							limit = {
									has_idea = SOV_uncertain_counter_revolution_idea
								}
							remove_ideas = SOV_uncertain_counter_revolution_idea
						}
				}

	}
	focus = {
		id = SOV_russian_corporate_state
		icon = GFX_focus_generic_industry_3
		cost = 6
		prerequisite = {
			focus = SOV_dismantle_the_zemsky_sobor
		}
		x = 0
		y = 1
		relative_position_id = SOV_dismantle_the_zemsky_sobor
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_INDUSTRY }
			complete_tooltip = {
					every_state = {
							limit = {
									has_state_flag = SOV_russian_corporate_state_2IC
								}
							add_extra_state_shared_building_slots = 2
							add_building_construction = {
									type = industrial_complex
									level = 2
									instant_build = yes
								}
						}
					add_ideas = SOV_russian_corporate_state
				}
			completion_reward = {
					random_owned_controlled_state = {
							limit = {
									free_building_slots = {
											building = industrial_complex
											size > 1
											include_locked = yes
										}
									is_core_of = ROOT
								}
							add_extra_state_shared_building_slots = 2
							add_building_construction = {
									type = industrial_complex
									level = 2
									instant_build = yes
								}
							set_state_flag = SOV_russian_corporate_state_2IC
						}
					random_owned_controlled_state = {
							limit = {
									free_building_slots = {
											building = industrial_complex
											size > 1
											include_locked = yes
										}
									NOT = {
											has_state_flag = SOV_russian_corporate_state_2IC
										}
									is_core_of = ROOT
								}
							add_extra_state_shared_building_slots = 2
							add_building_construction = {
									type = industrial_complex
									level = 2
									instant_build = yes
								}
							set_state_flag = SOV_russian_corporate_state_2IC
						}
					add_ideas = SOV_russian_corporate_state
				}

	}
	focus = {
		id = SOV_romanov_reconstruction
		icon = GFX_focus_generic_monarchy_2
		cost = 6
		prerequisite = {
			focus = SOV_reconvene_the_zemsky_sobor
		}
		mutually_exclusive = {
			focus = SOV_dismantle_the_zemsky_sobor
			focus = SOV_church_candidates
			focus = SOV_restore_democratic
		}
		x = -8
		y = 1
		relative_position_id = SOV_reconvene_the_zemsky_sobor
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_POLITICAL }
			completion_reward = {
					add_timed_idea = {
							idea = SOV_romanov_reconstruction
							days = 730
						}
					IF = {
							limit = {
									has_idea = SOV_uncertain_counter_revolution_idea
								}
							remove_ideas = SOV_uncertain_counter_revolution_idea
						}
				}

	}
	focus = {
		id = SOV_capital_of_the_tsars
		icon = GFX_focus_generic_monarchy_2
		cost = 6
		prerequisite = {
			focus = SOV_romanov_reconstruction
		}
		x = 1
		y = 1
		relative_position_id = SOV_romanov_reconstruction
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					if = {
							limit = {
									195 = {
											is_capital = no
										}
								}
							set_capital = {
									state = 195
								}
						}
					195 = {
							if = {
									limit = {
											free_building_slots = {
													building = industrial_complex
													size > 5
													include_locked = yes
												}
										}
									add_extra_state_shared_building_slots = 6
									add_building_construction = {
											type = industrial_complex
											level = 2
											instant_build = yes
										}
								}
							else_if = {
									limit = {
											free_building_slots = {
													building = industrial_complex
													size > 4
													include_locked = yes
												}
										}
									add_extra_state_shared_building_slots = 5
									add_building_construction = {
											type = industrial_complex
											level = 2
											instant_build = yes
										}
								}
							else_if = {
									limit = {
											free_building_slots = {
													building = industrial_complex
													size > 3
													include_locked = yes
												}
										}
									add_extra_state_shared_building_slots = 4
									add_building_construction = {
											type = industrial_complex
											level = 2
											instant_build = yes
										}
								}
							else_if = {
									limit = {
											free_building_slots = {
													building = industrial_complex
													size > 2
													include_locked = yes
												}
										}
									add_extra_state_shared_building_slots = 3
									add_building_construction = {
											type = industrial_complex
											level = 2
											instant_build = yes
										}
								}
							else_if = {
									limit = {
											free_building_slots = {
													building = industrial_complex
													size > 1
													include_locked = yes
												}
										}
									add_extra_state_shared_building_slots = 2
									add_building_construction = {
											type = industrial_complex
											level = 2
											instant_build = yes
										}
								}
							add_building_construction = {
									type = anti_air_building
									level = 2
									instant_build = yes
								}
							add_dynamic_modifier = {
									modifier = SOV_capital_of_the_tsars
								}
							custom_effect_tooltip = SOV_capital_of_the_tsars_tt
						}
				}

	}
	focus = {
		id = SOV_church_candidates
		icon = GFX_focus_generic_diplomatic_treaty
		cost = 6
		prerequisite = {
			focus = SOV_reconvene_the_zemsky_sobor
		}
		mutually_exclusive = {
			focus = SOV_dismantle_the_zemsky_sobor
			focus = SOV_romanov_reconstruction
			focus = SOV_restore_democratic
		}
		x = -3
		y = 1
		relative_position_id = SOV_reconvene_the_zemsky_sobor
			available = {
					has_completed_focus = SOV_reformalize_the_role_of_the_patriarchate
				}
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = yes
			search_filters = { FOCUS_FILTER_POLITICAL }
			completion_reward = {
					if = {
							limit = {
									NOT = {
											has_completed_focus = SOV_dismantle_the_zemsky_sobor
										}
								}
							add_popularity = {
									ideology = neutrality
									popularity = 0.1
								}
							SOV_increase_church_power = yes
						}
					if = {
							limit = {
									has_completed_focus = SOV_dismantle_the_zemsky_sobor
								}
							add_stability = 0.05
							SOV_increase_church_power = yes
						}
				}

	}
	focus = {
		id = SOV_return_of_the_rocor
		icon = GFX_goal_anti_comintern_pact
		cost = 5
		prerequisite = {
			focus = SOV_church_candidates
		}
		x = -1
		y = 1
		relative_position_id = SOV_church_candidates
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = yes
			search_filters = { FOCUS_FILTER_POLITICAL }
			completion_reward = {
					custom_effect_tooltip = SOV_the_return_of_the_rocor_tt
					add_popularity = {
							ideology = communism
							popularity = -0.1
						}
				}

	}
	focus = {
		id = SOV_rebuild_the_savior_cathedral
		icon = GFX_focus_SOV_rebuild_the_savior_cathedral
		cost = 6
		prerequisite = {
			focus = SOV_church_candidates
			focus = SOV_restore_democratic
		}
		x = 1
		y = 1
		relative_position_id = SOV_church_candidates
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = yes
			search_filters = { FOCUS_FILTER_STABILITY  FOCUS_FILTER_INDUSTRY }
			available = {
					has_full_control_of_state = 219
				}
			completion_reward = {
					add_stability = 0.1
					add_timed_idea = {
							idea = SOV_rebuild_the_savior_cathedral
							days = 365
						}
				}

	}
	focus = {
		id = SOV_reinstitute_the_mestnichestvo
		icon = GFX_focus_generic_manpower
		cost = 6
		prerequisite = {
			focus = SOV_romanov_reconstruction
		}
		x = -1
		y = 1
		relative_position_id = SOV_romanov_reconstruction
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_MANPOWER  FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					add_ideas = SOV_honest_serfdom_idea
				}

	}
	focus = {
		id = SOV_the_iron_wall_of_russian_resolve
		icon = GFX_goal_generic_army_tanks
		cost = 6
		prerequisite = {
			focus = SOV_reinstitute_the_mestnichestvo
		}
		prerequisite = {
			focus = SOV_capital_of_the_tsars
		}
		x = 1
		y = 1
		relative_position_id = SOV_reinstitute_the_mestnichestvo
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH }
			completion_reward = {
					random_owned_controlled_state = {
							limit = {
									free_building_slots = {
											building = arms_factory
											size > 1
											include_locked = yes
										}
								}
							add_extra_state_shared_building_slots = 2
							add_building_construction = {
									type = arms_factory
									level = 2
									instant_build = yes
								}
						}
					add_tech_bonus = {
							name = SOV_the_iron_wall_of_russian_resolve
							ahead_reduction = 2
							bonus = 1.0
							uses = 1
							technology = super_heavy_tank_chassis
						}
					add_ideas = SOV_the_iron_wall_of_russian_resolve
				}

	}
	focus = {
		id = SOV_the_third_rome
		icon = GFX_focus_SOV_third_rome
		cost = 6
		prerequisite = {
			focus = SOV_return_of_the_rocor
		}
		prerequisite = {
			focus = SOV_rebuild_the_savior_cathedral
		}
		x = -1
		y = 1
		relative_position_id = SOV_rebuild_the_savior_cathedral
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_POLITICAL  FOCUS_FILTER_STABILITY  FOCUS_FILTER_WAR_SUPPORT }
			completion_reward = {
					add_ideas = SOV_legacy_of_rome
					set_cosmetic_tag = SOV_ROME
					if = {
							limit = {
									NOT = {
											has_government = neutrality
										}
								}
							set_politics = {
									ruling_party = neutrality
									elections_allowed = no
								}
						}
					remove_ideas = SOV_tsar_vladimir_i
					custom_effect_tooltip = SOV_the_third_rome_tt
					promote_character = SOV_metropolitan_meletius
					set_country_leader_name = {
							ideology = neutrality
							name = SOV_patriarch_meletius
						}
					custom_effect_tooltip = SOV_the_third_rome_tt_2
					country_event = NSB_soviet_fascist_tsarist.15
					create_faction = "SOV_the_third_rome"
				}

	}
	focus = {
		id = SOV_memories_of_1905
		icon = GFX_goal_generic_demand_territory
		cost = 6
		prerequisite = {
			focus = SOV_the_iron_wall_of_russian_resolve
			focus = SOV_the_third_rome
		}
		x = -2
		y = 1
		relative_position_id = SOV_the_third_rome
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_WAR_SUPPORT  FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_NAVY_XP }
			completion_reward = {
					navy_experience = 15
					408 = {
							add_building_construction = {
									type = coastal_bunker
									level = 2
									instant_build = yes
									province = 957
								}
						}
					add_timed_idea = {
							idea = SOV_memories_of_1905_idea
							days = 365
						}
				}

	}
	
	focus = {
		id = SOV_the_rightful_heir_to_the_empire
		icon = GFX_goal_generic_demand_territory
		cost = 6
		prerequisite = {
			focus = SOV_the_third_rome
		}
		x = 2
		y = 1
		relative_position_id = SOV_memories_of_1905
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = { }
			available = {
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			completion_reward = {
					random_country = {
							limit = {
									owns_state = 2
								}
							SOV = {
									create_wargoal = {
											type = take_state_focus
											target = PREV
											generator = { 2 }
										}
								}
						}
					random_country = {
							limit = {
									owns_state = 454
								}
							SOV = {
									create_wargoal = {
											type = take_state_focus
											target = PREV
											generator = { 454 }
										}
								}
						}
					random_country = {
							limit = {
									owns_state = 797
								}
							SOV = {
									create_wargoal = {
											type = take_state_focus
											target = PREV
											generator = { 797 }
										}
								}
						}
					add_state_core = 2
					add_state_core = 797
					add_state_core = 454
				}

	}

	focus = {
		id = SOV_vengeance_for_the_yoke
		icon = GFX_focus_generic_attack_mongolia
		cost = 6
		prerequisite = {
			focus = SOV_offer_autonomy_to_former_soviet_republics
			focus = SOV_bringing_breakaways_back_to_the_fold
		}
		x = -1
		y = 1
		relative_position_id = SOV_bringing_breakaways_back_to_the_fold
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			will_lead_to_war_with = MON
			search_filters = { FOCUS_FILTER_ANNEXATION }
			available = {
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			completion_reward = {
					create_wargoal = {
							type = annex_everything
							target = MON
						}
				}

	}
	focus = {
		id = SOV_westward_bound
		icon = GFX_goal_generic_construct_military
		cost = 6
		prerequisite = {
			focus = SOV_russian_corporate_state
		}
		mutually_exclusive = {
			focus = SOV_the_berlin_moscow_axis
		}
		x = -2
		y = 1
		relative_position_id = SOV_russian_corporate_state
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_INDUSTRY }
			available = {
					has_full_control_of_state = 213
					has_full_control_of_state = 214
					has_full_control_of_state = 208
				}
			completion_reward = {
					213 = {
							if = {
									limit = {
											free_building_slots = {
													building = infrastructure
													size > 1
												}
										}
									add_building_construction = {
											type = infrastructure
											level = 2
											instant_build = yes
										}
								}
							else_if = {
									limit = {
											free_building_slots = {
													building = infrastructure
													size > 0
												}
										}
									add_building_construction = {
											type = infrastructure
											level = 1
											instant_build = yes
										}
								}
							add_building_construction = {
									type = naval_base
									level = 1
									province = 3134
									instant_build = yes
								}
							if = {
									limit = {
											air_base < 8
										}
									add_building_construction = {
											type = air_base
											level = 3
											instant_build = yes
										}
								}
							else_if = {
									limit = {
											air_base < 9
										}
									add_building_construction = {
											type = air_base
											level = 2
											instant_build = yes
										}
								}
							else_if = {
									limit = {
											air_base < 10
										}
									add_building_construction = {
											type = air_base
											level = 1
											instant_build = yes
										}
								}
							add_building_construction = {
									type = anti_air_building
									level = 2
									instant_build = yes
								}
						}
					215 = {
							if = {
									limit = {
											free_building_slots = {
													building = infrastructure
													size > 0
												}
										}
									add_building_construction = {
											type = infrastructure
											level = 1
											instant_build = yes
										}
								}
						}
					216 = {
							if = {
									limit = {
											free_building_slots = {
													building = infrastructure
													size > 0
												}
										}
									add_building_construction = {
											type = infrastructure
											level = 1
											instant_build = yes
										}
								}
						}
					214 = {
							if = {
									limit = {
											free_building_slots = {
													building = arms_factory
													size > 1
													include_locked = yes
												}
										}
									add_extra_state_shared_building_slots = 2
									add_building_construction = {
											type = arms_factory
											level = 2
											instant_build = yes
										}
								}
							if = {
									limit = {
											free_building_slots = {
													building = infrastructure
													size > 0
												}
										}
									add_building_construction = {
											type = infrastructure
											level = 1
											instant_build = yes
										}
								}
						}
					208 = {
							add_building_construction = {
									type = supply_node
									level = 1
									province = 181
									instant_build = yes
								}
						}
					build_railway = {
							path = { 3134  11117  9201  6181  3121  9162  3008  86  3189  9159  94  6021  11175  155  11092  3033  9118  11159  90  6057  11153  11059  70 }
						}
					build_railway = {
							path = { 9197  11068 }
						}
					build_railway = {
							path = { 9131  9199  75  72  9130  3130  11171  312  3338 }
						}
				}

	}
	
	focus = {
		id = SOV_the_fate_of_romania
		icon = GFX_goal_generic_occupy_states_ongoing_war
		cost = 6
		prerequisite = {
			focus = SOV_the_iron_wall_of_russian_resolve
		}
		x = 1
		y = 1
		relative_position_id = SOV_the_iron_wall_of_russian_resolve
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			will_lead_to_war_with = ROM
			search_filters = { FOCUS_FILTER_ANNEXATION }
			available = {
					is_subject = no
					country_exists = ROM
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			completion_reward = {
					create_wargoal = {
							type = annex_everything
							target = ROM
						}
				}

	}
	
	focus = {
		id = SOV_the_triple_entente
		icon = GFX_goal_generic_alliance
		cost = 6
		prerequisite = {
			focus = SOV_the_fate_of_romania
		}
		x = 0
		y = 1
		relative_position_id = SOV_the_fate_of_romania
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = {

}
			available = {
					is_subject = no
					ENG = {
							NOT = {
									has_government = communism
								}
							NOT = {
									has_completed_focus = ENG_alliance_with_germany
								}
						}
					FRA = {
							NOT = {
									has_government = communism
								}
							NOT = {
									has_completed_focus = FRA_establish_spheres_of_influence
								}
						}
				}
			bypass = {
					ENG = {
							OR = {
									AND = {
											is_in_faction = yes
											is_faction_leader = no
										}
									has_war_with = ROOT
								}
						}
					FRA = {
							OR = {
									AND = {
											is_in_faction = yes
											is_faction_leader = no
										}
									has_war_with = ROOT
								}
						}
				}
			completion_reward = {
					if = {
							limit = {
									ENG = {
											is_faction_leader = yes
											NOT = {
													has_war_with = ROOT
												}
										}
								}
							ENG = {
									country_event = {
											id = NSB_soviet_fascist_tsarist.16
											hours = 6
										}
								}
						}
					else_if = {
							limit = {
									FRA = {
											is_faction_leader = yes
											NOT = {
													has_war_with = ROOT
												}
										}
								}
							FRA = {
									country_event = {
											id = NSB_soviet_fascist_tsarist.16
											hours = 6
										}
								}
						}
					else_if = {
							limit = {
									ENG = {
											is_faction_leader = no
										}
									FRA = {
											is_faction_leader = no
										}
									OR = {
											ENG = {
													is_in_faction = no
													NOT = {
															has_war_with = ROOT
														}
												}
											FRA = {
													is_in_faction = no
													NOT = {
															has_war_with = ROOT
														}
												}
										}
								}
							create_faction = TRIPLE_ENTENTE
							ENG = {
									country_event = {
											id = NSB_soviet_fascist_tsarist.16
											hours = 6
										}
								}
							FRA = {
									country_event = {
											id = NSB_soviet_fascist_tsarist.16
											hours = 6
										}
								}
						}
					else = {
							create_faction = TRIPLE_ENTENTE
						}
				}

	}
	focus = {
		id = SOV_our_slavic_commitments
		icon = GFX_goal_generic_military_sphere
		cost = 6
		prerequisite = {
			focus = SOV_the_iron_wall_of_russian_resolve
		}
		x = -1
		y = 1
		relative_position_id = SOV_the_iron_wall_of_russian_resolve
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_POLITICAL }
			available = {
					is_subject = no
				}
			completion_reward = {
					add_ideas = SOV_our_slavic_commitments
					give_guarantee = CZE
					give_guarantee = POL
					give_guarantee = YUG
					give_guarantee = BUL
					news_event = {
							id = nsb_news.406
							hours = 12
						}
				}

	}
	focus = {
		id = SOV_my_brothers_keeper
		icon = GFX_focus_SOV_my_brothers_keeper
		cost = 6
		prerequisite = {
			focus = SOV_our_slavic_commitments
		}
		x = 0
		y = 1
		relative_position_id = SOV_our_slavic_commitments
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_ANNEXATION }
			available = {
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			completion_reward = {
					every_other_country = {
							limit = {
									OR = {
											tag = DEN
											tag = GRE
											tag = GER
											tag = NOR
										}
									NOT = {
											is_in_faction_with = ROOT
										}
								}
							SOV = {
									create_wargoal = {
											type = puppet_wargoal_focus
											target = PREV
										}
								}
						}
				}

	}
	focus = {
		id = SOV_the_old_enemy
		icon = GFX_goal_generic_occupy_states_ongoing_war
		cost = 6
		prerequisite = {
			focus = SOV_westward_bound
		}
		x = -2
		y = 1
		relative_position_id = SOV_westward_bound
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			will_lead_to_war_with = SWE
			search_filters = {

}
			available = {
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			bypass = {
					SWE = {
							OR = {
									exists = no
									has_war_with = SOV
									is_subject_of = SOV
								}
						}
				}
			completion_reward = {
					create_wargoal = {
							type = annex_everything
							target = SWE
						}
				}

	}
	focus = {
		id = SOV_secure_finland
		icon = GFX_goal_generic_occupy_states_ongoing_war
		cost = 6
		prerequisite = {
			focus = SOV_westward_bound
		}
		x = 0
		y = 1
		relative_position_id = SOV_westward_bound
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			will_lead_to_war_with = FIN
			search_filters = {

}
			available = {
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			bypass = {
					FIN = {
							OR = {
									exists = no
									has_war_with = SOV
									is_subject_of = SOV
								}
						}
				}
			completion_reward = {
					create_wargoal = {
							type = annex_everything
							target = FIN
						}
				}

	}
	focus = {
		id = SOV_secure_the_baltics
		icon = GFX_goal_generic_occupy_states_ongoing_war
		cost = 6
		prerequisite = {
			focus = SOV_westward_bound
		}
		x = 2
		y = 1
		relative_position_id = SOV_westward_bound
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			will_lead_to_war_with = EST
			will_lead_to_war_with = LIT
			will_lead_to_war_with = LAT
			search_filters = {

}
			available = {
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			bypass = {
					EST = {
							OR = {
									exists = no
									has_war_with = SOV
									is_subject_of = SOV
								}
						}
					LAT = {
							OR = {
									exists = no
									has_war_with = SOV
									is_subject_of = SOV
								}
						}
					LIT = {
							OR = {
									exists = no
									has_war_with = SOV
									is_subject_of = SOV
								}
						}
				}
			completion_reward = {
					create_wargoal = {
							type = annex_everything
							target = EST
						}
					create_wargoal = {
							type = annex_everything
							target = LIT
						}
					create_wargoal = {
							type = annex_everything
							target = LAT
						}
				}

	}
	focus = {
		id = SOV_panslavic_nationalism
		icon = GFX_focus_SOV_panslavic_nationalism
		cost = 6
		prerequisite = {
			focus = SOV_the_old_enemy
			focus = SOV_secure_the_baltics
			focus = SOV_secure_finland
		}
		x = 0
		y = 1
		relative_position_id = SOV_secure_finland
			ai_will_do = {
					factor = 1
				}
			available = {
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_ANNEXATION }
			completion_reward = {
					effect_tooltip = {
							every_country = {
									limit = {
											OR = {
													tag = POL
													tag = BUL
													tag = YUG
													tag = CZE
												}
											NOT = {
													has_war_with = ROOT
												}
										}
									country_event = {
											id = NSB_soviet_fascist_tsarist.1
											days = 3
										}
									ROOT = {
											annex_country = {
													target = PREV
													transfer_troops = yes
												}
										}
								}
						}
					custom_effect_tooltip = SOV_panslavic_nationalism_tt
					hidden_effect = {
							every_country = {
									limit = {
											OR = {
													tag = POL
													tag = BUL
													tag = YUG
													tag = CZE
												}
											NOT = {
													has_war_with = ROOT
												}
										}
									country_event = {
											id = NSB_soviet_fascist_tsarist.1
											days = 3
										}
								}
						}
					every_country = {
							limit = {
									NOT = {
											tag = POL
											tag = BUL
											tag = YUG
											tag = CZE
										}
									OR = {
											controls_state = 9
											controls_state = 69
											controls_state = 70
											controls_state = 71
											controls_state = 72
											controls_state = 73
											controls_state = 74
											controls_state = 75
											controls_state = 664
											controls_state = 48
											controls_state = 211
											controls_state = 212
											controls_state = 801
											controls_state = 97
											controls_state = 85
											controls_state = 762
											controls_state = 90
											controls_state = 88
											controls_state = 92
											controls_state = 91
											controls_state = 95
											controls_state = 94
											controls_state = 86
											controls_state = 98
											controls_state = 89
											controls_state = 10
											controls_state = 96
											controls_state = 784
											controls_state = 93
											controls_state = 87
											controls_state = 104
											controls_state = 109
											controls_state = 103
											controls_state = 804
											controls_state = 802
											controls_state = 106
											controls_state = 105
											controls_state = 108
											controls_state = 107
											controls_state = 102
											controls_state = 803
											controls_state = 45
											controls_state = 764
										}
								}
							ROOT = {
									create_wargoal = {
											type = take_state_focus
											generator = { 9  69  70  71  72  73  74  75  664  48  211  212  801  97  85  762  90  88  92  91  95  94  86  98  89  10  96  784  93  87  104  109  103  804  802  106  105  108  107  102  803  45  764 }
											target = PREV
										}
								}
						}
				}

	}

	focus = {
		id = SOV_pacify_the_rim
		icon = GFX_goal_generic_position_armies
		cost = 6
		prerequisite = {
			focus = SOV_russian_corporate_state
		}
		mutually_exclusive = {
			focus = SOV_the_berlin_moscow_axis
		}
		x = 4
		y = 1
		relative_position_id = SOV_russian_corporate_state
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_INDUSTRY }
			available = {
					has_full_control_of_state = 408
					has_full_control_of_state = 409
					has_full_control_of_state = 657
				}
			completion_reward = {
					add_ideas = SOV_national_brotherhood_idea
					408 = {
							if = {
									limit = {
											free_building_slots = {
													building = arms_factory
													size > 1
													include_locked = yes
												}
										}
									add_extra_state_shared_building_slots = 2
									add_building_construction = {
											type = arms_factory
											level = 2
											instant_build = yes
										}
								}
							add_building_construction = {
									type = anti_air_building
									level = 2
									instant_build = yes
								}
						}
					409 = {
							if = {
									limit = {
											air_base < 10
										}
									add_building_construction = {
											type = air_base
											level = 1
											instant_build = yes
										}
								}
						}
					657 = {
							if = {
									limit = {
											air_base < 8
										}
									add_building_construction = {
											type = air_base
											level = 3
											instant_build = yes
										}
								}
						}
					build_railway = {
							path = { 12691  12621  1876  1813  10549  10661  12540  4797 }
						}
					build_railway = {
							path = { 4677  7725  10559  12543  7851  10678  12657  7763  4725 }
						}
				}

	}
	focus = {
		id = SOV_restore_the_old_eastern_empire
		icon = GFX_focus_SOV_old_eastern_empire
		cost = 6
		prerequisite = {
			focus = SOV_panslavic_nationalism
		}
		prerequisite = {
			focus = SOV_eastern_expansion
		}
		x = 3
		y = 1
		relative_position_id = SOV_panslavic_nationalism
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_ANNEXATION }
			available = {
					has_idea = SOV_nikolay_ustryalov
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			completion_reward = {
					add_political_power = 100
					add_stability = -0.15
					add_war_support = -0.15
					add_state_claim = 330
					add_state_claim = 820
					add_state_claim = 818
					add_state_claim = 817
					add_state_claim = 819
					add_state_claim = 537
					add_state_claim = 536
					add_state_claim = 555
					add_state_claim = 463
					add_state_claim = 471
					add_state_claim = 473
					add_state_claim = 739
					add_state_claim = 740
					add_state_claim = 386
					add_state_claim = 385
					add_state_claim = 378
					custom_effect_tooltip = SOV_an_empire_in_the_pacific_tt
					hidden_effect = {
							every_state = {
									limit = {
											OR = {
													is_core_of = SIK
													is_core_of = MEN
													is_core_of = MAN
												}
										}
									add_claim_by = ROOT
								}
						}
				}

	}
	focus = {
		id = SOV_intervention_in_the_americas
		icon = GFX_focus_SOV_ivan_plays_baseball
		cost = 6
		prerequisite = {
			focus = SOV_restore_the_old_eastern_empire
		}
		x = -1
		y = 1
		relative_position_id = SOV_restore_the_old_eastern_empire
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = {

}
			available = {
					is_subject = no
				}
			completion_reward = {
					if = {
							limit = {
									is_in_faction = no
								}
							create_faction = NPTO
						}
					effect_tooltip = {
							every_other_country = {
									limit = {
											any_owned_state = {
													is_capital = yes
													is_on_continent = south_america
												}
											NOT = {
													has_government = fascism
												}
										}
									add_timed_idea = {
											idea = SOV_russian_political_influence
											days = 730
										}
								}
						}
					custom_effect_tooltip = SOV_intervention_in_the_americas_tt
					hidden_effect = {
							every_other_country = {
									limit = {
											any_owned_state = {
													is_capital = yes
													is_on_continent = south_america
												}
											NOT = {
													has_government = fascism
												}
										}
									country_event = {
											id = NSB_soviet_fascist_tsarist.4
											days = 3
											random_days = 4
										}
									set_country_flag = SOV_political_influence_americas_flag
								}
						}
					every_other_country = {
							limit = {
									any_owned_state = {
											is_capital = yes
											is_on_continent = south_america
										}
									has_government = fascism
									is_in_faction = no
								}
							country_event = {
									id = NSB_soviet_fascist_tsarist.5
									days = 3
									random_days = 4
								}
						}
					news_event = {
							id = nsb_news.403
							days = 35
							random_days = 34
						}
				}

	}
	focus = {
		id = SOV_into_central_asia
		icon = GFX_goal_generic_occupy_states_ongoing_war
		cost = 6
		prerequisite = {
			focus = SOV_the_triple_entente
			focus = SOV_my_brothers_keeper
			focus = SOV_the_rightful_heir_to_the_empire
		}
		x = 4
		y = 1
		relative_position_id = SOV_my_brothers_keeper
			ai_will_do = {
					factor = 1
				}
			will_lead_to_war_with = AFG
			will_lead_to_war_with = PER
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_ANNEXATION }
			available = {
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			completion_reward = {
					create_wargoal = {
							type = annex_everything
							target = AFG
						}
					create_wargoal = {
							type = annex_everything
							target = PER
						}
				}

	}
	focus = {
		id = SOV_the_last_break_southward
		icon = GFX_goal_generic_major_war
		cost = 6
		prerequisite = {
			focus = SOV_into_central_asia
		}
		x = 0
		y = 1
		relative_position_id = SOV_into_central_asia
			ai_will_do = {
					factor = 1
				}
			will_lead_to_war_with = IRQ
			will_lead_to_war_with = TUR
			will_lead_to_war_with = FRA
			will_lead_to_war_with = RAJ
			will_lead_to_war_with = PAK
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_ANNEXATION }
			available = {
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			completion_reward = {
					create_wargoal = {
							type = annex_everything
							target = IRQ
						}
					if = {
							limit = {
									NOT = {
											has_completed_focus = SOV_the_rightful_heir_to_the_empire
										}
								}
							create_wargoal = {
									type = annex_everything
									target = TUR
								}
						}
					create_wargoal = {
							type = take_state_focus
							target = FRA
							generator = { 553  554  677  680  799 }
						}
					if = {
							limit = {
									country_exists = PAK
								}
							create_wargoal = {
									type = annex_everything
									target = PAK
								}
						}
					create_wargoal = {
							type = annex_everything
							target = RAJ
						}
				}

	}
	focus = {
		id = SOV_rebuild_the_far_eastern_fleet
		icon = GFX_goal_generic_construct_naval_dockyard
		cost = 6
		prerequisite = {
			focus = SOV_pacify_the_rim
		}
		x = 0
		y = 1
		relative_position_id = SOV_pacify_the_rim
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_NAVY_XP }
			completion_reward = {
					navy_experience = 10
					408 = {
							if = {
									limit = {
											free_building_slots = {
													building = dockyard
													size > 3
													include_locked = yes
												}
										}
									add_extra_state_shared_building_slots = 4
									add_building_construction = {
											type = dockyard
											level = 4
											instant_build = yes
										}
								}
						}
					409 = {
							if = {
									limit = {
											free_building_slots = {
													building = dockyard
													size > 1
													include_locked = yes
												}
										}
									add_extra_state_shared_building_slots = 2
									add_building_construction = {
											type = dockyard
											level = 2
											instant_build = yes
										}
								}
						}
					637 = {
							if = {
									limit = {
											free_building_slots = {
													building = dockyard
													size > 1
													include_locked = yes
												}
										}
									add_extra_state_shared_building_slots = 1
									add_building_construction = {
											type = dockyard
											level = 1
											instant_build = yes
										}
								}
						}
				}

	}
	focus = {
		id = SOV_eastern_expansion
		icon = GFX_goal_generic_more_territorial_claims
		cost = 6
		prerequisite = {
			focus = SOV_rebuild_the_far_eastern_fleet
		}
		x = 0
		y = 1
		relative_position_id = SOV_rebuild_the_far_eastern_fleet
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_INDUSTRY }
			completion_reward = {
					add_ideas = SOV_siberian_lessons
					every_owned_state = {
							limit = {
									OR = {
											state = 822
											state = 562
											state = 637
										}
									free_building_slots = {
											building = infrastructure
											size > 0
										}
								}
							add_building_construction = {
									type = infrastructure
									level = 1
									instant_build = yes
								}
						}
					637 = {
							if = {
									limit = {
											air_base < 8
										}
									add_building_construction = {
											type = air_base
											level = 3
											instant_build = yes
										}
								}
							add_building_construction = {
									type = naval_base
									level = 3
									instant_build = yes
									province = 4728
								}
							add_building_construction = {
									type = anti_air_building
									level = 2
									instant_build = yes
								}
						}
					408 = {
							add_building_construction = {
									type = naval_base
									level = 2
									instant_build = yes
									province = 957
								}
						}
				}

	}
	focus = {
		id = SOV_modernize_the_far_eastern_fleet
		icon = GFX_focus_generic_navy_battleship2
		cost = 6
		prerequisite = {
			focus = SOV_restore_the_old_eastern_empire
		}
		x = 1
		y = 1
		relative_position_id = SOV_restore_the_old_eastern_empire
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH  FOCUS_FILTER_NAVY_XP }
			completion_reward = {
					navy_experience = 25
					add_tech_bonus = {
							name = SOV_modernize_the_far_eastern_fleet
							bonus = 1.0
							uses = 2
							category = dd_tech
							category = cl_tech
							category = ca_tech
							category = bb_tech
							category = cv_tech
							category = ss_tech
						}
					add_timed_idea = {
							idea = SOV_modernize_the_far_eastern_fleet
							days = 730
						}
				}

	}
	
	focus = {
		id = SOV_the_lonely_island
		icon = GFX_goal_generic_territory_or_war
		cost = 6
		prerequisite = {
			focus = SOV_memories_of_1905
		}
		x = 0
		y = 1
		relative_position_id = SOV_memories_of_1905
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = { FOCUS_FILTER_ANNEXATION }
			available = {
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			completion_reward = {
					if = {
							limit = {
									OR = {
											NOT = {
													has_completed_focus = SOV_request_imperial_protection
												}
											NOT = {
													is_subject_of = JAP
												}
										}
								}
							create_wargoal = {
									type = take_state_focus
									target = JAP
									generator = { 536  537  555 }
								}
						}
					if = {
							limit = {
									has_completed_focus = SOV_request_imperial_protection
									is_subject_of = JAP
								}
							if = {
									limit = {
											has_war_together_with = JAP
										}
									every_enemy_country = {
											SOV = {
													white_peace = PREV
												}
										}
								}
							JAP = {
									set_autonomy = {
											target = SOV
											autonomy_state = autonomy_free
										}
								}
							leave_faction = yes
							create_wargoal = {
									type = puppet_wargoal_focus
									target = JAP
								}
						}
				}

	}
	focus = {
		id = SOV_an_empire_in_the_pacific
		icon = GFX_focus_SOV_pacific_empire
		cost = 6
		prerequisite = {
			focus = SOV_intervention_in_the_americas
		}
		prerequisite = {
			focus = SOV_modernize_the_far_eastern_fleet
		}
		x = -1
		y = 1
		relative_position_id = SOV_modernize_the_far_eastern_fleet
			ai_will_do = {
					factor = 1
				}
			available = {
					is_subject = no
					num_of_factories > 160
					surrender_progress < 0.1
					has_stability > 0.50
					has_war_support > 0.50
					has_army_manpower = {
							size > 750000
						}
				}
			available_if_capitulated = no
			search_filters = {

}
			completion_reward = {
					create_wargoal = {
							type = take_state_focus
							target = CAN
							generator = { 471  739  740  473 }
						}
					create_wargoal = {
							type = take_state_focus
							target = USA
							generator = { 463  386  385 }
						}
					create_wargoal = {
							type = take_state_focus
							target = JAP
							generator = { 537  536  555 }
						}
					add_ideas = SOV_an_empire_in_the_pacific_idea
				}

	}
	focus = {
		id = SOV_the_berlin_moscow_axis
		icon = GFX_goal_generic_dangerous_deal
		cost = 6
		prerequisite = {
			focus = SOV_russian_corporate_state
		}
		mutually_exclusive = {
			focus = SOV_westward_bound
			focus = SOV_pacify_the_rim
		}
		x = 2
		y = 1
		relative_position_id = SOV_russian_corporate_state
			ai_will_do = {
					factor = 1
				}
			bypass = {
					is_in_faction_with = GER
					GER = {
							is_faction_leader = yes
						}
				}
			available_if_capitulated = no
			search_filters = {

}
			available = {
					is_subject = no
					is_in_faction = no
					GER = {
							is_faction_leader = yes
							has_government = fascism
						}
				}
			completion_reward = {
					GER = {
							country_event = {
									id = NSB_soviet_fascist_tsarist.22
									hours = 6
								}
						}
				}

	}
	focus = {
		id = SOV_japanese_overtures
		icon = GFX_goal_generic_forceful_treaty
		cost = 6
		prerequisite = {
			focus = SOV_the_berlin_moscow_axis
		}
		x = 0
		y = 1
		relative_position_id = SOV_the_berlin_moscow_axis
			ai_will_do = {
					factor = 1
				}
			available_if_capitulated = no
			search_filters = {

}
			available = {
					is_subject = no
					is_in_faction_with = GER
					GER = {
							is_faction_leader = yes
						}
					JAP = {
							is_in_faction = no
							has_government = fascism
						}
				}
			completion_reward = {
					GER = {
							country_event = {
									id = NSB_soviet_fascist_tsarist.25
									hours = 6
								}
						}
				}

	}
	focus = {
		id = SOV_the_common_economic_space_initiative
		icon = GFX_goal_anschluss
		cost = 6
		prerequisite = {
			focus = SOV_the_rightful_heir_to_the_empire
			focus = SOV_democratic_dream
			focus = SOV_panslavic_nationalism
		}
		x = 3
		y = 1
		relative_position_id = SOV_the_rightful_heir_to_the_empire
			allow_branch = {
					NOT = {
							has_government = communism
						}
				}
			available = {
					num_subjects > 1
					is_subject = no
					is_major = yes
				}
			search_filters = { FOCUS_FILTER_INDUSTRY  FOCUS_FILTER_RESEARCH }
			completion_reward = {
					if = {
							limit = {
									num_subjects > 0
								}
							add_ideas = SOV_common_economic_space_sov_default
							custom_effect_tooltip = SOV_found_the_comecon_subjects_tt
							every_other_country = {
									limit = {
											is_subject_of = ROOT
										}
									add_ideas = SOV_common_economic_space_puppet_default
								}
							custom_effect_tooltip = SOV_found_the_comecon_program_tt
							hidden_effect = {
									add_to_tech_sharing_group = SOV_common_economic_space
									every_country = {
											limit = {
													is_subject_of = ROOT
												}
											add_to_tech_sharing_group = SOV_comecon
										}
								}
						}
					else = {
							effect_tooltip = {
									add_ideas = SOV_common_economic_space_sov_default
								}
							custom_effect_tooltip = SOV_found_the_comecon_subjects_tt
							effect_tooltip = {
									add_ideas = SOV_common_economic_space_puppet_default
								}
							custom_effect_tooltip = SOV_found_the_comecon_program_tt
						}
					unlock_decision_category_tooltip = SOV_comecon_dec_cat
				}

	}
	focus = {
		id = SOV_restore_democratic
		icon = GFX_goal_support_democracy
		cost = 5
		prerequisite = {
			focus = SOV_reconvene_the_zemsky_sobor
		}
		mutually_exclusive = {
			focus = SOV_dismantle_the_zemsky_sobor
			focus = SOV_romanov_reconstruction
			focus = SOV_church_candidates
		}
		x = 1
		y = 1
		relative_position_id = SOV_reconvene_the_zemsky_sobor
			available = {
					democratic > 0.05
				}
			completion_reward = {
					add_political_power = 100
					add_popularity = {
							ideology = democratic
							popularity = 0.25
						}
					add_popularity = {
							ideology = communism
							popularity = 0.05
						}
					set_politics = {
							ruling_party = democratic
							elections_allowed = yes
						}
					hidden_effect = {
							if = {
									limit = {
											SOV_ivan_smirnov = {
													NOT = {
															has_character_flag = SOV_character_purged_flag
														}
													has_character_flag = SOV_imprisoned_flag
												}
										}
									SOV_ivan_smirnov = {
											clr_character_flag = SOV_imprisoned_flag
										}
								}
							if = {
									limit = {
											SOV_ivar_smilga = {
													NOT = {
															has_character_flag = SOV_character_purged_flag
														}
													has_character_flag = SOV_imprisoned_flag
												}
										}
									SOV_ivar_smilga = {
											clr_character_flag = SOV_imprisoned_flag
										}
								}
							every_character = {
									limit = {
											OR = {
													has_character_flag = SOV_exiled_flag
													has_character_flag = SOV_aligned_right_opposition_flag
												}
										}
									clr_character_flag = SOV_exiled_flag
								}
						}
				}

	}
	focus = {
		id = SOV_new_democratic_way
		icon = GFX_focus_generic_the_giant_wakes
		cost = 5
		prerequisite = {
			focus = SOV_restore_democratic
		}
		x = 0
		y = 2
		relative_position_id = SOV_restore_democratic
			completion_reward = {
					add_timed_idea = {
							idea = idea_GUAY_the_tag_economic_miracle
							days = 365
						}
					if = {
							limit = {
									has_idea = free_trade
								}
							add_political_power = 100
						}
					else = {
							add_ideas = free_trade
						}
				}

	}
	focus = {
		id = SOV_democratic_dream
		icon = GFX_goal_generic_positive_trade_relations
		cost = 20
		prerequisite = {
			focus = SOV_new_democratic_way
		}
		x = 0
		y = 2
		relative_position_id = SOV_new_democratic_way
		completion_reward = {
					add_political_power = 200
					add_stability = 0.05
					add_war_support = 0.05
			
			every_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				random_select_amount = 10
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			every_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				random_select_amount = 10
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}

	}
}
