focus_tree = {
	id = russia2_soviet_focus
	continuous_focus_position = { x = 300 y = 2000 }

	country = {
		factor = 0
		modifier = {
			add = 1000
			OR = {
				tag = SOV
				tag = SOJ
			}
		}
	}

	#The Second Five Year Plan
	focus = {
		id = SOV_start_five_year_plan
		x = 13
		y = 1
		icon = GFX_goal_generic_soviet_construction
		cost = 5
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			has_full_control_of_state = ROOT.capital
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_tech_bonus = {
				name = SOV_start_five_year_plan
				bonus = 1.0
				uses = 2
				category = industry
			}
			every_state = {
				limit = {
					is_capital = yes
					is_owned_and_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 3
					instant_build = yes
				}
			}
			if = {
				limit = {
					has_idea = SOV_Unhappy_peasants1
				}
				custom_effect_tooltip = SOV_start_five_year_plans_tt2
			}
		}
	}

	#The Motherland
	focus = {
		id = SOV_the_motherland
		x = 13
		y = 2
		prerequisite = { focus = SOV_start_five_year_plan }
		icon = GFX_The_motherland
		cost = 5
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 100
				has_idea = SOV_Russian_sphere_investments
			}
		}
		available = {
			is_subject = no
		}
		search_filters = { FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_stability = 0.1
		}
	}

	#Begin the Infrastructure Project
	focus = {
		id = SOV_begin_infrastructure_project
		x = 3
		y = 2
		prerequisite = { focus = SOV_start_five_year_plan }
		icon = GFX_focus_Railway
		cost = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			AND = {
				NOT = { has_war = yes }
				219 = { is_owned_by = ROOT }
			}
		}
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			custom_effect_tooltip = SOV_begin_infrastructure_project_tt
			hidden_effect = {
				219 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				ROOT = {
					build_railway = {
						level = 1
						build_only_on_allied = yes
						controller_priority = {
						  base = 1
						}
						fallback = yes
						start_state  = 219
						target_state = 242
					}
				}
			}
			swap_ideas = {
				remove_idea = SOV_Infrastructure_problem
				add_idea = SOV_infrastructure_problem2
			}
		}
	}

	#Improve Siberia's Railways
	focus = {
		id = SOV_improve_siberias_railways
		x = 3
		y = 3
		prerequisite = { focus = SOV_begin_infrastructure_project }
		icon = GFX_Siberian_Infrastructure
		cost = 10
		ai_will_do = {
			factor = 5
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_improve_siberias_railways_tt
				OR = {
					408 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 408
						controls_state = 408
					}
				}
				OR = {
					409 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 409
						controls_state = 409
					}
				}
				OR = {
					560 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 560
						controls_state = 560
					}
				}
				OR = {
					657 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 657
						controls_state = 657
					}
				}
				OR = {
					561 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 561
						controls_state = 561
					}
				}
				OR = {
					574 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 574
						controls_state = 574
					}
				}
				OR = {
					562 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 562
						controls_state = 562
					}
				}
				OR = {
					563 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 563
						controls_state = 563
					}
				}
				OR = {
					564 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 564
						controls_state = 564
					}
				}
				OR = {
					565 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 565
						controls_state = 565
					}
				}
				OR = {
					575 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 575
						controls_state = 575
					}
				}
				OR = {
					576 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 576
						controls_state = 576
					}
				}
				OR = {
					568 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 568
						controls_state = 568
					}
				}
				OR = {
					569 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 569
						controls_state = 569
					}
				}
				OR = {
					578 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 578
						controls_state = 578
					}
				}
				OR = {
					644 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 644
						controls_state = 644
					}
				}
				OR = {
					567 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 567
						controls_state = 567
					}
				}
				OR = {
					566 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 566
						controls_state = 566
					}
				}
				OR = {
					822 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 822
						controls_state = 822
					}
				}
				OR = {
					637 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 637
						controls_state = 637
					}
				}
				OR = {
					516 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 516
						controls_state = 516
					}
				}
				OR = {
					824 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 824
						controls_state = 824
					}
				}
				OR = {
					577 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 577
						controls_state = 577
					}
				}
				OR = {
					570 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 570
						controls_state = 570
					}
				}
				OR = {
					40 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 40
						controls_state = 40
					}
				}
				OR = {
					654 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 654
						controls_state = 654
					}
				}
				OR = {
					878 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 878
						controls_state = 878
					}
				}
				OR = {
					876 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 876
						controls_state = 876
					}
				}
				OR = {
					877 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 877
						controls_state = 877
					}
				}
				OR = {
					874 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 874
						controls_state = 874
					}
				}
				OR = {
					875 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 875
						controls_state = 875
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			custom_effect_tooltip = SOV_improve_siberias_railways_tt2
			ROOT = {
				build_railway = {
					level = 1
					build_only_on_allied = yes
					controller_priority = {
					  base = 1
					}
					fallback = yes
					start_state  = 570
					target_state = 408
				}
			}
			hidden_effect = {
				ROOT = {
					build_railway = {
						level = 2
						build_only_on_allied = yes
						controller_priority = {
						  base = 1
						}
						fallback = yes
						start_province = 957
						target_province = 3977
					}
				}
				408 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				409 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				560 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				657 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				561 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				574 = {
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
				}
				562 = {
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
				}
				563 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				564 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				565 = {
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
				}
				575 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				567 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				576 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				568 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				569 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				578 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				644 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				566 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				822 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				637 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				516 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				824 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				577 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				570 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				40 = {
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
				}
				654 = {
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
				}
				878 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				876 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				877 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				874 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				875 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}

			if = {
				limit = {
					has_idea = SOV_Infrastructure_problem2
				}
				swap_ideas = {
					remove_idea = SOV_infrastructure_problem2
					add_idea = SOV_infrastructure_problem3
				}
			}
			else_if = {
				limit = {
					has_idea = SOV_Infrastructure_problem3
				}
				swap_ideas = {
					remove_idea = SOV_infrastructure_problem3
					add_idea = SOV_infrastructure_problem4
				}
			}
			else = {
				swap_ideas = {
					remove_idea = SOV_infrastructure_problem4
					add_idea = SOV_infrastructure_problem5
				}
			}
			if = {
				limit = {
						OR = {
							has_idea = SOV_Unhappy_peasants1
							has_idea = SOV_Unhappy_peasants2
							has_idea = SOV_Unhappy_peasants3
							has_idea = SOV_Unhappy_peasants4
						}
				}
				custom_effect_tooltip = SOV_improve_siberias_railways_peasants_exile_tt
			}
		}
	}

	#Link the Railways to Central Asia
	focus = {
		id = SOV_link_the_railway_central_asia
		x = 5
		y = 3
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = SOV_begin_infrastructure_project }
		cost = 10
		ai_will_do = {
			factor = 6
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_link_the_railway_central_asia_tt
				OR = {
					580 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 580
						controls_state = 580
					}
				}
				OR = {
					403 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 403
						controls_state = 403
					}
				}
				OR = {
					571 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 571
						controls_state = 571
					}
				}
				OR = {
					589 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 589
						controls_state = 589
					}
				}
				OR = {
					590 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 590
						controls_state = 590
					}
				}
				OR = {
					588 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 588
						controls_state = 588
					}
				}
				OR = {
					404 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 404
						controls_state = 404
					}
				}
				OR = {
					402 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 402
						controls_state = 402
					}
				}
				OR = {
					652 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 652
						controls_state = 652
					}
				}
				OR = {
					573 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 573
						controls_state = 573
					}
				}
				OR = {
					583 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 583
						controls_state = 583
					}
				}
				OR = {
					881 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 881
						controls_state = 881
					}
				}
				OR = {
					882 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 882
						controls_state = 882
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			custom_effect_tooltip = SOV_link_the_railway_central_asia_tt2
			ROOT = {
				build_railway = {
					level = 1
					build_only_on_allied = yes
					controller_priority = {
					  base = 1
					}
					fallback = yes
					start_state  = 219
					target_state = 571
				}
			}
			hidden_effect = {
				580 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				403 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				571 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				589 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				590 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				588 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				404 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				402 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				652 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				573 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				583 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				881 = {
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
				}
				882 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}

			if = {
				limit = {
					has_idea = SOV_Infrastructure_problem2
				}
				swap_ideas = {
					remove_idea = SOV_infrastructure_problem2
					add_idea = SOV_infrastructure_problem3
				}
			}
			else_if = {
				limit = {
					has_idea = SOV_Infrastructure_problem3
				}
				swap_ideas = {
					remove_idea = SOV_infrastructure_problem3
					add_idea = SOV_infrastructure_problem4
				}
			}
			else = {
				swap_ideas = {
					remove_idea = SOV_infrastructure_problem4
					add_idea = SOV_infrastructure_problem5
				}
			}
		}
	}

	#Fix the Bottleneck in Europe
	focus = {
		id = SOV_fix_the_bottleneck_in_europe
		x = 1
		y = 3
		icon = GFX_goal_generic_construction2
		prerequisite = { focus = SOV_begin_infrastructure_project }
		cost = 8
		ai_will_do = {
			factor = 6
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_fix_the_bottleneck_in_europe_tt
				OR = {
					257 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 257
						controls_state = 257
					}
				}
				OR = {
					255 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 255
						controls_state = 255
					}
				}
				OR = {
					250 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 250
						controls_state = 250
					}
				}
				OR = {
					256 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 256
						controls_state = 256
					}
				}
				OR = {
					399 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 399
						controls_state = 399
					}
				}
				OR = {
					400 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 400
						controls_state = 400
					}
				}
				OR = {
					401 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 401
						controls_state = 401
					}
				}
				OR = {
					194 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 194
						controls_state = 194
					}
				}
				OR = {
					833 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 833
						controls_state = 833
					}
				}
				OR = {
					834 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 834
						controls_state = 834
					}
				}
				OR = {
					206 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 206
						controls_state = 206
					}
				}
				OR = {
					207 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 207
						controls_state = 207
					}
				}
				OR = {
					242 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 242
						controls_state = 242
					}
				}
				OR = {
					198 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 198
						controls_state = 198
					}
				}
				OR = {
					201 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 201
						controls_state = 201
					}
				}
				OR = {
					202 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 202
						controls_state = 202
					}
				}
				OR = {
					193 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 193
						controls_state = 193
					}
				}
				OR = {
					225 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 225
						controls_state = 225
					}
				}
				OR = {
					224 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 224
						controls_state = 224
					}
				}
				OR = {
					205 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 205
						controls_state = 205
					}
				}
				OR = {
					254 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 254
						controls_state = 254
					}
				}
				OR = {
					258 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 258
						controls_state = 258
					}
				}
				OR = {
					239 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 239
						controls_state = 239
					}
				}
				OR = {
					265 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 265
						controls_state = 265
					}
				}
				OR = {
					217 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 217
						controls_state = 217
					}
				}
				OR = {
					236 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 236
						controls_state = 236
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			custom_effect_tooltip = SOV_fix_the_bottleneck_in_europe_tt2
			ROOT = {
				build_railway = {
					level = 1
					build_only_on_allied = yes
					controller_priority = {
					  base = 1
					}
					fallback = yes
					start_state  = 219
					target_state = 206
				}
			}
			ROOT = {
				build_railway = {
					level = 1
					build_only_on_allied = yes
					controller_priority = {
					  base = 1
					}
					fallback = yes
					start_state  = 219
					target_state = 199
				}
			}
			ROOT = {
				build_railway = {
					level = 1
					build_only_on_allied = yes
					controller_priority = {
					  base = 1
					}
					fallback = yes
					start_state  = 219
					target_state = 236
				}
			}
			hidden_effect = {
				257 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				255 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				250 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				256 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				399 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				400 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				401 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				194 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				833 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				834 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}

			if = {
				limit = {
					has_idea = SOV_Infrastructure_problem2
				}
				swap_ideas = {
					remove_idea = SOV_infrastructure_problem2
					add_idea = SOV_infrastructure_problem3
				}
			}
			else_if = {
				limit = {
					has_idea = SOV_Infrastructure_problem3
				}
				swap_ideas = {
					remove_idea = SOV_infrastructure_problem3
					add_idea = SOV_infrastructure_problem4
				}
			}
			else = {
				swap_ideas = {
					remove_idea = SOV_infrastructure_problem4
					add_idea = SOV_infrastructure_problem5
				}
			}
		}
	}

	#Resolve the Infrastructure Problem
	focus = {
		id = SOV_resolve_the_infrastructure_problem
		x = 3
		y = 4
		icon = GFX_Resolve_infrastructure_problem
		prerequisite = { focus = SOV_improve_siberias_railways }
		prerequisite = { focus = SOV_fix_the_bottleneck_in_europe }
		prerequisite = { focus = SOV_link_the_railway_central_asia }
		cost = 8
		ai_will_do = {
			factor = 8
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_resolve_the_infrastructure_problem_tt
				OR = {
					195 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 195
						controls_state = 195
					}
				}
				OR = {
					217 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 217
						controls_state = 217
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			custom_effect_tooltip = SOV_resolve_the_infrastructure_problem_tt2
			ROOT = {
				build_railway = {
					level = 1
					build_only_on_allied = yes
					controller_priority = {
					  base = 1
					}
					fallback = yes
					start_state  = 195
					target_state = 209
				}
			}
			hidden_effect = {
				195 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				217 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			remove_ideas = SOV_infrastructure_problem5
			custom_effect_tooltip = available_designer
			show_ideas_tooltip = russia2_soviet_railways
		}
	}

	#Improve the Steel Industry
	focus = {
		id = SOV_Improve_steel_industry
		x = 27
		y = 3
		prerequisite = { focus = SOV_the_motherland }
		icon = GFX_focus_generic_steel
		cost = 5
		ai_will_do = {
			factor = 2
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_Improve_steel_industry_tt
				OR = {
					222 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 222
						controls_state = 222
					}
				}
				OR = {
					582 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 582
						controls_state = 582
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			custom_effect_tooltip = SOV_Improve_steel_industry_tt2
			hidden_effect = {
				add_resource = {
					type = steel
					amount = 20
					state = 222
				}
				add_resource = {
					type = steel
					amount = 20
					state = 582
				}
			}
		}
	}

	#Rubber and Oil Refineries
	focus = {
		id = SOV_rubber_oil_refineries
		x = 27
		y = 4
		prerequisite = { focus = SOV_Improve_steel_industry }
		icon = GFX_goal_generic_oil_refinery
		cost = 5
		ai_will_do = {
			factor = 2
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_rubber_oil_refineries_tt
				OR = {
					229 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 229
						controls_state = 229
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_tech_bonus = {
				bonus = 2
				uses = 2
				category = synth_resources
			}
		}
	}

	#Prepare the Urals
	focus = {
		id = SOV_prepare_urals
		x = 27
		y = 5
		prerequisite = { focus = SOV_rubber_oil_refineries }
		icon = GFX_Prepare_urals
		cost = 5
		ai_will_do = {
			factor = 2
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_prepare_urals_tt
				OR = {
					581 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 581
						controls_state = 581
					}
				}
				OR = {
					573 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 573
						controls_state = 573
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_resource = {
				type = aluminium
				amount = 25
				state = 581
			}
			add_resource = {
				type = chromium
				amount = 15
				state = 573
			}
		}
	}

	#Allow the new resources for the research
	focus = {
		id = SOV_new_resources_research
		x = 27
		y = 6
		prerequisite = { focus = SOV_prepare_urals }
		icon = GFX_goal_tfv_generic_tech_sharing
		cost = 8
		ai_will_do = {
			factor = 3
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_new_resources_research_tt
				OR = {
					582 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 582
						controls_state = 582
					}
				}
				OR = {
					581 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 581
						controls_state = 581
					}
				}
				OR = {
					573 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 573
						controls_state = 573
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_ideas = SOV_Resources_for_research
		}
	}

	#Move the industry to the Urals!
	focus = {
		id = SOV_move_industry_urals
		icon = GFX_Move_Industry_to_Urals
		prerequisite = { focus = SOV_the_motherland }
		x = 34
		y = 3
		cost = 5
		ai_will_do = {
			factor = 1
			modifier = {
				add = 9
				any_country = {
					has_war_with = ROOT
					is_major = yes
				}
			}
		}
		available = {
			has_war = yes
			surrender_progress > 0.05
			custom_trigger_tooltip = {
				tooltip = SOV_move_industry_urals_tt
				OR = {
					573 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 573
						controls_state = 573
					}
				}
				OR = {
					582 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 582
						controls_state = 582
					}
				}
			}
			custom_trigger_tooltip = {
				tooltip = SOV_not_in_civil_war_tt
				has_civil_war = no
				NOT = {
					has_global_flag = second_russian_civil_war_in_progress
				}
			}
			NOT = {
				has_government = anarchy
			}
		}
		bypass = {
			NOT = { 219 = { is_owned_and_controlled_by = ROOT } }
			NOT = { 195 = { is_owned_and_controlled_by = ROOT } }
			NOT = { 242 = { is_owned_and_controlled_by = ROOT } }
			NOT = {
				has_global_flag = second_russian_civil_war_in_progress
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_ARMY_RUSSIA }
		continue_if_invalid = yes
		completion_reward = {
			custom_effect_tooltip = SOV_move_industry_urals_tt3
		}
	}

	#The defense of Moscow
	focus = {
		id = SOV_defend_moscow
		x = 34
		y = 5
		prerequisite = { focus = SOV_move_industry_urals }
		icon = GFX_focus_Generic_Defense
		cost = 3
		ai_will_do = {
			factor = 10
		}
		bypass = {
			NOT = { controls_state = 219 }
			NOT = {
				has_global_flag = second_russian_civil_war_in_progress
			}
		}
		available = {
			219 = { is_owned_and_controlled_by = ROOT }
			has_war = yes
			surrender_progress > 0.35
			custom_trigger_tooltip = {
				tooltip = SOV_not_in_civil_war_tt
				has_civil_war = no
				NOT = {
					has_global_flag = second_russian_civil_war_in_progress
				}
			}
			NOT = {
				has_government = anarchy
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			if = {
				limit = {
					has_tech = basic_fortification_tech
				}
				custom_override_tooltip = {
					tooltip = SOV_defend_moscow_better_tt
					219 = {
						add_building_construction = {
							type = bunker
							level = 6
							instant_build = yes
							province = 6380
						}
						add_building_construction = {
							type = bunker
							level = 4
							instant_build = yes
							province = {
								id = 6414
								id = 3391
								id = 11282
								id = 3259
								id = 6283
								id = 9378
								id = 301
							}
						}					
					}							
				}
			}		
			else = {	
				custom_override_tooltip = {
					tooltip = SOV_defend_moscow_worse_tt
					219 = {
						add_building_construction = {
							type = bunker
							level = 5
							instant_build = yes
							province = 6380
						}
						add_building_construction = {
							type = bunker
							level = 4
							instant_build = yes
							province = {
								id = 6414
								id = 3391
								id = 11282
								id = 3259
								id = 6283
								id = 9378
								id = 301
							}
						}					
					}						
				}				
			}
			add_ideas = SOV_Extensive_fortifications
		}
	}

	#The defense of Leningrad
	focus = {
		id = SOV_defend_leningrad
		x = 29
		y = 4
		prerequisite = { focus = SOV_move_industry_urals }
		icon = GFX_focus_Generic_Defense
		cost = 3
		ai_will_do = {
			factor = 8
		}	
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_defend_leningrad_tt2
				OR = {
					195 = {
						is_owned_by = ROOT
						is_controlled_by = ROOT
					}
					any_allied_country = {
						owns_state = 195
						controls_state = 195
					}
				}
			}
			has_war = yes
			surrender_progress > 0.2
			custom_trigger_tooltip = {
				tooltip = SOV_not_in_civil_war_tt
				has_civil_war = no
				NOT = {
					has_global_flag = second_russian_civil_war_in_progress
				}
			}
			NOT = {
				has_government = anarchy
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			custom_effect_tooltip = SOV_defend_leningrad_tt
			hidden_effect = {
				195 = {
					add_building_construction = {
						type = bunker
						level = 4
						instant_build = yes
						province = 3151
					}					
				}				
			}
		}
	}

	#The defense of Stalingrad
	focus = {
		id = SOV_defend_stalingrad
		x = 39
		y = 4
		prerequisite = { focus = SOV_move_industry_urals }
		icon = GFX_focus_Generic_Defense
		cost = 3
		ai_will_do = {
			factor = 8
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_defend_stalingrad_tt2
				OR = {
					217 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 217
						controls_state = 217
					}
				}
			}
			has_war = yes
			surrender_progress > 0.2
			custom_trigger_tooltip = {
				tooltip = SOV_not_in_civil_war_tt
				has_civil_war = no
				NOT = {
					has_global_flag = second_russian_civil_war_in_progress
				}
			}
			NOT = {
				has_government = anarchy
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			custom_effect_tooltip = SOV_defend_stalingrad_tt
			hidden_effect = {
				217 = {
					add_building_construction = {
						type = bunker
						level = 4
						instant_build = yes
						province = 3529
					}
				}
			}
		}
	}

	#Emergency production
	focus = {
		id = SOV_emergency_production
		x = 31
		y = 5
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_ARMY_RUSSIA }
		prerequisite = { focus = SOV_move_industry_urals }
		icon = GFX_goal_generic_trade
		cost = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			has_war = yes
			surrender_progress > 0.3
			custom_trigger_tooltip = {
				tooltip = SOV_not_in_civil_war_tt
				has_civil_war = no
				NOT = {
					has_global_flag = second_russian_civil_war_in_progress
				}
			}
			NOT = {
				has_government = anarchy
			}
		}
		continue_if_invalid = yes
		completion_reward = {
			add_ideas = SOV_Emergency_production
		}
	}

	#Emergency drafting
	focus = {
		id = SOV_emergency_drafting
		x = 37
		y = 5
		prerequisite = { focus = SOV_move_industry_urals }
		icon = GFX_focus_generic_little_entente
		cost = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			has_war = yes
			surrender_progress > 0.3
			custom_trigger_tooltip = {
				tooltip = SOV_not_in_civil_war_tt
				has_civil_war = no
				NOT = {
					has_global_flag = second_russian_civil_war_in_progress
				}
			}
			NOT = {
				has_government = anarchy
			}
		}
		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_ARMY_RUSSIA }
		continue_if_invalid = yes
		completion_reward = {
			add_ideas = SOV_Emergency_drafting
		}
	}

	#The Call of the Motherland
	focus = {
		id = SOV_call_motherland
		x = 34
		y = 6
		prerequisite = { focus = SOV_defend_moscow }
		icon = GFX_focus_generic_strike_at_democracy2
		cost = 5
		ai_will_do = {
			factor = 10
		}
		available = {
			has_war = yes
			surrender_progress > 0.5
			custom_trigger_tooltip = {
				tooltip = SOV_not_in_civil_war_tt
				has_civil_war = no
				NOT = {
					has_global_flag = second_russian_civil_war_in_progress
				}
			}
			NOT = {
				has_government = anarchy
			}
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_RUSSIA  }
		continue_if_invalid = yes
		completion_reward = {
			add_ideas = SOV_The_call_motherland
		}
	}

	#No One Steps Back
	focus = {
		id = SOV_no_one_steps_back
		x = 34
		y = 7
		prerequisite = { focus = SOV_call_motherland }
		icon = GFX_focus_YUG_pan_slavic_congress
		cost = 5
		ai_will_do = {
			factor = 10
		}
		available = {
			has_war = yes
			surrender_progress > 0.75
			custom_trigger_tooltip = {
				tooltip = SOV_not_in_civil_war_tt
				has_civil_war = no
				NOT = {
					has_global_flag = second_russian_civil_war_in_progress
				}
			}
			NOT = {
				has_government = anarchy
			}
		}
		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_ARMY_RUSSIA  }
		continue_if_invalid = yes
		completion_reward = {
			add_ideas = SOV_No_one_steps_back
		}
	}

	#Exile to Siberia
	focus = {
		id = SOV_exile_siberia
		x = 34
		y = 8
		prerequisite = { focus = SOV_no_one_steps_back }
		icon = GFX_Exile_siberia
		cost = 1
		ai_will_do = {
			factor = 100
		}
		available = {
			is_subject = no
			custom_trigger_tooltip = {
				tooltip = SOV_not_in_civil_war_tt
				has_civil_war = no
				NOT = {
					has_global_flag = second_russian_civil_war_in_progress
				}
			}
			has_war_with = GER
			surrender_progress > 0.9
			custom_trigger_tooltip = {
				tooltip = owns_controls_siberian_territory_tt
				OR = {
					has_full_control_of_state = 408
					has_full_control_of_state = 409
					has_full_control_of_state = 560
					has_full_control_of_state = 655
					has_full_control_of_state = 537
					has_full_control_of_state = 657
					has_full_control_of_state = 561
					has_full_control_of_state = 574
					has_full_control_of_state = 562
					has_full_control_of_state = 637
					has_full_control_of_state = 644
					has_full_control_of_state = 563
					has_full_control_of_state = 565
					has_full_control_of_state = 564
					has_full_control_of_state = 575
					has_full_control_of_state = 516
					has_full_control_of_state = 566
					has_full_control_of_state = 567
					has_full_control_of_state = 576
					has_full_control_of_state = 568
					has_full_control_of_state = 569
					has_full_control_of_state = 578
					has_full_control_of_state = 40
					has_full_control_of_state = 654
					has_full_control_of_state = 570
					has_full_control_of_state = 577
					has_full_control_of_state = 571
					has_full_control_of_state = 654
					has_full_control_of_state = 40
					has_full_control_of_state = 329
					has_full_control_of_state = 588
					has_full_control_of_state = 822 #New States
					has_full_control_of_state = 824
					has_full_control_of_state = 579
					has_full_control_of_state = 580
					has_full_control_of_state = 403
					has_full_control_of_state = 590
					has_full_control_of_state = 653
					has_full_control_of_state = 572
					has_full_control_of_state = 583
					has_full_control_of_state = 882
					has_full_control_of_state = 878
					has_full_control_of_state = 876
					has_full_control_of_state = 877
					has_full_control_of_state = 874
					has_full_control_of_state = 875
				}
			}
			GER = {
				is_subject = no
				has_full_control_of_state = 64
				surrender_progress < 0.01
			}
			custom_trigger_tooltip = {
				tooltip = SOV_exile_siberia_tt
				OR = {
					195 = { is_controlled_by = GER }
					any_country = {
						is_in_faction_with = GER
						controls_state = 195
					}
				}
				OR = {
					219 = { is_controlled_by = GER }
					any_country = {
						is_in_faction_with = GER
						controls_state = 219
					}
				}
				OR = {
					217 = { is_controlled_by = GER }
					any_country = {
						is_in_faction_with = GER
						controls_state = 217
					}
				}
			}
			NOT = {
				has_government = anarchy
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA }
		completion_reward = {
			GER = {
				country_event = { id = russia2_germany.1 }
			}
			custom_effect_tooltip = SOV_exile_siberia_tt2
		}
	}

	#Improve Siberia
	focus = {
		id = SOV_improve_siberia
		x = 23
		y = 3
		prerequisite = { focus = SOV_the_motherland }
		icon = GFX_Improve_siberia
		cost = 8
		ai_will_do = {
			factor = 1
		}
		available = {
			NOT = {
				has_idea = SOV_Improving_eastern_poland
				has_idea = SOV_Improving_the_baltics
			}
			custom_trigger_tooltip = {
				tooltip = SOV_improve_siberia_tt
				OR = {
					408 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 408
						controls_state = 408
					}
				}
				OR = {
					409 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 409
						controls_state = 409
					}
				}
				OR = {
					560 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 560
						controls_state = 560
					}
				}
				OR = {
					657 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 657
						controls_state = 657
					}
				}
				OR = {
					561 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 561
						controls_state = 561
					}
				}
				OR = {
					562 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 562
						controls_state = 562
					}
				}
				OR = {
					637 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 637
						controls_state = 637
					}
				}
				OR = {
					644 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 644
						controls_state = 644
					}
				}
				OR = {
					574 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 574
						controls_state = 574
					}
				}
				OR = {
					563 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 563
						controls_state = 563
					}
				}
				OR = {
					565 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 565
						controls_state = 565
					}
				}
				OR = {
					575 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 575
						controls_state = 575
					}
				}
				OR = {
					516 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 516
						controls_state = 516
					}
				}
				OR = {
					564 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 564
						controls_state = 564
					}
				}
				OR = {
					566 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 566
						controls_state = 566
					}
				}
				OR = {
					567 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 567
						controls_state = 567
					}
				}
				OR = {
					568 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 568
						controls_state = 568
					}
				}
				OR = {
					576 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 576
						controls_state = 576
					}
				}
				OR = {
					822 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 822
						controls_state = 822
					}
				}
				OR = {
					824 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 824
						controls_state = 824
					}
				}
				OR = {
					878 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 878
						controls_state = 878
					}
				}
				OR = {
					876 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 876
						controls_state = 876
					}
				}
				OR = {
					877 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 877
						controls_state = 877
					}
				}
				OR = {
					874 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 874
						controls_state = 874
					}
				}
				OR = {
					875 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 875
						controls_state = 875
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = SOV_Improving_siberia
			add_political_power = 25
			custom_effect_tooltip = SOV_improve_siberia_tt2
			hidden_effect = {
				408 = {
					add_extra_state_shared_building_slots = 2
				}
				409 = {
					add_extra_state_shared_building_slots = 2
				}
				560 = {
					add_extra_state_shared_building_slots = 2
				}
				657 = {
					add_extra_state_shared_building_slots = 2
				}
				if = {
					limit = {
						655 = { is_owned_and_controlled_by = ROOT }
					}
					655 = {
						add_extra_state_shared_building_slots = 2
					}
				}
				561 = {
					add_extra_state_shared_building_slots = 2
				}
				562 = {
					add_extra_state_shared_building_slots = 2
				}
				637 = {
					add_extra_state_shared_building_slots = 2
				}
				644 = {
					add_extra_state_shared_building_slots = 2
				}
				574 = {
					add_extra_state_shared_building_slots = 2
				}
				563 = {
					add_extra_state_shared_building_slots = 2
				}
				565 = {
					add_extra_state_shared_building_slots = 2
				}
				575 = {
					add_extra_state_shared_building_slots = 2
				}
				516 = {
					add_extra_state_shared_building_slots = 2
				}
				564 = {
					add_extra_state_shared_building_slots = 2
				}
				566 = {
					add_extra_state_shared_building_slots = 2
				}
				567 = {
					add_extra_state_shared_building_slots = 2
				}
				568 = {
					add_extra_state_shared_building_slots = 2
				}
				576 = {
					add_extra_state_shared_building_slots = 2
				}
				822 = {
					add_extra_state_shared_building_slots = 2
				}
				824 = {
					add_extra_state_shared_building_slots = 2
				}
			}
		}
	}

	#Industrialize Siberia
	focus = {
		id = SOV_industrialize_siberia
		x = 21
		y = 4
		prerequisite = { focus = SOV_improve_siberia }
		icon = GFX_goal_generic_construct_civ_factory
		cost = 4
		available = {
			has_idea = SOV_Improving_siberia
			custom_trigger_tooltip = {
				tooltip = SOV_industrialize_siberia_tt
				OR = {
					408 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 408
						controls_state = 408
					}
				}
				OR = {
					409 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 409
						controls_state = 409
					}
				}
				OR = {
					560 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 560
						controls_state = 560
					}
				}
				OR = {
					657 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 657
						controls_state = 657
					}
				}
				OR = {
					561 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 561
						controls_state = 561
					}
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			custom_effect_tooltip = SOV_industrialize_siberia_tt2
			hidden_effect = {
				408 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
				409 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
				560 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
				if = {
					limit = {
						655 = { is_owned_and_controlled_by = ROOT }
					}
					655 = {
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = industrial_complex
							level = 1
							instant_build = yes
						}
					}
				}
				657 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
				561 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	#Develop Vladivostok
	focus = {
		id = SOV_develop_vladivostok
		x = 21
		y = 5
		prerequisite = { focus = SOV_industrialize_siberia }
		icon = GFX_goal_generic_construct_civilian
		cost = 4
		available = {
			has_idea = SOV_Improving_siberia
			custom_trigger_tooltip = {
				tooltip = SOV_develop_vladivostok_tt
				OR = {
					408 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 408
						controls_state = 408
					}
				}
				OR = {
					409 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 409
						controls_state = 409
					}
				}
				OR = {
					657 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 657
						controls_state = 657
					}
				}
				OR = {
					561 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 561
						controls_state = 561
					}
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			408 = {
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = dockyard
					level = 4
					instant_build = yes
				}
			}
			custom_effect_tooltip = SOV_develop_vladivostok_tt2
			hidden_effect = {
				409 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}

					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
				657 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}

					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
				561 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}

					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	#Construct air bases in Siberia
	focus = {
		id = SOV_construct_air_bases_siberia
		x = 25
		y = 5
		prerequisite = { focus = SOV_expand_infrastructure_siberia }
		icon = GFX_goal_generic_air_bomber
		cost = 4
		available = {
			has_idea = SOV_Improving_siberia
			custom_trigger_tooltip = {
				tooltip = SOV_construct_air_bases_siberia_tt
				OR = {
					409 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 409
						controls_state = 409
					}
				}
				OR = {
					657 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 657
						controls_state = 657
					}
				}
				OR = {
					563 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 563
						controls_state = 563
					}
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_INDUSTRY FOCUS_FILTER_AIR_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_construct_air_bases_siberia_tt2
			hidden_effect = {
				409 = {
					add_building_construction = {
						type = air_base
						level = 3
						instant_build = yes
					}
				}
				657 = {
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
				}
				563 = {
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
				}
			}
		}
	}

	#Expand the infrastructure of Siberia
	focus = {
		id = SOV_expand_infrastructure_siberia
		x = 25
		y = 4
		prerequisite = { focus = SOV_improve_siberia }
		icon = GFX_goal_generic_construct_infrastructure
		cost = 4
		available = {
			has_idea = SOV_Improving_siberia
			custom_trigger_tooltip = {
				tooltip = SOV_expand_infrastructure_siberia_tt
				OR = {
					408 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 408
						controls_state = 408
					}
				}
				OR = {
					409 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 409
						controls_state = 409
					}
				}
				OR = {
					657 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 657
						controls_state = 657
					}
				}
				OR = {
					561 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 561
						controls_state = 561
					}
				}
				OR = {
					563 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 563
						controls_state = 563
					}
				}
				OR = {
					564 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 564
						controls_state = 564
					}
				}
				OR = {
					574 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 574
						controls_state = 574
					}
				}
				OR = {
					644 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 644
						controls_state = 644
					}
				}
				OR = {
					562 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 562
						controls_state = 562
					}
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			custom_effect_tooltip = SOV_expand_infrastructure_siberia_tt2
			SOV = {
				build_railway = {
					level = 1
					build_only_on_allied = yes
					controller_priority = {
					  base = 1
					}
					fallback = yes
					start_state  = 562
					target_state = 644
				}
			}
			hidden_effect = {
				408 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				409 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				657 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				561 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				563 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				564 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	#Fortify Siberia
	focus = {
		id = SOV_fortify_siberia
		x = 23
		y = 6
		prerequisite = { focus = SOV_construct_air_bases_siberia }
		prerequisite = { focus = SOV_develop_vladivostok }
		icon = GFX_goal_generic_fortify_city
		cost = 8
		ai_will_do = {
			factor = 1
		}
		available = {
			has_idea = SOV_Improving_siberia
			custom_trigger_tooltip = {
				tooltip = SOV_fortify_siberia_tt
				OR = {
					408 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 408
						controls_state = 408
					}
				}
				OR = {
					409 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 409
						controls_state = 409
					}
				}
				OR = {
					657 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 657
						controls_state = 657
					}
				}
				OR = {
					561 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 561
						controls_state = 561
					}
				}
				OR = {
					563 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 563
						controls_state = 563
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			remove_ideas = SOV_Improving_siberia
			custom_effect_tooltip = SOV_fortify_siberia_tt2
			hidden_effect = {
				408 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 11879
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 3977
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 6838
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 3787
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 6684
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 664
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 6686
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 11643
						instant_build = yes
					}
				}
				409 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 10466
						instant_build = yes
					}

					add_building_construction = {
						type = bunker
						level = 2
						province = 12189
						instant_build = yes
					}
				}
				657 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 4805
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 7672
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 10722
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 7801
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 10655
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 4725
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 7763
						instant_build = yes
					}
				}
				561 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 12657
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 10678
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 7851
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 12543
						instant_build = yes
					}
				}
				563 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 10559
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 12622
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 4719
						instant_build = yes
					}
				}
				if = {
					limit = {
						OR = {
							any_country = {
								is_subject_of = ROOT
								has_full_control_of_state = 330
							}
							any_country = {
								is_in_faction_with = ROOT
								has_full_control_of_state = 330
							}
							330 = { is_owned_and_controlled_by = ROOT }
						}
					}
					330 = {
						add_building_construction =	{
							type = bunker
							level = 2
							province = 4792
							instant_build = yes
						}
						add_building_construction =	{
							type = bunker
							level = 2
							province = 12557
							instant_build = yes
						}
						add_building_construction =	{
							type = bunker
							level = 2
							province = 1743
							instant_build = yes
						}
						add_building_construction =	{
							type = bunker
							level = 2
							province = 12629
							instant_build = yes
						}
						add_building_construction =	{
							type = bunker
							level = 2
							province = 4873
							instant_build = yes
						}
						add_building_construction =	{
							type = bunker
							level = 2
							province = 10575
							instant_build = yes
						}
						add_building_construction =	{
							type = bunker
							level = 2
							province = 12612
							instant_build = yes
						}
						add_building_construction =	{
							type = bunker
							level = 2
							province = 4856
							instant_build = yes
						}
						add_building_construction =	{
							type = bunker
							level = 2
							province = 1723
							instant_build = yes
						}
						add_building_construction =	{
							type = bunker
							level = 2
							province = 4655
							instant_build = yes
						}
					}
				}
			}
		}
	}

	#Improve Eastern Poland
	focus = {
		id = SOV_improve_eastern_poland
		x = 17
		y = 3
		prerequisite = { focus = SOV_the_motherland }
		icon = GFX_focus_Improve_Poland
		cost = 8
		available = {
			NOT = {
				has_idea = SOV_Improving_siberia
				has_idea = SOV_Improving_the_baltics
			}
			custom_trigger_tooltip = {
				tooltip = SOV_improve_eastern_poland_tt
				OR = {
					96 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 96
						controls_state = 96
					}
				}
				OR = {
					784 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 784
						controls_state = 784
					}
				}
				OR = {
					95 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 95
						controls_state = 95
					}
				}
				OR = {
					94 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 94
						controls_state = 94
					}
				}
				OR = {
					93 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 93
						controls_state = 93
					}
				}
				OR = {
					91 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 91
						controls_state = 91
					}
				}
				OR = {
				 89 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 89
						controls_state = 89
					}
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = SOV_Improving_eastern_poland
			add_political_power = 75
			custom_effect_tooltip = SOV_improve_eastern_poland_tt2
			hidden_effect = {
				96 = {
					add_extra_state_shared_building_slots = 2
				}
				784 = {
					add_extra_state_shared_building_slots = 2
				}
				95 = {
					add_extra_state_shared_building_slots = 2
				}
				94 = {
					add_extra_state_shared_building_slots = 2
				}
				93 = {
					add_extra_state_shared_building_slots = 2
				}
				91 = {
					add_extra_state_shared_building_slots = 2
				}
				89 = {
					add_extra_state_shared_building_slots = 2
				}
			}
		}
	}

	#Improve Polish infrastructure
	focus = {
		id = SOV_improve_polish_infrastructure
		x = 19
		y = 4
		prerequisite = { focus = SOV_improve_eastern_poland }
		icon = GFX_goal_generic_construct_infrastructure
		cost = 5
		available = {
			has_idea = SOV_Improving_eastern_poland
			custom_trigger_tooltip = {
				tooltip = SOV_improve_polish_infrastructure_tt
				OR = {
					96 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 96
						controls_state = 96
					}
				}
				OR = {
					784 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 784
						controls_state = 784
					}
				}
				OR = {
					95 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 95
						controls_state = 95
					}
				}
				OR = {
					94 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 94
						controls_state = 94
					}
				}
				OR = {
					93 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 93
						controls_state = 93
					}
				}
				OR = {
					91 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 91
						controls_state = 91
					}
				}
				OR = {
				 89 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 89
						controls_state = 89
					}
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			custom_effect_tooltip = SOV_improve_polish_infrastructure_tt2
			SOV = {
				build_railway = {
					level = 1
					build_only_on_allied = yes
					controller_priority = {
					  base = 1
					}
					fallback = yes
					start_state  = 94
					target_state = 224
				}
			}
			hidden_effect = {
				96 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				784 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				95 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				94 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				93 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				91 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				89 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	#Construct air bases in Poland
	focus = {
		id = SOV_air_bases_poland
		x = 19
		y = 5
		prerequisite = { focus = SOV_improve_polish_infrastructure }
		icon = GFX_goal_generic_air_fighter
		cost = 4
		available = {
			has_idea = SOV_Improving_eastern_poland
			custom_trigger_tooltip = {
				tooltip = SOV_air_bases_poland_tt
				OR = {
					96 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 96
						controls_state = 96
					}
				}
				OR = {
					94 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 94
						controls_state = 94
					}
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_INDUSTRY FOCUS_FILTER_AIR_RUSSIA }
		completion_reward = {
			air_experience = 20
			custom_effect_tooltip = SOV_air_bases_poland_tt2
			hidden_effect = {
				94 = {
					add_building_construction = {
						type = air_base
						level = 5
						instant_build = yes
					}
				}
				96 = {
					add_building_construction = {
						type = air_base
						level = 3
						instant_build = yes
					}
				}
			}
		}
	}

	#Industrialize Eastern Poland
	focus = {
		id = SOV_industrialize_eastern_poland
		x = 15
		y = 4
		prerequisite = { focus = SOV_improve_eastern_poland }
		icon = GFX_goal_generic_construction
		cost = 4
		available = {
			has_idea = SOV_Improving_eastern_poland
			custom_trigger_tooltip = {
				tooltip = SOV_industrialize_eastern_poland_tt
				OR = {
					95 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 95
						controls_state = 95
					}
				}
				OR = {
					94 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 94
						controls_state = 94
					}
				}
				OR = {
					93 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 93
						controls_state = 93
					}
				}
				OR = {
					91 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 91
						controls_state = 91
					}
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			custom_effect_tooltip = SOV_industrialize_eastern_poland_tt2
			hidden_effect = {
				95 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
				94 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
				93 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
				91 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
			}
		}
	}

	#Expand Polish industry
	focus = {
		id = SOV_expand_polish_industry
		x = 15
		y = 5
		prerequisite = { focus = SOV_industrialize_eastern_poland }
		icon = GFX_goal_generic_construct_civ_factory
		cost = 4
		available = {
			has_idea = SOV_Improving_eastern_poland
			custom_trigger_tooltip = {
				tooltip = SOV_expand_polish_industry_tt
				OR = {
					94 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 94
						controls_state = 94
					}
				}
				OR = {
					91 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 91
						controls_state = 91
					}
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			91 = {
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}

			94 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Fortify Eastern Poland
	focus = {
		id = SOV_fortify_eastern_poland
		x = 17
		y = 6
		prerequisite = { focus = SOV_expand_polish_industry }
		prerequisite = { focus = SOV_air_bases_poland }
		icon = GFX_goal_generic_fortify_city
		cost = 7
		available = {
			has_idea = SOV_Improving_eastern_poland
			custom_trigger_tooltip = {
				tooltip = SOV_fortify_eastern_poland_tt
				OR = {
					95 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 95
						controls_state = 95
					}
				}
				OR = {
					94 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 94
						controls_state = 94
					}
				}
				OR = {
					93 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 93
						controls_state = 93
					}
				}
				OR = {
					91 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 91
						controls_state = 91
					}
				}
				OR = {
				 89 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 89
						controls_state = 89
					}
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			remove_ideas = SOV_Improving_eastern_poland
			custom_effect_tooltip = SOV_fortify_eastern_poland_tt2
			hidden_effect = {
				95 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 13206
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 318
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 3281
						instant_build = yes
					}
				}
				94 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 3392
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 6546
						instant_build = yes
					}
				}
				93 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 11441
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 422
						instant_build = yes
					}
				}
				91 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 536
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 9468
						instant_build = yes
					}
				}
				89 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 6431
						instant_build = yes
					}
				}
			}
		}
	}

	#Improve the Baltics
	focus = {
		id = SOV_improve_baltics
		x = 9
		y = 3
		prerequisite = { focus = SOV_the_motherland }
		icon = GFX_Improve_baltics
		cost = 8
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		available = {
			NOT = {
				has_idea = SOV_Improving_siberia
				has_idea = SOV_Improving_eastern_poland
			}
			custom_trigger_tooltip = {
				tooltip = SOV_improve_baltics_tt
				OR = {
					12 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 12
						controls_state = 12
					}
				}
				OR = {
					190 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 190
						controls_state = 190
					}
				}
				OR = {
					809 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 809
						controls_state = 809
					}
				}
				OR = {
					808 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 808
						controls_state = 808
					}
				}
				OR = {
					810 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 810
						controls_state = 810
					}
				}
				OR = {
					191 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 191
						controls_state = 191
					}
				}
				OR = {
					13 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 13
						controls_state = 13
					}
				}
				OR = {
					811 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 811
						controls_state = 811
					}
				}
				OR = {
					812 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 812
						controls_state = 812
					}
				}
				OR = {
					813 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 813
						controls_state = 813
					}
				}
				OR = {
					11 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 11
						controls_state = 11
					}
				}
				OR = {
					189 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 189
						controls_state = 189
					}
				}
				OR = {
					814 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 814
						controls_state = 814
					}
				}
				OR = {
					815 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 815
						controls_state = 815
					}
				}
			}
		}
		completion_reward = {
			add_ideas = SOV_Improving_the_baltics
			add_political_power = 50
			custom_effect_tooltip = SOV_improve_baltics_tt2
			hidden_effect = {
				12 = {
					add_extra_state_shared_building_slots = 2
				}
				190 = {
					add_extra_state_shared_building_slots = 2
				}
				808 = {
					add_extra_state_shared_building_slots = 2
				}
				809 = {
					add_extra_state_shared_building_slots = 2
				}
				810 = {
					add_extra_state_shared_building_slots = 2
				}
				191 = {
					add_extra_state_shared_building_slots = 2
				}
				13 = {
					add_extra_state_shared_building_slots = 2
				}
				811 = {
					add_extra_state_shared_building_slots = 2
				}
				812 = {
					add_extra_state_shared_building_slots = 2
				}
				813 = {
					add_extra_state_shared_building_slots = 2
				}
				11 = {
					add_extra_state_shared_building_slots = 2
				}
				189 = {
					add_extra_state_shared_building_slots = 2
				}
				814 = {
					add_extra_state_shared_building_slots = 2
				}
				815 = {
					add_extra_state_shared_building_slots = 2
				}
			}
		}
	}

	#Improve Baltic infrastructure
	focus = {
		id = SOV_improve_baltics_infrastructure
		x = 11
		y = 4
		prerequisite = { focus = SOV_improve_baltics }
		icon = GFX_goal_generic_construct_infrastructure
		cost = 4
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		available = {
			has_idea = SOV_Improving_the_baltics
			custom_trigger_tooltip = {
				tooltip = SOV_improve_baltics_infrastructure_tt
				OR = {
					809 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 809
						controls_state = 809
					}
				}
				OR = {
					810 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 810
						controls_state = 810
					}
				}
				OR = {
					811 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 811
						controls_state = 811
					}
				}
				OR = {
					815 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 815
						controls_state = 815
					}
				}
				OR = {
					814 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 814
						controls_state = 814
					}
				}
				OR = {
					808 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 808
						controls_state = 808
					}
				}
			}
		}
		completion_reward = {
			custom_effect_tooltip = SOV_improve_baltics_infrastructure_tt2
			SOV = {
				build_railway = {
					level = 1
					build_only_on_allied = yes
					controller_priority = {
					  base = 1
					}
					fallback = yes
					start_state  = 11
					target_state = 812
				}
				build_railway = {
					level = 1
					build_only_on_allied = yes
					controller_priority = {
					  base = 1
					}
					fallback = yes
					start_state  = 11
					target_state = 210
				}
			}
			hidden_effect = {
				809 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				810 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				811 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				815 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				814 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				808 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	#Construct air bases in the Baltics
	focus = {
		id = SOV_air_bases_baltics
		x = 11
		y = 5
		prerequisite = { focus = SOV_improve_baltics_infrastructure }
		icon = GFX_goal_generic_air_fighter
		cost = 3
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_INDUSTRY FOCUS_FILTER_AIR_RUSSIA }
		available = {
			has_idea = SOV_Improving_the_baltics
			custom_trigger_tooltip = {
				tooltip = SOV_air_bases_baltics_tt
				OR = {
					190 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 190
						controls_state = 190
					}
				}
				OR = {
					191 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 191
						controls_state = 191
					}
				}
				OR = {
					189 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 189
						controls_state = 189
					}
				}
			}
		}
		completion_reward = {
			custom_effect_tooltip = SOV_air_bases_baltics_tt2
			hidden_effect = {
				191 = {
					add_building_construction = {
						type = air_base
						level = 3
						instant_build = yes
					}
				}
				190 = {
					add_building_construction = {
						type = air_base
						level = 3
						instant_build = yes
					}
				}
				189 = {
					add_building_construction = {
						type = air_base
						level = 3
						instant_build = yes
					}
				}
			}
		}
	}

	#Industrialize the Baltics
	focus = {
		id = SOV_industrialize_baltics
		x = 7
		y = 4
		prerequisite = { focus = SOV_improve_baltics }
		icon = GFX_goal_generic_construction
		cost = 3
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		available = {
			has_idea = SOV_Improving_the_baltics
			custom_trigger_tooltip = {
				tooltip = SOV_industrialize_baltics_tt
				OR = {
					813 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 813
						controls_state = 813
					}
				}
				OR = {
					809 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 809
						controls_state = 809
					}
				}
				OR = {
					189 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 189
						controls_state = 189
					}
				}
			}
		}
		completion_reward = {
			custom_effect_tooltip = SOV_industrialize_baltics_tt2
			hidden_effect = {
				813 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
				809 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
				189 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	#Expand Baltic industry
	focus = {
		id = SOV_expand_baltics_industry
		x = 7
		y = 5
		prerequisite = { focus = SOV_industrialize_baltics }
		icon = GFX_goal_generic_construct_civ_factory
		cost = 3
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		available = {
			has_idea = SOV_Improving_the_baltics
			custom_trigger_tooltip = {
				tooltip = SOV_expand_baltics_industry_tt
				OR = {
					808 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 808
						controls_state = 808
					}
				}
				OR = {
					812 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 812
						controls_state = 812
					}
				}
				OR = {
					11 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 11
						controls_state = 11
					}
				}
			}
		}
		completion_reward = {
			custom_effect_tooltip = SOV_expand_baltics_industry_tt2
			hidden_effect = {
				808 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
				812 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
				11 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	#Fortify the Baltics
	focus = {
		id = SOV_fortify_baltics
		x = 9
		y = 6
		prerequisite = { focus = SOV_expand_baltics_industry }
		prerequisite = { focus = SOV_air_bases_baltics }
		icon = GFX_goal_generic_fortify_city
		cost = 8
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_INDUSTRY }
		available = {
			has_idea = SOV_Improving_the_baltics
			custom_trigger_tooltip = {
				tooltip = SOV_fortify_baltics_tt
				OR = {
					814 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 814
						controls_state = 814
					}
				}
				OR = {
					189 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 189
						controls_state = 189
					}
				}
				OR = {
					12 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 12
						controls_state = 12
					}
				}
				OR = {
					808 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 808
						controls_state = 808
					}
				}
				OR = {
					809 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 809
						controls_state = 809
					}
				}
				OR = {
					190 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 190
						controls_state = 190
					}
				}
				OR = {
					13 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 13
						controls_state = 13
					}
				}
				OR = {
					812 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 812
						controls_state = 812
					}
				}
				OR = {
					813 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 813
						controls_state = 813
					}
				}
			}
		}
		completion_reward = {
			remove_ideas = SOV_Improving_the_baltics
			custom_effect_tooltip = SOV_fortify_baltics_tt2
			hidden_effect = {
				814 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 6281
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 11312
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 6407
						instant_build = yes
					}
				}
				189 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 3337
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 9499
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 6314
						instant_build = yes
					}
					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 6314
						instant_build = yes
					}
				}
				12 = {
					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 9317
						instant_build = yes
					}
				}
				808 = {
					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 9340
						instant_build = yes
					}
					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 9240
						instant_build = yes
					}
				}
				809 = {
					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 3525
						instant_build = yes
					}
					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 6222
						instant_build = yes
					}
				}
				190 = {
					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 9262
						instant_build = yes
					}
					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 3319
						instant_build = yes
					}
					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 3296
						instant_build = yes
					}
					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 6322
						instant_build = yes
					}
				}
				13 = {
					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 11291
						instant_build = yes
					}
					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 3174
						instant_build = yes
					}
					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 83
						instant_build = yes
					}
				}
				812 = {
					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 567
						instant_build = yes
					}
					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 3152
						instant_build = yes
					}
					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 11426
						instant_build = yes
					}
				}
				813 = {
					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 11127
						instant_build = yes
					}
					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 11443
						instant_build = yes
					}
					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 4640
						instant_build = yes
					}
				}
			}
		}
	}

	#Improve Russia
	focus = {
		id = SOV_improve_russia
		x = 13
		y = 6
		prerequisite = { focus = SOV_the_motherland }
		icon = GFX_focus_Improve_Russia
		cost = 7
		ai_will_do = {
			factor = 3
		}
		available = {
			is_subject = no
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_ideas = SOV_Improve_russia
			if = {
				limit = {
					OR = {
						has_idea = SOV_Unhappy_peasants1
						has_idea = SOV_Unhappy_peasants2
					}
				}
				custom_effect_tooltip = SOV_improve_russia_tt
			}
		}
	}

	#A New Russia
	focus = {
		id = SOV_new_russia
		x = 3
		y = 6
		prerequisite = { focus = SOV_resolve_the_infrastructure_problem }
		icon = GFX_goal_generic_forceful_treaty
		cost = 3
		ai_will_do = {
			factor = 8
		}
		available = {
			NOT = {
				has_idea = SOV_Anarchist_terrorist
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_political_power = 100
			if = {
				limit = {
					OR = {
						has_idea = SOV_Unhappy_peasants1
						has_idea = SOV_Unhappy_peasants2
						has_idea = SOV_Unhappy_peasants3
						has_idea = SOV_Unhappy_peasants4
						has_idea = SOV_Unhappy_peasants5
					}
				}
				custom_effect_tooltip = SOV_new_russia_tt
			}
			if = {
				limit = {
					has_government = communism
				}
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = SOV_Karl_radek
			}
		}
	}

	#Russian Expansion
	focus = {
		id = SOV_russian_expansion
		x = 8
		y = 7
		prerequisite = { focus = SOV_new_russia }
		prerequisite = { focus = SOV_improve_russia }
		icon = GFX_focus_usa_focus_on_europe
		cost = 5
		ai_will_do = {
			factor = 9
		}
		will_lead_to_war_with = FIN
		will_lead_to_war_with = LAT
		will_lead_to_war_with = LIT
		will_lead_to_war_with = EST
		will_lead_to_war_with = ROM
		will_lead_to_war_with = MOL
		will_lead_to_war_with = POL
		available = {
			is_subject = no
			OR = {
				date > 1939.08.23
				has_idea = SOV_molotov_ribbentrop_pact
			}
			OR = {
				has_completed_focus = SOV_great_purge2
				has_completed_focus = SOV_consolidate_true_communism
				has_completed_focus = SOV_reunification
				has_completed_focus = SOV_freedom_all
				has_completed_focus = SOV_united_russia
				has_completed_focus = SOV_preemptive_coup
				has_completed_focus = SOV_restoration_tsar
				has_completed_focus = SOV_firm_hand
				has_completed_focus = SOV_the_lawyer_remains
				has_completed_focus = SOV_the_tables_have_turned
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
			custom_trigger_tooltip = {
				tooltip = SOV_russian_expansion_tt
				NOT = {
					has_idea = SOV_Political_Unstability
					has_idea = SOV_Political_Unstability2
				}
			}
			custom_trigger_tooltip = {
				tooltip = SOV_not_in_civil_war_tt
				has_civil_war = no
				NOT = {
					has_global_flag = second_russian_civil_war_in_progress
				}
			}
		}
		bypass = {
			OR = {
				has_completed_focus = SOV_abandon_foreign_claims
				has_government = anarchy
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			custom_effect_tooltip = SOV_russian_expansion_tt3
			hidden_effect = {
				add_state_claim = 91
				add_state_claim = 89
				add_state_claim = 93
				add_state_claim = 94
				add_state_claim = 95
				add_state_claim = 96
				add_state_claim = 784
				add_state_claim = 11
				add_state_claim = 189
				add_state_claim = 814
				add_state_claim = 188
				add_state_claim = 815
				add_state_claim = 12
				add_state_claim = 190
				add_state_claim = 809
				add_state_claim = 808
				add_state_claim = 810
				add_state_claim = 191
				add_state_claim = 13
				add_state_claim = 811
				add_state_claim = 812
				add_state_claim = 813
				add_state_claim = 766
				add_state_claim = 78
				add_state_claim = 80
			}
			custom_effect_tooltip = SOV_russian_expansion_tt4
		}
	}

	#Red Finland
	focus = {
		id = SOV_red_finland
		x = 4
		y = 8
		prerequisite = { focus = SOV_russian_expansion }
		icon = GFX_Red_Finland
		cost = 5
		ai_will_do = {
			factor = 4
		}
		will_lead_to_war_with = FIN
		available = {
			has_government = communism
			FIN = {
				exists = yes
				NOT = {
					has_war_with = ROOT
					is_in_faction_with = ROOT
					has_government = communism
					is_subject_of = SOV
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
					NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = {FOCUS_FILTER_ANNEXATION}
		completion_reward = {
			add_state_claim = 146
			add_state_claim = 147
			add_state_claim = 722
			if = {
				limit = {
					FIN = {
						is_subject = yes
					}
				}
				FIN = {
					OVERLORD = {
						country_event = { id = russia2_finland.1 }
						custom_effect_tooltip = SOV_red_finland_tt
					}
				}
			}
			else = {
				FIN = {
					country_event = { id = russia2_finland.1 }
				}
			}
		}
	}

	#Improve Bessarabia
	focus = {
		id = SOV_improve_bessarabia
		x = 11
		y = 8
		prerequisite = { focus = SOV_russian_expansion }
		icon = GFX_Improve_Bessarabia
		cost = 8
		ai_will_do = {
			factor = 1
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_improve_bessarabia_tt
				OR = {
					any_country = {
						is_in_faction_with = ROOT
						has_full_control_of_state = 80
					}
					80 = { is_owned_and_controlled_by = ROOT }
				}
				OR = {
					any_country = {
						is_in_faction_with = ROOT
						has_full_control_of_state = 78
					}
					78 = { is_owned_and_controlled_by = ROOT }
				}
				OR = {
					any_country = {
						is_in_faction_with = ROOT
						has_full_control_of_state = 766
					}
					766 = { is_owned_and_controlled_by = ROOT }
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			80 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			78 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
			766 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = naval_base
					level = 2
					province = 6727
					instant_build = yes
				}
			}
		}
	}

	#Welcome Tannu Tuva to the Union
	focus = {
		id = SOV_welcome_tannu_tuva
		x = 8
		y = 10
		prerequisite = { focus = SOV_russian_expansion }
		icon = GFX_focus_Welcome_Tuva
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			country_exists = TAN
			TAN = {
				OR = {
					is_in_faction_with = ROOT
					has_government = ROOT
				}
				is_subject = no
			}
			NOT = {
				has_war_with = TAN 
			}
		}
		bypass = {
			OR = {
				TAN = {
					OR = {
						exists = no
						NOT = { has_government = ROOT }
						is_subject = yes
					}
				}
				has_government = anarchy
				has_war_with = TAN 
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			TAN = {
				country_event = { id = russia2_tannu.1 }
			}
		}
	}

	#Protect Mongolia
	focus = {
		id = SOV_puppet_mongolia
		x = 6
		y = 9
		prerequisite = { focus = SOV_russian_expansion }
		icon = GFX_Protect_Mongolia
		cost = 5
		ai_will_do = {
			factor = 4
		}
		available = {
			MON = {
				exists = yes
				is_subject = no
			}
			MON = {
				OR = {
					has_government = ROOT
					is_in_faction_with = ROOT
				}
			}
		}
		search_filters = {FOCUS_FILTER_ANNEXATION}
		completion_reward = {
			MON = {
				country_event = { id = russia2_mongolia.1 }
			}
		}
	}

	#Worker's Culture
	focus = {
		id = SOV_worker_culture
		x = 14
		y = 7
		prerequisite = { focus = SOV_improve_russia }
		mutually_exclusive = { focus = SOV_progress_cult_2 }
		icon = GFX_goal_tfv_burn_the_royal_portraits
		cost = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			NOT = {
				has_idea = SOV_Trotskyite_plot_russia2
			}
			custom_trigger_tooltip = {
				tooltip = SOV_worker_culture_tt2
				NOT = {
					OR = {
						has_idea = SOV_Instability
						has_idea = SOV_Instability2
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = SOV_Worker_culture
			if = {
				limit = {
					has_government = communism
				}
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = SOV_Ivan_smirnov
			}
		}
	}

	#Invest in Better Engineering
	focus = {
		id = SOV_better_engineering
		x = 14
		y = 8
		prerequisite = { focus = SOV_worker_culture }
		icon = GFX_Invest_engineering
		cost = 8
		ai_will_do = {
			factor = 5
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = SOV_Better_engineering
		}
	}

	#Militarized Schools
	focus = {
		id = SOV_militarized_schools_2
		x = 14
		y = 9
		prerequisite = { focus = SOV_better_engineering }
		icon = GFX_goal_generic_army_doctrines
		cost = 10
		ai_will_do = {
			factor = 5
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Militarized_schools
		}
	}

	#Progress Cult
	focus = {
		id = SOV_progress_cult_2
		x = 18
		y = 7
		prerequisite = { focus = SOV_improve_russia }
		mutually_exclusive = { focus = SOV_worker_culture }
		icon = GFX_goal_generic_scientific_exchange
		cost = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			NOT = {
				has_idea = SOV_Trotskyite_plot_russia2
			}
			custom_trigger_tooltip = {
				tooltip = SOV_progress_cult2_tt2
				NOT = {
					OR = {
						has_idea = SOV_Instability
						has_idea = SOV_Instability2
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_ideas = SOV_Progress_cult
			if = {
				limit = {
					has_government = communism
				}
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = SOV_Ivar_smilga
			}
		}
	}

	#Socialist Science
	focus = {
		id = SOV_socialist_science_2
		x = 18
		y = 8
		prerequisite = { focus = SOV_progress_cult_2 }
		icon = GFX_goal_generic_national_unity
		cost = 8
		ai_will_do = {
			factor = 5
		}
		search_filters = { FOCUS_FILTER_MANPOWER }
		completion_reward = {
			add_ideas = SOV_Socialist_science
		}
	}

	#Aviation Cult
	focus = {
		id = SOV_aviation_cult_2
		x = 18
		y = 9
		prerequisite = { focus = SOV_socialist_science_2 }
		icon = GFX_Aviation_Cult_Neutral
		cost = 10
		ai_will_do = {
			factor = 5
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_AIR_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Aviation_cult
		}
	}

	#Extra Research Slot
	focus = {
		id = SOV_extra_research_slot
		x = 20
		y = 10
		prerequisite = { focus = SOV_heavy_industry_russia2 }
		prerequisite = { focus = SOV_militarized_schools_2 focus = SOV_aviation_cult_2 }
		icon = GFX_focus_research
		cost = 10
		ai_will_do = {
			factor = 6
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_research_slot = 1
			if = {
				limit = {
					has_government = communism
				}
				unlock_decision_tooltip = SOV_propaganda_knowledge_russia2
			}
		}
	}

	#Expand the Civilian Industry in Moscow
	focus = {
		id = SOV_expand_the_civ_indu_mosc
		x = 21
		y = 7
		prerequisite = { focus = SOV_improve_russia }
		icon = GFX_goal_generic_construct_civ_factory
		cost = 6
		ai_will_do = {
			factor = 5
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_expand_the_civ_indu_mosc_tt
				any_state = {
					is_owned_by = ROOT
					is_capital = yes
					is_fully_controlled_by = ROOT
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			every_state = {
				limit = {
					is_capital = yes
					is_owned_and_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			custom_effect_tooltip = available_designer
			show_ideas_tooltip = russia2_gosproyektstroy
		}
	}

	#Keep Expanding the Civilian Industry all Over the Motherland
	focus = {
		id = SOV_keep_expanding_civ_all_over_russia
		x = 21
		y = 8
		prerequisite = { focus = SOV_expand_the_civ_indu_mosc }
		icon = GFX_focus_Russian_Industry
		cost = 8
		available = {
			surrender_progress < 0.1
		}
		ai_will_do = {
			factor = 5
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			random_owned_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}

			random_owned_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
	}

	#Armament Effort
	focus = {
		id = SOV_armament_efforts
		x = 25
		y = 7
		prerequisite = { focus = SOV_improve_russia }
		icon = GFX_goal_generic_construct_mil_factory
		cost = 6
		ai_will_do = {
			factor = 5
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_armament_efforts_tt
				any_state = {
					is_owned_by = ROOT
					is_capital = yes
					is_fully_controlled_by = ROOT
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			every_state = {
				limit = {
					is_capital = yes
					is_owned_and_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
	}

	#Expand the Armament Effort
	focus = {
		id = SOV_expand_the_armament_effort
		x = 25
		y = 8
		prerequisite = { focus = SOV_armament_efforts }
		icon = GFX_focus_generic_tank_production
		cost = 8
		available = {
			surrender_progress < 0.1
		}
		ai_will_do = {
			factor = 5
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			random_owned_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			random_owned_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
	}

	#Heavy Industry
	focus = {
		id = SOV_heavy_industry_russia2
		x = 23
		y = 9
		prerequisite = { focus = SOV_keep_expanding_civ_all_over_russia focus = SOV_expand_the_armament_effort }
		icon = GFX_focus_prc_agrarian_socialism
		cost = 12
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_heavy_industry_tt
				any_state = {
					is_owned_by = ROOT
					is_capital = yes
					is_fully_controlled_by = ROOT
				}
			}
			num_of_controlled_states > 5
		}
		ai_will_do = {
			factor = 6
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			every_state = {
				limit = {
					is_capital = yes
					is_owned_and_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}

				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				mio:SOV_mytishchy_machine_building_plant_organization = {
					add_mio_size = 2
					add_mio_funds_gain_factor = 0.1
				}
			}
			else = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = russia2_volgograd_tractor_plant
			}
			if = {
				limit = {
					has_government = communism
				}
				unlock_decision_tooltip = SOV_propaganda_builders_of_communism_russia2
				unlock_decision_tooltip = SOV_propaganda_rebuild_to_glory_russia2
			}
		}
	}

	#Radar Tech
	focus = {
		id = SOV_focus_radar_tech
		x = 27
		y = 7
		prerequisite = { focus = SOV_improve_russia }
		icon = GFX_goal_generic_radar
		cost = 5
		ai_will_do = {
			factor = 2
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			if = {
				limit = {
					all_owned_state = {
						air_facility < 1 
					}
				}
				252 = {
					add_building_construction = {
						type = air_facility
						level = 1
						province = 11375
						instant_build = yes
					}					
				}
			}
			else = {
				add_breakthrough_points = {
					specialization = specialization_air
					value = 1
				}
			}
			add_tech_bonus = {
				name = SOV_focus_radar_tech
				bonus = 1
				uses = 2
				category = radar_tech
			}
		}
	}

	#Research City Experiment
	focus = {
		id = SOV_research_city_exp
		x = 27
		y = 8
		prerequisite = { focus = SOV_focus_radar_tech }
		icon = GFX_focus_wonderweapons
		cost = 5
		ai_will_do = {
			factor = 2
		}
		bypass = {
			is_special_project_completed = sp:sp_nuclear_reactor
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			if = {
				limit = {
					all_owned_state = {
						nuclear_facility < 1 
					}
				}
				219 = {
					add_building_construction = {
						type = nuclear_facility
						level = 1
						province = 6380
						instant_build = yes
					}					
				}
			}
			else = {
				add_breakthrough_points = {
					specialization = specialization_nuclear
					value = 1
				}
			}			
			add_tech_bonus = {
				name = SOV_research_city_exp
				bonus = 2
				uses = 1
				category = nuclear
			}
		}
	}

	#Atomic Spies
	focus = {
		id = SOV_spying_on_the_american
		x = 27
		y = 9
		prerequisite = { focus = SOV_research_city_exp }
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			country_exists = USA
			NOT = {
				USA = {
					is_in_faction_with = ROOT
				}
			}
		}
		bypass = {
			#is_special_project_completed = sp:sp_nuclear_bomb
		}
		icon = GFX_Atomic_spies
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				custom_effect_tooltip = SOV_spying_on_the_american_tt
				custom_effect_tooltip = SOV_spying_on_the_american_tt2
			}
			else = {
				sp:sp_nuclear_bomb = {
					add_project_progress_ratio = 0.1
				}
			} 			
		}
	}

	#Tsar Bomba
	focus = {
		id = SOV_tsar_bomba
		x = 27
		y = 10
		prerequisite = { focus = SOV_spying_on_the_american }
		icon = GFX_focus_SOV_tsar_bomba
		cost = 6
		ai_will_do = {
			factor = 10
		}
		available = {
			is_subject = no
			is_major = yes
			has_global_flag = sov_national_obligations_allowed
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_GOLDEN_FOCUS FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			#custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = SOV_tsar_bomba_tt
			add_to_array = { sov_national_obligations_unlocked_indexes = 2 }
			set_variable = { sov_national_obligations_selected_index = 2 }
			if = {
				limit = {
					NOT = {
						has_country_flag = sov_unlocked_national_obligations
					}
				}
				set_country_flag = sov_unlocked_national_obligations
			}
            if = {
				limit = {
					NOT = {
						has_country_flag = sov_open_national_obligations
					}
				}
				set_country_flag = sov_open_national_obligations
			}
		}
	}

	#Finish the Second Five Year Plan
	focus = {
		id = SOV_finish_the_second_five_year_plan
		x = 13
		y = 11
		prerequisite = { focus = SOV_welcome_tannu_tuva }
		prerequisite = { focus = SOV_extra_research_slot }
		icon = GFX_Finish_five_year_plan
		cost = 8
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			surrender_progress < 0.25
			NOT = {
				has_idea = SOV_Trotskyite_plot_purged_russia2
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_tech_bonus = {
				name = SOV_finish_the_second_five_year_plan
				bonus = 1
				uses = 2
				category = industry
			}
			random_owned_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			random_owned_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			if = {
				limit = {
						OR = {
							has_idea = SOV_Unhappy_peasants1
							has_idea = SOV_Unhappy_peasants2
							has_idea = SOV_Unhappy_peasants3
							has_idea = SOV_Unhappy_peasants4
							has_idea = SOV_Unhappy_peasants5
							has_idea = SOV_Unhappy_peasants6
						}
				}
				custom_effect_tooltip = SOV_finish_the_second_five_year_plan_tt
			}
			if = {
				limit = {
					has_government = communism
				}
				unlock_decision_tooltip = SOV_propaganda_happy_life_russia2
			}
		}
	}

	#Industrial Awakening
	focus = {
		id = SOV_industrial_awakening
		x = 13
		y = 12
		prerequisite = { focus = SOV_finish_the_second_five_year_plan }
		icon = GFX_Industrial_Awakening
		cost = 6
		ai_will_do = {
			factor = 10
		}
		available = {
			always = no
			is_subject = no
			is_major = yes
			has_global_flag = sov_national_obligations_allowed
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_GOLDEN_FOCUS FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = SOV_industrial_awakening_tt
			add_to_array = { sov_national_obligations_unlocked_indexes = 1 }
			set_variable = { sov_national_obligations_selected_index = 1 }
			if = {
				limit = {
					NOT = {
						has_country_flag = sov_unlocked_national_obligations
					}
				}
				set_country_flag = sov_unlocked_national_obligations
			}
            if = {
				limit = {
					NOT = {
						has_country_flag = sov_open_national_obligations
					}
				}
				set_country_flag = sov_open_national_obligations
			}
		}
	}

	#Found the PCDI
	focus = {
		id = SOV_found_the_pcdi_russia2
		x = 49
		y = 1
		icon = GFX_focus_Found_the_pcdi
		cost = 5
		ai_will_do = {
			factor = 5
			modifier = {
				add = 5
				has_idea = SOV_Great_purge_idea_russia2
				NOT = {
					has_country_flag = sov_purge_ongoing
				}
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = SOV_Pcdi_2
			if = {
				limit = {
					has_government = communism
				}
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = SOV_Grigory_sokolnikov
			}
		}
	}

	#New Soviet Uniform
	focus = {
		id = SOV_new_soviet_uniform
		x = 51
		y = 2
		prerequisite = { focus = SOV_found_the_pcdi_russia2 }
		icon = GFX_goal_generic_allies_build_infantry
		cost = 5
		ai_will_do = {
			factor = 6
			modifier = {
				add = 4
				has_idea = SOV_Great_purge_idea_russia2
				NOT = {
					has_country_flag = sov_purge_ongoing
				}
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA }
		completion_reward = {
			add_ideas = SOV_New_uniform
			if = {
				limit = {
						OR = {
							has_idea = SOV_Unhappy_peasants1
							has_idea = SOV_Unhappy_peasants2
							has_idea = SOV_Unhappy_peasants3
						}
				}
				custom_effect_tooltip = SOV_new_soviet_uniform_tt
			}
		}
	}

	#Develop new Planes
	focus = {
		id = SOV_develop_new_planes
		x = 47
		y = 2
		prerequisite = { focus = SOV_found_the_pcdi_russia2 }
		icon = GFX_goal_generic_air_production
		cost = 8
		ai_will_do = {
			factor = 4
			modifier = {
				add = 6
				has_idea = SOV_Great_purge_idea_russia2
				NOT = {
					has_country_flag = sov_purge_ongoing
				}
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_AIR_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = SOV_develop_new_planes
				bonus = 0.75
				uses = 1
				category = light_air
				category = medium_air
				category = heavy_air
			}
			add_doctrine_cost_reduction = {
				name = SOV_develop_new_planes
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine
			}
			if = {
				limit = { has_dlc = "By Blood Alone" }
				add_tech_bonus = {
					name = SOV_develop_new_planes
					bonus = 0.5
					uses = 2
					category = plane_modules_tech
				}				
			}
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				mio:SOV_mig_design_bureau_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.1
				}
			}
			else = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = russia2_mig_design_bureau
			}
		}
	}

	#Improve the Gun Production
	focus = {
		id = SOV_improve_the_gun_production
		x = 49
		y = 3
		prerequisite = { focus = SOV_develop_new_planes }
		prerequisite = { focus = SOV_new_soviet_uniform }
		icon = GFX_goal_generic_construct_mil_factory
		cost = 5
		ai_will_do = {
			factor = 4
			modifier = {
				add = 6
				has_idea = SOV_Great_purge_idea_russia2
				NOT = {
					has_country_flag = sov_purge_ongoing
				}
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_timed_idea = { idea = SOV_Improve_guns_production days = 365 }
		}
	}

	#Improve the Plane Production
	focus = {
		id = SOV_improve_the_plane_production
		x = 49
		y = 4
		prerequisite = { focus = SOV_improve_the_gun_production }
		icon = GFX_goal_generic_build_airforce
		cost = 5
		ai_will_do = {
			factor = 4
			modifier = {
				add = 6
				has_idea = SOV_Great_purge_idea_russia2
				NOT = {
					has_country_flag = sov_purge_ongoing
				}
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_AIR_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_timed_idea = { idea = SOV_Improve_the_planes_production days = 365 }
		}
	}

	#Motorize the Army
	focus = {
		id = SOV_motorize_the_army
		x = 46
		y = 4
		prerequisite = { focus = SOV_improve_the_gun_production }
		icon = GFX_Motorized_army_neutral
		cost = 5
		ai_will_do = {
			factor = 2
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Motorize_the_army
		}
	}

	#Train the New Officers
	focus = {
		id = SOV_train_new_officers
		x = 49
		y = 5
		prerequisite = { focus = SOV_improve_the_plane_production }
		icon = GFX_focus_generic_military_mission
		cost = 5
		ai_will_do = {
			factor = 4
			modifier = {
				add = 6
				has_idea = SOV_Great_purge_idea_russia2
				NOT = {
					has_country_flag = sov_purge_ongoing
				}
			}
		}
		available = {
			OR = {
				has_completed_focus = SOV_great_purge2
				has_completed_focus = SOV_consolidate_true_communism
				has_completed_focus = SOV_country_in_chaos
				has_completed_focus = SOV_second_civil_war
				has_completed_focus = SOV_proclamation_commune
				has_completed_focus = SOV_embrace_total_anarchy
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA }
		completion_reward = {
			army_experience = 25
			custom_effect_tooltip = SOV_train_new_officers_tt
			if = {
				limit = {
					NOT = {
						check_variable = {
							var = sov_great_purge_status^18
							value = 2
							compare = equals
						}
					}
				}
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = SOV_Konstantin_rokossovsky
			}
			if = {
				limit = {
					NOT = {
						has_completed_focus = SOV_embrace_total_anarchy
					}
					has_character = SOV_Lev_dovator
				}
				add_corps_commander_role = {
					character = SOV_Lev_dovator
					traits = {
						cavalry_officer
						trait_reckless
						cavalry_leader
						ranger
					}
					skill = 4
					attack_skill = 3
					defense_skill = 3
					planning_skill = 4
					logistics_skill = 3
				}
			}
			if = {
				limit = {
					has_idea = SOV_Great_purge_idea_russia2
				}
				unlock_decision_tooltip = SOV_engage_new_officer
			}
			if = {
				limit = {
					has_government = communism
				}
				custom_effect_tooltip = unlock_propaganda_campaign_slot_russia2_tt
				SOV_unlock_propaganda_campaign_slot_effect_russia2 = yes
				unlock_decision_tooltip = SOV_propaganda_heroes_forward_russia2
			}
			custom_effect_tooltip = SOV_train_new_officers_tt
			if = {
				limit = {
					NOT = {
						check_variable = {
							var = sov_great_purge_status^18
							value = 2
							compare = equals
						}
					}
				}
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = SOV_Konstantin_rokossovsky
			}
			hidden_effect = {
				country_event = { id = russia2_russia.20 }
			}
		}
	}

	#New Fighters
	focus = {
		id = SOV_new_fighters
		x = 52
		y = 5
		prerequisite = { focus = SOV_improve_the_plane_production }
		icon = GFX_goal_generic_air_fighter
		cost = 10
		ai_will_do = {
			factor = 2
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_AIR_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = SOV_new_fighters
				bonus = 1.25
				uses = 1
				category = light_fighter
			}
			air_experience = 75
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				mio:SOV_astrov_design_bureau_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.1
				}
			}
			else = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = russia2_antonov_serial_production_plant
			}			
		}
	}

	#A New Russian Military
	focus = {
		id = SOV_new_russia_military
		x = 49
		y = 6
		prerequisite = { focus = SOV_train_new_officers }
		icon = GFX_focus_Soviet_Military
		cost = 8
		ai_will_do = {
			factor = 4
			modifier = {
				add = 6
				has_idea = SOV_Great_purge_idea_russia2
				NOT = {
					has_country_flag = sov_purge_ongoing
				}
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = SOV_new_russia_military
				cost_reduction = 0.5
				uses = 2
				category = land_doctrine
			}
			army_experience = 50
			if = {
				limit = {
					has_idea = SOV_Great_purge_idea_russia2
				}
				unlock_decision_tooltip = SOV_review_military_tactics
			}
		}
	}

	#Military Research Funding
	focus = {
		id = SOV_military_research_funding
		x = 49
		y = 7
		prerequisite = { focus = SOV_new_russia_military }
		icon = GFX_focus_generic_socialist_science
		cost = 10
		ai_will_do = {
			factor = 6
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_research_slot = 1
		}
	}

	#Tank Research
	focus = {
		id = SOV_tank_research
		x = 52
		y = 7
		prerequisite = { focus = SOV_new_russia_military }
		icon = GFX_goal_generic_army_tanks
		cost = 5
		ai_will_do = {
			factor = 3
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = SOV_tank_research
				bonus = 1
				uses = 1
				category = armor
			}
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				mio:SOV_mytishchy_machine_building_plant_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.1
				}
			}
			else = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = russia2_mytishchy_machine_building
			}	
		}
	}

	#Bombing Strategy
	focus = {
		id = SOV_bombing_strategy
		x = 46
		y = 7
		prerequisite = { focus = SOV_new_russia_military }
		icon = GFX_goal_generic_air_bomber
		cost = 5
		ai_will_do = {
			factor = 3
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_AIR_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = SOV_bombing_strategy
				bonus = 1.25
				uses = 1
				category = tactical_bomber
			}
		}
	}

	#The Last Doctrines
	focus = {
		id = SOV_last_doctrines
		x = 49
		y = 8
		prerequisite = { focus = SOV_military_research_funding }
		icon = GFX_goal_generic_army_doctrines
		cost = 8
		ai_will_do = {
			factor = 3
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			army_experience = 50
			add_doctrine_cost_reduction = {
				name = SOV_last_doctrines
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
			add_doctrine_cost_reduction = {
				name = SOV_last_doctrines
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine
			}
		}
	}

	#T-34
	focus = {
		id = SOV_t-34
		x = 52
		y = 8
		prerequisite = { focus = SOV_tank_research }
		icon = GFX_focus_generic_tank_production
		cost = 8
		ai_will_do = {
			factor = 3
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_RESEARCH }
		available = {
			date > 1940.10.08
		}
		completion_reward = {
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				add_tech_bonus = {
					name = SOV_t-34
					bonus = 1
					uses = 2
					ahead_reduction = 1
					category = armor
				}
			}
			else = {
				if = {
					limit = {
						NOT = {
							is_researching_technology = basic_medium_tank
							has_tech = basic_medium_tank
						}
					}
					add_tech_bonus = {
						name = SOV_t-34
						bonus = 1
						uses = 1
						technology = basic_medium_tank
					}
				}
				else_if = {
					limit = {
						OR = {
							is_researching_technology = basic_medium_tank
							has_tech = basic_medium_tank
						}
						NOT = { has_tech = improved_medium_tank }
					}
					add_tech_bonus = {
						name = SOV_t-34
						bonus = 1
						uses = 1
						ahead_reduction = 2
						technology = improved_medium_tank
					}
				}
				else = {
					add_tech_bonus = {
						name = SOV_t-34
						bonus = 1
						uses = 1
						ahead_reduction = 1
						category = armor
					}
				}
			}
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				mio:SOV_astrov_design_bureau_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.1
				}
			}
			else = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = russia2_astrov_design_bureau
			}				
		}
	}

	#Air Supremacy
	focus = {
		id = SOV_air_supremacy
		x = 46
		y = 8
		prerequisite = { focus = SOV_bombing_strategy }
		icon = GFX_goal_generic_air_fighter
		cost = 8
		ai_will_do = {
			factor = 3
		}
		available = {
			date > 1940.05.10
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_AIR_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_ideas = SOV_Air_supremacy
			add_tech_bonus = {
				name = SOV_air_supremacy
				bonus = 1
				uses = 1
				category = heavy_air
			}
		}
	}

	#The Ultimate Bomber
	focus = {
		id = SOV_the_ultimate_bomber
		x = 43
		y = 8
		prerequisite = { focus = SOV_bombing_strategy }
		icon = GFX_focus_usa_escort_fighters
		cost = 8
		ai_will_do = {
			factor = 2
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_AIR_RUSSIA FOCUS_FILTER_RESEARCH }
		available = {
			date > 1940.08.21
		}
		completion_reward = {
			if = {
				limit = { has_dlc = "By Blood Alone" }
				add_tech_bonus = {
					name = SOV_the_ultimate_bomber
					bonus = 1
					uses = 1
					category = heavy_air
				}
			}
			else = {
				if = {
					limit = {
						NOT = {
							is_researching_technology = strategic_bomber2
							has_tech = strategic_bomber2
						}
					}
					add_tech_bonus = {
						name = SOV_the_ultimate_bomber
						bonus = 1
						uses = 1
						technology = strategic_bomber2
					}
				}
				else_if = {
					limit = {
						OR = {
							is_researching_technology = strategic_bomber2
							has_tech = strategic_bomber2
						}
						NOT = { has_tech = strategic_bomber3 }
					}
					add_tech_bonus = {
						name = SOV_the_ultimate_bomber
						bonus = 1
						uses = 1
						ahead_reduction = 2
						technology = strategic_bomber3
					}
				}
				else = {
					add_tech_bonus = {
						name = SOV_the_ultimate_bomber
						bonus = 1
						uses = 1
						ahead_reduction = 2
						category = tactical_bomber
					}
				}				
			}
			air_experience = 50
		}
	}

	#Rocketry
	focus = {
		id = SOV_rocketry
		x = 46
		y = 9
		prerequisite = { focus = SOV_air_supremacy }
		icon = GFX_focus_rocketry
		cost = 10
		ai_will_do = {
			factor = 3
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_AIR_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = SOV_rocketry
				bonus = 1
				uses = 3
				category = rocketry
			}
		}
	}

	#Propaganda for the Military
	focus = {
		id = SOV_propaganda_for_the_military
		x = 49
		y = 9
		prerequisite = { focus = SOV_last_doctrines }
		icon = GFX_focus_Military_Propaganda
		cost = 8
		ai_will_do = {
			factor = 3
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_MANPOWER }
		completion_reward = {
			add_ideas = SOV_Propaganda_military
		}
	}

	#Mechanized Infantry
	focus = {
		id = SOV_mechanized_infantry
		x = 55
		y = 8
		prerequisite = { focus = SOV_tank_research }
		icon = GFX_goal_generic_army_motorized
		cost = 8
		ai_will_do = {
			factor = 2
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = SOV_rocketry
				bonus = 1
				uses = 1
				category = cat_mechanized_equipment
			}
			add_ideas = SOV_Mechanized_infantry
			army_experience = 25
		}
	}

	#Air-land Battles
	focus = {
		id = SOV_air_land_battles
		x = 52
		y = 9
		prerequisite = { focus = SOV_t-34 }
		icon = GFX_focus_generic_license_production
		cost = 10
		ai_will_do = {
			factor = 3
		}
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_AIR_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Air_land_battle
		}
	}

	#Mass Production !
	focus = {
		id = SOV_mass_production
		x = 49
		y = 10
		prerequisite = { focus = SOV_air_land_battles focus = SOV_rocketry focus = SOV_propaganda_for_the_military }
		icon = GFX_focus_generic_combined_arms
		cost = 10
		ai_will_do = {
			factor = 5
		}
		available = {
			any_country = {
				is_major = yes
				has_war_with = ROOT
			}
		}
		continue_if_invalid = yes
		search_filters = { FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_INDUSTRY FOCUS_FILTER_AIR_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Mass_production
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				mio:SOV_mytishchy_machine_building_plant_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.1
				}
			}
			else = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = russia2_uralvagonzavod
			}			
		}
	}

	#The Unfailing Army
	focus = {
		id = SOV_unfailing_army
		x = 49
		y = 11
		prerequisite = { focus = SOV_mass_production }
		icon = GFX_goal_unknown_golden
		cost = 6
		ai_will_do = {
			factor = 10
		}
		available = {
			always = no
			is_subject = no
			is_major = yes
			has_global_flag = sov_national_obligations_allowed
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_GOLDEN_FOCUS FOCUS_FILTER_ARMY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = SOV_unfailing_army_tt
			add_to_array = { sov_national_obligations_unlocked_indexes = 3 }
			set_variable = { sov_national_obligations_selected_index = 3 }
			if = {
				limit = {
					NOT = {
						has_country_flag = sov_unlocked_national_obligations
					}
				}
				set_country_flag = sov_unlocked_national_obligations
			}
            if = {
				limit = {
					NOT = {
						has_country_flag = sov_open_national_obligations
					}
				}
				set_country_flag = sov_open_national_obligations
			}
		}
	}

	#More Dockyards for Leningrad
	focus = {
		id = SOV_more_dockyards_leningrad
		x = 60
		y = 2
		prerequisite = { focus = SOV_found_the_pcdi_russia2 }
		icon = GFX_goal_generic_construct_naval_dockyard
		cost = 5
		ai_will_do = {
			factor = 1
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_more_dockyards_leningrad_tt
				OR = {
					195 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 195
						controls_state = 195
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_NAVY_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			navy_experience = 25
			195 = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = dockyard
					level = 3
					instant_build = yes
				}
			}
		}
	}

	#Improve the Dockyards in Sevastopol
	focus = {
		id = SOV_improve_dockyards_sevastopol
		x = 54
		y = 3
		mutually_exclusive = { focus = SOV_improve_dockyards_vladivostok }
		prerequisite = { focus = SOV_more_dockyards_leningrad }
		icon = GFX_Sevastopol_Dockyards
		cost = 5
		ai_will_do = {
			factor = 1
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_improve_dockyards_sevastopol_tt
				OR = {
					137 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 137
						controls_state = 137
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_NAVY_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			navy_experience = 25
			137 = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = dockyard
					level = 3
					instant_build = yes
				}
			}
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				mio:SOV_sevastopol_marine_plant_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.1
				}
			}
			else = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = russia2_sevastopol_marine_plant
			}	
		}
	}

	#Fortify the Black Sea
	focus = {
		id = SOV_fortify_black_sea
		x = 54
		y = 4
		prerequisite = { focus = SOV_improve_dockyards_sevastopol }
		icon = GFX_goal_generic_build_navy
		cost = 8
		ai_will_do = {
			factor = 1
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_fortify_black_sea_tt
				OR = {
					137 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 137
						controls_state = 137
					}
				}
				OR = {
					192 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 192
						controls_state = 192
					}
				}
				OR = {
					197 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 197
						controls_state = 197
					}
				}
				OR = {
					196 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 196
						controls_state = 196
					}
				}
				OR = {
					200 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 200
						controls_state = 200
					}
				}
				OR = {
					227 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 227
						controls_state = 227
					}
				}
				OR = {
					218 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 218
						controls_state = 218
					}
				}
				OR = {
					233 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 233
						controls_state = 233
					}
				}
				OR = {
					234 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 234
						controls_state = 234
					}
				}
				OR = {
					826 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 826
						controls_state = 826
					}
				}
				OR = {
					231 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 231
						controls_state = 231
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_NAVY_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			navy_experience = 25
			custom_effect_tooltip = SOV_fortify_black_sea_tt2
			hidden_effect = {
				137 = {
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = {
							all_provinces = yes
							limit_to_naval_base = yes
						}
						instant_build = yes
					}
				}
				192 = {
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = {
							all_provinces = yes
							limit_to_naval_base = yes
						}
						instant_build = yes
					}
				}
				197 = {
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = {
							all_provinces = yes
							limit_to_naval_base = yes
						}
						instant_build = yes
					}
				}
				196 = {
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = {
							all_provinces = yes
							limit_to_naval_base = yes
						}
						instant_build = yes
					}
				}
				200 = {
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = {
							all_provinces = yes
							limit_to_naval_base = yes
						}
						instant_build = yes
					}
				}
				227 = {
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = {
							all_provinces = yes
							limit_to_naval_base = yes
						}
						instant_build = yes
					}
				}
				218 = {
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = {
							all_provinces = yes
							limit_to_naval_base = yes
						}
						instant_build = yes
					}
				}
				233 = {
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = {
							all_provinces = yes
							limit_to_naval_base = yes
						}
						instant_build = yes
					}
				}
				234 = {
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = {
							all_provinces = yes
							limit_to_naval_base = yes
						}
						instant_build = yes
					}
				}
				231 = {
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = {
							all_provinces = yes
							limit_to_naval_base = yes
						}
						instant_build = yes
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = ROOT
								is_in_faction_with = ROOT
							}
							has_full_control_of_state = 766
						}
					}
				766 = {
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = {
							all_provinces = yes
							limit_to_naval_base = yes
						}
						instant_build = yes
						}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = ROOT
								is_in_faction_with = ROOT
							}
							has_full_control_of_state = 46
						}
					}
					46 = {
						add_building_construction = {
							type = coastal_bunker
							level = 3
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							instant_build = yes
						}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = ROOT
								is_in_faction_with = ROOT
							}
							has_full_control_of_state = 77
						}
					}
					77 = {
						add_building_construction = {
							type = coastal_bunker
							level = 3
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							instant_build = yes
						}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = ROOT
								is_in_faction_with = ROOT
							}
							has_full_control_of_state = 211
						}
					}
					211 = {
						add_building_construction = {
							type = coastal_bunker
							level = 3
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							instant_build = yes
						}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = ROOT
								is_in_faction_with = ROOT
							}
							has_full_control_of_state = 341
						}
					}
					341 = {
						add_building_construction = {
							type = coastal_bunker
							level = 3
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							instant_build = yes
						}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = ROOT
								is_in_faction_with = ROOT
							}
							has_full_control_of_state = 797
						}
					}
					797 = {
						add_building_construction = {
							type = coastal_bunker
							level = 3
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							instant_build = yes
						}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = ROOT
								is_in_faction_with = ROOT
							}
							has_full_control_of_state = 347
						}
					}
					347 = {
						add_building_construction = {
							type = coastal_bunker
							level = 3
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							instant_build = yes
						}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = ROOT
								is_in_faction_with = ROOT
							}
							has_full_control_of_state = 356
						}
					}
					356 = {
						add_building_construction = {
							type = coastal_bunker
							level = 3
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							instant_build = yes
						}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = ROOT
								is_in_faction_with = ROOT
							}
							has_full_control_of_state = 355
						}
					}
					355 = {
						add_building_construction = {
							type = coastal_bunker
							level = 3
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							instant_build = yes
						}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = ROOT
								is_in_faction_with = ROOT
							}
							has_full_control_of_state = 354
						}
					}
					354 = {
						add_building_construction = {
							type = coastal_bunker
							level = 3
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							instant_build = yes
						}
					}
				}
			}
		}
	}

	#Improve the Dockyards in Vladivostok
	focus = {
		id = SOV_improve_dockyards_vladivostok
		x = 57
		y = 3
		mutually_exclusive = { focus = SOV_improve_dockyards_sevastopol }
		prerequisite = { focus = SOV_more_dockyards_leningrad }
		icon = GFX_Vladivostok_Dockyards
		cost = 5
		ai_will_do = {
			factor = 1
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_improve_dockyards_vladivostok_tt
				OR = {
					408 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 408
						controls_state = 408
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_NAVY_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			navy_experience = 25
			408 = {
			add_extra_state_shared_building_slots = 3
			add_building_construction = {
				type = dockyard
				level = 3
				instant_build = yes
				}
			}
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				mio:SOV_rubin_design_bureau_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.1
				}
			}
			else = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = russia2_ubin_design_bureau
			}	
		}
	}

	#Fortify the East Siberian Sea
	focus = {
		id = SOV_fortify_east_siberian_sea
		x = 57
		y = 4
		prerequisite = { focus = SOV_improve_dockyards_vladivostok }
		icon = GFX_goal_generic_build_navy
		cost = 8
		ai_will_do = {
			factor = 1
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_fortify_east_siberian_sea_tt
				OR = {
					408 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 408
						controls_state = 408
					}
				}
				OR = {
					409 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 409
						controls_state = 409
					}
				}
				OR = {
					560 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 560
						controls_state = 560
					}
				}
				OR = {
					562 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 562
						controls_state = 562
					}
				}
				OR = {
					822 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 822
						controls_state = 822
					}
				}
				OR = {
					637 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 637
						controls_state = 637
					}
				}
				OR = {
					874 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 874
						controls_state = 874
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_NAVY_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			navy_experience = 25
			custom_effect_tooltip = SOV_fortify_east_siberian_sea_tt2
			hidden_effect = {
				408 = {
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = {
							all_provinces = yes
							limit_to_naval_base = yes
						}
						instant_build = yes
					}
				}
				409 = {
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = {
							all_provinces = yes
							limit_to_naval_base = yes
						}
						instant_build = yes
					}
				}
				560 = {
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = {
							all_provinces = yes
							limit_to_naval_base = yes
						}
						instant_build = yes
					}
				}
				562 = {
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = {
							all_provinces = yes
							limit_to_naval_base = yes
						}
						instant_build = yes
					}
				}
				822 = {
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = {
							all_provinces = yes
							limit_to_naval_base = yes
						}
						instant_build = yes
					}
				}
				637 = {
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = {
							all_provinces = yes
							limit_to_naval_base = yes
						}
						instant_build = yes
					}
				}
				874 = {
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = {
							all_provinces = yes
							limit_to_naval_base = yes
						}
						instant_build = yes
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = ROOT
								is_in_faction_with = ROOT
							}
							has_full_control_of_state = 655
						}
					}
					655 = {
						add_building_construction = {
							type = coastal_bunker
							level = 3
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							instant_build = yes
						}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = ROOT
								is_in_faction_with = ROOT
							}
							has_full_control_of_state = 537
						}
					}
					537 = {
						add_building_construction = {
							type = coastal_bunker
							level = 3
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							instant_build = yes
						}
					}
				}
			}
		}
	}

	#Coastal Forts
	focus = {
		id = SOV_coastal_forts
		x = 60
		y = 3
		prerequisite = { focus = SOV_more_dockyards_leningrad }
		icon = GFX_goal_generic_defence
		cost = 5
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_NAVY_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = SOV_Coastal_forts
		}
	}

	#Our Place in the Sea
	focus = {
		id = SOV_our_place_sea
		x = 60
		y = 4
		prerequisite = { focus = SOV_coastal_forts }
		icon = GFX_focus_Soviet_Fleet
		cost = 5
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_NAVY_RUSSIA }
		completion_reward = {
			navy_experience = 100
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				mio:SOV_black_sea_shipyard_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.1
				}
			}
			else = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = russia2_black_sea_shipyard
			}
		}
	}

	#Battleship Development
	focus = {
		id = SOV_battleship_development
		x = 57
		y = 5
		prerequisite = { focus = SOV_our_place_sea }
		icon = GFX_goal_generic_navy_battleship
		cost = 8
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_NAVY_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = SOV_battleship_development
				bonus = 1
				uses = 2
				category = bb_tech
			}
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				mio:SOV_nevskoye_design_bureau_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.1
				}
			}
			else = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = russia2_volgograd_shipyard
			}
		}
	}

	#Study the New Naval Doctrines
	focus = {
		id = SOV_study_new_naval_doctrines
		x = 57
		y = 6
		prerequisite = { focus = SOV_battleship_development }
		icon = GFX_goal_generic_amphibious_assault
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_NAVY_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = SOV_study_new_naval_doctrines
				bonus = 1
				uses = 1
				category = marine_tech
			}
			add_doctrine_cost_reduction = {
				name = SOV_study_new_naval_doctrines
				cost_reduction = 0.5
				uses = 1
				category = naval_doctrine
			}
			add_tech_bonus = {
				name = SOV_study_new_naval_doctrines
				bonus = 1
				uses = 1
				category = tp_tech
			}
		}
	}

	#A Flagship for Russia
	focus = {
		id = SOV_flagship_russia
		x = 57
		y = 7
		prerequisite = { focus = SOV_study_new_naval_doctrines }
		icon = GFX_focus_generic_navy_battleship2
		cost = 14
		ai_will_do = {
			factor = 1
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_more_dockyards_leningrad_tt
				OR = {
					195 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 195
						controls_state = 195
					}
				}
			}
			date > 1940.07.22
			num_of_naval_factories > 10
		}
		search_filters = { FOCUS_FILTER_NAVY_RUSSIA }
		completion_reward = {
			navy_experience = 50
			add_ideas = SOV_Russia_flagship
			custom_effect_tooltip = SOV_flagship_russia_tt
			hidden_effect = {
				if = {
					limit = {
						has_government = communism
					}
					create_equipment_variant = {
						name = "Sovetskaya Rossiya"
						type = ship_hull_heavy_4
						parent_version = 0
						modules = {
							fixed_ship_battery_slot = ship_heavy_battery_3
							fixed_ship_anti_air_slot = ship_anti_air_4
							fixed_ship_fire_control_system_slot = ship_fire_control_system_3
							fixed_ship_radar_slot = ship_radar_3
							fixed_ship_engine_slot = heavy_ship_engine_4
							fixed_ship_secondaries_slot = dp_ship_secondaries_1
							fixed_ship_armor_slot = ship_armor_bb_3
							front_1_custom_slot = ship_heavy_battery_3
							mid_1_custom_slot = ship_anti_air_4
							mid_2_custom_slot = dp_ship_secondaries_1
							mid_3_custom_slot = ship_airplane_launcher_2
							rear_1_custom_slot = ship_heavy_battery_3
						}
					}
					load_oob = "SOV_sovetskaya_rossiya"
				}
				else = {
					create_equipment_variant = {
						name = "Rovetskaya Rossiya"
						type = ship_hull_heavy_4
						parent_version = 0
						modules = {
							fixed_ship_battery_slot = ship_heavy_battery_3
							fixed_ship_anti_air_slot = ship_anti_air_4
							fixed_ship_fire_control_system_slot = ship_fire_control_system_3
							fixed_ship_radar_slot = ship_radar_3
							fixed_ship_engine_slot = heavy_ship_engine_4
							fixed_ship_secondaries_slot = dp_ship_secondaries_1
							fixed_ship_armor_slot = ship_armor_bb_3
							front_1_custom_slot = ship_heavy_battery_3
							mid_1_custom_slot = ship_anti_air_4
							mid_2_custom_slot = dp_ship_secondaries_1
							mid_3_custom_slot = ship_airplane_launcher_2
							rear_1_custom_slot = ship_heavy_battery_3
						}
					}
					load_oob = "SOV_rovetskaya_rossiya"
				}
			}
		}
	}

	#Cruiser Development
	focus = {
		id = SOV_cruiser_development
		x = 60
		y = 5
		prerequisite = { focus = SOV_our_place_sea }
		icon = GFX_goal_generic_navy_cruiser
		cost = 5
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_NAVY_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = SOV_cruiser_development
				bonus = 1
				uses = 1
				category = ca_tech
			}
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				mio:SOV_sevastopol_marine_plant_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.1
				}
			}
			else = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = russia2_dagdizel_plant
			}
		}
	}

	#Light Ships Investment
	focus = {
		id = SOV_light_ships_investment
		x = 60
		y = 6
		prerequisite = { focus = SOV_cruiser_development }
		icon = GFX_goal_generic_occupy_states_coastal
		cost = 8
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_NAVY_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = SOV_light_ships_investment
				bonus = 1
				uses = 1
				category = dd_tech
			}
			add_tech_bonus = {
				name = SOV_light_ships_investment
				bonus = 1
				uses = 1
				category = cl_tech
			}
		}
	}

	#Shore Bombardment
	focus = {
		id = SOV_shore_bombardment
		x = 60
		y = 7
		prerequisite = { focus = SOV_light_ships_investment }
		icon = GFX_goal_generic_occupy_start_war
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_NAVY_RUSSIA }
		completion_reward = {
			navy_experience = 25
			add_ideas = SOV_Shore_bombardment
		}
	}

	#Hidden Threats
	focus = {
		id = SOV_hidden_threats
		x = 63
		y = 5
		prerequisite = { focus = SOV_our_place_sea }
		icon = GFX_goal_generic_navy_submarine
		cost = 5
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_NAVY_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = SOV_hidden_threats
				bonus = 1
				uses = 1
				category = ss_tech
			}
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				mio:SOV_black_sea_shipyard_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.1
				}
			}
			else = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = russia2_amur_shipbuilding_plant
			}
		}
	}

	#The Ultimate Submarines
	focus = {
		id = SOV_ultimate_submarines
		x = 63
		y = 6
		prerequisite = { focus = SOV_hidden_threats }
		icon = GFX_goal_generic_navy_anti_submarine
		cost = 8
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_NAVY_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = SOV_ultimate_submarines
				bonus = 1
				ahead_reduction = 2
				uses = 1
				category = ss_tech
			}
		}
	}

	#Further Doctrine Improvement
	focus = {
		id = SOV_further_doctrine_improvement
		x = 63
		y = 7
		prerequisite = { focus = SOV_ultimate_submarines }
		icon = GFX_focus_generic_cryptologic_bomb
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_NAVY_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			navy_experience = 25
			add_doctrine_cost_reduction = {
				name = SOV_further_doctrine_improvement
				cost_reduction = 0.5
				uses = 2
				category = naval_doctrine
			}
			add_tech_bonus = {
				name = SOV_further_doctrine_improvement
				bonus = 1
				uses = 2
				category = radar_tech
			}
		}
	}

	#The Grand Russian Fleet
	focus = {
		id = SOV_grand_russian_fleet
		x = 60
		y = 8
		prerequisite = { focus = SOV_flagship_russia focus = SOV_shore_bombardment focus = SOV_further_doctrine_improvement }
		icon = GFX_goal_unknown_golden
		cost = 6
		ai_will_do = {
			factor = 10
		}
		available = {
			always = no
			is_subject = no
			is_major = yes
			has_global_flag = sov_national_obligations_allowed
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_GOLDEN_FOCUS FOCUS_FILTER_NAVY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = SOV_grand_russian_fleet_tt
			add_to_array = { sov_national_obligations_unlocked_indexes = 4 }
			set_variable = { sov_national_obligations_selected_index = 4 }
			if = {
				limit = {
					NOT = {
						has_country_flag = sov_unlocked_national_obligations
					}
				}
				set_country_flag = sov_unlocked_national_obligations
			}
            if = {
				limit = {
					NOT = {
						has_country_flag = sov_open_national_obligations
					}
				}
				set_country_flag = sov_open_national_obligations
			}
		}
	}

	#The New Naval Way
	focus = {
		id = SOV_new_naval_way
		x = 65
		y = 3
		prerequisite = { focus = SOV_more_dockyards_leningrad }
		icon = GFX_Soviet_Navy
		cost = 5
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_NAVY_RUSSIA }
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = SOV_new_naval_way
				cost_reduction = 0.5
				uses = 1
				category = naval_doctrine
			}
		}
	}

	#Carrier Planes
	focus = {
		id = SOV_carrier_planes
		x = 65
		y = 4
		prerequisite = { focus = SOV_new_naval_way }
		icon = GFX_goal_generic_air_naval_bomber
		cost = 5
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_NAVY_RUSSIA FOCUS_FILTER_AIR_RUSSIA }
		completion_reward = {
			if = {
				limit = { has_dlc = "By Blood Alone" }
				add_tech_bonus = {
					name = SOV_carrier_planes
					bonus = 1
					uses = 1
					category = light_air
				}				
			}
			else = {
				add_tech_bonus = {
					name = SOV_carrier_planes
					bonus = 1
					uses = 1
					category = naval_bomber
				}
			}
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				mio:SOV_yakovlev_design_bureau_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.1
				}
			}
			else = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = russia2_yakovlev_design_bureau
			}
		}
	}

	#Study the Graf Zeppelin
	focus = {
		id = SOV_study_graf_zeppelin
		x = 65
		y = 5
		prerequisite = { focus = SOV_carrier_planes }
		icon = GFX_goal_generic_navy_carrier
		cost = 8
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_NAVY_RUSSIA }
		available = {
			OR = {
				763 = { is_controlled_by = ROOT }
				any_allied_country = {
					controls_state = 763
				}
			}
		}
		completion_reward = {
			navy_experience = 25
			add_tech_bonus = {
				name = SOV_study_graf_zeppelin
				bonus = 1
				uses = 2
				category = cv_tech
			}
		}
	}

	#Great Purge
	focus = {
		id = SOV_great_purge2
		x = 75
		y = 1
		mutually_exclusive = { focus = SOV_avoid_purge focus = SOV_another_revolution }
		icon = GFX_focus_the_purge
		cost = 18
		ai_will_do = {
			factor = 10
			modifier = {
				add = 90
				OR = {
					has_country_flag = RUS_AI_JOSEPH_STALIN_COMMUNISM_BEHAVIOR
					has_country_flag = RUS_AI_OPPOSE_STALIN_COMMUNISM_BEHAVIOR
				}
			}
			modifier = {
				factor = 0
				NOT = {
					has_country_flag = RUS_AI_JOSEPH_STALIN_COMMUNISM_BEHAVIOR
					has_country_flag = RUS_AI_OPPOSE_STALIN_COMMUNISM_BEHAVIOR
					has_country_flag = RUS_AI_FULL_RANDOM_BEHAVIOR
				}
			}
		}
		available = {
			has_government = communism
			is_subject = no
			custom_trigger_tooltip = {
				tooltip = SOV_not_in_civil_war_tt
				has_civil_war = no
				NOT = {
					has_global_flag = second_russian_civil_war_in_progress
				}
			}
			NOT = {
				has_completed_focus = SOV_terrible_fate
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		select_effect = {
			country_event = { id = russia2_russia.24 days = 1 }
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_great_purge2_tt
			remove_ideas = SOV_Army_disorganisation
			remove_ideas = SOV_Trotskyite_plot_russia2
			add_ideas = SOV_Trotskyite_plot_purged_russia2
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = SOV_Nikita_khrushchev
		}
	}

	#Stalin Constitution
	focus = {
		id = SOV_stalin_consti
		x = 75
		y = 2
		prerequisite = { focus = SOV_great_purge2 }
		icon = GFX_Stalin_consti
		cost = 8
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = communism
			is_subject = no
			has_country_leader = {
		    	character = SOV_Joseph_stalin
				ruling_only = yes
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			NOT = {
				has_country_leader = {
					character = SOV_Joseph_stalin
					ruling_only = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA FOCUS_FILTER_POLITICAL }
		completion_reward = {
			custom_effect_tooltip = SOV_stalin_consti_tt
			hidden_effect = {
				add_country_leader_trait = russia2_man_of_steel
			}
			add_political_power = 100
		}
	}

	#SMERSH
	focus = {
		id = SOV_smersh2
		x = 72
		y = 3
		prerequisite = { focus = SOV_stalin_consti }
		icon = GFX_focus_SMERSH
		cost = 5
		ai_will_do = {
			factor = 2
		}
		available = {
			has_government = communism
			is_subject = no
			any_country = {
				is_major = yes
				has_war_with = ROOT
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			remove_ideas = SOV_Trotskyite_plot_purged_russia2
			add_ideas = SOV_More_op
			unlock_decision_tooltip = SOV_propaganda_treacherous_enemy_russia2
			unlock_decision_tooltip = SOV_propaganda_do_not_blab_russia2
		}
	}

	#Rehabilited Military
	focus = {
		id = SOV_rehabilitated_mil
		x = 80
		y = 2
		prerequisite = { focus = SOV_great_purge2 focus = SOV_avoid_purge }
		mutually_exclusive = { focus = SOV_the_nkvd }
		icon = GFX_goal_generic_small_arms
		cost = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = communism
			is_subject = no
			NOT = {
				has_global_flag = second_russian_civil_war_in_progress
			}
			OR = {
				has_completed_focus = SOV_stalin_consti
				has_completed_focus = SOV_consolidate_true_communism
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			add_ideas = rehabilitated_military_focus
		}
	}

	#Military Reorganisation
	focus = {
		id = SOV_mil_reogranisation
		x = 80
		y = 3
		prerequisite = { focus = SOV_rehabilitated_mil }
		icon = GFX_focus_chi_army_reform
		cost = 10
		ai_will_do = {
			factor = 4
		}
		available = {
			has_government = communism
			is_subject = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = SOV_mil_reogranisation
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
			army_experience = 25
			add_ideas = SOV_Military_reorgani
		}
	}

	#The NKVD
	focus = {
		id = SOV_the_nkvd
		x = 84
		y = 2
		prerequisite = { focus = SOV_great_purge2 focus = SOV_avoid_purge }
		mutually_exclusive = { focus = SOV_rehabilitated_mil }
		icon = GFX_focus_NKVD
		cost = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = communism
			is_subject = no
			NOT = {
				has_global_flag = second_russian_civil_war_in_progress
			}
			OR = {
				has_completed_focus = SOV_stalin_consti
				has_completed_focus = SOV_consolidate_true_communism
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			add_ideas = SOV_The_nkvd
		}
	}

	#NKVD Spies
	focus = {
		id = SOV_nkvd_spies
		x = 84
		y = 3
		prerequisite = { focus = SOV_the_nkvd }
		icon = GFX_NKVD_spies
		cost = 10
		ai_will_do = {
			factor = 4
		}
		available = {
			has_government = communism
			is_subject = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			swap_ideas = {
				remove_idea = SOV_The_nkvd
				add_idea = SOV_The_nkvd2
			}
		}
	}

	#The Agitprop
	focus = {
		id = SOV_the_agitprop_russia2
		x = 82
		y = 4
		prerequisite = { focus = SOV_nkvd_spies focus = SOV_mil_reogranisation }
		icon = GFX_focus_generic_soviet_politics
		cost = 6
		ai_will_do = {
			factor = 7
		}
		available = {
			has_government = communism
			is_subject = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_the_agitprop_tt
			unlock_decision_tooltip = SOV_propaganda_motherland_calls_russia2
			unlock_decision_tooltip = SOV_propaganda_victory_at_hand_russia2
			unlock_decision_tooltip = SOV_propaganda_defend_moscow_russia2
			unlock_decision_tooltip = SOV_propaganda_fight_to_the_last_russia2
			unlock_decision_tooltip = SOV_propaganda_hit_of_hammer_russia2
			unlock_decision_tooltip = SOV_propaganda_transport_russia2
			unlock_decision_tooltip = SOV_propaganda_oil_for_the_motherland_russia2
			unlock_decision_tooltip = SOV_propaganda_more_metal_russia2
			unlock_decision_tooltip = SOV_propaganda_high_yield_russia2
		}
	}

	#Lessons of War
	focus = {
		id = SOV_lesson_of_war
		x = 82
		y = 5
		prerequisite = { focus = SOV_the_agitprop_russia2 }
		icon = GFX_Lessons_war
		cost = 8
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = communism
			is_subject = no
			OR = {
				date > 1941.1.1
				any_country = {
					is_major = yes
					has_war_with = ROOT
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			army_experience = 25
			add_tech_bonus = {
				name = armor_bonus
				bonus = 1
				uses = 1
				category = armor
			}
			add_doctrine_cost_reduction = {
				name = SOV_mil_reogranisation
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
			if = {
				limit = {
					has_completed_focus = SOV_great_purge2
				}
				unlock_decision_tooltip = SOV_red_army_offensive_russia2
			}
		}
	}

	#Stalinism
	focus = {
		id = SOV_stalinism_foc
		x = 75
		y = 3
		prerequisite = { focus = SOV_stalin_consti }
		icon = GFX_focus_fra_loyalty_stalin
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = communism
			is_subject = no
			has_country_leader = {
		    	character = SOV_Joseph_stalin
				ruling_only = yes
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			NOT = {
				has_country_leader = {
					character = SOV_Joseph_stalin
					ruling_only = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			add_popularity = {
			    ideology = communism
			    popularity = 0.20
			}
			add_stability = 0.05
			unlock_decision_tooltip = SOV_propaganda_stalin_russia2
		}
	}

	#De-Stalinization
	focus = {
		id = SOV_destalinization
		x = 78
		y = 4
		prerequisite = { focus = SOV_stalinism_foc }
		icon = GFX_Destalinization
		cost = 8
		ai_will_do = {
			factor = 10
		}
		available = {
			has_government = communism
			is_subject = no
			NOT = {
				has_country_leader = {
					character = SOV_Joseph_stalin
					ruling_only = yes
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
			if = {
				limit = {
					tag = SOJ
				}
				always = no
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			add_stability = 0.1
			add_war_support = 0.05
			add_political_power = 300
		}
	}

	#Reign of Terror
	focus = {
		id = SOV_reign_of_terror
		x = 75
		y = 4
		prerequisite = { focus = SOV_stalinism_foc }
		icon = GFX_focus_Reign_of_Terror
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = communism
			is_subject = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Reign_terror
			if = {
				limit = {
					has_idea = SOV_Great_purge_idea_russia2
				}
				unlock_decision_tooltip = SOV_reform_military_staff
			}
			if = {
				limit = {
					has_government = communism
				}
				custom_effect_tooltip = unlock_propaganda_campaign_slot_russia2_tt
				SOV_unlock_propaganda_campaign_slot_effect_russia2 = yes
			}
		}
	}

	#Foreign Policy
	focus = {
		id = SOV_foreign_policy
		x = 75
		y = 5
		prerequisite = { focus = SOV_reign_of_terror }
		icon = GFX_goal_generic_intelligence_exchange
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = communism
			is_major = yes
			is_subject = no
			custom_trigger_tooltip = {
				tooltip = SOV_foreign_policy_tt
				custom_trigger_tooltip = {
					tooltip = SOV_not_in_civil_war_tt
					has_civil_war = no
					NOT = {
						has_global_flag = second_russian_civil_war_in_progress
					}
				}
				NOT = {
					has_global_flag = second_russian_civil_war_in_progress
				}
			}
			OR = {
				has_country_flag = sov_purge_over
				has_country_flag = sov_purge_failed
				has_country_flag = sov_purge_cancelled
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_political_power = 75
			custom_effect_tooltip = SOV_foreign_policy_tt2
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = SOV_Maksim_litvinov
			unlock_decision_tooltip = SOV_propaganda_anti_capitalism_russia2
			unlock_decision_tooltip = SOV_propaganda_anti_fascism_russia2
			hidden_effect = {
				country_event = russia2_russia.28
			}
		}
	}

	#The Comintern
	focus = {
		id = SOV_the_comintern_russia2
		x = 78
		y = 6
		prerequisite = { focus = SOV_foreign_policy }
		icon = GFX_Comintern_ru2
		cost = 5
		ai_will_do = {
			factor = 4
		}
		available = {
			has_government = communism
			is_subject = no
			is_faction_leader = yes
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_political_power = 200
			every_country = {
				limit = {
					NOT = {
						is_in_faction_with = ROOT
					}
					OR = {
						is_neighbor_of = ROOT
						any_country = {
							is_in_faction_with = ROOT
							is_neighbor_of = PREV
						}
					}
				}
				add_timed_idea = { idea = SOV_Komintern_influence days = 365 }
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = SOV_Mikhail_tomsky
		}
	}

	#Send Weapons to the Resistance in France
	focus = {
		id = SOV_weapon_resistance_france
		x = 78
		y = 7
		prerequisite = { focus = SOV_the_comintern_russia2 focus = SOV_expand_international }
		icon = GFX_Send_weapons_france
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = communism
			is_subject = no
			has_equipment = {
				infantry_equipment > 3999
			}
			FRA = {
				has_war = yes
				NOT = {
					has_war_with = ROOT
				}
				communism > 0.20
				surrender_progress > 0.1
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			OR = {
				date > 1942.1.1
				has_war_with = FRA
				FRA = {
					exists = no
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			FRA = {
				country_event = { id = russia2_france.6 days = 1 }
			}
		}
	}

	#The Sakhalin Situation
	focus = {
		id = SOV_sakhalin_situation
		x = 72
		y = 6
		prerequisite = { focus = SOV_foreign_policy }
		icon = GFX_focus_Sakhalin_Situation
		cost = 5
		ai_will_do = {
			factor = 4
			modifier = {
				factor = 0
				OR = {
					has_idea = SOV_Great_purge_idea_russia2
					has_idea = SOV_Remnants_purge
				}
			}
		}
		will_lead_to_war_with = JAP
		available = {
			has_government = communism
			is_subject = no
			408 = { is_owned_and_controlled_by = ROOT }
			655 = { is_owned_and_controlled_by = ROOT }
			537 = { is_owned_and_controlled_by = JAP }
			NOT = {
				has_idea = SOV_Proclaimed_neutrality
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			OR = {
				NOT = { 655 = { is_owned_and_controlled_by = ROOT } }
				NOT = { 537 = { is_owned_and_controlled_by = JAP } }
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			ROOT = {
				country_event = { days = 1 id = russia2_russia.30 }
			}
		}
	}

	#Take Over Manchuria
	focus = {
		id = SOV_take_over_manchuria
		x = 72
		y = 7
		prerequisite = { focus = SOV_sakhalin_situation }
		icon = GFX_Take_over_manchuria
		cost = 5
		ai_will_do = {
			factor = 4
			modifier = {
				factor = 0
				OR = {
					has_idea = SOV_Great_purge_idea_russia2
					has_idea = SOV_Remnants_purge
				}
			}
		}
		will_lead_to_war_with = MAN
		available = {
			has_government = communism
			is_subject = no
			custom_trigger_tooltip = {
				tooltip = SOV_sakhalin_situation_tt
				OR = {
					408 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 408
						controls_state = 408
					}
				}
				OR = {
					655 = { is_owned_and_controlled_by = ROOT }
					any_allied_country = {
						owns_state = 655
						controls_state = 655
					}
				}
			}
			country_exists = MAN
			NOT = {
				has_idea = SOV_Proclaimed_neutrality
				MAN = {
					has_government = communism
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			create_wargoal = {
		    	type = puppet_wargoal_focus
		    	target = MAN
			}
		}
	}

	#Send Help to China
	focus = {
		id = SOV_send_help_china
		x = 69
		y = 6
		prerequisite = { focus = SOV_foreign_policy }
		icon = GFX_focus_generic_china1
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = communism
			is_subject = no
			JAP = {
				OR = {
					has_war_with = CHI
					has_war_with = PRC
					has_war_with = SHX
					has_war_with = XSM
					has_war_with = SIK
					has_war_with = GXC
					has_war_with = YUN
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			date > 1941.1.1
			OR = {
				OR = { JAP = { is_subject = yes } NOT = { country_exists = JAP } }
				AND = {
					OR = { CHI = { is_subject = yes } NOT = { country_exists = CHI } }
					OR = { PRC = { is_subject = yes } NOT = { country_exists = PRC } }
					OR = { SHX = { is_subject = yes } NOT = { country_exists = SHX } }
					OR = { XSM = { is_subject = yes } NOT = { country_exists = XSM } }
					OR = { SIK = { is_subject = yes } NOT = { country_exists = SIK } }
					OR = { GXC = { is_subject = yes } NOT = { country_exists = GXC } }
					OR = { YUN = { is_subject = yes } NOT = { country_exists = YUN } }
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_send_help_china_tt
			every_other_country = {
				limit = {
					OR = {
						tag = CHI
						tag = PRC
						tag = SHX
						tag = XSM
						tag = SIK
						tag = GXC
						tag = YUN
					}
					has_war_with = JAP
					NOT = {
						has_war_with = SOV
					}
				}
				country_event = { id = russia2_generic.30 days = 1 }
			}
		}
	}

	#Force Chinese Unification
	focus = {
		id = SOV_force_chinese_unification
		x = 69
		y = 7
		prerequisite = { focus = SOV_send_help_china }
		icon = GFX_focus_chi_one_china_policy
		cost = 5
		ai_will_do = {
			factor = 7
			modifier = {
				factor = 0
				OR = {
					has_idea = SOV_Great_purge_idea_russia2
					has_idea = SOV_Remnants_purge
				}
			}
		}
		will_lead_to_war_with = PRC
		available = {
			date > 1940.1.1
			is_major = yes
			has_government = communism
			is_faction_leader = yes
			is_subject = no
			has_war = no
			NOT = {
				has_idea = SOV_Proclaimed_neutrality
			}
			OR = {
				PRC = {
					exists = yes
					has_war = no
					is_subject = no
				}
				SIK = {
					exists = yes
					has_war = no
					is_subject = no
				}
			}
			if = {
				limit = {
					PRC = {
						exists = yes
						is_subject = no
					}
				}
				any_state = {
					is_core_of = PRC
					NOT = {
						is_owned_by = PRC
					}
				}
			}
			else_if = {
				limit = {
					SIK = {
						exists = yes
						is_subject = no
					}
				}
				any_state = {
					is_core_of = PRC
					NOT = {
						is_owned_by = SIK
					}
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			if = {
				limit = {
					PRC = {
						exists = yes
					}
				}
				PRC = {
					country_event = { id = russia2_communist_china.1 }
				}
			}
			else_if = {
				limit = {
					SIK = {
						exists = yes
					}
				}
				SIK = {
					country_event = { id = russia2_communist_china.1 }
				}
			}
		}
	}

	#Proclaim Neutrality
	focus = {
		id = SOV_proclaim_neutrality
		x = 75
		y = 6
		prerequisite = { focus = SOV_foreign_policy }
		icon = GFX_goal_generic_forceful_treaty
		cost = 8
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = communism
			is_subject = no
			threat > 0.25
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			any_country = {
				has_war_with = ROOT
				NOT = {
					tag = LIT
					tag = LAT
					tag = EST
					tag = POL
					tag = FIN
					tag = ROM
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			add_timed_idea = { idea = SOV_Proclaimed_neutrality days = 548 }
			unlock_decision_tooltip = SOV_propaganda_peace_russia2
			hidden_effect = {
				news_event = { days = 1 id = newsrussia2.16 }
			}
		}
	}

	#Prepare for War
	focus = {
		id = SOV_prepare_for_war
		x = 75
		y = 7
		prerequisite = { focus = SOV_proclaim_neutrality }
		icon = GFX_goal_generic_more_territorial_claims
		cost = 10
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = communism
			is_subject = no
			custom_trigger_tooltip = {
				tooltip = SOV_prepare_for_war_tt
				196 = { is_owned_and_controlled_by = ROOT }
				200 = { is_owned_and_controlled_by = ROOT }
				226 = { is_owned_and_controlled_by = ROOT }
				259 = { is_owned_and_controlled_by = ROOT }
				203 = { is_owned_and_controlled_by = ROOT }
				202 = { is_owned_and_controlled_by = ROOT }
				193 = { is_owned_and_controlled_by = ROOT }
				241 = { is_owned_and_controlled_by = ROOT }
				207 = { is_owned_and_controlled_by = ROOT }
				210 = { is_owned_and_controlled_by = ROOT }
				263 = { is_owned_and_controlled_by = ROOT }
				244 = { is_owned_and_controlled_by = ROOT }
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			NOT = {
				OR = {
					196 = { is_controlled_by = ROOT }
					200 = { is_controlled_by = ROOT }
					226 = { is_controlled_by = ROOT }
					259 = { is_controlled_by = ROOT }
					203 = { is_controlled_by = ROOT }
					202 = { is_controlled_by = ROOT }
					193 = { is_controlled_by = ROOT }
					241 = { is_controlled_by = ROOT }
					207 = { is_controlled_by = ROOT }
					210 = { is_controlled_by = ROOT }
					263 = { is_controlled_by = ROOT }
					244 = { is_controlled_by = ROOT }
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_prepare_for_war_tt2
			army_experience = 50
			hidden_effect = {
				196 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 737
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 3573
						instant_build = yes
					}
				}
				200 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 588
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 11405
						instant_build = yes
					}
				}
				226 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 453
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 9463
						instant_build = yes
					}
				}
				259 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 6507
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 6495
						instant_build = yes
					}
				}
				203 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 9491
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 11530
						instant_build = yes
					}
				}
				202 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 9543
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 11557
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 489
						instant_build = yes
					}
				}
				193 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 3568
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 546
						instant_build = yes
					}
				}
				241 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 9288
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 6344
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 6233
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 11271
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 6354
						instant_build = yes
					}
				}
				207 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 11220
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 11241
						instant_build = yes
					}
				}
				210 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 6293
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 11234
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 248
						instant_build = yes
					}
				}
				263 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 6225
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 9212
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 6154
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 71
						instant_build = yes
					}
				}
				244 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = 6035
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 6095
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 2
						province = 70
						instant_build = yes
					}
				}
			}
		}
	}

	#Invite France
	focus = {
		id = SOV_invite_france
		x = 78
		y = 8
		prerequisite = { focus = SOV_weapon_resistance_france }
		icon = GFX_focus_chi_reach_out_to_france
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = communism
			is_faction_leader = yes
			is_subject = no
			FRA = {
				NOT = { is_in_faction_with = ROOT }
				OR = {
					has_government = communism
					communism > 0.3
				}
				exists = yes
				is_faction_leader = no
				has_capitulated = no
				is_subject = no
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			FRA = {
				country_event = { days = 1 id = russia2_france.1 }
			}
		}
	}

	#Ultimatum to the Middle East
	focus = {
		id = SOV_ultimatum_middle_east
		x = 75
		y = 8
		prerequisite = { focus = SOV_prepare_for_war }
		icon = GFX_Ultimatum_middle_east
		cost = 8
		ai_will_do = {
			factor = 4
			modifier = {
				factor = 0
				OR = {
					has_idea = SOV_Great_purge_idea_russia2
					has_idea = SOV_Remnants_purge
				}
			}
		}
		will_lead_to_war_with = AFG
		will_lead_to_war_with = PER
		will_lead_to_war_with = IRQ
		will_lead_to_war_with = TUR
		will_lead_to_war_with = KUR
		will_lead_to_war_with = SYR
		will_lead_to_war_with = LEB
		available = {
			has_government = communism
			is_subject = no
			NOT = {
				has_idea = SOV_Proclaimed_neutrality
			}
			OR = {
				country_exists = AFG
				country_exists = PER
				country_exists = IRQ
				country_exists = TUR
				country_exists = KUR
				country_exists = SYR
				country_exists = LEB
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			OR = {
				NOT = { country_exists = AFG }
				AFG = { is_subject = yes }
			}
			OR = {
				NOT = { country_exists = PER }
				PER = { is_subject = yes }
			}
			OR = {
				NOT = { country_exists = IRQ }
				IRQ = { is_subject = yes }
			}
			OR = {
				NOT = { country_exists = TUR }
				TUR = { is_subject = yes }
			}
			OR = {
				NOT = { country_exists = KUR }
				KUR = { is_subject = yes }
			}
			OR = {
				NOT = { country_exists = SYR }
				SYR = { is_subject = yes }
			}
			OR = {
				NOT = { country_exists = LEB }
				LEB = { is_subject = yes }
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			add_state_claim = 797
			every_country = {
				limit = {
					OR = {
						tag = AFG
						tag = PER
						tag = IRQ
						tag = TUR
						tag = KUR
						tag = SYR
						tag = LEB
					}
					is_subject = no
				}
				country_event = { days = 1 id = russia2_generic.2 }
			}
			hidden_effect = {
				news_event = { hours = 6 id = newsrussia2.22 }
			}
		}
	}

	#Workers of the Komintern, Unite !
	focus = {
		id = SOV_komintern_unite
		x = 75
		y = 9
		prerequisite = { focus = SOV_ultimatum_middle_east }
		icon = GFX_Workers_Komintern_unite
		cost = 10
		ai_will_do = {
			factor = 4
		}
		available = {
			has_government = communism
			is_faction_leader = yes
			is_subject = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			unlock_decision_tooltip = SOV_komintern_red_army_russia2
			ROOT = {
				add_stability = 0.1
				add_war_support = 0.1
			}
			every_other_country = {
				limit = {
					has_government = communism
					is_in_faction_with = ROOT
				}
				add_stability = 0.1
				add_war_support = 0.1
			}
		}
	}

	#Officially Join the War
	focus = {
		id = SOV_officially_join_war
		x = 72
		y = 8
		prerequisite = { focus = SOV_prepare_for_war }
		icon = GFX_focus_attack_germany
		cost = 5
		ai_will_do = {
			factor = 8
			modifier = {
				factor = 0
				OR = {
					has_idea = SOV_Great_purge_idea_russia2
					has_idea = SOV_Remnants_purge
				}
			}
		}
		will_lead_to_war_with = GER
		available = {
			date > 1941.6.22
			has_government = communism
			is_subject = no
			has_war = no
			country_exists = GER
			GER = {
				OR = {
					has_added_tension_amount > 25
					has_war = yes
				}
				NOT = { has_government = communism }
			}
			NOT = {
				has_idea = SOV_Proclaimed_neutrality
				has_idea = SOV_molotov_ribbentrop_pact
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			OR = {
				has_war_with = GER
				NOT = {
					country_exists = GER
				}
				GER = {
					is_subject = yes
				}
				GER = {
					has_government = communism
				}
				date > 1945.5.8
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			create_wargoal = {
		    	type = puppet_wargoal_focus
		    	target = GER
			}
		}
	}

	#The 588th Night Bombers Regiment
	focus = {
		id = SOV_588_night_bombers_regiment
		x = 69
		y = 9
		prerequisite = { focus = SOV_officially_join_war }
		icon = GFX_focus_Aviation_Cult
		cost = 8
		ai_will_do = {
			factor = 8
		}
		available = {
			has_government = communism
			219 = { is_owned_and_controlled_by = ROOT }
			has_war = yes
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA FOCUS_FILTER_AIR_RUSSIA }
		completion_reward = {
			air_experience = 50
			set_rule = {
				can_generate_female_aces = yes
			}
			add_ace = {
				name = "Irina"
				surname = "Sebrova"
				callsign = "Night Witch"
				type = bomber_genius
				is_female = yes
			}
			if = {
				limit = {
					ROOT = { has_full_control_of_state = 219 }
				}
				custom_effect_tooltip = SOV_night_witches_588_tt
				hidden_effect = {
					if = {
						limit = {
							has_dlc = "By Blood Alone"
						}
						load_oob = "SOV_night_witches_BBA"
					}
					else = {
						load_oob = "SOV_night_witches"
					}
				}
			}
		}
	}

	#For the Motherland !
	focus = {
		id = SOV_for_the_motherland
		x = 72
		y = 9
		prerequisite = { focus = SOV_officially_join_war }
		icon = GFX_focus_Patriotic_War
		cost = 5
		ai_will_do = {
			factor = 8
		}
		available = {
			has_government = communism
			is_subject = no
			has_war = yes
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		continue_if_invalid = yes
		completion_reward = {
			army_experience = 25
			add_ideas = SOV_For_the_motherland
			custom_effect_tooltip = unlock_propaganda_campaign_slot_russia2_tt
			SOV_unlock_propaganda_campaign_slot_effect_russia2 = yes
			unlock_decision_tooltip = SOV_propaganda_for_the_motherland_russia2
			unlock_decision_tooltip = SOV_propaganda_sweep_scum_out_russia2
			unlock_decision_tooltip = SOV_propaganda_glory_to_partisans_russia2
			unlock_decision_tooltip = SOV_propaganda_death_to_invaders_russia2
		}
	}

	#The Yalta Conference
	focus = {
		id = SOV_yalta_conference
		x = 69
		y = 10
		prerequisite = { focus = SOV_for_the_motherland }
		icon = GFX_Yalta_Conference
		cost = 2
		ai_will_do = {
			factor = 8
		}
		available = {
			has_government = communism
			is_subject = no
			is_major = yes
			has_war_with = GER
			any_state = {
				is_controlled_by = ROOT
				is_core_of = GER
				is_on_continent = europe
			}
			GER = {
				has_added_tension_amount > 20
				surrender_progress > 0.20
				is_subject = no
			}
			custom_trigger_tooltip = {
				tooltip = SOV_yalta_conference_tt2
				GER = { ####
					owns_state = 5
					owns_state = 42
					owns_state = 50
					owns_state = 51
					owns_state = 52
					owns_state = 53
					owns_state = 54
					owns_state = 55
					owns_state = 56
					owns_state = 57
					owns_state = 58
					owns_state = 59
					owns_state = 60
					owns_state = 61
					owns_state = 62
					owns_state = 63
					owns_state = 64
					owns_state = 65
					owns_state = 66
					owns_state = 67
					owns_state = 68
					owns_state = 763
					owns_state = 909
					owns_state = 978
				}
			}
			OR = {
				USA = {
					has_war_with = GER
					is_major = yes
					NOT = {
						has_war_with = ROOT
					}
				}
				ENG = {
					has_war_with = GER
					is_major = yes
					NOT = {
						has_war_with = ROOT
					}
				}
				FRA = {
					has_war_with = GER
					is_major = yes
					NOT = {
						has_war_with = ROOT
					}
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			if = {
				limit = {
					USA = {
						has_war_with = GER
						is_major = yes
					}
				}
				USA = { country_event = { days = 1 id = russia2_yaltas.1 } }
			}
			if = {
				limit = {
					ENG = {
						has_war_with = GER
						is_major = yes
					}
				}
				ENG = { country_event = { days = 1 id = russia2_yaltas.1 } }
			}
			if = {
				limit = {
					FRA = {
						has_war_with = GER
						is_major = yes
					}
				}
				FRA = { country_event = { days = 1 id = russia2_yaltas.1 } }
			}
			custom_effect_tooltip = SOV_yalta_conference_tt
			custom_effect_tooltip = SOV_yalta_conference_tt3
		}
	}

	#Preemptive Strike Against Iran
	focus = {
		id = SOV_preemptive_strike_iran
		x = 75
		y = 10
		prerequisite = { focus = SOV_for_the_motherland }
		icon = GFX_Attack_Iran
		cost = 5
		ai_will_do = {
			factor = 8
		}
		will_lead_to_war_with = PER
		available = {
			has_government = communism
			is_subject = no
			country_exists = PER
			OR = {
				PER = {
					fascism > 0.25
				}
				date > 1941.8.25
			}
			PER = {
				NOT = {
					is_in_faction_with = ROOT
					has_war_with = ROOT
					custom_trigger_tooltip = {
						tooltip = SOV_preemptive_strike_iran_tt
						is_subject_of = ROOT
						PER = {
							OVERLORD = {
								is_in_faction_with = ROOT
							}
						}
					}
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			has_war_with = PER
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			create_wargoal = {
		    	type = puppet_wargoal_focus
		    	target = PER
			}
			custom_effect_tooltip = SOV_preemptive_strike_iran_tt2
		}
	}

	#The End of the War
	focus = {
		id = SOV_end_of_war
		x = 72
		y = 10
		prerequisite = { focus = SOV_for_the_motherland }
		icon = GFX_focus_generic_anti_fascist_diplomacy
		cost = 4
		available = {
			has_government = communism
			is_subject = no
			OR = {
				date > 1945.9.2
				custom_trigger_tooltip = {
		    		tooltip = SOV_yalta_over_tt
				    has_country_flag = yalta_conference_over
				    OR = {
						USA = { has_country_flag = usa_accepted_yalta_conference }
						ENG = { has_country_flag = eng_accepted_yalta_conference }
						FRA = { has_country_flag = fra_accepted_yalta_conference }
					}
				}
				GER = {
					has_capitulated = yes
				}
				GER = {
					exists = no
				}
				GER = {
					is_subject = yes
				}
				GER = {
					is_major = no
				}
				GER = {
					has_government = communism
					is_in_faction_with = ROOT
				}
				GER = {
					custom_trigger_tooltip = {
						tooltip = has_surrendered_to_sov
						has_country_flag = has_surrendered_to_sov
					}
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Triumph_communist_will
		}
	}

	#Proclaim East Germany
	focus = {
		id = SOV_proclaim_east_germany
		x = 68
		y = 11
		prerequisite = { focus = SOV_end_of_war }
		icon = GFX_focus_East_Germany
		cost = 10
		ai_will_do = {
			factor = 8
		}
		available = {
			has_government = communism
			is_subject = no
			has_war = no
			custom_trigger_tooltip = {
				tooltip = SOV_proclaim_east_germany_tt
				60 = { is_owned_and_controlled_by = ROOT }
				61 = { is_owned_and_controlled_by = ROOT }
				62 = { is_owned_and_controlled_by = ROOT }
				64 = { is_owned_and_controlled_by = ROOT }
				65 = { is_owned_and_controlled_by = ROOT }
			}
			custom_trigger_tooltip = {
				tooltip = SOV_proclaim_east_germany_tt2
				has_completed_focus = SOV_yalta_conference
				has_country_flag = yalta_conference_over
				OR = {
					USA = { has_country_flag = usa_accepted_yalta_conference }
					ENG = { has_country_flag = eng_accepted_yalta_conference }
					FRA = { has_country_flag = fra_accepted_yalta_conference }
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			hidden_effect = {
				news_event = { hours = 6 id = newsrussia2.35 }
				every_state = {
					limit = {
						is_core_of = GER
					}
					remove_core_of = GER
				}
				DDR = {
					add_state_core = 60
					add_state_core = 61
					add_state_core = 62
					add_state_core = 64
					add_state_core = 65
				}
				WGR = {
					add_state_core = 42
					add_state_core = 50
					add_state_core = 51
					add_state_core = 52
					add_state_core = 53
					add_state_core = 54
					add_state_core = 55
					add_state_core = 56
					add_state_core = 57
					add_state_core = 58
					add_state_core = 59
					add_state_core = 909
					add_state_core = 978
				}
			}
			if = {
				limit = {
					66 = { is_owned_and_controlled_by = ROOT }
					67 = { is_owned_and_controlled_by = ROOT }
					68 = { is_owned_and_controlled_by = ROOT }
					63 = { is_owned_and_controlled_by = ROOT }
					5 = { is_owned_and_controlled_by = ROOT }
					OR = {
						97 = { is_owned_and_controlled_by = POL }
						97 = { is_owned_and_controlled_by = ROOT }
					}
					OR = {
						92 = { is_owned_and_controlled_by = POL }
						92 = { is_owned_and_controlled_by = ROOT }
					}
					OR = {
						88 = { is_owned_and_controlled_by = POL }
						88 = { is_owned_and_controlled_by = ROOT }
					}
					OR = {
						762 = { is_owned_and_controlled_by = POL }
						762 = { is_owned_and_controlled_by = ROOT }
					}
					OR = {
						10 = { is_owned_and_controlled_by = POL }
						10 = { is_owned_and_controlled_by = ROOT }
					}
					OR = {
						87 = { is_owned_and_controlled_by = POL }
						87 = { is_owned_and_controlled_by = ROOT }
					}
					OR = {
						98 = { is_owned_and_controlled_by = POL }
						98 = { is_owned_and_controlled_by = ROOT }
					}
					OR = {
						86 = { is_owned_and_controlled_by = POL }
						86 = { is_owned_and_controlled_by = ROOT }
					}
					OR = {
						85 = { is_owned_and_controlled_by = POL }
						85 = { is_owned_and_controlled_by = ROOT }
					}
					OR = {
						POL = {
							OR = {
								is_in_faction_with = ROOT
								is_subject_of = ROOT
							}
						}
						NOT = { country_exists = POL }
					}
				}
				country_event = { id = russia2_yaltas.5 days = 1 }
			}
			else = {
				hidden_effect = {
					DDR = {
						add_state_core = 67
						add_state_core = 66
						add_state_core = 68
						add_state_core = 63
					}
				}
			}
			ROOT = {
				release_puppet = DDR
				hidden_effect = {
					set_autonomy = {
						target = DDR
						autonomy_state = autonomy_soviet_republic
					}
					DDR = {
						set_popularities = {
							democratic = 10
							neutrality = 10
							fascism = 10
							communism = 70
						}
					}
				}
			}
			if = {
				limit = {
					USA = {
						has_country_flag = usa_accepted_yalta_conference
						OR = {
							has_full_control_of_state = 52
							has_full_control_of_state = 53
							has_full_control_of_state = 50
							has_full_control_of_state = 54
							has_full_control_of_state = 42
							has_full_control_of_state = 55
							has_full_control_of_state = 57
							has_full_control_of_state = 59
							has_full_control_of_state = 58
							has_full_control_of_state = 56
							has_full_control_of_state = 51
							has_full_control_of_state = 909
							has_full_control_of_state = 978
						}
					}

				}
				USA = { country_event = { id = russia2_yaltas.6 days = 2 } }
			}
			else_if = {
				limit = {
					ENG = {
						has_country_flag = eng_accepted_yalta_conference
						OR = {
							has_full_control_of_state = 52
							has_full_control_of_state = 53
							has_full_control_of_state = 50
							has_full_control_of_state = 54
							has_full_control_of_state = 42
							has_full_control_of_state = 55
							has_full_control_of_state = 57
							has_full_control_of_state = 59
							has_full_control_of_state = 58
							has_full_control_of_state = 56
							has_full_control_of_state = 51
							has_full_control_of_state = 909
							has_full_control_of_state = 978
						}
					}

				}
				ENG = { country_event = { id = russia2_yaltas.6 days = 2 } }
			}
			else_if = {
				limit = {
					FRA = {
						has_country_flag = fra_accepted_yalta_conference
						OR = {
							has_full_control_of_state = 52
							has_full_control_of_state = 53
							has_full_control_of_state = 50
							has_full_control_of_state = 54
							has_full_control_of_state = 42
							has_full_control_of_state = 55
							has_full_control_of_state = 57
							has_full_control_of_state = 59
							has_full_control_of_state = 58
							has_full_control_of_state = 56
							has_full_control_of_state = 51
							has_full_control_of_state = 909
							has_full_control_of_state = 978
						}
					}

				}
				FRA = { country_event = { id = russia2_yaltas.6 days = 2 } }
			}
		}
	}

	#Post War Influence
	focus = {
		id = SOV_post_war_influence
		x = 72
		y = 11
		prerequisite = { focus = SOV_end_of_war }
		icon = GFX_goal_generic_war_with_comintern
		cost = 10
		ai_will_do = {
			factor = 8
		}
		available = {
			has_government = communism
			is_subject = no
			num_subjects > 0
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_post_war_influence_tt
			every_other_country = {
				limit = {
					is_subject_of = ROOT
				}
				add_ideas = SOV_Post_war_influence
			}
			custom_effect_tooltip = SOV_post_war_influence_tt2
			every_state = {
				limit = {
					is_capital = yes
					OWNER = {
						is_subject_of = ROOT
					}
					CONTROLLER = {
						is_subject_of = ROOT
					}
					ROOT = {
						can_build_railway = {
							start_state = ROOT.CAPITAL
							target_state = PREV
							build_only_on_allied = yes
						}
					}
				}
				custom_effect_tooltip = SOV_post_war_influence_tt3
				hidden_effect = {
					ROOT = {
						build_railway = {
							start_state = ROOT.capital
							target_state = PREV
							build_only_on_allied = yes
						}
					}
				}
			}
		}
	}

	#The Proletarian Union
	focus = {
		id = SOV_proletarian_union
		x = 72
		y = 12
		prerequisite = { focus = SOV_post_war_influence }
		icon = GFX_The_proletarian_union
		cost = 6
		ai_will_do = {
			factor = 10
		}
		available = {
			always = no
			is_subject = no
			has_government = communism
			is_major = yes
			has_global_flag = sov_national_obligations_allowed
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_GOLDEN_FOCUS FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = SOV_proletarian_union_tt
			add_to_array = { sov_national_obligations_unlocked_indexes = 5 }
			set_variable = { sov_national_obligations_selected_index = 5 }
			if = {
				limit = {
					NOT = {
						has_country_flag = sov_unlocked_national_obligations
					}
				}
				set_country_flag = sov_unlocked_national_obligations
			}
            if = {
				limit = {
					NOT = {
						has_country_flag = sov_open_national_obligations
					}
				}
				set_country_flag = sov_open_national_obligations
			}
		}
	}

	#Strike the Empire
	focus = {
		id = SOV_strike_empire
		x = 70
		y = 11
		prerequisite = { focus = SOV_end_of_war }
		icon = GFX_Strike_empire
		cost = 5
		ai_will_do = {
			factor = 5
		}
		will_lead_to_war_with = ENG
		available = {
			has_government = communism
			is_subject = no
			country_exists = ENG
			ENG = {
				NOT = {
					has_war_with = ROOT
					has_government = communism
					is_in_faction_with = ROOT
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			add_state_claim = 183
			create_wargoal = {
		    	type = puppet_wargoal_focus
		    	target = ENG
			}
		}
	}

	#Strike the Giant
	focus = {
		id = SOV_strike_giant
		x = 74
		y = 11
		prerequisite = { focus = SOV_end_of_war }
		icon = GFX_focus_spa_the_war_of_vengeance
		cost = 5
		ai_will_do = {
			factor = 5
		}
		will_lead_to_war_with = USA
		available = {
			has_government = communism
			is_subject = no
			country_exists = USA
			USA = {
				NOT = {
					has_war_with = ROOT
					has_government = communism
					is_in_faction_with = ROOT
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			add_state_claim = 463
			create_wargoal = {
		    	type = puppet_wargoal_focus
		    	target = USA
			}
		}
	}

	#The Iron Curtain
	focus = {
		id = SOV_iron_curtain_focus
		x = 76
		y = 11
		prerequisite = { focus = SOV_end_of_war }
		icon = GFX_Iron_curtain
		cost = 10
		ai_will_do = {
			factor = 8
		}
		available = {
			has_government = communism
			is_subject = no
			is_faction_leader = yes
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_political_power = 200
			add_ideas = SOV_Iron_curtain_volunteers
			custom_effect_tooltip = SOV_iron_curtain_focus_tt
		}
	}

	#Avoid the Purge
	focus = {
		id = SOV_avoid_purge
		x = 89
		y = 1
		mutually_exclusive = { focus = SOV_great_purge2 focus = SOV_another_revolution }
		icon = GFX_goal_anti_comintern_pact
		cost = 10
		ai_will_do = {
			factor = 10
			modifier = {
				add = 90
				has_country_flag = RUS_AI_LEON_TROTSKY_COMMUNISM_BEHAVIOR
			}
			modifier = {
				factor = 0
				NOT = {
					has_country_flag = RUS_AI_LEON_TROTSKY_COMMUNISM_BEHAVIOR
					has_country_flag = RUS_AI_FULL_RANDOM_BEHAVIOR
				}
			}
		}
		available = {
			has_government = communism
			is_subject = no
			custom_trigger_tooltip = {
				tooltip = SOV_not_in_civil_war_tt
				has_civil_war = no
				NOT = {
					has_global_flag = second_russian_civil_war_in_progress
				}
			}
			NOT = {
				has_completed_focus = SOV_terrible_fate
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_avoid_purge_tt
			remove_ideas = SOV_Trotskyite_plot_russia2
			remove_ideas = SOV_Home_of_revolution_russia2
			add_ideas = SOV_Instability
			MEX = {
				set_global_flag = MEX_Trotsky_return
			}
			set_country_flag = SOV_purge_started
			ROOT = {
				set_country_flag = trotsky_coming_back
				set_country_flag = counter_purge
			}
		}
	}

	#Anti-Stalinism Conspiracy
	focus = {
		id = SOV_anti_stalinism_conspiracy_foc
		x = 87
		y = 2
		prerequisite = { focus = SOV_avoid_purge }
		mutually_exclusive = { focus = SOV_speak_out_against_stalin }
		icon = GFX_focus_prc_agrarian_socialism
		cost = 10
		ai_will_do = {
			factor = 9
		}
		available = {
			has_government = communism
			is_subject = no
			custom_trigger_tooltip = {
				tooltip = SOV_not_in_civil_war_tt
				has_civil_war = no
				NOT = {
					has_global_flag = second_russian_civil_war_in_progress
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_anti_stalinism_conspiracy_foc_tt
			swap_ideas = {
				remove_idea = SOV_Instability
				add_idea = SOV_Instability2
			}
		}
	}

	#A Second and Peaceful Revolution
	focus = {
		id = SOV_second_peaceful_revolution
		x = 87
		y = 3
		prerequisite = { focus = SOV_anti_stalinism_conspiracy_foc }
		icon = GFX_focus_kill_stalin
		cost = 20
		ai_will_do = {
			factor = 9
		}
		available = {
			has_government = communism
			is_subject = no
			custom_trigger_tooltip = {
				tooltip = SOV_not_in_civil_war_tt
				has_civil_war = no
				NOT = {
					has_global_flag = second_russian_civil_war_in_progress
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		cancel = {
			has_global_flag = SOV_civil_war_peace
		}
		bypass = {
			has_global_flag = SOV_civil_war_peace
		}
		select_effect = {
			country_event = { id = russia2_russia.41 days = 10 }
			set_global_flag = SOV_anti_stalin_coup
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
		completion_reward = {
			custom_effect_tooltip = SOV_second_peaceful_revolution_tt
			set_global_flag = Trotsky_coming_back
			swap_ideas = {
				remove_idea = SOV_Instability2
				add_idea = SOV_Instability
			}
			remove_ideas = SOV_Army_disorganisation
		}
	}

	#Speak Out Against Stalin
	focus = {
		id = SOV_speak_out_against_stalin
		x = 91
		y = 2
		prerequisite = { focus = SOV_avoid_purge }
		mutually_exclusive = { focus = SOV_anti_stalinism_conspiracy_foc }
		icon = GFX_goal_generic_demand_territory
		cost = 5
		ai_will_do = {
			factor = 9
		}
		available = {
			has_government = communism
			is_subject = no
			custom_trigger_tooltip = {
				tooltip = SOV_not_in_civil_war_tt
				has_civil_war = no
				NOT = {
					has_global_flag = second_russian_civil_war_in_progress
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA FOCUS_FILTER_STABILITY }
		completion_reward = {
			custom_effect_tooltip = SOV_speak_out_against_stalin_tt
			add_ideas = SOV_Speak_against_stalin
		}
	}

	#The Counter Revolution!
	focus = {
		id = SOV_counter_revolution
		x = 91
		y = 3
		prerequisite = { focus = SOV_speak_out_against_stalin }
		icon = GFX_focus_Counter_Revolution
		cost = 5
		ai_will_do = {
			factor = 9
		}
		available = {
			has_government = communism
			is_subject = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			country_event = { id = russia2_russia.48 }
		}
	}

	#Consolidate True Communism
	focus = {
		id = SOV_consolidate_true_communism
		x = 89
		y = 4
		prerequisite = { focus = SOV_counter_revolution focus = SOV_second_peaceful_revolution }
		icon = GFX_focus_fra_loyalty_trotzky
		cost = 10
		ai_will_do = {
			factor = 9
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_consolidate_true_communism_tt
				has_global_flag = sov_trotsky_return_from_exile
			}
			custom_trigger_tooltip = {
				tooltip = SOV_not_in_civil_war_tt
				has_civil_war = no
				NOT = {
					has_global_flag = second_russian_civil_war_in_progress
				}
			}
			has_government = communism
			is_subject = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA FOCUS_FILTER_POLITICAL }
		completion_reward = {
			set_variable = {
				var = revolution_count
				value = 0
			}
			set_variable = {
				var = revolution_count_gui
				value = 0
			}
			set_variable = {
				var = revolution_final_count
				value = 12
			}
			hidden_effect = {
				kill_country_leader = yes
				news_event = { id = newsrussia2.31 days = 1 }
				if = {
					limit = {
						MEX = {
							has_country_leader = {
								character = MEX_leon_trotsky
							}
						}
					}
					MEX = {
						retire_character = MEX_leon_trotsky
					}
				}
			}
			add_country_leader_role = {
				character = SOV_Leon_trotsky
				promote_leader = yes
				country_leader = {
					desc = SOV_Leon_trotsky_desc
					ideology = leninism
					expire = "1965.1.1.1"
					traits = {
						russia2_counter_revolutionist
					}
				}
			}
			add_political_power = 200
			add_stability = -0.05
			if = {
				limit = {
					has_idea = SOV_Payment_military
				}
				remove_ideas = SOV_Payment_military
			}
			else_if = {
				limit = {
					has_idea = SOV_Payment_military2
				}
				remove_ideas = SOV_Payment_military2
			}
			else_if = {
				limit = {
					has_idea = SOV_Payment_military3
				}
				remove_ideas = SOV_Payment_military3
			}

			if = {
				limit = {
					has_idea = SOV_Payment_bureaucrats
				}
				remove_ideas = SOV_Payment_bureaucrats
			}
			else_if = {
				limit = {
					has_idea = SOV_Payment_bureaucrats2
				}
				remove_ideas = SOV_Payment_bureaucrats2
			}

			remove_ideas = SOV_Instability
			if = {
				limit ={
					has_idea = SOV_Army_disorganisation
				}
				remove_ideas = SOV_Army_disorganisation
			}
			set_party_name = {
				ideology = communism
				long_name = SOV_4th_international
				name = SOV_communist_trotsky
			}
			add_ideas = SOV_Rebuild_country
			custom_effect_tooltip = SOV_consolidate_true_communism_tt2
			hidden_effect = {
				country_event = { id = russia2_russia.91 days = 5 }
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = SOV_Raya_dunayevskaya
		}
	}

	#The 4th International
	focus = {
		id = SOV_fourth_international
		x = 89
		y = 5
		prerequisite = { focus = SOV_consolidate_true_communism }
		icon = GFX_goal_support_fourth_int
		cost = 10
		ai_will_do = {
			factor = 8
		}
		available = {
			has_government = communism
			is_subject = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Home_counter_revolution
			add_ideas = SOV_Fourth_international_leader
			create_faction = 4th_International
			clr_global_flag = SOV_soviet_civil_war
			if = {
				limit = {
					MON = {
						has_government = communism
					}
				}
				MON = {
					country_event = { id = russia2_mongolia.2 days = 1 }
				}
			}
			if = {
				limit = {
					TAN = {
						has_government = communism
					}
				}
				TAN = {
					country_event = { id = russia2_tannu.4 days = 1 }
				}
			}
			hidden_effect = {
				news_event = { id = newsrussia2.44 days = 1 }
			}
			custom_effect_tooltip = unlock_propaganda_campaign_slot_russia2_tt
			SOV_unlock_propaganda_campaign_slot_effect_russia2 = yes
		}
	}

	#Expand The 4th International
	focus = {
		id = SOV_expand_international
		x = 86
		y = 6
		prerequisite = { focus = SOV_fourth_international }
		icon = GFX_focus_Expand_Fourth
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = communism
			is_subject = no
			is_faction_leader = yes
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_political_power = 150
			add_ideas = SOV_More_op
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = SOV_Aleksandr_shlyapnikov
		}
	}

	#The 4th International council
	focus = {
		id = SOV_fourth_int_council
		x = 82
		y = 7
		prerequisite = { focus = SOV_expand_international }
		icon = GFX_4th_international_council
		cost = 10
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = communism
			is_faction_leader = yes
			is_subject = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_political_power = 50
			custom_effect_tooltip = SOV_fourth_int_council_tt
		}
	}

	#The Unholy	Alliance
	focus = {
		id = SOV_the_unholy_alliance
		x = 82
		y = 8
		prerequisite = { focus = SOV_fourth_int_council }
		icon = GFX_focus_chi_mission_to_the_us
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = communism
			is_faction_leader = yes
			is_subject = no
			USA = {
				NOT = {
					is_in_faction_with = ROOT
					has_war_with = ROOT
					is_faction_leader = yes
				}
				OR = {
					has_government = communism
					communism > 0.3
				}
				has_capitulated = no
				is_subject = no
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			USA = {
				country_event = { id = russia2_america.1 days = 1 }
			}
		}
	}

	#Send Weapons to Spain
	focus = {
		id = SOV_weapons_spain
		x = 80
		y = 7
		prerequisite = { focus = SOV_the_comintern_russia2 focus = SOV_expand_international }
		icon = GFX_Send_weapons_spain
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = communism
			is_faction_leader = yes
			is_subject = no
			SPR_scw_in_progress = yes
			NOT = {
				if = {
					limit = {
						country_exists = SPD
					}
					has_war_with = SPD
				}
				has_war_with = SPC
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			SPR_scw_in_progress = no
			date > 1939.04.01
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			unlock_decision_tooltip = SOV_send_weapons_spain
			unlock_decision_tooltip = SOV_send_planes_spain
			unlock_decision_tooltip = SOV_send_support_equipment_spain
			unlock_decision_tooltip = SOV_send_volunteer
		}
	}

	#Invite Spain
	focus = {
		id = SOV_invite_spain
		x = 80
		y = 8
		prerequisite = { focus = SOV_weapons_spain }
		icon = GFX_focus_intervention_spain_republic
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = communism
			is_faction_leader = yes
			is_subject = no
			SPR = {
				NOT = {
					is_in_faction_with = ROOT
					has_war_with = ROOT
				}
				OR = {
					has_government = communism
					communism > 0.3
				}
				exists = yes
				is_faction_leader = no
				has_capitulated = no
				is_subject = no
				NOT = {
					SPR_scw_in_progress = yes
					has_completed_focus = SPR_oppose_the_communists
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA FOCUS_FILTER_COMMUNISM_STALIN_RUSSIA }
		completion_reward = {
			SPR = {
				country_event = { id = russia2_spain.1 days = 1 }
			}
		}
	}

	#Send Weapons to China
	focus = {
		id = SOV_weapons_china
		x = 84
		y = 7
		prerequisite = { focus = SOV_expand_international }
		icon = GFX_Send_weapons_prc
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = communism
			is_faction_leader = yes
			is_subject = no
			OR = {
				CHI = {
					has_war_with = JAP
				}
				PRC = {
					has_war_with = JAP
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			OR = {
				date > 1940.05.02
				AND = {
					CHI = {
						exists = no
					}
					PRC = {
						exists = no
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			unlock_decision_tooltip = SOV_send_guns_nationalist
			unlock_decision_tooltip = SOV_send_planes_nationalist
			unlock_decision_tooltip = SOV_send_guns_communist
			unlock_decision_tooltip = SOV_send_planes_communist
			unlock_decision_tooltip = SOV_send_support_equipment_nationalist
			unlock_decision_tooltip = SOV_send_support_equipment_communist
		}
	}

	#One China
	focus = {
		id = SOV_one_china
		x = 84
		y = 8
		prerequisite = { focus = SOV_weapons_china }
		icon = GFX_focus_chi_cooperation_with_the_communists
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = communism
			is_faction_leader = yes
			is_subject = no
			OR = {
				PRC = {
					exists = yes
					NOT = {
						is_in_faction_with = ROOT
						has_war_with = ROOT
					}
					OR = {
						has_government = communism
						communism > 0.3
					}
					is_faction_leader = no
					has_capitulated = no
					is_subject = no
				}
				SIK = {
					exists = yes
					NOT = {
						is_in_faction_with = ROOT
						has_war_with = ROOT
					}
					OR = {
						has_government = communism
						communism > 0.3
					}
					is_faction_leader = no
					has_capitulated = no
					is_subject = no
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			if = {
				limit = {
					PRC = {
						exists = yes
					}
				}
				PRC = {
					country_event = { id = russia2_communist_china.3 days = 1 }
				}
			}
			else_if = {
				limit = {
					SIK = {
						exists = yes
					}
				}
				SIK = {
					country_event = { id = russia2_communist_china.3 days = 1 }
				}
			}
		}
	}

	#Invite Communist Minorities in Europe
	focus = {
		id = SOV_communist_minorities_europe
		x = 86
		y = 7
		prerequisite = { focus = SOV_expand_international }
		icon = GFX_invite_communist_minors
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = communism
			is_faction_leader = yes
			is_subject = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_communist_minorities_europe_tt
		}
	}

	#Help Minor Communist Countries in Europe
	focus = {
		id = SOV_help_minor_communist_countries_europe
		x = 86
		y = 8
		prerequisite = { focus = SOV_communist_minorities_europe }
		icon = GFX_focus_generic_concessions
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = communism
			is_faction_leader = yes
			is_subject = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_help_minor_communist_countries_europe_tt
		}
	}

	#Rebuild The Country
	focus = {
		id = SOV_rebuild_country
		x = 91
		y = 6
		prerequisite = { focus = SOV_fourth_international }
		icon = GFX_focus_spr_class_war
		cost = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			has_government = communism
			is_subject = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }
		completion_reward = {
			swap_ideas = {
			    remove_idea = SOV_Rebuild_country
			    add_idea = SOV_Rebuild_country2
			}
			unlock_decision_tooltip = SOV_propaganda_peace_russia2
		}
	}

	#Use Time
	focus = {
		id = SOV_use_time
		x = 89
		y = 7
		prerequisite = { focus = SOV_rebuild_country }
		mutually_exclusive = { focus = SOV_ukrainian_gold }
		icon = GFX_focus_Time_Our_Side
		cost = 10
		ai_will_do = {
			factor = 7
		}
		available = {
			has_government = communism
			is_subject = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }
		completion_reward = {
			swap_ideas = {
			    remove_idea = SOV_Rebuild_country2
			    add_idea = SOV_Rebuild_country3
			}
			hidden_effect = {
				country_event = { id = russia2_russia.75 days = 182 }
			}
		}
	}

	#Use Ukrainian Gold
	focus = {
		id = SOV_ukrainian_gold
		x = 93
		y = 7
		prerequisite = { focus = SOV_rebuild_country }
		mutually_exclusive = { focus = SOV_use_time }
		icon = GFX_focus_Ukranian_Gold
		cost = 8
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = communism
			is_subject = no
			OR = {
				UKR = {
					is_subject_of = ROOT
				}
				owns_state = 202
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			set_variable = {
			    var = ukrainian_revolt_factor
			    value = 0
			}
			set_variable = {
			    var = ukrainian_revolt_nothing_happens
			    value = 100
			}
			remove_ideas = SOV_Rebuild_country2
			custom_effect_tooltip = SOV_ukrainian_gold_tt
			hidden_effect = {
				country_event = { id = russia2_russia.80 days = 50 }
			}
		}
	}

	#Rations For The Worker
	focus = {
		id = SOV_for_the_worker
		x = 89
		y = 8
		prerequisite = { focus = SOV_use_time }
		icon = GFX_goal_generic_consumer_goods
		cost = 10
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = communism
			is_subject = no
			custom_trigger_tooltip = {
				tooltip = SOV_for_the_worker_tt
				has_country_flag = SOV_enough_time_rebuild_country
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			remove_ideas = SOV_Rebuild_country3
		}
	}

	#Sell License For Economic Aids
	focus = {
		id = SOV_sell_license_economic_aids
		x = 93
		y = 8
		prerequisite = { focus = SOV_ukrainian_gold }
		icon = GFX_goal_generic_forceful_treaty
		cost = 8
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = communism
			is_subject = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Country_rebuilt
			add_timed_idea = { idea = SOV_Selling_license days = 365 }
		}
	}

	#The Last Effort
	focus = {
		id = SOV_last_effort
		x = 89
		y = 9
		prerequisite = { focus = SOV_for_the_worker }
		icon = GFX_Last_effort
		cost = 10
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = communism
			is_subject = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = SOV_Country_rebuilt
		}
	}

	#Only One Man Above
	focus = {
		id = SOV_russia2_one_man_above
		x = 93
		y = 9
		prerequisite = { focus = SOV_sell_license_economic_aids }
		icon = GFX_One_Man_Above_All
		cost = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = communism
			is_subject = no
			has_country_leader = {
				character = SOV_Leon_trotsky
				ruling_only = yes
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			NOT = {
				has_country_leader = {
					character = SOV_Leon_trotsky
					ruling_only = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
		completion_reward = {
			custom_effect_tooltip = SOV_russia2_one_man_above_tt
			hidden_effect = {
				add_country_leader_trait = russia2_one_man_above
			}
		}
	}

	#Follow Lenin's Legacy
	focus = {
		id = SOV_follow_lenin_legacy
		x = 98
		y = 6
		prerequisite = { focus = SOV_fourth_international }
		icon = GFX_focus_legacy_lenin
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			has_government = communism
			is_subject = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_popularity = {
			    ideology = communism
			    popularity = 0.20
			}
			add_stability = 0.05
		}
	}

	#European Revolution
	focus = {
		id = SOV_european_revolution
		x = 98
		y = 7
		prerequisite = { focus = SOV_follow_lenin_legacy }
		icon = GFX_focus_Europe_Revolution
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = communism
			is_subject = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				custom_effect_tooltip = SOV_european_revolution_tt
				custom_effect_tooltip = SOV_european_revolution_tt2
				custom_effect_tooltip = SOV_european_revolution_tt3
				custom_effect_tooltip = SOV_european_revolution_tt4
			}
			else = {
				custom_effect_tooltip = SOV_revolution_nodlc_tt
				add_political_power = 150
			}
			add_ideas = SOV_March_europe
		}
	}

	#African Revolution
	focus = {
		id = SOV_african_revolution
		x = 101
		y = 8
		prerequisite = { focus = SOV_follow_lenin_legacy }
		icon = GFX_focus_communist_africa
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = communism
			is_subject = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				custom_effect_tooltip = SOV_african_revolution_tt
				custom_effect_tooltip = SOV_african_revolution_tt2
				custom_effect_tooltip = SOV_african_revolution_tt3
				custom_effect_tooltip = SOV_african_revolution_tt4
			}
			else = {
				custom_effect_tooltip = SOV_revolution_nodlc_tt
				add_political_power = 150
			}
			add_ideas = SOV_March_africa
		}
	}

	#Asian Revolution
	focus = {
		id = SOV_asian_revolution
		x = 95
		y = 8
		prerequisite = { focus = SOV_follow_lenin_legacy }
		icon = GFX_focus_Asia_Revolution
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			has_government = communism
			is_subject = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				custom_effect_tooltip = SOV_asian_revolution_tt
				custom_effect_tooltip = SOV_asian_revolution_tt2
				custom_effect_tooltip = SOV_asian_revolution_tt3
				custom_effect_tooltip = SOV_asian_revolution_tt4
			}
			else = {
				custom_effect_tooltip = SOV_revolution_nodlc_tt
				add_political_power = 150
			}
			add_ideas = SOV_March_asia
		}
	}

	#Liberation Of The Workers
	focus = {
		id = SOV_liberation_of_the_workers
		x = 98
		y = 8
		prerequisite = { focus = SOV_european_revolution }
		icon = GFX_focus_Liberate_Workers
		cost = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			has_government = communism
			is_subject = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				custom_effect_tooltip = SOV_liberation_of_the_workers_tt
			}
			else = {
				custom_effect_tooltip = SOV_revolution_nodlc_tt
				add_political_power = 200
				swap_ideas = {
					remove_idea = SOV_March_europe
					add_idea = SOV_March_europe2
				}
			}
		}
	}

	#Workers Of The World, Unite!
	focus = {
		id = SOV_workers_world_unite
		x = 98
		y = 9
		prerequisite = { focus = SOV_liberation_of_the_workers }
		icon = GFX_Workers_world
		cost = 6
		ai_will_do = {
			factor = 4
		}
		available = {
			has_government = communism
			is_subject = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			ROOT = {
				add_stability = 0.1
				add_war_support = 0.1
			}
			every_other_country = {
				limit = {
					has_government = communism
					NOT = {
						has_war_with = ROOT
					}
				}
				add_stability = 0.05
				add_war_support = 0.05
			}
		}
	}

	#Permanent Revolution
	focus = {
		id = SOV_permanent_revolution2
		x = 95
		y = 10
		prerequisite = { focus = SOV_workers_world_unite }
		prerequisite = { focus = SOV_russia2_one_man_above focus = SOV_last_effort }
		icon = GFX_focus_generic_join_comintern
		cost = 5
		ai_will_do = {
			factor = 4
		}
		available = {
			has_government = communism
			is_subject = no
			has_country_leader = {
				character = SOV_Leon_trotsky
				ruling_only = yes
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			NOT = {
				has_country_leader = {
					character = SOV_Leon_trotsky
					ruling_only = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			swap_ruler_traits = {
				remove = russia2_counter_revolutionist
				add = russia2_true_revolutionist
			}
			custom_effect_tooltip = unlock_propaganda_campaign_slot_russia2_tt
			SOV_unlock_propaganda_campaign_slot_effect_russia2 = yes
			unlock_decision_tooltip = SOV_propaganda_for_the_motherland_russia2
			unlock_decision_tooltip = SOV_propaganda_treacherous_enemy_russia2
			unlock_decision_tooltip = SOV_propaganda_do_not_blab_russia2
			unlock_decision_tooltip = SOV_propaganda_sweep_scum_out_russia2
			unlock_decision_tooltip = SOV_propaganda_glory_to_partisans_russia2
			unlock_decision_tooltip = SOV_propaganda_death_to_invaders_russia2
		}
	}

	#Revolution To The Ulmost
	focus = {
		id = SOV_revolution_to_the_utmost
		x = 95
		y = 11
		prerequisite = { focus = SOV_permanent_revolution2 }
		icon = GFX_Revolution_to_the_utmost
		cost = 10
		ai_will_do = {
			factor = 4
		}
		available = {
			has_government = communism
			is_subject = no
			is_major = yes
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_revolution_to_the_utmost_tt
			unlock_decision_tooltip = SOV_end_revolution
			custom_effect_tooltip = SOV_revolution_to_the_utmost_tt2
			every_other_country = {
				limit = {
					NOT = {
						is_in_faction_with = ROOT
						has_government = communism
					}
					is_major = yes
				}
				hidden_effect = {
					ROOT = {
						create_wargoal = {
					    	type = liberate_workers
					    	target = PREV
						}
					}
				}
			}
			unlock_decision_tooltip = SOV_propaganda_anti_capitalism_russia2
			unlock_decision_tooltip = SOV_propaganda_anti_fascism_russia2
		}
	}

	#A Neverending Story
	focus = {
		id = SOV_neverending_story
		x = 95
		y = 12
		prerequisite = { focus = SOV_revolution_to_the_utmost }
		icon = GFX_A_neverending_story
		cost = 6
		ai_will_do = {
			factor = 10
		}
		available = {
			always = no
			is_subject = no
			has_government = communism
			is_major = yes
			has_global_flag = sov_national_obligations_allowed
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_GOLDEN_FOCUS FOCUS_FILTER_COMMUNISM_TROTSKY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = SOV_neverending_story_tt
			add_to_array = { sov_national_obligations_unlocked_indexes = 6 }
			set_variable = { sov_national_obligations_selected_index = 6 }
			if = {
				limit = {
					NOT = {
						has_country_flag = sov_unlocked_national_obligations
					}
				}
				set_country_flag = sov_unlocked_national_obligations
			}
            if = {
				limit = {
					NOT = {
						has_country_flag = sov_open_national_obligations
					}
				}
				set_country_flag = sov_open_national_obligations
			}
		}
	}

	#A Terrible Fate
	focus = {
		id = SOV_terrible_fate
		x = 49
		y = 13
		icon = GFX_Terrible_fate
		cost = 5
		ai_will_do = {
			factor = 10
			modifier = {
				add = 90
				OR = {
					has_country_flag = RUS_AI_ALEXANDER_KERENSKY_DEMOCRATIC_BEHAVIOR
					has_country_flag = RUS_AI_PAVEL_MILYUKOV_DEMOCRATIC_BEHAVIOR
					has_country_flag = RUS_AI_ALEXANDER_KONOVALOV_DEMOCRATIC_BEHAVIOR
					has_country_flag = RUS_AI_IVAN_NIKOLAEVICH_DEMOCRATIC_BEHAVIOR
					has_country_flag = RUS_AI_VLADIMIR_KIRILLOVICH_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_ANASTASIA_NIKOLAEVNA_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_ANDREY_VLASOV_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_PAVEL_BERMONDT_AVALOV_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_KONSTANTIN_RODZAEVSKY_FASCIST_BEHAVIOR
					has_country_flag = RUS_AI_ANASTASY_VONSYATSKY_FASCIST_BEHAVIOR
				}
			}
			modifier = {
				factor = 0
				NOT = {
					has_country_flag = RUS_AI_ALEXANDER_KERENSKY_DEMOCRATIC_BEHAVIOR
					has_country_flag = RUS_AI_PAVEL_MILYUKOV_DEMOCRATIC_BEHAVIOR
					has_country_flag = RUS_AI_ALEXANDER_KONOVALOV_DEMOCRATIC_BEHAVIOR
					has_country_flag = RUS_AI_IVAN_NIKOLAEVICH_DEMOCRATIC_BEHAVIOR
					has_country_flag = RUS_AI_VLADIMIR_KIRILLOVICH_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_ANASTASIA_NIKOLAEVNA_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_ANDREY_VLASOV_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_PAVEL_BERMONDT_AVALOV_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_KONSTANTIN_RODZAEVSKY_FASCIST_BEHAVIOR
					has_country_flag = RUS_AI_ANASTASY_VONSYATSKY_FASCIST_BEHAVIOR
					has_country_flag = RUS_AI_FULL_RANDOM_BEHAVIOR
				}
			}
		}	
		available = {
			is_subject = no
			NOT = {
				has_completed_focus = SOV_great_purge2
				has_completed_focus = SOV_avoid_purge
				has_completed_focus = SOV_another_revolution
				custom_trigger_tooltip = {
					tooltip = SOV_terrible_fate_tt
					OR = {
						has_game_rule = {
							rule = sov_fragmentation_status
							option = SOV_FRAGMENTED
						}
						has_game_rule = {
							rule = sov_fragmentation_status
							option = SOV_UTTERLY_FRAGMENTED
						}
					}
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		select_effect = {
			country_event = { id = russia2_russia.102 days = 18 }
			if = {
				limit = {
					is_ai = yes
				}
				add_command_power = 100
			}
		}
		cancelable = no
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Terrible_fate
			remove_ideas = SOV_Trotskyite_plot_russia2
			remove_ideas = SOV_Home_of_revolution_russia2
			hidden_effect = {
				if = {
					limit = {
						is_ai = yes
					}
					add_command_power = 100
				}
			}
		}
	}

	#Our Right to Believe
	focus = {
		id = SOV_right_to_believe
		x = 26
		y = 14
		prerequisite = { focus = SOV_terrible_fate }
		mutually_exclusive = { focus = SOV_rally_under_denikin_cause }
		icon = GFX_Democracy_Alexander_Kerensky
		cost = 5
		ai_will_do = {
			factor = 9
			modifier = {
				add = 91
				OR = {
					has_country_flag = RUS_AI_ALEXANDER_KERENSKY_DEMOCRATIC_BEHAVIOR
					has_country_flag = RUS_AI_PAVEL_MILYUKOV_DEMOCRATIC_BEHAVIOR
					has_country_flag = RUS_AI_ALEXANDER_KONOVALOV_DEMOCRATIC_BEHAVIOR
					has_country_flag = RUS_AI_IVAN_NIKOLAEVICH_DEMOCRATIC_BEHAVIOR
				}
			}
			modifier = {
				factor = 0
				NOT = {
					has_country_flag = RUS_AI_ALEXANDER_KERENSKY_DEMOCRATIC_BEHAVIOR
					has_country_flag = RUS_AI_PAVEL_MILYUKOV_DEMOCRATIC_BEHAVIOR
					has_country_flag = RUS_AI_ALEXANDER_KONOVALOV_DEMOCRATIC_BEHAVIOR
					has_country_flag = RUS_AI_IVAN_NIKOLAEVICH_DEMOCRATIC_BEHAVIOR
					has_country_flag = RUS_AI_FULL_RANDOM_BEHAVIOR
				}
			}
		}
		available = {
			is_subject = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_stability = 0.05
			add_ideas = SOV_Right_believe
		}
	}

	#Prepare a Democratic Coup
	focus = {
		id = SOV_prepare_democratic_coup
		x = 26
		y = 15
		prerequisite = { focus = SOV_right_to_believe }
		icon = GFX_Russian_Federation
		cost = 8
		ai_will_do = {
			factor = 9
		}
		available = {
			is_subject = no
			democratic > 0.2
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_popularity = {
				ideology = democratic
				popularity = 0.1
			}
			swap_ideas = {
				remove_idea = SOV_Right_believe
				add_idea = SOV_Right_believe2
			}
		}
	}

	#Launch the Insurrection!
	focus = {
		id = SOV_launch_insurrection
		x = 26
		y = 16
		prerequisite = { focus = SOV_prepare_democratic_coup }
		icon = GFX_Democratic_Insurrection
		cost = 8
		ai_will_do = {
			factor = 9
		}
		available = {
			is_subject = no
			democratic > 0.4
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			country_event = { id = russia2_russia.103 days = 1 }
		}
	}

	#A Country in Chaos
	focus = {
		id = SOV_country_in_chaos
		x = 26
		y = 17
		prerequisite = { focus = SOV_launch_insurrection }
		icon = GFX_focus_spr_crush_the_revolution
		cost = 20
		ai_will_do = {
			factor = 9
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		select_effect = {
			hidden_effect = {
				every_state = {
					limit = {
						is_core_of = SOV
					}
					set_state_flag = reunification_give_core_back
				}
			}
			country_event = { id = russia2_russia.104 days = 40 }
			country_event = { id = russia2_russia.105 days = 80 }
			country_event = { id = russia2_russia.106 days = 120 }
			country_event = { id = russia2_russia.261 days = 20 }
			if = {
				limit = {
					OR = {
						owns_state = 216
						owns_state = 215
						owns_state = 213
					}
					is_neighbor_of = FIN
				}
				FIN = {
					country_event = { id = russia2_finland.7 days = 45 }
				}
			}
			if = {
				limit = {
					owns_state = 655
					is_neighbor_of = JAP
				}
				JAP = {
					country_event = { id = russia2_japan.6 days = 50 }
				}
			}
			ENG = {
				country_event = { id = russia2_russia.113 days = 100 }
			}
		}
		cancelable = no
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA FOCUS_FILTER_STABILITY }
		completion_reward = {
			custom_effect_tooltip = SOV_country_in_chaos_tt
			remove_ideas = SOV_Terrible_fate
			add_timed_idea = {
				idea = SOV_A_new_beginning
				days = 140
			}
		}
	}

	#Trust Alexander Kerensky
	focus = {
		id = SOV_trust_alexander
		x = 24
		y = 18
		prerequisite = { focus = SOV_country_in_chaos }
		mutually_exclusive = { focus = SOV_pavel_guidance }
		icon = GFX_Kerensky_Path
		cost = 5
		ai_will_do = {
			factor = 9
			modifier = {
				add = 91
				has_country_flag = RUS_AI_ALEXANDER_KERENSKY_DEMOCRATIC_BEHAVIOR
			}
			modifier = {
				factor = 0
				has_country_flag = RUS_AI_PAVEL_MILYUKOV_DEMOCRATIC_BEHAVIOR
			}
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA FOCUS_FILTER_STABILITY }
		completion_reward = {
			custom_effect_tooltip = SOV_trust_alexander_tt
			hidden_effect = {
				set_politics = {
					ruling_party = democratic
					elections_allowed = yes
				}
				set_cosmetic_tag = SOV_democratic_russia
				country_event = { id = russia2_russia.262 days = 25 }
			}
			set_party_name = {
				ideology = democratic
				long_name = SOV_trudoviks
				name = SOV_trudoviks_long
			}
			swap_ruler_traits = {
				remove = russia2_temporary_leader
				add = russia2_abolished_death_penalty
			}
		}
	}

	#Pavel Milyukov's Guidance
	focus = {
		id = SOV_pavel_guidance
		x = 28
		y = 18
		prerequisite = { focus = SOV_country_in_chaos }
		mutually_exclusive = { focus = SOV_trust_alexander }
		icon = GFX_Milayukov_flip
		cost = 5
		ai_will_do = {
			factor = 9
			modifier = {
				add = 91
				has_country_flag = RUS_AI_PAVEL_MILYUKOV_DEMOCRATIC_BEHAVIOR
			}
			modifier = {
				factor = 0
				has_country_flag = RUS_AI_ALEXANDER_KERENSKY_DEMOCRATIC_BEHAVIOR
			}
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_pavel_guidance_tt
			hidden_effect = {
				set_politics = {
					ruling_party = democratic
					elections_allowed = yes
				}
				set_cosmetic_tag = SOV_democratic_russia
				country_event = { id = russia2_russia.262 days = 25 }
			}
			set_party_name = {
				ideology = democratic
				long_name = SOV_kadets
				name = SOV_kadets_long
			}
			add_country_leader_role = {
				character = SOV_Pavel_milyukov
				promote_leader = yes
				country_leader = {
					desc = SOV_Pavel_milyukov_desc
					ideology = liberalism
					expire = "1965.1.1.1"
					traits = {
						russia2_stupidity_or_treason
					}
				}
			}
		}
	}

	#Create the Russian Sphere
	focus = {
		id = SOV_create_russian_sphere
		x = 26
		y = 19
		prerequisite = { focus = SOV_trust_alexander focus = SOV_pavel_guidance }
		icon = GFX_goal_anschluss
		cost = 8
		ai_will_do = {
			factor = 9
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			remove_ideas = SOV_Right_believe2
			add_ideas = SOV_Home_of_perpetual_liberty
			create_faction = russian_sphere
			custom_effect_tooltip = SOV_create_russian_sphere_tt
			hidden_effect = {
				every_country = {
					limit = {
						OR = {
							has_country_flag = democratic_russia_chaos_europe
							has_country_flag = democratic_russia_chaos_asia
							has_country_flag = democratic_russia_chaos_caucasus
						}
					}
					SOV = {
						# add_to_faction = PREV (not required)
						puppet = PREV
					}
					if = {
						limit = {
							has_idea = SOV_Unstable_government
						}
						remove_ideas = SOV_Unstable_government
					}
					add_ideas = SOV_Guided_by_russia
				}

				every_country = { #Making a second every_country to avoid confusing the PREV tag
					limit = {
						OR = {
							has_country_flag = democratic_russia_chaos_europe
							has_country_flag = democratic_russia_chaos_asia
							has_country_flag = democratic_russia_chaos_caucasus
						}
					}
					SOV = {
						set_autonomy = {
							target = PREV
							autonomy_state = autonomy_supervised_state
						}
					}
				}
				news_event = {
					id = newsrussia2.70 days = 1
				}
				country_event = {
					id = russia2_russia.264 days = 105
				}
			}
		}
	}

	#The Trials
	focus = {
		id = SOV_the_trials
		x = 34
		y = 19
		prerequisite = { focus = SOV_trust_alexander focus = SOV_pavel_guidance }
		icon = GFX_The_Trials
		cost = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_the_trials_tt
			hidden_effect = {
				country_event = { id = russia2_russia.409 days = 1 }
			}
		}
	}

	#The Track
	focus = {
		id = SOV_the_track
		x = 34
		y = 20
		prerequisite = { focus = SOV_the_trials }
		icon = GFX_The_track
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			has_country_flag = sov_trials_begin
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_the_track_tt
			hidden_effect = {
				country_event = { id = russia2_russia.430 days = 5 }
				set_variable = { SOV.sov_track_array_count = 0 }

				while_loop_effect = {
					limit = {
						check_variable = {
							var = SOV.sov_track_array_count
							value = 10
							compare = less_than
						}
					}

					random_scope_in_array = {
						array = global.countries
						limit = {
							exists = yes
							any_state = {
								OR = {
									is_owned_by = THIS
									is_controlled_by = THIS
								}
								is_capital = yes
							}
							NOT = {
								tag = SOV
								has_civil_war = yes
								is_in_faction_with = ROOT
								has_capitulated = yes
								has_war_with = SOV
								is_subject_of = SOV
								has_government = fascism
							}
						}

						add_to_array = { global.sov_track_available_states = THIS.capital }

						add_to_variable = { SOV.sov_track_array_count = 1 }
					}
				}

				random_scope_in_array = {
					array = global.sov_track_available_states
					THIS = {
						set_state_flag = sov_stalin_hidding_state
					}
				}
			}
		}
	}

	#The Remaining Deserters
	focus = {
		id = SOV_the_remaining_deserters
		x = 32
		y = 20
		prerequisite = { focus = SOV_the_trials }
		icon = GFX_Remaining_deserters
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			has_country_flag = sov_trials_begin
			NOT = {
				has_country_flag = sov_trials_end
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			has_country_flag = sov_trials_end
		}
		cancelable = no
		cancel_if_invalid = yes
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			country_event = { id = russia2_russia.425 }
		}
	}

	#Communism's Fate
	focus = {
		id = SOV_communism_fate
		x = 36
		y = 20
		prerequisite = { focus = SOV_the_trials }
		icon = GFX_Communism_fate
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			has_country_flag = sov_trials_begin
			NOT = {
				has_country_flag = sov_trials_end
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			has_country_flag = sov_trials_end
		}
		cancelable = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			country_event = { id = russia2_russia.424 }
		}
	}

	#The Supreme Court
	focus = {
		id = SOV_the_supreme_court
		x = 34
		y = 21
		prerequisite = { focus = SOV_the_remaining_deserters }
		prerequisite = { focus = SOV_communism_fate }
		icon = GFX_Supreme_court
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			has_country_flag = sov_trials_end
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Supreme_court
			custom_effect_tooltip = SOV_the_supreme_court_tt
		}
	}

	#Temporarily Abolish Elections
	focus = {
		id = SOV_temporarily_abolish_elections
		x = 32
		y = 22
		prerequisite = { focus = SOV_the_supreme_court }
		icon = GFX_Temporarly_Abolish_Elections
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			NOT = {
				has_completed_focus = SOV_united_russia
				has_completed_focus = SOV_preemptive_coup
				has_completed_focus = SOV_continue_investments
			}
			custom_trigger_tooltip = {
				tooltip = united_russia_has_strength
				check_variable = {
					var = united_russia_strength
					value = 1
					compare = greater_than_or_equals
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			add_stability = -0.05
			set_country_flag = democratic_elections_abolished
			custom_effect_tooltip = SOV_temporarily_abolish_elections_tt
			subtract_from_variable = { united_russia_strength = 1 }
			round_variable = united_russia_strength
			clamp_variable = {
				var = united_russia_strength
				min = 0
				max = 4
			}
			custom_effect_tooltip = united_russia_lose_strength
			custom_effect_tooltip = SOV_temporarily_abolish_elections_tt2
			hidden_effect = {
				set_politics = {
					ruling_party = democratic
					elections_allowed = no
				}
			}
		}
	}

	#Reinforce Military Presence
	focus = {
		id = SOV_reinforce_military_presence
		x = 36
		y = 22
		prerequisite = { focus = SOV_the_supreme_court }
		icon = GFX_Reinforce_Military_Presence
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			add_stability = -0.05
			custom_effect_tooltip = SOV_reinforce_military_presence_tt
			set_country_flag = sov_reinforced_military_presence
		}
	}

	#Investment in the Russian Sphere
	focus = {
		id = SOV_investment_russian_sphere
		x = 26
		y = 20
		prerequisite = { focus = SOV_create_russian_sphere }
		icon = GFX_goal_generic_positive_trade_relations
		cost = 5
		ai_will_do = {
			factor = 9
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_investment_russian_sphere_tt
			add_ideas = SOV_Russian_sphere_investments
			hidden_effect = {
				set_variable = {
					var = sov_total_investment
					value = 0
				}
				set_variable = {
					var = sov_country_investment_count
					value = 0
				}
				every_country = {
					limit = {
						OR = {
							has_country_flag = democratic_russia_chaos_europe
							has_country_flag = democratic_russia_chaos_asia
							has_country_flag = democratic_russia_chaos_caucasus
						}
					}
					SOV = {
						add_to_variable = {
							var = sov_country_investment_count
							value = 3
						}
					}
				}
				if = {
					limit = {
						is_ai = yes
					}
					add_political_power = 180
				}
				set_country_flag = investment_russian_sphere_decision
			}
		}
	}

	#End the Naval Blockade
	focus = {
		id = SOV_end_naval_blockade
		x = 18
		y = 19
		prerequisite = { focus = SOV_trust_alexander focus = SOV_pavel_guidance }
		icon = GFX_focus_AST_never_gallipoli
		cost = 10
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = democratic
			has_idea = SOV_Blockaded_by_eng
			NOT = {
				has_idea = SOV_A_new_beginning
			}
			ENG = {
				exists = yes
				has_country_flag = blockade_russian_ports
				has_idea = SOV_Blockade_russia
				NOT = {
					OR = {
						has_country_flag = cut_all_diplomatic_ties_with_sov
						has_country_flag = ENG_resists_pressure
					}
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		cancel = {
			ENG = {
				OR = {
					has_country_flag = cut_all_diplomatic_ties_with_sov
					has_country_flag = ENG_resists_pressure
				}
			}
		}
		select_effect = {
			ENG = {
				country_event = { id = russia2_russia.115 days = 10 }
			}
		}
		cancelable = no
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_end_naval_blockade_tt
		}
	}

	#Reconciliation with Britain
	focus = {
		id = SOV_reconciliation_britain
		x = 18
		y = 20
		prerequisite = { focus = SOV_end_naval_blockade }
		icon = GFX_UK_RUS_friendship
		cost = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = democratic
			NOT = {
				has_idea = SOV_Blockaded_by_eng
				has_war_with = ENG
			}
			ENG = {
				exists = yes
				NOT = {
					has_idea = SOV_Blockade_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			ENG = {
				country_event = { id = russia2_england.4 days = 1 }
			}
		}
	}

	#Growing Economy
	focus = {
		id = SOV_growing_economy
		x = 28
		y = 21
		prerequisite = { focus = SOV_investment_russian_sphere }
		icon = GFX_Rising_Economy
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = SOV_Growing_russian_economy
		}
	}

	#New Civilian Rights
	focus = {
		id = SOV_new_civilian_rights
		x = 24
		y = 21
		prerequisite = { focus = SOV_investment_russian_sphere }
		icon = GFX_Democratic_Freedom
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = SOV_New_civilian_rights_idea
		}
	}

	#Improved Civilian Industry
	focus = {
		id = SOV_improved_civilian_industry
		x = 26
		y = 22
		prerequisite = { focus = SOV_new_civilian_rights }
		prerequisite = { focus = SOV_growing_economy }
		icon = GFX_focus_generic_the_giant_wakes
		cost = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = democratic
			num_of_controlled_states > 5
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			random_owned_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_owned_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_owned_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Continue the Investments
	focus = {
		id = SOV_continue_investments
		x = 36
		y = 23
		prerequisite = { focus = SOV_improved_civilian_industry }
		mutually_exclusive = { focus = SOV_end_investments }
		icon = GFX_goal_generic_major_alliance
		cost = 5
		ai_will_do = {
			factor = 5
			modifier = {
				add = 95
				OR = {
					has_country_flag = RUS_AI_ALEXANDER_KERENSKY_DEMOCRATIC_BEHAVIOR
					has_country_flag = RUS_AI_PAVEL_MILYUKOV_DEMOCRATIC_BEHAVIOR
				}
			}
			modifier = {
				factor = 0
				NOT = {
					has_country_flag = RUS_AI_ALEXANDER_KERENSKY_DEMOCRATIC_BEHAVIOR
					has_country_flag = RUS_AI_PAVEL_MILYUKOV_DEMOCRATIC_BEHAVIOR
					has_country_flag = RUS_AI_FULL_RANDOM_BEHAVIOR
				}
			}
		}
		available = {
			is_subject = no
			has_government = democratic
			has_country_flag = sov_trials_end
			custom_trigger_tooltip = {
				tooltip = SOV_continue_investments_tt
				check_variable = {
					var = united_russia_strength
					value = 3
					compare = less_than
				}
			}
			custom_trigger_tooltip = {
				tooltip = SOV_continue_investments_tt2
				set_temp_variable = { weak_investment = sov_country_investment_count }
				divide_temp_variable = { weak_investment = 3 }
				check_variable = {
					var = sov_total_investment
					value = 0
					compare = greater_than
				}
				check_variable = {
					var = sov_total_investment
					value = weak_investment
					compare = greater_than_or_equals
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA }
		completion_reward = {
			hidden_effect = {
				set_global_flag = russia_reworked_can_switch_country
				country_event = { id = russia2_russia.553 hours = 10 }
			}
			add_political_power = 100
			set_temp_variable = { stability_add = 0.05 }
			if = {
				limit = {
					check_variable = {
						var = united_russia_strength
						value = 1
						compare = greater_than_or_equals
					}
				}
				multiply_temp_variable = { stability_add = -1 }
				multiply_temp_variable = { stability_add = united_russia_strength }
				custom_effect_tooltip = suffer_stability_united_russia_strength
			}
			add_stability = var:stability_add
			if = {
				limit = {
					has_completed_focus = SOV_trust_alexander
				}
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = SOV_Alexander_kerensky
			}
			else_if = {
				limit = {
					has_completed_focus = SOV_pavel_guidance
				}
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = SOV_Pavel_milyukov
			}
		}
	}

	#Reunification
	focus = {
		id = SOV_reunification
		x = 34
		y = 24
		prerequisite = { focus = SOV_continue_investments }
		mutually_exclusive = { focus = SOV_freedom_all }
		icon = GFX_Reunification_states
		cost = 12
		ai_will_do = {
			factor = 1
			modifier = {
				add = 9
				date > 1939.01.01
				original_tag = SOV
				set_temp_variable = { medium_investment = sov_country_investment_count }
				divide_temp_variable = { medium_investment = 3 }
				multiply_temp_variable = { medium_investment = 2 }
				SOV = {
					check_variable = {
						var = sov_total_investment
						value = medium_investment
						compare = greater_than_or_equals
					}
				}
			}
			modifier = {
				add = -8
				has_country_leader = {
					character = SOV_Pavel_milyukov
					ruling_only = yes
				}
			}
		}
		available = {
			is_subject = no
			has_government = democratic
			has_country_flag = sov_trials_end
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		select_effect = {
			hidden_effect = {
				every_state = {
					limit = {
						has_state_flag = reunification_give_core_back
					}
					SOV = {
						add_state_core = PREV
					}
				}
			}
			set_country_flag = sov_started_reunification
			every_country = {
				limit = {
					has_country_flag = democratic_russia_chaos_caucasus
				}
				country_event = { id = russia2_russia.108 days = 25 }
			}
			every_country = {
				limit = {
					has_country_flag = democratic_russia_chaos_asia
				}
				country_event = { id = russia2_russia.108 days = 50 }
			}
			every_country = {
				limit = {
					has_country_flag = democratic_russia_chaos_europe
				}
				country_event = { id = russia2_russia.108 days = 75 }
			}
		}
		cancelable = no
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_reunification_tt
			clr_country_flag = sov_started_reunification
			clr_country_flag = investment_russian_sphere_decision
			set_country_flag = sov_finished_reunification
			remove_ideas = SOV_Russian_sphere_investments
			hidden_effect = {
				set_variable = {
					var = stability_loss_country_refused
					value = 0
				}
				every_country = {
					limit = {
						OR = {
							has_country_flag = democratic_russia_chaos_caucasus
							has_country_flag = democratic_russia_chaos_asia
							has_country_flag = democratic_russia_chaos_europe
						}
					}
					SOV = {
						add_to_variable = {
							var = stability_loss_country_refused
							value = 4
						}
					}
				}
				news_event = {
					id = newsrussia2.79 days = 1
				}
			}
		}
	}

	#Freedom for all
	focus = {
		id = SOV_freedom_all
		x = 38
		y = 24
		prerequisite = { focus = SOV_continue_investments }
		mutually_exclusive = { focus = SOV_reunification }
		icon = GFX_Freedom_for_all
		cost = 12
		ai_will_do = {
			factor = 1
			modifier = {
				add = 9
				date > 1939.01.01
				original_tag = SOV
				set_temp_variable = { medium_investment = sov_country_investment_count }
				divide_temp_variable = { medium_investment = 3 }
				multiply_temp_variable = { medium_investment = 2 }
				SOV = {
					check_variable = {
						var = sov_total_investment
						value = medium_investment
						compare = greater_than_or_equals
					}
				}
			}
			modifier = {
				add = -8
				has_country_leader = {
					character = SOV_Alexander_kerensky
					ruling_only = yes
				}
			}
		}
		available = {
			is_subject = no
			has_government = democratic
			has_country_flag = sov_trials_end
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		select_effect = {
			hidden_effect = {
				every_state = {
					limit = {
						has_state_flag = reunification_give_core_back
					}
					SOV = {
						add_state_claim = PREV
					}
				}
			}
			set_country_flag = sov_not_started_reunification
		}
		cancelable = no
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_freedom_all_tt
			add_ideas = SOV_Russian_sphere_market_leader
			clr_country_flag = investment_russian_sphere_decision
			every_country = {
				limit = {
					OR = {
						has_country_flag = democratic_russia_chaos_caucasus
						has_country_flag = democratic_russia_chaos_asia
						has_country_flag = democratic_russia_chaos_europe
					}
					is_subject_of = SOV
				}
				add_ideas = SOV_Russian_overlord
				add_ideas = SOV_Russian_sphere_market
				add_ideas = SOV_Russian_military_training
				if = {
					limit = {
						has_idea = SOV_Unstable_government
					}
					remove_ideas = SOV_Unstable_government
				}
				custom_effect_tooltip = SOV_freedom_all_tt2
				hidden_effect = {
					country_event = { id = russia2_russia.361 }
					ROOT = {
						set_autonomy = {
							target = PREV
							autonomy_state = autonomy_russian_protectorate
						}
					}
				}
			}
			hidden_effect = {
				if = {
					limit = {
						SIB = {
							is_subject_of = ROOT
						}
					}
					set_autonomy = {
						target = SIB
						autonomy_state = autonomy_russian_protectorate
					}
				}
			}
			remove_ideas = SOV_Russian_sphere_investments
		}
	}

	#End the Investments
	focus = {
		id = SOV_end_investments
		x = 16
		y = 23
		prerequisite = { focus = SOV_improved_civilian_industry }
		mutually_exclusive = { focus = SOV_continue_investments }
		icon = GFX_End_investments
		cost = 5
		ai_will_do = {
			factor = 5
			modifier = {
				add = 95
				OR = {
					has_country_flag = RUS_AI_ALEXANDER_KONOVALOV_DEMOCRATIC_BEHAVIOR
					has_country_flag = RUS_AI_IVAN_NIKOLAEVICH_DEMOCRATIC_BEHAVIOR
				}
			}
			modifier = {
				factor = 0
				NOT = {
					has_country_flag = RUS_AI_ALEXANDER_KONOVALOV_DEMOCRATIC_BEHAVIOR
					has_country_flag = RUS_AI_IVAN_NIKOLAEVICH_DEMOCRATIC_BEHAVIOR
					has_country_flag = RUS_AI_FULL_RANDOM_BEHAVIOR
				}
			}
		}
		available = {
			is_subject = no
			has_government = democratic
			has_country_flag = sov_trials_end
			custom_trigger_tooltip = {
				tooltip = SOV_end_investments_tt
				check_variable = {
					var = united_russia_strength
					value = 1
					compare = greater_than_or_equals
				}
			}
			custom_trigger_tooltip = {
				tooltip = SOV_end_investments_tt2
				set_temp_variable = { medium_investment = sov_country_investment_count }
				divide_temp_variable = { medium_investment = 3 }
				multiply_temp_variable = { medium_investment = 2 }
				check_variable = {
					var = sov_total_investment
					value = medium_investment
					compare = less_than_or_equals
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			dismantle_faction = yes
			remove_ideas = SOV_Russian_sphere_investments
			add_ideas = SOV_Broken_market
			custom_effect_tooltip = every_russian_country_will_leave_and_isolate
			hidden_effect = {
				every_country = {
					limit = {
						OR ={
							tag = UKR
							tag = BLR
							tag = DAG
							tag = CIR
							tag = CRI
							tag = GEO
							tag = AZR
							tag = ARM
							tag = KAZ
							tag = TAJ
							tag = KYR
							tag = UZB
							tag = TMS
						}
					}
					SOV = {
						set_autonomy = {
							target = PREV
							autonomy_state = autonomy_free
						}
					}
					add_timed_idea = {
						idea = SOV_Isolation
						days = 2000
					}
					remove_ideas = SOV_Guided_by_russia
				}
			}
		}
	}

	#United Russia
	focus = {
		id = SOV_united_russia
		x = 14
		y = 24
		prerequisite = { focus = SOV_end_investments }
		mutually_exclusive = { focus = SOV_preemptive_coup }
		icon = GFX_United_Russia
		cost = 6
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			custom_trigger_tooltip = {
				tooltip = SOV_united_russia_tt
				check_variable = {
					var = united_russia_strength
					value = 3
					compare = greater_than_or_equals
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA }
		completion_reward = {
			hidden_effect = {
				set_global_flag = russia_reworked_can_switch_country
				country_event = { id = russia2_russia.553 hours = 10 }
			}
			set_party_name = {
				ideology = democratic
				long_name = SOV_united_russia_name
				name = SOV_united_russia_name_long
			}
			add_country_leader_role = {
				character = SOV_Alexander_konovalov
				promote_leader = yes
				country_leader = {
					desc = SOV_Alexander_konovalov_desc
					ideology = conservatism
					expire = "1965.1.1.1"
					traits = {
						russia2_grand_orient_russia_peoples
					}
				}
			}
			if = {
				limit = {
					check_variable = {
						var = united_russia_strength
						value = 3
						compare = greater_than_or_equals
					}
				}
				set_temp_variable = { stability_add = 0.05 }
				set_temp_variable = { united_russia_strength_minus_one = united_russia_strength }
				subtract_from_temp_variable = { united_russia_strength_minus_one = 1 }
				multiply_temp_variable = { stability_add = united_russia_strength_minus_one }
				custom_effect_tooltip = gain_stability_united_russia_strength
				add_stability = var:stability_add
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = SOV_Alexander_konovalov
			set_variable = { sov_improve_from_conditions_cost = 100 }
			if = {
				limit = {
					has_completed_focus = SOV_the_supreme_court
				}
				custom_effect_tooltip = SOV_united_russia_tt2
			}
			if = {
				limit = {
					has_global_flag = russia_reworked_wide_putin_enabled
				}
				set_country_flag = sov_united_russia_takes_control
			}
		}
	}

	#Deal With Political Opponents
	focus = {
		id = SOV_deal_with_political_opponents
		x = 14
		y = 25
		prerequisite = { focus = SOV_united_russia }
		icon = GFX_Deal_With_the_Political_Opponents
		cost = 6
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA }
		completion_reward = {
			add_ideas = SOV_United_russia_idea
			custom_effect_tooltip = bonus_changes_depending_on_opposition_strength
			set_temp_variable = { united_russia_influence = united_russia_strength }
			set_temp_variable = { stability_add = -0.1 }
			set_temp_variable = { pp_add = -150 }
			set_temp_variable = { democracy_add = -0.1 }
			set_temp_variable = { stability_add_addition = 0.1 }
			set_temp_variable = { pp_add_addition = 150 }
			set_temp_variable = { democracy_add_addition = 0.1 }
			multiply_temp_variable = { stability_add_addition = united_russia_influence }
			multiply_temp_variable = { pp_add_addition = united_russia_influence }
			multiply_temp_variable = { democracy_add_addition = united_russia_influence }
			add_to_temp_variable = { stability_add = stability_add_addition }
			add_to_temp_variable = { pp_add = pp_add_addition }
			add_to_temp_variable = { democracy_add = democracy_add_addition }
			add_political_power = var:pp_add
			add_stability = var:stability_add
			add_popularity = {
				ideology = democratic
				popularity = var:democracy_add
			}
		}
	}

	#Preemptive Coup
	focus = {
		id = SOV_preemptive_coup
		x = 18
		y = 24
		prerequisite = { focus = SOV_end_investments }
		mutually_exclusive = { focus = SOV_united_russia }
		icon = GFX_Preemptive_Coup
		cost = 6
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			custom_trigger_tooltip = {
				tooltip = SOV_preemptive_coup_tt
				check_variable = {
					var = united_russia_strength
					value = 4
					compare = less_than
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			hidden_effect = {
				set_global_flag = russia_reworked_can_switch_country
				country_event = { id = russia2_russia.553 hours = 10 }
			}
			set_cosmetic_tag = RRD
			set_party_name = {
				ideology = democratic
				long_name = SOV_progressive_party_name
				name = SOV_progressive_party_name_long
			}
			add_country_leader_role = {
				character = SOV_Ivan_nikolaevich
				promote_leader = yes
				country_leader = {
					desc = SOV_Ivan_nikolaevich_desc
					ideology = liberalism
					expire = "1965.1.1.1"
					traits = {
						russia2_progressist_democratic_russia
					}
				}
			}
			set_temp_variable = { stability_add = 0.05 }
			if = {
				limit = {
					check_variable = {
						var = united_russia_strength
						value = 1
						compare = greater_than_or_equals
					}
				}
				multiply_temp_variable = { stability_add = -1 }
				multiply_temp_variable = { stability_add = united_russia_strength }
				custom_effect_tooltip = suffer_stability_united_russia_strength
			}
			add_stability = var:stability_add
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = SOV_Ivan_nikolaevich
		}
	}

	#A New Kind of Russia
	focus = {
		id = SOV_new_kind_of_russia
		x = 18
		y = 25
		prerequisite = { focus = SOV_preemptive_coup }
		icon = GFX_A_New_Kind_of_Russia
		cost = 6
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			add_ideas = SOV_New_russia_idea
			custom_effect_tooltip = bonus_changes_depending_on_opposition_strength
			set_temp_variable = { united_russia_influence = united_russia_strength }
			set_temp_variable = { stability_add = 0.1 }
			set_temp_variable = { pp_add = 150 }
			set_temp_variable = { democracy_add = 0.1 }
			set_temp_variable = { stability_add_addition = 0.05 }
			set_temp_variable = { pp_add_addition = 100 }
			set_temp_variable = { democracy_add_addition = 0.05 }
			multiply_temp_variable = { stability_add_addition = united_russia_influence }
			multiply_temp_variable = { pp_add_addition = united_russia_influence }
			multiply_temp_variable = { democracy_add_addition = united_russia_influence }
			subtract_from_temp_variable = { stability_add = stability_add_addition }
			subtract_from_temp_variable = { pp_add = pp_add_addition }
			subtract_from_temp_variable = { democracy_add = democracy_add_addition }
			add_political_power = var:pp_add
			add_stability = var:stability_add
			add_popularity = {
				ideology = democratic
				popularity = var:democracy_add
			}
		}
	}

	#Reconstruction Plans
	focus = {
		id = SOV_reconstruction_plans
		x = 16
		y = 26
		prerequisite = { focus = SOV_deal_with_political_opponents focus = SOV_new_kind_of_russia }
		icon = GFX_Reconstruction_Plans
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_reconstruction_plans_unlock_tt
			swap_ideas = {
				remove_idea = SOV_Broken_market
				add_idea = SOV_Broken_market_2
			}
		}
	}

	#Diplomatic Plays
	focus = {
		id = SOV_diplomatic_plays
		x = 8
		y = 25
		prerequisite = { focus = SOV_united_russia }
		icon = GFX_Diplomatic_plays
		cost = 6
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			NOT = {
				country_exists = BLR
				country_exists = CIR
				country_exists = CRI
				country_exists = DAG
				country_exists = GEO
				country_exists = AZR
				country_exists = ARM
				country_exists = KAZ
				country_exists = UZB
				country_exists = TMS
				country_exists = TAJ
				country_exists = KYR
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_diplomatic_plays_unlock_tt
			custom_effect_tooltip = SOV_diplomatic_plays_tt
			hidden_effect = {
				for_each_scope_loop = {
					array = global.countries
					if = {
						limit = {
							exists = yes
							OR = {
								tag = KAZ
								tag = TMS
								tag = UZB
								tag = TAJ
								tag = KYR
							}
						}
						add_to_array = { global.sov_central_asia_country = THIS }
					}
				}

				for_each_scope_loop = {
					array = global.countries
					if = {
						limit = {
							exists = yes
							OR = {
								tag = CIR
								tag = CRI
								tag = DAG
								tag = GEO
								tag = AZR
								tag = ARM
							}
						}
						add_to_array = { global.sov_caucasian_democratic_country = THIS }
					}
				}
				every_state = {
					limit = {
						OR = {
							state = 234
							state = 235
							state = 233
							state = 137
							state = 231
							state = 230
							state = 229
							state = 232
							state = 826
							state = 827
							state = 828
							state = 821
						}
					}
					add_to_array = { global.sov_caucasian_state_core = THIS }
					THIS = { set_state_flag = caucasian_core_state_democratic }
				}
			}
		}
	}

	#The Ukrainian Problem
	focus = {
		id = SOV_ukrainian_problem
		x = 8
		y = 26
		prerequisite = { focus = SOV_diplomatic_plays }
		icon = GFX_Ukranian_Problem
		cost = 6
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
			custom_trigger_tooltip = {
				tooltip = owns_and_control_belarus_state
				194 = { is_owned_and_controlled_by = ROOT }
				204 = { is_owned_and_controlled_by = ROOT }
				206 = { is_owned_and_controlled_by = ROOT }
				207 = { is_owned_and_controlled_by = ROOT }
				241 = { is_owned_and_controlled_by = ROOT }
			}
			custom_trigger_tooltip = {
				tooltip = owns_and_control_caucasian_state
				234 = { is_owned_and_controlled_by = ROOT }
				235 = { is_owned_and_controlled_by = ROOT }
				232 = { is_owned_and_controlled_by = ROOT }
				233 = { is_owned_and_controlled_by = ROOT }
				229 = { is_owned_and_controlled_by = ROOT }
				230 = { is_owned_and_controlled_by = ROOT }
				231 = { is_owned_and_controlled_by = ROOT }
				826 = { is_owned_and_controlled_by = ROOT }
				827 = { is_owned_and_controlled_by = ROOT }
				828 = { is_owned_and_controlled_by = ROOT }
				821 = { is_owned_and_controlled_by = ROOT }
			}
			custom_trigger_tooltip = {
				tooltip = owns_and_control_central_asian_state
				407 = { is_owned_and_controlled_by = ROOT }
				406 = { is_owned_and_controlled_by = ROOT }
				587 = { is_owned_and_controlled_by = ROOT }
				402 = { is_owned_and_controlled_by = ROOT }
				583 = { is_owned_and_controlled_by = ROOT }
				590 = { is_owned_and_controlled_by = ROOT }
				588 = { is_owned_and_controlled_by = ROOT }
				589 = { is_owned_and_controlled_by = ROOT }
				586 = { is_owned_and_controlled_by = ROOT }
				404 = { is_owned_and_controlled_by = ROOT }
				732 = { is_owned_and_controlled_by = ROOT }
				742 = { is_owned_and_controlled_by = ROOT }
				405 = { is_owned_and_controlled_by = ROOT }
				585 = { is_owned_and_controlled_by = ROOT }
				584 = { is_owned_and_controlled_by = ROOT }
				823 = { is_owned_and_controlled_by = ROOT }
				831 = { is_owned_and_controlled_by = ROOT }
				832 = { is_owned_and_controlled_by = ROOT }
				830 = { is_owned_and_controlled_by = ROOT }
				881 = { is_owned_and_controlled_by = ROOT }
				882 = { is_owned_and_controlled_by = ROOT }
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA }
		completion_reward = {
			if = {
				limit = {
					UKR = {
						exists = yes
						NOT = {
							is_subject_of = SOV
						}
					}
				}
				country_event = { id = russia2_russia.450 hours = 15 }
			}
			else_if = {
				limit = {
					UKR = {
						is_subject_of = SOV
					}
				}
				every_state = {
					limit = {
						is_core_of = UKR
						is_owned_by = ROOT
					}
					SOV = {
						add_state_core = PREV
					}
				}
				SOV = {
					annex_country = {
						target = UKR
					}
				}
			}
			else = {
				every_state = {
					limit = {
						is_core_of = UKR
						is_owned_by = ROOT
					}
					SOV = {
						add_state_core = PREV
					}
				}
			}
		}
	}

	#The Russian Way
	focus = {
		id = SOV_russian_way
		x = 8
		y = 27
		prerequisite = { focus = SOV_ukrainian_problem }
		icon = GFX_The_Russian_Way
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			OR = {
				NOT = {
					country_exists = UKR
				}
				UKR = {
					is_subject_of = SOV
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Russian_way
			custom_effect_tooltip = neighbors_are_scared_of_russia
			hidden_effect = {
				every_country = {
					limit = {
						is_neighbor_of = SOV
						NOT = {
							is_in_faction_with = SOV
							is_major = yes
						}
					}
					add_opinion_modifier = {
						target = PREV
						modifier = scared_of_russia
					}
					add_ai_strategy = {
						type = alliance
						id = SOV
						value = -25
					}
				}
				every_country = {
					limit = {
						is_in_faction_with = ROOT
						NOT = {
							has_rule = can_declare_war_on_same_ideology
						}
						has_rule = can_only_justify_war_on_threat_country
					}
					set_rule = {
						can_declare_war_on_same_ideology = yes
						can_only_justify_war_on_threat_country = no
					}
				}
			}
		}
	}

	#Towards the Americas
	focus = {
		id = SOV_towards_americas
		x = 8
		y = 28
		prerequisite = { focus = SOV_russian_way }
		icon = GFX_Towards_The_Americas
		cost = 6
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
			NOT = {
				463 = {
					is_owned_and_controlled_by = SOV
				}
				any_country = {
					is_subject_of = SOV
					owns_state = 463
				}
			}
		}
		bypass = {
			OR = {
				463 = {
					is_owned_and_controlled_by = SOV
				}
				any_country = {
					is_subject_of = SOV
					owns_state = 463
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA }
		completion_reward = {
			add_state_claim = 463
			463 = {
				CONTROLLER = {
					country_event = { id = russia2_america.11 days = 2 }
				}
			}
		}
	}

	#Revive Russian America
	focus = {
		id = SOV_revive_russian_america
		x = 8
		y = 29
		prerequisite = { focus = SOV_towards_americas }
		icon = GFX_Revive_Russian_America
		cost = 6
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
			OR = {
				463 = {
					is_owned_and_controlled_by = SOV
				}
				any_country = {
					is_subject_of = SOV
					owns_state = 463
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA }
		completion_reward = {
			RUA = {
				add_state_core = 463
			}
			every_state = {
				limit = {
					is_core_of = RUA
					any_country = {
						OR = {
							tag = SOV
							is_subject_of = SOV
						}
						owns_state = PREV
					}
				}
				RUA = {
					transfer_state = PREV
				}
			}
			SOV = {
				set_autonomy = {
					target = RUA
					autonomy_state = autonomy_supervised_colony
				}
			}
			hidden_effect = {
				RUA = {
					set_popularities = {
						democratic = 67
						neutrality = 14
						fascism = 13
						communism = 6
					}
				}
				463 = {
					add_extra_state_shared_building_slots = 4
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
				every_country = {
					limit = {
						exists = yes
						NOT = {
							tag = SOV
						}
					}
					RUA = {
						add_opinion_modifier = {
							target = PREV
							modifier = not_allowed_trade_foreign
						}
						add_opinion_modifier = {
							target = PREV
							modifier = not_has_autonomy_ras
						}
					}
				}
				RUA = {
					division_template = {
						name = "Arctic Garrison Division"
						priority = 1
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
							infantry = { x = 0 y = 3 }
							infantry = { x = 0 y = 4 }
							infantry = { x = 1 y = 0 }
							infantry = { x = 1 y = 1 }
							infantry = { x = 1 y = 2 }
							infantry = { x = 1 y = 3 }
							infantry = { x = 1 y = 4 }
						}
						support = {
							engineer = { x = 0 y = 0 }
							artillery = { x = 0 y = 1 }
						}
					}
					random_owned_controlled_state = {
						create_unit = {
							division = "name = \"1st Arctic Garrison Division\" division_template = \"Arctic Garrison Division\" start_experience_factor = 0.5 start_equipment_factor = 1.0"
							owner = RUA
						}
					}
					random_owned_controlled_state = {
						create_unit = {
							division = "name = \"2nd Arctic Garrison Division\" division_template = \"Arctic Garrison Division\" start_experience_factor = 0.5 start_equipment_factor = 1.0"
							owner = RUA
						}
					}
					random_owned_controlled_state = {
						create_unit = {
							division = "name = \"3rd Arctic Garrison Division\" division_template = \"Arctic Garrison Division\" start_experience_factor = 0.5 start_equipment_factor = 1.0"
							owner = RUA
						}
					}
				}
			}
		}
	}

	#All the Ice Belongs to the Motherland
	focus = {
		id = SOV_ice_belongs_to_motherland
		x = 8
		y = 30
		prerequisite = { focus = SOV_revive_russian_america }
		icon = GFX_All_the_Ice_Belongs_to_the_Motherland
		cost = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
			RUA = {
				is_subject_of = SOV
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA }
		completion_reward = {
			hidden_effect = {
				add_dynamic_modifier = { modifier = democratic_alaskan_puppet_modifiers }
				add_ideas = SOV_Excavation_in_alaska
				every_state = {
					limit = {
						OR = {
							state = 471
							state = 472
							state = 473
							state = 470
							state = 469
							state = 467
							state = 683
							state = 682
							state = 466
							state = 332
							state = 101
							state = 100
						}
					}
					add_to_array = { global.alaska_upgradeable_states = THIS }
				}
			}
			custom_effect_tooltip = unlokc_decision_ice_belongs_to_the_motherland_tt
			custom_effect_tooltip = SOV_ice_belongs_to_motherland_idea_tt
			add_resource = {
				type = oil
				amount = 20
				state = 463
			}
			RUA = {
				add_state_core = 471
				add_state_core = 472
				add_state_core = 473
				add_state_core = 470
				add_state_core = 469
				add_state_core = 467
				add_state_core = 683
				add_state_core = 682
				add_state_core = 466
				add_state_core = 332
				add_state_core = 101
				add_state_core = 100
				add_state_core = 864
				add_state_core = 860
				add_state_core = 861
				add_state_core = 862
				add_state_core = 866
				add_state_core = 865
				add_state_core = 863
				add_state_core = 867
				add_state_claim = 739
				add_state_claim = 740
				add_state_claim = 276
				add_state_claim = 468
				add_state_claim = 465
				add_state_claim = 464
				add_state_claim = 331
			}
		}
	}

	#The Middle Eastern Nuissance
	focus = {
		id = SOV_middle_eastern_nuisance
		x = 5
		y = 28
		prerequisite = { focus = SOV_russian_way }
		icon = GFX_Middle_Eastern_Nuisance
		cost = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_middle_eastern_nuisance_decision_tt
			for_each_scope_loop = {
				array = global.countries
				if = {
					limit = {
						OR = {
							tag = TUR
							tag = PER
							tag = IRQ
							tag = SAU
							tag = YEM
							tag = OMA
							tag = AFG
							tag = SYR
							tag = LEB
							tag = JOR
							tag = PAL
							tag = ISR
							tag = EGY
							tag = SUD
							tag = UAE
							tag = QAT
							tag = KUW
						}
					}
					add_to_array = { global.sov_middle_east_democratic_country = THIS }
				}
			}
			set_variable = {
				var = middle_east_coalition
				value = 15
			}
		}
	}

	#Domination of the Middle East
	focus = {
		id = SOV_domination_middle_east
		x = 5
		y = 29
		prerequisite = { focus = SOV_middle_eastern_nuisance }
		icon = GFX_Domination_of_the_Middle_East
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
			custom_trigger_tooltip = {
				tooltip = owns_or_puppet_control_4_capital_middle_east
				count_triggers = {
					amount = 4
					OR = {
						49 = {
							is_owned_and_controlled_by = ROOT
						}
						TUR = {
							is_subject_of = SOV
						}
					}
					OR = {
						266 = {
							is_owned_and_controlled_by = ROOT
						}
						PER = {
							is_subject_of = SOV
						}
					}
					OR = {
						267 = {
							is_owned_and_controlled_by = ROOT
						}
						AFG = {
							is_subject_of = SOV
						}
					}
					OR = {
						291 = {
							is_owned_and_controlled_by = ROOT
						}
						IRQ = {
							is_subject_of = SOV
						}
					}
					OR = {
						292 = {
							is_owned_and_controlled_by = ROOT
						}
						SAU = {
							is_subject_of = SOV
						}
					}
					OR = {
						294 = {
							is_owned_and_controlled_by = ROOT
						}
						OMA = {
							is_subject_of = SOV
						}
					}
					OR = {
						293 = {
							is_owned_and_controlled_by = ROOT
						}
						YEM = {
							is_subject_of = SOV
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_domination_middle_east_tt
			custom_effect_tooltip = SOV_domination_middle_east_tt_decision
		}
	}

	#Increased Minimum Wage
	focus = {
		id = SOV_increased_minimum_wage
		x = 2
		y = 25
		prerequisite = { focus = SOV_united_russia }
		icon = GFX_Increased_minimum_wage
		cost = 6
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Increased_minimum_wage
		}
	}

	#Russian Principles
	focus = {
		id = SOV_russian_principles
		x = 2
		y = 26
		prerequisite = { focus = SOV_increased_minimum_wage }
		icon = GFX_Russian_principles
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Russian_principles
		}
	}

	#Work
	focus = {
		id = SOV_work_principle
		x = 1
		y = 27
		prerequisite = { focus = SOV_russian_principles }
		mutually_exclusive = { focus = SOV_army_principle }
		icon = GFX_Work_principle
		cost = 4
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			has_idea = SOV_Russian_principles
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA }
		completion_reward = {
			swap_ideas = {
				remove_idea = SOV_Russian_principles
				add_idea = SOV_Russian_principles_work
			}
		}
	}

	#Army
	focus = {
		id = SOV_army_principle
		x = 3
		y = 27
		prerequisite = { focus = SOV_russian_principles }
		mutually_exclusive = { focus = SOV_work_principle }
		icon = GFX_Army_principle
		cost = 4
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			has_idea = SOV_Russian_principles
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA }
		completion_reward = {
			swap_ideas = {
				remove_idea = SOV_Russian_principles
				add_idea = SOV_Russian_principles_army
			}
		}
	}

	#Russia's Biggest Threat
	focus = {
		id = SOV_russia_biggest_threat
		x = 13
		y = 28
		prerequisite = { focus = SOV_russian_way }
		icon = GFX_Russia_Biggest_Threat
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA }
		completion_reward = {
			country_event = { id = russia2_russia.486 }
			create_faction = russian_entente
		}
	}

	#Secure the Romanian Oil
	focus = {
		id = SOV_secure_romanian_oil
		x = 11
		y = 29
		prerequisite = { focus = SOV_russia_biggest_threat }
		icon = GFX_Secure_the_Romanian_Oil
		cost = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			any_country = {
				has_full_control_of_state = 46
				NOT = {
					original_tag = ROOT
					is_in_faction_with = ROOT
					has_war_with = ROOT
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			any_country = {
				has_full_control_of_state = 46
				OR = {
					original_tag = ROOT
					is_in_faction_with = ROOT
					has_war_with = ROOT
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA }
		will_lead_to_war_with = ROM
		completion_reward = {
			46 = {
				CONTROLLER = {
					country_event = { id = russia2_romania.4 days = 1 }
				}
			}
		}
	}

	#Ultimatum to France
	focus = {
		id = SOV_ultimatum_france
		x = 11
		y = 30
		prerequisite = { focus = SOV_secure_romanian_oil }
		icon = GFX_Send_Ultimatum_to_France
		cost = 10
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			FRA = {
				NOT = {
					is_subject = yes
					has_civil_war = yes
					has_capitulated = yes
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			FRA = {
				OR = {
					is_subject = yes
					exists = no
					is_in_faction_with = SOV
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA }
		completion_reward = {
			country_event = { id = russia2_france.10 days = 1 }
			if = {
				limit = {
					has_idea = SOV_Allies_menace
				}
				custom_effect_tooltip = france_less_chance_to_join_because_hostile
			}
		}
	}

	#Organize a Finnish Referendum
	focus = {
		id = SOV_finnish_referendum
		x = 15
		y = 29
		prerequisite = { focus = SOV_russia_biggest_threat }
		icon = GFX_Organize_a_Finnish_Referendum
		cost = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			country_exists = FIN
			FIN = {
				is_subject = no
			}
			NOT = {
				FIN = {
					is_in_faction_with = SOV
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			OR = {
				NOT = {
					country_exists = FIN
				}
				FIN = {
					has_war_with = SOV
				}
				FIN = {
					is_subject_of = SOV
				}
				FIN = {
					is_in_faction_with = SOV
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA }
		completion_reward = {
			FIN = {
				country_event = { id = russia2_finland.19 days = 1 }
			}
		}
	}

	#End the German Menace
	focus = {
		id = SOV_end_german_menace
		x = 15
		y = 30
		prerequisite = { focus = SOV_finnish_referendum }
		icon = GFX_End_the_German_Menace
		cost = 10
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
			NOT = {
				GER = {
					is_in_faction_with = SOV
					is_subject_of = SOV
					has_war_with = SOV
				}
			}
		}
		bypass = {
			GER = {
				OR = {
					is_in_faction_with = SOV
					is_subject_of = SOV
					has_war_with = SOV
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA }
		completion_reward = {
			GER = {
				country_event = { id = russia2_germany.21 days = 1 }
			}
		}
	}

	#The Russian Continental System
	focus = {
		id = SOV_russian_continental_system
		x = 13
		y = 31
		prerequisite = { focus = SOV_ultimatum_france }
		prerequisite = { focus = SOV_end_german_menace }
		icon = GFX_The_Russian_Continental_System
		cost = 6
		ai_will_do = {
			factor = 10
		}
		available = {
			always = no
			is_subject = no
			has_government = democratic
			is_major = yes
			has_global_flag = sov_national_obligations_allowed
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_GOLDEN_FOCUS FOCUS_FILTER_DEMOCRATIC_UNITED_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = SOV_russian_continental_system_tt
			add_to_array = { sov_national_obligations_unlocked_indexes = 7 }
			set_variable = { sov_national_obligations_selected_index = 7 }
			if = {
				limit = {
					NOT = {
						has_country_flag = sov_unlocked_national_obligations
					}
				}
				set_country_flag = sov_unlocked_national_obligations
			}
            if = {
				limit = {
					NOT = {
						has_country_flag = sov_open_national_obligations
					}
				}
				set_country_flag = sov_open_national_obligations
			}
		}
	}

	#Ban Extreme Political Elements
	focus = {
		id = SOV_ban_extreme_political_elements
		x = 21
		y = 26
		prerequisite = { focus = SOV_new_kind_of_russia }
		icon = GFX_Ban_Extreme_Political_Elements
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			set_temp_variable = { communist_popularity_democratic = party_popularity@communism }
			multiply_temp_variable = { communist_popularity_democratic = -0.5 }
			set_temp_variable = { fascist_popularity_democratic = party_popularity@fascism }
			multiply_temp_variable = { fascist_popularity_democratic = -0.5 }
			set_temp_variable = { democratic_support_gain = 0 }
			add_to_temp_variable = { democratic_support_gain = party_popularity@communism }
			add_to_temp_variable = { democratic_support_gain = party_popularity@fascism }
			multiply_temp_variable = { democratic_support_gain = 0.25 }
			add_popularity = {
				ideology = communism
				popularity = communist_popularity_democratic
			}
			add_popularity = {
				ideology = fascism
				popularity = fascist_popularity_democratic
			}
			add_popularity = {
				ideology = democratic
				popularity = democratic_support_gain
			}
			add_ideas = SOV_Ban_extreme_political_elements_idea
		}
	}

	#Secure the Tsar's Support
	focus = {
		id = SOV_secure_tsar_support
		x = 19
		y = 27
		prerequisite = { focus = SOV_ban_extreme_political_elements }
		icon = GFX_Secure_the_Tsars_Support
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			has_country_flag = return_tsar_democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			country_event = { id = russia2_russia.487 }
		}
	}

	#Encourage Investments
	focus = {
		id = SOV_encourage_investments
		x = 19
		y = 28
		prerequisite = { focus = SOV_secure_tsar_support }
		icon = GFX_Encourage_the_Investments
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_encourage_investments_tt
			set_temp_variable = { loop_count = 0 }
			while_loop_effect = {
				limit = {
					check_variable = {
						var = loop_count
						value = 10
						compare = less_than_or_equals
					}
				}
				random_scope_in_array = {
					array = ROOT.owned_states
					limit = {
						NOT = {
							is_in_array = { SOV.sov_democratic_investments_random_states = PREV }
						}
						free_building_slots = {
							building = arms_factory
							size > 3
							include_locked = yes
						}
					}

					SOV = {
						add_to_array = { sov_democratic_investments_random_states = PREV }
					}
				}
				add_to_temp_variable = { loop_count = 1 }
			}
		}
	}

	#A Fair Justice System
	focus = {
		id = SOV_fair_justice_system
		x = 23
		y = 27
		prerequisite = { focus = SOV_ban_extreme_political_elements }
		icon = GFX_Fair_Justice_Systems
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			country_event = russia2_russia.542
		}
	}

	#A Show of Strength
	focus = {
		id = SOV_show_of_strength
		x = 21
		y = 29
		prerequisite = { focus = SOV_encourage_investments }
		prerequisite = { focus = SOV_fair_justice_system }
		icon = GFX_A_Show_Of_Strength
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			NOT = {
				any_country = {
					OR = {
						has_government = communism
						has_government = fascism
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			every_other_country = {
				limit = {
					OR = {
						has_government = communism
						has_government = fascism
					}
				}
				country_event = russia2_russia.538
				add_opinion_modifier = {
					target = ROOT
					modifier = russian_anti_extremists
				}
			}
		}
	}

	#Towards a Professional Army
	focus = {
		id = SOV_towards_professional_army
		x = 21
		y = 30
		prerequisite = { focus = SOV_show_of_strength }
		icon = GFX_Towards_a_Professional_Army
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			is_major = yes
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Russian_professionnal_army
		}
	}

	#The External Threats
	focus = {
		id = SOV_external_threats
		x = 21
		y = 31
		prerequisite = { focus = SOV_towards_professional_army }
		icon = GFX_The_External_Threats
		cost = 6
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			is_faction_leader = yes
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_external_threats_tt
			add_ideas = SOV_External_threats_idea
		}
	}

	#Defenders of Democracy!
	focus = {
		id = SOV_defenders_of_democracy
		x = 20
		y = 32
		prerequisite = { focus = SOV_external_threats }
		icon = GFX_Defenders_of_Democracy
		cost = 10
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			is_faction_leader = yes
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_defenders_of_democracy_tt
		}
	}

	#Fight Extremist Ideas
	focus = {
		id = SOV_fight_extremist_ideas
		x = 22
		y = 32
		prerequisite = { focus = SOV_external_threats }
		icon = GFX_Fight_Extremist_Ideas
		cost = 10
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			is_faction_leader = yes
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_fight_extremist_ideas_tt
		}
	}

	#Help From Abroad
	focus = {
		id = SOV_help_from_abroad
		x = 28
		y = 26
		prerequisite = { focus = SOV_new_kind_of_russia }
		icon = GFX_Help_From_Abroad
		cost = 4
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			if = {
				limit = {
					is_faction_leader = yes
				}
				set_faction_name = alliance_democratic_nations
			}
			else_if = {
				limit = {
					is_in_faction = yes
				}
				leave_faction = yes
				create_faction = alliance_democratic_nations
			}
			else = {
				create_faction = alliance_democratic_nations
			}
			add_political_power = 150
			add_to_tech_sharing_group = sov_progressive_research
			custom_effect_tooltip = SOV_help_from_abroad_tt
			hidden_effect = {
				every_country = {
					limit = {
						is_in_faction_with = SOV
					}
					add_to_tech_sharing_group = sov_progressive_research
				}
			}
			every_other_country = {
				limit = {
					has_government = democratic
				}
				add_opinion_modifier = {
					target = ROOT
					modifier = russian_true_democracy
				}
			}
		}
	}

	#Abandon Foreign Claims
	focus = {
		id = SOV_abandon_foreign_claims
		x = 26
		y = 27
		prerequisite = { focus = SOV_help_from_abroad }
		icon = GFX_Abandon_Foreign_Claims
		cost = 4
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			any_state = {
				is_claimed_by = ROOT
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			NOT = {
				any_state = {
					is_claimed_by = ROOT
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			if = {
				limit = {
					has_completed_focus = SOV_russian_expansion
				}
				custom_effect_tooltip = SOV_abandon_foreign_claims_tt2
			}
			custom_effect_tooltip = SOV_abandon_foreign_claims_tt
			set_temp_variable = { pp_add = 0 }
			every_state = {
				limit = {
					is_claimed_by = ROOT
				}
				remove_claim_by = ROOT
				hidden_effect = {
					ROOT = {
						add_to_temp_variable = { pp_add = 25 }
					}
				}
			}
			if = {
				limit = {
					check_variable = {
						var = pp_add
						value = 0
						compare = greater_than
					}
				}
				add_political_power = var:pp_add
			}
		}
	}

	#Friendship Treaty with the West
	focus = {
		id = SOV_friendship_treaty_west
		x = 26
		y = 28
		prerequisite = { focus = SOV_abandon_foreign_claims }
		icon = GFX_Friendship_Treaty_With_the_West
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			OR = {
				FRA = {
					has_government = democratic
					is_subject = no
					exists = yes
					has_civil_war = no
					NOT = {
						has_war_with = ROOT
						is_in_faction_with = ROOT
					}
				}
				ENG = {
					has_government = democratic
					is_subject = no
					exists = yes
					has_civil_war = no
					NOT = {
						has_war_with = ROOT
						is_in_faction_with = ROOT
					}
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			FRA = {
				OR = {
					NOT = {
						has_government = democratic
					}
					is_subject = yes
					exists = no
					has_civil_war = yes
					has_war_with = ROOT
					is_in_faction_with = ROOT
				}
			}
			ENG = {
				OR = {
					NOT = {
						has_government = democratic
					}
					is_subject = yes
					exists = no
					has_civil_war = yes
					has_war_with = ROOT
					is_in_faction_with = ROOT
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			if = {
				limit = {
					FRA = {
						has_government = democratic
						is_subject = no
						exists = yes
						has_civil_war = no
						NOT = {
							has_war_with = ROOT
							is_in_faction_with = ROOT
						}
					}
				}
				FRA = {
					country_event = { id = russia2_russia.543 days = 1 }
				}
				if = {
					limit = {
						OR = {
							has_country_flag = sov_russian_expansion_ultimatum_poland
							has_country_flag = sov_russian_expansion_ultimatum_bessarabia
							has_country_flag = sov_russian_expansion_ultimatum_lithuania
							has_country_flag = sov_russian_expansion_ultimatum_latvia
							has_country_flag = sov_russian_expansion_ultimatum_estonia
						}
					}
					custom_effect_tooltip = sov_fra_will_refuse_friendship_treaty
				}
			}
			if = {
				limit = {
					ENG = {
						has_government = democratic
						is_subject = no
						exists = yes
						has_civil_war = no
						NOT = {
							has_war_with = ROOT
							is_in_faction_with = ROOT
						}
					}
				}
				ENG = {
					country_event = { id = russia2_russia.543 days = 1 }
				}
				if = {
					limit = {
						OR = {
							has_country_flag = sov_russian_expansion_ultimatum_poland
							has_country_flag = sov_russian_expansion_ultimatum_bessarabia
							has_country_flag = sov_russian_expansion_ultimatum_lithuania
							has_country_flag = sov_russian_expansion_ultimatum_latvia
							has_country_flag = sov_russian_expansion_ultimatum_estonia
						}
					}
					custom_effect_tooltip = sov_eng_will_refuse_friendship_treaty
				}
			}
			if = {
				limit = {
					FRA = {
						OR = {
							NOT = {
								has_government = democratic
							}
							is_subject = yes
							exists = no
							has_civil_war = yes
							has_war_with = ROOT
							is_in_faction_with = ROOT
						}
					}
					ENG = {
						OR = {
							NOT = {
								has_government = democratic
							}
							is_subject = yes
							exists = no
							has_civil_war = yes
							has_war_with = ROOT
							is_in_faction_with = ROOT
						}
					}
				}
				custom_effect_tooltip = SOV_friendship_treaty_west_tt
			}
		}
	}

	#Alliance with the West
	focus = {
		id = SOV_alliance_west
		x = 26
		y = 29
		prerequisite = { focus = SOV_friendship_treaty_west }
		icon = GFX_Alliance_with_the_West
		cost = 6
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			OR = {
				FRA = {
					has_government = democratic
					is_subject = no
					exists = yes
					has_civil_war = no
					NOT = {
						has_war_with = ROOT
						is_in_faction_with = ROOT
					}
				}
				ENG = {
					has_government = democratic
					is_subject = no
					exists = yes
					has_civil_war = no
					NOT = {
						has_war_with = ROOT
						is_in_faction_with = ROOT
					}
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			FRA = {
				OR = {
					NOT = {
						has_government = democratic
					}
					is_subject = yes
					exists = no
					has_civil_war = yes
					has_war_with = ROOT
					is_in_faction_with = ROOT
				}
			}
			ENG = {
				OR = {
					NOT = {
						has_government = democratic
					}
					is_subject = yes
					exists = no
					has_civil_war = yes
					has_war_with = ROOT
					is_in_faction_with = ROOT
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			if = {
				limit = {
					FRA = {
						has_government = democratic
						is_subject = no
						exists = yes
						has_civil_war = no
						NOT = {
							has_war_with = ROOT
							is_in_faction_with = ROOT
						}
					}
				}
				FRA = {
					country_event = { id = russia2_russia.539 days = 1 }
				}
				if = {
					limit = {
						any_state = {
							is_owned_by = FRA
							is_claimed_by = ROOT
						}
					}
					custom_effect_tooltip = sov_fra_will_refuse_alliance_democratic
				}
				else_if = {
					limit = {
						FRA = {
							has_country_flag = sov_friendship_treaty_signed
						}
					}
					custom_effect_tooltip = sov_fra_will_accept_alliance_democratic
				}
			}
			if = {
				limit = {
					ENG = {
						has_government = democratic
						is_subject = no
						exists = yes
						has_civil_war = no
						NOT = {
							has_war_with = ROOT
							is_in_faction_with = ROOT
						}
					}
				}
				ENG = {
					country_event = { id = russia2_russia.539 days = 1 }
				}
				if = {
					limit = {
						any_state = {
							is_owned_by = ENG
							is_claimed_by = ROOT
						}
					}
					custom_effect_tooltip = sov_eng_will_refuse_alliance_democratic
				}
				else_if = {
					limit = {
						ENG = {
							has_country_flag = sov_friendship_treaty_signed
						}
					}
					custom_effect_tooltip = sov_eng_will_accept_alliance_democratic
				}
			}
		}
	}

	#Seek Support from the Old Russian States
	focus = {
		id = SOV_seek_support_old_russian_states
		x = 30
		y = 27
		prerequisite = { focus = SOV_help_from_abroad }
		icon = GFX_Seek_Support_from_Old_Russian_States
		cost = 4
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			is_faction_leader = yes
			any_country = {
				is_subject = no
				NOT = {
					is_in_faction_with = ROOT
				}
				OR = {
					has_country_flag = democratic_russia_chaos_europe
					has_country_flag = democratic_russia_chaos_asia
					has_country_flag = democratic_russia_chaos_caucasus
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			NOT = {
				any_country = {
					is_subject = no
					NOT = {
						is_in_faction_with = ROOT
					}
					OR = {
						has_country_flag = democratic_russia_chaos_europe
						has_country_flag = democratic_russia_chaos_asia
						has_country_flag = democratic_russia_chaos_caucasus
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_seek_support_old_russian_states_tt
			if = {
				limit = {
					any_country = {
						is_subject = no
						exists = yes
						NOT = {
							is_in_faction_with = ROOT
						}
						OR = {
							has_country_flag = democratic_russia_chaos_europe
							has_country_flag = democratic_russia_chaos_asia
							has_country_flag = democratic_russia_chaos_caucasus
						}
						OR = {
							has_government = democratic
							has_government = neutrality
						}
					}
				}
				every_other_country = {
					limit = {
						is_subject = no
						exists = yes
						NOT = {
							is_in_faction_with = ROOT
						}
						OR = {
							has_country_flag = democratic_russia_chaos_europe
							has_country_flag = democratic_russia_chaos_asia
							has_country_flag = democratic_russia_chaos_caucasus
						}
						OR = {
							has_government = democratic
							has_government = neutrality
						}
					}
					country_event = { id = russia2_russia.546 days = 1 }
				}
			}
			if = {
				limit = {
					any_country = {
						is_subject = no
						exists = yes
						NOT = {
							is_in_faction_with = ROOT
						}
						OR = {
							has_country_flag = democratic_russia_chaos_europe
							has_country_flag = democratic_russia_chaos_asia
							has_country_flag = democratic_russia_chaos_caucasus
						}
						NOT = {
							has_government = democratic
							has_government = neutrality
						}
					}
				}
				every_other_country = {
					limit = {
						is_subject = no
						exists = yes
						NOT = {
							is_in_faction_with = ROOT
						}
						OR = {
							has_country_flag = democratic_russia_chaos_europe
							has_country_flag = democratic_russia_chaos_asia
							has_country_flag = democratic_russia_chaos_caucasus
						}
						NOT = {
							has_government = democratic
							has_government = neutrality
						}
					}
					country_event = { id = russia2_russia.551 days = 1 }
				}
				custom_effect_tooltip = SOV_seek_support_old_russian_states_tt2
				hidden_effect = {
					country_event = { id = russia2_russia.552 days = 50 }
				}
			}
		}
	}

	#The Polish Buffer State
	focus = {
		id = SOV_polish_buffer_state
		x = 30
		y = 28
		prerequisite = { focus = SOV_seek_support_old_russian_states }
		icon = GFX_The_Polish_Buffer_State
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			NOT = {
				has_country_flag = sov_russian_expansion_ultimatum_poland
			}
			POL = {
				OR = {
					has_government = democratic
					has_government = neutrality
				}
				is_subject = no
				exists = yes
				has_civil_war = no
				NOT = {
					has_war_with = ROOT
					is_in_faction_with = ROOT
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			OR = {
				has_country_flag = sov_russian_expansion_ultimatum_poland
				POL = {
					OR = {
						NOT = {
							has_government = democratic
							has_government = neutrality
						}
						is_subject = yes
						exists = no
						has_civil_war = yes
						has_war_with = ROOT
						is_in_faction_with = ROOT
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			POL = {
				country_event = { id = russia2_russia.539 days = 1 }
			}
		}
	}

	#A Greater Baltic Alliance
	focus = {
		id = SOV_greater_baltic_alliance
		x = 30
		y = 29
		prerequisite = { focus = SOV_polish_buffer_state }
		icon = GFX_A_Greater_Baltic_Alliance
		cost = 6
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			any_country = {
				OR = {
					tag = LIT
					tag = LAT
					tag = EST
				}
				OR = {
					has_government = democratic
					has_government = neutrality
				}
				if = {
					limit = {
						tag = LIT
					}
					SOV = {
						NOT = {
							has_country_flag = sov_russian_expansion_ultimatum_lithuania
						}
					}
				}
				else_if = {
					limit = {
						tag = LAT
					}
					SOV = {
						NOT = {
							has_country_flag = sov_russian_expansion_ultimatum_latvia
						}
					}
				}
				else_if = {
					limit = {
						tag = EST
					}
					SOV = {
						NOT = {
							has_country_flag = sov_russian_expansion_ultimatum_estonia
						}
					}
				}
				is_subject = no
				exists = yes
				has_civil_war = no
				NOT = {
					has_war_with = ROOT
					is_in_faction_with = ROOT
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			NOT = {
				any_country = {
					OR = {
						tag = LIT
						tag = LAT
						tag = EST
					}
					OR = {
						has_government = democratic
						has_government = neutrality
					}
					if = {
						limit = {
							tag = LIT
						}
						SOV = {
							NOT = {
								has_country_flag = sov_russian_expansion_ultimatum_lithuania
							}
						}
					}
					else_if = {
						limit = {
							tag = LAT
						}
						SOV = {
							NOT = {
								has_country_flag = sov_russian_expansion_ultimatum_latvia
							}
						}
					}
					else_if = {
						limit = {
							tag = EST
						}
						SOV = {
							NOT = {
								has_country_flag = sov_russian_expansion_ultimatum_estonia
							}
						}
					}
					is_subject = no
					exists = yes
					has_civil_war = no
					NOT = {
						has_war_with = ROOT
						is_in_faction_with = ROOT
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			every_other_country = {
				limit = {
					OR = {
						tag = LIT
						tag = LAT
						tag = EST
					}
					OR = {
						has_government = democratic
						has_government = neutrality
					}
					if = {
						limit = {
							tag = LIT
						}
						SOV = {
							NOT = {
								has_country_flag = sov_russian_expansion_ultimatum_lithuania
							}
						}
					}
					else_if = {
						limit = {
							tag = LAT
						}
						SOV = {
							NOT = {
								has_country_flag = sov_russian_expansion_ultimatum_latvia
							}
						}
					}
					else_if = {
						limit = {
							tag = EST
						}
						SOV = {
							NOT = {
								has_country_flag = sov_russian_expansion_ultimatum_estonia
							}
						}
					}
					is_subject = no
					exists = yes
					has_civil_war = no
					NOT = {
						has_war_with = ROOT
						is_in_faction_with = ROOT
					}
				}
				country_event = { id = russia2_russia.539 days = 1 }
			}
		}
	}

	#The Treaty of Moscow
	focus = {
		id = SOV_treaty_moscow
		x = 28
		y = 30
		prerequisite = { focus = SOV_alliance_west }
		prerequisite = { focus = SOV_greater_baltic_alliance }
		icon = GFX_The_Treaty_of_Moscow
		cost = 6
		ai_will_do = {
			factor = 10
		}
		available = {
			always = no
			is_subject = no
			has_government = democratic
			is_major = yes
			has_global_flag = sov_national_obligations_allowed
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_GOLDEN_FOCUS FOCUS_FILTER_DEMOCRATIC_PREEMPTIVE_COUP_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = SOV_treaty_moscow_tt
			add_to_array = { sov_national_obligations_unlocked_indexes = 8 }
			set_variable = { sov_national_obligations_selected_index = 8 }
			if = {
				limit = {
					NOT = {
						has_country_flag = sov_unlocked_national_obligations
					}
				}
				set_country_flag = sov_unlocked_national_obligations
			}
            if = {
				limit = {
					NOT = {
						has_country_flag = sov_open_national_obligations
					}
				}
				set_country_flag = sov_open_national_obligations
			}
		}
	}

	#Keep Expanding the Russian Sphere
	focus = {
		id = SOV_keep_expanding_russian_sphere
		x = 34
		y = 25
		prerequisite = { focus = SOV_reunification focus = SOV_freedom_all }
		mutually_exclusive = { focus = SOV_reform_entente }
		icon = GFX_Expanding_the_Russian_Sphere
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			is_subject = no
			has_government = democratic
			date > 1939.01.01
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_ideas = SOV_Expansion_russian_sphere
			add_to_tech_sharing_group = sov_sphere_research
			custom_effect_tooltip = SOV_keep_expanding_russian_sphere_tt
			hidden_effect = {
				every_country = {
					limit = {
						is_in_faction_with = SOV
					}
					add_to_tech_sharing_group = sov_sphere_research
				}
			}
		}
	}

	#Reform the Entente
	focus = {
		id = SOV_reform_entente
		x = 38
		y = 25
		prerequisite = { focus = SOV_reunification focus = SOV_freedom_all focus = SOV_royal_orders }
		mutually_exclusive = { focus = SOV_slavic_alliance }
		mutually_exclusive = { focus = SOV_keep_expanding_russian_sphere }
		icon = GFX_Reform_Entente
		cost = 10
		ai_will_do = {
			factor = 6
			modifier = {
				add = 2
				FRA = {
					is_major = yes
					has_built = {
						type = arms_factory
						value > 50
					}
					ic_ratio = {
						tag = GER
						ratio > 0.5
					}
				}
			}
		}
		available = {
			is_subject = no
			OR = {
				has_government = democratic
				has_government = neutrality
			}
			FRA = {
				OR = {
					has_government = democratic
					has_government = neutrality
				}
				is_subject = no
				has_capitulated = no
				NOT = {
					has_war_with = ROOT
				}
			}
			date > 1939.01.01
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA }
		completion_reward = {
			if = {
				limit = {
					is_faction_leader = yes
				}
				set_faction_name = entente_reformed
			}
			else = {
				create_faction = entente_reformed
			}
			FRA = {
				country_event = { id = russia2_russia.151 days = 1 }
			}
			custom_effect_tooltip = SOV_reform_entente_tt
			hidden_effect = {
				news_event = {
					id = newsrussia2.80 days = 1
				}
			}
		}
	}

	#Deal with the Decadents
	focus = {
		id = SOV_deal_with_decadents
		x = 34
		y = 26
		prerequisite = { focus = SOV_keep_expanding_russian_sphere focus = SOV_reform_entente }
		mutually_exclusive = { focus = SOV_promote_russian_culture }
		icon = GFX_goal_generic_major_war
		cost = 5
		ai_will_do = {
			factor = 6
			modifier = {
				factor = 0
				check_variable = {
					var = stability_loss_country_refused
					value = 12
					compare = greater_than_or_equals
				}
			}
		}
		available = {
			is_subject = no
			has_government = democratic
			has_completed_focus = SOV_reunification
			any_country = {
				has_country_flag = sov_refused_reunification
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		will_lead_to_war_with = UKR
		will_lead_to_war_with = BLR
		will_lead_to_war_with = GEO
		will_lead_to_war_with = AZR
		will_lead_to_war_with = ARM
		will_lead_to_war_with = KAZ
		will_lead_to_war_with = KYR
		will_lead_to_war_with = TAJ
		will_lead_to_war_with = UZB
		will_lead_to_war_with = TMS
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_POLITICAL }
		completion_reward = {
			custom_effect_tooltip = SOV_deal_with_decadents_tt
			hidden_effect = {
				every_country = {
					limit = {
						has_country_flag = sov_refused_reunification
					}
					leave_faction = yes
					SOV = {
						set_autonomy = {
							target = PREV
							autonomy_state = autonomy_free
						}
						declare_war_on = {
							target = PREV
							type = annex_everything
						}
					}
				}
				set_temp_variable = { stability_hit = stability_loss_country_refused }
				multiply_temp_variable = { stability_hit = -0.01 }
			}
			if = {
				limit = {
					has_completed_focus = SOV_investment_russian_sphere
					has_government = democratic
				}
				custom_effect_tooltip = SOV_deal_with_decadents_tt2
				add_stability = stability_hit
			}
		}
	}

	#Promote Russian Culture
	focus = {
		id = SOV_promote_russian_culture
		x = 38
		y = 26
		prerequisite = { focus = SOV_keep_expanding_russian_sphere focus = SOV_reform_entente }
		mutually_exclusive = { focus = SOV_deal_with_decadents }
		icon = GFX_Russian_Culture
		cost = 5
		ai_will_do = {
			factor = 6
			modifier = {
				add = -2
				check_variable = {
					var = stability_loss_country_refused
					value = 12
					compare = greater_than_or_equals
				}
			}
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_promote_russian_culture_tt
			add_ideas = SOV_Promote_russian_culture
			every_country = {
				limit = {
					is_subject_of = ROOT
					has_idea = SOV_Guided_by_russia
				}
				swap_ideas = {
					remove_idea = SOV_Guided_by_russia
					add_idea = SOV_Guided_by_russia2
				}
				if = {
					limit = {
						ROOT = {
							has_completed_focus = SOV_reunification
						}
					}
					set_country_flag = russian_culture_promote
				}
			}
		}
	}

	#Russian Democracy
	focus = {
		id = SOV_russian_democracy
		x = 36
		y = 27
		prerequisite = { focus = SOV_promote_russian_culture focus = SOV_deal_with_decadents }
		icon = GFX_goal_support_democracy
		cost = 10
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_ideas = SOV_Russian_democracy
		}
	}

	#Demand the Return of our land
	focus = {
		id = SOV_demand_return_land
		x = 34
		y = 28
		prerequisite = { focus = SOV_russian_democracy }
		mutually_exclusive = { focus = SOV_compromise_strategy }
		icon = GFX_Violent_land_return
		cost = 5
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			owns_state = 213
			owns_state = 215
			owns_state = 216
			owns_state = 655
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			custom_effect_tooltip = SOV_demand_return_land_tt
			every_country = {
				limit = {
					OR = {
						owns_state = 213
						owns_state = 215
						owns_state = 216
					}
					NOT = {
						original_tag = ROOT
						is_subject_of = ROOT
					}
				}
				if = {
					limit = {
						is_subject = yes
					}
					OVERLORD = {
						country_event = { id = russia2_russia.141 days = 1 }
						custom_effect_tooltip = SOV_demand_karelia_tt
					}
				}
				else = {
					country_event = { id = russia2_russia.141 days = 1 }
				}
			}
			if = {
				limit = {
					any_country = {
						owns_state = 655
						is_subject = yes
						NOT = {
							original_tag = ROOT
							is_subject_of = ROOT
						}
					}
				}
				655 = {
					OWNER = {
						OVERLORD = {
							country_event = { id = russia2_russia.144 days = 1 }
						}
					}
				}
				custom_effect_tooltip = 655_owner_is_puppet
			}
			else_if = {
				limit = {
					any_country = {
						owns_state = 655
						is_subject = no
						NOT = {
							original_tag = ROOT
							is_subject_of = ROOT
						}
					}
				}
				655 = {
					OWNER = {
						country_event = { id = russia2_russia.144 days = 1 }
					}
				}
			}
		}
	}

	#Compromise Strategy
	focus = {
		id = SOV_compromise_strategy
		x = 38
		y = 28
		prerequisite = { focus = SOV_russian_democracy }
		mutually_exclusive = { focus = SOV_demand_return_land }
		icon = GFX_Peaceful_land_return
		cost = 5
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			owns_state = 213
			owns_state = 215
			owns_state = 216
			owns_state = 655
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			custom_effect_tooltip = SOV_compromise_strategy_tt
			every_country = {
				limit = {
					OR = {
						owns_state = 213
						owns_state = 215
						owns_state = 216
					}
					NOT = {
						original_tag = ROOT
						is_subject_of = ROOT
					}
				}
				if = {
					limit = {
						is_subject = yes
					}
					OVERLORD = {
						country_event = { id = russia2_russia.159 days = 1 }
						custom_effect_tooltip = SOV_demand_karelia_tt
					}
				}
				else = {
					country_event = { id = russia2_russia.159 days = 1 }
				}
			}
			if = {
				limit = {
					any_country = {
						owns_state = 655
						is_subject = yes
						NOT = {
							original_tag = ROOT
							is_subject_of = ROOT
						}
					}
				}
				655 = {
					OWNER = {
						OVERLORD = {
							country_event = { id = russia2_russia.163 days = 1 }
						}
					}
				}
				custom_effect_tooltip = 655_owner_is_puppet
			}
			else_if = {
				limit = {
					any_country = {
						owns_state = 655
						is_subject = no
						NOT = {
							original_tag = ROOT
							is_subject_of = ROOT
						}
					}
				}
				655 = {
					OWNER = {
						country_event = { id = russia2_russia.163 days = 1 }
					}
				}
			}
		}
	}

	#Russia can Strike Anywhere
	focus = {
		id = SOV_russia_can_strike_anywhere
		x = 34
		y = 29
		prerequisite = { focus = SOV_demand_return_land focus = SOV_compromise_strategy }
		icon = GFX_focus_secret_rearmament
		cost = 10
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA }
		completion_reward = {
			add_ideas = SOV_We_can_strike_anywhere
			add_tech_bonus = {
				name = SOV_russia_can_strike_anywhere
				bonus = 1
				uses = 1
				category = marine_tech
			}
		}
	}

	#Democracy in China
	focus = {
		id = SOV_democracy_china
		x = 38
		y = 29
		prerequisite = { focus = SOV_demand_return_land focus = SOV_compromise_strategy }
		icon = GFX_democracy_in_china_foc
		cost = 8
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			has_government = democratic
			is_faction_leader = yes
			event_target:WTT_current_china_leader = {
				OR = {
					has_government = neutrality
					has_government = democratic
				}
				is_subject = no
				is_faction_leader = no
			}
			NOT = {
				any_country = {
					has_war_with = event_target:WTT_current_china_leader
					is_major = yes
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA }
		completion_reward = {
			event_target:WTT_current_china_leader = {
				country_event = { id = russia2_china.33 days = 1 }
			}
		}
	}

	#Those Who Threaten our Democracy
	focus = {
		id = SOV_those_who_threaten_democracy
		x = 36
		y = 30
		prerequisite = { focus = SOV_russia_can_strike_anywhere focus = SOV_democracy_china }
		icon = GFX_Those_who_threaten_democracy
		cost = 10
		ai_will_do = {
			factor = 4
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_stability = 0.1
			swap_ideas = {
				remove_idea = SOV_Growing_russian_economy
				add_idea = SOV_Growing_russian_economy2
			}
			if = {
				limit = {
					ENG = {
						OR = {
							has_country_flag = cut_all_diplomatic_ties_with_sov
							has_country_flag = ENG_resists_pressure
						}
					}
				}
				custom_effect_tooltip = SOV_those_who_threaten_democracy_tt
			}
		}
	}

	#Propose Interventions
	focus = {
		id = SOV_propose_interventions
		x = 34
		y = 31
		prerequisite = { focus = SOV_those_who_threaten_democracy }
		mutually_exclusive = { focus = SOV_russia_takes_the_lead }
		icon = GFX_goal_generic_national_unity
		cost = 8
		ai_will_do = {
			factor = 4
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_stability = 0.1
			add_ideas = SOV_Joint_military_planning
			custom_effect_tooltip = SOV_propose_interventions_tt
		}
	}

	#Russia Takes the Lead
	focus = {
		id = SOV_russia_takes_the_lead
		x = 38
		y = 31
		prerequisite = { focus = SOV_those_who_threaten_democracy }
		mutually_exclusive = { focus = SOV_propose_interventions }
		icon = GFX_focus_generic_support_the_left_right
		cost = 8
		ai_will_do = {
			factor = 4
		}
		available = {
			is_subject = no
			has_government = democratic
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			add_war_support = 0.1
			add_ideas = SOV_Intervention_worldwide
		}
	}

	#Perpetual Defense of Liberty
	focus = {
		id = SOV_perpetual_defense_liberty
		x = 36
		y = 32
		prerequisite = { focus = SOV_propose_interventions focus = SOV_russia_takes_the_lead }
		icon = GFX_Defense_of_Liberty
		cost = 10
		ai_will_do = {
			factor = 6
		}
		available = {
			is_subject = no
			has_government = democratic
			date > 1940.01.01
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_perpetual_defense_liberty_tt
		}
	}

	#Russian Golden Age
	focus = {
		id = SOV_the_russian_golden_age
		x = 36
		y = 33
		prerequisite = { focus = SOV_perpetual_defense_liberty }
		icon = GFX_goal_unknown_golden
		cost = 6
		ai_will_do = {
			factor = 10
		}
		available = {
			always = no
			is_subject = no
			has_government = democratic
			is_major = yes
			has_global_flag = sov_national_obligations_allowed
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_GOLDEN_FOCUS FOCUS_FILTER_DEMOCRATIC_CONTINUE_INVESTMENTS_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = SOV_the_russian_golden_age_tt
			add_to_array = { sov_national_obligations_unlocked_indexes = 9 }
			set_variable = { sov_national_obligations_selected_index = 9 }
			if = {
				limit = {
					NOT = {
						has_country_flag = sov_unlocked_national_obligations
					}
				}
				set_country_flag = sov_unlocked_national_obligations
			}
            if = {
				limit = {
					NOT = {
						has_country_flag = sov_open_national_obligations
					}
				}
				set_country_flag = sov_open_national_obligations
			}
		}
	}

	#Rally Under Denikin's Cause
	focus = {
		id = SOV_rally_under_denikin_cause
		x = 72
		y = 14
		prerequisite = { focus = SOV_terrible_fate }
		mutually_exclusive = { focus = SOV_right_to_believe }
		icon = GFX_Denikins_Cause
		cost = 5
		ai_will_do = {
			factor = 9
			modifier = {
				add = 91
				OR = {
					has_country_flag = RUS_AI_VLADIMIR_KIRILLOVICH_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_ANASTASIA_NIKOLAEVNA_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_ANDREY_VLASOV_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_PAVEL_BERMONDT_AVALOV_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_KONSTANTIN_RODZAEVSKY_FASCIST_BEHAVIOR
					has_country_flag = RUS_AI_ANASTASY_VONSYATSKY_FASCIST_BEHAVIOR
				}
			}
			modifier = {
				factor = 0
				NOT = {
					has_country_flag = RUS_AI_VLADIMIR_KIRILLOVICH_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_ANASTASIA_NIKOLAEVNA_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_ANDREY_VLASOV_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_PAVEL_BERMONDT_AVALOV_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_KONSTANTIN_RODZAEVSKY_FASCIST_BEHAVIOR
					has_country_flag = RUS_AI_ANASTASY_VONSYATSKY_FASCIST_BEHAVIOR
					has_country_flag = RUS_AI_FULL_RANDOM_BEHAVIOR
				}
			}
		}
		available = {
			is_subject = no
			has_war = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_POLITICAL FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA }
		completion_reward = {
			remove_ideas = SOV_Unhappy_peasants1
			add_ideas = SOV_Prepare_second_war
			hidden_effect = {
				remove_ideas = SOV_Unhappy_peasants2
				remove_ideas = SOV_Unhappy_peasants3
				remove_ideas = SOV_Unhappy_peasants4
				remove_ideas = SOV_Unhappy_peasants5
				remove_ideas = SOV_Unhappy_peasants6
				if = {
					limit = {
						is_ai = yes
					}
					add_command_power = 100
				}
				for_each_scope_loop = {
					array = global.countries
					if = {
						limit = {
							exists = yes
							OR = {
								tag = GER
								tag = JAP
								tag = ITA
								tag = FRA
								tag = ENG
								tag = USA
							}
						}
						add_to_array = { global.sov_foreign_major_country = THIS }
					}
				}
			}
		}
	}

	#The Second Civil War
	focus = {
		id = SOV_second_civil_war
		x = 72
		y = 15
		prerequisite = { focus = SOV_rally_under_denikin_cause }
		icon = GFX_Second_Civil_War
		cost = 20
		ai_will_do = {
			factor = 10
			modifier = {
				add = 90
				date > 1937.01.01
			}
			modifier = {
				factor = 0
				date < 1936.05.01
			}
		}
		available = {
			is_subject = no
			has_war = no
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		select_effect = {
			activate_mission = SOV_second_civil_war_fn
			set_country_flag = second_civil_war_mission
			kievan_rus_state = yes
			set_variable = {
				var = buy_weapons_count
				value = 0
			}
			set_variable = {
				var = steal_weapons_count
				value = 0
			}
			set_variable = {
				var = buy_weapons_final_count
				value = 0
			}
			set_variable = {
				var = steal_weapons_final_count
				value = 0
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = second_civil_war_tt
			custom_effect_tooltip = second_civil_war_tt2
			custom_effect_tooltip = second_civil_war_tt3
			hidden_effect = {
				#UKR Setup
				sov_spawn_ukr_scw = yes
				#CRI Setup
				sov_spawn_cri_scw = yes
				#SOV Setup
				sov_setup_scw = yes
				sov_spawn_panzer_scw = yes
				sov_spawn_japanese_elite_scw = yes
				sov_spawn_japanese_ships_scw = yes
				sov_spawn_american_planes_scw = yes
				sov_spawn_french_equipment_scw = yes
				sov_spawn_italian_volunteers_scw = yes
				sov_spawn_english_ships_marines_scw = yes
				sov_spawn_elite_divisions_scw = yes
				#SOJ Setup
				sov_spawn_soj_scw = yes
				extra_division_soviet_russian_cw = yes
				#Other Setup
				sov_liberate_caucasus_scw = yes
				sov_liberate_central_asia_scw = yes
				sov_liberate_belarus_scw = yes
				sov_transfer_navy_scw = yes
				sov_rebalance_industry_scw = yes
				sov_transfer_baltic_puppet_scw = yes
				set_global_flag = second_russian_civil_war_started
				every_country = {
					limit = {
						has_country_flag = help_whiteguard_during_russian_civil_war
					}
					add_ideas = SOV_Participation_russian_civil_war_foreign
				}
			}
		}
	}

	#The War Against Bolshevism
	focus = {
		id = SOV_war_against_bolshevism
		x = 72
		y = 16
		prerequisite = { focus = SOV_second_civil_war }
		icon = GFX_goal_anti_comintern_pact
		cost = 5
		ai_will_do = {
			factor = 8
		}
		available = {
			has_global_flag = second_russian_civil_war_in_progress
			NOT = {
				has_global_flag = second_russian_civil_war_over
			}
			is_subject = no
			has_government = neutrality
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA FOCUS_FILTER_MANPOWER }
		completion_reward = {
			custom_effect_tooltip = SOV_war_against_bolshevism_tt
		}
	}

	#Bring Back Our Old Way of Life
	focus = {
		id = SOV_bring_back_old_life
		x = 56
		y = 16
		prerequisite = { focus = SOV_second_civil_war }
		icon = GFX_Bring_back_old_life
		cost = 5
		ai_will_do = {
			factor = 8
			modifier = {
				add = 92
				OR = {
					has_country_flag = RUS_AI_VLADIMIR_KIRILLOVICH_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_ANASTASIA_NIKOLAEVNA_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_ANDREY_VLASOV_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_PAVEL_BERMONDT_AVALOV_NEUTRALITY_BEHAVIOR
				}
			}
			modifier = {
				factor = 0
				NOT = {
					has_country_flag = RUS_AI_VLADIMIR_KIRILLOVICH_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_ANASTASIA_NIKOLAEVNA_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_ANDREY_VLASOV_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_PAVEL_BERMONDT_AVALOV_NEUTRALITY_BEHAVIOR
					has_country_flag = RUS_AI_FULL_RANDOM_BEHAVIOR
				}
			}
		}
		available = {
			NOT = {
				has_global_flag = second_russian_civil_war_in_progress
			}
			has_global_flag = second_russian_civil_war_over
			is_subject = no
			has_government = neutrality
			NOT = {
				has_completed_focus = SOV_new_way_life
			}
			NOT = {
				has_country_flag = white_guard_lost_civil_war
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA }
		completion_reward = {
			add_timed_idea = {
				idea = SOV_Old_way_life
				days = 365
			}
			hidden_effect = {
				ROOT = {
					country_event = { id = russia2_russia.210 days = 70 }
				}
			}
		}
	}

	#A Military Junta
	focus = {
		id = SOV_military_junta
		x = 56
		y = 17
		prerequisite = { focus = SOV_bring_back_old_life }
		icon = GFX_Military_Junta
		cost = 5
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			has_government = neutrality
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_ideas = SOV_Communist_resistance
			hidden_effect = {
				add_popularity = {
					ideology = communism
					popularity = 0.25
				}
				news_event = {
					id = newsrussia2.81 hours = 12
				}
			}
			set_cosmetic_tag = RPMJ
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = SOV_Vladimir_kirillovich
		}
	}

	#Rebuild the Industry
	focus = {
		id = SOV_rebuild_industry
		x = 56
		y = 18
		prerequisite = { focus = SOV_military_junta }
		icon = GFX_focus_generic_tank_production
		cost = 8
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			has_government = neutrality
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_timed_idea = {
				idea = SOV_Rebuild_industry
				days = 365
			}
		}
	}

	#Appease the Communist sympathizer
	focus = {
		id = SOV_appease_communist
		x = 54
		y = 19
		prerequisite = { focus = SOV_rebuild_industry }
		mutually_exclusive = { focus = SOV_destroy_communist }
		icon = GFX_goal_generic_military_deal
		cost = 5
		ai_will_do = {
			factor = 9
		}
		available = {
			is_subject = no
			has_government = neutrality
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
			has_country_flag = sov_monarchist_restoration_path
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA FOCUS_FILTER_POLITICAL }
		completion_reward = {
			swap_ideas = {
				remove_idea = SOV_Communist_resistance
				add_idea = SOV_Communist_resistance2
			}
			swap_ideas = {
				remove_idea = SOV_Political_Unstability
				add_idea = SOV_Political_Unstability2
			}
			custom_effect_tooltip = SOV_appease_communist_tt
		}
	}

	#Destroy Communist Resistance
	focus = { #TODO I am Here
		id = SOV_destroy_communist
		x = 58
		y = 19
		prerequisite = { focus = SOV_rebuild_industry }
		mutually_exclusive = { focus = SOV_appease_communist }
		icon = GFX_goal_anti_comintern_pact
		cost = 5
		ai_will_do = {
			factor = 9
		}
		available = {
			is_subject = no
			has_government = neutrality
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
			has_country_flag = sov_military_junta_leader
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA }
		completion_reward = {
			swap_ideas = {
				remove_idea = SOV_Communist_resistance
				add_idea = SOV_Communist_resistance3
			}
			swap_ideas = {
				remove_idea = SOV_Political_Unstability
				add_idea = SOV_Political_Unstability2
			}
			custom_effect_tooltip = SOV_destroy_communist_tt
			hidden_effect = {
				SOV = { #Here
					remove_state_core = 223
					remove_state_core = 222
					remove_state_core = 220
					remove_state_core = 240
					remove_state_core = 260
					remove_state_core = 258
					remove_state_core = 257
					remove_state_core = 255
					remove_state_core = 254
					set_country_flag = central_russia_claims
					remove_state_core = 218
					remove_state_core = 234
					remove_state_core = 235
					remove_state_core = 232
					remove_state_core = 238
					remove_state_core = 237
					remove_state_core = 236
					set_country_flag = kuban_region_claims
					remove_state_core = 250
					remove_state_core = 256
					remove_state_core = 249
					remove_state_core = 400
					remove_state_core = 399
					remove_state_core = 651
					remove_state_core = 398
					remove_state_core = 833
					set_country_flag = transvolga_region_claims
					remove_state_core = 582
					remove_state_core = 573
					set_country_flag = urals_region_claims
					remove_state_core = 351
					remove_state_core = 262
					remove_state_core = 397
					remove_state_core = 215
					remove_state_core = 213
					remove_state_core = 214
					remove_state_core = 581
					remove_state_core = 825
					remove_state_core = 879
					remove_state_core = 880
					set_country_flag = artic_region_claims
					remove_state_core = 579
					remove_state_core = 580
					remove_state_core = 653
					remove_state_core = 572
					remove_state_core = 403
					remove_state_core = 571
					remove_state_core = 570
					remove_state_core = 40
					remove_state_core = 654
					remove_state_core = 569
					remove_state_core = 578
					remove_state_core = 577
					remove_state_core = 824
					remove_state_core = 516
					remove_state_core = 568
					remove_state_core = 576
					remove_state_core = 567
					remove_state_core = 566
					remove_state_core = 564
					remove_state_core = 575
					remove_state_core = 565
					remove_state_core = 563
					remove_state_core = 878
					remove_state_core = 876
					set_country_flag = siberia_region_claims
					remove_state_core = 210
					remove_state_core = 246
					remove_state_core = 247
					remove_state_core = 209
					remove_state_core = 263
					remove_state_core = 264
					remove_state_core = 244
					remove_state_core = 208
					remove_state_core = 216
					set_country_flag = novgorod_region_claims
				}
			}
			set_variable = {
				var = recon_team_central_russia_variables
				value = 0
			}
			randomize_variable = {
				var = recon_team_central_russia_variables
				distribution = uniform
				min = recon_team_central_russia_variables
				max = 100
			}
			set_variable = {
				var = recon_team_kuban_region_variables
				value = 0
			}
			randomize_variable = {
				var = recon_team_kuban_region_variables
				distribution = uniform
				min = recon_team_kuban_region_variables
				max = 100
			}
			set_variable = {
				var = recon_team_transvolga_region_variables
				value = 0
			}
			randomize_variable = {
				var = recon_team_transvolga_region_variables
				distribution = uniform
				min = recon_team_transvolga_region_variables
				max = 100
			}
			set_variable = {
				var = recon_team_urals_region_variables
				value = 0
			}
			randomize_variable = {
				var = recon_team_urals_region_variables
				distribution = uniform
				min = recon_team_urals_region_variables
				max = 100
			}
			set_variable = {
				var = recon_team_artic_region_variables
				value = 0
			}
			randomize_variable = {
				var = recon_team_artic_region_variables
				distribution = uniform
				min = recon_team_artic_region_variables
				max = 100
			}
			set_variable = {
				var = recon_team_siberia_region_variables
				value = 0
			}
			randomize_variable = {
				var = recon_team_siberia_region_variables
				distribution = uniform
				min = recon_team_siberia_region_variables
				max = 100
			}
			set_variable = {
				var = recon_team_novgorod_region_variables
				value = 0
			}
			randomize_variable = {
				var = recon_team_novgorod_region_variables
				distribution = uniform
				min = recon_team_novgorod_region_variables
				max = 100
			}
		}
	}

	#Restoration of the Tsar
	focus = {
		id = SOV_restoration_tsar
		x = 50
		y = 20
		prerequisite = { focus = SOV_appease_communist }
		icon = GFX_Russian_Tsar
		cost = 8
		ai_will_do = {
			factor = 9
			modifier = {
				factor = 0
				OR = {
					has_idea = SOV_Communist_resistance
					has_idea = SOV_Communist_resistance2
					has_idea = SOV_Communist_resistance3
					has_idea = SOV_Communist_resistance4
					has_idea = SOV_Communist_resistance5
					has_idea = SOV_Communist_resistance6
					has_idea = SOV_Communist_resistance7
				}
			}
		}
		available = {
			is_subject = no
			has_government = neutrality
			neutrality > 0.4
			has_country_flag = sov_monarchist_restoration_path
			NOT = {
				has_completed_focus = SOV_firm_hand
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA FOCUS_FILTER_STABILITY }
		completion_reward = {
			if = {
				limit = {
					ROOT = {
						OR = {
							has_idea = SOV_Communist_resistance
							has_idea = SOV_Communist_resistance2
							has_idea = SOV_Communist_resistance3
							has_idea = SOV_Communist_resistance4
							has_idea = SOV_Communist_resistance5
							has_idea = SOV_Communist_resistance6
							has_idea = SOV_Communist_resistance7
						}
					}
				}
				custom_effect_tooltip = SOV_restoration_tsar_tt
				set_temp_variable = { communist_resistance_penalty = party_popularity@communism }
				multiply_temp_variable = { communist_resistance_penalty = -1 }
				add_stability = communist_resistance_penalty
				remove_ideas = SOV_Communist_resistance2
				hidden_effect = {
					remove_ideas = SOV_Communist_resistance4
					remove_ideas = SOV_Communist_resistance5
					remove_ideas = SOV_Communist_resistance6
					remove_ideas = SOV_Communist_resistance7
				}
			}
			hidden_effect = {
				retire_country_leader = yes
				news_event = {
					id = newsrussia2.82 hours = 12
				}
			}
			set_party_name = {
				ideology = neutrality
				long_name = SOV_house_romanov_long
				name = SOV_house_romanov
			}
			if = {
				limit = {
					has_country_flag = sov_old_tsar_still_alive
				}
				set_country_flag = kirill_vladimirovich_is_country_leader_for_a_year
				add_country_leader_role = {
					character = SOV_Kirill_vladimirovich
					promote_leader = yes
					country_leader = {
						desc = SOV_Kirill_vladimirovich_desc
						ideology = despotism
						expire = "1965.1.1.1"
						traits = {
							russia2_proclaimed_tsar
							russia2_naval_career
						}
					}
				}
			}
			else = {
				add_country_leader_role = {
					character = SOV_Vladimir_kirillovich
					promote_leader = yes
					country_leader = {
						desc = SOV_Vladimir_kirillovich_desc
						ideology = despotism
						expire = "1965.1.1.1"
						traits = {
							russia2_heir_of_the_tsar
						}
					}
				}
			}
			set_cosmetic_tag = RUSSIA
			add_ideas = SOV_Tsar_we_trust
			remove_ideas = SOV_Political_Unstability2
			if = {
				limit = {
					any_country = {
						is_subject_of = SOV
						NOT = {
							has_autonomy_state = autonomy_imperial_governorates
						}
					}
				}
				every_country = {
					limit = {
						is_subject_of = SOV
						NOT = {
							has_autonomy_state = autonomy_imperial_governorates
						}
					}
					hidden_effect = {
						SOV = {
							set_autonomy = {
							    target = PREV
								autonomy_state = autonomy_imperial_governorates
							}
						}
					}
					custom_effect_tooltip = SOV_restoration_tsar_tt2
				}
			}
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				mio:SOV_nevskoye_design_bureau_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.1
				}
			}
			else = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = russia2_nevskoye_design_bureau
			}
			if = {
				limit = {
					OR = {
						has_country_flag = japan_accept_to_help_give_russian_far_east
						has_country_flag = has_negotiated_with_germany_ressource_rights
						has_country_flag = accept_american_occupation_siberia_after_cw
						has_country_flag = accept_french_factories_after_cw
						has_country_flag = accept_diplomatic_relation_with_italy
						has_country_flag = accept_english_help_for_shipment
					}
				}
				custom_effect_tooltip = SOV_renegotiate_deals_civil_war_tt_unlocker
			}
		}
	}

	#A Firm Hand
	focus = {
		id = SOV_firm_hand
		x = 62
		y = 20
		prerequisite = { focus = SOV_destroy_communist }
		icon = GFX_Firm_Hand
		cost = 8
		ai_will_do = {
			factor = 9
			modifier = {
				factor = 0
				OR = {
					has_idea = SOV_Communist_resistance
					has_idea = SOV_Communist_resistance2
					has_idea = SOV_Communist_resistance3
					has_idea = SOV_Communist_resistance4
					has_idea = SOV_Communist_resistance5
					has_idea = SOV_Communist_resistance6
					has_idea = SOV_Communist_resistance7
				}
			}
		}
		available = {
			is_subject = no
			has_government = neutrality
			neutrality > 0.4
			has_country_flag = sov_military_junta_leader
			NOT = {
				has_completed_focus = SOV_restoration_tsar
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA }
		completion_reward = {
			if = {
				limit = {
					ROOT = {
						OR = {
							has_idea = SOV_Communist_resistance
							has_idea = SOV_Communist_resistance2
							has_idea = SOV_Communist_resistance3
							has_idea = SOV_Communist_resistance4
							has_idea = SOV_Communist_resistance5
							has_idea = SOV_Communist_resistance6
							has_idea = SOV_Communist_resistance7
						}
					}
				}
				custom_effect_tooltip = SOV_restoration_tsar_tt
				set_temp_variable = { communist_resistance_penalty = party_popularity@communism }
				multiply_temp_variable = { communist_resistance_penalty = -1 }
				add_stability = communist_resistance_penalty
				remove_ideas = SOV_Communist_resistance2
				hidden_effect = {
					remove_ideas = SOV_Communist_resistance4
					remove_ideas = SOV_Communist_resistance5
					remove_ideas = SOV_Communist_resistance6
					remove_ideas = SOV_Communist_resistance7
				}
			}
			hidden_effect = {
				retire_country_leader = yes
				news_event = {
					id = newsrussia2.83 hours = 12
				}
				country_event = { id = russia2_russia.519 days = 80 }
			}
			set_party_name = {
				ideology = neutrality
				long_name = SOV_russian_national_party_long
				name = SOV_russian_national_party
			}
			add_country_leader_role = {
				character = SOV_Andrey_vlasov
				promote_leader = yes
				country_leader = {
					desc = SOV_Andrey_vlasov_desc
					ideology = military_junta_russia
					expire = "1965.1.1.1"
					traits = {
						russia2_firm_grip
						russia2_military_connected
					}
				}
			}
			set_cosmetic_tag = NRG
			add_ideas = SOV_Denikin_trust
			remove_ideas = SOV_Political_Unstability2
			if = {
				limit = {
					NOT = {
						is_faction_leader = yes
					}
				}
				create_faction = moscow_pact
			}
			set_variable = { transfer_power_pavel_factor = 0 }
			set_country_flag = andrey_vlasov_in_power_count
			if = {
				limit = {
					OR = {
						has_country_flag = japan_accept_to_help_give_russian_far_east
						has_country_flag = has_negotiated_with_germany_ressource_rights
						has_country_flag = accept_american_occupation_siberia_after_cw
						has_country_flag = accept_french_factories_after_cw
						has_country_flag = accept_diplomatic_relation_with_italy
						has_country_flag = accept_english_help_for_shipment
					}
				}
				custom_effect_tooltip = SOV_renegotiate_deals_civil_war_tt_unlocker
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = SOV_Andrey_vlasov
		}
	}

	#Buying Equipment
	focus = {
		id = SOV_buying_equipment
		x = 58
		y = 20
		prerequisite = { focus = SOV_destroy_communist }
		icon = GFX_Foreign_equipment
		cost = 8
		ai_will_do = {
			factor = 6
			modifier = {
				add = 2
				stockpile_ratio = {
					archetype = infantry_equipment
					ratio < 0.5
				}
			}
		}
		available = {
			is_subject = no
			has_government = neutrality
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_buying_equipment_tt
			custom_effect_tooltip = SOV_buying_equipment_decision_tt
		}
	}

	#Reintegrate Lost States
	focus = {
		id = SOV_reintegrate_lost_state
		x = 56
		y = 21
		prerequisite = { focus = SOV_firm_hand focus = SOV_restoration_tsar }
		icon = GFX_Reintegrate_lost_state
		cost = 10
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			has_government = neutrality
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			NOT = {
				country_exists = UKR
				country_exists = BLR
				country_exists = KAZ
				country_exists = TMS
				country_exists = GEO
				country_exists = AZR
				country_exists = ARM
				country_exists = CRI
			}
			ukr_core_is_core_of_sov = yes
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			custom_effect_tooltip = SOV_reintegrate_lost_state_tt
			if = {
				limit = {
					has_country_flag = sympathize_with_ukraine
					has_country_flag = russia_ukraine_accept_neutrality_scw
				}
				set_variable = {
					var = stability_hit_ukraine
					value = -5
				}
			}
			else = {
				set_variable = {
					var = stability_hit_ukraine
					value = -10
				}
			}
			if = {
				limit = {
					country_exists = UKR
				}
				if = {
					limit = {
						has_completed_focus = SOV_restoration_tsar
					}
					country_event = { id = russia2_russia.634 hours = 3 }
				}
				else = {
					UKR = {
						country_event = { id = russia2_russia.213 hours = 3 }
					}
				}
				custom_effect_tooltip = ukraine_core_lost_state
				hidden_effect = {
					every_state = {
						limit = {
							is_owned_and_controlled_by = UKR
							is_core_of = UKR
							NOT = {
								is_owned_and_controlled_by = POL
							}
						}
						add_core_of = SOV
					}
				}
			}
			if = {
				limit = {
					ukr_core_is_core_of_sov = no
					NOT = {
						country_exists = UKR
					}
				}
				custom_effect_tooltip = ukraine_core_lost_state
				every_state = {
					limit = {
						is_core_of = UKR
						NOT = {
							is_core_of = POL
						}
					}
					SOV = {
						add_state_core = PREV
					}
				}
			}
			if = {
				limit = {
					has_country_flag = control_caucasus
				}
				GEO = {
					country_event = { id = russia2_russia.216 hours = 3 }
				}
				AZR = {
					country_event = { id = russia2_russia.216 hours = 3 }
				}
				ARM = {
					country_event = { id = russia2_russia.216 hours = 3 }
				}
				custom_effect_tooltip = caucasian_core_lost_state
				hidden_effect = {
					every_state = {
						limit = {
							OR = {
								is_core_of = GEO
								is_core_of = AZR
								is_core_of = ARM
							}
						}
						add_core_of = SOV
					}
					set_variable = {
						var = stability_hit_georgia
						value = -5
					}
					set_variable = {
						var = stability_hit_azr
						value = -5
					}
					set_variable = {
						var = stability_hit_armenia
						value = -5
					}
				}
			}
			if = {
				limit = {
					has_country_flag = control_central_asia
				}
				KAZ = {
					country_event = { id = russia2_russia.216 hours = 3 }
				}
				TMS = {
					country_event = { id = russia2_russia.216 hours = 3 }
				}
				custom_effect_tooltip = central_asia_core_lost_state
				hidden_effect = {
					every_state = {
						limit = {
							OR = {
								is_core_of = KAZ
								is_owned_and_controlled_by = KAZ
								is_core_of = TMS
								is_owned_and_controlled_by = TMS
							}
						}
						add_core_of = SOV
					}
					set_variable = {
						var = stability_hit_kaz
						value = -5
					}
					set_variable = {
						var = stability_hit_tms
						value = -5
					}
				}
			}
			if = {
				limit = {
					has_country_flag = control_belarus
				}
				BLR = {
					country_event = { id = russia2_russia.216 hours = 3 }
				}
				custom_effect_tooltip = belarus_core_lost_state
				hidden_effect = {
					every_state = {
						limit = {
							is_owned_and_controlled_by = BLR
							is_core_of = BLR
						}
						add_core_of = SOV
					}
					set_variable = {
						var = stability_hit_belarus
						value = -5
					}
				}
			}
			if = {
				limit = {
					country_exists = CRI
				}
				CRI = {
					country_event = { id = russia2_russia.216 hours = 3 }
				}
				hidden_effect = {
					every_state = {
						limit = {
							is_owned_and_controlled_by = CRI
							is_core_of = CRI
						}
						add_core_of = SOV
					}
					set_variable = {
						var = stability_hit_crimea
						value = -5
					}
				}
			}
			if = {
				limit = {
					has_completed_focus = SOV_destroy_communist
				}
				add_political_power = 100
			}
			else_if = {
				limit = {
					has_completed_focus = SOV_appease_communist
				}
				add_political_power = 50
			}
			hidden_effect = {
				news_event = {
					id = newsrussia2.84 hours = 12
				}
			}
		}
	}

	#Reconciliation With Our Old Enemy
	focus = {
		id = SOV_reconciliation_old_enemy
		x = 54
		y = 20
		prerequisite = { focus = SOV_appease_communist }
		icon = GFX_goal_generic_national_unity
		cost = 8
		ai_will_do = {
			factor = 7
			modifier = {
				add = 50
				has_idea = SOV_Communist_resistance2
			}
		}
		available = {
			is_subject = no
			has_government = neutrality
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_political_power = 50
			add_timed_idea = {
				idea = SOV_Concessions_communist
				days = 365
			}
			hidden_effect = {
				if = {
					limit = {
						is_ai = yes
					}
					add_political_power = 50
				}
			}
		}
	}

	#Restoration of the Orthodox Church
	focus = {
		id = SOV_restoration_orthodox_church
		x = 44
		y = 21
		prerequisite = { focus = SOV_restoration_tsar }
		icon = GFX_Orthodox_Church
		cost = 10
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = neutrality
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			country_event = { id = russia2_russia.198 days = 1 }
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = SOV_Peter_krutitsy
		}
	}

	#Religious Freedom
	focus = {
		id = SOV_religious_freedom
		x = 43
		y = 22
		prerequisite = { focus = SOV_restoration_orthodox_church }
		mutually_exclusive = { focus = SOV_orthodox_majority }
		icon = GFX_Freedom_religion
		cost = 5
		ai_will_do = {
			factor = 3
		}
		available = {
			is_subject = no
			has_government = neutrality
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_ideas = SOV_Freedom_religion
		}
	}

	#Orthodox Majority
	focus = {
		id = SOV_orthodox_majority
		x = 45
		y = 22
		prerequisite = { focus = SOV_restoration_orthodox_church }
		mutually_exclusive = { focus = SOV_religious_freedom }
		icon = GFX_Orthodox_majority
		cost = 5
		ai_will_do = {
			factor = 3
		}
		available = {
			is_subject = no
			has_government = neutrality
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			add_ideas = SOV_Orthodox_priority
		}
	}

	#Control the Church
	focus = {
		id = SOV_control_church
		x = 72
		y = 21
		prerequisite = { focus = SOV_firm_hand focus = SOV_the_lawyer_remains }
		icon = GFX_Control_Church
		cost = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			OR = {
				has_government = neutrality
				has_government = fascism
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
		completion_reward = {
			custom_effect_tooltip = SOV_Church_power_idead_tt
			hidden_effect = {
				add_ideas = SOV_Church_power
				add_dynamic_modifier = { modifier = church_power_control_modifiers }
			}
			set_variable = {
				var = reform_church_control
				val = 0
			}
			custom_effect_tooltip = SOV_control_church_tt
			add_political_power = 75
		}
	}

	#Assert Our Dominance
	focus = {
		id = SOV_assert_dominance
		x = 62
		y = 22
		prerequisite = { focus = SOV_firm_hand }
		prerequisite = { focus = SOV_reintegrate_lost_state }
		icon = GFX_Assert_dominance
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			is_subject = no
			has_government = neutrality
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Asserting_dominance
		}
	}

	#Announce Our Ambitions
	focus = {
		id = SOV_announce_our_ambitions
		x = 62
		y = 23
		prerequisite = { focus = SOV_assert_dominance }
		icon = GFX_focus_generic_strike_at_democracy1
		cost = 2
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = neutrality
			is_major = yes
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			hidden_effect = {
				every_state = {
					if = {
						limit = {
							OR = {
								state = 89
								state = 91
								state = 93
								state = 94
								state = 95
								state = 96
								state = 97
								state = 92
								state = 88
								state = 90
								state = 10
								state = 98
								state = 87
								state = 70
								state = 71
								state = 72
								state = 73
								state = 664
								state = 211
								state = 212
								state = 48
								state = 801
								state = 802
								state = 803
								state = 804
								state = 106
								state = 107
								state = 108
								state = 764
								state = 45
								state = 109
								state = 104
								state = 103
								state = 102
								state = 105
								state = 853
								state = 970
								state = 972
							}
						}
						set_state_flag = SOV_slavic_states
						ROOT = {
							add_state_claim = PREV
						}
					}
					else_if = {
						limit = {
							OR = {
								state = 784
								state = 11
								state = 814
								state = 815
								state = 189
								state = 809
								state = 808
								state = 810
								state = 12
								state = 190
								state = 191
								state = 13
								state = 811
								state = 812
								state = 813
							}
						}
						set_state_flag = SOV_baltic_states_slav
						ROOT = {
							add_state_claim = PREV
						}
					}
					else_if = {
						limit = {
							OR = {
								state = 75
								state = 74
								state = 9
								state = 69
							}
						}
						set_state_flag = SOV_czech_slavic_states
					}
					else_if = {
						limit = {
							OR = {
								state = 86
								state = 85
								state = 807
								state = 762
								state = 188
							}
						}
						set_state_flag = SOV_german_slavic_state
					}
				}
				news_event = {
					id = newsrussia2.104 days = 1
				}
			}
			custom_effect_tooltip = SOV_announce_our_ambitions_tt
		}
	}

	#Unite Slavic Nations
	focus = {
		id = SOV_unite_slavic_nations
		x = 62
		y = 24
		prerequisite = { focus = SOV_announce_our_ambitions }
		icon = GFX_slavic_ulitmatum_poland_unite
		cost = 8
		ai_will_do = {
			factor = 2
			modifier = {
				add = 6
				surrender_progress < 0.05
				num_divisions > 200
				date > 1940.01.01
			}
		}
		available = {
			is_subject = no
			has_government = neutrality
			is_major = yes
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			if = {
				limit = {
					any_state = {
						has_state_flag = SOV_slavic_states
					}
				}
				custom_trigger_tooltip = {
					tooltip = SOV_unite_slavic_nations_tt
					NOT = {
						any_state = {
							NOT = {
								is_controlled_by = ROOT
							}
							has_state_flag = SOV_slavic_states
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_ANNEXATION }
		will_lead_to_war_with = CZE
		will_lead_to_war_with = YUG
		will_lead_to_war_with = ROM
		will_lead_to_war_with = HUN
		will_lead_to_war_with = POL
		will_lead_to_war_with = BUL
		will_lead_to_war_with = GER
		completion_reward = {
			custom_effect_tooltip = unlock_unite_slavic_nation_decision
			custom_effect_tooltip = unlock_unite_slavic_nation_poland_decision
			custom_effect_tooltip = not_able_to_continue_unitl_cored_poland
			set_country_flag = is_focusing_on_area_slavic_state
			hidden_effect = {
				news_event = {
					id = newsrussia2.105 days = 1
				}
			}
		}
	}

	#German-Russian Pact
	focus = {
		id = SOV_german_russian_pact
		x = 69
		y = 24
		prerequisite = { focus = SOV_announce_our_ambitions }
		mutually_exclusive = { focus = SOV_unthinkable_alliance }
		icon = GFX_Russo_German_alliance
		cost = 8
		ai_will_do = {
			factor = 3
			modifier = {
				add = 3
				OR = {
					ic_ratio = {
						tag = GER
						ratio < 0.75
					}
					strength_ratio = {
						tag = GER
						ratio < 0.75
					}
				}
			}
		}
		available = {
			is_subject = no
			has_government = neutrality
			GER = {
				NOT = {
					has_government = democratic
					has_government = communism
					has_war_with = SOV
				}
				is_subject = no
			}
			custom_trigger_tooltip = {
				tooltip = german_russian_pact_tt_slo
				OR = {
					OR = {
						664 = {
							is_controlled_by = GER
						}
						any_country = {
							is_subject_of = GER
							controls_state = 664
						}
					}
					OR = {
						70 = {
							is_controlled_by = GER
						}
						any_country = {
							is_subject_of = GER
							controls_state = 70
						}
					}
					OR = {
						71 = {
							is_controlled_by = GER
						}
						any_country = {
							is_subject_of = GER
							controls_state = 71
						}
					}
					OR = {
						72 = {
							is_controlled_by = GER
						}
						any_country = {
							is_subject_of = GER
							controls_state = 72
						}
					}
					OR = {
						73 = {
							is_controlled_by = GER
						}
						any_country = {
							is_subject_of = GER
							controls_state = 73
						}
					}
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			GER = {
				country_event = { id = russia2_germany.3 days = 1 }
			}
		}
	}

	#Alliance With Germany
	focus = {
		id = SOV_alliance_with_germany_junta
		x = 68
		y = 25
		prerequisite = { focus = SOV_german_russian_pact }
		mutually_exclusive = { focus = SOV_betray_germany }
		icon = GFX_Enemy_of_our_enemies
		cost = 8
		ai_will_do = {
			factor = 2
			modifier = {
				add = 4
				AND = {
					ic_ratio = {
						tag = GER
						ratio < 0.75
					}
					strength_ratio = {
						tag = GER
						ratio < 0.75
					}
				}
			}
		}
		available = {
			is_subject = no
			has_government = neutrality
			GER = {
				NOT = {
					has_war_with = ROOT
				}
				OR = {
					has_government = fascism
					has_government = neutrality
				}
			}
			NOT = {
				FRA = {
					has_country_flag = signed_slavic_pact
				}
			}
			has_country_flag = germany_accpet_german_russo_pact
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = unstable_alliance_only_for_war_junta
			GER = {
				country_event = { id = russia2_germany.6 days = 1 }
			}
		}
	}

	#Betray Germany
	focus = {
		id = SOV_betray_germany
		x = 70
		y = 25
		prerequisite = { focus = SOV_german_russian_pact }
		mutually_exclusive = { focus = SOV_alliance_with_germany_junta }
		icon = GFX_focus_attack_germany
		cost = 5
		ai_will_do = {
			factor = 2
			modifier = {
				add = 6
				OR = {
					ic_ratio = {
						tag = GER
						ratio > 1
					}
					strength_ratio = {
						tag = GER
						ratio > 1
					}
				}
			}
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_betray_germany_tt
				any_state = {
					is_controlled_by = GER
					OR = {
						has_state_flag = SOV_slavic_states
						has_state_flag = SOV_czech_slavic_states
					}
				}
			}
			is_subject = no
			has_government = neutrality
			GER = {
				NOT = {
					has_war_with = SOV
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_ANNEXATION }
		will_lead_to_war_with = GER
		completion_reward = {
			GER = {
				country_event = { id = russia2_germany.9 days = 1 }
			}
			custom_effect_tooltip = SOV_betray_germany_effect_tt
			hidden_effect = {
				news_event = {
					id = newsrussia2.109 days = 5
				}
			}
		}
	}

	#The Unthinkable Alliance
	focus = {
		id = SOV_unthinkable_alliance
		x = 74
		y = 24
		prerequisite = { focus = SOV_announce_our_ambitions focus = SOV_a_tragedy }
		mutually_exclusive = { focus = SOV_german_russian_pact }
		icon = GFX_Russian_Japanese_alliance
		cost = 8
		ai_will_do = {
			factor = 2
			modifier = {
				add = 5
				JAP = {
					OR = {
						has_government = neutrality
						num_divisions > 150
						ic_ratio = {
							tag = SOV
							ratio > 0.65
						}
					}
					NOT = {
						has_war_with = USA
					}
				}
			}
		}
		available = {
			is_subject = no
			OR = {
				has_government = neutrality
				has_government = fascism
			}
			NOT = {
				has_war_with = JAP
				has_country_flag = no_alliance_with_china
			}
			JAP = {
				is_subject = no
				NOT = {
					has_government = democratic
					has_government = communism
				}
			}
			if = {
				limit = {
					has_government = fascism
				}
				OR = {
					has_idea = SOV_Alliance_with_asia
					has_idea = SOV_Closed_alliance
				}
				NOT = {
					has_idea = SOV_Anti_japanese_sentiment
					has_country_flag = SOV_fascist_focus_on_asia
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA }
		completion_reward = {
			JAP = {
				country_event = { id = russia2_japan.11 days = 1 }
			}
			if = {
				limit = {
					has_completed_focus = SOV_firm_hand
				}
				custom_effect_tooltip = SOV_unthinkable_alliance_tt
			}
		}
	}

	#Cooperation with the Japanese Military
	focus = {
		id = SOV_cooperation_japanese_military
		x = 73
		y = 25
		prerequisite = { focus = SOV_unthinkable_alliance }
		mutually_exclusive = { focus = SOV_economic_cooperation_japan }
		icon = GFX_focus_generic_japanese_imperial_glory
		cost = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			is_in_faction_with = JAP
			OR = {
				has_government = neutrality
				has_government = fascism
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_cooperation_japanese_military_tt
			show_ideas_tooltip = SOV_Russian_japan_mil_coop
			hidden_effect = {
				add_ideas = SOV_Russian_japan_mil_coop
				JAP = {
					add_ideas = SOV_Russian_japan_mil_coop
				}
			}
			hidden_effect = {
				set_rule = {
					can_use_kamikaze_pilots = yes
				}
			}
			custom_effect_tooltip = kamikaze_focus_tooltip
		}
	}

	#Close Cooperation with the Kenpeitai
	focus = {
		id = SOV_close_cooperation_kenpeitai
		x = 73
		y = 26
		prerequisite = { focus = SOV_cooperation_japanese_military }
		icon = GFX_goal_generic_intelligence_exchange
		cost = 10
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			is_in_faction_with = JAP
			OR = {
				has_government = neutrality
				has_government = fascism
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_cooperation_japanese_military_tt
			show_ideas_tooltip = SOV_Russian_japan_agency_coop
			hidden_effect = {
				add_ideas = SOV_Russian_japan_agency_coop
				JAP = {
					add_ideas = SOV_Russian_japan_agency_coop
				}
			}
			custom_effect_tooltip = unlock_special_ability_russia
		}
	}

	#Economic Cooperation with Japan
	focus = {
		id = SOV_economic_cooperation_japan
		x = 75
		y = 25
		prerequisite = { focus = SOV_unthinkable_alliance }
		mutually_exclusive = { focus = SOV_cooperation_japanese_military }
		icon = GFX_focus_generic_treaty
		cost = 8
		ai_will_do = {
			factor = 4
		}
		available = {
			is_subject = no
			is_in_faction_with = JAP
			OR = {
				has_government = neutrality
				has_government = fascism
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_economic_cooperation_japan_tt
			show_ideas_tooltip = SOV_Russian_japan_industry_coop
			hidden_effect = {
				add_ideas = SOV_Russian_japan_industry_coop
				JAP = {
					add_ideas = SOV_Russian_japan_industry_coop
				}
			}
		}
	}

	#Joint Research Cooperation
	focus = {
		id = SOV_joint_research_cooperation_japan
		x = 75
		y = 26
		prerequisite = { focus = SOV_economic_cooperation_japan }
		icon = GFX_goal_generic_scientific_exchange
		cost = 10
		ai_will_do = {
			factor = 4
		}
		available = {
			is_subject = no
			is_in_faction_with = JAP
			OR = {
				has_government = neutrality
				has_government = fascism
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			custom_effect_tooltip = SOV_joint_research_cooperation_japan_tt
			show_ideas_tooltip = SOV_Russian_japan_research_coop
			custom_effect_tooltip = SOV_joint_research_cooperation_japan_tt2
			hidden_effect = {
				add_ideas = SOV_Russian_japan_research_coop
				JAP = {
					add_ideas = SOV_Russian_japan_research_coop
				}
				add_to_tech_sharing_group = sov_jap_research_treaty
				JAP = {
					add_to_tech_sharing_group = sov_jap_research_treaty
				}
				every_country = {
					limit = {
						is_in_faction_with = SOV
					}
					add_to_tech_sharing_group = sov_jap_research_treaty
				}
			}
		}
	}

	#Japanese Trust
	focus = {
		id = SOV_japanese_trust
		x = 74
		y = 27
		prerequisite = { focus = SOV_joint_research_cooperation_japan focus = SOV_close_cooperation_kenpeitai }
		icon = GFX_Japanese_friendship
		cost = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			is_in_faction_with = JAP
			OR = {
				has_government = neutrality
				has_government = fascism
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA }
		completion_reward = {
			if = {
				limit = {
					has_completed_focus = SOV_firm_hand
				}
				remove_ideas = SOV_Japanese_concession
				JAP = {
					remove_ideas = SOV_Russian_concession_jap
				}
			}
			else_if = {
				limit = {
					has_country_leader = {
						character = SOV_konstantin_rodzayevsky
						ruling_only = yes
					}
				}
				custom_effect_tooltip = SOV_japanese_trust_japan_tt
				show_ideas_tooltip = SOV_Japanese_friendship
				hidden_effect = {
					add_ideas = SOV_Japanese_friendship
					JAP = {
						add_ideas = SOV_Japanese_friendship
					}
				}
			}
			else = {
				custom_effect_tooltip = SOV_japanese_trust_tt_2
			}
		}
	}

	#Stance on the Sino-Japanese Conflict
	focus = {
		id = SOV_stance_sino_japan_conflict
		x = 77
		y = 25
		prerequisite = { focus = SOV_unthinkable_alliance }
		icon = GFX_focus_attack_china
		cost = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = fascism
			is_in_faction_with = JAP
			country_exists = event_target:WTT_current_china_leader
			NOT = {
				has_war_with = event_target:WTT_current_china_leader
				is_in_faction_with = event_target:WTT_current_china_leader
				event_target:WTT_current_china_leader = {
					is_subject_of = SOV
					is_subject_of = JAP
				}
				has_country_flag = no_alliance_with_china
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_ANNEXATION }
		will_lead_to_war_with = CHI
		will_lead_to_war_with = PRC
		will_lead_to_war_with = SHX
		will_lead_to_war_with = XSM
		will_lead_to_war_with = SIK
		will_lead_to_war_with = TIB
		will_lead_to_war_with = YUN
		will_lead_to_war_with = GXC
		completion_reward = {
			custom_effect_tooltip = SOV_stance_sino_japan_conflict_tt
			country_event = { id = russia2_china.1 days = 1 }
		}
	}

	#Friendship Treaty With China
	focus = {
		id = SOV_friendship_treaty_china
		x = 77
		y = 26
		prerequisite = { focus = SOV_stance_sino_japan_conflict }
		icon = GFX_focus_chi_cooperation_with_the_nationalists
		cost = 8
		ai_will_do = {
			factor = 6
		}
		available = {
			is_subject = no
			has_government = fascism
			country_exists = event_target:WTT_current_china_leader
			custom_trigger_tooltip = {
				tooltip = china_has_been_pleased_with_treaty
				check_variable = {
					var = china_conference_happy
					value = 2
					compare = greater_than_or_equals
				}
			}
			NOT = {
				has_war_with = event_target:WTT_current_china_leader
				is_in_faction_with = event_target:WTT_current_china_leader
				event_target:WTT_current_china_leader = {
					is_subject_of = SOV
					is_subject_of = JAP
				}
				has_country_flag = no_alliance_with_china
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			event_target:WTT_current_china_leader = {
				country_event = { id = russia2_china.27 hours = 18 }
			}
			custom_effect_tooltip = china_ultimatum_whole_china
		}
	}

	#Agreement With France
	focus = {
		id = SOV_agreement_france
		x = 66
		y = 24
		prerequisite = { focus = SOV_announce_our_ambitions }
		icon = GFX_focus_chi_reach_out_to_france
		cost = 5
		ai_will_do = {
			factor = 4
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = SOV_agreement_france_tt
				any_country = { #IT WORKS
					is_guaranteed_by = FRA
					any_state = {
						has_state_flag = SOV_slavic_states
						is_controlled_by = PREV
					}
				}
			}
			is_subject = no
			has_government = neutrality
			NOT = {
				has_completed_focus = SOV_alliance_with_germany_junta
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			NOT = {
				custom_trigger_tooltip = {
					tooltip = SOV_agreement_france_tt2
					any_country = { #IT WORKS
						is_guaranteed_by = FRA
						any_state = {
							has_state_flag = SOV_slavic_states
							is_controlled_by = PREV
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA }
		completion_reward = {
			FRA = {
				country_event = { id = russia2_france.3 days = 1 }
			}
			custom_effect_tooltip = SOV_agreement_france_effect_tt
		}
	}

	#The Few Obstacles Left
	focus = {
		id = SOV_few_obstacles_left
		x = 66
		y = 25
		prerequisite = { focus = SOV_agreement_france }
		icon = GFX_few_obstacles_left
		cost = 8
		ai_will_do = {
			factor = 3
			modifier = {
				add = 5
				NOT = {
					any_country = {
						is_major = yes
						OR = {
							has_guaranteed = ROM
							is_in_faction_with = ROM
						}
					}
					any_country = {
						is_major = yes
						OR = {
							has_guaranteed = HUN
							is_in_faction_with = HUN
						}
					}
				}
			}
		}
		available = {
			is_subject = no
			has_government = neutrality
			OR = {
				AND = {
					NOT = {
						has_war_with = ROM
					}
					country_exists = ROM
				}
				AND = {
					NOT = {
						has_war_with = HUN
					}
					country_exists = HUN
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_ANNEXATION }
		will_lead_to_war_with = ROM
		will_lead_to_war_with = HUN
		completion_reward = {
			if = {
				limit = {
					NOT = {
						has_war_with = ROM
					}
				}
				if = {
					limit = {
						ROM = {
							is_subject = no
						}
					}
					ROM = {
						country_event = { id = russia2_russia.270 days = 1 }
					}
					if = {
						limit = {
							ROM = {
								is_guaranteed_by = FRA
							}
						}
						custom_effect_tooltip = SOV_few_obstacles_left_tt
					}
				}
				else = {
					ROM = {
						OVERLORD = {
							country_event = { id = russia2_russia.274 days = 1 }
						}
					}
					custom_effect_tooltip = SOV_few_obstacles_left_tt2
				}
			}
			else = {
				custom_effect_tooltip = SOV_few_obstacles_left_cant_war_rom
			}
			if = {
				limit = {
					NOT = {
						has_war_with = HUN
					}
				}
				if = {
					limit = {
						HUN = {
							is_subject = no
							NOT = {
								has_war_with = ROOT
							}
						}
					}
					HUN = {
						country_event = { id = russia2_russia.270 days = 1 }
					}
					if = {
						limit = {
							HUN = {
								is_guaranteed_by = FRA
							}
						}
						custom_effect_tooltip = SOV_few_obstacles_left_tt3
					}
				}
				else = {
					HUN = {
						OVERLORD = {
							country_event = { id = russia2_russia.273 days = 1 }
						}
					}
					custom_effect_tooltip = SOV_few_obstacles_left_tt4
				}
			}
			else = {
				custom_effect_tooltip = SOV_few_obstacles_left_cant_war_hun
			}
		}
	}

	#Strike Down the Protestors
	focus = {
		id = SOV_strike_down_protestors
		x = 58
		y = 25
		prerequisite = { focus = SOV_unite_slavic_nations }
		icon = GFX_focus_SOV_crush_protestors_military
		cost = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = neutrality
			has_idea = SOV_Anti_military_junta_protestor
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
			has_country_flag = protestors_striked_anti_military_junta
			NOT = {
				has_war_with = PRT
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			custom_effect_tooltip = begin_the_destruction_of_protestors
			hidden_effect = {
				clr_country_flag = protestors_striked_anti_military_junta
				set_country_flag = is_crushing_the_protestors
				country_event = { id = russia2_russia.521 days = 25 }
				set_variable = {
					var = protestors_destruction_variable
					value = 0
				}
				randomize_variable = {
					var = protestors_destruction_variable
					distribution = uniform
					min = protestors_destruction_variable
					max = 100
				}
				round_variable = protestors_destruction_variable
			}
		}
	}

	#Unite Western Balkan
	focus = {
		id = SOV_unite_western_balkan
		x = 60
		y = 25
		prerequisite = { focus = SOV_unite_slavic_nations }
		icon = GFX_slavic_ulitmatum_yugoslavia_unite
		cost = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = neutrality
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
			NOT = {
				has_country_flag = is_focusing_on_area_slavic_state
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			set_country_flag = is_focusing_on_area_slavic_state
			custom_effect_tooltip = unlock_unite_slavic_nation_yugoslavia_decision
			custom_effect_tooltip = not_able_to_progress_until_done_west_balkan
		}
	}

	#Unite Eastern Balkan
	focus = {
		id = SOV_unite_eastern_balkan
		x = 62
		y = 25
		prerequisite = { focus = SOV_unite_slavic_nations }
		icon = GFX_slavic_ulitmatum_bulgaria_unite
		cost = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = neutrality
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
			NOT = {
				has_country_flag = is_focusing_on_area_slavic_state
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			set_country_flag = is_focusing_on_area_slavic_state
			custom_effect_tooltip = unlock_unite_slavic_nation_bulgaria_decision
			custom_effect_tooltip = not_able_to_progress_until_done_east_balkan
		}
	}

	#Unite Central Europe
	focus = {
		id = SOV_unite_central_europe
		x = 64
		y = 25
		prerequisite = { focus = SOV_unite_slavic_nations }
		icon = GFX_slavic_ulitmatum_czechoslovakia_unite
		cost = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = neutrality
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
			NOT = {
				has_country_flag = is_focusing_on_area_slavic_state
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			set_country_flag = is_focusing_on_area_slavic_state
			custom_effect_tooltip = unlock_unite_slavic_nation_czech_decision
			custom_effect_tooltip = not_able_to_progress_until_done_central_europe
		}
	}

	#Proclaim the Slavic Empire
	focus = {
		id = SOV_slavic_empire
		x = 62
		y = 26
		prerequisite = { focus = SOV_unite_western_balkan }
		prerequisite = { focus = SOV_unite_eastern_balkan }
		prerequisite = { focus = SOV_unite_central_europe }
		icon = GFX_slavic_empire
		cost = 10
		ai_will_do = {
			factor = 9
		}
		available = {
			NOT = {
				has_idea = SOV_Anti_military_junta_protestor
			}
			has_government = neutrality
			is_subject = no
			is_major = yes
			custom_trigger_tooltip = {
				tooltip = has_integrated_slavic_core_state
				has_country_flag = has_integrated_pol_core_states
				has_country_flag = has_integrated_yug_core_states
				has_country_flag = has_integrated_bul_core_states
				has_country_flag = has_integrated_cze_core_states
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_STABILITY FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			add_stability = 0.1
			SOV = {
				set_cosmetic_tag = RSE
			}
			set_country_flag = SOV_became_slavic_empire
			custom_effect_tooltip = SOV_slavic_empire_tt2
			every_state = {
				limit = {
					OR = {
						has_state_flag = SOV_baltic_states_slav
						has_state_flag = SOV_german_baltic_state
					}
					is_owned_by = SOV
					NOT = { is_core_of = ROOT }
				}
				custom_effect_tooltip = SOV_slavic_empire_tt3
				hidden_effect = {
					ROOT = {
						add_state_core = PREV
					}
				}
			}
			hidden_effect = {
				news_event = {
					id = newsrussia2.106 hours = 12
				}
			}
		}
	}

	#Extend Our Influence
	focus = {
		id = SOV_extend_influence
		x = 60
		y = 27
		prerequisite = { focus = SOV_slavic_empire }
		mutually_exclusive = { focus = SOV_protect_influence }
		icon = GFX_focus_generic_provoke_border_clashes
		cost = 5
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			has_government = neutrality
			is_major = yes
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			add_ideas = SOV_Extend_influence_idea
			custom_effect_tooltip = SOV_extend_influence_tt
			every_other_country = {
				limit = {
					is_major = yes
					NOT = {
						is_in_faction_with = ROOT
					}
					capital_scope = {
						OR = {
							is_on_continent = europe
							is_on_continent = asia
							is_on_continent = middle_east
							is_on_continent = africa
						}
					}
				}
				hidden_effect = {
					ROOT = {
						create_wargoal = {
							type = annex_everything
							target = PREV
						}
					}
				}
			}
		}
	}

	#Russianize Finland
	focus = {
		id = SOV_russianize_finland
		x = 59
		y = 28
		prerequisite = { focus = SOV_extend_influence }
		icon = GFX_focus_EST_national_pride_in_finland
		cost = 8
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			has_government = neutrality
			is_major = yes
			country_exists = FIN
			NOT = {
				has_war_with = FIN
				FIN = {
					is_subject_of = SOV
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			NOT = {
				country_exists = FIN
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			FIN = {
				country_event = { id = russia2_finland.30 days = 1 }
			}
			custom_effect_tooltip = unlock_decision_russianize_finland
		}
	}

	#Russianize the Balkans
	focus = {
		id = SOV_russianize_the_balkans
		x = 61
		y = 28
		prerequisite = { focus = SOV_extend_influence }
		icon = GFX_russianize_the_balkans_slavic_empire
		cost = 8
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			has_government = neutrality
			is_major = yes
			OR = {
				ROM = {
					is_subject_of = SOV
				}
				HUN = {
					is_subject_of = SOV
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			NOT = {
				country_exists = HUN
			}
			NOT = {
				country_exists = ROM
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			custom_effect_tooltip = unlock_decision_russianize_romania
			custom_effect_tooltip = unlock_decision_russianize_hungary
			set_variable = {
				var = romania_russianization_slavic
				value = 0
			}
			set_variable = {
				var = hungary_russianization_slavic
				value = 0
			}
		}
	}

	#Protect Our Influence
	focus = {
		id = SOV_protect_influence
		x = 64
		y = 27
		prerequisite = { focus = SOV_slavic_empire }
		mutually_exclusive = { focus = SOV_extend_influence }
		icon = GFX_goal_generic_fortify_city
		cost = 5
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			has_government = neutrality
			is_major = yes
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Protect_legacy
		}
	}

	#Pre-Emptive Strike in the Middle East
	focus = {
		id = SOV_preemptive_strike_middle_east
		x = 64
		y = 28
		prerequisite = { focus = SOV_protect_influence }
		icon = GFX_focus_SOV_preemptive_strike_middle_east
		cost = 8
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			has_government = neutrality
			is_major = yes
			OR = {
				country_exists = TUR
				country_exists = PER
				country_exists = AFG
				country_exists = IRQ
			}
			OR = {
				TUR = {
					NOT = {
						is_subject_of = SOV
					}
				}
				PER = {
					NOT = {
						is_subject_of = SOV
					}
				}
				AFG = {
					NOT = {
						is_subject_of = SOV
					}
				}
				IRQ = {
					NOT = {
						is_subject_of = SOV
					}
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA }
		completion_reward = {
			every_country = {
				limit = {
					NOT = {
						is_subject_of = SOV
					}
					exists = yes
					OR = {
						tag = TUR
						tag = PER
						tag = AFG
						tag = IRQ
					}
				}
				country_event = { id = russia2_generic.40 days = 1 }
			}
			custom_effect_tooltip = unlock_decision_fortify_slavic_borders
		}
	}

	#The Legacy Must Carry On
	focus = {
		id = SOV_legacy_must_carry_on
		x = 62
		y = 29
		prerequisite = { focus = SOV_russianize_finland focus = SOV_russianize_the_balkans focus = SOV_preemptive_strike_middle_east }
		icon = GFX_goal_unknown_golden
		cost = 6
		ai_will_do = {
			factor = 10
		}
		available = {
			always = no
			is_subject = no
			has_government = neutrality
			is_major = yes
			has_global_flag = sov_national_obligations_allowed
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_GOLDEN_FOCUS FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = SOV_legacy_must_carry_on_tt
			add_to_array = { sov_national_obligations_unlocked_indexes = 10 }
			set_variable = { sov_national_obligations_selected_index = 10 }
			if = {
				limit = {
					NOT = {
						has_country_flag = sov_unlocked_national_obligations
					}
				}
				set_country_flag = sov_unlocked_national_obligations
			}
            if = {
				limit = {
					NOT = {
						has_country_flag = sov_open_national_obligations
					}
				}
				set_country_flag = sov_open_national_obligations
			}
		}
	}

	#Convince Italy
	focus = {
		id = SOV_convince_italy
		x = 56
		y = 24
		prerequisite = { focus = SOV_fate_poland focus = SOV_announce_our_ambitions }
		icon = GFX_focus_befriend_italy
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			is_subject = no
			has_government = neutrality
			if = {
				limit = {
					has_completed_focus = SOV_restoration_tsar
				}
				is_faction_leader = yes
				ITA = {
					NOT = {
						has_government = communism
						owns_state = 103
						is_subject = yes
					}
				}
			}
			else_if = {
				limit = {
					has_completed_focus = SOV_firm_hand
				}
				is_major = yes
				any_state = {
					has_state_flag = SOV_slavic_states
					OR = {
						is_claimed_by = ITA
						is_controlled_by = ITA
					}
				}
				ITA = {
					is_subject = no
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA FOCUS_FILTER_NEUTRALITY_MILITARY_RUSSIA }
		completion_reward = {
			if = {
				limit = {
					has_completed_focus = SOV_restoration_tsar
				}
				ITA = {
					country_event = { id = russia2_italy.1 days = 1 }
				}
			}
			else_if = {
				limit = {
					has_completed_focus = SOV_firm_hand
				}
				ITA = {
					country_event = { id = russia2_italy.6 days = 1 }
				}
			}
			else = {
				custom_effect_tooltip = SOV_convince_italy_tt
			}
		}
	}

	#Restore the Monarchy in Italy
	focus = {
		id = SOV_restore_monarchy_italy
		x = 56
		y = 25
		prerequisite = { focus = SOV_convince_italy }
		icon = GFX_Restore_Italian_Monarchist_Tsar
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			is_subject = no
			has_government = neutrality
			is_faction_leader = yes
			has_completed_focus = SOV_restoration_tsar
			ITA = {
				is_in_faction_with = ROOT
				NOT = {
					is_subject = yes
					has_government = neutrality
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA }
		completion_reward = {
			country_event = { id = russia2_italy.25 }
		}
	}

	#The Destiny of Our Monarchy
	focus = {
		id = SOV_destiny_monarchy
		x = 50
		y = 22
		prerequisite = { focus = SOV_restoration_tsar }
		prerequisite = { focus = SOV_reintegrate_lost_state }
		icon = GFX_goal_tfv_strengthen_commonwealth_ties
		cost = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = neutrality
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }
		completion_reward = {
			hidden_effect = {
				country_event = { id = russia2_russia.509 days = 50 }
			}
			set_country_flag = sov_anna_anderston_can_return
			country_event = { id = russia2_russia.212 days = 1 }
			custom_effect_tooltip = SOV_destiny_monarchy_tt

			# 1 = opposed ; 2 = neutral ; 3 = support

			add_to_array = { monarchy_houses_russia = 1 }
			add_to_array = { monarchy_houses_russia = 2 }
			add_to_array = { monarchy_houses_russia = 3 }
			add_to_array = { monarchy_houses_russia = 4 }
			add_to_array = { monarchy_houses_russia = 5 }
			add_to_array = { monarchy_houses_russia = 6 }
			add_to_array = { monarchy_houses_russia = 7 }
			add_to_array = { monarchy_houses_russia = 8 }
			add_to_array = { monarchy_houses_russia = 9 }
			add_to_array = { monarchy_houses_russia = 10 }

			set_variable = { houses_russia_half_index = 0 }
			for_each_loop = {
			    array = monarchy_houses_russia

			    add_to_variable = { houses_russia_half_index = 1 }
			}
			divide_variable = {
			    var = houses_russia_half_index
			    value = 2
			}

			set_variable = { house_russia_opposed = 0 }
			set_variable = { house_russia_neutral = 0 }
			set_variable = { house_russia_support = 0 }
			# set_variable = { debug_house_count = 0 }
			for_each_loop = {
			    array = monarchy_houses_russia
			    value = current
			    index = i

				set_temp_variable = { current_value = current }
				set_temp_variable = { current_index = i }
				set_variable = { house_russia^var:current_value = 1 }
				if = {
					limit = {
						check_variable = {
						    var = current_index
						    value = houses_russia_half_index
						    compare = less_than
						}
					}
					randomize_variable = {
						var = house_russia^var:current_value
						distribution = uniform
						min = 1
						max = 2
					}
				}
				else = {
					randomize_variable = {
						var = house_russia^var:current_value
						distribution = uniform
						min = 2
						max = 3
					}
				}
				round_variable = house_russia^var:current_value
				if = {
					limit = {
						check_variable = {
							var = house_russia^var:current_value
							value = 1
							compare = equals
						}
					}
					set_variable = { house_russia_pp_cost^var:current_value = 30 }
					add_to_variable = {
						var = house_russia_opposed
						value = 1
					}
				}
				else_if = {
					limit = {
						check_variable = {
							var = house_russia^var:current_value
							value = 2
							compare = equals
						}
					}
					set_variable = { house_russia_pp_cost^var:current_value = 20 }
					add_to_variable = {
						var = house_russia_neutral
						value = 1
					}
				}
				else_if = {
					limit = {
						check_variable = {
							var = house_russia^var:current_value
							value = 3
							compare = equals
						}
					}
					set_variable = { house_russia_pp_cost^var:current_value = 10 }
					add_to_variable = {
						var = house_russia_support
						value = 1
					}
				}
			    # add_to_variable = { debug_house_count = house_russia^var:current_value }
			}
		}
	}

	#The Fate of Poland
	focus = {
		id = SOV_fate_poland
		x = 50
		y = 23
		prerequisite = { focus = SOV_destiny_monarchy }
		icon = GFX_Fate_of_Poland
		cost = 8
		ai_will_do = {
			factor = 5
			modifier = {
				add = 3
				NOT = {
					any_country = {
						is_major = yes
						OR = {
							has_guaranteed = POL
							is_in_faction_with = POL
						}
					}
				}
			}
		}
		available = {
			is_subject = no
			has_government = neutrality
			OR = {
				is_neighbor_of = POL
				any_country = {
					is_subject_of = ROOT
					is_neighbor_of = POL
				}
			}
			NOT = {
				is_in_faction_with = POL
			}
			POL = {
				is_subject = no
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			POL = {
				OR = {
					is_subject = yes
					exists = no
					has_war_with = ROOT
					has_capitulated = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA FOCUS_FILTER_ANNEXATION }
		will_lead_to_war_with = POL
		completion_reward = {
			country_event = { id = russia2_poland.4 days = 1 }
		}
	}

	#The Fate of Finland
	focus = {
		id = SOV_fate_finland
		x = 48
		y = 23
		prerequisite = { focus = SOV_destiny_monarchy }
		icon = GFX_Fate_of_Finland
		cost = 8
		ai_will_do = {
			factor = 4
			modifier = {
				add = 3
				NOT = {
					any_country = {
						is_major = yes
						OR = {
							has_guaranteed = FIN
							is_in_faction_with = FIN
						}
					}
				}
			}
		}
		available = {
			is_subject = no
			has_government = neutrality
			OR = {
				is_neighbor_of = FIN
				any_country = {
					is_subject_of = ROOT
					is_neighbor_of = FIN
				}
			}
			NOT = {
				is_in_faction_with = FIN
			}
			FIN = {
				exists = yes
				is_subject = no
				NOT = {
					has_war_with = ROOT
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA FOCUS_FILTER_ANNEXATION }
		will_lead_to_war_with = FIN
		completion_reward = {
			country_event = { id = russia2_finland.9 days = 1 }
		}
	}

	#The Fate of Turkey
	focus = {
		id = SOV_fate_turkey
		x = 52
		y = 23
		prerequisite = { focus = SOV_destiny_monarchy }
		icon = GFX_Fate_of_Turkey
		cost = 8
		ai_will_do = {
			factor = 4
			modifier = {
				add = 3
				NOT = {
					any_country = {
						is_major = yes
						OR = {
							has_guaranteed = TUR
							is_in_faction_with = TUR
						}
					}
				}
			}
		}
		available = {
			is_subject = no
			has_government = neutrality
			OR = {
				is_neighbor_of = TUR
				any_country = {
					is_subject_of = ROOT
					is_neighbor_of = TUR
				}
			}
			NOT = {
				is_in_faction_with = TUR
			}
			TUR = {
				exists = yes
				is_subject = no
				NOT = {
					has_war_with = ROOT
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA FOCUS_FILTER_ANNEXATION }
		will_lead_to_war_with = TUR
		completion_reward = {
			SOV = {
				country_event = { id = russia2_turkey.1 hours = 2 }
			}
		}
	}

	#The Fate of Japan
	focus = {
		id = SOV_fate_japan
		x = 48
		y = 24
		prerequisite = { focus = SOV_fate_poland }
		icon = GFX_Fate_of_Japan
		cost = 8
		ai_will_do = {
			factor = 4
			modifier = {
				add = 3
				NOT = {
					any_country = {
						is_major = yes
						OR = {
							has_guaranteed = TUR
							is_in_faction_with = TUR
						}
					}
				}
			}
		}
		available = {
			is_subject = no
			has_government = neutrality
			OR = {
				is_neighbor_of = JAP
				any_country = {
					OR = {
						is_subject_of = ROOT
						is_in_faction_with = ROOT
					}
					OR = {
						is_neighbor_of = JAP
						any_country = {
							OR = {
								is_subject_of = JAP
								is_in_faction_with = JAP
							}
							is_neighbor_of = PREV
						}
					}
				}
			}
			JAP = {
				exists = yes
				is_subject = no
				NOT = {
					has_war_with = ROOT
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA FOCUS_FILTER_ANNEXATION }
		will_lead_to_war_with = JAP
		completion_reward = {
			country_event = russia2_japan.36
		}
	}

	#Royal Orders
	focus = {
		id = SOV_royal_orders
		x = 50
		y = 24
		prerequisite = { focus = SOV_fate_poland }
		icon = GFX_Restore_royal_decree
		cost = 4
		ai_will_do = {
			factor = 6
		}
		available = {
			is_subject = no
			is_major = yes
			has_government = neutrality
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Royal_orders
		}
	}

	#Second Ultimatum for Poland
	focus = {
		id = SOV_second_ultimatum_poland
		x = 49
		y = 25
		prerequisite = { focus = SOV_royal_orders }
		icon = GFX_focus_SOV_second_ultimatum_poland
		cost = 8
		ai_will_do = {
			factor = 6
		}
		available = {
			is_faction_leader = yes
			is_subject = no
			is_major = yes
			has_government = neutrality
			has_completed_focus = SOV_the_emperor
			custom_trigger_tooltip = {
				tooltip = poland_refuse_first_ultimatum_tt
				NOT = {
					has_country_flag = poland_accept_imperial_puppet
					has_country_flag = has_given_eastern_poland
				}
			}
			country_exists = POL
			NOT = {
				POL = {
					has_capitulated = yes
					is_subject_of = SOV
					is_in_faction_with = SOV
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA }
		completion_reward = {
			if = {
				limit = {
					POL = {
						is_subject = yes
					}
				}
				POL = {
					OVERLORD = {
						country_event = { id = russia2_poland.32 days = 1 }
					}
				}
			}
			else = {
				POL = {
					country_event = { id = russia2_poland.32 days = 1 }
				}
			}
		}
	}

	#Purchase African Colonies
	focus = {
		id = SOV_purchase_african_colonies
		x = 52
		y = 25
		prerequisite = { focus = SOV_royal_orders }
		icon = GFX_Purchase_Africa_Tsar
		cost = 8
		ai_will_do = {
			factor = 6
		}
		available = {
			is_subject = no
			is_major = yes
			has_government = neutrality
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_purchase_african_colonies_tt
		}
	}

	#The Emperor
	focus = {
		id = SOV_the_emperor
		x = 50
		y = 26
		prerequisite = { focus = SOV_purchase_african_colonies }
		mutually_exclusive =  { focus = SOV_the_empress }
		icon = GFX_emperor_of_russia_vladimir
		cost = 7
		ai_will_do = {
			factor = 6
		}
		available = {
			is_subject = no
			is_major = yes
			has_government = neutrality
			OR = {
				has_country_leader = {
					character = SOV_Kirill_vladimirovich
    				ruling_only = yes
				}
				has_country_leader = {
					character = SOV_Vladimir_kirillovich
    				ruling_only = yes
				}
			}
			has_country_flag = sov_anna_anderson_struggle_over
			has_country_flag = sov_anna_anderson_defeated
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA }
		completion_reward = {
			add_country_leader_trait = russia2_the_emperor
		}
	}

	#The Empress
	focus = {
		id = SOV_the_empress
		x = 54
		y = 26
		prerequisite = { focus = SOV_purchase_african_colonies }
		mutually_exclusive =  { focus = SOV_the_emperor }
		icon = GFX_empress_of_russia_anastasia
		cost = 7
		ai_will_do = {
			factor = 6
		}
		available = {
			is_subject = no
			is_major = yes
			has_government = neutrality
			has_country_leader = {
				character = SOV_Anastasia_nikolaevna
				ruling_only = yes
			}
			has_country_flag = sov_anna_anderson_struggle_over
			has_country_flag = sov_anna_anderson_win
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA }
		completion_reward = { #TODO Add female portrait
			add_country_leader_trait = russia2_the_empress
			set_rule = {
				can_generate_female_aces = yes
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = SOV_Anastasia_nikolaevna
		}
	}

	#Contact German Monarchy
	focus = {
		id = SOV_contact_german_exiles
		x = 53
		y = 27
		prerequisite = { focus = SOV_the_empress }
		mutually_exclusive = { focus = SOV_alliance_kaiser_empress }
		icon = GFX_Contact_German_Monarchist
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			is_subject = no
			is_major = yes
			has_government = neutrality
			NOT = {
				GER = {
					has_government = neutrality
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			GER = {
				OR = {
					has_government = neutrality
					is_subject_of = SOV
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			country_event = { id = russia2_russia.192 days = 2 }
			custom_effect_tooltip = SOV_contact_german_exiles_tt
			custom_effect_tooltip = unlock_decision_reinstore_german_monarchy
		}
	}

	#Alliance With the Kaiser
	focus = {
		id = SOV_alliance_kaiser_empress
		x = 55
		y = 27
		prerequisite = { focus = SOV_the_empress }
		mutually_exclusive = { focus = SOV_contact_german_exiles }
		icon = GFX_focus_ger_return_of_the_kaiser
		cost = 7
		ai_will_do = {
			factor = 6
		}
		available = {
			is_faction_leader = yes
			is_subject = no
			is_major = yes
			has_government = neutrality
			GER = {
				has_government = neutrality
				if = {
					limit = {  has_dlc = "Gotterdammerung" }
					OR = {
						has_completed_focus = GER_return_of_the_kaiser_ww
						has_completed_focus = GER_military_dictatorship
					}
				}
				else = {
					has_completed_focus = GER_return_of_the_kaiser
				}
				NOT = {
					is_subject_of = SOV
					has_capitulated = yes
				}
			}
			NOT = {
				has_war_with = GER
				is_in_faction_with = GER
			}
		}
		bypass = {
			GER = {
				OR = {
					is_in_faction_with = SOV
					is_subject_of = SOV
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA }
		completion_reward = {
			GER = {
				country_event = { id = russia2_germany.35 days = 1 }
			}
		}
	}

	#Contact French Monarchy
	focus = {
		id = SOV_contact_french_exiles
		x = 50
		y = 27
		prerequisite = { focus = SOV_the_emperor }
		icon = GFX_Contact_French_Monarchist
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			is_faction_leader = yes
			is_subject = no
			is_major = yes
			has_government = neutrality
			FRA = {
				exists = yes
				has_capitulated = no
				has_civil_war = no
				NOT = {
					has_government = neutrality
					is_subject = yes
					is_in_faction_with = ROOT
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			FRA = {
				OR = {
					has_government = neutrality
					is_subject_of = SOV
				}
			}
			NOT = {
				country_exists = FRA
				is_subject = yes
				is_in_faction_with = ROOT
				exists = no
				has_capitulated = yes
				has_civil_war = yes
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA }
		completion_reward = {
			FRA = {
				country_event = { id = russia2_france.16 hours = 2 }
			}
			custom_effect_tooltip = unlock_decision_restoration_french_monarchy
			set_variable = {
				var = french_monarchist_leader_influence_var
				value = 0
			}
		}
	}

	#Imperial Obligations
	focus = {
		id = SOV_imperial_obligations_focus
		x = 52
		y = 28
		prerequisite = { focus = SOV_contact_german_exiles focus = SOV_contact_french_exiles focus = SOV_alliance_kaiser_empress }
		icon = GFX_goal_unknown_golden
		cost = 6
		ai_will_do = {
			factor = 10
		}
		available = {
			always = no
			is_subject = no
			has_government = neutrality
			is_major = yes
			has_global_flag = sov_national_obligations_allowed
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_GOLDEN_FOCUS FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = SOV_imperial_obligations_focus_tt
			add_to_array = { sov_national_obligations_unlocked_indexes = 11 }
			set_variable = { sov_national_obligations_selected_index = 11 }
			if = {
				limit = {
					NOT = {
						has_country_flag = sov_unlocked_national_obligations
					}
				}
				set_country_flag = sov_unlocked_national_obligations
			}
            if = {
				limit = {
					NOT = {
						has_country_flag = sov_open_national_obligations
					}
				}
				set_country_flag = sov_open_national_obligations
			}
		}
	}

	#Slavic Alliance
	focus = {
		id = SOV_slavic_alliance
		x = 44
		y = 25
		mutually_exclusive = { focus = SOV_reform_entente }
		prerequisite = { focus = SOV_royal_orders }
		icon = GFX_Slavic_Alliance
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			is_subject = no
			has_government = neutrality
			is_major = yes
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA FOCUS_FILTER_RESEARCH }
		completion_reward = {
			if = {
				limit = {
					NOT = {
						is_faction_leader = yes
					}
				}
				create_faction = slavic_alliance
			}
			else = {
				set_faction_name = slavic_alliance
			}
			add_to_tech_sharing_group = sov_slavic_research
			custom_effect_tooltip = SOV_slavic_alliance_tt
			hidden_effect = {
				every_country = {
					limit = {
						is_in_faction_with = SOV
					}
					add_to_tech_sharing_group = sov_slavic_research
				}
				news_event = {
					id = newsrussia2.95 hours = 12
				}
			}
		}
	}

	#Invite Yugoslavia
	focus = {
		id = SOV_invite_yugoslavia
		x = 43
		y = 28
		prerequisite = { focus = SOV_slavic_alliance }
		icon = GFX_focus_invite_yugoslavia
		cost = 4
		ai_will_do = {
			factor = 5
		}
		available = {
			is_faction_leader = yes
			is_subject = no
			has_government = neutrality
			if = {
				limit = {
					NOT = {
						country_exists = YUG
					}
					OR = {
						country_exists = SER
						country_exists = CRO
						country_exists = BOS
						country_exists = SLV
						country_exists = MNT
						country_exists = MAC
						country_exists = TRA
						country_exists = HRZ
						country_exists = KOS
					}
				}
				any_country = {
					OR = {
						tag = SER
						tag = CRO
						tag = BOS
						tag = SLV
						tag = MNT
						tag = MAC
						tag = TRA
						tag = HRZ
						tag = KOS
					}
					NOT = {
						is_faction_leader = yes
						has_war_with = SOV
						is_in_faction_with = SOV
					}
					is_subject = no
					NOT = {
						has_government = fascism
						has_government = communism
					}
				}
			}
			else = {
				NOT = {
					has_war_with = YUG
				}
				YUG = {
					exists = yes
					NOT = {
						is_faction_leader = yes
						is_in_faction_with = SOV
					}
					is_subject = no
					NOT = {
						has_government = fascism
						has_government = communism
					}
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA }
		completion_reward = {
			if = {
				limit = {
					NOT = {
						country_exists = YUG
					}
					OR = {
						country_exists = SER
						country_exists = CRO
						country_exists = BOS
						country_exists = SLV
						country_exists = MNT
						country_exists = MAC
						country_exists = TRA
						country_exists = HRZ
						country_exists = KOS
					}
				}
				every_country = {
					limit = {
						OR = {
							tag = SER
							tag = CRO
							tag = BOS
							tag = SLV
							tag = MNT
							tag = MAC
							tag = TRA
							tag = HRZ
							tag = KOS
						}
						NOT = {
							is_faction_leader = yes
							has_war_with = SOV
							is_in_faction_with = SOV
						}
						is_subject = no
						NOT = {
							has_government = fascism
							has_government = communism
						}
					}
					country_event = { id = russia2_russia.178 days = 1 }
				}
				if = {
					limit = {
						BUL = {
							is_in_faction_with = SOV
						}
						country_exists = MAC
					}
					custom_effect_tooltip = SOV_invite_yugoslavia_tt2
				}
			}
			else = {
				YUG = {
					country_event = { id = russia2_russia.178 days = 1 }
				}
				if = {
					limit = {
						BUL = {
							is_in_faction_with = SOV
						}
					}
					custom_effect_tooltip = SOV_invite_yugoslavia_tt
				}
			}
		}
	}

	#Invite Czechoslovakia
	focus = {
		id = SOV_invite_czechoslovakia
		x = 47
		y = 26
		prerequisite = { focus = SOV_slavic_alliance }
		icon = GFX_Improve_relations_czechoslovakia
		cost = 4
		ai_will_do = {
			factor = 5
		}
		available = {
			is_faction_leader = yes
			is_subject = no
			has_government = neutrality
			NOT = {
				has_war_with = CZE
			}
			CZE = {
				exists = yes
				NOT = {
					is_faction_leader = yes
					is_in_faction_with = SOV
				}
				is_subject = no
				NOT = {
					has_government = fascism
					has_government = communism
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA }
		completion_reward = {
			CZE = {
				country_event = { id = russia2_russia.178 days = 1 }
			}
		}
	}

	#Make an Exception for Hungary
	focus = {
		id = SOV_exception_hungary
		x = 42
		y = 27
		prerequisite = { focus = SOV_slavic_alliance }
		icon = GFX_Improve_relations_hungary
		cost = 4
		ai_will_do = {
			factor = 5
		}
		available = {
			is_faction_leader = yes
			is_subject = no
			has_government = neutrality
			NOT = {
				has_war_with = HUN
			}
			HUN = {
				exists = yes
				NOT = {
					is_faction_leader = yes
					is_in_faction_with = SOV
				}
				is_subject = no
				NOT = {
					has_government = fascism
					has_government = communism
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA }
		completion_reward = {
			HUN = {
				country_event = { id = russia2_russia.181 days = 1 }
			}
		}
	}

	#Make an Exception for Romania
	focus = {
		id = SOV_exception_romania
		x = 46
		y = 27
		prerequisite = { focus = SOV_slavic_alliance }
		icon = GFX_focus_invite_romania
		cost = 4
		ai_will_do = {
			factor = 5
		}
		available = {
			is_faction_leader = yes
			is_subject = no
			has_government = neutrality
			NOT = {
				has_war_with = ROM
			}
			ROM = {
				exists = yes
				NOT = {
					is_faction_leader = yes
					is_in_faction_with = SOV
				}
				is_subject = no
				NOT = {
					has_government = fascism
					has_government = communism
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA }
		completion_reward = {
			ROM = {
				country_event = { id = russia2_russia.181 days = 1 }
			}
		}
	}

	#Invite Baltics
	focus = {
		id = SOV_invite_baltics
		x = 41
		y = 26
		prerequisite = { focus = SOV_slavic_alliance }
		icon = GFX_improve_relations_baltics
		cost = 4
		ai_will_do = {
			factor = 5
		}
		available = {
			is_faction_leader = yes
			is_subject = no
			has_government = neutrality
			OR = {
				AND = {
					NOT = {
						has_war_with = EST
					}
					EST = {
						exists = yes
						NOT = {
							is_faction_leader = yes
							is_in_faction_with = SOV
						}
						is_subject = no
						NOT = {
							has_government = fascism
							has_government = communism
						}
					}
				}
				AND = {
					NOT = {
						has_war_with = LAT
					}
					LAT = {
						exists = yes
						NOT = {
							is_faction_leader = yes
							is_in_faction_with = SOV
						}
						is_subject = no
						NOT = {
							has_government = fascism
							has_government = communism
						}
					}
				}
				AND = {
					NOT = {
						has_war_with = LIT
					}
					LIT = {
						exists = yes
						NOT = {
							is_faction_leader = yes
							is_in_faction_with = SOV
						}
						is_subject = no
						NOT = {
							has_government = fascism
							has_government = communism
						}
					}
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_invite_baltics_tt
			every_country = {
				limit = {
					OR = {
						tag = EST
						tag = LAT
						tag = LIT
					}
					NOT = {
						is_faction_leader = yes
						has_war_with = SOV
						is_in_faction_with = SOV
					}
					is_subject = no
					NOT = {
						has_government = fascism
						has_government = communism
					}
				}
				country_event = { id = russia2_russia.178 days = 1 }
			}
		}
	}

	#Invite Bulgaria
	focus = {
		id = SOV_invite_bulgaria
		x = 45
		y = 28
		prerequisite = { focus = SOV_slavic_alliance }
		icon = GFX_Improve_relations_bulgaria
		cost = 4
		ai_will_do = {
			factor = 5
		}
		available = {
			is_faction_leader = yes
			is_subject = no
			has_government = neutrality
			NOT = {
				has_war_with = BUL
			}
			BUL = {
				exists = yes
				NOT = {
					is_faction_leader = yes
					is_in_faction_with = SOV
				}
				is_subject = no
				NOT = {
					has_government = fascism
					has_government = communism
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA }
		completion_reward = {
			BUL = {
				country_event = { id = russia2_russia.178 days = 1 }
			}
			if = {
				limit = {
					YUG = {
						is_in_faction_with = SOV
					}
				}
				custom_effect_tooltip = SOV_invite_bulgaria_tt
			}
			else_if = {
				limit = {
					MAC = {
						is_in_faction_with = SOV
					}
				}
				custom_effect_tooltip = SOV_invite_bulgaria_tt2
			}
		}
	}

	#Slavic Assistance
	focus = {
		id = SOV_slavic_assistance
		x = 44
		y = 29
		prerequisite = { focus = SOV_slavic_alliance }
		icon = GFX_goal_generic_intelligence_exchange
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			is_subject = no
			has_government = neutrality
			is_faction_leader = yes
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_NEUTRALITY_TSAR_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_slavic_assistance_tt
		}
	}

	#A New Way of Life
	focus = {
		id = SOV_new_way_life
		x = 88
		y = 16
		prerequisite = { focus = SOV_second_civil_war }
		icon = GFX_Russian_Fascist_party
		cost = 5
		ai_will_do = {
			factor = 8
			modifier = {
				add = 92
				OR = {
					has_country_flag = RUS_AI_KONSTANTIN_RODZAEVSKY_FASCIST_BEHAVIOR
					has_country_flag = RUS_AI_ANASTASY_VONSYATSKY_FASCIST_BEHAVIOR
				}
			}
			modifier = {
				factor = 0
				NOT = {
					has_country_flag = RUS_AI_KONSTANTIN_RODZAEVSKY_FASCIST_BEHAVIOR
					has_country_flag = RUS_AI_ANASTASY_VONSYATSKY_FASCIST_BEHAVIOR
					has_country_flag = RUS_AI_FULL_RANDOM_BEHAVIOR
				}
			}
		}
		available = {
			NOT = {
				has_global_flag = second_russian_civil_war_in_progress
			}
			has_global_flag = second_russian_civil_war_over
			is_subject = no
			NOT = {
				has_completed_focus = SOV_bring_back_old_life
			}
			NOT = {
				has_country_flag = white_guard_lost_civil_war
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA }
		completion_reward = {
			add_timed_idea = {
				idea = SOV_New_way_of_life
				days = 240
			}
			custom_effect_tooltip = SOV_new_way_life_tt
			hidden_effect = {
				add_popularity = {
					ideology = communism
					popularity = 0.3
				}
			}
		}
	}

	#Exile the Communist
	focus = {
		id = SOV_exile_communist
		x = 88
		y = 17
		prerequisite = { focus = SOV_new_way_life }
		icon = GFX_Exile_communist
		cost = 5
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			NOT = {
				has_government = communism
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA }
		completion_reward = {
			country_event = { id = russia2_russia.279 days = 1 }
		}
	}

	#A Night on the Manchurian Border
	focus = {
		id = SOV_night_manchurian_border
		x = 88
		y = 18
		prerequisite = { focus = SOV_exile_communist }
		icon = GFX_focus_jap_cast_the_die
		cost = 5
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			fascism > 0.3
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA }
		completion_reward = {
			if = {
				limit = {
					NOT = {
						has_country_flag = konstantin_rodzaevsky_executed
					}
				}
				if = {
					limit = {
						NOT = {
							controls_state = 761
							any_country = {
								OR = {
									is_in_faction_with = ROOT
									is_subject_of = ROOT
								}
								controls_state = 761
							}
						}
					}
					country_event = { id = russia2_russia.280 hours = 10 }
					761 = {
						CONTROLLER = {
							country_event = { id = russia2_manchukuo.1 days = 2 }
						}
					}
				}
				else = {
					country_event = { id = russia2_russia.343 hours = 10 }
				}
			}
			else = {
				country_event = { id = russia2_russia.344 hours = 10 }
			}
		}
	}

	#Russia Women's Fascist Movement
	focus = {
		id = SOV_russia_women_fascist_movement
		x = 88
		y = 19
		prerequisite = { focus = SOV_night_manchurian_border }
		icon = GFX_Woman_fascist_movement
		cost = 8
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			has_government = fascism
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA }
		completion_reward = {
			hidden_effect = {
				add_ideas = SOV_Women_fascist_movement
			}
			custom_effect_tooltip = SOV_russia_women_fascist_movement_tt
			custom_effect_tooltip = SOV_russia_women_fascist_movement_tt2
			swap_ideas = {
				remove_idea = SOV_Political_Unstability
				add_idea = SOV_Political_Unstability2
			}
			if = {
				limit = {
					NOT = {
						controls_state = 761
						any_country = {
							OR = {
								is_in_faction_with = ROOT
								is_subject_of = ROOT
							}
							controls_state = 761
						}
					}
				}
				761 = {
					CONTROLLER = {
						country_event = { id = russia2_generic.21 days = 2 }
					}
				}
			}
			else = {
				country_event = { id = russia2_generic.29 days = 1 }
			}
		}
	}

	#The Lawyer Remains
	focus = {
		id = SOV_the_lawyer_remains
		x = 80
		y = 20
		prerequisite = { focus = SOV_russia_women_fascist_movement }
		icon = GFX_konstantin_rodzaevsky_ru2
		cost = 8
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			has_government = fascism
			has_country_flag = law_triumphed_over_order
			has_country_leader = {
				character = SOV_konstantin_rodzayevsky
				ruling_only = yes
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_stability = 0.15
			set_party_name = {
				ideology = fascism
				long_name = SOV_ARFP_long
				name = SOV_ARFP
			}
			swap_ruler_traits = {
				remove = russia2_unpopular_leader
				add = russia2_lawyer_leader
			}
			custom_effect_tooltip = SOV_skip_line
			remove_ideas = SOV_Political_Unstability2
			if = {
				limit = {
					NOT = {
						has_completed_focus = SOV_policy_of_aggression
					}
				}
				set_country_flag = SOV_konstantin_no_justify_allowed
				custom_effect_tooltip = SOV_the_lawyer_remains_tt
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = SOV_konstantin_rodzayevsky
			if = {
				limit = {
					OR = {
						has_country_flag = japan_accept_to_help_give_russian_far_east
						has_country_flag = has_negotiated_with_germany_ressource_rights
						has_country_flag = accept_american_occupation_siberia_after_cw
						has_country_flag = accept_french_factories_after_cw
						has_country_flag = accept_diplomatic_relation_with_italy
						has_country_flag = accept_english_help_for_shipment
					}
				}
				custom_effect_tooltip = SOV_renegotiate_deals_civil_war_tt_unlocker
			}
		}
	}

	#Establish New Laws
	focus = {
		id = SOV_establish_new_laws
		x = 80
		y = 21
		prerequisite = { focus = SOV_the_lawyer_remains }
		icon = GFX_focus_hol_the_foundations_of_defense
		cost = 8
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			has_government = fascism
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_ideas = SOV_Establish_new_laws_idea
			if = {
				limit = {
					OR = {
						has_idea = disarmed_nation
						has_idea = volunteer_only
					}
				}
				add_ideas = limited_conscription
			}
			if = {
				limit = {
					OR = {
						has_idea = civilian_economy
						has_idea = low_economic_mobilisation
						has_idea = partial_economic_mobilisation
					}
				}
				add_ideas = war_economy
			}
		}
	}

	#Policy of Aggression
	focus = {
		id = SOV_policy_of_aggression
		x = 83
		y = 21
		prerequisite = { focus = SOV_the_lawyer_remains }
		icon = GFX_focus_eng_move_to_secure_the_dominions
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			is_subject = no
			has_government = fascism
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			country_event = russia2_russia.315
		}
	}

	#Reviewing Our Position
	focus = {
		id = SOV_reviewing_our_position
		x = 77
		y = 21
		prerequisite = { focus = SOV_the_lawyer_remains }
		icon = GFX_goal_generic_military_sphere
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = fascism
			has_completed_focus = SOV_our_future_foes
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA }
		completion_reward = {
			country_event = russia2_russia.351
		}
	}

	#Ruling with the Law
	focus = {
		id = SOV_ruling_with_the_law
		x = 80
		y = 22
		prerequisite = { focus = SOV_establish_new_laws }
		icon = GFX_Ruling_with_law
		cost = 4
		ai_will_do = {
			factor = 6
		}
		available = {
			is_subject = no
			has_government = fascism
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Ruling_with_law
		}
	}

	#Neutralize Foreign Nuissance
	focus = {
		id = SOV_neutralize_foreign_nuissance
		x = 83
		y = 22
		prerequisite = { focus = SOV_policy_of_aggression }
		icon = GFX_Neutralize_Nuissances
		cost = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = fascism
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			custom_trigger_tooltip = {
				tooltip = SOV_NOT_any_country_major_left_tt
				NOT = {
					any_country = {
						is_major = yes
						OR = {
							NOT = {
								is_subject_of = ROOT
								is_in_faction_with = ROOT
							}
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_neutralize_foreign_nuissance_tt
			every_other_country = {
				limit = {
					is_major = yes
					NOT = {
						is_subject_of = ROOT
						is_in_faction_with = ROOT
						has_war_with = ROOT
					}
				}
				country_event = { id = russia2_russia.310 days = 1 }
			}
			hidden_effect = {
				news_event = { id = newsrussia2.125 days = 4 }
			}
		}
	}

	#A Tragedy
	focus = {
		id = SOV_a_tragedy
		x = 77
		y = 22
		prerequisite = { focus = SOV_reviewing_our_position }
		icon = GFX_Tragedy
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = fascism
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA }
		completion_reward = {
			set_variable = { SOV_a_tragedy_completion_date = global.date }
			if = {
				limit = {
					NOT = {
						has_completed_focus = SOV_a_tragedy
					}
				}
				custom_effect_tooltip = SOV_a_tragedy_tt
			}
			else = {
				custom_effect_tooltip = SOV_a_tragedy_tt2
			}
			hidden_effect = {
				if = { #Anastasy can't be target
					limit = {
						OR = {
							has_country_flag = anastasy_was_killed
							has_country_flag = anastasy_deported_siberia
							has_country_flag = anastasy_still_in_america
						}
					}
					country_event = russia2_russia.346
				}
				else = {
					country_event = russia2_russia.345
				}
			}
		}
	}

	#The Third Rome
	focus = {
		id = SOV_the_third_rome_russia2
		x = 80
		y = 23
		prerequisite = { focus = SOV_a_tragedy }
		prerequisite = { focus = SOV_ruling_with_the_law }
		prerequisite = { focus = SOV_neutralize_foreign_nuissance }
		icon = GFX_Third_Rome
		cost = 8
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			has_government = fascism
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			custom_effect_tooltip = SOV_the_third_rome_tt_russia2
			custom_effect_tooltip = SOV_the_third_rome_tt_2_russia2
			hidden_effect = {
				if = {
					limit = {
						TUR = {
							is_in_faction = no
						}
					}
					TUR = {
						create_faction = istanbul_pact
					}
				}
				every_state = {
					limit = {
						is_romanian_state_core = yes
					}
					set_state_flag = romanian_state_third_rome
					SOV = {
						add_state_claim = PREV
					}
				}
				every_state = {
					limit = {
						is_bulgarian_state_core = yes
					}
					set_state_flag = bulgarian_state_third_rome
					SOV = {
						add_state_claim = PREV
					}
				}
				every_state = {
					limit = {
						is_serbian_state_core = yes
					}
					set_state_flag = serbian_state_third_rome
					SOV = {
						add_state_claim = PREV
					}
				}
				SOV = {
					add_state_claim = 106
					add_state_claim = 105
					add_state_claim = 329
					add_state_claim = 330
					add_state_claim = 820
					add_state_claim = 818
					add_state_claim = 817
					add_state_claim = 819
				}
				106 = {
					set_state_flag = macedonian_state_third_rome
				}
				105 = {
					set_state_flag = montenegro_state_third_rome
				}
				329 = {
					set_state_flag = tannu_state_third_rome
				}
				330 = {
					set_state_flag = mongolian_state_third_rome
				}
				every_state = {
					limit = {
						is_greek_state_core = yes
					}
					set_state_flag = greek_state_third_rome
					SOV = {
						add_state_claim = PREV
					}
				}
				every_state = {
					limit = {
						is_turkey_state_core = yes
					}
					set_state_flag = turkey_state_third_rome
					SOV = {
						add_state_claim = PREV
					}
				}
				every_state = {
					limit = {
						is_iranian_state = yes
					}
					set_state_flag = iranian_state_third_rome
					SOV = {
						add_state_claim = PREV
					}
				}
				every_state = {
					limit = {
						is_afghanistan_state_core = yes
					}
					set_state_flag = afghanistan_state_third_rome
					SOV = {
						add_state_claim = PREV
					}
				}
				every_state = {
					limit = {
						is_finland_state_core = yes
					}
					set_state_flag = finland_state_third_rome
					SOV = {
						add_state_claim = PREV
					}
				}
				every_state = {
					limit = {
						is_estonian_core_state = yes
					}
					set_state_flag = estonia_state_third_rome
					SOV = {
						add_state_claim = PREV
					}
				}
				every_state = {
					limit = {
						is_latvia_core_state = yes
					}
					set_state_flag = latvia_state_third_rome
					SOV = {
						add_state_claim = PREV
					}
				}
				every_state = {
					limit = {
						is_lithuanian_core_state = yes
					}
					set_state_flag = lithuania_state_third_rome
					SOV = {
						add_state_claim = PREV
					}
				}
				every_state = {
					limit = {
						is_polish_core_state = yes
					}
					set_state_flag = polish_state_third_rome
					SOV = {
						add_state_claim = PREV
					}
				}
				set_variable = {
					var = reformation_third_rome
					value = 0
				}
				news_event = {
					id = newsrussia2.128 days = 1
				}
			}
		}
	}

	#The BlackShirts
	focus = {
		id = SOV_the_blackshirts
		x = 88
		y = 20
		prerequisite = { focus = SOV_russia_women_fascist_movement }
		icon = GFX_goal_generic_propaganda
		cost = 5
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			has_government = fascism
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Blackshirts
			unlock_decision_tooltip = SOV_merge_fascist_women_and_blackshirts
		}
	}

	#Russian Nationalism
	focus = {
		id = SOV_russian_nationalism
		x = 88
		y = 21
		prerequisite = { focus = SOV_the_blackshirts }
		icon = GFX_fascist_russian_flag
		cost = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = fascism
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			NOT = {
				country_exists = UKR
				country_exists = BLR
				country_exists = KAZ
				country_exists = TMS
				country_exists = GEO
				country_exists = AZR
				country_exists = ARM
				country_exists = CRI
			}
			ukr_core_is_core_of_sov = yes
		}
		search_filters = { FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA FOCUS_FILTER_ANNEXATION }
		will_lead_to_war_with = UKR
		will_lead_to_war_with = BLR
		will_lead_to_war_with = ARM
		will_lead_to_war_with = GEO
		will_lead_to_war_with = AZR
		will_lead_to_war_with = KAZ
		will_lead_to_war_with = TMS
		will_lead_to_war_with = CRI
		completion_reward = {
			custom_effect_tooltip = gains_core_russian_lost_state_fascist
			hidden_effect = {
				SOV_regain_lost_cores = yes						
				random_country = {
					limit = {
						is_lost_state = yes
						exists = yes
					}
					create_faction = anti_russian_pact
				}
			}
			every_country = {
				limit = {
					is_lost_state = yes
				}
				country_event = { id = russia2_russia.335 hours = 12}
			}
		}
	}

	#Our Future Foes
	focus = {
		id = SOV_our_future_foes
		x = 88
		y = 22
		prerequisite = { focus = SOV_russian_nationalism }
		icon = GFX_goal_generic_territory_or_war
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			is_subject = no
			has_government = fascism
			OR = {
				has_completed_focus = SOV_the_lawyer_remains
				has_completed_focus = SOV_the_tables_have_turned
			}
			custom_trigger_tooltip = {
				tooltip = lost_state_war_against
				NOT = {
					any_country = {
						is_lost_state = yes
						has_war_with = SOV
					}
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			custom_effect_tooltip = SOV_our_future_foes_tt
			country_event = russia2_russia.316
		}
	}

	#Special Russian Forces
	focus = {
		id = SOV_the_special_russian_forces
		x = 88
		y = 23
		prerequisite = { focus = SOV_our_future_foes }
		icon = GFX_Russian_Army
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = fascism
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA FOCUS_FILTER_ARMY_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Russian_special_forces
		}
	}

	#The Tables Have Turned
	focus = {
		id = SOV_the_tables_have_turned
		x = 96
		y = 20
		prerequisite = { focus = SOV_russia_women_fascist_movement }
		icon = GFX_The_tables_have_turned
		cost = 8
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			has_government = fascism
			has_country_flag = order_triumphed_over_law
			has_country_leader = {
				character = SOV_Anastasy_vonsyatsky
				ruling_only = yes
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA FOCUS_FILTER_STABILITY }
		completion_reward = {
			if = {
				limit = {
					has_country_flag = order_triumphed_over_law
					NOT = {
						has_country_leader = {
							character = SOV_Anastasy_vonsyatsky
							ruling_only = yes
						}
					}
				}
				custom_effect_tooltip = error_incompatible_mod_break_game
			}
			add_stability = 0.15
			hidden_effect = {
				add_country_leader_trait = russia2_different_kind_of_fascism
			}
			set_party_name = {
				ideology = fascism
				long_name = SOV_ARNRP_long
				name = SOV_ARNRP
			}
			custom_effect_tooltip = SOV_the_tables_have_turned_tt
			remove_ideas = SOV_Political_Unstability2
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = SOV_Viktor_baydalakov
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = SOV_Anastasy_vonsyatsky
			if = {
				limit = {
					OR = {
						has_country_flag = japan_accept_to_help_give_russian_far_east
						has_country_flag = has_negotiated_with_germany_ressource_rights
						has_country_flag = accept_american_occupation_siberia_after_cw
						has_country_flag = accept_french_factories_after_cw
						has_country_flag = accept_diplomatic_relation_with_italy
						has_country_flag = accept_english_help_for_shipment
					}
				}
				custom_effect_tooltip = SOV_renegotiate_deals_civil_war_tt_unlocker
			}
		}
	}

	#A Matter of Life and Death
	focus = {
		id = SOV_matter_of_life_and_death
		x = 96
		y = 21
		prerequisite = { focus = SOV_the_tables_have_turned }
		icon = GFX_Matter_of_life_and_death
		cost = 10
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = fascism
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Matter_life_and_death
		}
	}

	#The Outside Question
	focus = {
		id = SOV_the_outside_question
		x = 93
		y = 21
		prerequisite = { focus = SOV_the_tables_have_turned }
		icon = GFX_Outside_question
		cost = 5
		ai_will_do = {
			factor = 6
		}
		available = {
			is_subject = no
			has_government = fascism
			has_completed_focus = SOV_our_future_foes
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA }
		completion_reward = {
			country_event = russia2_russia.352
		}
	}

	#Memories
	focus = {
		id = SOV_memories
		x = 99
		y = 21
		prerequisite = { focus = SOV_the_tables_have_turned }
		icon = GFX_focus_ger_oppose_hitler
		cost = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = fascism
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			GER = {
				OR = {
					exists = no
					is_subject_of = ROOT
					has_war_with = ROOT
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA }
		completion_reward = {
			country_event = { id = russia2_russia.338 days = 1 }
		}
	}

	#Imposing Order
	focus = {
		id = SOV_imposing_orders
		x = 96
		y = 22
		prerequisite = { focus = SOV_matter_of_life_and_death }
		icon = GFX_Order_above_all
		cost = 8
		ai_will_do = {
			factor = 4
			modifier = {
				add = 4
				any_country = {
					is_subject_of = ROOT
				}
			}
		}
		available = {
			is_subject = no
			has_government = fascism
			is_major = yes
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Impose_order
			if = {
				limit = {
					any_country = {
						is_subject_of = SOV
						NOT = {
							has_autonomy_state = autonomy_state_magistrate
						}
					}
				}
				every_country = {
					limit = {
						is_subject_of = SOV
						NOT = {
							tag = SOV
							has_autonomy_state = autonomy_state_magistrate
						}
					}
					hidden_effect = {
						SOV = {
							set_autonomy = {
							    target = PREV
								autonomy_state = autonomy_state_magistrate
							}
						}
					}
					custom_effect_tooltip = SOV_imposing_orders_tt
				}
				hidden_effect = {
					every_country = {
						limit = {
							is_subject_of = SOV
							has_autonomy_state = autonomy_state_magistrate
							NOT = {
								tag = SOV
							}
						}
						create_country_leader = {
							name = SOV_State_magistrate_leader
							desc = SOV_State_magistrate_leader_desc
							picture = "gfx/leaders/EUR/Provisional_Government_Fascism.dds"
							expire = "1965.1.1"
							ideology = fascism_ideology
						}
					}
				}
			}
		}
	}

	#Under the Sign of Victory
	focus = {
		id = SOV_under_the_sign_victory
		x = 93
		y = 22
		prerequisite = { focus = SOV_the_outside_question }
		icon = GFX_focus_generic_strike_at_democracy1
		cost = 8
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = fascism
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			add_ideas = SOV_Under_victory
			add_stability = 0.1
			add_war_support = 0.1
		}
	}

	#The Italian Embassy
	focus = {
		id = SOV_italian_embassy
		x = 99
		y = 22
		prerequisite = { focus = SOV_memories }
		icon = GFX_focus_befriend_italy
		cost = 4
		ai_will_do = {
			factor = 5
		}
		available = {
			is_subject = no
			has_government = fascism
			has_completed_focus = SOV_the_outside_question
			if = {
				limit = {
					has_completed_focus = SOV_the_outside_question
				}
				OR = {
					has_idea = SOV_Alliance_with_europe
					has_idea = SOV_Closed_alliance
				}
				NOT = {
					has_country_flag = SOV_fascist_focus_on_europe
				}
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		bypass = {
			has_completed_focus = SOV_the_outside_question
			OR = {
				ITA = {
					OR = {
						exists = no
						is_subject = yes
						has_government = communism
						has_war_with = ROOT
					}
				}
				has_country_flag = SOV_fascist_focus_on_europe
				NOT = {
					has_idea = SOV_Alliance_with_europe
					has_idea = SOV_Closed_alliance
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA }
		completion_reward = {
			ITA = {
				country_event = { id = russia2_italy.9 days = 1 }
			}
		}
	}

	#Tolerance Threshold
	focus = {
		id = SOV_tolerance_threshold
		x = 101
		y = 23
		prerequisite = { focus = SOV_italian_embassy }
		icon = GFX_Tolerance_italy
		cost = 5
		ai_will_do = {
			factor = 4
			modifier = {
				add = 3
				NOT = {
					any_country = {
						is_major = yes
						has_war_with = ITA
						NOT = {
							has_war_with = ROOT
						}
					}
				}
			}
		}
		available = {
			is_subject = no
			has_government = fascism
			has_completed_focus = SOV_the_outside_question
			ITA = {
				has_country_flag = ITA_accepted_embassy_fascist
				NOT = {
					is_subject = yes
					is_faction_leader = yes
					has_war_with = ROOT
					has_government = communism
				}
			}
			OR = {
				has_idea = SOV_Alliance_with_europe
				has_idea = SOV_Closed_alliance
			}
			NOT = {
				has_country_flag = SOV_fascist_focus_on_europe
			}
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA }
		completion_reward = {
			ITA = {
				country_event = { id = russia2_italy.12 days = 1 }
			}
		}
	}

	#Seek Greater Ambitions
	focus = {
		id = SOV_seek_greater_ambitions
		x = 96
		y = 23
		prerequisite = { focus = SOV_italian_embassy }
		prerequisite = { focus = SOV_under_the_sign_victory }
		prerequisite = { focus = SOV_imposing_orders }
		icon = GFX_Greater_russia
		cost = 8
		ai_will_do = {
			factor = 8
		}
		available = {
			is_subject = no
			has_government = fascism
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			custom_effect_tooltip = SOV_seek_greater_ambitions_tt
			hidden_effect = {
				every_state = {
					limit = {
						is_finland_state_core = yes
					}
					set_state_flag = finland_state_greater_russia
					SOV = {
						add_state_claim = PREV
					}
				}
				every_state = {
					limit = {
						is_estonian_core_state = yes
					}
					set_state_flag = estonia_state_greater_russia
					SOV = {
						add_state_claim = PREV
					}
				}
				every_state = {
					limit = {
						is_latvia_core_state = yes
					}
					set_state_flag = latvia_state_greater_russia
					SOV = {
						add_state_claim = PREV
					}
				}
				every_state = {
					limit = {
						is_lithuanian_core_state = yes
					}
					set_state_flag = lithuania_state_greater_russia
					SOV = {
						add_state_claim = PREV
					}
				}
				every_state = {
					limit = {
						is_polish_core_state = yes
					}
					set_state_flag = polish_state_greater_russia
					SOV = {
						add_state_claim = PREV
					}
				}
				every_state = {
					limit = {
						is_sweden_state_core = yes
					}
					set_state_flag = sweden_state_greater_russia
					SOV = {
						add_state_claim = PREV
					}
				}
				every_state = {
					limit = {
						is_norway_state_core = yes
					}
					set_state_flag = norway_state_greater_russia
					SOV = {
						add_state_claim = PREV
					}
				}
				news_event = { id = newsrussia2.135 days = 1 }
			}
		}
	}

	#The New Russian Era
	focus = {
		id = SOV_new_russian_era
		x = 88
		y = 24
		prerequisite = { focus = SOV_the_special_russian_forces }
		prerequisite = { focus = SOV_the_third_rome_russia2 focus = SOV_seek_greater_ambitions }
		icon = GFX_New_russian_era
		cost = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = fascism
			is_major = yes
			surrender_progress < 0.05
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			custom_effect_tooltip = SOV_new_russian_era_tt
			add_state_claim = 463
		}
	}

	#Order with Discipline
	focus = {
		id = SOV_order_with_discipline
		x = 84
		y = 25
		prerequisite = { focus = SOV_new_russian_era }
		prerequisite = { focus = SOV_the_third_rome_russia2 }
		icon = GFX_Orders_with_discipline
		cost = 10
		ai_will_do = {
			factor = 7
		}
		available = {
			has_country_flag = has_formed_third_rome
			is_subject = no
			has_government = fascism
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_ARMY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_order_with_discipline_tt
			add_ideas = SOV_Order_and_discipline
			every_army_leader = {
				add_skill_level = 2
			}
		}
	}

	#The World, Anew
	focus = {
		id = SOV_the_world_anew
		x = 92
		y = 25
		prerequisite = { focus = SOV_new_russian_era }
		prerequisite = { focus = SOV_seek_greater_ambitions }
		icon = GFX_World_anew
		cost = 10
		ai_will_do = {
			factor = 7
		}
		available = {
			has_country_flag = has_formed_greater_russia
			is_subject = no
			has_government = fascism
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA FOCUS_FILTER_ARMY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_the_world_anew_tt
			add_ideas = SOV_World_anew
			every_army_leader = {
				add_attack = 1
				add_logistics = 1
			}
		}
	}

	#The Thoughts of Many
	focus = {
		id = SOV_the_thoughts_of_many
		x = 88
		y = 26
		prerequisite = { focus = SOV_new_russian_era }
		icon = GFX_The_thoughts_of_many
		cost = 10
		ai_will_do = {
			factor = 10
		}
		available = {
			OR = {
				has_country_flag = has_formed_third_rome
				has_country_flag = has_formed_greater_russia
			}
			is_subject = no
			has_government = fascism
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			add_ideas = SOV_Thoughts_continents
			custom_effect_tooltip = SOV_the_thoughts_of_many_tt
		}
	}

	#The Russian Realm
	focus = {
		id = SOV_russian_realm
		x = 88
		y = 27
		prerequisite = { focus = SOV_the_thoughts_of_many }
		icon = GFX_goal_unknown_golden
		cost = 6
		ai_will_do = {
			factor = 10
		}
		available = {
			always = no
			is_subject = no
			has_government = fascism
			is_major = yes
			has_global_flag = sov_national_obligations_allowed
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_GOLDEN_FOCUS FOCUS_FILTER_FASCIST_ANASTASY_RUSSIA FOCUS_FILTER_FASCIST_KONSTANTIN_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = SOV_russian_realm_tt
			add_to_array = { sov_national_obligations_unlocked_indexes = 12 }
			set_variable = { sov_national_obligations_selected_index = 12 }
			if = {
				limit = {
					NOT = {
						has_country_flag = sov_unlocked_national_obligations
					}
				}
				set_country_flag = sov_unlocked_national_obligations
			}
            if = {
				limit = {
					NOT = {
						has_country_flag = sov_open_national_obligations
					}
				}
				set_country_flag = sov_open_national_obligations
			}
		}
	}

	#Another Revolution
	focus = {
		id = SOV_another_revolution
		x = 118
		y = 1
		icon = GFX_focus_spr_anarchism_knows_no_borders
		mutually_exclusive = { focus = SOV_great_purge2 focus = SOV_avoid_purge }
		cost = 7
		ai_will_do = {
			factor = 10
			modifier = {
				add = 90
				OR = {
					has_country_flag = RUS_AI_PETER_ARSHINOV_ANARCHIST_BEHAVIOR
					has_country_flag = RUS_AI_VSEVOLOD_MIKHAILOVICH_EIKHENBAUM_ANARCHIST_BEHAVIOR
					has_country_flag = RUS_AI_ALEXEI_BOROVOI_ANARCHIST_BEHAVIOR
					has_country_flag = RUS_AI_CHAOS_REUNIFY_RUSSIA_ANARCHIST_BEHAVIOR
					has_country_flag = RUS_AI_CHAOS_FULL_RUSSIAN_LEAGUE_ANARCHIST_BEHAVIOR
					has_country_flag = RUS_AI_CHAOS_SHARED_RUSSIAN_LEAGUE_ANARCHIST_BEHAVIOR
				}
			}
			modifier = {
				factor = 0
				NOT = {
					has_country_flag = RUS_AI_PETER_ARSHINOV_ANARCHIST_BEHAVIOR
					has_country_flag = RUS_AI_VSEVOLOD_MIKHAILOVICH_EIKHENBAUM_ANARCHIST_BEHAVIOR
					has_country_flag = RUS_AI_ALEXEI_BOROVOI_ANARCHIST_BEHAVIOR
					has_country_flag = RUS_AI_CHAOS_REUNIFY_RUSSIA_ANARCHIST_BEHAVIOR
					has_country_flag = RUS_AI_CHAOS_FULL_RUSSIAN_LEAGUE_ANARCHIST_BEHAVIOR
					has_country_flag = RUS_AI_CHAOS_SHARED_RUSSIAN_LEAGUE_ANARCHIST_BEHAVIOR
					has_country_flag = RUS_AI_FULL_RANDOM_BEHAVIOR
				}
			}
		}
		available = {
			is_subject = no
			NOT = {
				has_completed_focus = SOV_terrible_fate
				has_completed_focus = SOV_great_purge2
				has_completed_focus = SOV_avoid_purge
				custom_trigger_tooltip = {
					tooltip = SOV_another_revolution_tt
					OR = {
						has_game_rule = {
							rule = sov_fragmentation_status
							option = SOV_FRAGMENTED
						}
						has_game_rule = {
							rule = sov_fragmentation_status
							option = SOV_UTTERLY_FRAGMENTED
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			country_event = { id = russia2_russia.402 }
		}
	}

	#The Black Guard
	focus = {
		id = SOV_black_guard
		x = 118
		y = 2
		prerequisite = { focus = SOV_another_revolution }
		icon = GFX_Black_Guard_focus
		cost = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = black_guard_tt
			custom_effect_tooltip = black_guard_idea_tt
			hidden_effect = {
				set_variable = { army_vigiliance_black_revolution = 0 }
				set_variable = { population_support_black_revolution = 0 }
				add_dynamic_modifier = { modifier = anarchist_black_guard_modifiers }
				add_ideas = SOV_Black_guard_army
				213 = {
					set_state_flag = anarchist_state_black_revolution
				}
				262 = {
					set_state_flag = anarchist_state_black_revolution
				}
				210 = {
					set_state_flag = anarchist_state_black_revolution
				}
				207 = {
					set_state_flag = anarchist_state_black_revolution
				}
				242 = {
					set_state_flag = anarchist_state_black_revolution
				}
				246 = {
					set_state_flag = anarchist_state_black_revolution
				}
				192 = {
					set_state_flag = anarchist_state_black_revolution
				}
				197 = {
					set_state_flag = anarchist_state_black_revolution
				}
				196 = {
					set_state_flag = anarchist_state_black_revolution
				}
				200 = {
					set_state_flag = anarchist_state_black_revolution
				}
				213 = {
					set_state_flag = anarchist_state_black_revolution
				}
				238 = {
					set_state_flag = anarchist_state_black_revolution
				}
				237 = {
					set_state_flag = anarchist_state_black_revolution
				}
				236 = {
					set_state_flag = anarchist_state_black_revolution
				}
				582 = {
					set_state_flag = anarchist_state_black_revolution
				}
				573 = {
					set_state_flag = anarchist_state_black_revolution
				}
				637 = {
					set_state_flag = anarchist_state_black_revolution
				}
				655 = {
					set_state_flag = anarchist_state_black_revolution
				}
				409 = {
					set_state_flag = anarchist_state_black_revolution
				}
				564 = {
					set_state_flag = anarchist_state_black_revolution
				}
				834 = {
					set_state_flag = anarchist_state_black_revolution
				}
				825 = {
					set_state_flag = anarchist_state_black_revolution
				}
				for_each_scope_loop = {
					array = SOV.owned_controlled_states

					if = {
						limit = {
							THIS = {
								OR = {
									state = 234
									state = 235
									state = 218
									state = 227
									state = 226
									state = 203
									state = 198
									state = 199
									state = 201
									state = 193
									state = 259
									state = 221
									state = 228
									state = 225
									state = 224
									state = 241
									state = 194
									state = 204
									state = 243
								}
							}
						}
						add_to_array = { SOV.sov_get_black_revolution_states = THIS }
						THIS = {
							set_state_flag = high_risk_state_black_revolution
						}
					}
					else_if = {
						limit = {
							THIS = {
								OR = {
									state = 263
									state = 209
									state = 244
									state = 208
									state = 216
									state = 215
									state = 827
									state = 828
									state = 233
								}
							}
						}
						add_to_array = { SOV.sov_get_black_revolution_states = THIS }
						THIS = {
							set_state_flag = medium_risk_state_black_revolution_west
						}
					}
					else_if = {
						limit = {
							THIS = {
								OR = {
									state = 575
									state = 565
									state = 563
									state = 561
									state = 657
								}
							}
						}
						add_to_array = { SOV.sov_get_black_revolution_states = THIS }
						THIS = {
							set_state_flag = medium_risk_state_black_revolution_east
						}
					}
					else_if = {
						limit = {
							THIS = {
								OR = {
									state = 584
									state = 585
									state = 405
									state = 742
									state = 732
									state = 586
									state = 404
									state = 589
									state = 588
									state = 590
									state = 583
									state = 572
									state = 653
									state = 580
									state = 403
									state = 571
									state = 570
									state = 40
									state = 654
									state = 569
									state = 578
									state = 568
									state = 567
									state = 830
									state = 831
									state = 832
									state = 823
									state = 882
									state = 881
								}
							}
						}
						add_to_array = { SOV.sov_get_black_revolution_states = THIS }
						THIS = {
							set_state_flag = low_risk_state_black_revolution
						}
					}
					else_if = {
						limit = {
							THIS = {
								OR = {
									state = 579
									state = 577
									state = 576
									state = 516
									state = 824
									state = 878
								}
							}
						}
						add_to_array = { SOV.sov_get_black_revolution_states = THIS }
						THIS = {
							set_state_flag = no_risk_state_black_revolution
						}
					}
				}
			}
		}
	}

	#The End of the Revolution
	focus = {
		id = SOV_end_revoltion_anarchy
		x = 118
		y = 3
		prerequisite = { focus = SOV_black_guard }
		icon = GFX_End_revolution_anarchy
		cost = 3
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
			has_country_flag = end_of_the_revolution
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			hidden_effect = {
				remove_dynamic_modifier = { modifier = anarchist_black_guard_modifiers }
			}
			swap_ideas = {
				remove_idea = SOV_Black_guard_army
				add_idea = SOV_Black_guard_army_2
			}
		}
	}

	#The State of the Country
	focus = {
		id = SOV_state_country
		x = 118
		y = 4
		prerequisite = { focus = SOV_end_revoltion_anarchy }
		icon = GFX_State_country_anarchist
		cost = 2
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			country_event = { id = russia2_russia.403 }
			set_variable = { chaos_triumphed_over_order = 0 }
			hidden_effect = {
				random_owned_state = {
					limit = {
						is_core_of = SOV
						is_owned_and_controlled_by = SOV
						NOT = {
							has_state_flag = small_counter_revolution_resistance_2
							has_state_flag = small_counter_revolution_resistance_3
							has_state_flag = medium_counter_revolution_resistance_1
							has_state_flag = medium_counter_revolution_resistance_2
							has_state_flag = large_counter_revolution_resistance_1
							state = 219
							state = 137
							state = 195
							state = 217
							state = 408
							state = 202
						}
					}
					set_state_flag = small_counter_revolution_resistance_1
				}
				random_owned_state = {
					limit = {
						is_core_of = SOV
						is_owned_and_controlled_by = SOV
						NOT = {
							has_state_flag = small_counter_revolution_resistance_1
							has_state_flag = small_counter_revolution_resistance_3
							has_state_flag = medium_counter_revolution_resistance_1
							has_state_flag = medium_counter_revolution_resistance_2
							has_state_flag = large_counter_revolution_resistance_1
							state = 219
							state = 137
							state = 195
							state = 217
							state = 408
							state = 202
						}
					}
					set_state_flag = small_counter_revolution_resistance_2
				}
				random_owned_state = {
					limit = {
						is_core_of = SOV
						is_owned_and_controlled_by = SOV
						NOT = {
							has_state_flag = small_counter_revolution_resistance_1
							has_state_flag = small_counter_revolution_resistance_2
							has_state_flag = medium_counter_revolution_resistance_1
							has_state_flag = medium_counter_revolution_resistance_2
							has_state_flag = large_counter_revolution_resistance_1
							state = 219
							state = 137
							state = 195
							state = 217
							state = 408
							state = 202
						}
					}
					set_state_flag = small_counter_revolution_resistance_3
				}
				random_owned_state = {
					limit = {
						is_core_of = SOV
						is_owned_and_controlled_by = SOV
						NOT = {
							has_state_flag = small_counter_revolution_resistance_1
							has_state_flag = small_counter_revolution_resistance_2
							has_state_flag = small_counter_revolution_resistance_3
							has_state_flag = medium_counter_revolution_resistance_2
							has_state_flag = large_counter_revolution_resistance_1
							state = 219
							state = 137
							state = 195
							state = 217
							state = 408
							state = 202
						}
					}
					set_state_flag = medium_counter_revolution_resistance_1
				}
				random_owned_state = {
					limit = {
						is_core_of = SOV
						is_owned_and_controlled_by = SOV
						NOT = {
							has_state_flag = small_counter_revolution_resistance_1
							has_state_flag = small_counter_revolution_resistance_2
							has_state_flag = small_counter_revolution_resistance_3
							has_state_flag = medium_counter_revolution_resistance_1
							has_state_flag = large_counter_revolution_resistance_1
							state = 219
							state = 137
							state = 195
							state = 217
							state = 408
							state = 202
						}
					}
					set_state_flag = medium_counter_revolution_resistance_2
				}
				random_owned_state = {
					limit = {
						is_core_of = SOV
						is_owned_and_controlled_by = SOV
						NOT = {
							has_state_flag = small_counter_revolution_resistance_1
							has_state_flag = small_counter_revolution_resistance_2
							has_state_flag = small_counter_revolution_resistance_3
							has_state_flag = medium_counter_revolution_resistance_1
							has_state_flag = medium_counter_revolution_resistance_2
							state = 219
							state = 137
							state = 195
							state = 217
							state = 408
							state = 202
						}
					}
					set_state_flag = large_counter_revolution_resistance_1
				}
				for_each_scope_loop = {
					array = SOV.owned_controlled_states

					if = {
						limit = {
							THIS = {
								NOT = {
									state = 219
									state = 137
									state = 195
									state = 217
									state = 408
									state = 202
								}
							}
						}
						add_to_array = { SOV.sov_recon_rebel_anarchy_states = THIS }
					}
				}
				for_each_scope_loop = {
					array = SOV.owned_controlled_states

					if = {
						limit = {
							THIS = {
								has_state_flag = small_counter_revolution_resistance_1
							}
						}
						add_to_array = { SOV.sov_small_base_resistance_states_1 = THIS }
					}
				}
				for_each_scope_loop = {
					array = SOV.owned_controlled_states

					if = {
						limit = {
							THIS = {
								has_state_flag = small_counter_revolution_resistance_2
							}
						}
						add_to_array = { SOV.sov_small_base_resistance_states_2 = THIS }
					}
				}
				for_each_scope_loop = {
					array = SOV.owned_controlled_states

					if = {
						limit = {
							THIS = {
								has_state_flag = small_counter_revolution_resistance_3
							}
						}
						add_to_array = { SOV.sov_small_base_resistance_states_3 = THIS }
					}
				}
				for_each_scope_loop = {
					array = SOV.owned_controlled_states

					if = {
						limit = {
							THIS = {
								has_state_flag = medium_counter_revolution_resistance_1
							}
						}
						add_to_array = { SOV.sov_medium_base_resistance_states_1 = THIS }
					}
				}
				for_each_scope_loop = {
					array = SOV.owned_controlled_states

					if = {
						limit = {
							THIS = {
								has_state_flag = medium_counter_revolution_resistance_2
							}
						}
						add_to_array = { SOV.sov_medium_base_resistance_states_2 = THIS }
					}
				}
				for_each_scope_loop = {
					array = SOV.owned_controlled_states

					if = {
						limit = {
							THIS = {
								has_state_flag = large_counter_revolution_resistance_1
							}
						}
						add_to_array = { SOV.sov_large_base_resistance_states_1 = THIS }
					}
				}
			}
		}
	}

	#Crush the Anti-Revolutionary
	focus = {
		id = SOV_crush_antirevolutionary
		x = 118
		y = 5
		prerequisite = { focus = SOV_state_country }
		icon = GFX_Crush_the_anti_revolutionnary
		cost = 2
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_crush_antirevolutionary_unlock_decision
		}
	}

	#Send Recon Units
	focus = {
		id = SOV_recon_units
		x = 118
		y = 6
		prerequisite = { focus = SOV_crush_antirevolutionary }
		icon = GFX_Send_recon_unit
		cost = 6
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_recon_units_tt
			hidden_effect = {
				country_event = { id = russia2_russia.414 }
			}
		}
	}

	#Deal with Banditry
	focus = {
		id = SOV_deal_with_banditry
		x = 121
		y = 5
		prerequisite = { focus = SOV_state_country }
		icon = GFX_Deal_with_banditry
		cost = 2
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = unlock_deal_with_banditry_tt
			set_variable = { bounty_lead_to_chaos = 0 }
			hidden_effect = {
				for_each_scope_loop = { #Steppe
					array = SOV.owned_controlled_states

					if = {
						limit = {
							THIS = {
								OR = {
									state = 586
									state = 405
									state = 584
									state = 742
									state = 732
									state = 831
									state = 402
									state = 407
									state = 590
								}
							}
						}
						add_to_array = { SOV.sov_get_steppe_bandit_states = THIS }
					}
				}

				for_each_scope_loop = { #Arctic
					array = SOV.owned_controlled_states

					if = {
						limit = {
							THIS = {
								OR = {
									state = 213
									state = 214
									state = 825
									state = 216
									state = 397
								}
							}
						}
						add_to_array = { SOV.sov_get_arctic_bandit_states = THIS }
					}
				}

				for_each_scope_loop = { #Far East
					array = SOV.owned_controlled_states

					if = {
						limit = {
							THIS = {
								OR = {
									state = 408
									state = 657
									state = 563
									state = 562
								}
							}
						}
						add_to_array = { SOV.sov_get_far_east_bandit_states = THIS }
					}
				}

				for_each_scope_loop = { #Western Siberia
					array = SOV.owned_controlled_states

					if = {
						limit = {
							THIS = {
								OR = {
									state = 570
									state = 577
									state = 516
									state = 568
									state = 576
									state = 580
									state = 653
									state = 572
								}
							}
						}
						add_to_array = { SOV.sov_get_west_siberia_bandit_states = THIS }
					}
				}

				for_each_scope_loop = { #Kuban and Caucasus
					array = SOV.owned_controlled_states

					if = {
						limit = {
							THIS = {
								OR = {
									state = 217
									state = 234
									state = 237
									state = 231
									state = 229
									state = 230
									state = 232
									state = 829
								}
							}
						}
						add_to_array = { SOV.sov_get_kuban_caucasus_bandit_states = THIS }
					}
				}

				for_each_scope_loop = { #Transvolga
					array = SOV.owned_controlled_states

					if = {
						limit = {
							THIS = {
								OR = {
									state = 251
									state = 398
									state = 400
									state = 399
									state = 256
									state = 582
									state = 651
								}
							}
						}
						add_to_array = { SOV.sov_get_transvolga_region_bandit_states = THIS }
					}
				}

				for_each_scope_loop = { #Western Russia
					array = SOV.owned_controlled_states

					if = {
						limit = {
							THIS = {
								OR = {
									state = 202
									state = 195
									state = 206
									state = 200
									state = 137
									state = 242
									state = 227
									state = 241
								}
							}
						}
						add_to_array = { SOV.sov_get_western_russia_bandit_states = THIS }
					}
				}
			}
		}
	}

	#A Helping Hand
	focus = {
		id = SOV_helping_hand
		x = 121
		y = 6
		prerequisite = { focus = SOV_deal_with_banditry }
		icon = GFX_A_helping_hand
		cost = 4
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA FOCUS_FILTER_POLITICAL }
		completion_reward = {
			custom_effect_tooltip = SOV_helping_hand_tt
			add_political_power = 50
			hidden_effect = {
				division_template = {
					name = "Militsii Diviziya"
					is_locked = yes
					division_names_group = SOV_INF_MIL_BLACK_REVOLUTION_01
					priority = 0
					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 }
						infantry = { x = 1 y = 2 }
					}
					support = {
						military_police = { x = 0 y = 0 }
						recon = { x = 0 y = 1 }
					}
				}
				random_owned_controlled_state = {
					limit = {
						has_state_category = city
					}
					create_unit = {
						division = "name = \"1ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
					create_unit = {
						division = "name = \"5ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
					create_unit = {
						division = "name = \"9ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
				}
				random_owned_controlled_state = {
					limit = {
						has_state_category = city
					}
					create_unit = {
						division = "name = \"4ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
					create_unit = {
						division = "name = \"8ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
					create_unit = {
						division = "name = \"15ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
				}
				random_owned_controlled_state = {
					limit = {
						has_state_category = megalopolis
					}
					create_unit = {
						division = "name = \"11ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
					create_unit = {
						division = "name = \"14ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
					create_unit = {
						division = "name = \"10ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
				}
				random_owned_controlled_state = {
					limit = {
						has_state_category = city
					}
					create_unit = {
						division = "name = \"2ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
					create_unit = {
						division = "name = \"7ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
					create_unit = {
						division = "name = \"6ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
				}
				random_owned_controlled_state = {
					limit = {
						has_state_category = city
					}
					create_unit = {
						division = "name = \"3ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
					create_unit = {
						division = "name = \"12ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
					create_unit = {
						division = "name = \"13ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
				}
				random_owned_controlled_state = {
					limit = {
						has_state_category = large_town
					}
					create_unit = {
						division = "name = \"16ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
					create_unit = {
						division = "name = \"20ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
				}
				random_owned_controlled_state = {
					limit = {
						has_state_category = town
					}
					create_unit = {
						division = "name = \"25ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
					create_unit = {
						division = "name = \"19ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
				}
				random_owned_controlled_state = {
					limit = {
						has_state_category = town
					}
					create_unit = {
						division = "name = \"24ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
					create_unit = {
						division = "name = \"17ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
				}
				random_owned_controlled_state = {
					limit = {
						has_state_category = rural
					}
					create_unit = {
						division = "name = \"21ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
					create_unit = {
						division = "name = \"18ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
				}
				random_owned_controlled_state = {
					limit = {
						has_state_category = rural
					}
					create_unit = {
						division = "name = \"22ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
					create_unit = {
						division = "name = \"13ya Militsii Diviziya \" division_template = \"Militsii Diviziya\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
						owner = SOV
					}
				}
			}
		}
	}

	#Forced Quota
	focus = {
		id = SOV_forced_quota
		x = 115
		y = 5
		prerequisite = { focus = SOV_state_country }
		icon = GFX_Forced_quota_anarchist
		cost = 6
		ai_will_do = {
			factor = 6
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			country_event = { id = russia2_russia.420 hours = 12 }
			swap_ideas = {
				remove_idea = SOV_No_work
				add_idea = SOV_No_work_2
			}
			random_owned_controlled_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = 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
				}
			}
			random_owned_controlled_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = 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
				}
			}
			random_owned_controlled_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = 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
				}
			}
		}
	}

	#Forced Labor
	focus = {
		id = SOV_forced_labor
		x = 115
		y = 6
		prerequisite = { focus = SOV_forced_quota }
		icon = GFX_Forced_labor_anarchist
		cost = 10
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			country_event = { id = russia2_russia.421 }
			remove_ideas = SOV_No_work_2
			random_owned_controlled_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
	}

	#Proclamation of the Commune
	focus = {
		id = SOV_proclamation_commune
		x = 116
		y = 7
		prerequisite = { focus = SOV_forced_labor }
		prerequisite = { focus = SOV_recon_units }
		prerequisite = { focus = SOV_helping_hand }
		mutually_exclusive = { focus = SOV_embrace_total_anarchy }
		icon = GFX_Proclaim_the_commune
		cost = 2
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
			has_country_flag = order_has_been_restored
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA }
		completion_reward = {
			add_popularity = {
			    ideology = anarchy
			    popularity = 0.15
			}
		}
	}

	#A Compromise for The Anarchist Ideals
	focus = {
		id = SOV_compromise_anarchist_ideals
		x = 112
		y = 8
		prerequisite = { focus = SOV_proclamation_commune }
		icon = GFX_goal_molotov_ribbentrop_pact
		cost = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_timed_idea = {
				days = 210
				idea = SOV_Anarchist_compromise
			}
			country_event = { id = russia2_russia.445 days = 5 }
		}
	}

	#Anarcho-Syndicalism
	focus = {
		id = SOV_anarcho_syndicalism
		x = 112
		y = 9
		prerequisite = { focus = SOV_compromise_anarchist_ideals }
		mutually_exclusive = { focus = SOV_anarcho_communism }
		mutually_exclusive = { focus = SOV_individualist_anarchism }
		icon = GFX_focus_SOV_organize_wreckers
		cost = 7
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
			has_country_flag = has_elected_anarcho_syndicalism
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA }
		completion_reward = {
			if = {
				limit = {
					NOT = {
						has_country_leader = {
							character = SOV_Vsevolod_mikhailovich_eikhenbaum
							ruling_only = yes
						}
					}
				}
				promote_character = SOV_Vsevolod_mikhailovich_eikhenbaum
				add_country_leader_trait = russia2_poet_and_activist_volin
				add_country_leader_trait = russia2_participation_makhnovist_insurrection_2
			}
			else = {
				add_country_leader_trait = russia2_poet_and_activist_volin
				add_country_leader_trait = russia2_participation_makhnovist_insurrection_2
			}
		}
	}

	#Anarchist Synthetism
	focus = {
		id = SOV_anarchist_synthetism
		x = 112
		y = 10
		prerequisite = { focus = SOV_anarcho_syndicalism }
		icon = GFX_focus_SOV_anarchist_synthetism
		cost = 7
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = SOV_Synthesis_anarchism
			add_political_power = 50
			random_owned_controlled_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Encourage the Creation of Unions
	focus = {
		id = SOV_encourage_cration_of_unions
		x = 112
		y = 12
		prerequisite = { focus = SOV_anarchist_synthetism }
		icon = GFX_focus_YUG_pan_slavic_congress
		cost = 7
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_stability = 0.05
			add_ideas = SOV_Creation_of_union
		}
	}

	#Abolish Wage Slavery
	focus = {
		id = SOV_abolish_wage_slavery
		x = 112
		y = 13
		prerequisite = { focus = SOV_encourage_cration_of_unions }
		prerequisite = { focus = SOV_question_market focus = SOV_transvaluation_values }
		icon = GFX_focus_CZE_german_puppet
		cost = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			swap_ideas = {
				remove_idea = SOV_Creation_of_union
				add_idea = SOV_Creation_of_union_2
			}
			add_stability = 0.05
			add_political_power = 75
			random_owned_controlled_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Anarcho-Communism
	focus = {
		id = SOV_anarcho_communism
		x = 109
		y = 9
		prerequisite = { focus = SOV_compromise_anarchist_ideals }
		mutually_exclusive = { focus = SOV_anarcho_syndicalism }
		mutually_exclusive = { focus = SOV_individualist_anarchism }
		icon = GFX_focus_SOV_anarchist_anarcho_communism_party
		cost = 7
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
			has_country_flag = has_elected_anarcho_communism
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA }
		completion_reward = { #Aron Baron or Piotr Archinov possible leader
			add_country_leader_role = {
				character = SOV_Peter_arshinov
				promote_leader = yes
				country_leader = {
					desc = SOV_Peter_arshinov_desc
					ideology = anarcho_communism_sub
					expire = "1965.1.1.1"
					traits = {
						russia2_dislike_many_politicians
						russia2_participation_makhnovist_insurrection
					}
				}
			}
		}
	}

	#Platformism
	focus = {
		id = SOV_platformism_anarchism
		x = 108
		y = 10
		prerequisite = { focus = SOV_anarcho_communism }
		icon = GFX_focus_SOV_anarchist_platformist
		cost = 7
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			add_ideas = SOV_Anarchist_platformist
		}
	}

	#Follow the Makhnovshchina Model
	focus = {
		id = SOV_follow_makhnovshchina_model
		x = 107
		y = 11
		prerequisite = { focus = SOV_platformism_anarchism }
		icon = GFX_focus_SOV_follow_makhnovschina_model
		cost = 7
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_ARMY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = will_not_remove_mobilization_law
			remove_ideas = SOV_Black_guard_army_2
			army_experience = 25
			add_ideas = SOV_Makhnovshchina_recruitement
			add_ideas = SOV_Makhnovshchina_model_idea
		}
	}

	#Mutualism
	focus = {
		id = SOV_mutualism_anarchism
		x = 110
		y = 11
		prerequisite = { focus = SOV_platformism_anarchism focus = SOV_anarchist_synthetism }
		mutually_exclusive = { focus = SOV_individual_freedom }
		icon = GFX_focus_SOV_merge_plants
		cost = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			add_ideas = SOV_anarchist_mutualism
		}
	}

	#Question of the Market
	focus = {
		id = SOV_question_market
		x = 110
		y = 12
		prerequisite = { focus = SOV_mutualism_anarchism }
		icon = GFX_goal_generic_trade
		cost = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			custom_effect_tooltip = allow_to_change_trade_law
			country_event = { id = russia2_russia.606 }
		}
	}

	#Favor Common Ownership
	focus = {
		id = SOV_favor_common_ownership
		x = 108
		y = 13
		prerequisite = { focus = SOV_question_market }
		prerequisite = { focus = SOV_follow_makhnovshchina_model }
		icon = GFX_focus_SOV_favor_common_ownership
		cost = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					is_valid_russian_state_to_spawn_factories_special_triggers = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			swap_ideas = {
				remove_idea = SOV_Anarchist_platformist
				add_idea = SOV_Anarchist_platformist_2
			}
		}
	}

	#Individualist Anarchism
	focus = {
		id = SOV_individualist_anarchism
		x = 115
		y = 9
		prerequisite = { focus = SOV_compromise_anarchist_ideals }
		mutually_exclusive = { focus = SOV_anarcho_syndicalism }
		mutually_exclusive = { focus = SOV_anarcho_communism }
		icon = GFX_focus_generic_support_the_left_right
		cost = 7
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
			has_country_flag = has_elected_anarcho_individualism
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA }
		completion_reward = { # Alexei Borovoi
			add_country_leader_role = {
				character = SOV_Alexei_borovoi
				promote_leader = yes
				country_leader = {
					desc = SOV_Alexei_borovoi_desc
					ideology = individualist_anarchism_sub
					expire = "1965.1.1.1"
					traits = {
						russia2_writer_orator_teacher_propagandist
					}
				}
			}
		}
	}

	#Egoism
	focus = {
		id = SOV_egoism_anarchism
		x = 116
		y = 10
		prerequisite = { focus = SOV_individualist_anarchism }
		icon = GFX_focus_SOV_anarchism_egoism
		cost = 7
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_political_power = 25
			add_ideas = SOV_Egoism_idea
			add_stability = -0.1
		}
	}

	#Free Market
	focus = {
		id = SOV_free_market
		x = 117
		y = 11
		prerequisite = { focus = SOV_egoism_anarchism }
		icon = GFX_focus_SOV_free_anarchist_market
		cost = 7
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }
		completion_reward = {
			custom_effect_tooltip = will_not_remove_trade_law
			add_ideas = SOV_Free_market
		}
	}

	#Individual Freedom
	focus = {
		id = SOV_individual_freedom
		x = 114
		y = 11
		prerequisite = { focus = SOV_egoism_anarchism focus = SOV_anarchist_synthetism }
		mutually_exclusive = { focus = SOV_mutualism_anarchism }
		icon = GFX_focus_spr_torchbearers_of_tomorrow
		cost = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_ideas = SOV_Individual_freedom_idea
		}
	}

	#Transvaluation of Values
	focus = {
		id = SOV_transvaluation_values
		x = 114
		y = 12
		prerequisite = { focus = SOV_individual_freedom }
		icon = GFX_goal_generic_forceful_treaty
		cost = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_political_power = 50
			swap_ideas = {
				remove_idea = SOV_Individual_freedom_idea
				add_idea = SOV_Individual_freedom_idea_2
			}
		}
	}

	#End Property Exploitation and Privilege
	focus = {
		id = SOV_end_property_exploitataion_privilege
		x = 116
		y = 13
		prerequisite = { focus = SOV_transvaluation_values }
		prerequisite = { focus = SOV_free_market }
		icon = GFX_focus_rom_parties_end
		cost = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_ARMY_RUSSIA FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_political_power = 50
			add_ideas = SOV_No_exploitation_privilege
		}
	}

	#Fate of the Black Guard
	focus = {
		id = SOV_fate_black_guard
		x = 106
		y = 9
		prerequisite = { focus = SOV_compromise_anarchist_ideals }
		icon = GFX_focus_SOV_the_glory_of_the_red_army_alternative
		cost = 7
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
			NOT = {
				has_country_flag = has_elected_anarcho_communism
			}
		}
		bypass = {
			has_country_flag = has_elected_anarcho_communism
		}
		cancel = {
			has_country_flag = has_elected_anarcho_communism
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_ARMY_RUSSIA }
		completion_reward = {
			country_event = { id = russia2_russia.446 days = 1 }
		}
	}

	#Trials of the Red Generals
	focus = {
		id = SOV_trials_red_generals
		x = 105
		y = 10
		prerequisite = { focus = SOV_fate_black_guard }
		icon = GFX_focus_SOV_penal_battalions
		cost = 7
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
			has_country_flag = not_kill_soviet_general_anarchist_russia
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_ARMY_RUSSIA }
		completion_reward = {
			country_event = { id = russia2_russia.448 days = 1 }
		}
	}

	#The Anarchist Election
	focus = {
		id = SOV_anarchist_election
		x = 112
		y = 14
		prerequisite = { focus = SOV_end_property_exploitataion_privilege focus = SOV_favor_common_ownership focus = SOV_abolish_wage_slavery }
		icon = GFX_focus_SOV_anarchist_election
		cost = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_anarchist_election_decision_tt
			custom_effect_tooltip = unlock_justification_wargoal_tt
			hidden_effect = {
				create_ships_variant_for_anarchist_election = yes
				add_dynamic_modifier = { modifier = anarchist_election_modifiers }
				set_variable_anarchist_election_to_0 = yes
				set_temp_variable = { current_party = 0 }
				while_loop_effect = {
					limit = {
						check_variable = {
							var = current_party
							value = sov_anarchist_election_parties^num
							compare = less_than
						}
					}
					set_temp_variable = { random_party_support = 0 }
					randomize_temp_variable = {
						var = random_party_support
						min = 0
						max = 100
						distribution = uniform
					}
					set_variable = { sov_anarchist_election_parties^var:current_party = random_party_support }
					add_to_temp_variable = { current_party = 1 }
				}
				find_highest_in_array = {
					array = sov_anarchist_election_parties
					index = sov_anarchist_election_current_ruling_party_temp
				}
				set_variable = { sov_anarchist_election_current_ruling_party = sov_anarchist_election_current_ruling_party_temp }
				set_variable_for_winning_anarchist_party_election = yes
			}
		}
	}

	#Spread the Revolution to the West
	focus = {
		id = SOV_spread_revolution_west
		x = 114
		y = 15
		prerequisite = { focus = SOV_anarchist_election }
		mutually_exclusive = { focus = SOV_spread_revolution_east }
		mutually_exclusive = { focus = SOV_spread_revolution_both }
		icon = GFX_focus_usa_focus_on_europe
		cost = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			effect_tooltip = {
				every_country = {
					limit = {
						NOT = {
							tag = SOV
						}
						capital_scope = {
							is_on_continent = europe
						}
					}
					add_ideas = SOV_Anarchist_uprising
				}
			}
			hidden_effect = {
				every_country = {
					limit = {
						NOT = {
							tag = SOV
						}
						capital_scope = {
							is_on_continent = europe
						}
					}
					country_event = { id = russia2_generic.45 hours = 1 }
				}
				TUR = {
					country_event = { id = russia2_generic.45 hours = 1 }
				}
			}
			custom_effect_tooltip = SOV_unlock_tooltip_decision_revolution_tt
		}
	}

	#Form the Commune of Europe
	focus = {
		id = SOV_form_commune_europe
		x = 114
		y = 16
		prerequisite = { focus = SOV_spread_revolution_west focus = SOV_spread_revolution_both }
		mutually_exclusive = { focus = SOV_form_commune_eurasia }
		mutually_exclusive = { focus = SOV_form_commune_asia }
		mutually_exclusive = { focus = SOV_form_the_communes_of_peoples }
		icon = GFX_goal_generic_demand_territory
		cost = 10
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
			custom_trigger_tooltip = {
				tooltip = must_owns_150_valid_european_states_tt
				must_own_150_european_state_trigger_anarchist = yes
			}
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			set_cosmetic_tag = EUAR
			hidden_effect = {
				every_state = {
					limit = {
						is_european_valid_state_core = yes
					}
					SOV = {
						add_state_core = PREV
					}
				}
				add_state_core = 124
				add_state_core = 145
				add_state_core = 183
				add_state_core = 182
				add_state_core = 164
				add_state_core = 177
				add_state_core = 116
			}
		}
	}

	#Spread the Revolution to the East
	focus = {
		id = SOV_spread_revolution_east
		x = 116
		y = 15
		prerequisite = { focus = SOV_anarchist_election }
		mutually_exclusive = { focus = SOV_spread_revolution_west }
		mutually_exclusive = { focus = SOV_spread_revolution_both }
		icon = GFX_focus_usa_focus_on_asia
		cost = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			effect_tooltip = {
				every_country = {
					limit = {
						NOT = {
							tag = SOV
						}
						capital_scope = {
							OR = {
								is_on_continent = asia
								is_on_continent = middle_east
							}
						}
					}
					add_ideas = SOV_Anarchist_uprising
				}
			}
			hidden_effect = {
				every_country = {
					limit = {
						NOT = {
							tag = SOV
						}
						capital_scope = {
							OR = {
								is_on_continent = asia
								is_on_continent = middle_east
							}
						}
					}
					country_event = { id = russia2_generic.45 hours = 1 }
				}
			}
			custom_effect_tooltip = SOV_unlock_tooltip_decision_revolution_tt
		}
	}

	#Form the Commune of Asia
	focus = {
		id = SOV_form_commune_asia
		x = 116
		y = 16
		prerequisite = { focus = SOV_spread_revolution_east focus = SOV_spread_revolution_both }
		mutually_exclusive = { focus = SOV_form_commune_eurasia }
		mutually_exclusive = { focus = SOV_form_commune_europe }
		mutually_exclusive = { focus = SOV_form_the_communes_of_peoples }
		icon = GFX_goal_generic_demand_territory
		cost = 10
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
			custom_trigger_tooltip = {
				tooltip = must_owns_130_valid_asian_states_tt
				must_owns_130_valid_asian_states_triger_anarchist = yes
			}
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			set_cosmetic_tag = AAUC
			hidden_effect = {
				every_state = {
					limit = {
						is_asian_valid_state_core = yes
					}
					SOV = {
						add_state_core = PREV
					}
				}
				add_state_core = 537
				add_state_core = 524
				add_state_core = 526
				add_state_core = 645
				add_state_core = 623
				add_state_core = 327
				add_state_core = 624
				add_state_core = 628
				add_state_core = 625
				add_state_core = 627
				add_state_core = 626
				add_state_core = 333
				add_state_core = 334
				add_state_core = 672
				add_state_core = 335
				add_state_core = 667
				add_state_core = 721
				add_state_core = 738
				add_state_core = 668
				add_state_core = 673
				add_state_core = 669
				add_state_core = 647
				add_state_core = 684
				add_state_core = 638
				add_state_core = 646
				add_state_core = 648
				add_state_core = 733
				add_state_core = 422
				add_state_core = 281
				add_state_core = 725
				add_state_core = 639
				add_state_core = 633
				add_state_core = 632
				add_state_core = 650
				add_state_core = 631
				add_state_core = 630
				add_state_core = 642
			}
		}
	}

	#Spread the Revolution to Eurasia
	focus = {
		id = SOV_spread_revolution_both
		x = 108
		y = 15
		prerequisite = { focus = SOV_anarchist_election }
		mutually_exclusive = { focus = SOV_spread_revolution_west }
		mutually_exclusive = { focus = SOV_spread_revolution_east }
		icon = GFX_focus_spr_anarchism_knows_no_borders
		cost = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
			has_country_flag = has_elected_anarcho_individualism
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			effect_tooltip = {
				every_country = {
					limit = {
						NOT = {
							tag = SOV
						}
						capital_scope = {
							OR = {
								is_on_continent = europe
								is_on_continent = asia
								is_on_continent = middle_east
							}
						}
					}
					add_ideas = SOV_Anarchist_uprising
				}
			}
			hidden_effect = {
				every_country = {
					limit = {
						NOT = {
							tag = SOV
						}
						capital_scope = {
							OR = {
								is_on_continent = europe
								is_on_continent = asia
								is_on_continent = middle_east
							}
						}
					}
					country_event = { id = russia2_generic.45 hours = 1 }
				}
			}
			custom_effect_tooltip = SOV_unlock_tooltip_decision_revolution_tt
		}
	}

	#Form the Commune of Eurasia
	focus = {
		id = SOV_form_commune_eurasia
		x = 108
		y = 16
		prerequisite = { focus = SOV_spread_revolution_both }
		mutually_exclusive = { focus = SOV_form_commune_asia }
		mutually_exclusive = { focus = SOV_form_commune_europe }
		mutually_exclusive = { focus = SOV_form_the_communes_of_peoples }
		icon = GFX_goal_generic_demand_territory
		cost = 10
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
			has_country_flag = has_elected_anarcho_individualism
			custom_trigger_tooltip = {
				tooltip = must_owns_275_valid_eurasian_states_tt
				must_owns_275_valid_eurasian_states_trigger_anarchist = yes
			}
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			set_cosmetic_tag = AUEA
			hidden_effect = {
				every_state = {
					limit = {
						is_asian_valid_state_core = yes
					}
					SOV = {
						add_state_core = PREV
					}
				}
				every_state = {
					limit = {
						is_european_valid_state_core = yes
					}
					SOV = {
						add_state_core = PREV
					}
				}
				add_state_core = 124
				add_state_core = 145
				add_state_core = 183
				add_state_core = 182
				add_state_core = 164
				add_state_core = 177
				add_state_core = 116
				add_state_core = 537
				add_state_core = 524
				add_state_core = 526
				add_state_core = 645
				add_state_core = 623
				add_state_core = 327
				add_state_core = 624
				add_state_core = 628
				add_state_core = 625
				add_state_core = 627
				add_state_core = 626
				add_state_core = 333
				add_state_core = 334
				add_state_core = 672
				add_state_core = 335
				add_state_core = 667
				add_state_core = 721
				add_state_core = 738
				add_state_core = 668
				add_state_core = 673
				add_state_core = 669
				add_state_core = 647
				add_state_core = 684
				add_state_core = 638
				add_state_core = 646
				add_state_core = 648
				add_state_core = 733
				add_state_core = 422
				add_state_core = 281
				add_state_core = 725
				add_state_core = 639
				add_state_core = 633
				add_state_core = 632
				add_state_core = 650
				add_state_core = 631
				add_state_core = 630
				add_state_core = 642
			}
		}
	}

	#Form the People's Commune
	focus = {
		id = SOV_form_the_communes_of_peoples
		x = 111
		y = 16
		prerequisite = { focus = SOV_spread_revolution_both focus = SOV_spread_revolution_west focus = SOV_spread_revolution_east }
		mutually_exclusive = { focus = SOV_form_commune_asia }
		mutually_exclusive = { focus = SOV_form_commune_europe }
		mutually_exclusive = { focus = SOV_form_commune_eurasia }
		icon = GFX_focus_SOV_form_peoples_commune_anarchist
		cost = 6
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = unlock_decision_communes_of_peoples_tt
			custom_effect_tooltip = SOV_form_the_communes_of_peoples_tt
		}
	}

	#Training in Africa
	focus = {
		id = SOV_training_anarchist_africa
		x = 110
		y = 17
		prerequisite = { focus = SOV_form_commune_eurasia focus = SOV_form_commune_asia focus = SOV_form_commune_europe focus = SOV_form_the_communes_of_peoples }
		icon = GFX_goal_generic_special_forces
		cost = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
			custom_trigger_tooltip = {
				tooltip = SOV_training_available_africa_tt
				must_owns_10_valid_north_african_states_trigger_anarchist = yes
			}
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA }
		completion_reward = {
			add_ideas = SOV_Extreme_anarchist_training
		}
	}

	#Training in Harsh Cold Weather
	focus = {
		id = SOV_training_harsh_cold_anarchist
		x = 109
		y = 18
		prerequisite = { focus = SOV_training_anarchist_africa }
		icon = GFX_goal_generic_wolf_pack
		cost = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
			OR = {
				100 = {
					is_owned_and_controlled_by = SOV
				}
				101 = {
					is_owned_and_controlled_by = SOV
				}
				463 = {
					is_owned_and_controlled_by = SOV
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA }
		completion_reward = {
			swap_ideas = {
				remove_idea = SOV_Extreme_anarchist_training
				add_idea = SOV_Extreme_anarchist_training_2
			}
		}
	}

	#Training in Harsh Environment
	focus = {
		id = SOV_training_harsh_environment
		x = 108
		y = 19
		prerequisite = { focus = SOV_training_harsh_cold_anarchist }
		icon = GFX_goal_generic_war_with_comintern
		cost = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
			has_terrain = jungle

		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA }
		completion_reward = {
			swap_ideas = {
				remove_idea = SOV_Extreme_anarchist_training_2
				add_idea = SOV_Extreme_anarchist_training_3
			}
		}
	}

	#Spread the Revolution to the Land of Fake Freedom
	focus = {
		id = SOV_spread_revolution_land_fake_freedom
		x = 112
		y = 17
		prerequisite = { focus = SOV_form_commune_eurasia focus = SOV_form_commune_asia focus = SOV_form_commune_europe focus = SOV_form_the_communes_of_peoples }
		icon = GFX_focus_eng_crush_the_dream
		cost = 7
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_spread_revolution_land_fake_freedom_tt
			show_ideas_tooltip = SOV_Anarchist_uprising
			custom_effect_tooltip = SOV_anarchist_uprising_upgrade_tt
			hidden_effect = {
				every_country = {
					limit = {
						NOT = {
							tag = SOV
						}
						capital_scope = {
							OR = {
								is_on_continent = north_america
								is_on_continent = south_america
							}
						}
					}
					country_event = { id = russia2_generic.59 hours = 1 }
				}
			}
		}
	}

	#Spread the Revolution Everywhere
	focus = {
		id = SOV_spread_revolution_everywhere
		x = 112
		y = 18
		prerequisite = { focus = SOV_spread_revolution_land_fake_freedom }
		icon = GFX_focus_SOV_spreadanarchist_revolution_worldwide
		cost = 10
		ai_will_do = {
			factor = 7
		}
		available = {
			is_subject = no
			has_government = anarchy
			custom_trigger_tooltip = {
				tooltip = SOV_spread_revolution_everywhere_condition_tt
				must_owns_15_valid_american_states_trigger_anarchist = yes
			}
		}
		search_filters = { FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_spread_revolution_everywhere_tt
			hidden_effect = {
				every_country = {
					limit = {
						NOT = {
							tag = SOV
							has_idea = SOV_Anarchist_uprising
							has_idea = SOV_Anarchist_uprising_2
							has_idea = SOV_Anarchist_uprising_3
							has_idea = SOV_Anarchist_uprising_4
							has_idea = SOV_Anarchist_uprising_5
							has_idea = SOV_Anarchist_uprising_6
							has_idea = SOV_Anarchist_uprising_7
						}
					}
					country_event = { id = russia2_generic.59 hours = 1 }
				}
			}
			add_ideas = SOV_A_world_without_borders
		}
	}

	#Embrace Total Anarchy
	focus = {
		id = SOV_embrace_total_anarchy
		x = 120
		y = 7
		prerequisite = { focus = SOV_forced_labor }
		prerequisite = { focus = SOV_recon_units }
		prerequisite = { focus = SOV_helping_hand }
		mutually_exclusive = { focus = SOV_proclamation_commune }
		icon = GFX_Embrace_total_anarchy
		cost = 2
		ai_will_do = {
			factor = 7
		}
		available = {
			always = no
			is_subject = no
			has_government = anarchy
			has_country_flag = chaos_has_triumphed
			has_country_flag = black_revolution_turned_civil_war
		}
		search_filters = { FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			add_stability = -0.15
			add_popularity = {
			    ideology = anarchy
			    popularity = 0.15
			}
			for_each_scope_loop = {
				array = global.countries
				if = {
					limit = {
						OR = {
							tag = SOV
							tag = EFR
							tag = SIB
							tag = URA
							tag = KAZ
							tag = TMS
							tag = UZB
							tag = TAJ
							tag = KYR
							tag = GEO
							tag = AZR
							tag = ARM
							tag = DAG
							tag = ROS
							tag = KAL
							tag = CIR
							tag = VLG
							tag = VYA
							tag = TAT
							tag = PRM
							tag = KMI
							tag = KAR
							tag = NOV
							tag = UKR
							tag = BLR
							tag = CRI
						}
					}
					add_to_array = { global.sov_federation_member_starter_anarchist = THIS }
				}
			}
		}
	}

	#The Collapse ...
	focus = {
		id = SOV_the_collapse_total
		x = 121
		y = 8
		prerequisite = { focus = SOV_embrace_total_anarchy }
		icon = GFX_The_Collapse_anarchist_foc
		cost = 15
		ai_will_do = {
			factor = 7
		}
		available = {
			always = no
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		select_effect = {
			country_event = { id = russia2_russia.607 days = 15 }
			set_global_flag = the_great_russian_collapse_is_here
		}
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = sov_russia_is_collpasing_total
			hidden_effect = {
				if = {
					limit = {
						ROOT = {
							is_faction_leader = yes
						}
					}
					dismantle_faction = yes
				}
				set_party_name = {
					ideology = anarchy
					long_name = russia2_anarchy_people_council_russian_state_party
					name = russia2_anarchy_people_council_russian_state_party
				}
				country_event = { id = russia2_russia.614 }
			}
		}
	}

	#We are Stronger Together
	focus = {
		id = SOV_we_are_stronger_together
		x = 123
		y = 9
		prerequisite = { focus = SOV_the_collapse_total }
		icon = GFX_we_are_stronger_together_foc
		cost = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			always = no
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			create_faction = russian_league_free_nation
			for_each_scope_loop = {
				array = global.sov_federation_member_starter_anarchist
				if = {
					limit = {
						NOT = {
							tag = SOV
						}
					}
					SOV = {
						add_to_faction = PREV
						add_ideas = SOV_Head_of_the_league_idea
					}
					add_ideas = SOV_Member_of_the_league_idea
				}
			}
			custom_effect_tooltip = sov_formation_of_the_league_and_head
		}
	}

	#Future of the League
	focus = {
		id = SOV_future_of_the_league
		x = 125
		y = 10
		prerequisite = { focus = SOV_we_are_stronger_together }
		icon = GFX_Embrace_total_anarchy
		cost = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			always = no
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = sov_future_of_the_league_tt
			hidden_effect = {
				country_event = { id = russia2_russia.619 }
			}
		}
	}

	#Cooperation Between the League
	focus = {
		id = SOV_copperation_between_league
		x = 131
		y = 11
		prerequisite = { focus = SOV_future_of_the_league }
		icon = GFX_Embrace_total_anarchy
		cost = 6
		ai_will_do = {
			factor = 7
		}
		available = {
			always = no
			is_subject = no
			has_government = anarchy
			NOT = {
				has_completed_focus = SOV_reform_russia
			}
		}
		search_filters = { FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = sov_every_members_receive_2_civ_fac
			every_country = {
				limit = {
					OR = {
						tag = EFR
						tag = SIB
						tag = URA
						tag = KAZ
						tag = TMS
						tag = UZB
						tag = TAJ
						tag = KYR
						tag = GEO
						tag = AZR
						tag = ARM
						tag = DAG
						tag = ROS
						tag = KAL
						tag = CIR
						tag = VLG
						tag = VYA
						tag = TAT
						tag = PRM
						tag = KMI
						tag = KAR
						tag = NOV
						tag = UKR
						tag = BLR
						tag = CRI
					}
				}
				random_owned_state = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
			}
			hidden_effect = {

			}
		}
	}

	#Reform Russia
	focus = {
		id = SOV_reform_russia
		x = 122
		y = 11
		prerequisite = { focus = SOV_future_of_the_league }
		mutually_exclusive = { focus = SOV_a_tight_grip }
		mutually_exclusive = { focus = SOV_semi_devolution }
		icon = GFX_focus_SOV_reform_russia_anarchy
		cost = 2
		ai_will_do = {
			factor = 7
		}
		available = {
			always = no
			is_subject = no
			has_government = anarchy
			has_country_flag = has_chosen_reform_russia_anarchist
		}
		search_filters = { FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			set_global_flag = reunification_war_is_ongoing_anarchist
			custom_effect_tooltip = sov_choosing_this_path_will_reform_russia_as_we_know_it
			custom_effect_tooltip = every_members_league_will_lose_idea_war
			hidden_effect = {
				every_country = {
					limit = {
						OR = {
							tag = EFR
							tag = SIB
							tag = URA
							tag = KAZ
							tag = TMS
							tag = UZB
							tag = TAJ
							tag = KYR
							tag = GEO
							tag = AZR
							tag = ARM
							tag = DAG
							tag = ROS
							tag = KAL
							tag = CIR
							tag = VLG
							tag = VYA
							tag = TAT
							tag = PRM
							tag = KMI
							tag = KAR
							tag = NOV
							tag = UKR
							tag = BLR
							tag = CRI
						}
					}
					country_event = { id = russia2_russia.630 }
				}
				every_country = {
					limit = {
						OR = {
							has_idea = SOV_Member_of_the_league_idea
							has_idea = SOV_Member_of_the_league_idea_1
							has_idea = SOV_Member_of_the_league_idea_2
							has_idea = SOV_Member_of_the_league_idea_3
						}
					}
					remove_ideas = SOV_Member_of_the_league_idea
					remove_ideas = SOV_Member_of_the_league_idea_1
					remove_ideas = SOV_Member_of_the_league_idea_2
					remove_ideas = SOV_Member_of_the_league_idea_3
				}
				remove_ideas = SOV_Head_of_the_league_idea
				remove_ideas = SOV_Head_of_the_league_idea_1
				remove_ideas = SOV_Head_of_the_league_idea_2
				remove_ideas = SOV_Head_of_the_league_idea_3
			}
		}
	}

	#Destroy the Opposition
	focus = {
		id = SOV_destroy_opposition_anarchy
		x = 122
		y = 12
		prerequisite = { focus = SOV_reform_russia }
		icon = GFX_focus_SOV_destroy_opposition_anarchy
		cost = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			always = no
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = declare_war_on_members_who_left_the_league
			hidden_effect = {
				country_event = { id = russia2_russia.632 days = 20 }
				for_each_scope_loop = {
					array = global.sov_ancient_federation_member_who_left_the_league
					if = {
						limit = {
							exists = yes
							NOT = {
								tag = SOV
							}
						}
						SOV = {
							declare_war_on = {
								target = PREV
								type = annex_everything
							}
						}
						every_country = {
							limit = {
								is_in_faction_with = SOV
								has_country_flag = is_friend_of_anarchist_russia_league_edition
							}
							declare_war_on = {
								target = PREV
								type = annex_everything
							}
						}
					}
				}
				for_each_scope_loop = {
					array = global.sov_ancient_federation_member_who_left_the_league
					if = {
						limit = {
							exists = yes
							NOT = {
								tag = SOV
							}
						}
						every_country = {
							limit = {
								NOT = {
									is_in_faction_with = SOV
								}
								has_country_flag = is_enemy_of_anarchist_russia_league_edition
							}
							give_military_access = PREV
						}
					}
				}
				every_country = {
					limit = {
						exists = yes
						has_country_flag = is_neutral_of_anarchist_russia_league_edition
					}
					leave_faction = yes
					country_event = { id = russia2_russia.623 }
				}
			}
		}
	}

	#Reintegrate the Russian Territories
	focus = {
		id = SOV_reintegrate_russian_territories
		x = 122
		y = 13
		prerequisite = { focus = SOV_destroy_opposition_anarchy }
		icon = GFX_focus_SOV_reintegrate_the_russian_territories
		cost = 10
		ai_will_do = {
			factor = 7
		}
		available = {
			always = no
			is_subject = no
			has_government = anarchy
			NOT = {
				has_global_flag = reunification_war_is_ongoing_anarchist
			}
			custom_trigger_tooltip = {
				tooltip = not_any_country_is_enemy_of_anarchist_russia
				NOT = {
					any_country = {
						exists = yes
						has_country_flag = is_enemy_of_anarchist_russia_league_edition
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = annex_members_who_were_loyal_anarchists
			hidden_effect = {
				set_cosmetic_tag = FTRS
				every_country = {
					limit = {
						OR = {
							has_country_flag = is_friend_of_anarchist_russia_league_edition
							has_country_flag = is_neutral_of_anarchist_russia_league_edition
						}
					}
					SOV = {
						annex_country = {
							target = PREV
						}
					}
				}
				every_state = {
					limit = {
						sov_is_base_russian_state_trigger = yes
					}
					SOV = {
						add_state_core = PREV
					}
				}
			}
		}
	}

	#A Tight Grip
	focus = {
		id = SOV_a_tight_grip
		x = 125
		y = 11
		prerequisite = { focus = SOV_future_of_the_league }
		mutually_exclusive = { focus = SOV_reform_russia }
		mutually_exclusive = { focus = SOV_semi_devolution }
		icon = GFX_focus_SOV_a_tight_grip
		cost = 2
		ai_will_do = {
			factor = 7
		}
		available = {
			always = no
			is_subject = no
			has_government = anarchy
			has_country_flag = has_chosen_a_tight_grip_anarchist
		}
		search_filters = { FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = sov_choosing_this_path_will_puppet_russian_state
			custom_effect_tooltip = sov_some_members_will_not_be_convince_by_reform
			hidden_effect = {
				every_country = {
					limit = {
						OR = {
							tag = EFR
							tag = SIB
							tag = URA
							tag = KAZ
							tag = TMS
							tag = UZB
							tag = TAJ
							tag = KYR
							tag = GEO
							tag = AZR
							tag = ARM
							tag = DAG
							tag = ROS
							tag = KAL
							tag = CIR
							tag = VLG
							tag = VYA
							tag = TAT
							tag = PRM
							tag = KMI
							tag = KAR
							tag = NOV
							tag = UKR
							tag = BLR
							tag = CRI
						}
					}
					country_event = { id = russia2_russia.638 }
				}
			}
		}
	}

	#Convince the Disputants
	focus = {
		id = SOV_convince_disputants
		x = 125
		y = 12
		prerequisite = { focus = SOV_a_tight_grip }
		icon = GFX_Embrace_total_anarchy
		cost = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			always = no
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = SOV_SOV_convince_disputants_tt
			if = {
				limit = {
					any_country = {
						check_variable = {
							var = opinion_russian_anarchist_puppet_reform_plan
							value = 85
							compare = greater_than_or_equals
						}
					}
				}
				every_country = {
					limit = {
						check_variable = {
							var = opinion_russian_anarchist_puppet_reform_plan
							value = 85
							compare = greater_than_or_equals
						}
					}
					set_country_flag = is_already_agreing_anarchist_russia_puppet_plan
				}
			}
		}
	}

	#Implement the Project
	focus = {
		id = SOV_implement_the_project
		x = 125
		y = 13
		prerequisite = { focus = SOV_convince_disputants }
		icon = GFX_Embrace_total_anarchy
		cost = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			always = no
			is_subject = no
			has_government = anarchy
			custom_trigger_tooltip = {
				tooltip = every_league_member_accept_project_reform
				every_members_league_accept_puppet_project_tri = yes
			}
		}
		search_filters = { FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = every_members_league_will_be_turned_puppet_supervised
			hidden_effect = {
				every_country = {
					limit = {
						OR = {
							tag = EFR
							tag = SIB
							tag = URA
							tag = KAZ
							tag = TMS
							tag = UZB
							tag = TAJ
							tag = KYR
							tag = GEO
							tag = AZR
							tag = ARM
							tag = DAG
							tag = ROS
							tag = KAL
							tag = CIR
							tag = VLG
							tag = VYA
							tag = TAT
							tag = PRM
							tag = KMI
							tag = KAR
							tag = NOV
							tag = UKR
							tag = BLR
							tag = CRI
						}
					}
					SOV = {
						set_autonomy = {
							target = PREV
							autonomy_state = autonomy_supervised_free_territory
						}
					}
				}
			}
		}
	}

	#Semi Devolution
	focus = {
		id = SOV_semi_devolution
		x = 128
		y = 11
		prerequisite = { focus = SOV_future_of_the_league }
		mutually_exclusive = { focus = SOV_reform_russia }
		mutually_exclusive = { focus = SOV_a_tight_grip }
		icon = GFX_Embrace_total_anarchy
		cost = 8
		ai_will_do = {
			factor = 7
		}
		available = {
			always = no
			is_subject = no
			has_government = anarchy
			has_country_flag = has_chosen_semi_devolution_anarchist
		}
		search_filters = { FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = sov_choose_two_beneficiary_for_rule
		}
	}

	#Choose the Beneficiary
	focus = {
		id = SOV_choose_beneficiary
		x = 128
		y = 12
		prerequisite = { focus = SOV_semi_devolution }
		icon = GFX_Embrace_total_anarchy
		cost = 10
		ai_will_do = {
			factor = 7
		}
		available = {
			always = no
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = SOV_choose_beneficiary_decision_tt
		}
	}

	#Officialize the Act
	focus = {
		id = SOV_officialize_act
		x = 128
		y = 13
		prerequisite = { focus = SOV_choose_beneficiary }
		icon = GFX_Embrace_total_anarchy
		cost = 10
		ai_will_do = {
			factor = 7
		}
		available = {
			always = no
			is_subject = no
			has_government = anarchy
			custom_trigger_tooltip = {
				tooltip = not_any_country_whose_fate_hasnt_been_chosen_anarchist_semi_devolution
				NOT = {
					any_country = {
						OR = {
							AND = {
								has_country_flag = is_neighbor_of_from_first_beneficiary
								OR = {
									has_country_flag = is_neighbor_of_from_second_beneficiary
									has_country_flag = is_neighbor_of_from_sov_beneficiary
								}
							}
							AND = {
								has_country_flag = is_neighbor_of_from_second_beneficiary
								OR = {
									has_country_flag = is_neighbor_of_from_first_beneficiary
									has_country_flag = is_neighbor_of_from_sov_beneficiary
								}
							}
							AND = {
								has_country_flag = is_neighbor_of_from_sov_beneficiary
								OR = {
									has_country_flag = is_neighbor_of_from_first_beneficiary
									has_country_flag = is_neighbor_of_from_second_beneficiary
								}
							}
							NOT = {
								AND = {
									has_country_flag = is_neighbor_of_from_first_beneficiary
									has_country_flag = is_neighbor_of_from_second_beneficiary
									has_country_flag = is_neighbor_of_from_sov_beneficiary
								}
							}
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			every_country = {
				limit = {
					OR = {
						tag = EFR
						tag = SIB
						tag = URA
						tag = KAZ
						tag = TMS
						tag = UZB
						tag = TAJ
						tag = KYR
						tag = GEO
						tag = AZR
						tag = ARM
						tag = DAG
						tag = ROS
						tag = KAL
						tag = CIR
						tag = VLG
						tag = VYA
						tag = TAT
						tag = PRM
						tag = KMI
						tag = KAR
						tag = NOV
						tag = UKR
						tag = BLR
						tag = CRI
					}
					has_country_flag = is_neighbor_of_from_first_beneficiary
					NOT = {
						tag = event_target:FROM_first_beneficiary
						tag = event_target:FROM_second_beneficiary
						tag = SOV
					}
				}
				event_target:FROM_first_beneficiary = {
					set_autonomy = {
						target = PREV
						autonomy_state = autonomy_supervised_free_territory
					}
				}
			}
			every_country = {
				limit = {
					OR = {
						tag = EFR
						tag = SIB
						tag = URA
						tag = KAZ
						tag = TMS
						tag = UZB
						tag = TAJ
						tag = KYR
						tag = GEO
						tag = AZR
						tag = ARM
						tag = DAG
						tag = ROS
						tag = KAL
						tag = CIR
						tag = VLG
						tag = VYA
						tag = TAT
						tag = PRM
						tag = KMI
						tag = KAR
						tag = NOV
						tag = UKR
						tag = BLR
						tag = CRI
					}
					has_country_flag = is_neighbor_of_from_second_beneficiary
					NOT = {
						tag = event_target:FROM_first_beneficiary
						tag = event_target:FROM_second_beneficiary
						tag = SOV
					}
				}
				event_target:FROM_second_beneficiary = {
					set_autonomy = {
						target = PREV
						autonomy_state = autonomy_supervised_free_territory
					}
				}
			}
			every_country = {
				limit = {
					OR = {
						tag = EFR
						tag = SIB
						tag = URA
						tag = KAZ
						tag = TMS
						tag = UZB
						tag = TAJ
						tag = KYR
						tag = GEO
						tag = AZR
						tag = ARM
						tag = DAG
						tag = ROS
						tag = KAL
						tag = CIR
						tag = VLG
						tag = VYA
						tag = TAT
						tag = PRM
						tag = KMI
						tag = KAR
						tag = NOV
						tag = UKR
						tag = BLR
						tag = CRI
					}
					has_country_flag = is_neighbor_of_from_sov_beneficiary
					NOT = {
						tag = event_target:FROM_first_beneficiary
						tag = event_target:FROM_second_beneficiary
						tag = SOV
					}
				}
				SOV = {
					set_autonomy = {
						target = PREV
						autonomy_state = autonomy_supervised_free_territory
					}
				}
			}
		}
	}

	#Centralization of the Free Territory
	focus = {
		id = SOV_centralization_free_territory
		x = 125
		y = 14
		prerequisite = { focus = SOV_reintegrate_russian_territories focus = SOV_implement_the_project focus = SOV_officialize_act }
		icon = GFX_Embrace_total_anarchy
		cost = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			always = no
			is_subject = no
			has_government = anarchy
			has_country_flag = sov_finished_anarchy_reform_chaos
		}
		search_filters = { FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
		}
	}

	#Spread Anarchism Beyond our Neighbors
	focus = {
		id = SOV_spread_anarchism_beyond_our_neighbors
		x = 125
		y = 15
		prerequisite = { focus = SOV_centralization_free_territory }
		icon = GFX_Embrace_total_anarchy
		cost = 5
		ai_will_do = {
			factor = 7
		}
		available = {
			always = no
			is_subject = no
			has_government = anarchy
		}
		search_filters = { FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = will_receive_wargoal_agains_minor_neighbor_nation
			custom_effect_tooltip = unlock_justification_wargoal_tt
		}
	}

	#Rebirth
	focus = {
		id = SOV_rebirth
		x = 118
		y = 20
		prerequisite = { focus = SOV_spread_revolution_everywhere focus = SOV_spread_anarchism_beyond_our_neighbors }
		icon = GFX_goal_unknown_golden
		cost = 6
		ai_will_do = {
			factor = 10
		}
		available = {
			always = no
			is_subject = no
			has_government = anarchy
			is_major = yes
			has_global_flag = sov_national_obligations_allowed
			if = {
				limit = {
					has_idea = SOV_Exiled_russia
				}
				NOT = {
					has_idea = SOV_Exiled_russia
				}
			}
		}
		search_filters = { FOCUS_FILTER_GOLDEN_FOCUS FOCUS_FILTER_ANARCHY_PROCLAMATION_COMMUNE_RUSSIA FOCUS_FILTER_ANARCHY_TOTAL_ANARCHY_RUSSIA }
		completion_reward = {
			custom_effect_tooltip = SOV_coming_soon
			custom_effect_tooltip = SOV_rebirth_tt
			add_to_array = { sov_national_obligations_unlocked_indexes = 13 }
			set_variable = { sov_national_obligations_selected_index = 13 }
			if = {
				limit = {
					NOT = {
						has_country_flag = sov_unlocked_national_obligations
					}
				}
				set_country_flag = sov_unlocked_national_obligations
			}
            if = {
				limit = {
					NOT = {
						has_country_flag = sov_open_national_obligations
					}
				}
				set_country_flag = sov_open_national_obligations
			}
		}
	}
}
