### search_filters = {FOCUS_FILTER_POLITICAL}
### search_filters = {FOCUS_FILTER_RESEARCH}
### search_filters = {FOCUS_FILTER_INDUSTRY}
### search_filters = {FOCUS_FILTER_STABILITY}
### search_filters = {FOCUS_FILTER_WAR_SUPPORT}
### search_filters = {FOCUS_FILTER_MANPOWER}
### search_filters = {FOCUS_FILTER_ANNEXATION}
### search_filters = {FOCUS_FILTER_INTERNAL_AFFAIRS}
### search_filters = {FOCUS_FILTER_ARMY_XP}
### search_filters = {FOCUS_FILTER_NAVY_XP}
### search_filters = {FOCUS_FILTER_AIR_XP}
### search_filters = {FOCUS_FILTER_BALANCE_OF_POWER}
### search_filters = {FOCUS_FILTER_POLITICAL_CHARACTER}
### search_filters = {FOCUS_FILTER_MILITARY_CHARACTER}
### search_filters = {FOCUS_FILTER_INTERNATIONAL_TRADE}
### search_filters = {FOCUS_FILTER_HISTORICAL}

# CONSTANT FOR INNER CIRCLE TIMES (This is Focus cost so x7 to get the days) - THE CONSTANTS USED IN THE EVENT FILE need to be these values x7
@inner_circle_time_tier_1 = 20
@inner_circle_time_tier_2 = 20
@inner_circle_time_tier_3 = 40

focus_tree = {
	id = german_focus
	
	country = {
		factor = 0
		
		modifier = {
			add = 10
			tag = GER
		}
	}

	initial_show_position = {
		x = 76
		y = 0
	}

	
	
	#Focus Path shortcuts	
	shortcut = {
		name = GER_oppose_hitler_shortcut
		target = GER_oppose_hitler_ww 
		scroll_wheel_factor = 0.485
		trigger = {
			has_dlc = "Gotterdammerung"
		}
	}

	shortcut = {
		name = GER_oppose_hitler_shortcut
		target = GER_oppose_hitler
		scroll_wheel_factor = 0.55
		trigger = {
			NOT = { has_dlc = "Gotterdammerung" }
		}
	}

	shortcut = {
		name = GER_historical_path_shortcut
		target = GER_remilitarize_the_rhineland
		scroll_wheel_factor = 0.469 #Optional parameter, if left unset will use existing zoomlevel. Warning: there's no good way for this to respect client resolution.
		trigger = {
			always = yes
			# If FALSE, this will not display. If true, it will not supercede allow conditions of target focus.
		}
	}

	shortcut = {
		name = GER_economic_path_shortcut
		target = GER_construct_the_reichsautobahn 
		scroll_wheel_factor = 0.75
	}

	shortcut = {
		name = GER_naval_doctrine_shortcut
		target = GER_strengthen_the_kriegsmarine
		scroll_wheel_factor = 1.0
	}
	
	shortcut = {
		name = GER_air_doctrine_shortcut
		target = GER_expanding_the_luftwaffe
		scroll_wheel_factor = 1.0
	}

	shortcut = {
		name = GER_military_doctrine_shortcut
		target = GER_develop_modern_maneuver_warfare
		scroll_wheel_factor = 1.0
	}

	continuous_focus_position = { x = 500 y = 1300 }

	inlay_window = {
		id = ger_inner_circle_inlay_window
		position = { x = 4500 y = 1150 }
	}
	
	default = no

	alternate_icon_set = FOCUS_ICON_SET_HISTORICAL_KEY_FOCUS
	#alternate_icon_set = FOCUS_ALTERNATE_ICONS
	# ==> Loc key for toggle button : FOCUS_ALTERNATE_ICONS
	# ==> GFX for icon on toggle button : GFX_FOCUS_ALTERNATE_ICONS

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



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




	focus = {
		id = GER_prioritize_economic_growth
		icon = GFX_focus_usa_reestablish_the_gold_standard
		
		mutually_exclusive = { focus = GER_the_four_year_plan }
		x = 45
		y = 0
		cost = 5
		#relative_position_id = GER_strengthen_the_kriegsmarine

		available = {
			NOT = {
				has_dynamic_modifier = { modifier = GER_economy_of_conquest_modifier }
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			
			add_ideas = civilian_economy

			custom_effect_tooltip = generic_skip_one_line_tt
			add_tech_bonus = {
				name = GER_the_four_year_plan
				bonus = 1.50
				uses = 2
				name = industry
				technology = concentrated_industry3
				technology = concentrated_industry4
				technology = dispersed_industry3 
		        technology = dispersed_industry4
		    }
			custom_effect_tooltip = generic_skip_one_line_tt
			add_stability = -0.1
			add_popularity = {
			    ideology = ROOT
			    popularity = -0.1
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			every_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				random_select_amount = 2
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_ludwig_erhard

			custom_effect_tooltip = generic_skip_one_line_tt

			#custom_effect_tooltip = remove_political_advisor
			#show_ideas_tooltip = hjalmar_schacht
			if = { 
				limit = {
					has_dynamic_modifier = { modifier = GER_mefo_bills_modifier }
				}
				custom_effect_tooltip = {
					localization_key = remove_political_advisor_no_trait_tt
					CHARACTER = hjalmar_schacht
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			GER_stop_rearmament = yes

		}
	}
	
	focus = {
		id = GER_currency_reforms
		icon = GFX_focus_generic_currency_reforms
		prerequisite = { focus = GER_prioritize_economic_growth }

		x = -3
		y = 1
		relative_position_id = GER_prioritize_economic_growth
		cost = 5
		available = {
			NOT = { has_idea = GER_mefo_bills_ended }
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			every_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				random_select_amount = 2
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_consumer_goods_factor = -0.2
				tooltip = consumer_goods_factor_tt
			}
		}
	}
	
	focus = {
		id = GER_lower_taxes
		icon = GFX_focus_mex_privatisation
		prerequisite = { focus = GER_currency_reforms }

		x = -1
		y = 1
		relative_position_id = GER_currency_reforms
		cost = 5
		available = {
			NOT = {
				has_idea = GER_mefo_bills_ended
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }

		completion_reward = {
			add_stability = 0.05
			add_popularity = {
			    ideology = ROOT
			    popularity = 0.05
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_consumer_goods_factor = -0.15
				tooltip = consumer_goods_factor_tt
			}
		}
	}

	focus = {
		id = GER_abolish_price_controls
		icon = GFX_focus_ARG_anti_corruption_policies
		prerequisite = { focus = GER_lower_taxes }

		x = -1
		y = 1
		relative_position_id = GER_lower_taxes
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_stability = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_consumer_goods_factor = -0.15
				tooltip = consumer_goods_factor_tt
			}
		}
	}
	
	focus = {
		id = GER_increased_trade
		icon = GFX_goal_generic_positive_trade_relations
		prerequisite = { focus = GER_abolish_price_controls }

		x = -1
		y = 1
		relative_position_id = GER_abolish_price_controls
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }

		completion_reward = {
			POR = {
				add_opinion_modifier = {
					target = GER
					modifier = GER_autarky_trade_opinion
				}
				GER = {
					add_opinion_modifier = {
						target = PREV
						modifier = GER_german_trade_opinion
					}
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_resource_trade_cost_bonus_per_factory = 1
				tooltip = resource_trade_cost_bonus_per_factory_tt
				
			}
		}
	}
	
	focus = {
		id = GER_housing_developments
		icon = GFX_focus_generic_low_cost_housing
		prerequisite = { focus = GER_currency_reforms }

		x = 1
		y = 1
		relative_position_id = GER_currency_reforms
		cost = 5
		available = {
			OR ={
				763 = { #Köningsberg
					is_owned_and_controlled_by = ROOT
				}
				56 = { #Weser-Ems
					is_owned_and_controlled_by = ROOT
				}
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			if = {
				limit = {
					763 = { #Köningsberg
						is_owned_and_controlled_by = ROOT
					}
				}
				763 = { set_state_category = large_city }
			}
			if = {
				limit = {
					56 = { #Weser-Ems
						is_owned_and_controlled_by = ROOT
					}
				}
				56 = { set_state_category = large_city }
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			every_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
				}
				random_select_amount = 2
				add_extra_state_shared_building_slots = 1
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_production_speed_buildings_factor = 0.05
				tooltip = production_speed_buildings_factor_tt
			}
		}
	}
	
	focus = {
		id = GER_workers_rights
		icon = GFX_focus_generic_workers
		prerequisite = { focus = GER_housing_developments }

		x = 1
		y = 1
		relative_position_id = GER_housing_developments
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_popularity = {
			    ideology = ROOT
			    popularity = 0.05
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_production_factory_max_efficiency_factor = 0.05
				tooltip = production_factory_max_efficiency_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_factory_efficiency_gain_factor = 0.05
				tooltip = production_factory_efficiency_gain_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_factory_start_efficiency_factor = 0.05
				tooltip = production_factory_start_efficiency_factor_tt
			}
			add_to_variable = { 
				GER_industrial_line_change_production_efficiency_factor = 0.05
				tooltip = line_change_production_efficiency_factor_tt
			}
		}
	}

	focus = {
		id = GER_industrial_expansion
		icon = GFX_focus_generic_modernize_industry
		prerequisite = { focus = GER_housing_developments }
		prerequisite = { focus = GER_lower_taxes }

		x = 1
		y = 1
		relative_position_id = GER_lower_taxes
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			modify_building_resources = {
        	   building = synthetic_refinery
        	   resource = rubber
        	   amount = 1
        	}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_industrial_capacity_factory = 0.05
				tooltip = industrial_capacity_factory_tt
			}
			add_to_variable = { 
				GER_industrial_industrial_capacity_dockyard = 0.05
				tooltip = industrial_capacity_dockyard_tt
			}
			add_to_variable = { 
				GER_industrial_research_speed_factor = 0.05
				tooltip = research_speed_factor_tt 
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			if = {
				limit = {
					has_idea = ig_faben
				}
				swap_ideas = {
					remove_idea = ig_faben
					add_idea = GER_ig_faben_improved
				}
			}
			else = {
				effect_tooltip = {
					swap_ideas = {
						remove_idea = ig_faben
						add_idea = GER_ig_faben_improved
					}
				}
			}

		}
	}
	
	focus = {
		id = GER_invest_in_vereinigte_stahlwerke
		icon = GFX_focus_GER_vereinigte_stahlwerke
		prerequisite = { focus = GER_industrial_expansion }
		prerequisite = { focus = GER_abolish_price_controls }

		x = -1
		y = 1
		relative_position_id = GER_industrial_expansion
		cost = 5
		available = {
			42 = {
				is_fully_controlled_by = ROOT
				is_demilitarized_zone = no
			}
			has_tech = excavation2
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }

		completion_reward = {
			if = {	
				limit = {
					42 = {
						is_fully_controlled_by = ROOT
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
					}
				}
				42 = {
					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
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			42 = {
				add_resource = {
					type = steel
					amount = 8
				}
				add_resource = {
					type = tungsten
					amount = 2
				}
				add_resource = {
					type = chromium
					amount = 2
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = GER_invest_in_vereinigte_stahlwerke
				bonus = 1
				uses = 1
				category = excavation_tech
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_recovering_economy_modifier_local_resources_factor = 0.05
				tooltip = local_resources_factor_tt
			}

		}
	}
	
	focus = {
		id = GER_agricultural_reforms
		icon = GFX_focus_generic_farmland
		prerequisite = { focus = GER_industrial_expansion }
		prerequisite = { focus = GER_workers_rights }

		x = 1
		y = 1
		relative_position_id = GER_industrial_expansion
		cost = 5
		available = {
			has_tech = advanced_machine_tools
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			if = {
				limit = {
					909 = {
						is_owned_and_controlled_by = ROOT
					}
				}
				909 = { add_extra_state_shared_building_slots = 1 }
			}
			if = {
				limit = {
					61 = {
						is_owned_and_controlled_by = ROOT
					}
				}
				61 = { add_extra_state_shared_building_slots = 1 }
			}
			if = {
				limit = {
					62 = {
						is_owned_and_controlled_by = ROOT
					}
				}
				62 = { add_extra_state_shared_building_slots = 1 }
			}
			if = {
				limit = {
					63 = {
						is_owned_and_controlled_by = ROOT
					}
				}
				63 = { add_extra_state_shared_building_slots = 1 }
			}
			if = {
				limit = {
					5 = {
						is_owned_and_controlled_by = ROOT
					}
				}
				5 = { add_extra_state_shared_building_slots = 1 }
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_consumer_goods_factor = -0.1
				tooltip = consumer_goods_factor_tt
			}

		}
	}

	focus = {
		id = GER_urbanization
		icon = GFX_focus_generic_full_employment
		prerequisite = { focus = GER_agricultural_reforms }

		x = 1
		y = 1
		relative_position_id = GER_agricultural_reforms
		cost = 5
		available = {
			OR ={
				59 = { #Hannover
					is_owned_and_controlled_by = ROOT
				}
				978 = { #Baden
					is_owned_and_controlled_by = ROOT
				}
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			
			if = {
				limit = {
					59 = { #Hannover
						is_owned_and_controlled_by = ROOT
					}
				}
				59 = { set_state_category = metropolis }
			}
			if = {
				limit = {
					978 = { #Baden
						is_owned_and_controlled_by = ROOT
					}
				}
				978 = { set_state_category = metropolis }
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_industrial_capacity_factory = 0.05
				tooltip = industrial_capacity_factory_tt
			}
			add_to_variable = { 
				GER_industrial_industrial_capacity_dockyard = 0.05
				tooltip = industrial_capacity_dockyard_tt
			}
		}
	}
	
	focus = {
		id = GER_wirtschaftswunder
		icon = GFX_focus_GER_wirtschaftswunder
		prerequisite = { focus = GER_invest_in_vereinigte_stahlwerke }
		prerequisite = { focus = GER_agricultural_reforms }

		x = 1
		y = 1
		relative_position_id = GER_invest_in_vereinigte_stahlwerke
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }

		completion_reward = {

			every_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				random_select_amount = 2
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_replace_recovering_economy_with_wirtschaftswunder_tt
			add_to_variable = { 
				GER_industrial_consumer_goods_factor = -0.15
				tooltip = consumer_goods_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_speed_buildings_factor = 0.1
				tooltip = production_speed_buildings_factor_tt
			}
			
			hidden_effect = { 
				remove_dynamic_modifier = { modifier = GER_recovering_economy_modifier }
				add_dynamic_modifier = { modifier = GER_wirtschaftswunder_modifier }
			}

		}
	}
	
	focus = {
		id = GER_mass_production
		icon = GFX_focus_generic_military_industry
		prerequisite = { focus = GER_wirtschaftswunder }

		x =-1
		y = 1
		relative_position_id = GER_wirtschaftswunder
		cost = 5
		available = {
			OR = {
				has_war = yes
				threat > 0.15
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_production_lack_of_resource_penalty_factor = -0.05
				tooltip = production_lack_of_resource_penalty_factor_tt
			}
			add_to_variable = { 
				GER_industrial_industrial_capacity_factory = 0.05
				tooltip = industrial_capacity_factory_tt
			}
			add_to_variable = { 
				GER_industrial_industrial_capacity_dockyard = 0.05
				tooltip = industrial_capacity_dockyard_tt
			}

		}
	}

	focus = {
		id = GER_build_defense_industry
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = GER_wirtschaftswunder }

		x = 1
		y = 1
		relative_position_id = GER_wirtschaftswunder
		cost = 5
		available = {
			OR = {
				has_war = yes
				threat > 0.3
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
	}
	
	focus = {
		id = GER_war_production
		icon = GFX_focus_generic_mass_production
		prerequisite = { focus = GER_mass_production }
		prerequisite = { focus = GER_build_defense_industry }

		x = 1
		y = 1
		relative_position_id = GER_mass_production
		cost = 10
		available = {
			has_war_with_major = yes
		}

		continue_if_invalid = yes

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_industrial_capacity_factory = 0.05
				tooltip = industrial_capacity_factory_tt
			}
			add_to_variable = { 
				GER_industrial_industrial_capacity_dockyard = 0.05
				tooltip = industrial_capacity_dockyard_tt
			}
			add_to_variable = { 
				GER_industrial_conversion_cost_civ_to_mil_factor = -0.2
				tooltip = conversion_cost_civ_to_mil_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_factory_max_efficiency_factor = 0.05
				tooltip = production_factory_max_efficiency_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_factory_efficiency_gain_factor = 0.05
				tooltip = production_factory_efficiency_gain_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_factory_start_efficiency_factor = 0.05
				tooltip = production_factory_start_efficiency_factor_tt
			}
			add_to_variable = { 
				GER_industrial_line_change_production_efficiency_factor = 0.05
				tooltip = line_change_production_efficiency_factor_tt
			}

		}
	}


	focus = {
		id = GER_construct_the_reichsautobahn
		icon = GFX_focus_generic_road_investment
		prerequisite = { focus = GER_prioritize_economic_growth focus = GER_the_four_year_plan }

		x = 3
		y = 1
		relative_position_id = GER_prioritize_economic_growth
		cost = 5
		available = {
			OR = {
				has_full_control_of_state = 64 #Brandenburg
				has_full_control_of_state = 59 #Hannover
				has_full_control_of_state = 60 #Thüringen
				has_full_control_of_state = 54 #Franken
			}
		}
		bypass = {
			has_civil_war = no
			NOT = { has_full_control_of_state = 64 }
			NOT = {	has_full_control_of_state = 59 }
			NOT = {	has_full_control_of_state = 60 }
			NOT = {	has_full_control_of_state = 54 }
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			custom_effect_tooltip = GER_autobahn_tt
			hidden_effect = {
				64 = {
					if = {
						limit = { is_controlled_by = ROOT }
						add_building_construction = {
							type = infrastructure
							level = 5
							instant_build = yes
						}
					}
				}
				59 = {
					if = {
						limit = { is_controlled_by = ROOT }

						add_building_construction = {
							type = infrastructure
							level = 5
							instant_build = yes
						}
					}
				}
				60 = {
					if = {
						limit = { is_controlled_by = ROOT }
						add_building_construction = {
							type = infrastructure
							level = 5
							instant_build = yes
						}
					}
				}
				54 = {
					if = {
						limit = { is_controlled_by = ROOT }
						add_building_construction = {
							type = infrastructure
							level = 5
							instant_build = yes
						}
					}
				}
			}		
		}
	}
	
	focus = {
		id = GER_build_the_rur_dam
		icon = GFX_focus_generic_hydroelectric_energy
		prerequisite = { focus = GER_construct_the_reichsautobahn }

		x = -1
		y = 1
		relative_position_id = GER_construct_the_reichsautobahn
		cost = 5
		available = {
			51 = { 
				is_fully_controlled_by = ROOT
				is_demilitarized_zone = no 
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			if = {
				limit = {
					51 = {
						free_building_slots = {
							building = industrial_complex
							size > 0
							include_locked = yes
						}
					}
				}
				51 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			51 = {
				add_building_construction = {
					type = dam
					level = 1
					instant_build = yes
					province = {
						id = 3547
					}
				}
			}
			custom_effect_tooltip = {
				localization_key = building_state_modifier|dam
				INDENT = "    "
			}
		}
	}
	
	focus = {
		id = GER_kdf_wagen_factories
		icon = GFX_focus_GER_kdf_wagen
		prerequisite = { focus = GER_construct_the_reichsautobahn }

		x = 1
		y = 1
		relative_position_id = GER_construct_the_reichsautobahn
		cost = 2
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			
			if = {
				limit = {
					has_war = yes
				}
				if = {
					limit = {
						59 = {
							is_fully_controlled_by = ROOT
							free_building_slots = {
								building = arms_factory
								size > 2
								include_locked = yes
							}
						}
					}
					59 = { #Hannover
						add_extra_state_shared_building_slots = 3
						add_building_construction = {
							type = arms_factory
							level = 3
							instant_build = yes
						}
					}
				}
				else = {
					random_owned_state = {
						limit = {
							is_controlled_by = ROOT
							free_building_slots = {
								building = arms_factory
								size > 2
								include_locked = yes
							}
						}
						add_extra_state_shared_building_slots = 3
						add_building_construction = {
							type = arms_factory
							level = 3
							instant_build = yes
						}
					}
				}
			}
			else_if = { #if at peace
				if = {
					limit = {
						59 = {
							is_fully_controlled_by = ROOT
							free_building_slots = {
								building = arms_factory
								size > 2
								include_locked = yes
							}
						}
					}
					59 = { #Hannover
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
							type = industrial_complex
							level = 2
							instant_build = yes
						}
					}
				}
				else = {
					random_owned_state = {
						limit = {
							is_controlled_by = ROOT
							free_building_slots = {
								building = industrial_complex
								size > 1
								include_locked = yes
							}
						}
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
							type = industrial_complex
							level = 2
							instant_build = yes
						}
					}
				}
			}
		}
	}
	
	focus = {
		id = GER_expand_the_reichsautobahn_south
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = GER_construct_the_reichsautobahn }

		x = -3
		y = 1
		relative_position_id = GER_construct_the_reichsautobahn
		cost = 5
		available = {
			OR = {
				53 = { #Niederbayern
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				52 = { #Oberbayern
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				152 = { #Upper Austria
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				4 = { #Lower Austria
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
			}
		}
		bypass = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			custom_effect_tooltip = GER_expand_the_reichsautobahn_south_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			if = {
				limit = {
					53 = { #Niederbayern
						infrastructure < 5
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				53 = { 
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					52 = { #Oberbayern
						infrastructure < 5
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				52 = { 
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					152 = { #Upper Austria
						infrastructure < 5
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				152 = { 
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					4 = { #Lower Austria
						infrastructure < 5
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				4 = { 
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}

			if = {
				limit = {
					52 = { #Oberbayern
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					152 = { #Upper Austria
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					4 = { #Lower Austria
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				#Regensburg - Wien
				build_railway = {
					path = { 9515 9681 3703 9665 11651 704 11666 }
				}
			}
		}
	}
	
	focus = {
		id = GER_expand_the_reichsautobahn_east
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = GER_construct_the_reichsautobahn }

		x = 3
		y = 1
		relative_position_id = GER_construct_the_reichsautobahn
		cost = 5
		available = {
			OR = {
				68 = { #Ostmark
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				63 = { #Hinterpommern
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				807 = { #Gdynia
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				85 = { #Danzig
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
			}
		}
		bypass = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			custom_effect_tooltip = GER_expand_the_reichsautobahn_east_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			if = {
				limit = {
					68 = { #Ostmark
						infrastructure < 5
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				68 = { 
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					63 = { #Hinterpommern
						infrastructure < 5
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				63 = { 
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					807 = { #Gdynia
						infrastructure < 5
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				807 = { 
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					85 = { #Danzig
						infrastructure < 5
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				85 = { 
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}

			if = {
				limit = {
					63 = { #Hinterpommern
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					807 = { #Gdynia
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					85 = { #Danzig
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				#Köslin - Danzig
				build_railway = {
					path = { 11372 11343 9263 362 }
				}
			}
		}
	}

	focus = {
		id = GER_develop_heraeus_facilities
		icon = GFX_focus_ARG_develop_the_electricity_sector
		prerequisite = { focus = GER_construct_the_reichsautobahn }

		x = 0
		y = 2
		relative_position_id = GER_construct_the_reichsautobahn
		cost = 10
		available = {
			industrial_complex > 49
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			add_research_slot = 1

			custom_effect_tooltip = generic_skip_one_line_tt

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
				}
				prioritize = { 56 }
				add_resource = {
					type = tungsten
					amount = 2
				}
				add_resource = {
					type = chromium
					amount = 2
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = GER_develop_heraeus_facilities
				bonus = 1
				uses = 1
				category = electronics
			}

		}
	}
	
	focus = {
		id = GER_the_four_year_plan

		icon = GFX_focus_GER_the_four_year_plan
		alternate_icon = GFX_focus_GER_the_four_year_plan_historical

		mutually_exclusive = { focus = GER_prioritize_economic_growth }
		x = 6
		y = 0
		relative_position_id = GER_prioritize_economic_growth
		cost = 5
		available = {

		}
		
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			every_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				random_select_amount = 2
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = GER_the_four_year_plan
				bonus = 1.50
				uses = 2
				name = industry
				technology = concentrated_industry3
				technology = concentrated_industry4
				technology = dispersed_industry3 
		        technology = dispersed_industry4
		    }
		}
	}
	
	focus = {
		id = GER_autarky_efforts
		icon = GFX_focus_GER_autarky_ambitions
		prerequisite = { focus = GER_the_four_year_plan  }

		x = 2
		y = 1
		relative_position_id = GER_the_four_year_plan
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			every_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
				}
				random_select_amount = 4
				add_extra_state_shared_building_slots = 1
			}
			custom_effect_tooltip = generic_skip_one_line_tt


			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_gain_autarkic_economy_lock_free_trade_tt
			add_ideas = autarkic_economy

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_improve_trade_relations_tt
			every_other_country = {
				limit = {
					is_in_faction_with = PREV
				}	
				add_opinion_modifier = {
					target = GER
					modifier = GER_autarky_trade_opinion
				}
				GER = {
					add_opinion_modifier = {
						target = PREV
						modifier = GER_german_trade_opinion
					}
				}
			}

			POR = {
				add_opinion_modifier = {
					target = GER
					modifier = GER_autarky_trade_opinion
				}
				GER = {
					add_opinion_modifier = {
						target = PREV
						modifier = GER_german_trade_opinion
					}
				}
			}
		}
	}
	
	focus = {
		id = GER_institute_price_controls
		icon = GFX_focus_generic_price_controls
		prerequisite = { focus = GER_autarky_efforts }

		x = 0
		y = 1
		relative_position_id = GER_autarky_efforts
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_stability = -0.05
			add_popularity = {
			    ideology = ROOT
			    popularity = -0.05
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					OR = {
						has_dynamic_modifier = { modifier = GER_mefo_bills_modifier }
						has_dynamic_modifier = { modifier = GER_economy_of_conquest_modifier }
					}
				}
				GER_modify_industrial_modifier = yes
				custom_effect_tooltip = GER_reduce_increasing_consumer_goods_tt
				subtract_from_variable = { GER_monthly_consumer_goods_increase = GER_change_monthly_CG_price_controls }
			}
			else = {
				GER_modify_industrial_modifier = yes
				add_to_variable = { 
					GER_industrial_consumer_goods_factor = -0.1
					tooltip = consumer_goods_factor_tt
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_unlock_price_controls_decision_tt
		}
	}
	
	focus = {
		id = GER_establish_the_reichswerke
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = GER_autarky_efforts }

		x = -1
		y = 2
		relative_position_id = GER_autarky_efforts
		cost = 5
		available = {
			custom_trigger_tooltip = {
				tooltip = GER_industrial_consumer_goods_factor_limit_tt
				check_variable = { GER_industrial_consumer_goods_factor < 0.9 }
			}
		}

		continue_if_invalid = yes

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				prioritize = { 59 }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				add_resource = {
					type = steel
					amount = 6
				}
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = GER_establish_the_reichswerke
				bonus = 1
				uses = 1
				category = excavation_tech
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_unlock_reichswerke_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_consumer_goods_factor = 0.1
				tooltip = consumer_goods_factor_tt
			}
			if = {
				limit = {
					OR = {
						has_dynamic_modifier = { modifier = GER_mefo_bills_modifier }
						has_dynamic_modifier = { modifier = GER_economy_of_conquest_modifier }
					}
				}
				GER_add_mefo_bills_penalty = yes
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_add_or_modify_wehrwirtschaft = yes
			add_to_variable = { 
				GER_wehrwirtschaft_local_resources_factor = 0.05
				tooltip = local_resources_factor_tt
			}

		}
	}
	
	focus = {
		id = GER_seize_foreign_industries
		icon = GFX_focus_DEN_heavy_regulations
		prerequisite = { focus = GER_establish_the_reichswerke }

		x = -1
		y = 1
		relative_position_id = GER_establish_the_reichswerke
		cost = 5
		available = {
			custom_trigger_tooltip = {
				tooltip = GER_industrial_consumer_goods_factor_limit_tt
				check_variable = { GER_industrial_consumer_goods_factor < 0.9 }
			}
			any_controlled_state = {
				NOT = { is_core_of = ROOT }
				is_fully_controlled_by = ROOT
				OR = {
					steel > 24
					aluminium > 19
					oil > 14
					tungsten > 9
					chromium > 9
				}
			}
		}

		cancel = {
			NOT = {
				any_controlled_state = {
					is_core_of = ROOT
					OR = {
						steel > 25
						aluminium > 20
						oil > 15
						tungsten > 10
						chromium > 10
					}
				}
			}
		}

		bypass = {
			OR = {
				has_resources_in_country = {
					resource = steel
					amount > 799
					extracted = yes
				}
				any_subject_country = {
					has_resources_in_country = {
						resource = steel
						amount > 799
						extracted = yes
					}
				}
			}
			OR = {
				has_resources_in_country = {
					resource = aluminium
					amount > 499
					extracted = yes
				}
				any_subject_country = {
					has_resources_in_country = {
						resource = aluminium
						amount > 499
						extracted = yes
					}
				}
			}
			OR = {
				has_resources_in_country = {
					resource = tungsten
					amount > 99
					extracted = yes
				}
				any_subject_country = {
					has_resources_in_country = {
						resource = tungsten
						amount > 99
						extracted = yes
					}
				}
			}
			OR = {
				has_resources_in_country = {
					resource = chromium
					amount > 99
					extracted = yes
				}
				any_subject_country = {
					has_resources_in_country = {
						resource = chromium
						amount > 99
						extracted = yes
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			random_controlled_state = {
				limit = {
					NOT = { is_core_of = ROOT }
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_controlled_state = {
				limit = {
					NOT = { is_core_of = ROOT }
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			every_controlled_state = {
				limit = {
					NOT = { 
						is_core_of = ROOT 
						any_neighbor_state = {
							controller = {
								has_war_with = ROOT
							}
						}	
					}
					is_fully_controlled_by = ROOT
					is_on_continent = europe
					OR = {
						steel > 19
						aluminium > 10
						oil > 9
						tungsten > 9
						chromium > 9
					}
				}
				random_select_amount = 5
				add_dynamic_modifier = { 
					modifier = GER_nationalized_industries_modifier
					scope = GER
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = GER_seize_foreign_industries
				bonus = 0.5
				uses = 1
				category = excavation_tech
			}
			add_equipment_to_stockpile = {
				type = train_equipment
				amount = 20
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_consumer_goods_factor = 0.1
				tooltip = consumer_goods_factor_tt
			}
			if = {
				limit = {
					OR = {
						has_dynamic_modifier = { modifier = GER_mefo_bills_modifier }
						has_dynamic_modifier = { modifier = GER_economy_of_conquest_modifier }
					}
				}
				GER_add_mefo_bills_penalty = yes
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_modify_wehrwirtschaft_modifier_tt
			add_to_variable = { 
				GER_wehrwirtschaft_local_resources_factor = 0.05
				tooltip = local_resources_factor_tt
			}
			custom_effect_tooltip = generic_skip_one_line_tt

		}
	}
	
	focus = {
		id = GER_coal_liquefaction
		icon = GFX_goal_generic_oil_refinery
		prerequisite = { focus = GER_autarky_efforts }

		x = 1
		y = 2
		relative_position_id = GER_autarky_efforts
		cost = 5
		available = {
			custom_trigger_tooltip = {
				tooltip = GER_industrial_consumer_goods_factor_limit_tt
				check_variable = { GER_industrial_consumer_goods_factor < 0.9 }
			}
		}

		continue_if_invalid = yes

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = synthetic_refinery
						size > 0
						include_locked = yes
					}
				}
				prioritize = { 65 }
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = synthetic_refinery
					level = 1
					instant_build = yes
				}
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt
			
			add_tech_bonus = {
				name = GER_coal_liquefaction
				bonus = 1
				uses = 1
				category = synth_resources
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_consumer_goods_factor = 0.1
				tooltip = consumer_goods_factor_tt
			}
			if = {
				limit = {
					OR = {
						has_dynamic_modifier = { modifier = GER_mefo_bills_modifier }
						has_dynamic_modifier = { modifier = GER_economy_of_conquest_modifier }
					}
				}
				GER_add_mefo_bills_penalty = yes
			}

			GER_add_or_modify_wehrwirtschaft = yes
			add_to_variable = { 
				GER_wehrwirtschaft_production_speed_synthetic_refinery_factor = 0.1
				tooltip = production_speed_synthetic_refinery_factor_tt
			}
			add_to_variable = { 
				GER_wehrwirtschaft_production_speed_fuel_silo_factor = 0.1
				tooltip = production_speed_fuel_silo_factor_tt
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt
	
			if = {
				limit = {
					has_idea = ig_faben
				}
				swap_ideas = {
					remove_idea = ig_faben
					add_idea = GER_ig_faben_improved
				}
			}
			else = {
				effect_tooltip = {
					swap_ideas = {
						remove_idea = ig_faben
						add_idea = GER_ig_faben_improved
					}
				}
			}
		}
	}
	
	focus = {
		id = GER_subsidize_hoesch_benzin
		icon = GFX_focus_GER_subsidize_hoesch_benzin
		prerequisite = { focus = GER_coal_liquefaction }

		x = -1
		y = 1
		relative_position_id = GER_coal_liquefaction
		cost = 5
		available = {
			custom_trigger_tooltip = {
				tooltip = GER_industrial_consumer_goods_factor_limit_tt
				check_variable = { GER_industrial_consumer_goods_factor < 0.9 }
			}
			has_tech = oil_processing
		}

		continue_if_invalid = yes

		bypass = {
			OR = {
				has_resources_in_country = {
					resource = oil
					amount > 149
					extracted = yes
				}
				any_subject_country = {
					has_resources_in_country = {
						resource = oil
						amount > 149
						extracted = yes
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = synthetic_refinery
						size > 0
						include_locked = yes
					}
				}
				prioritize = { 57 }
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = synthetic_refinery
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_consumer_goods_factor = 0.1
				tooltip = consumer_goods_factor_tt
			}
			if = {
				limit = {
					OR = {
						has_dynamic_modifier = { modifier = GER_mefo_bills_modifier }
						has_dynamic_modifier = { modifier = GER_economy_of_conquest_modifier }
					}
				}
				GER_add_mefo_bills_penalty = yes
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_modify_wehrwirtschaft_modifier_tt
			add_to_variable = { 
				GER_wehrwirtschaft_production_oil_factor = 0.1
				tooltip = production_oil_factor_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = GER_subsidize_hoesch_benzin
				bonus = 1
				uses = 1
				category = synth_resources
			}

		}
	}
	
	focus = {
		id = GER_establish_buna_werke
		icon = GFX_focus_generic_rubber
		prerequisite = { focus = GER_coal_liquefaction }

		x = 1
		y = 1
		relative_position_id = GER_coal_liquefaction
		cost = 5
		available = {
			custom_trigger_tooltip = {
				tooltip = GER_industrial_consumer_goods_factor_limit_tt
				check_variable = { GER_industrial_consumer_goods_factor < 0.9 }
			}
			has_tech = rubber_processing
		}

		continue_if_invalid = yes

		bypass = {
			OR = {
				has_resources_in_country = {
					resource = rubber
					amount > 99
					extracted = yes
				}
				any_subject_country = {
					has_resources_in_country = {
						resource = rubber
						amount > 99
						extracted = yes
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
        	random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = synthetic_refinery
						size > 0
						include_locked = yes
					}
				}
				prioritize = { 65 }
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = synthetic_refinery
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			modify_building_resources = {
        	   building = synthetic_refinery
        	   resource = rubber
        	   amount = 2
        	}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = GER_establish_buna_werke
				bonus = 1
				uses = 1
				category = synth_resources
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_consumer_goods_factor = 0.1
				tooltip = consumer_goods_factor_tt
			}
			if = {
				limit = {
					OR = {
						has_dynamic_modifier = { modifier = GER_mefo_bills_modifier }
						has_dynamic_modifier = { modifier = GER_economy_of_conquest_modifier }
					}
				}
				GER_add_mefo_bills_penalty = yes
			}
		}
	}
	
	focus = {
		id = GER_autarky_achieved
		icon = GFX_focus_GER_autarky_achieved
		prerequisite = { focus = GER_seize_foreign_industries }
		prerequisite = { focus = GER_subsidize_hoesch_benzin }
		prerequisite = { focus = GER_establish_buna_werke }

		x = 2
		y = 1
		relative_position_id = GER_seize_foreign_industries
		cost = 5     
		available = { 
			OR = {
				has_resources_in_country = {
					resource = steel
					amount > 799 #This needs to correspond to the Bypass values in the previous focuses
					extracted = yes
				}
				any_subject_country = {
					has_resources_in_country = {
						resource = steel
						amount > 799 #This needs to correspond to the Bypass values in the previous focuses
						extracted = yes
					}
				}
			}
			OR = {
				has_resources_in_country = {
					resource = aluminium
					amount > 199 #This needs to correspond to the Bypass values in the previous focuses
					extracted = yes
				}
				any_subject_country = {
					has_resources_in_country = {
						resource = aluminium
						amount > 199 #This needs to correspond to the Bypass values in the previous focuses
						extracted = yes
					}
				}
			}
			OR = {
				has_resources_in_country = {
					resource = tungsten
					amount > 99 #This needs to correspond to the Bypass values in the previous focuses
					extracted = yes
				}
				any_subject_country = {
					has_resources_in_country = {
						resource = tungsten
						amount > 99 #This needs to correspond to the Bypass values in the previous focuses
						extracted = yes
					}
				}
			}
			OR = {
				has_resources_in_country = {
					resource = rubber
					amount > 49 #This needs to correspond to the Bypass values in the previous focuses
					extracted = yes
				}
				any_subject_country = {
					has_resources_in_country = {
						resource = rubber
						amount > 49 #This needs to correspond to the Bypass values in the previous focuses
						extracted = yes
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			GER_autarky_achieved_effects = yes
			
			custom_effect_tooltip = generic_skip_one_line_tt
			if = {
				limit = { #Notify that you will get an improved version of the Trade Law
					NOT = { has_idea = autarkic_economy }
				}
				custom_effect_tooltip = GER_improve_autarkic_economy_tt
			}
			else = { #Get the improved version of the Trade Law
				swap_ideas = {
					remove_idea = autarkic_economy
					add_idea = autarkic_economy_improved
				}
			}			

			#custom_effect_tooltip = generic_skip_one_line_tt

			#custom_effect_tooltip = GER_modify_wehrwirtschaft_modifier_tt
			#add_to_variable = { 
			#	GER_wehrwirtschaft_production_speed_buildings_factor = 0.05
			#	tooltip = production_speed_buildings_factor_tt
			#}
		}
	}


	focus = {
		id = GER_accelerate_the_rearmament_program
		icon = GFX_focus_generic_combined_arms
		prerequisite = { focus = GER_the_four_year_plan }

		x = 6
		y = 1
		relative_position_id = GER_the_four_year_plan
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			every_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				random_select_amount = 2
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}
	
	focus = {
		id = GER_concentrated_armament_program
		icon = GFX_focus_generic_reorient_production
		prerequisite = { focus = GER_accelerate_the_rearmament_program }

		x = -1
		y = 1
		relative_position_id = GER_accelerate_the_rearmament_program
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			every_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				random_select_amount = 2
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
	}
	
	focus = {
		id = GER_establish_production_targets
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = GER_accelerate_the_rearmament_program }

		x = 1
		y = 1
		relative_position_id = GER_accelerate_the_rearmament_program
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			random_core_state = {
				limit = {
					is_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_production_factory_max_efficiency_factor = 0.05
				tooltip = production_factory_max_efficiency_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_factory_efficiency_gain_factor = 0.05
				tooltip = production_factory_efficiency_gain_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_factory_start_efficiency_factor = 0.05
				tooltip = production_factory_start_efficiency_factor_tt
			}
			add_to_variable = { 
				GER_industrial_line_change_production_efficiency_factor = 0.05
				tooltip = line_change_production_efficiency_factor_tt
			}
		}
	}
	
	focus = {
		id = GER_zentrale_planung
		icon = GFX_focus_generic_central_planning
		prerequisite = { focus = GER_concentrated_armament_program focus = GER_establish_production_targets}

		x = 1
		y = 2
		relative_position_id = GER_concentrated_armament_program
		cost = 5
		available = {
			has_war_with_major = yes
			has_civil_war = no
		}

		continue_if_invalid = yes

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			if = {
				limit = { #Must be one economy law away from the next one and fulfill the next law's criterias
					has_idea = partial_economic_mobilisation
					has_war_support > 0.5
					OR = {
						has_government = fascism
						has_government = communism
						custom_trigger_tooltip = { tooltip = or_clarification_tooltip always = no }
						AND = {
							has_war = yes
							any_enemy_country = {
								ic_ratio = {
									tag = ROOT
									ratio > 0.4
								}
							}
						}
					}
				}
				add_ideas = war_economy
			}
			else = {
				custom_effect_tooltip = GER_criteria_for_economy_laws_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_production_lack_of_resource_penalty_factor = -0.1
				tooltip = production_lack_of_resource_penalty_factor_tt
			}
			add_to_variable = { 
				GER_industrial_conversion_cost_civ_to_mil_factor = -0.2
				tooltip = conversion_cost_civ_to_mil_factor_tt
			}
		}
	}

	focus = {
		id = GER_create_rustungsstab
		icon = GFX_focus_generic_mass_production
		prerequisite = { focus = GER_zentrale_planung }

		x = 1
		y = 1
		relative_position_id = GER_zentrale_planung
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			every_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				random_select_amount = 2
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_industry_air_damage_factor = -0.1
				tooltip = industry_air_damage_factor_tt
			}

		}
	}

	focus = {
		id = GER_armament_rationalization
		icon = GFX_focus_generic_military_industry
		prerequisite = { focus = GER_zentrale_planung }

		x = -1
		y = 1
		relative_position_id = GER_zentrale_planung
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_industrial_capacity_factory = 0.05
				tooltip = industrial_capacity_factory_tt
			}
			add_to_variable = { 
				GER_industrial_industrial_capacity_dockyard = 0.05
				tooltip = industrial_capacity_dockyard_tt
			}
			add_to_variable = { 
				GER_industrial_production_factory_max_efficiency_factor = 0.05
				tooltip = production_factory_max_efficiency_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_factory_efficiency_gain_factor = 0.05
				tooltip = production_factory_efficiency_gain_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_factory_start_efficiency_factor = 0.05
				tooltip = production_factory_start_efficiency_factor_tt
			}
			add_to_variable = { 
				GER_industrial_line_change_production_efficiency_factor = 0.05
				tooltip = line_change_production_efficiency_factor_tt
			}
		}
	}
	
	focus = {
		id = GER_totaler_krieg
		icon = GFX_GER_total_war
		prerequisite = { focus = GER_ussr_war_goal2 focus = GER_ussr_war_goal333 }
		
		x = 1
		y = 1
		relative_position_id = GER_ussr_war_goal2
		cost = 5
		available = {
			
			OR = {
				GER = {
					surrender_progress > 0.05
				}
				ITA = {
					surrender_progress > 0.5
				}
				SOV = {
					controls_state = 46
				}
				SOV = {
				has_full_control_of_state = 763
				}
			}
				
		}

		select_effect = {
			play_song = "Goebbels speech total war"
		}

		continue_if_invalid = yes

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_INDUSTRY FOCUS_FILTER_MANPOWER FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			
			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_gain_totaler_krieg_remove_total_mob_tt
			add_ideas = totaler_krieg_economy

			if = {
				limit = {
					NOT = {
						OR = {
							has_completed_focus = GER_womens_rights_and_equality 
							has_decision = women_in_the_workforce 
						}
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				unlock_decision_tooltip = {
					decision = women_in_the_workforce
					show_effect_tooltip = yes # default is no
					show_modifiers = yes # default is no
				} 
				activate_decision = women_in_the_workforce
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = total_war1
		}
	}

    focus = {
		id = GER_ussr_war_goal4
		icon = GFX_focus_GER_heed_von_neuraths_concerns
		prerequisite = { focus = GER_totaler_krieg }
		available_if_capitulated = no
		available = {
			date > 1942.3.1
		}
		x = 0
		y = 2
		relative_position_id = GER_totaler_krieg
		cost = 5	
		completion_reward = {
			add_tech_bonus = {
				name = NOR_anti_air_artillery_research
				bonus = 1.5
				uses = 3
				category = cat_anti_air
			}
			add_ideas = SWE_defense_in_depth_0
		}
	}

	focus = {
		id = GER_Support_for_youth_fascist_organizations
		icon = GFX_goal_small_professional_army
		prerequisite = { focus = GER_totaler_krieg  }
		available = {
			has_government = fascism
			surrender_progress > 0.05
		}
		x = -1
		y = 1
		relative_position_id = GER_totaler_krieg
		cost = 5
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {
		    add_war_support = -0.1
			division_template = {
				name = "Гитлерюгенд" 	
				division_names_group = FRA_ARM_01

				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 }
		infantry = { x = 2 y = 0 }
		infantry = { x = 2 y = 1 }
		infantry = { x = 2 y = 2 }
		}
				support = {
					artillery = { x = 0 y = 1 }
					engineer = { x = 0 y = 0 }
				}
			}
			capital_scope = {
				create_unit = {
					division = "name = \"Гитлерюгенд\" division_template = \"Гитлерюгенд\" start_experience_factor = 0.35 start_equipment_factor = 1 start_manpower_factor = 1"
					owner = ROOT
					count = 72
				}
			}
		}
	}

	focus = {
		id = GER_develop_modern_maneuver_warfare
		icon = GFX_focus_GER_army
		#prerequisite = { focus = }

		x = 8
		y = 0
		#relative_position_id = GER_prioritize_economic_growth
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ARMY_XP FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			add_command_power = 25
			army_experience = 300

			custom_effect_tooltip = generic_skip_one_line_tt

			#add_doctrine_cost_reduction = {
			#	name = GER_develop_modern_maneuver_warfare
			#	cost_reduction = 0.25
			#	uses = 1
			#	category = land_doctrine
			#}
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = walther_von_brauchitsch

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_dlc = "Arms Against Tyranny"}
				}
				if = {
					limit = {
						has_idea = henschel
					}
					swap_ideas = {
						remove_idea = henschel
						add_idea = GER_henschel_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = henschel
							add_idea = GER_henschel_improved
						}
					}
				}
			}
			else = {
				mio:GER_henschel_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05

					#unlock_mio_trait_tooltip = 
					#unlock_mio_trait_tooltip = 
				}
			}
		}
	}
	
	focus = {
		id = GER_fortify_the_vaterland
		icon = GFX_focus_SWI_fortify_border_with_germany
		prerequisite = { focus = GER_develop_modern_maneuver_warfare }

		x = -1
		y = 1
		relative_position_id = GER_develop_modern_maneuver_warfare
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			add_tech_bonus = {
				name = GER_fortify_the_vaterland
				bonus = 0.5
				uses = 2
				category = cat_fortification
			}
			custom_effect_tooltip = generic_skip_one_line_tt

			add_timed_idea = {
				idea = GER_fortify_the_vaterland_idea
				days = 730
			}
			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_fortify_the_vaterland_unlock_decision_tt
		}
	}

	focus = {
		id = GER_fortify_the_vaterland2
		icon = GFX_focus_SWE_let_fly_all_guns
		prerequisite = { focus = GER_develop_modern_maneuver_warfare }

		x = 1
		y = 1
		relative_position_id = GER_develop_modern_maneuver_warfare
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			add_tech_bonus = {
				name = GER_artillery_bombardment
				bonus = 1
				uses = 1
				technology = antitank4
			}
			add_tech_bonus = {
				name = GER_artillery_bombardment
				bonus = 1.5
				uses = 1
				technology = antitank5
			}
		}
	}
	
	focus = {
		id = GER_the_prussian_legacy
		icon = GFX_focus_GER_prussian_legacy
		prerequisite = { focus = GER_develop_modern_maneuver_warfare }
		mutually_exclusive = { focus = GER_adopt_new_panzer_doctrine }
		x = -2
		y = 2
		relative_position_id = GER_develop_modern_maneuver_warfare
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_ARMY_XP }

		completion_reward = {
			add_command_power = 25
			army_experience = 15

			custom_effect_tooltip = generic_skip_one_line_tt

			add_doctrine_cost_reduction = {
				name = GER_the_prussian_legacy
				cost_reduction = 0.5
				uses = 3
				category = land_doctrine
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_unlock_operational_planning_bewegungskrieg_tt
			effect_tooltip = { #This is done for tooltip purposes
				add_dynamic_modifier = { modifier = GER_bewegungskrieg_modifier }
			}
		}
	}
	
	focus = {
		id = GER_improve_motorized_troops
		icon = GFX_goal_generic_army_motorized
		prerequisite = { focus = GER_the_prussian_legacy }

		x = -3
		y = 1
		relative_position_id = GER_the_prussian_legacy
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			if = {
				limit = {
					has_character = GER_oswald_lutz
					NOT = { has_completed_focus = GER_reorganize_the_wehrmacht }
				}
				every_unit_leader = {
					limit = {
						is_character = GER_oswald_lutz
					}
					add_skill_level = 1
					add_attack = 1
					add_planning = 1
					add_logistics = 1
				}
				if = {
					limit = {
						GER_oswald_lutz = {
							NOT = {
								has_trait = trickster
							}
						}
					}
					add_trait = {
					    character = GER_oswald_lutz
					    trait = trickster
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_army_modifier = yes			
			add_to_variable = { 
				GER_military_org_loss_when_moving = -0.1
				tooltip = org_loss_when_moving_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_dlc = "Arms Against Tyranny"}
				}
				if = {
					limit = {
						has_idea = GER_alkett
					}
					swap_ideas = {
						remove_idea = GER_alkett
						add_idea = GER_alkett_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = GER_alkett
							add_idea = GER_alkett_improved
						}
					}
				}
			}
			else = {
				mio:GER_alkett_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05

					#unlock_mio_trait_tooltip = 
					#unlock_mio_trait_tooltip = 
				}
			}
		}
	}

	focus = {
		id = GER_lessons_of_the_great_war
		icon = GFX_focus_generic_little_entente
		prerequisite = { focus = GER_the_prussian_legacy }

		x = -1
		y = 1
		relative_position_id = GER_the_prussian_legacy
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			army_experience = 15
			
			custom_effect_tooltip = generic_skip_one_line_tt

			add_doctrine_cost_reduction = {
				name = GER_lessons_of_the_great_war
				cost_reduction = 0.25
				uses = 2
				category = land_doctrine
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			show_unit_leaders_tooltip = GER_friedrich_schulz
			show_unit_leaders_tooltip = GER_ernsteberhard_hell

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_army_modifier = yes
			add_to_variable = { 
				GER_military_max_dig_in_factor = 0.1
				tooltip = max_dig_in_factor_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_modify_bewegungskrieg_modifier_tt
			effect_tooltip = {
				add_to_variable = { 
					GER_bewegungskrieg_army_infantry_attack_factor = 0.05
					tooltip = army_infantry_attack_factor_tt
				}
			}
		}
	}			

	focus = {
		id = GER_artillery_bombardment
		icon = GFX_focus_generic_infiltration
		prerequisite = { focus = GER_lessons_of_the_great_war }
		prerequisite = { focus = GER_improve_motorized_troops }

		x = 1
		y = 1
		relative_position_id = GER_improve_motorized_troops
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }

		completion_reward = {
			
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				mio:GER_rheinmetall_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05
				}
				mio:GER_mauser_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.1
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_tech_bonus = {
				name = GER_artillery_bombardment
				bonus = 0.5
				uses = 2
				category = artillery
			}
			add_tech_bonus = {
				name = GER_artillery_bombardment
				bonus = 0.5
				uses = 1
				category = infantry_weapons
			}

			add_breakthrough_progress = {
				specialization = specialization_land
				value = 0.5
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_army_modifier = yes
			add_to_variable = { 
				GER_military_army_artillery_defence_factor = 0.1
				tooltip = army_artillery_defence_factor_tt
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					OR = {
						has_dlc = "Gotterdammerung"
						has_dlc = "No Step Back"
					}
				}
				GER_add_or_modify_wunderwaffen = yes
				add_to_variable = { 
					GER_wunderwaffen_sp_tag_artillery_speed_factor = GER_wunderwaffe_research_speed_bonus
					tooltip = sp_tag_artillery_speed_factor_tt
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			custom_effect_tooltip = GER_modify_bewegungskrieg_modifier_tt
			effect_tooltip = {
				add_to_variable = { 
					GER_bewegungskrieg_army_artillery_attack_factor = 0.1
					tooltip = army_artillery_attack_factor_tt
				}
			}
		}
	}
	
	focus = {
		id = GER_stormtroopers
		icon = GFX_focus_CHL_departemento_de_las_tropas_nacistas_de_asalto
		prerequisite = { focus = GER_artillery_bombardment }

		x = 0
		y = 1
		relative_position_id = GER_artillery_bombardment
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			army_experience = 15
			
			custom_effect_tooltip = generic_skip_one_line_tt

			add_doctrine_cost_reduction = {
				name = GER_stormtroopers
				cost_reduction = 0.25
				uses = 1
				category = land_doctrine
			}
			add_tech_bonus = {
				name = GER_stormtroopers
				bonus = 0.5
				uses = 1
				category = infantry_weapons
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_modify_bewegungskrieg_modifier_tt
			effect_tooltip = {
				add_to_variable = { 
					GER_bewegungskrieg_army_infantry_attack_factor = 0.05
					tooltip = army_infantry_attack_factor_tt
				}
				add_to_variable = { 
					GER_bewegungskrieg_breakthrough_factor = 0.05
					tooltip = breakthrough_factor_tt
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_sturmtruppe_battalion_tt
			hidden_effect = {
				set_technology = { sturmtruppe_battalion_tech = 1 popup = no }
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					has_character = GER_friedrich_schulz				
				}
				if = {
					limit = {
						GER_friedrich_schulz = {
							NOT = { 
								has_trait = brilliant_strategist
							}
						}
					}
					GER_friedrich_schulz = {
						add_trait = { trait = brilliant_strategist }
					}
				}
			}
			if = {
				limit = {
					has_character = GER_ernsteberhard_hell				
				}
				if = {
					limit = {
						GER_ernsteberhard_hell = {
							NOT = { 
								has_trait = brilliant_strategist
							}
						}
					}
					GER_ernsteberhard_hell = {
						add_trait = { trait = brilliant_strategist }
					}
				}
			}
		}
	}
	
	focus = {
		id = GER_all_terrain_military_motorcycle
		icon = GFX_focus_generic_motor_cycle
		prerequisite = { focus = GER_the_prussian_legacy focus = GER_adopt_new_panzer_doctrine }

		x = 1
		y = 1
		relative_position_id = GER_the_prussian_legacy
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_tech_bonus = {
				name = GER_all_terrain_military_motorcycle
				uses = 1
				bonus = 0.5
				category = military_police_tech
			}

			if = {
				limit = {
					has_dlc = "Gotterdammerung"
				}
				if = {
					limit = {
						NOT = { has_tech = sp_armored_motorized_military_police_tech }
					}
					add_tech_bonus = {
						name = GER_all_terrain_military_motorcycle
						uses = 1
						bonus = 1
						technology = sp_armored_motorized_military_police_tech
					}
				}
				add_equipment_bonus = {
					name = GER_all_terrain_military_motorcycle
					bonus = {
						motorbike_equipment_1 = {
							build_cost_ic = -0.25
						}
					}
				}
			}

			if = {
				limit = {
					controls_state = 54
					54 = {
						free_building_slots = {
							building = arms_factory
							size > 0
							include_locked = yes
						}
					}
				}
				54 = { #Franken
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				random_owned_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = arms_factory
							size > 0
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}
	
	focus = {
		id = GER_salvage_captured_equipment
		icon = GFX_focus_generic_tank_assembly
		prerequisite = { focus = GER_the_prussian_legacy focus = GER_adopt_new_panzer_doctrine }

		x = 3
		y = 1
		relative_position_id = GER_the_prussian_legacy
		cost = 5
		available = {
			has_war_with_major = yes
		}
		continue_if_invalid = yes

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			random_owned_state = {
				limit = {
					is_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = GER_alfred_becker

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_army_modifier = yes
			add_to_variable = { 
				GER_military_equipment_capture = 0.05
				tooltip = equipment_capture_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_equipment_conversion_speed = 0.1
				tooltip = equipment_conversion_speed_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			every_army_leader = {
				limit = {
					NOT = { has_trait = scavenger }
				}
				random_select_amount = 2
				add_trait = { trait = scavenger }
			}
		}
	}
	
	focus = {
		id = GER_instill_auftragstaktik
		icon = GFX_focus_ger_oppose_hitler
		prerequisite = { focus = GER_the_prussian_legacy focus = GER_adopt_new_panzer_doctrine }

		x = 2
		y = 2
		relative_position_id = GER_the_prussian_legacy
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			army_experience = 25
			add_doctrine_cost_reduction = {
				name = GER_instill_auftragstaktik
				cost_reduction = 0.25
				uses = 1
				category = land_doctrine
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_army_modifier = yes
			add_to_variable = { 
				GER_military_initiative_factor = 0.1
				tooltip = initiative_factor_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = franz_halder

			if = {
				limit = {
					has_character = GER_gerd_von_rundstedt
					GER_gerd_von_rundstedt = {
						is_field_marshal = no
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				GER_gerd_von_rundstedt = {
					promote_leader = yes
				}
			}

			if = {
				limit = {
					has_character = GER_gunther_von_kluge
					GER_gunther_von_kluge = {
						is_field_marshal = no
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				GER_gunther_von_kluge = {
					promote_leader = yes
				}
			}
		}
	}
	
	focus = {
		id = GER_establish_the_afrikakorps
		icon = GFX_focus_GER_afrikakorps
		prerequisite = { focus = GER_instill_auftragstaktik }

		x = -2
		y = 1
		relative_position_id = GER_instill_auftragstaktik
		cost = 5

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			if = {
				limit = {
					NOT = { has_completed_focus = GER_the_prussian_legacy}
					has_character = GER_erwin_rommel
					GER_erwin_rommel = {
						NOT = { has_trait = desert_fox }
					}
				}
				GER_erwin_rommel = {
					add_trait = { trait = desert_fox }
				}
			}
			if = {
				limit = {
					NOT = { has_completed_focus = GER_the_prussian_legacy}
					has_character = GER_walther_nehring
					GER_walther_nehring = {
						NOT = { has_trait = desert_fox }
					}
				}
				GER_walther_nehring = {
					add_trait = { trait = desert_fox }
				}
			}

			GER_modify_army_modifier = yes
			add_to_variable = { 
				GER_military_acclimatization_hot_climate_gain_factor = 0.1
				tooltip = acclimatization_hot_climate_gain_factor_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_unlock_operational_planning_in_africa_tt
		}
	}

	focus = {
		id = GER_establish_the_skijager
		icon = GFX_focus_GER_gebirgsjager
		prerequisite = { focus = GER_instill_auftragstaktik }

		x = 2
		y = 1
		relative_position_id = GER_instill_auftragstaktik
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH }

		completion_reward = {
			GER_modify_army_modifier = yes
			add_to_variable = { 
				GER_military_special_forces_cap = 0.05
				tooltip = special_forces_cap_tt
			}
			add_to_variable = { 
				GER_military_acclimatization_cold_climate_gain_factor = 0.1
				tooltip = acclimatization_cold_climate_gain_factor_tt
			}

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				add_doctrine_cost_reduction = {
					name = GER_establish_the_skijager
					cost_reduction = 0.25
					uses = 2
					category = cat_mountaineers_doctrine
				}
			}
			add_tech_bonus = {
				name = GER_establish_the_skijager
				bonus = 0.5
				uses = 1
				category = mountaineers_tech
			}
		}
	}
	
	focus = {
		id = GER_panzergrenadier
		icon = GFX_focus_generic_mechanized
		prerequisite = { focus = GER_instill_auftragstaktik }

		x = 0
		y = 1
		relative_position_id = GER_instill_auftragstaktik
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			add_tech_bonus = {
				name = GER_panzergrenadier
				ahead_reduction = 1
				bonus = 1
				uses = 1
				category = cat_mechanized_equipment
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_completed_focus = GER_the_prussian_legacy }
					NOT = { has_completed_focus = GER_adopt_new_panzer_doctrine }
				}
				custom_effect_tooltip = GER_modify_bewegungskrieg_or_blitzkrieg_tt
				effect_tooltip = {
					add_to_variable = { 
						GER_motor_and_mech_attack_motorized_attack_factor = 0.05
						tooltip = motorized_attack_factor_tt
					}
					add_to_variable = { 
						GER_motor_and_mech_attack_mechanized_attack_factor = 0.05
						tooltip = mechanized_attack_factor_tt
					}
				}
			}
			if = {
				limit = {
					has_completed_focus = GER_adopt_new_panzer_doctrine
				}
				custom_effect_tooltip = GER_modify_blitzkrieg_modifier_tt
				effect_tooltip = {
					add_to_variable = { 
						GER_motor_and_mech_attack_motorized_attack_factor = 0.1
						tooltip = motorized_attack_factor_tt
					}
					add_to_variable = {
						GER_motor_and_mech_attack_mechanized_attack_factor = 0.1
						tooltip = mechanized_attack_factor_tt
					}
				}
			}
			else_if = {
				limit = {
					has_completed_focus = GER_the_prussian_legacy
				}
				custom_effect_tooltip = GER_modify_bewegungskrieg_modifier_tt
				effect_tooltip = {
					add_to_variable = { 
						GER_motor_and_mech_attack_motorized_attack_factor = 0.1
						tooltip = motorized_attack_factor_tt
					}
					add_to_variable = {
						GER_motor_and_mech_attack_mechanized_attack_factor = 0.1
						tooltip = mechanized_attack_factor_tt
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_dlc = "Arms Against Tyranny" }
				}
				if = {
					limit = {
						has_idea = GER_auto_union
					}
					swap_ideas = {
						remove_idea = GER_auto_union
						add_idea = GER_auto_union_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = GER_auto_union
							add_idea = GER_auto_union_improved
						}
					}
				}
			}
			else = {
				mio:GER_auto_union_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05

					unlock_mio_trait_tooltip = GER_mio_trait_schwerer_panzerspahwagen
					#unlock_mio_trait_tooltip = 
				}
			}
		}
	}
	
	focus = {
		id = GER_nationalize_ford_factories
		icon = GFX_focus_generic_truck
		prerequisite = { focus = GER_panzergrenadier }

		x = -3
		y = 1
		relative_position_id = GER_panzergrenadier
		cost = 5
		available = {
			has_war = yes
			51 = {
				is_fully_controlled_by = ROOT
			}

		}
		continue_if_invalid = yes

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH }

		completion_reward = {
			51 = { #Rhineland
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = GER_nationalize_ford_factories
				bonus = 0.5
				uses = 1
				category = cat_mechanized_equipment
			}
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				add_tech_bonus = {
					name = GER_nationalize_ford_factories
					bonus = 1
					uses = 1
					category = cat_armored_cars
				}

				custom_effect_tooltip = generic_skip_one_line_tt

				set_technology = {
					GER_heavy_armored_car = 1
					popup = yes
				}
				custom_effect_tooltip = GER_heavy_armored_car_recon_company_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_dlc = "Arms Against Tyranny" }
				}
				if = {
					limit = {
						has_idea = opel
					}
					swap_ideas = {
						remove_idea = opel
						add_idea = GER_opel_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = opel
							add_idea = GER_opel_improved
						}
					}
				}
				if = {
					limit = {
						has_idea = GER_daimler_benz
					}
					swap_ideas = {
						remove_idea = GER_daimler_benz
						add_idea = GER_daimler_benz_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = GER_daimler_benz
							add_idea = GER_daimler_benz_improved
						}
					}
				}
			}
			else = {
				mio:GER_opel_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05

					unlock_mio_trait_tooltip = GER_mio_trait_continental_ag_tires
					unlock_mio_trait_tooltip = GER_mio_trait_ford_facilities
				}
				mio:GER_daimler_benz_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05

					#unlock_mio_trait_tooltip = 
					#unlock_mio_trait_tooltip = 
				}
			}
		}
	}
	
	focus = {
		id = GER_kriegslokomotiven
		icon = GFX_focus_GER_kriegslokomotive
		prerequisite = { focus = GER_panzergrenadier }

		x = 3
		y = 1
		relative_position_id = GER_panzergrenadier
		cost = 5
		available = {
			has_war = yes
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH }

		completion_reward = {
			if = {
				limit = {
					controls_state = 64
				}
				64 = { #Brandenburg
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				random_owned_state = {
					limit = {
						is_controlled_by = ROOT
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = GER_kriegslokomotiven
				bonus = 0.5
				uses = 1
				category = train_tech
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_equipment_to_stockpile = {
				type = train_equipment
				amount = 15
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					has_idea = GER_deutsche_reichsbahn
				}
				swap_ideas = {
					remove_idea = GER_deutsche_reichsbahn
					add_idea = GER_deutsche_reichsbahn_improved
				}
			}
			else = {
				effect_tooltip = {
					swap_ideas = {
						remove_idea = GER_deutsche_reichsbahn
						add_idea = GER_deutsche_reichsbahn_improved
					}
				}
			}
		}
	}
	
	focus = {
		id = GER_improve_the_logistics_system
		icon = GFX_focus_generic_reinforcing_the_supply_network
		prerequisite = { focus = GER_panzergrenadier }

		x = -1
		y = 1
		relative_position_id = GER_panzergrenadier
		cost = 5
		available = {
			has_war = yes
		}
		continue_if_invalid = yes

		search_filters = {}

		completion_reward = {
			every_army_leader = {
				add_logistics = 1
			}
			GER_modify_army_modifier = yes
			add_to_variable = { 
				GER_military_supply_factor = 0.15
				tooltip = supply_factor_tt
			}
			add_to_variable = { 
				GER_military_army_fuel_consumption_factor = -0.1
				tooltip = army_fuel_consumption_factor_tt
			}
		}
	}
	
	focus = {
		id = GER_defend_the_vaterland
		icon = GFX_goal_generic_defence
		prerequisite = { focus = GER_panzergrenadier }

		x = 1
		y = 1
		relative_position_id = GER_panzergrenadier
		cost = 5
		available = {
			has_war = yes
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_timed_idea = {
				idea = GER_defend_the_vaterland_ns
				days = 545
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					has_character = GER_gerd_von_rundstedt
					GER_gerd_von_rundstedt = {
						is_field_marshal = yes
					}
				}
				if = {
					limit = {
						GER_gerd_von_rundstedt = {
							NOT = { 
								has_trait = defensive_doctrine
							}
						}
					}
					GER_gerd_von_rundstedt = {
						add_trait = { trait = defensive_doctrine }
					}
				}
			}

			if = {
				limit = {
					has_character = GER_gunther_von_kluge
					GER_gunther_von_kluge = {
						is_field_marshal = yes
					}
				}
				if = {
					limit = {
						GER_gunther_von_kluge = {
							NOT = { 
								has_trait = defensive_doctrine
							}
						}
					}
					GER_gunther_von_kluge = {
						add_trait = { trait = defensive_doctrine }
					}
				}
			}

			if = {
				limit = {
					has_character = GER_albert_kesselring				
				}
				if = {
					limit = {
						GER_albert_kesselring = {
							is_field_marshal = yes
							NOT = { 
								has_trait = offensive_doctrine
							}
						}
					}
					if = {
						limit = {
							GER_albert_kesselring = {
								NOT = { 
									has_trait = defensive_doctrine
								}
							}
						}
						GER_albert_kesselring = {
							add_trait = { trait = defensive_doctrine }
						}
					}
					else_if = {
						limit = {
							GER_albert_kesselring = {
								has_trait = defensive_doctrine
								NOT = { 
									has_trait = unyielding_defender
								}
							}
						}
						GER_albert_kesselring = {
							add_trait = { trait = unyielding_defender }
						}
					}
				}
			}
			if = {
				limit = {
					has_character = GER_gotthard_heinrici
				}
				if = {
					limit = {
						GER_gotthard_heinrici = {
							NOT = { 
								has_trait = trait_cautious
							}
						}
					}
					GER_gotthard_heinrici = {
						add_trait = { trait = trait_cautious }
					}
				}
				if = {
					limit = {
						GER_gotthard_heinrici = {
							is_field_marshal = yes
							NOT = { 
								has_trait = offensive_doctrine
							}
						}
					}
					if = {
						limit = {
							GER_gotthard_heinrici = {
								NOT = { 
									has_trait = defensive_doctrine
								}
							}
						}
						GER_gotthard_heinrici = {
							add_trait = { trait = defensive_doctrine }
						}
					}
					else_if = {
						limit = {
							GER_gotthard_heinrici = {
								has_trait = defensive_doctrine
								NOT = { 
									has_trait = unyielding_defender
								}
							}
						}
						GER_gotthard_heinrici = {
							add_trait = { trait = unyielding_defender }
						}
					}
				}
			}
		}
	}
	
	focus = {
		id = GER_uranverein
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = GER_improve_the_logistics_system focus = GER_defend_the_vaterland }
		x = 1
		y = 1
		relative_position_id = GER_improve_the_logistics_system
		cost = 5
		available = {
			has_war_with_major = yes
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			if = {
				limit = {
					NOT = { has_tech = atomic_research }
				}
				add_tech_bonus = {
					name = GER_uranverein
					bonus = 1.0
					uses = 1
					category = nuclear
				}
			}
			else = {
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.5
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					OR = {
						NOT = { is_special_project_completed = sp:sp_nuclear_reactor }
						NOT = { is_special_project_completed = sp:sp_nuclear_bomb }
						AND = {
							has_dlc = "Gotterdammerung"
							NOT = { is_special_project_completed = sp:sp_nuclear_warheads }
						}
					}
				}
				GER_add_or_modify_wunderwaffen = yes
			}
			if = {
				limit = {
					NOT = { is_special_project_completed = sp:sp_nuclear_reactor }
				}
				add_to_variable = { 
					GER_wunderwaffen_sp_nuclear_reactor_speed_factor = GER_wunderwaffe_research_speed_bonus
					tooltip = sp_nuclear_reactor_speed_factor_tt
				}
			}

			if = {
				limit = {
					NOT = { is_special_project_completed = sp:sp_nuclear_bomb }
				}
				add_to_variable = { 
					GER_wunderwaffen_sp_nuclear_bomb_speed_factor = GER_wunderwaffe_research_speed_bonus
					tooltip = sp_nuclear_bomb_speed_factor_tt
				}
			}
			if = {
				limit = {
					has_dlc = "Gotterdammerung"
					NOT = { is_special_project_completed = sp:sp_nuclear_warheads }
				}
				add_to_variable = { 
					GER_wunderwaffen_sp_nuclear_warheads_speed_factor = GER_wunderwaffe_research_speed_bonus
					tooltip = sp_nuclear_warheads_speed_factor_tt
				}
			}
		}
	}
	
	focus = {
		id = GER_adopt_new_panzer_doctrine

		icon = GFX_focus_generic_tank_assault
		alternate_icon = GFX_focus_GER_adopt_new_panzer_doctrine_historical

		prerequisite = { focus = GER_develop_modern_maneuver_warfare }
		mutually_exclusive = { focus = GER_the_prussian_legacy }
		x = 2
		y = 2
		relative_position_id = GER_develop_modern_maneuver_warfare
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_ARMY_XP }

		completion_reward = {
			add_command_power = 25
			army_experience = 50

			custom_effect_tooltip = generic_skip_one_line_tt

			add_doctrine_cost_reduction = {
				name = GER_adopt_new_panzer_doctrine
				cost_reduction = 0.5
				uses = 3
				category = land_doctrine
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_unlock_operational_planning_blitzkrieg_tt
			effect_tooltip = { #This is done for tooltip purposes
				add_dynamic_modifier = { modifier = GER_blitzkrieg_modifier }
			}
		}
	}
	
	focus = {
		id = GER_panzer_troops_school
		icon = GFX_focus_BRA_acquire_german_tanks
		prerequisite = { focus = GER_adopt_new_panzer_doctrine }

		x = 1
		y = 1
		relative_position_id = GER_adopt_new_panzer_doctrine
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			army_experience = 15

			custom_effect_tooltip = generic_skip_one_line_tt

			add_doctrine_cost_reduction = {
				name = GER_adopt_new_panzer_doctrine
				cost_reduction = 0.25
				uses = 2
				category = land_doctrine
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			show_unit_leaders_tooltip = GER_hasso_von_manteuffel
			show_unit_leaders_tooltip = GER_walther_nehring

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_army_modifier = yes			
			add_to_variable = { 
				GER_military_org_loss_when_moving = -0.1
				tooltip = org_loss_when_moving_tt
			}
		}
	}
	
	focus = {
		id = GER_advanced_panzer_research
		icon = GFX_focus_generic_army_tanks2
		prerequisite = { focus = GER_adopt_new_panzer_doctrine }

		x = 3
		y = 1
		relative_position_id = GER_adopt_new_panzer_doctrine
		cost = 5
		available = {
			has_tech = radio
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_tech_bonus = {
				name = GER_advanced_panzer_research
				#ahead_reduction = 1
				bonus = 1
				uses = 1
				category = cat_medium_armor
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_army_modifier = yes
			add_to_variable = { 
				GER_military_coordination_bonus = 0.05
				tooltip = coordination_bonus_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_modify_blitzkrieg_modifier_tt
			effect_tooltip = {
				add_to_variable = { 
					GER_blitzkrieg_army_armor_speed_factor = 0.05
					tooltip = army_armor_speed_factor_tt
				}
				add_to_variable = { 
					GER_blitzkrieg_army_armor_attack_factor = 0.05
					tooltip = army_armor_attack_factor_tt
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_dlc = "Arms Against Tyranny"}
				}
				if = {
					limit = {
						has_idea = GER_MAN
					}
					swap_ideas = {
						remove_idea = GER_MAN
						add_idea = GER_MAN_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = GER_MAN
							add_idea = GER_MAN_improved
						}
					}
				}
			}
			else = {
				mio:GER_MAN_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05

					#unlock_mio_trait_tooltip = 
					#unlock_mio_trait_tooltip = 
				}
			}
		}
	}
	
	focus = {
		id = GER_expand_kummersdorfs_capacity
		icon = GFX_focus_generic_heavy_tank
		prerequisite = { focus = GER_advanced_panzer_research }
		prerequisite = { focus = GER_panzer_troops_school }

		x = 1
		y = 1
		relative_position_id = GER_panzer_troops_school
		cost = 5
		available = {
			has_war_with_major = yes
		}

		continue_if_invalid = yes

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_tech_bonus = {
				name = GER_expand_kummersdorfs_capacity
				ahead_reduction = 1
				bonus = 1
				uses = 1
				category = cat_heavy_armor
			}
			add_tech_bonus = {
				name = GER_expand_kummersdorfs_capacity
				bonus = 1
				uses = 1
				category = cat_medium_armor
			}
			add_breakthrough_progress = {
				specialization = specialization_land
				value = 0.5
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_add_or_modify_wunderwaffen = yes
			add_to_variable = { 
				GER_wunderwaffen_sp_tag_tank_speed_factor = GER_wunderwaffe_research_speed_bonus
				tooltip = sp_tag_tank_speed_factor_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_modify_blitzkrieg_modifier_tt
			effect_tooltip = {
				add_to_variable = { 
					GER_blitzkrieg_army_armor_attack_factor = 0.05
					tooltip = army_armor_attack_factor_tt
				}
				add_to_variable = { 
					GER_blitzkrieg_breakthrough_factor = 0.05
					tooltip = breakthrough_factor_tt
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_dlc = "Arms Against Tyranny"}
				}
				if = {
					limit = {
						has_idea = porsche
					}
					swap_ideas = {
						remove_idea = porsche
						add_idea = GER_porsche_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = porsche
							add_idea = GER_porsche_improved
						}
					}
				}
			}
			else = {
				mio:GER_porsche_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05

					#unlock_mio_trait_tooltip = 
					#unlock_mio_trait_tooltip = 
				}
			}
		}
	}
	
	focus = {
		id = GER_combined_arms

		icon = GFX_focus_generic_tank_air_support
		alternate_icon = GFX_focus_GER_combined_arms_historical

		prerequisite = { focus = GER_advanced_panzer_research }
		prerequisite = { focus = GER_dive_bombers }

		x = 1
		y = 1
		relative_position_id = GER_advanced_panzer_research
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			GER_modify_army_modifier = yes
			add_to_variable = { 
				GER_military_air_superiority_bonus_in_combat = 0.1
				tooltip = air_superiority_bonus_in_combat_tt
			}
			add_to_variable = { 
				GER_military_coordination_bonus = 0.05
				tooltip = coordination_bonus_tt
			}
		}
	}


	#LUFTWAFFE
	focus = {
		id = GER_expanding_the_luftwaffe
		icon = GFX_focus_GER_airforce
		#prerequisite = { focus = }

		x = 12
		y = 0
		relative_position_id = GER_develop_modern_maneuver_warfare
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_AIR_XP FOCUS_FILTER_INDUSTRY FOCUS_FILTER_MILITARY_CHARACTER }
		
		completion_reward = {			
			
			air_experience = 200

			if = {
				limit = {
					NOT = {
						any_owned_state = {
							air_base > 3
							air_base < 9
						}
					}
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = air_base
							size > 5
						}
					}
					add_building_construction = {
						type = air_base
						level = 6
						instant_build = yes
					}
					set_state_flag = GER_expanding_the_luftwaffe_flag
				}				
			}

			random_owned_controlled_state = {
				limit = {
					air_base > 3
					air_base < 9
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_expanding_the_luftwaffe_flag
			}
			random_owned_controlled_state = {
				limit = {
					air_base > 3
					air_base < 9
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_expanding_the_luftwaffe_flag
			}
			random_owned_controlled_state = {
				limit = {
					air_base > 2
					air_base < 9
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_expanding_the_luftwaffe_flag
			}
			
			
			
			
			IF = {
				limit = { has_dlc = "Gotterdammerung" }
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = GER_unlocks_eben_emael_raid_tt

				custom_effect_tooltip = generic_skip_one_line_tt
			}

			custom_effect_tooltip = available_chief_of_airforce
			show_ideas_tooltip = ritter_von_greim
		}
	}
	
	focus = {
		id = GER_aeronautical_research_institute
		icon = GFX_focus_generic_air_research_boost
		prerequisite = { focus = GER_expanding_the_luftwaffe }

		x = -3
		y = 1
		relative_position_id = GER_expanding_the_luftwaffe
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			if = {
				limit = {
					controls_state = 59
				}
				59 = { #Hannover
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = GER_aeronautical_research_institute
				bonus = 0.25
				uses = 2
				category = air_equipment
			}
			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.5
			}
			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_dlc = "Arms Against Tyranny" }
				}
				if = {
					limit = {
						has_idea = GER_arado_flugzeugwerke
					}
					swap_ideas = {
						remove_idea = GER_arado_flugzeugwerke
						add_idea = GER_arado_flugzeugwerke_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = GER_arado_flugzeugwerke
							add_idea = GER_arado_flugzeugwerke_improved
						}
					}
				}
			}
			else = {
				mio:GER_arado_flugzeugwerke_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05

					#unlock_mio_trait_tooltip = 
					#unlock_mio_trait_tooltip = 
				}
			}
		}
	}
	
	focus = {
		id = GER_dive_bombers

		icon = GFX_focus_generic_cas_aircraft
		alternate_icon = GFX_focus_GER_sturzkampfbomber_historical

		prerequisite = { focus = GER_aeronautical_research_institute }
		mutually_exclusive = { focus = GER_tactical_bombers focus = GER_uralbomber_program }
		x = -2
		y = 1
		relative_position_id = GER_aeronautical_research_institute
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			add_doctrine_cost_reduction = {
				name = GER_dive_bombers
				cost_reduction = 0.25
				uses = 1
				category = battlefield_support_tree
			}
			add_tech_bonus = {
				name = GER_dive_bombers
				bonus = 0.5
				uses = 1
				category = light_air
			}

			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				create_equipment_variant = { 
					name = "Ju 87 G" 
					type = small_plane_cas_airframe_2
					allow_without_tech = no
					design_team = mio:GER_junkers_organization
					modules = {
						fixed_main_weapon_slot = bomb_locks
						fixed_auxiliary_weapon_slot_1 = tank_buster_1
						engine_type_slot = engine_3_1x
						special_type_slot_1 = lmg_defense_turret
						special_type_slot_2 = empty
					}
					icon = "GFX_GER_CAS2_medium"
					model = "GER_CAS_equipment_2_entity"
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_airforce_modifier = yes
			add_to_variable = { 
				GER_military_air_cas_efficiency = 0.1
				tooltip = air_cas_efficiency_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ace = {
				name = Hans
				surname = Rudel
				callsign = Adler #made-up-ish; "Eagle of the Eastern Front" was his real nickname
				type = support_genius
			}
			add_ace = {
				name = Anton
				surname = Hubsch
				callsign = Toni
				type = support_unique
			}
			add_ace = {
				name = Gerhard
				surname = Studemann
				callsign = Stutz
				type = support_unique
			}
			add_ace = {
				name = Alois
				surname = Wosnitza
				callsign = Ritter #Made-up
				type = support_unique
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_dlc = "Arms Against Tyranny" }
				}
				if = {
					limit = {
						has_idea = junkers
					}
					swap_ideas = {
						remove_idea = junkers
						add_idea = GER_junkers_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = junkers
							add_idea = GER_junkers_improved
						}
					}
				}
			}
			else = {
				mio:GER_junkers_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05

					#unlock_mio_trait_tooltip = 
					#unlock_mio_trait_tooltip = 
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = hugo_sperrle

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_theorist
			show_ideas_tooltip = ernst_udet
		}
	}
	
	focus = {
		id = GER_tactical_bombers
		icon = GFX_focus_SWE_marauder_bombers
		prerequisite = { focus = GER_aeronautical_research_institute }
		mutually_exclusive = { focus = GER_dive_bombers focus = GER_uralbomber_program }
		x = 0
		y = 1
		relative_position_id = GER_aeronautical_research_institute
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = erhard_milch

			add_doctrine_cost_reduction = {
				name = GER_tactical_bombers
				cost_reduction = 0.25
				uses = 2
				category = operational_integrity_tree
			}
			add_tech_bonus = {
				name = GER_tactical_bombers
				bonus = 0.5
				uses = 1
				category = medium_air
			}

			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				create_equipment_variant = { 
					name = "Ju 88" 
					type = medium_plane_airframe_2
					allow_without_tech = no
					design_team = mio:GER_dornier_organization
					modules = {
						fixed_main_weapon_slot = medium_bomb_bay
						fixed_auxiliary_weapon_slot_1 = medium_bomb_bay
						fixed_auxiliary_weapon_slot_2 = torpedo_mounting
						engine_type_slot = engine_3_2x
						special_type_slot_1 = lmg_defense_turret_2x
						special_type_slot_2 = empty	
					}
					icon = "GFX_GER_tactical_bomber2_medium"
					model = "GER_medium_plane_entity"
				}
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_airforce_modifier = yes
			add_to_variable = { 
				GER_military_air_strategic_bomber_bombing_factor = 0.1
				tooltip = air_strategic_bomber_bombing_factor_tt
			}
			add_to_variable = { 
				GER_military_air_cas_efficiency = 0.05
				tooltip = air_cas_efficiency_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ace = {
				name = Werner
				surname = Baumbach
				callsign = "Papa Bär" #made-up
				type = bomber_unique
			}
			add_ace = {
				name = Bernhard
				surname = Jope
				callsign = Senker #made-up
				type = bomber_unique
			}
			add_ace = {
				name = Anton
				surname = Hubsch
				callsign = Toni
				type = support_unique
			}
			add_ace = {
				name = Gerhard
				surname = Studemann
				callsign = Stutz
				type = support_unique
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_dlc = "Arms Against Tyranny" }
				}
				if = {
					limit = {
						has_idea = dornier
					}
					swap_ideas = {
						remove_idea = dornier
						add_idea = GER_dornier_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = dornier
							add_idea = GER_dornier_improved
						}
					}
				}
			}
			else = {
				mio:GER_dornier_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05

					#unlock_mio_trait_tooltip = 
					#unlock_mio_trait_tooltip = 
				}
			}
		}
	}
	
	focus = {
		id = GER_uralbomber_program
		icon = GFX_focus_generic_long_range_aircraft
		prerequisite = { focus = GER_aeronautical_research_institute }
		mutually_exclusive = { focus = GER_dive_bombers focus = GER_tactical_bombers }
		x = 2
		y = 1
		relative_position_id = GER_aeronautical_research_institute
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = GER_robert_knauss

			custom_effect_tooltip = generic_skip_one_line_tt

			add_doctrine_cost_reduction = {
				name = GER_uralbomber_program
				cost_reduction = 0.25
				uses = 2
				category = strategic_destruction_tree
			}
			add_tech_bonus = {
				name = GER_uralbomber_program
				bonus = 0.5
				uses = 1
				category = heavy_air
			}

			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				create_equipment_variant = { 
					name = "Ju 89" 
					type = large_plane_airframe_1
					allow_without_tech = no
					design_team = mio:GER_heinkel_organization
					modules = {
						fixed_main_weapon_slot = large_bomb_bay
						fixed_auxiliary_weapon_slot_1 = empty
						fixed_auxiliary_weapon_slot_2 = empty
						engine_type_slot = engine_2_4x
						special_type_slot_1 = lmg_defense_turret_2x
						special_type_slot_2 = lmg_defense_turret
					}
					icon = "GFX_GER_strategic_bomber1_medium"
					model = "GER_strat_bomber_equipment_1_entity"
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_airforce_modifier = yes
			add_to_variable = { 
				GER_military_air_range_factor = 0.15
				tooltip = air_range_factor_tt
			}
			add_to_variable = { 
				GER_military_air_strategic_bomber_bombing_factor = 0.05
				tooltip = air_strategic_bomber_bombing_factor_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ace = {
				name = Hansgeorg
				surname = Batcher
				callsign = Schützin #made-up
				type = bomber_genius
			}
			add_ace = {
				name = Werner
				surname = Baumbach
				callsign = "Papa Bär" #made-up
				type = bomber_unique
			}
			add_ace = {
				name = Bernhard
				surname = Jope
				callsign = Senker #made-up
				type = bomber_unique
			}
			add_ace = {
				name = Horst
				surname = Rudat
				callsign = Mistel #made-up
				type = bomber_unique
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_dlc = "Arms Against Tyranny" }
				}
				if = {
					limit = {
						has_idea = heinkel
					}
					swap_ideas = {
						remove_idea = heinkel
						add_idea = GER_heinkel_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = heinkel
							add_idea = GER_heinkel_improved
						}
					}
				}
			}
			else = {
				mio:GER_heinkel_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05

					#unlock_mio_trait_tooltip = 
					#unlock_mio_trait_tooltip = 
				}
			}
		}
	}
	
	focus = {
		id = GER_rocketry_innovations
		icon = GFX_focus_rocketry
		prerequisite = { focus = GER_dive_bombers focus = GER_tactical_bombers focus = GER_uralbomber_program }

		x = 2
		y = 3
		relative_position_id = GER_dive_bombers
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_tech_bonus = {
				name = GER_aerodynamic_research_institute
				bonus = 0.5
				uses = 1
				category = rocketry
			}

			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.75
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_timed_idea = {
				idea = GER_rocketry_idea
				days = 730
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_add_or_modify_wunderwaffen = yes
			add_to_variable = { 
				GER_wunderwaffen_sp_tag_rocket_speed_factor = 0.15
				tooltip = sp_tag_rocket_speed_factor_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = GER_walter_dornberger
			
		}
	}
	
	focus = {
		id = GER_fallschirmjager
		icon = GFX_focus_generic_paratrooper
		prerequisite = { focus = GER_expanding_the_luftwaffe }

		x = 0
		y = 1
		relative_position_id = GER_expanding_the_luftwaffe
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				if = {
					limit = {
						NOT = { has_completed_focus = GER_marinestosstrupp }
					}
					add_potential_special_forces_tree = yes
				}
				add_doctrine_cost_reduction = {
					name = GER_fallschirmjager
					cost_reduction = 0.25
					uses = 2
					category = cat_paratroopers_doctrine
				}
			}
			add_tech_bonus = {
				name = GER_fallschirmjager
				bonus = 1
				uses = 1
				category = para_tech
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_army_modifier = yes
			add_to_variable = { 
				GER_military_special_forces_cap = 0.05
				tooltip = special_forces_cap_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			show_unit_leaders_tooltip = GER_kurt_student
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = kurt_student
		}
	}
	
	focus = {
		id = GER_form_the_jagdwaffe
		icon = GFX_focus_SOV_flying_clubs
		prerequisite = { focus = GER_expanding_the_luftwaffe }

		x = 3
		y = 1
		relative_position_id = GER_expanding_the_luftwaffe
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_HISTORICAL FOCUS_FILTER_AIR_XP FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			air_experience = 25
			add_doctrine_cost_reduction = {
				name = GER_form_the_jagdwaffe
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine
			}


			GER_modify_airforce_modifier = yes
			add_to_variable = { 
				GER_military_air_ace_generation_chance_factor = 0.25
				tooltip = air_ace_generation_chance_factor_tt
			}
			add_to_variable = { 
				GER_military_air_agility_factor = 0.05
				tooltip = air_agility_factor_tt
			}


			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				create_equipment_variant = { 
					name = "FW 190" 
					type = small_plane_airframe_2
					allow_without_tech = no
					design_team = mio:GER_messerschmitt_organization
					modules = {
						fixed_main_weapon_slot = light_mg_4x
						fixed_auxiliary_weapon_slot_1 = aircraft_cannon_1_2x
						engine_type_slot = engine_3_1x
						special_type_slot_1 = armor_plate_small
						special_type_slot_2 = drop_tanks	
					}
					icon = "GFX_GER_fighter2_medium"
					model = "GER_fighter_equipment_2_entity"
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ace = {
				name = Erich
				surname = Hartmann
				callsign = Bubi
				type = fighter_genius
			}

			add_ace = {
				name = Gerhard
				surname = Barkhorn
				callsign = Gerd
				type = fighter_genius
			}

			add_ace = {
				name = Gunther
				surname = Rall
				callsign = Adlerauge #Made-up nickname
				type = fighter_genius
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_dlc = "Arms Against Tyranny" }
				}
				if = {
					limit = {
						has_idea = messerschmitt
					}
					swap_ideas = {
						remove_idea = messerschmitt
						add_idea = GER_messerschmitt_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = messerschmitt
							add_idea = GER_messerschmitt_improved
						}
					}
				}
			}
			else = {
				mio:GER_messerschmitt_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05

					#unlock_mio_trait_tooltip = 
					#unlock_mio_trait_tooltip = 
				}
			}
		}
	}

	focus = {
		id = GER_reorganize_the_luftwaffe
		icon = GFX_goal_generic_build_airforce
		prerequisite = { focus = GER_form_the_jagdwaffe }

		x = -2
		y = 1
		relative_position_id = GER_form_the_jagdwaffe
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_AIR_XP FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			add_command_power = 25
			air_experience = 25

			custom_effect_tooltip = generic_skip_one_line_tt

			add_doctrine_cost_reduction = {
				name = GER_reorganize_the_luftwaffe
				cost_reduction = 0.25
				uses = 2
				category = air_doctrine
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_airforce_modifier = yes
			add_to_variable = { 
				GER_military_air_manpower_requirement_factor = -0.1
				tooltip = air_manpower_requirement_factor_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_chief_of_airforce
			show_ideas_tooltip = GER_helmuth_wilberg
		}
	}

	focus = {
		id = GER_solve_the_logistical_bottlenecks
		icon = GFX_goal_generic_air_production
		prerequisite = { focus = GER_reorganize_the_luftwaffe }

		x = -1
		y = 2
		relative_position_id = GER_reorganize_the_luftwaffe
		cost = 5
		available = {
		}

		search_filters = {}

		completion_reward = {
			GER_modify_airforce_modifier = yes
			add_to_variable = { 
				GER_military_air_accidents_factor = -0.1
				tooltip = air_accidents_factor_tt
			}
			add_to_variable = { 
				GER_military_air_fuel_consumption_factor = -0.1
				tooltip = air_fuel_consumption_factor_tt
			}
		}
	}

	focus = {
		id = GER_experimental_rotorcrafts
		icon = GFX_focus_generic_early_helicopter
		prerequisite = { focus = GER_form_the_jagdwaffe }

		x = 0
		y = 1
		relative_position_id = GER_form_the_jagdwaffe

		allow_branch = {
			has_dlc = "Gotterdammerung"
		}

		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.5
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { is_special_project_completed = sp:sp_air_helicopter }
				}
				GER_add_or_modify_wunderwaffen = yes
				add_to_variable = { 
					GER_wunderwaffen_sp_air_helicopter_speed_factor = GER_wunderwaffe_research_speed_bonus
					tooltip = sp_air_helicopter_speed_factor_tt
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				mio:GER_focke_achgelis_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05

					#unlock_mio_trait_tooltip = 
					#unlock_mio_trait_tooltip = 
				}
			}
		}
	}
	
	focus = {
		id = GER_develop_the_knickebein
		icon = GFX_goal_generic_radar
		prerequisite = { focus = GER_form_the_jagdwaffe }

		x = 2
		y = 1
		relative_position_id = GER_form_the_jagdwaffe
		cost = 3
		available = {
			is_special_project_completed = sp:sp_air_radar
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_timed_idea = {
				idea = GER_knickebein
				days = 545
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = GER_develop_the_knickebein
				bonus = 0.5
				uses = 1
				category = radar_tech
			}

			if = {
				limit = {
					NOT = { has_dlc = "Arms Against Tyranny" }
				}
				if = {
					limit = {
						has_idea = focke_wulf
					}
					swap_ideas = {
						remove_idea = focke_wulf
						add_idea = GER_focke_wulf_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = focke_wulf
							add_idea = GER_focke_wulf_improved
						}
					}
				}
			}
			else = {
				mio:GER_focke_wulf_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05

					#unlock_mio_trait_tooltip = 
					#unlock_mio_trait_tooltip = 
				}
			}
		}
	}
	
	focus = {
		id = GER_defense_of_the_reich
		icon = GFX_goal_generic_CAS
		prerequisite = { focus = GER_reorganize_the_luftwaffe focus = GER_develop_the_knickebein }

		x = 2
		y = 2
		relative_position_id = GER_reorganize_the_luftwaffe
		cost = 10
		available = {
			has_war_with_major = yes
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_timed_idea = {
				idea = GER_defense_of_the_reich_ns
				days = 730
			}
		}
	}
	
	focus = {
		id = GER_construct_the_kammhuber_line
		icon = GFX_focus_generic_energy
		prerequisite = { focus = GER_operation_sea_lion }

		x = 0
		y = 1
		relative_position_id = GER_operation_sea_lion
		cost = 5
		available = {
			has_war_with_major = yes
			has_tech = cavity_magnatron
			custom_trigger_tooltip = {
				tooltip = GER_controls_atlantic_coast_brittany_finnmark_tt
				OR = {
					925 = { #Finnmark
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					924 = { #Troms
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					144 = { #Nordland
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					923 = { #Helgeland
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					143 = { #Trondelag
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					142 = { #Vestlandet
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					922 = { #Agder
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					921 = { #Telemark
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					110 = { #Oslo
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					915 = { #Halland
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					140 = { #Västergötland
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					99 = { #Jylland
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					912 = { #Sonderjylland
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					36 = { #Friesland
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					7 = { #Holland
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					35 = { #Brabant
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					6 = { #Vlaanderen
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					29 = { #Nord-Pas-de_calais
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					785 = { #Picardy
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					15 = { #Normandy
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					14 = { #Brittany
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_timed_idea = {
				idea = GER_the_kammhuber_line
				days = 365
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_controls_atlantic_coast_brittany_finnmark_effects_tt
			every_state = {
				limit = { 
					anti_air_building < 4
					state_is_fully_controlled_by_ROOT_or_subject = yes
					is_coastal = yes 
					OR = {
						state = 925
						state = 924
						state = 144
						state = 923
						state = 143
						state = 142
						state = 922
						state = 921
						state = 110
						state = 915
						state = 140
						state = 99
						state = 912
						state = 909
						state = 58 
						state = 59
						state = 56
						state = 36
						state = 7
						state = 35
						state = 6
						state = 977
						state = 29
						state = 785
						state = 15
						state = 14
					}
				}
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
			}
		}
	}
	
	focus = {
		id = GER_establish_night_fighter_squadrons
		icon = GFX_goal_generic_air_fighter2
		prerequisite = { focus = GER_defense_of_the_reich }

		x = 0
		y = 1
		relative_position_id = GER_defense_of_the_reich
		cost = 5
		available = {
			has_tech = centimetric_radar
			has_war_with_major = yes
		}

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_timed_idea = {
				idea = GER_nachtjagdgeschwader
				days = 365
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ace = {
				name = Heinz
				surname = Schnaufer
				callsign = "The Spook" #actually "The Spook of St. Trond"
				type = fighter_unique
			}
			add_ace = {
				name = Helmut
				surname = Lent
				callsign = "The Moonlight Hunter" #made-up
				type = fighter_unique
			}
		}
	}
	
	focus = {
		id = GER_torpedobomber
		icon = GFX_goal_generic_air_naval_bomber
		prerequisite = { focus = GER_develop_the_knickebein }

		x = 0
		y = 1
		relative_position_id = GER_develop_the_knickebein
		cost = 2
		available = {
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_tech_bonus = {
				name = GER_torpedobomber
				bonus = 0.5
				uses = 1
				category = cat_air_bombs
			}
			
			set_technology = { air_torpedoe_2 = 1 }

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_airforce_modifier = yes
			add_to_variable = { 
				GER_military_air_nav_efficiency = 0.1
				tooltip = air_nav_efficiency_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_dlc = "Arms Against Tyranny" }
				}
				if = {
					limit = {
						has_idea = GER_fieseler
					}
					swap_ideas = {
						remove_idea = GER_fieseler
						add_idea = GER_fieseler_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = GER_fieseler
							add_idea = GER_fieseler_improved
						}
					}
				}
			}
			else = {
				mio:GER_fieseler_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05

					#unlock_mio_trait_tooltip = 
					#unlock_mio_trait_tooltip = 
				}
			}
		}
	}
	
	focus = {
		id = GER_establish_carrier_groups
		icon = GFX_goal_generic_navy_carrier
		prerequisite = { focus = GER_torpedobomber }
		prerequisite = { focus = GER_construct_aircraft_carriers }

		x = 1
		y = 1
		relative_position_id = GER_torpedobomber
		cost = 2
		available = {
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_ideas = GER_tragergruppen_ns

			if = {
				limit = {
					has_dlc = "Gotterdammerung"
					NOT = { is_special_project_completed = sp:sp_naval_modern_carrier }
				}
				custom_effect_tooltip = generic_skip_one_line_tt

				GER_add_or_modify_wunderwaffen = yes
				add_to_variable = { 
					GER_wunderwaffen_sp_naval_modern_carrier_speed_factor = GER_wunderwaffe_research_speed_bonus
					tooltip = sp_naval_modern_carrier_speed_factor_tt
				}
			}
		}
	}

	focus = {
		id = GER_aerodynamic_research_institute
		icon = GFX_focus_generic_aircraft_production
		prerequisite = { focus = GER_solve_the_logistical_bottlenecks focus = GER_establish_night_fighter_squadrons}
		prerequisite = { focus = GER_rocketry_innovations }

		x = 0
		y = 2
		relative_position_id = GER_solve_the_logistical_bottlenecks
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			if = {
				limit = {
					controls_state = 59
				}
				59 = { #Hannover
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				random_owned_state = {
					limit = {
						is_controlled_by = ROOT
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.5
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				create_equipment_variant = { 
					name = "Me 262" 
					allow_without_tech = no
					type = small_plane_airframe_4
					design_team = mio:GER_messerschmitt_organization
					modules = {
						fixed_main_weapon_slot = aircraft_cannon_2_2x
						fixed_auxiliary_weapon_slot_1 = aircraft_cannon_2_2x
						engine_type_slot = jet_engine_2x
						special_type_slot_1 = armor_plate_small
						special_type_slot_2 = drop_tanks	
						special_type_slot_3 = self_sealing_fuel_tanks_small	
					}
					icon = "GFX_GER_jet_plane_1_medium"
					model = "GER_jet_plane_entity"
				}
				create_equipment_variant = { 
					name = "Ar 234" 
					allow_without_tech = no
					type = medium_plane_airframe_4
					design_team = mio:GER_dornier_organization
					modules = {
						fixed_main_weapon_slot = medium_bomb_bay
						fixed_auxiliary_weapon_slot_1 = medium_bomb_bay
						fixed_auxiliary_weapon_slot_2 = bomb_locks
						engine_type_slot = jet_engine_2x
						special_type_slot_1 = fuel_tanks_medium
						special_type_slot_2 = empty	
					}
					icon = "GFX_medium_plane_4_medium"
					model = "GER_medium_jet_plane_1_entity"
				}
				
				custom_effect_tooltip = generic_skip_one_line_tt
			}


			GER_modify_airforce_modifier = yes
			add_to_variable = { 
				GER_military_air_agility_factor = 0.05
				tooltip = air_agility_factor_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_add_or_modify_wunderwaffen = yes
			add_to_variable = { 
				GER_wunderwaffen_sp_tag_jet_speed_factor = GER_wunderwaffe_research_speed_bonus
				tooltip = sp_tag_jet_speed_factor_tt
			}

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = GER_aerodynamic_research_institute_tt
			}
		}
	}
	
	focus = {
		id = GER_amerikabomber
		icon = GFX_focus_GER_amerikabomber
		prerequisite = { focus = GER_aerodynamic_research_institute }

		x = 0
		y = 1
		relative_position_id = GER_aerodynamic_research_institute
		cost = 10

		continue_if_invalid = yes
		cancel_if_invalid = no

		available = {
			custom_trigger_tooltip = {
				tooltip = GER_war_with_american_country_tt
				 any_enemy_country = {
					capital_scope = { 
						OR = {
							is_on_continent = north_america
							is_on_continent = south_america
						}
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		select_effect = {
			if = {
				limit = {
					OR = {
						NOT = { has_dlc = "Gotterdammerung" }
						NOT = {
							is_special_project_being_researched = sp:sp_air_intercontinental_bomber
						}
					}
				}
				country_event = { id = GOT_GER_amerikabomber.01 days = 14 random_days = 7 }
			}
		}

		completion_reward = {
			if = {
				limit = {
					has_dlc = "Gotterdammerung"
				}
				custom_effect_tooltip = GER_unlocks_statue_of_liberty_raid_tt

				custom_effect_tooltip = generic_skip_one_line_tt

				GER_add_or_modify_wunderwaffen = yes
				if = {
					limit = {
						NOT = { is_special_project_completed = sp_air_intercontinental_bomber }
					}
					add_to_variable = { 
						GER_wunderwaffen_sp_air_intercontinental_bomber_speed_factor = 0.2 #MM: This is the focus of this focus, so extra speed
						tooltip = sp_air_intercontinental_bomber_speed_factor_tt
					}
				}
				if = {
					limit = {
						NOT = { is_special_project_completed = sp_air_mothership_aircraft }
					}
					add_to_variable = { 
						GER_wunderwaffen_sp_air_mothership_aircraft_speed_factor = GER_wunderwaffe_research_speed_bonus
						tooltip = sp_air_mothership_aircraft_speed_factor_tt
					}
				}
			}
			else = {
				add_tech_bonus = {
					name = GER_amerikabomber
					bonus = 2
					uses = 1
					category = transport_planes_cat
					category = cat_strategic_bomber
				}
			}
		}
	}



	#KRIEGSMARINE
	focus = {
		id = GER_strengthen_the_kriegsmarine
		icon = GFX_focus_GER_navy
		#prerequisite = { focus = }

		x = 12
		y = 0
		relative_position_id = GER_expanding_the_luftwaffe
		cost = 2
		available = {
		}

		search_filters = { FOCUS_FILTER_NAVY_XP FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			
			56 = {
				add_building_construction = {
					type = naval_facility
					province = 241
					level = 1
					instant_build = yes
				}			
			}			
			navy_experience = 25
			custom_effect_tooltip = generic_skip_one_line_tt
			every_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				random_select_amount = 2
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = GER_plan_z
		icon = GFX_focus_generic_air_carrier
		prerequisite = { focus = GER_strengthen_the_kriegsmarine }

		x = -2
		y = 1
		relative_position_id = GER_strengthen_the_kriegsmarine
		cost = 2
		available = {
			OR = {
				NOT = { has_completed_focus = GER_trade_interdiction }
				has_completed_focus = GER_unrestricted_convoy_raiding
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		complete_tooltip = {
		}
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = GER_plan_z
				cost_reduction = 0.25
				uses = 3
				category = fleet_in_being_tree
			}

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				mio:GER_germaniawerft_organization = {
					unlock_mio_trait_tooltip = GER_mio_trait_history_of_battleships
					#unlock_mio_trait_tooltip = 
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_plan_z_lock_other_focus_tt
		}
	}

	focus = {
		id = GER_expand_kriegsmarinewerft
		icon = GFX_focus_POL_develop_polish_shipbuilding
		prerequisite = { focus = GER_plan_z }

		x = -2
		y = 1
		relative_position_id = GER_plan_z
		cost = 2
		available = {
			is_special_project_completed = sp:sp_air_radar
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			if = {
				limit = {
					56 = {
						is_fully_controlled_by = ROOT
					}
				}
				56 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = dockyard
						level = 2
						instant_build = yes
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
						is_coastal = yes
						free_building_slots = {
							building = dockyard
							size > 0
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = dockyard
						level = 2
						instant_build = yes
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			set_technology = {
                 improved_ship_hull_heavy  =1
                improved_heavy_armor_scheme =1
                improved_heavy_battery = 1
                improved_airplane_launcher = 1
            }

			if = {
				limit = { 
					has_dlc = "Man the Guns"
					is_special_project_completed = sp:sp_air_radar
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				create_equipment_variant = {
                name = "Bismarck Class"
                type = ship_hull_heavy_3
                name_group = GER_BB_HISTORICAL
                parent_version = 0
                modules = {
                    fixed_ship_battery_slot = ship_heavy_battery_3
                    fixed_ship_anti_air_slot = ship_anti_air_3
                    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_3
                    fixed_ship_secondaries_slot = dp_ship_secondaries_2
                    fixed_ship_armor_slot = ship_armor_bb_3
                    front_1_custom_slot = ship_heavy_battery_3
                    mid_1_custom_slot = ship_heavy_battery_3
                    mid_2_custom_slot = dp_ship_secondaries_2
                    mid_3_custom_slot = ship_airplane_launcher_2
                    rear_1_custom_slot = ship_heavy_battery_3

                }
				design_team = mio:GER_germaniawerft_organization
            }
				add_equipment_production = {
                equipment = {
                    type = ship_hull_heavy_3
                    creator = "GER" 
                    version_name = "Bismarck Class"
                }
                name = "Bismarck" 
                requested_factories = 1
                progress = 1
                amount = 1
            }
            add_equipment_production = {
                equipment = {
                    type = ship_hull_heavy_3
                    creator = "GER" 
                    version_name = "Bismarck Class"
                }
                name = "Tirpitz" 
                requested_factories = 1
                progress = 1
                amount = 1
            }
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_dlc = "Arms Against Tyranny" }
				}
				if = {
					limit = {
						has_idea = GER_kriegsmarinewerft_wilhelmshaven
					}
					swap_ideas = {
						remove_idea = GER_kriegsmarinewerft_wilhelmshaven
						add_idea = GER_kriegsmarinewerft_wilhelmshaven_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = GER_kriegsmarinewerft_wilhelmshaven
							add_idea = GER_kriegsmarinewerft_wilhelmshaven_improved
						}
					}
				}
			}
			else = {
				mio:GER_kriegsmarinewerft_wilhelmshaven_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05

					#unlock_mio_trait_tooltip = 
					#unlock_mio_trait_tooltip = 
				}
			}
		}
	}

	focus = {
		id = GER_construct_aircraft_carriers
		icon = GFX_focus_GER_graf_zeppelin
		prerequisite = { focus = GER_expand_kriegsmarinewerft }

		x = -1
		y = 1
		relative_position_id = GER_expand_kriegsmarinewerft
		cost = 2
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 0
						include_locked = yes
					}
				}
				prioritize = { 807 }
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			random_navy_leader = {
				limit = {
					NOT = {
						is_character = GER_erich_raeder
						is_character = GER_karl_donitz
					}
					OR = {
						NOT = { has_trait = air_controller }
						AND = {
							has_trait = air_controller
							NOT = { has_trait = flight_deck_manager }
						}
					}
				}
				if = {
					limit = {
						has_trait = air_controller
					}
					add_trait = { trait = flight_deck_manager }

				}
				else = {
					add_trait = { trait = air_controller }
				}
			}
			set_technology = {
                early_ship_hull_carrier  =1
                basic_ship_hull_carrier =1
            }	
			create_equipment_variant = {
                name = "Count Zeppelin Class"
                type = ship_hull_carrier_1
                #name_group = GER_BB_HISTORICAL
                parent_version = 0
                modules = {
                    fixed_ship_deck_slot_1 = ship_deck_space
                    fixed_ship_deck_slot_2 = ship_deck_space
                    fixed_ship_anti_air_slot = ship_anti_air_2
                    fixed_ship_radar_slot = empty
                    fixed_ship_engine_slot = carrier_ship_engine_2
                    fixed_ship_secondaries_slot = dp_ship_secondaries_2
                    front_1_custom_slot = ship_deck_space
					mid_1_custom_slot = ship_deck_space
                }
            }
			add_equipment_production = {
                equipment = {
                    type = ship_hull_carrier_1
                    creator = "GER" 
                    version_name = "Count Zeppelin Class"
                }
                name = "Count Zeppelin" 
                requested_factories = 1
                progress = 0.8
                amount = 1
            }
			add_equipment_production = {
                equipment = {
                    type = ship_hull_carrier_1
                    creator = "GER" 
                    version_name = "Count Zeppelin Class"
                }
                name = "Reder" 
                requested_factories = 1
                progress = 0.8
                amount = 1
            }
			add_equipment_production = {
                equipment = {
                    type = ship_hull_carrier_1
                    creator = "GER" 
                    version_name = "Count Zeppelin Class"
                }
                name = "Donitz" 
                requested_factories = 1
                progress = 0.8
                amount = 1
            }
			add_equipment_production = {
                equipment = {
                    type = ship_hull_carrier_1
                    creator = "GER" 
                    version_name = "Count Zeppelin Class"
                }
                name = "Prinz Eugen" 
                requested_factories = 1
                progress = 0.8
                amount = 1
            }			

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_dlc = "Arms Against Tyranny" }
				}
				if = {
					limit = {
						has_idea = GER_deutsche_werke
					}
					swap_ideas = {
						remove_idea = GER_deutsche_werke
						add_idea = GER_deutsche_werke_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = GER_deutsche_werke
							add_idea = GER_deutsche_werke_improved
						}
					}
				}
			}
			else = {
				mio:GER_deutsche_werke_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05

					#unlock_mio_trait_tooltip = 
					#unlock_mio_trait_tooltip = 
				}
			}
		}
	}

	focus = {
		id = GER_grosskampfschiff_construction
		icon = GFX_focus_generic_navy_battleship2
		prerequisite = { focus = GER_expand_kriegsmarinewerft }

		x = 1
		y = 1
		relative_position_id = GER_expand_kriegsmarinewerft
		cost = 2
		available = {
			NOT = { has_completed_focus = GER_high_seas_fleet }
			has_tech = improved_ship_hull_heavy
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = GER_grosskampfschiff_construction
				bonus = 0.5
				uses = 1
				category = bb_tech
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			random_navy_leader = {
				limit = {
					NOT = {
						is_character = GER_erich_raeder
						is_character = GER_karl_donitz
					}
					NOT = { has_trait = battleship_adherent }
				}
				add_trait = { trait = battleship_adherent }
			}

			if = {
				limit = { 
					has_dlc = "Man the Guns"
					is_special_project_completed = sp:sp_air_radar
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				create_equipment_variant = {
                name = "Bismarck Class"
                type = ship_hull_heavy_3
                name_group = GER_BB_HISTORICAL
                parent_version = 0
                modules = {
                    fixed_ship_battery_slot = ship_heavy_battery_3
                    fixed_ship_anti_air_slot = ship_anti_air_3
                    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_3
                    fixed_ship_secondaries_slot = dp_ship_secondaries_2
                    fixed_ship_armor_slot = ship_armor_bb_3
                    front_1_custom_slot = ship_heavy_battery_3
                    mid_1_custom_slot = ship_heavy_battery_3
                    mid_2_custom_slot = dp_ship_secondaries_2
                    mid_3_custom_slot = ship_airplane_launcher_2
                    rear_1_custom_slot = ship_heavy_battery_3

                }
				design_team = mio:GER_germaniawerft_organization
            }
				add_equipment_production = {
                equipment = {
                    type = ship_hull_heavy_3
                    creator = "GER" 
                    version_name = "Bismarck Class"
                }
                name = "Bismarck" 
                requested_factories = 1
                progress = 1
                amount = 1
            }
            add_equipment_production = {
                equipment = {
                    type = ship_hull_heavy_3
                    creator = "GER" 
                    version_name = "Bismarck Class"
                }
                name = "Tirpitz" 
                requested_factories = 1
                progress = 1
                amount = 1
            }
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_navy_modifier = yes
			add_to_variable = { 
				GER_military_naval_heavy_gun_hit_chance_factor = 0.05
				tooltip = naval_heavy_gun_hit_chance_factor_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					has_dlc = "Gotterdammerung"
					NOT = { is_special_project_completed = sp:sp_naval_modern_battleship }
				}
				GER_add_or_modify_wunderwaffen = yes
				add_to_variable = { 
					GER_wunderwaffen_sp_naval_modern_battleship_speed_factor = GER_wunderwaffe_research_speed_bonus
					tooltip = sp_naval_modern_battleship_speed_factor_tt
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			if = {
				limit = {
					NOT = { has_dlc = "Arms Against Tyranny" }
				}
				if = {
					limit = {
						has_idea = germaniawerft
					}
					swap_ideas = {
						remove_idea = germaniawerft
						add_idea = GER_germaniawerft_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = germaniawerft
							add_idea = GER_germaniawerft_improved
						}
					}
				}
			}
			else = {
				mio:GER_germaniawerft_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05

					unlock_mio_trait_tooltip = GER_mio_trait_h_class_battleships
					#unlock_mio_trait_tooltip = 
				}
			}
		}
	}
	
	focus = {
		id = GER_high_seas_fleet
		icon = GFX_focus_GER_high_seas_fleet
		prerequisite = { focus = GER_expand_kriegsmarinewerft }

		x = 1
		y = 1
		relative_position_id = GER_construct_aircraft_carriers
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			if = {
				limit = {
					NOT = { has_completed_focus = GER_trade_interdiction }
				}
				custom_effect_tooltip = GER_unlock_trade_interdiction_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_navy_modifier = yes
			add_to_variable = { 
				GER_military_naval_defense_factor = 0.05
				tooltip = naval_defense_factor_tt
			}
			add_to_variable = { 
				GER_military_naval_hit_chance = 0.05
				tooltip = naval_hit_chance_tt
			}
			add_to_variable = { 
				GER_military_screening_efficiency = 0.1
				tooltip = screening_efficiency_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_dlc = "Arms Against Tyranny" }
				}
				if = {
					limit = {
						has_idea = GER_deschimag
					}
					swap_ideas = {
						remove_idea = GER_deschimag
						add_idea = GER_deschimag_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = GER_deschimag
							add_idea = GER_deschimag_improved
						}
					}
				}
			}
			else = {
				mio:GER_deschimag_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05

					#unlock_mio_trait_tooltip = 
					#unlock_mio_trait_tooltip = 
				}
			}
		}
	}
	
	focus = {
		id = GER_re_establish_the_seekriegsleitung
		icon = GFX_goal_generic_build_navy
		prerequisite = { focus = GER_strengthen_the_kriegsmarine }

		x = 0
		y = 2
		relative_position_id = GER_strengthen_the_kriegsmarine
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			add_command_power = 25

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_navy_modifier = yes
			add_to_variable = { 
				GER_military_navy_max_range_factor = 0.1
				tooltip = navy_max_range_factor_tt
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt

			add_doctrine_cost_reduction = {
				name = GER_re_establish_the_seekriegsleitung
				cost_reduction = 0.5
				uses = 1
				category = naval_doctrine
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_chief_of_navy
			show_ideas_tooltip = GER_rolf_carls
		}
	}
	
	focus = {
		id = GER_marinestosstrupp
		icon = GFX_goal_generic_amphibious_assault
		prerequisite = { focus = GER_re_establish_the_seekriegsleitung }

		x = -1
		y = 1
		relative_position_id = GER_re_establish_the_seekriegsleitung
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				add_doctrine_cost_reduction = {
					name = GER_marinestosstrupp
					cost_reduction = 0.25
					uses = 2
					category = cat_marines_doctrine
				}
			}
			add_tech_bonus = {
				name = GER_marinestosstrupp
				bonus = 1
				uses = 1
				category = marine_tech
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			GER_modify_army_modifier = yes
			add_to_variable = { 
				GER_military_special_forces_cap = 0.05
				tooltip = special_forces_cap_tt
			}
		}
	}
	
	focus = {
		id = GER_atlantic_naval_bases
		icon = GFX_focus_generic_atlantic_coast
		prerequisite = { focus = GER_re_establish_the_seekriegsleitung }

		x = 1
		y = 1
		relative_position_id = GER_re_establish_the_seekriegsleitung
		cost = 5
		available = { #These states start out with naval bases in western France
			14 = { #Brittany
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
			23 = { #Poitou
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
			19 = { #Aquitaine
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}

		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			
			custom_effect_tooltip = GER_naval_bases_along_atlantic_coast_tt
	
			every_state = {
				limit = { 
					state_is_fully_controlled_by_ROOT_or_subject = yes
					is_coastal = yes 
					naval_base < 10
					OR = { #Atlantic Coast from Brittany to Sevilla
						state = 14
						state = 30
						state = 23
						state = 19
						state = 806
						state = 792
						state = 790
						state = 171
						state = 180
						state = 112
						state = 179
						state = 169
					}
				}
				add_building_construction = {
					type = naval_base
					level = 1
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
				    }
				}
			}
			every_state = {
				limit = { 
					state_is_fully_controlled_by_ROOT_or_subject = yes
					is_coastal = yes 
					coastal_bunker < 10
					OR = { #Atlantic Coast from Brittany to Sevilla
						state = 14
						state = 30
						state = 23
						state = 19
						state = 806
						state = 792
						state = 790
						state = 171
						state = 180
						state = 112
						state = 179
						state = 169
					}
				}
				add_building_construction = {
					type = coastal_bunker
					level = 1
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
				    }
				}
			}
		}
	}
	
	focus = {
		id = GER_atlantic_naval_dominance
		icon = GFX_focus_generic_north_atlantic_fleet
		prerequisite = { focus = GER_marinestosstrupp focus = GER_atlantic_naval_bases}

		x = 1
		y = 1
		relative_position_id = GER_marinestosstrupp
		cost = 2
		available = {
			custom_trigger_tooltip = {
				tooltip = GER_controls_an_atantic_island_tt
				OR = {
					914 = { #Jan Mayen
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					100 = { #Iceland
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					101 = { #Greenland
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					337 = { #Faroes
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					933 = { #Shetlands
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					134 = { #Ireland
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					119 = { #North Ireland
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					178 = { #The Canaries
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					698 = { #The Azores
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					696 = { #Bermuda
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					697 = { #Madeira
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					702 = { #Cape Verde
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			GER_modify_navy_modifier = yes
			add_to_variable = { 
				GER_military_navy_max_range_factor = 0.1
				tooltip = navy_max_range_factor_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_naval_bases_on_atlantic_islands_tt
			every_state = {
				limit = { 
					state_is_fully_controlled_by_ROOT_or_subject = yes
					is_coastal = yes 
					naval_base < 10
					OR = { #Atlantic Islands from Greenland to Cape Verde
						state = 914
						state = 101
						state = 100
						state = 337
						state = 933
						state = 134
						state = 119
						state = 178
						state = 698
						state = 696
						state = 697
						state = 702
					}
				}
				add_building_construction = {
					type = naval_base
					level = 1
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
				    }
				}
			}
			every_state = {
				limit = { 
					state_is_fully_controlled_by_ROOT_or_subject = yes
					is_coastal = yes 
					coastal_bunker < 10
					OR = { #Atlantic Islands from Greenland to the Falklands
						state = 101
						#state = 914 #Not you Jan Mayen
						state = 100
						state = 337
						state = 933
						state = 134
						state = 119
						state = 178
						state = 698
						state = 696
						state = 697
						state = 702
						state = 703
						state = 704
						state = 297
						state = 705
						state = 697
						state = 720
						state = 299
					}
				}
				add_building_construction = {
					type = coastal_bunker
					level = 1
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
				    }
				}
			}
		}
	}
	
	focus = {
		id = GER_trade_interdiction

		icon = GFX_focus_generic_trade_interdiction
		alternate_icon = GFX_focus_GER_trade_interdiction_historical

		prerequisite = { focus = GER_strengthen_the_kriegsmarine }

		x = 2
		y = 1
		relative_position_id = GER_strengthen_the_kriegsmarine
		cost = 2
	
		available = {
			OR = {
				NOT = { has_completed_focus = GER_plan_z }
				has_completed_focus = GER_high_seas_fleet
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MILITARY_CHARACTER }

		complete_tooltip = {
		}
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = GER_trade_interdiction
				cost_reduction = 0.25
				uses = 2
				category = trade_interdiction_tree	
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_trade_interdiction_lock_other_focus_tt

			IF = {
				limit = {
					GER_karl_donitz = {
						is_unit_leader = yes
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = available_chief_of_navy
				show_ideas_tooltip = donitz
			}
		}
	}
	
	focus = {
		id = GER_cruiser_warfare
		icon = GFX_focus_generic_cruiser2
		prerequisite = { focus = GER_trade_interdiction }

		x = 1
		y = 1
		relative_position_id = GER_trade_interdiction
		cost = 2
		available = {
			NOT = { has_completed_focus = GER_unrestricted_convoy_raiding }
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }

		completion_reward = {
			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = GER_cruiser_warfare
				bonus = 0.5
				uses = 1
				category = cl_tech
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					has_character = GER_erich_raeder
					GER_erich_raeder = {
						is_unit_leader = yes
					}
				}
				if = {
					limit = {
						GER_erich_raeder = {
							NOT = { has_trait = superior_tactician }
						}
					}
					add_trait = {
					    character = GER_erich_raeder
					    trait = superior_tactician
					}
				}
				else_if = {
					limit = {
						GER_erich_raeder = {
							NOT = { has_trait = cruiser_captain }
						}
					}
					add_trait = { 
					    character = GER_erich_raeder
					    trait = cruiser_captain
					}
				}
			}

			GER_modify_navy_modifier = yes
			add_to_variable = { 
				GER_military_convoy_raiding_efficiency_factor = 0.05
				tooltip = convoy_raiding_efficiency_factor_tt
			}
			add_to_variable = { 
				GER_military_naval_light_gun_hit_chance_factor = 0.05
				tooltip = naval_light_gun_hit_chance_factor_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = GER_refit_convoys_to_cruisers

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_dlc = "Arms Against Tyranny" }
				}
				if = {
					limit = {
						has_idea = blohm_und_voss
					}
					swap_ideas = {
						remove_idea = blohm_und_voss
						add_idea = GER_blohm_und_voss_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = blohm_und_voss
							add_idea = GER_blohm_und_voss_improved
						}
					}
				}
			}
			else = {
				mio:GER_blohm_und_voss_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05

					unlock_mio_trait_tooltip = GER_mio_trait_heavy_raiders
					#unlock_mio_trait_tooltip = 
				}
			}
		}
	}
	
	focus = {
		id = GER_panzerschiff_raiders
		icon = GFX_focus_ARG_study_the_battle_of_the_river_plate
		prerequisite = { focus = GER_cruiser_warfare }
		mutually_exclusive = { focus = GER_u_boat_efforts }

		x = 0
		y = 1
		relative_position_id = GER_cruiser_warfare
		cost = 2
		available = {
			NOT = { has_completed_focus = GER_unrestricted_convoy_raiding }
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = GER_cruiser_warfare
				bonus = 0.5
				uses = 1
				category = ca_tech
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			GER_modify_navy_modifier = yes
			add_to_variable = { 
				GER_military_screening_without_screens = 0.1
				tooltip = screening_without_screens_tt
			}
			add_to_variable = { 
				GER_military_naval_light_gun_hit_chance_factor = 0.05
				tooltip = naval_light_gun_hit_chance_factor_tt
			}
			add_to_variable = { 
				GER_military_naval_heavy_gun_hit_chance_factor = 0.05
				tooltip = naval_heavy_gun_hit_chance_factor_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				mio:GER_blohm_und_voss_organization = {
					unlock_mio_trait_tooltip = GER_mio_trait_o_class_battlecruisers
				}
			}
		}
	}
	
	focus = {
		id = GER_wolfpack_tactics
		icon = GFX_goal_generic_wolf_pack
		prerequisite = { focus = GER_trade_interdiction }

		x = 3
		y = 1
		relative_position_id = GER_trade_interdiction
		cost = 2
		available = {
			NOT = { has_completed_focus = GER_unrestricted_convoy_raiding }
			has_war = yes
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			add_doctrine_cost_reduction = {
				name = GER_wolfpack_tactics
				cost_reduction = 0.25
				uses = 1
				category = trade_interdiction_tree	
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					has_character = GER_karl_donitz
					GER_karl_donitz = {
						is_unit_leader = yes
					}

				}
				if = {
					limit = {
						GER_karl_donitz = {
							NOT = { has_trait = bold }
						}
					}
					add_trait = {
					    character = GER_karl_donitz
					    trait = bold
					}
				}
				else_if = {
					limit = {
						GER_karl_donitz = {
							NOT = { has_trait = spotter }
						}
					}
					add_trait = {
					    character = GER_karl_donitz
					    trait = spotter
					}
				}
			}

			add_timed_idea = {
				idea = GER_rudeltaktik_ns
				days = 365
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_theorist
			show_ideas_tooltip = alfred_saalwachter
		}
	}
	
	focus = {
		id = GER_u_boat_efforts
		icon = GFX_focus_BRA_german_submarine_development
		prerequisite = { focus = GER_wolfpack_tactics }
		mutually_exclusive = { focus = GER_panzerschiff_raiders }
		x = 0
		y = 1
		relative_position_id = GER_wolfpack_tactics
		cost = 2
		available = {
			NOT = { has_completed_focus = GER_unrestricted_convoy_raiding }
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			set_technology = { improved_ship_hull_submarine = 1 }
            set_technology = { basic_submarine_snorkel = 1 }
		
			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_navy_modifier = yes
			custom_effect_tooltip = GER_submarine_max_speed_small_tt
			hidden_effect = {
				add_equipment_bonus = {
					name = GER_u_boat_efforts
					bonus = {
						ship_hull_submarine = {
							naval_speed = 0.05 #WARNING! If you change this value, you need to update GER_submarine_max_speed_small_tt
						}
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_add_or_modify_wunderwaffen = yes
			add_to_variable = { 
				GER_wunderwaffen_sp_tag_submarine_speed_factor = GER_wunderwaffe_research_speed_bonus
				tooltip = sp_tag_submarine_speed_factor_tt
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_dlc = "Arms Against Tyranny" }
				}
				if = {
					limit = {
						has_idea = GER_hdw
					}
					swap_ideas = {
						remove_idea = GER_hdw
						add_idea = GER_hdw_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = GER_hdw
							add_idea = GER_hdw_improved
						}
					}
				}
			}
			else = {
				mio:GER_hdw_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05

					unlock_mio_trait_tooltip = GER_mio_trait_ocean_u_boats
					unlock_mio_trait_tooltip = GER_mio_trait_kilian_submarine_bunker
					unlock_mio_trait_tooltip = GER_mio_trait_atlantic_raiders
				}
				mio:GER_blohm_und_voss_organization = {
					unlock_mio_trait_tooltip = GER_mio_trait_u_boat_yards
				}
			}
		}
	}
	
	focus = {
		id = GER_unrestricted_convoy_raiding
		icon = GFX_goal_generic_navy_battleship
		prerequisite = { focus = GER_panzerschiff_raiders focus = GER_u_boat_efforts }

		x = 1
		y = 1
		relative_position_id = GER_panzerschiff_raiders
		cost = 2
		available = {
		}

		search_filters = {}

		completion_reward = {
			if = {
				limit = {
					NOT = { has_completed_focus = GER_plan_z }
				}
				custom_effect_tooltip = GER_unlock_plan_z_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_navy_modifier = yes
			add_to_variable = { 
				GER_military_naval_defense_factor = 0.05
				tooltip = naval_defense_factor_tt
			}
			add_to_variable = { 
				GER_military_convoy_raiding_efficiency_factor = 0.05
				tooltip = convoy_raiding_efficiency_factor_tt
			}
			if = {
				limit = {
					NOT = {
						has_completed_focus = GER_panzerschiff_raiders
						has_completed_focus = GER_u_boat_efforts
					}
				}
				custom_effect_tooltip = GER_with_panzerschiff_completed_tt
				add_to_variable = { 
					GER_military_screening_without_screens = 0.1
					tooltip = screening_without_screens_tt
				}
				custom_effect_tooltip = GER_with_u_boat_efforts_completed_tt
				custom_effect_tooltip = GER_submarine_max_speed_small_tt
			}
			else_if = {
				limit = {
					has_completed_focus = GER_panzerschiff_raiders
				}
				add_to_variable = { 
					GER_military_screening_without_screens = 0.1
					tooltip = screening_without_screens_tt
				}
			}
			else_if = {
				limit = {
					has_completed_focus = GER_u_boat_efforts
				}
				custom_effect_tooltip = GER_submarine_max_speed_small_tt
				hidden_effect = {
					add_equipment_bonus = {
						name = GER_unrestricted_convoy_raiding
						bonus = {
							ship_hull_submarine = {
								naval_speed = 0.05 #WARNING! If you change this value, you need to update GER_submarine_max_speed_small_tt
							}
						}
					}
				}
			}	
		}
	}
	
	focus = {
		id = GER_seeherrschaft 
		icon = GFX_focus_GER_seeherrschaft
		prerequisite = { focus = GER_high_seas_fleet }
		prerequisite = { focus = GER_unrestricted_convoy_raiding }
		
		x = 0
		y = 1
		relative_position_id = GER_atlantic_naval_dominance

		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			random_navy_leader = {
				limit = {
					NOT = { has_trait = blue_water_expert }
				}
				add_trait = { trait = blue_water_expert }
			}
			random_navy_leader = {
				limit = {
					NOT = { has_trait = blue_water_expert }
				}
				add_trait = { trait = blue_water_expert }
			}

			add_ideas = GER_seeherrschaft_ns
		}
	}
	



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





	focus = {
		id = GER_remilitarize_the_rhineland

		icon = GFX_focus_GER_remilitarize_the_rhineland
		alternate_icon = GFX_focus_GER_remilitarize_the_rhineland_historical

		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					OR = {
						has_completed_focus = GER_oppose_hitler_ww
						has_completed_focus = GER_oppose_hitler
					}
				}
			}
		}

		x = 20
		y = 0
		relative_position_id = GER_prioritize_economic_growth

		cost = 5

		available = {
			is_subject = no
			has_government = fascism
			42 = { is_fully_controlled_by = ROOT } #RHINELAND
			51 = { is_fully_controlled_by = ROOT } #MOSSELLAND
			978 = { is_fully_controlled_by = ROOT } #BADEN
		}
		
		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ARMY_XP }	

		completion_reward = {

			42 = { set_demilitarized_zone = no }
			51 = { set_demilitarized_zone = no }
			978 = { set_demilitarized_zone = no }
			set_global_flag = rhineland_remilitarized
			custom_effect_tooltip = GER_rhineland_ultimatum
			custom_effect_tooltip = generic_skip_one_line_tt
			add_political_power = 75
			army_experience = 5

			custom_effect_tooltip = generic_skip_one_line_tt
			add_named_threat = { threat = 5 name = GER_rhineland }

			if = {
				limit = { FRA = { is_subject = no } }
				FRA = {
					country_event = { id = germany.60 hours = 1 }
					custom_effect_tooltip = may_provoke_hostility
				}
			}

			hidden_effect = {
				if = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
			}

		}
	}

	focus = {
		id = GER_Expand_The_Gestapo
		icon = GFX_focus_CHL_policies_of_arturo_alessandri
		prerequisite = { focus = GER_anschluss }
		x = -4
		y = 1		
		cost = 5
		ai_will_do = {
			factor = 1
		}
		relative_position_id = GER_anschluss
	
		available_if_capitulated = yes
	
		completion_reward = {
			add_ideas = gestapo
		}
	}

	focus = {
		id = GER_anschluss

		icon = GFX_focus_GER_anschluss
		alternate_icon = GFX_focus_GER_anschluss_historical

		prerequisite = { focus = GER_remilitarize_the_rhineland }

		x = 7
		y = 1
		relative_position_id = GER_remilitarize_the_rhineland
		cost = 5

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				OR = {
					has_government = democratic
					has_government = communism
				}
			}
		}

		continue_if_invalid = yes
		
		available_if_capitulated = no
		
		available = {
			date > 1937.7.1
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				date < 1938.1.1
			}
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ANNEXATION FOCUS_FILTER_POLITICAL FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_ARMY_XP FOCUS_FILTER_STABILITY }

		select_effect = {
			play_song = "Аншлюс"
			AUS = {
				country_event = {
					id = AUS_political_events.77
					hours = 12
				}
				set_country_flag = AUS_anschluss_process_has_begun_flag
			}
		}

		completion_reward = {
			hidden_effect = {
				JAP = {
					add_timed_idea = {
				    idea = JAP_tipa_voina
				    days = 150
			        }
				}
			}
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				GER_add_or_modify_military_intelligence_service = yes
				add_to_variable = { 
					GER_military_intelligence_service_operative_slot = 1
					tooltip = operative_slot_tt
				}
				GER_create_operative_otto_skorzeny = yes
			}
			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					country_exists = AUS
					AUS = {
						has_civil_war = no
						OR = {
							owns_state = 4
							owns_state = 152
							owns_state = 153
							owns_state = 848
							owns_state = 975
							owns_state = 976
						}
					}
				}
				if = {
					limit = {
						NOT = { has_dlc = "Gotterdammerung" }
						ITA = {
							has_completed_focus = ITA_guarantee_austrian_independence
							has_guaranteed = AUS
						}
					}
			
					ITA = {
						country_event = {
							id = BBA_italy_interaction_events.24
							days = 1
						}
					}
				}
				else = { #ITA has not Guaranteed Austrian Independence
					AUS = {
						country_event = {
							id = germany.28
							days = 1
						}
					}		
					effect_tooltip = {
						custom_effect_tooltip = if_they_accept_tt
						add_political_power = 75
						add_war_support = 0.1
						add_stability = 0.05
						army_experience = 10

						custom_effect_tooltip = generic_skip_one_line_tt

						annex_country = { target = AUS transfer_troops = yes }
												
						GER_anschluss_modify_mefo_bills_or_economy_of_conquest = yes

						custom_effect_tooltip = if_they_refuse_tt
						create_wargoal = {
							type = take_state_focus
							target = AUS
							generator = { 4 152 153 848 975 976 }
						}
					}
				}
			}
			else_if = {
				limit = {
					any_other_country = {
						original_tag = AUS
						has_civil_war = yes
						OR = {
							owns_state = 4
							owns_state = 152
							owns_state = 153
							owns_state = 848
							owns_state = 975
							owns_state = 976
						}
						
					}
					ITA = {
						NOT = {
							has_completed_focus = ITA_guarantee_austrian_independence
						}
					}
				}
				custom_effect_tooltip = germany.126.warning
				random_other_country = {
					limit = {
						original_tag = AUS
						OR = {
							has_government = fascism
							AND = {
								has_government = neutrality
								NOT = {
									any_other_country = {
										original_tag = AUS
										has_government = fascism
									}
								}
							}
							NOT = {
								any_other_country = {
									original_tag = AUS
									OR = {
										has_government = fascism
										has_government = neutrality
									}
								}
							}							
						}
						
					}
					country_event = { id = germany.126 days = 1 }
				}
			}

			if = {
				limit = {
					4 = {
						owner = {
							NOT = {
								tag = AUS
							}
							NOT = {
								is_in_faction_with = ROOT
							}
						}
					}
				}
				add_state_core = 4
			}
			if = {
				limit = {
					152 = {
						owner = {
							NOT = {
								tag = AUS
							}
							NOT = {
								is_in_faction_with = ROOT
							}
						}
					}
				}
				add_state_core = 152
			}
			if = {
				limit = {
					153 = {
						owner = {
							NOT = {
								tag = AUS
							}
							NOT = {
								is_in_faction_with = ROOT
							}
						}
					}
				}
				add_state_core = 153
			}
			if = {
				limit = {
					848 = {
						owner = {
							NOT = {
								tag = AUS
							}
							NOT = {
								is_in_faction_with = ROOT
							}
						}
					}
				}
				add_state_core = 848
			}
			IF = {
				limit = {
					975 = {
						owner = {
							NOT = {
								tag = AUS
							}
							NOT = {
								is_in_faction_with = ROOT
							}
						}
					}
				}
				add_state_core = 975
			}
			IF = {
				limit = {
					976 = {
						owner = {
							NOT = {
								tag = AUS
							}
							NOT = {
								is_in_faction_with = ROOT
							}
						}
					}
				}
				add_state_core = 976
			}
		}
	}

	focus = {
		id = GER_the_sanayiciler
		icon = GFX_goal_generic_intelligence_exchange
		prerequisite = { focus = GER_anschluss }
		available = {
		}
		x = 3
		y = 1
		relative_position_id = GER_anschluss
		cost = 1
		ai_will_do = {
			base = 10
		}
		completion_reward = {
			custom_effect_tooltip = GER_the_sanayiciler_tt
			
		}
		hidden_effect = {
				unlock_decision_tooltip = GER_the_sanayiciler			
			}
	}
	focus = {
		id = GER_the_sanayiciler2
		icon = GFX_focus_mex_privatisation
		prerequisite = { focus = GER_the_sanayiciler }
		x = 0
		y = 1
		relative_position_id = GER_the_sanayiciler
		cost = 1
		ai_will_do = {
			base = 10
		}
		completion_reward = {
			custom_effect_tooltip = GER_the_sanayiciler2_tt
			
		}
		hidden_effect = {
				unlock_decision_tooltip = GER_the_sanayiciler2			
			}
	}

	focus = {
		id = GER_bribe_senior_officers
		icon = GFX_focus_ARG_crackdown_on_corruption
		prerequisite = { focus = GER_reorganize_the_wehrmacht  }

		x = -2
		y = 1
		relative_position_id = GER_reorganize_the_wehrmacht 
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			GER_modify_army_modifier = yes
			add_to_variable = { GER_military_unit_leader_as_advisor_cp_cost_factor = -0.15 tooltip = unit_leader_as_advisor_cp_cost_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt
			if = {
				limit = {
					has_character = GER_gunther_von_kluge
					
				}
				if = {
					limit = {
						GER_gunther_von_kluge = {
							NOT = { 
								has_trait = politically_connected
							}
						}
					}
					GER_gunther_von_kluge = {
						add_trait = { trait = politically_connected }
					}
				}
			}
			if = {
				limit = {
					has_character = GER_albert_kesselring
					
				}
				if = {
					limit = {
						GER_albert_kesselring = {
							NOT = { 
								has_trait = politically_connected
							}
						}
					}
					GER_albert_kesselring = {
						add_trait = { trait = politically_connected }
					}
				}
			}
			if = {
				limit = {
					has_character = GER_wilhelm_ritter_von_leeb
					
				}
				if = {
					limit = {
						GER_wilhelm_ritter_von_leeb = {
							NOT = { 
								has_trait = politically_connected
							}
						}
					}
					GER_wilhelm_ritter_von_leeb = {
						add_trait = { trait = politically_connected }
					}
				}
			}

			show_unit_leaders_tooltip = GER_walter_model
			show_unit_leaders_tooltip = GER_hermann_hoth
		}
	}
	
	focus = {
		id = GER_autonomy_in_the_kriegsschulen
		icon = GFX_focus_GER_appease_the_wehrmacht
		prerequisite = { focus = GER_bribe_senior_officers }
		x = 0
		y = 1
		relative_position_id = GER_bribe_senior_officers
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_ARMY_XP }

		completion_reward = {
			add_doctrine_cost_reduction = {
				cost_reduction = 0.5
				uses = 2
				category = land_doctrine
				name = GER_autonomy_in_the_kriegsschulen
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_army_modifier = yes
			add_to_variable = { GER_military_experience_gain_army_factor = 0.1 tooltip = experience_gain_army_factor_tt }
			add_to_variable = { GER_military_army_org_factor = 0.05 tooltip = army_org_factor_tt }
			add_to_variable = { GER_military_command_power_gain_mult = 0.1 tooltip = command_power_gain_mult_tt }		

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					has_character = GER_ewald_von_kleist
				}
				GER_ewald_von_kleist = {
					gain_xp = 250
				}
			}
			if = {
				limit = {
					has_character = GER_wilhelm_list
				}
				GER_wilhelm_list = {
					gain_xp = 250
				}
			}
			if = {
				limit = {
					has_character = GER_johannes_blaskowitz
				}
				GER_johannes_blaskowitz = {
					gain_xp = 250
				}
			}
		}
	}
	
	focus = {
		id = GER_expand_the_truppenschulen
		icon = GFX_focus_BRA_rio_protocol
		prerequisite = { focus = GER_expand_ss_recruitment }
        prerequisite = { focus = GER_autonomy_in_the_kriegsschulen }
		x = 1
		y = 1
		relative_position_id = GER_autonomy_in_the_kriegsschulen
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_manpower = 15000

			add_tech_bonus = {
				name = GER_expand_the_truppenschulen
				bonus = 0.75
				uses = 2
				category = support_tech
			}

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				add_doctrine_cost_reduction = {
					cost_reduction = 0.75
					uses = 1
					category = special_forces_doctrine
					name = GER_expand_the_truppenschulen
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt


			GER_modify_army_modifier = yes
			add_to_variable = { GER_military_land_doctrine_cost_factor = -0.15 tooltip = land_doctrine_cost_factor_tt }
			
		}
	}

	focus = {
		id = GER_innovative_warfare
		icon = GFX_focus_ARG_fascist_researchers
		
		prerequisite = { focus = GER_develop_heraeus_facilities }

		x = 0
		y = 1
		relative_position_id = GER_develop_heraeus_facilities
		cost = 10
		available = {
			has_war_with_major = yes
			has_tech = advanced_machine_tools
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_tech_bonus = {
				name = GER_innovative_warfare
				#bonus = 1
				ahead_reduction = 2
				uses = 1
				category = armor
				category = artillery
				category = naval_equipment
				category = air_equipment
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_add_or_modify_wunderwaffen = yes
			add_to_variable = { 
				GER_wunderwaffen_special_project_speed_factor = 0.05
				tooltip = special_project_speed_factor_tt
			}
			add_to_variable = { 
				GER_wunderwaffen_production_speed_facility_factor = 0.05
				tooltip = production_speed_facility_factor_tt
			}
		}
	}

	focus = {
		id = GER_uplift_the_rosenberg_office
		icon = GFX_focus_ger_reichskommisariats
		alternate_icon = GFX_focus_ger_reichskommisariats_historical
		prerequisite = {  focus = GER_reorganize_the_wehrmacht }

		x = 2
		y = 1
		relative_position_id = GER_reorganize_the_wehrmacht #von Ribbentrop
		cost = 5
		available = {
			has_government = fascism
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MANPOWER }

		completion_reward = {
			add_dynamic_modifier = {
				modifier = GER_alfred_rosenberg_modifier
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_reichskommissariats_tt
		}
	}

	focus = {
		id = GER_expand_ss_recruitment
		icon = GFX_focus_generic_fascist_troops
		prerequisite = { focus = GER_uplift_the_rosenberg_office focus = GER_bribe_senior_officers }

		x = -2
		y = 1
		relative_position_id = GER_uplift_the_rosenberg_office
		cost = 5
		available = {
			has_government = fascism
			OR = {
				any_controlled_state = {
					NOT = {
						is_core_of = ROOT
					}
					is_on_continent = europe
				}
				any_subject_country = {
					capital_scope = {
						is_on_continent = europe
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MANPOWER }

		completion_reward = {
			custom_effect_tooltip = GER_SS_recruitment_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_template = "Waffen-SS Division" }
				}
				division_template = {
					name = "Waffen - SS Division "
					priority = 2
					division_names_group = GER_SS_01
					template_counter = 101
					is_locked = yes #Unlocked in Strengthen the Waffen-SS focus under Himmler
					regiments = {
						militia = { x = 0 y = 0 }
						militia = { x = 0 y = 1 }
						militia = { x = 0 y = 2 }
					
						militia = { x = 1 y = 0 }
						militia = { x = 1 y = 1 }
						militia = { x = 1 y = 2 }
					}
					support = {
						artillery = { x = 0 y = 0 }
						engineer = { x = 0 y = 1 }
						mot_recon = { x = 0 y = 2 }
					}
					override_model = GER_militia
				}
			}
			if = {
				limit = {
					64 = {
						is_fully_controlled_by = ROOT
					}
				}
				64 = {
					custom_effect_tooltip = GER_create_four_militia_units_tt
					hidden_effect = {
						create_unit = {
							division = "division_template =\"Waffen-SS Division\" start_experience_factor = 0.2 start_equipment_factor = 0.7"
							owner = ROOT
							count = 4
						}
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
					}
					custom_effect_tooltip = GER_create_four_militia_units_tt
					hidden_effect = {
						create_unit = {
							division = "division_template =\"Waffen-SS Division\" start_experience_factor = 0.2 start_equipment_factor = 0.7"
							owner = ROOT
							count = 4
						}
					}
				}
			}


			if = {
				limit = {
					NOT = { has_template = "SS-Verfügungstruppe" }
				}
				division_template = {
					name = "SS - Verfügungstruppe "
					priority = 2
					division_names_group = GER_SS_01
					is_locked = yes
					regiments = {
						motorized = { x = 0 y = 0 }
						motorized = { x = 0 y = 1 }
						motorized = { x = 0 y = 2 }

						motorized = { x = 1 y = 0 }
						motorized = { x = 1 y = 1 }
						motorized = { x = 1 y = 2 }

					}
					support = {
						artillery = { x = 0 y = 0 }
						engineer = { x = 0 y = 1 }
						mot_recon = { x = 0 y = 2 }
					}
					override_model = GER_infantry_alt_0_entity
				}
			}
			if = {
				limit = {
					64 = {
						is_fully_controlled_by = ROOT
					}
				}
				64 = {
					custom_effect_tooltip = GER_create_two_motorized_units_tt
					hidden_effect = {
						create_unit = {
							division = "division_template =\"SS-Verfügungstruppe\" start_experience_factor = 0.2 start_equipment_factor = 0.4"
							owner = ROOT
							count = 2
						}
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
					}
					custom_effect_tooltip = GER_create_two_motorized_units_tt
					hidden_effect = {
						create_unit = {
							division = "division_template =\"SS-Verfügungstruppe\" start_experience_factor = 0.2 start_equipment_factor = 0.4"
							owner = ROOT
							count = 2
						}
					}
				}
			}
		}
	}
	
	focus = {
		id = GER_demand_sudetenland

		icon = GFX_focus_generic_attack_czechoslovakia
		alternate_icon = GFX_focus_GER_demand_sudetenland

		prerequisite = { focus = GER_anschluss }

		x = 1
		y = 1
		relative_position_id = GER_anschluss

		cost = 5

		will_lead_to_war_with = CZE
		will_lead_to_war_with = FRA


		available = {
		}

		cancel_if_invalid = yes

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				OR = {
					has_government = democratic
					has_government = communism
				}
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			### EVENT CHAIN - MUNICH CONFERENCE (CZE is always involved) ###
			if = {
				limit = {
					CZE = {
						OR = {
							controls_state = 69
							controls_state = 972
							controls_state = 74
						}
					}
				}
				if = { # HOL has formed EU and CZE is part of it - Alt-hist
					limit = {
						CZE = {
							is_in_faction_with = HOL
							is_subject = no
						}
						HOL = {
							has_completed_focus = HOL_foundations_for_a_european_union
							is_faction_leader = yes
							is_subject = no
							exists = yes
						}
						NOT = { has_war_with = HOL }
						NOT = { has_war_with = FRA }
						OR = {
							HUN = {
								NOT = {
									has_completed_focus = HUN_protect_czechoslovakia #DOD only
								}
							}
							CZE = {
								has_country_flag = HUN_AH_CZE_refused
							}
						}
					}
					HOL = {
						country_event = germany.40
					}
				}
				else_if = { #THIS IS THE HISTORICAL OUTCOME THAT SHOULD HAPPEN ON HISTORICAL - HISTORICAL HERE!! 
					limit = {
						ENG = {
							NOT = { has_completed_focus = ENG_a_change_in_course }
							exists = yes
							is_subject = no
						}
						NOT = { has_war_with = ENG }
						NOT = { has_war_with = FRA }
						CZE = {
							is_subject = no
							NOT = { is_in_faction_with = GER }
							NOT = { has_war_with = ENG }
							OR = {
								controls_state = 69
								controls_state = 972
								controls_state = 74
							}
						}
						OR = {
							HUN = {
								NOT = {
									has_completed_focus = HUN_protect_czechoslovakia #DOD only
								}
							}
							CZE = {
								has_country_flag = HUN_AH_CZE_refused
							}
						}
					}
					ENG = {
						country_event = germany.40
					}
				}

				### EVENT CHAIN - ALT-HIST DEMAND OF SUDETENLAND TO CZE OR THEIR OVERLORD ###
				else_if = { # If not historical and CZE is independent or GER subject, send event to them
					limit = {
						CZE = {
							OR = {
								is_subject = no
								is_subject_of = ROOT
							}
						}
					}
					CZE = {
						country_event = { id = germany.122 }
					}
				}
				else_if = { # If not historical and CZE is subject of someone else, send event to overlord
					limit = {
						CZE = { is_subject = yes }
					}
					CZE = {
						overlord = { country_event = { id = germany.122 } }
					}
				}
			}

			### EVENT CHAIN - ALT-HIST SOME ONE ELSE CONTROLS SUDETENLAND STATES ###
			if = { #If other countries control Sudetenland states -> send event to them or overlord
				limit = {
					any_other_country = {
						NOT = { tag = CZE }
						OR = {
							controls_state = 69
							controls_state = 972
							controls_state = 74
						}
						NOT = { has_war_with = ROOT }
					}
				}
				every_other_country = {
					limit = {
						NOT = { tag = CZE }
						OR = {
							controls_state = 69
							controls_state = 972
							controls_state = 74
						}
						NOT = { has_war_with = ROOT }
					}
					if = { # If independent or GER subject, send event to them
						limit = {
							OR = {
								is_subject = no
								is_subject_of = ROOT
							}
						}
						country_event = { id = germany.1041 days = 4 random_days = 2 }
					}
					else = { #If subject of someone else, send event to overlord
						if = {
							limit = {
								overlord = { NOT = { has_war_with = ROOT } }
							}
							overlord = { country_event = { id = germany.1041 days = 4 random_days = 2 } }
						}
					}
				}
			}
			HUN = {
				country_event = { id = germany.51 }
				event_option_tooltip = germany.51.a
			}
			add_named_threat = { threat = 4 name = GER_demand_sudetenland_threat }
		}
	}
	
	focus = {
		id = GER_fate_of_czechoslovakia

		icon = GFX_focus_GER_fate_of_czechoslovakia
		alternate_icon = GFX_focus_GER_fate_of_czechoslovakia_historical

		prerequisite = { focus = GER_demand_sudetenland }
		prerequisite = { focus = GER_anti_comintern_pact }
		x = -1 
		y = 1
		relative_position_id = GER_demand_sudetenland
		cost = 10

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				OR = {
					has_government = democratic
					has_government = communism
				}
			}
		}

		will_lead_to_war_with = CZE

		
		available = { 
		}

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			hidden_effect = {
				play_song = "Судьба Чехословакии"
			}
			add_named_threat = { threat = 5 name = GER_end_of_czechoslovakia }

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					CZE = {
						exists = yes
						has_war = no
						is_subject = no
					}
				}
				set_global_flag = end_of_czechoslovakia
				CZE = { country_event = germany.53 }
			}
			else_if = {
				limit = {
					CZE = { 
						is_subject_of = ROOT
					}
				}
				CZE = { country_event = { id = wuw_GER_diplomacy.117 days = 1 }}
			}
			else_if = {
				limit = {
					CZE = {
						exists = no
					}
					9 = {
						is_controlled_by = ROOT
						NOT = { is_claimed_by = ROOT }
					}
					75 = {
						is_controlled_by = ROOT
						NOT = { is_claimed_by = ROOT }
					}
				}
				add_state_claim = 9
				add_state_claim = 75
				country_event = { id = germany.55 hours = 6 }
			}
			else_if = {
				limit = {
					CZE = { exists = yes }
				}
				add_state_claim = 9
				add_state_claim = 75
				create_wargoal = {
					type = annex_everything
					target = CZE
				}
			}
		}
	}

	focus = {
		id = GER_Secretly_Support_Mussolini
		icon = GFX_focus_generic_italy_first
		prerequisite = { focus = GER_anschluss }
		x = 5
		y = 1
		relative_position_id = GER_anschluss
		cost = 5
		ai_will_do = {
			factor = 1
		}
		
		available_if_capitulated = no

		completion_reward = {
			
			ITA = {
				random_owned_controlled_state = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}							
				}
				random_owned_controlled_state = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}							
				}
			}
			
		}
	}
	
	focus = {
		id = GER_Economic_Assistance_To_Italy
		icon = GFX_focus_SWI_embrace_panoramaheim
		prerequisite = { focus = GER_Secretly_Support_Mussolini }
		x = 0
		y = 1
		relative_position_id = GER_Secretly_Support_Mussolini
		cost = 5
		ai_will_do = {
			factor = 1
		}
		available = {
			date > 1939.01.01
		}
		
		
		available_if_capitulated = no

		completion_reward = {
			ITA = { add_ideas = GER_economic_assistance } 
		}
	}


	focus = {
		id = GER_support_a_coup_in_liechtenstein
		icon = GFX_focus_generic_liechtenstein_coa
		prerequisite = { focus = GER_Expand_The_Gestapo }

		x = 1
		y = 1
		relative_position_id = GER_Expand_The_Gestapo
		cost = 5

		available = {
			is_subject = no
			AUS = {
				all_core_state = {
					is_owned_and_controlled_by = ROOT
				}
			}
			has_full_control_of_state = 848
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_victory_points = {
				province = 6680
				value = 1
			}
			848 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			if = {
				limit = {
					controls_province = 9655
				}
				build_railway = { #Lietchenstein connected to Supply depot West of München
					level = 2
					path = { 6680 9655 }
				}
			}
		}
	}

	focus = {
		id = GER_reassert_eastern_claims
		icon =  GFX_focus_POL_clamp_down_on_danzig
		prerequisite = { focus = GER_fate_of_czechoslovakia }

		x = 0
		y = 3
		relative_position_id = GER_anschluss
		cost = 2
		
		available = { 
			is_subject = no 
		}

		will_lead_to_war_with = LIT

		ai_will_do = {
			factor = 10	
			modifier = {
				factor = 0
				date < 1939.1.1
			}
			modifier = {
				factor = 0
				OR = {
					has_government = democratic
					has_government = communism
				}
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			188 = { add_claim_by = GER }
			85 = { add_claim_by = GER }
			807 = { add_claim_by = GER }
			86 = { add_claim_by = GER }
			762 = { add_claim_by = GER }

			add_named_threat = { threat = 3 name = GER_demand_memel_threat }

			random_other_country = {
				limit = {
					owns_state = 188
					controls_state = 188 
				}
				country_event = { 
					id = baltic.4 
					days = 1
					random_days = 3
				}
			}

		}
	}
	
	focus = {
		id = GER_danzig_or_war

		icon = GFX_focus_GER_danzig_or_war
		alternate_icon = GFX_focus_GER_danzig_or_war_historical

		prerequisite = { focus = GER_molotov_ribbentrop_pact }
		prerequisite = { focus = GER_treaty_with_the_ussr }
		x = 0
		y = 2
		relative_position_id = GER_reassert_eastern_claims
		cost = 2

		will_lead_to_war_with = POL

		continue_if_invalid = yes

		available = {
			date > 1939.8.1
		}

		ai_will_do = {
			factor = 10	
			modifier = {
				factor = 0
				OR = {
					date < 1939.1.1
					any_neighbor_country = {
						has_war_with = GER
						NOT = { has_capitulated = yes }
						strength_ratio = {
							tag = GER
							ratio > 0.6
						}
					}
				}
			}
			modifier = {
				factor = 0
				OR = {
					has_government = democratic
					has_government = communism
				}
			}
		}	
		
		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ANNEXATION }
		
		completion_reward = {
			hidden_effect = {
				28 = {
				add_dynamic_modifier = {
					modifier = Kefir_delat_plaki_plaki
					scope = GER
					days = 200
				}
			}
			42 = {
				add_dynamic_modifier = {
					modifier = Kefir_delat_plaki_plaki
					scope = FRA
					days = 200
				}
			}
			51 = {
				add_dynamic_modifier = {
					modifier = Kefir_delat_plaki_plaki
					scope = FRA
					days = 200
				}
			}
			35 = {
				add_dynamic_modifier = {
					modifier = Kefir_delat_plaki_plaki
					scope = FRA
					days = 200
				}
			}
			7 = {
				add_dynamic_modifier = {
					modifier = Kefir_delat_plaki_plaki
					scope = FRA
					days = 200
				}
			}
				ENG = {add_to_faction = POL}
			}
			add_named_threat = { threat = 5 name = GER_danzig_or_war }
			if = {
				limit = {
					85 = {
						controller = {
							tag = POL
							has_civil_war = no
						}
					}
				}
				effect_tooltip = {
					transfer_state = 85
					add_state_core = 85
					transfer_state = 807
					add_state_core = 807
					remove_state_claim = 86
					remove_state_claim = 762
				}
				POL = {
					country_event = { id = germany.86 }
					if = {
						limit = { NOT = { is_in_faction_with = ROOT } }
						custom_effect_tooltip = needs_approval
					}
					if = {
						limit = { 
							is_in_faction_with = ROOT 
							ROOT = { is_faction_leader = yes }
						}
						custom_effect_tooltip = GER_danzig_or_war_POL_faction_GER_leader
					}
					if = {
						limit = {
							is_in_faction_with = ROOT 
							NOT = { ROOT = { is_faction_leader = yes } }
						}
						custom_effect_tooltip = GER_danzig_or_war_POL_faction_GER_noleader
					}
				}
			}
			if = {
				limit = {
					85 = {
						owner = {
							OR = {
								original_tag = POL
								tag = POL
							}
							has_civil_war = yes
						}
					}
				}
				random_other_country = {
					limit = {
						original_tag = POL
						has_civil_war = yes
						OR = {
							is_in_faction_with = GER
							has_volunteers_amount_from = {
								tag = GER
								count > 0
							}
						}
					}
					country_event = { id = germany.113 days = 1 }
				}
				custom_effect_tooltip = GER_danzig_or_war_POL_civil_war
			}
		}
	}
	
	focus = {
		id = GER_subjugate_romanian_economy
		icon = GFX_focus_GER_subjugate_romanian_economy
		prerequisite = { focus = GER_reorganize_the_wehrmacht   }

		x = 0
		y = 1
		relative_position_id = GER_reorganize_the_wehrmacht 
		cost = 5
		available = {
			ROM = {
				fascism > 0.35
				has_full_control_of_state = 46
				NOT = { has_war_with = ROOT }
				OR = {
					is_in_faction = no
					is_in_faction_with = ROOT
				}
				threat > 0.3
			}

		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL }

		completion_reward = {

			ROM = {
				country_event = { 
					id = wuw_GER_diplomacy.111 
					days = 2 
				}
			}

			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				ROM = {
					add_ideas = GER_development_of_economic_relations_ns
					custom_effect_tooltip = generic_skip_one_line_tt
					add_opinion_modifier = {
						target = ROOT
						modifier = GER_trading_partners
					}
					add_opinion_modifier = {
						target = ROOT
						modifier = GER_align_romania
					}	
					custom_effect_tooltip = generic_skip_one_line_tt
					add_ideas = GER_align_romania
				}
				custom_effect_tooltip = war_will_cancel_deal_tt
			}

		}
	}
	
	focus = {
		id = GER_around_maginot

		icon = GFX_focus_GER_around_maginot
		alternate_icon = GFX_focus_GER_around_maginot_historical

		prerequisite = { focus = GER_danzig_or_war }
		x = -2
		y = 1
		relative_position_id = GER_danzig_or_war
		cost = 4

		will_lead_to_war_with = BEL
		will_lead_to_war_with = HOL
		will_lead_to_war_with = LUX
		will_lead_to_war_with = FRA

		available = {
			is_subject = no
			OR = {
				NOT = { HOL = { is_in_faction_with = GER } }
				NOT = { BEL = { is_in_faction_with = GER } }
				NOT = { LUX = { is_in_faction_with = GER } }
			}
		}

		historical_ai = {
			date > 1939.1.1
			NOT = {
				any_home_area_neighbor_country = {
					NOT = { tag = FRA }
					NOT = { tag = DEN }
					has_war_with = ROOT
					surrender_progress < 0.5
				}
			}
		}

		ai_will_do = {
			factor = 10			
			modifier = {
				factor = 0.05
				date < 1939.1.1
			}			
			modifier = {
				factor = 0.2
				any_home_area_neighbor_country = {
					NOT = { tag = FRA }
					has_war_with = ROOT
					surrender_progress < 0.5
				}
			}
			modifier = {
				factor = 0
				OR = {
					has_government = democratic
					has_government = communism
				}
			}
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			declare_war_on = { target = HOL    type = take_state_focus } 
			declare_war_on = { target = BEL    type = take_state_focus } 
			declare_war_on = { target = FRA    type = take_state_focus }
			declare_war_on = { target = LUX    type = take_state_focus }
			hidden_effect = {
				ENG = {add_to_faction = LUX}
			ENG = {add_to_faction = HOL}
			ENG = {add_to_faction = BEL}
			news_event = { hours = 6 id = news.234 }
			HUN = {add_ideas = GER_Gelb}
			ROM = {add_ideas = GER_Gelb}
			BUL = {add_ideas = GER_Gelb}
			}
			add_ideas = GER_Gelb
		}
	}

	focus = {
		id = GER_operation_weserubung

		icon = GFX_focus_GER_operation_wesserubung
		alternate_icon = GFX_focus_GER_operation_wesserubung_historical

		prerequisite = { focus = GER_danzig_or_war }
		x = 2
		y = 1
		relative_position_id = GER_danzig_or_war
		cost = 4

		will_lead_to_war_with = DEN 
		will_lead_to_war_with = NOR

		available = {
			is_subject = no
			hidden_trigger = {
				OR = {
					AND = {
						is_ai = yes
						NOT = { has_country_flag = SWE_GER_avoid_dow_nordics }
					}

					is_ai = no
				}
			}

			10 = {
				controller = {
					OR = {
						is_in_faction_with = ROOT
						original_tag = GER
					}
				}
			}
			85 = {
				controller = {
					OR = {
						is_in_faction_with = ROOT
						original_tag = GER
					}
				}
			}
			OR = { 
				has_war_with = ENG
				NOT = {country_exists = ENG}
			}
		}

		ai_will_do = {
			factor = 10	
			modifier = {
				factor = 0
				date < 1939.1.1
			}
			modifier = {
				factor = 0
				OR = {
					has_government = democratic
					has_government = communism
				}
			}
		}

		historical_ai = {
			any_home_area_neighbor_country = {
				OR = {
					NOT = { has_war_with = ROOT	}
					POL = { has_capitulated = yes }
				}
			}
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ANNEXATION }

		complete_tooltip = {
			custom_effect_tooltip = GER_weserubung_tt_complete
		}

		completion_reward = {
			add_collaboration = {
				target = NOR
				value = 1
			}
			declare_war_on = { target = DEN    type = take_state_focus } 
			declare_war_on = { target = NOR    type = take_state_focus } 
			set_technology = { mtg_landing_craft = 1 }
			hidden_effect = {
				ENG = {add_to_faction = NOR}
				ENG = {
					transfer_state = 100
			        transfer_state = 337
				}
				USA = {
					transfer_state = 101
				}
				GER = {
					transfer_state = 912
					#transfer_state = 110
					#transfer_state = 143
					#transfer_state = 99
					912 = { add_core_of = GER }
				}
				news_event = { hours = 6 id = news.233 }
				division_template = {
				name = "Штурмовые дивизии" 	
				division_names_group = FRA_ARM_01

				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 }
		infantry = { x = 2 y = 0 }
		infantry = { x = 2 y = 1 }
		infantry = { x = 2 y = 2 }
		}
				support = {
					artillery = { x = 0 y = 1 }
					engineer = { x = 0 y = 0 }
					anti_tank = { x = 0 y = 2 }
				}
			}
			110 = {
				create_unit = {
					division = "name = \"Штурмовые дивизии\" division_template = \"Штурмовые дивизии\" start_experience_factor = 0.35 start_equipment_factor = 1 start_manpower_factor = 1"
					owner = ROOT
					#prioritize_location = 6115
					allow_spawning_on_enemy_provs = yes  
					count = 2
				}
			}
			143 = {
				create_unit = {
					division = "name = \"Штурмовые дивизии\" division_template = \"Штурмовые дивизии\" start_experience_factor = 0.35 start_equipment_factor = 1 start_manpower_factor = 1"
					owner = ROOT
					#prioritize_location = 3022
					allow_spawning_on_enemy_provs = yes  
					count = 2
				} 
			}
			144 = {
				create_unit = {
					division = "name = \"Штурмовые дивизии\" division_template = \"Штурмовые дивизии\" start_experience_factor = 0.35 start_equipment_factor = 1 start_manpower_factor = 1"
					owner = ROOT
					#prioritize_location = 192
					allow_spawning_on_enemy_provs = yes  
					count = 2
				} 
			}
			142 = {
				create_unit = {
					division = "name = \"Штурмовые дивизии\" division_template = \"Штурмовые дивизии\" start_experience_factor = 0.35 start_equipment_factor = 1 start_manpower_factor = 1"
					owner = ROOT
					#prioritize_location = 122
					allow_spawning_on_enemy_provs = yes  
					count = 2
				} 
			}
			142 = {
				create_unit = {
					division = "name = \"Штурмовые дивизии\" division_template = \"Штурмовые дивизии\" start_experience_factor = 0.35 start_equipment_factor = 1 start_manpower_factor = 1"
					owner = ROOT
					#prioritize_location = 53
					allow_spawning_on_enemy_provs = yes  
					count = 2
				} 
			}
			922 = {
				create_unit = {
					division = "name = \"Штурмовые дивизии\" division_template = \"Штурмовые дивизии\" start_experience_factor = 0.35 start_equipment_factor = 1 start_manpower_factor = 1"
					owner = ROOT
					#prioritize_location = 9296
					allow_spawning_on_enemy_provs = yes  
					count = 2
				} 
			}
			911 = {
				create_unit = {
					division = "name = \"Штурмовые дивизии\" division_template = \"Штурмовые дивизии\" start_experience_factor = 0.35 start_equipment_factor = 1 start_manpower_factor = 1"
					owner = ROOT
					#prioritize_location = 3335
					allow_spawning_on_enemy_provs = yes  
					count = 2
				} 
			}
			909 = {
				create_unit = {
					division = "name = \"Штурмовые дивизии\" division_template = \"Штурмовые дивизии\" start_experience_factor = 0.35 start_equipment_factor = 1 start_manpower_factor = 1"
					owner = ROOT
					allow_spawning_on_enemy_provs = yes  
					count = 2
				} 
			}
			921 = {
				create_unit = {
					division = "name = \"Штурмовые дивизии\" division_template = \"Штурмовые дивизии\" start_experience_factor = 0.35 start_equipment_factor = 1 start_manpower_factor = 1"
					owner = ROOT
					allow_spawning_on_enemy_provs = yes  
					count = 2
				} 
			}
			920 = {
				create_unit = {
					division = "name = \"Штурмовые дивизии\" division_template = \"Штурмовые дивизии\" start_experience_factor = 0.35 start_equipment_factor = 1 start_manpower_factor = 1"
					owner = ROOT
					allow_spawning_on_enemy_provs = yes  
					count = 2
				} 
			}
			923 = {
				create_unit = {
					division = "name = \"Штурмовые дивизии\" division_template = \"Штурмовые дивизии\" start_experience_factor = 0.35 start_equipment_factor = 1 start_manpower_factor = 1"
					owner = ROOT
					allow_spawning_on_enemy_provs = yes  
					count = 2
				} 
			}
			924 = {
				create_unit = {
					division = "name = \"Штурмовые дивизии\" division_template = \"Штурмовые дивизии\" start_experience_factor = 0.35 start_equipment_factor = 1 start_manpower_factor = 1"
					owner = ROOT
					allow_spawning_on_enemy_provs = yes  
					count = 2
				} 
			}
			925 = {
				create_unit = {
					division = "name = \"Штурмовые дивизии\" division_template = \"Штурмовые дивизии\" start_experience_factor = 0.35 start_equipment_factor = 1 start_manpower_factor = 1"
					owner = ROOT
					allow_spawning_on_enemy_provs = yes  
					count = 2
				} 
			}
			}

			custom_effect_tooltip = GER_weserubung_tt
		}
	}

	focus = {
		id = GER_demands_to_sweden
		icon = GFX_focus_generic_invade_sweden
		prerequisite = { focus = GER_operation_weserubung }

		x = 1
		y = 1
		relative_position_id = GER_operation_weserubung
		cost = 5
		available = {
			is_subject = no
			144 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			918 = { is_fully_controlled_by = SWE }

		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				OR = {
					has_government = democratic
					has_government = communism
				}
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
				SWE = {
					add_offsite_building = {
						type = industrial_complex
						level = 2
					}

					add_offsite_building = {
						type = arms_factory
						level = 1
					}

					add_timed_idea = {
						idea = GER_german_swedish_trade_agreement
						days = 480
					}

					give_resource_rights = {
						receiver = ROOT 
						state = 918 #Västerbotten 
					}
				}

				add_opinion_modifier = {
					target = SWE # target of the relation
					modifier = GER_SWE_historic_trade_Partners
				}
			
		}
	}

	focus = {
		id = GER_reintegrate_luxemburg_and_alsace_lorraine
		icon = GFX_focus_CZE_german_puppet
		prerequisite = { focus = GER_around_maginot }

		x = -1
		y = 1
		relative_position_id = GER_around_maginot
		cost = 5

		cancel_if_invalid = yes
		
		available = {
			has_full_control_of_state = 8
			has_full_control_of_state = 28
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_MANPOWER }
		
		completion_reward = {
			add_state_core = 8
			add_state_core = 28
			if = {
				limit = {
					NOT = { owns_state = 28 }
				}
				transfer_state = 28
			}
			# Currently these names will now instead be dynamically renamed upon becoming owned by Germany
			#28 = { set_state_name = "Elsass-Lothringen" }
			#set_province_name = { id = 9503 name = "Strassburg" }
			#set_province_name = { id = 678 name = "Mulhausen" }
			if = {
				limit = {
					has_global_flag = flag_franco_british_union
				}
				ENG = {
					country_event = { id = wtt_germany.63 }
				}
			}
			else_if = {
				limit = {
					any_country = {
						original_tag = FRA
						exists = yes
					}
				}
				FRA = {
					country_event = { id = wtt_germany.63 }
				}
			}
			if = {
				limit = {
					any_country = {
						original_tag = LUX
						exists = yes
					}
				}
				LUX = {
					country_event = { id = wtt_germany.64 }
				}
			}
		}
	}
	
	focus = {
		id = GER_the_swiss_gold
		icon = GFX_focus_GER_the_swiss_gold
		prerequisite = { focus = GER_Expand_The_Gestapo }
		x = -1
		y = 1
		relative_position_id = GER_Expand_The_Gestapo
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			if = { #This is so that it shows "Modify NS" by default, since most likely Anschluss will be completed and NS will be there. But if Anschluss is bypassed without getting the DM, the tooltip will be adjusted.
				limit = {
					NOT = { has_completed_focus = GER_anschluss }
				}
				custom_effect_tooltip = GER_modify_military_intelligence_service_modifier_tt
			}
			else = {
				GER_add_or_modify_military_intelligence_service = yes
			}
			add_to_variable = {
				GER_military_intelligence_service_consumer_goods_factor = -0.1
				tooltip =  consumer_goods_factor_tt
			}
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				add_to_variable = { 
					GER_military_intelligence_service_decryption_power = 0.15
					tooltip = decryption_factor_tt
				}
				add_to_variable = { 
					GER_military_intelligence_service_intel_network_gain_factor = 0.1
					tooltip = intel_network_gain_factor_tt
				}
			}
			else = {
				add_to_variable = { 
					GER_military_intelligence_service_decryption_factor = 0.1
					tooltip = decryption_factor_tt
				}
				add_to_variable = { 
					GER_military_intelligence_service_subversive_activites_upkeep = -0.2
					tooltip = subversive_activites_upkeep_tt
				}
			}
		}
	}

	focus = {
		id = GER_operation_sea_lion
		icon = GFX_focus_generic_naval_invasion
		prerequisite = { focus = GER_demands_to_sweden }

		x = 0
		y = 1
		#mutually_exclusive = { focus = GER_crossing_the_atlantic }
		relative_position_id = GER_demands_to_sweden
		cost = 5

		available = {
			has_war_with = ENG
			has_army_manpower = { size > 999999 }
			custom_trigger_tooltip = {
			 	tooltip = GER_sea_lion_eq_trigger_tt
			 	check_variable = { num_equipment_in_armies_k@infantry_equipment > 90 }
			}
		}

		bypass = {
			ENG = {
				OR = {
					is_in_faction_with = ROOT
					is_subject_of = ROOT
					exists = no
				}
			}
		}

		search_filters = {}

		completion_reward = {
			add_timed_idea = {
				idea = GER_operation_sea_lion_ns
				days = 180
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				if = { #This is so that it shows "Modify NS" by default, since most likely Anschluss will be completed and NS will be there. But if Anschluss is bypassed without getting the DM, the tooltip will be adjusted.
					limit = {
						NOT = { has_completed_focus = GER_anschluss }
					}
					custom_effect_tooltip = GER_modify_military_intelligence_service_modifier_tt
				}
				else = {
					GER_add_or_modify_military_intelligence_service = yes
				}
				add_to_variable = { 
					GER_military_intelligence_service_operative_slot = 1
					tooltip = operative_slot_tt
				}
				GER_create_operative_norman_stewart = yes
			}
		}
	}
	
	focus = {
		id = GER_crossing_the_atlantic
		icon = GFX_goal_generic_build_navy
		prerequisite = { focus = GER_reintegrate_luxemburg_and_alsace_lorraine }

		x = 0
		y = 1
		#mutually_exclusive = { focus = GER_operation_sea_lion }
		relative_position_id = GER_reintegrate_luxemburg_and_alsace_lorraine
		cost = 5

		cancel_if_invalid = yes
		
		available = {
		}

		will_lead_to_war_with = USA

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			add_tech_bonus = {
				bonus = 0.75
				uses = 1
				category = marine_tech
				name = GER_crossing_the_atlantic
			}

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				add_doctrine_cost_reduction = {
					cost_reduction = 0.5
					uses = 2
					category = cat_marines_doctrine
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ideas = GER_crossing_the_atlantic_ns

			custom_effect_tooltip = generic_skip_one_line_tt
			every_state = {
				limit = {
					is_fully_controlled_by = ROOT
					is_on_continent = europe
					is_coastal = yes
					arms_factory < 1
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				custom_effect_tooltip = GER_crossing_the_atlantic_2_factories_tt
				hidden_effect = {
					random_state = {
						limit = {
							is_fully_controlled_by = ROOT
							is_on_continent = europe
							NOT = { is_coastal = yes }
							arms_factory > 1
						}
						remove_building = {
							type = arms_factory
							level = 2
						}
					}
				}
			}
			every_state = {
				limit = {
					is_fully_controlled_by = ROOT
					is_on_continent = europe
					is_coastal = yes
					AND = {
						arms_factory < 2
						arms_factory > 0
					}
				}
				add_extra_state_shared_building_slots = 1
				remove_building = {
						type = arms_factory
						level = 1
					}
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				custom_effect_tooltip = GER_crossing_the_atlantic_1_factory_tt
				hidden_effect = {
					random_state = {
						limit = {
							is_fully_controlled_by = ROOT
							is_on_continent = europe
							NOT = { is_coastal = yes }
							arms_factory > 0
						}
						remove_building = {
							type = arms_factory
							level = 1
						}
					}
				}
			}
			every_state = {
				limit = {
					is_fully_controlled_by = ROOT
					is_on_continent = europe
					is_coastal = yes
					arms_factory > 1
				}
				remove_building = {
						type = arms_factory
						level = 2
					}
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}

			

#			for_each_scope_loop = { #fallback if someone, *cough cough* Canada, decides to ignore the #setup is_subject = no >:(
#				array = global.monroe_doctrine_countries_to_destabilize
#
#				IF = {
#					limit = {
#						is_subject = yes
#					}
#
#					remove_from_array = {
#						array = global.monroe_doctrine_countries_to_destabilize
#						value = THIS
#					}
#
#					#log = "[THIS.GetName] was yeeted for being a subject"
#				}
#			}
		}
	}

	focus = {
		id = GER_shatter_usas_hegemony
		icon = GFX_focus_GER_shatter_usas_hegemony
		prerequisite = { focus = GER_crossing_the_atlantic }
		#prerequisite = { focus = GER_operation_sea_lion }
        #prerequisite = { focus = GER_the_supreme_leader }
		x = 0
		y = 1
		relative_position_id = GER_crossing_the_atlantic
		cost = 5
		available = {
			is_subject = no
			OR = {
				has_wargoal_against = USA
				has_war_with = USA
			}
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				OR = {
					has_government = democratic
					has_government = communism
				}
			}
		}

		bypass = {
			USA = {
				exists = no
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			add_timed_idea = {
				idea = GER_shatter_USA_hegemony_ns
				days = 365
			}
		}
	}

	focus = {
		id = GER_reorganize_the_wehrmacht 

		icon = GFX_focus_GER_reorganize_the_wehrmacht
		alternate_icon = GFX_focus_GER_reorganize_the_wehrmacht_historical

		prerequisite = { focus = GER_remilitarize_the_rhineland }
		x = -2
		y = 1
		relative_position_id = GER_remilitarize_the_rhineland
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			add_political_power = 50
			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = joachim_von_ribbentrop

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = {
				localization_key = remove_character_as_tt
				CHARACTER = GER_konstantin_von_neurath
				ROLE = political_advisor
			}

			#This is bad (too long)
			#custom_effect_tooltip = remove_political_advisor
			#show_ideas_tooltip = konstantin_von_neurath

			#This is even worse (errors, no need to retire anyone)
			#retire_character = GER_konstantin_von_neurath
			
			custom_effect_tooltip = {
				localization_key = remove_character_as_tt
				CHARACTER = GER_werner_von_blomberg
				ROLE = fm_leader
			}

			custom_effect_tooltip = {
				localization_key = remove_character_as_tt
				CHARACTER = GER_werner_von_fritsch
				ROLE = cc_leader
			}

			custom_effect_tooltip = {
				localization_key = remove_character_as_tt
				CHARACTER = GER_oswald_lutz
				ROLE = cc_leader
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					has_country_leader_with_trait = GER_der_fuhrer
				}
				random_character = {
					limit = {
						is_country_leader = yes
					}
					swap_country_leader_traits = {
						remove = GER_der_fuhrer
						add = GER_der_fuhrer_wehrmacht
					}
				}
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = GER_der_fuhrer_fuhrerprinzip
				}
				random_character = {
					limit = {
						is_country_leader = yes
					}
					swap_country_leader_traits = {
						remove = GER_der_fuhrer_fuhrerprinzip
						add = GER_der_fuhrer_fuhrerprinzip_wehrmacht
					}
				}
			}
			else_if = {
				limit = {
					has_completed_focus = GER_fuhrerprinzip
				}
				add_country_leader_trait = GER_der_fuhrer_fuhrerprinzip_wehrmacht
			}
			else = {
				add_country_leader_trait = GER_der_fuhrer_wehrmacht
			}
		}
	}

	focus = {
		id = GER_anti_comintern_pact

		icon = GFX_goal_anti_comintern_pact
		alternate_icon = GFX_focus_GER_anti_comintern_pact

		prerequisite = { focus = GER_anschluss }

		x = -1
		y = 1
		relative_position_id = GER_anschluss
		cost = 5
		
		bypass = {
			SOU = {
				OR = {
					NOT = {
						has_government = communism
					}
					exists = no
				}
			}
		}

		available = {
			is_subject = no
			NOT = { has_government = communism }
			NOT = { is_in_faction_with = SOU }
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					has_government = democratic
					has_government = communism
				}
			}
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			SOU = { add_opinion_modifier = { target = ROOT modifier = pact_against_us } }
			add_named_threat = { threat = 2 name = GER_anti_comintern_pact }
			every_other_country = {
				limit = {
					NOT = { tag = GER }
					NOT = { has_war_with = GER }
					NOT = { is_in_faction_with = SOU }
					is_subject = no
					OR = {
						capital_scope = {
							is_on_continent = europe
						}
						capital_scope = {
							is_on_continent = asia
						}
						num_of_factories > 30
					}
					OR = {
						has_government = fascism 
						AND = {
							is_neighbor_of = SOU
							NOT = { has_government = communism }
						}
					}
				}
				country_event = germany.5
			}
		}
	}

	focus = {
		id = GER_ussr_war_goal5
		icon = ger_volkssturm
		prerequisite = { focus = GER_totaler_krieg }
		available_if_capitulated = no
		available = {
			surrender_progress > 0.05
		}
		x = 1
		y = 1
		relative_position_id = GER_totaler_krieg
		cost = 5	
		completion_reward = {
				division_template = {
				name = "Фольксштурм" 	
				division_names_group = FRA_ARM_01

				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 }
		infantry = { x = 2 y = 0 }
		infantry = { x = 2 y = 1 }
		infantry = { x = 2 y = 2 }
		}
				support = {
					engineer = { x = 0 y = 0 }
				}
			}
			capital_scope = {
				create_unit = {
					division = "name = \"Фольксштурм\" division_template = \"Фольксштурм\" start_experience_factor = 0.35 start_equipment_factor = 1 start_manpower_factor = 1"
					owner = ROOT
					count = 72
				}
			}
		add_ideas = FRA_infantry_focus
		add_manpower = 10000
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 10000
					producer = GER
				}
		}
	}

	focus = {
		id = GER_ussr_war_goal333
		icon = GFX_focus_GER_brest_litovsk_borders
		prerequisite = { focus = GER_war_with_the_ussr }
		available_if_capitulated = no
		available = {
		}
		x = 1
		y = 1
		relative_position_id = GER_war_with_the_ussr
		cost = 10	
		completion_reward = {
			custom_effect_tooltip = GER_operation2 
		}
	}

	focus = {
		id = GER_ussr_war_goal2
		icon = GFX_focus_NOR_quislings_regime
		prerequisite = { focus = GER_war_with_the_ussr }
		available_if_capitulated = no
		available = {
		}
		x = -1
		y = 1
		relative_position_id = GER_war_with_the_ussr
		cost = 10	
		completion_reward = {
			custom_effect_tooltip = GER_operation1
		}
	}

	focus = {
		id = GER_war_with_the_ussr

		icon = GFX_focus_attack_soviet
		alternate_icon = GFX_focus_GER_war_with_the_ussr

		prerequisite = { focus = GER_danzig_or_war }
		x = 0
		y = 1
		relative_position_id = GER_danzig_or_war
		cost = 5

		will_lead_to_war_with = SOV

		available_if_capitulated = no

		available = {
			date > 1941.5.1
		}

		historical_ai = {
			# Only if we have defeated our enemies
			NOT = {
				any_home_area_neighbor_country = {
					has_war_with = ROOT
					has_capitulated = no
					# Honestly, let's not care about the scandinavian countries
					NOT = {
						OR = {
							tag = NOR
							tag = DEN 
							tag = LUX # Or Luxenburg for that matter. 
						}
					}
				}
			}
		}
		
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				OR = {
					has_army_manpower = { size < 1199999 }
					any_home_area_neighbor_country = {
						has_war_with = ROOT
					}
				}
			}
			modifier = {
				factor = 0 #AI should not pick this focus if it does not share a border with the Soviets
				NOT = { 
					any_home_area_neighbor_country = {
						tag = SOV
					}
				}
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				date < 1939.1.1
			}
			modifier = {
				factor = 0
				OR = {
					has_government = democratic
					has_government = communism
				}
			}
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			add_collaboration = {
				target = SOV
				value = 1
			}
			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = generic_skip_one_line_tt
			hidden_effect = {
				news_event = { id = debaf_pexa.1 hours = 480 }
				
				play_song = "Блицкриг"
			}
			IF = {
				limit = { SOV = { has_civil_war = no } }
				create_wargoal = {
					type = annex_everything
					target = SOV
					expire = 0
				}
			}
			ELSE = {
				every_country = {
					limit = { original_tag = SOV }
					GER = {
						create_wargoal = {
							type = annex_everything
							target = PREV
							expire = 0
						}
					}
				}
			}
		}
	}

	focus = {
		id = GER_molotov_ribbentrop_pact

		icon = GFX_goal_molotov_ribbentrop_pact
		alternate_icon = GFX_focus_GER_molotov_ribbentrop_pact
        prerequisite = { focus = GER_reassert_eastern_claims }
		#prerequisite = { focus = GER_treaty_with_the_ussr }
		x = -1 
		y = 1
		relative_position_id = GER_reassert_eastern_claims
		cost = 2
		
		available = {
			is_subject = no
			has_government = fascism
			has_army_manpower = { size > 849999 } #ca 90 div
			SOV = {
				NOT = { has_war_with = GER }
				country_exists = SOV
				has_civil_war = no
			}
			NOT = { has_global_flag = beck_ribbentrop_signed }
		}

		continue_if_invalid = yes

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				NOT = { has_completed_focus = GER_anti_comintern_pact }
			}
			modifier = {
				factor = 2
				has_idea = SOV_soviet_german_trade_agreement
			}
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL }
	
		completion_reward = {
			SOV = {
				country_event = { id = germany.11 days = 1 }
				custom_effect_tooltip = GER_mol_rib_pact_tt
				custom_effect_tooltip = needs_approval
			}
		}
	}

	focus = {
		id = GER_treaty_with_the_ussr
		icon = GFX_goal_generic_scientific_exchange
		prerequisite = { focus = GER_reassert_eastern_claims }

		x = 1
		y = 1
		relative_position_id = GER_reassert_eastern_claims
		cost = 5

		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			SOV = {
				country_event = { id = germany.75 days = 1 }
				custom_effect_tooltip = needs_approval
				# Actual reward effects added in event if Soviets approve
				effect_tooltip = {
					# Trade influence with the USSR? Or simply let the opinion mod do the work
					give_SOV_armor_research_bonuses = yes
				}
			}

			if = {
				limit = { 
					has_dlc = "No Step Back"
				}
				#custom_effect_tooltip = GER_soviet_treaty_research_nsb_tt #Obsolete now
				effect_tooltip = {	
					add_tech_bonus = {
						name = armor_bonus
						bonus = 2.0
						uses = 1
						category = armor
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			else = {
				effect_tooltip = {
					add_tech_bonus = {
						name = med_armor_bonus
						ahead_reduction = 1
						category = cat_medium_armor
					}
					add_tech_bonus = {
						name = armor_bonus
						bonus = 1.0
						uses = 2
						category = armor
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_breakthrough_progress = {
				specialization = specialization_land
				value = 1
			}

			SOV = {
				add_breakthrough_progress = {
					specialization = specialization_land
					value = 1
				}
			}
		}
	}

	focus = {
		id = GER_reclaim_former_african_colonies
		icon = GFX_focus_GER_reclaim_former_african_colonies
		prerequisite = { focus = GER_uplift_the_rosenberg_office }

		x = 0
		y = 1
		relative_position_id = GER_uplift_the_rosenberg_office

		cost = 2

		available = {
			is_subject = no
		}

		bypass = {
			GER = {
				controls_state = 541
				controls_state = 546
				controls_state = 777
				controls_state = 893
				controls_state = 894
				controls_state = 894
			}
		}

		search_filters = {}

		completion_reward = {

			IF = { # if Germany doesn't control Khomas
				limit = {
					541 = {
						NOT = {
							is_fully_controlled_by = ROOT
						}
					}
				}
				IF = { #KHOMAS
					limit = {
						541 = {
							controller = {
								is_subject = yes
								OVERLORD = {
									is_in_faction_with = ROOT
									NOT = {
										has_country_flag = GER_african_colonial_demand_sent_flag
										original_tag = GER
									}
								}
							}
						}
					}
	
					541 = {
						controller = {
							overlord = {
								country_event = {
									id = wuw_GER_diplomacy.38
									hours = 6
								}
	
								set_country_flag = GER_african_colonial_demand_sent_flag
							}
						}
					}	
				}
				ELSE_IF = {
					limit = {
						541 = {
							controller = {
								is_in_faction_with = ROOT
								NOT = {
									has_country_flag = GER_african_colonial_demand_sent_flag
								}
							}
						}
					}
					541 = {
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.38
								hours = 6
							}
	
							set_country_flag = GER_african_colonial_demand_sent_flag
						}
					}
				}
				ELSE_IF = {
					limit = {
						541 = {
							controller = {
								is_subject_of = ROOT
							}
						}
					}
					541 = {
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.38
								hours = 6
							}
						}
					}
				}
				ELSE_IF = {
					limit = {
						
						541 = {
							controller = {
								OR = {
									AND = {
										is_subject = no
										has_country_flag = GER_african_colonial_demand_sent_flag
									}
									AND = {
										is_subject = yes
										OVERLORD = {
											has_country_flag = GER_african_colonial_demand_sent_flag
										}
									}
								}
							}
						}
						
					}
					#this is just to prevent multiple events from being sent, and claims being sent erraneously
				}
				ELSE = {
					add_state_claim = 541
				}
			}

			IF = { # Germany doesn't control Tanganyika
				limit = {
					546 = {
						NOT = {
							is_fully_controlled_by = ROOT
						}
					}
				}
				IF = { #TANGANYIKA
					limit = {
						546 = {
							controller = {
								is_subject = yes
								OVERLORD = {
									is_in_faction_with = ROOT
									NOT = {
										has_country_flag = GER_african_colonial_demand_sent_flag
										original_tag = GER
									}
								}
							}
						}
					}
	
					546 = {
						controller = {
							OVERLORD = {
								country_event = {
									id = wuw_GER_diplomacy.38
									hours = 6
								}
								set_country_flag = GER_african_colonial_demand_sent_flag
							}
						}
					}	
				}
				ELSE_IF = {
					limit = {
						546 = {
							controller = {
								is_in_faction_with = ROOT
							}
						}
					}
					546 = {
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.38
								hours = 6
							}
							set_country_flag = GER_african_colonial_demand_sent_flag
						}
					}
				}
				ELSE_IF = {
					limit = {
						546 = {
							controller = {
								is_subject_of = ROOT
							}
						}
					}
					546 = {
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.38
								hours = 6
							}
						}
					}
				}
				ELSE_IF = {
					limit = {
						
						546 = {
							controller = {
								OR = {
									AND = {
										is_subject = no
										has_country_flag = GER_african_colonial_demand_sent_flag
									}
									AND = {
										is_subject = yes
										OVERLORD = {
											has_country_flag = GER_african_colonial_demand_sent_flag
										}
									}
								}
							}
						}
					}
					#this is just to prevent multiple events from being sent, and claims being sent 	erraneously
				}
				ELSE = {
					add_state_claim = 546
				}
			}

			IF = { #If Germany doesn't control Togo
				limit = {
					777 = {
						NOT = { is_fully_controlled_by = ROOT }
					}
				}
				IF = { #TOGO
					limit = {
						777 = {
							controller = {
								is_subject = yes
								OVERLORD = {
									is_in_faction_with = ROOT
									NOT = {
										has_country_flag = GER_african_colonial_demand_sent_flag
										original_tag = GER
									}
								}
							}
						}
					}
	
					777 = {
						controller = {
							OVERLORD = {
								country_event = {
									id = wuw_GER_diplomacy.38
									hours = 6
								}
								set_country_flag = GER_african_colonial_demand_sent_flag
							}
						}
					}	
				}
				ELSE_IF = {
					limit = {
						777 = {
							controller = {
								is_in_faction_with = ROOT
							}
						}
					}
					777 = {
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.38
								hours = 6
							}
							set_country_flag = GER_african_colonial_demand_sent_flag
						}
					}
				}
				ELSE_IF = {
					limit = {
						777 = {
							controller = {
								is_subject_of= ROOT
							}
						}
					}
					777 = {
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.38
								hours = 6
							}
						}
					}
				}
				ELSE_IF = {
					limit = {
					
						777 = {
							controller = {
								OR = {
									AND = {
										is_subject = no
										has_country_flag = GER_african_colonial_demand_sent_flag
									}
									AND = {
										is_subject = yes
										OVERLORD = {
											has_country_flag = GER_african_colonial_demand_sent_flag
										}
									}
								}
							}
						}
						
					}
					#this is just to prevent multiple events from being sent, and claims being sent 	erraneously
				}
				ELSE = {
					add_state_claim = 777
				}
			}

			IF = { #If Germany doesn't control Karas
				limit = {
					893 = {
						NOT = { is_fully_controlled_by = ROOT }
					}
				}
				IF = { #Karas
					limit = {
						893 = {
							controller = {
								is_subject = yes
								OVERLORD = {
									is_in_faction_with = ROOT
									NOT = {
										has_country_flag = GER_african_colonial_demand_sent_flag
										original_tag = GER
									}
								}
							}
						}
					}
	
					893 = {
						controller = {
							OVERLORD = {
								country_event = {
									id = wuw_GER_diplomacy.38
									hours = 6
								}
								set_country_flag = GER_african_colonial_demand_sent_flag
							}
						}
					}	
				}
				ELSE_IF = {
					limit = {
						893 = {
							controller = {
								is_in_faction_with = ROOT
							}
						}
					}
					893 = {
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.38
								hours = 6
							}
							set_country_flag = GER_african_colonial_demand_sent_flag
						}
					}
				}
				ELSE_IF = {
					limit = {
						893 = {
							controller = {
								is_subject_of = ROOT
							}
						}
					}
					893 = {
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.38
								hours = 6
							}
						}
					}
				}
				ELSE_IF = {
					limit = {
						
						893 = {
							controller = {
								OR = {
									AND = {
										is_subject = no
										has_country_flag = GER_african_colonial_demand_sent_flag
									}
									AND = {
										is_subject = yes
										OVERLORD = {
											has_country_flag = GER_african_colonial_demand_sent_flag
										}
									}
								}
							}
						}
					
					}
					#this is just to prevent multiple events from being sent, and claims being sent erraneously
				}
				ELSE = {
					add_state_claim = 893
				}
			}

			IF = { #If Germany doesn't control Kunene
				limit = {
					894 = {
						NOT = { is_fully_controlled_by = ROOT}
					}
				}
				IF = { #KUNENE
					limit = {
						894 = {
							controller = {
								is_subject = yes
								OVERLORD = {
									is_in_faction_with = ROOT
									NOT = {
										has_country_flag = GER_african_colonial_demand_sent_flag
										original_tag = GER
									}
								}
							}
						}
					}
	
					894 = {
						controller = {
							OVERLORD = {
								country_event = {
									id = wuw_GER_diplomacy.38
									hours = 6
								}
								set_country_flag = GER_african_colonial_demand_sent_flag
							}
						}
					}	
				}
				ELSE_IF = {
					limit = {
						894 = {
							controller = {
								is_in_faction_with = ROOT
							}
						}
					}
					894 = {
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.38
								hours = 6
							}
							set_country_flag = GER_african_colonial_demand_sent_flag
						}
					}
				}
				ELSE_IF = {
					limit = {
						894 = {
							controller = {
								is_subject_of = ROOT
							}
						}
					}
					894 = {
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.38
								hours = 6
							}
						}
					}
				}
				ELSE_IF = {
					limit = {
						
						894 = {
							controller = {
								OR = {
									AND = {
										is_subject = no
										has_country_flag = GER_african_colonial_demand_sent_flag
									}
									AND = {
										is_subject = yes
										OVERLORD = {
											has_country_flag = GER_african_colonial_demand_sent_flag
										}
									}
								}
							}
						}
					
					}
					#this is just to prevent multiple events from being sent, and claims being sent erraneously
				}
				ELSE = {
					add_state_claim = 894
				}
			}

			IF = { #If Germany doesn't control Otjozondjupa
				limit = {
					895 = {
						NOT = { is_fully_controlled_by = ROOT}
					}
				}
				IF = { #OTJOZONDJUPA
					limit = {
						895 = {
							controller = {
								is_subject = yes
								OVERLORD = {
									is_in_faction_with = ROOT
									NOT = {
										has_country_flag = GER_african_colonial_demand_sent_flag
										original_tag = GER
									}
								}
							}
						}
					}
	
					895 = {
						controller = {
							OVERLORD = {
								country_event = {
									id = wuw_GER_diplomacy.38
									hours = 6
								}
								set_country_flag = GER_african_colonial_demand_sent_flag
							}
						}
					}	
				}
				ELSE_IF = {
					limit = {
						895 = {
							controller = {
								is_in_faction_with = ROOT
							}
						}
					}
					895 = {
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.38
								hours = 6
							}
							set_country_flag = GER_african_colonial_demand_sent_flag
						}
					}
				}
				ELSE_IF = {
					limit = {
						895 = {
							controller = {
								is_subject_of = ROOT
							}
						}
					}
					895 = {
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.38
								hours = 6
							}
						}
					}
				}
				ELSE_IF = {
					limit = {
						
						895 = {
							controller = {
								OR = {
									AND = {
										is_subject = no
										has_country_flag = GER_african_colonial_demand_sent_flag
									}
									AND = {
										is_subject = yes
										OVERLORD = {
											has_country_flag = GER_african_colonial_demand_sent_flag
										}
									}
								}
							}
						}
						
					}
					#this is just to prevent multiple events from being sent, and claims being sent erraneously
				}
				ELSE = {
					add_state_claim = 895
				}
			}

			add_named_threat = { 
				threat = 5
				name = GER_reclaim_former_african_colonies
			}

		}

	}

	focus = {
		id = GER_mittelafrika
		icon = GFX_focus_GER_mittelafrika
		prerequisite = { focus = GER_expand_ss_recruitment }
		prerequisite = { focus = GER_reclaim_former_african_colonies }

		x = -1
		y = 1
		relative_position_id = GER_reclaim_former_african_colonies
		cost = 4
		available = {
			is_subject = no
			has_government = fascism
			has_completed_focus = GER_uplift_the_rosenberg_office
			any_controlled_state = {
				is_on_continent = africa
			}
		}

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {

			IF = {
				limit = {
					NOT = {
						897 = { #Zambia-Mocambique
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 897
			}
			IF = {
				limit = {
					NOT = {
						896 = { #Manica e Sofala
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 896 
			}
			IF = {
				limit = {
					NOT = {
						544 = { #Lourenco Marques
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 544
			}
			IF = {
				limit = {
					NOT = {
						540 = { #Luanda
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 540 
			}
			IF = {
				limit = {
					NOT = {
						892 = { #South West Angola
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 892
			}
			IF = {
				limit = {
					NOT = {
						891 = { #Zambesi
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 891 
			}
			IF = {
				limit = {
					NOT = {
						295 = { #Leopoldville
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 295
			}
			IF = {
				limit = {
					NOT = {
						889 = { #Elisabethville
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 889 
			}
			IF = {
				limit = {
					NOT = {
						888 = { #Lusambo
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 888
			}
			IF = {
				limit = {
					NOT = {
						538 = { #Coquilhatville
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 538 
			}
			IF = {
				limit = {
					NOT = {
						890 = { #Costermansville
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 890
			}
			IF = {
				limit = {
					NOT = {
						769 = { #Burundi
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 769 
			}
			IF = {
				limit = {
					NOT = {
						768 = { #Rwanda
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 768 
			}
			IF = {
				limit = {
					NOT = {
						718 = { #Stanelyville
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 718
			}
			IF = {
				limit = {
					NOT = {
						539 = { #Gabon
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 539
			}
			IF = {
				limit = {
					NOT = {
						772 = { #Middle Congo
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 772
			}
			IF = {
				limit = {
					NOT = {
						297 = { #Equatorial Guinea
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 297
			}
			IF = {
				limit = {
					NOT = {
						545 = { #Rhodesia
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 545
			}
			IF = {
				limit = {
					NOT = {
						981 = { #Barotziland
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 981
			}
			IF = {
				limit = {
					NOT = {
						771 = { #Northeast Rhodesia
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 771
			}
			IF = {
				limit = {
					NOT = {
						770 = { #Malawi
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 770
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = GER_reichskommissariat_nordafrika
			unlock_decision_tooltip = GER_reichskommissariat_mittelafrika

			custom_effect_tooltip = generic_skip_one_line_tt 

			custom_effect_tooltip = GER_mittelafrika_revive_the_schutztruppe_tt

			custom_effect_tooltip = generic_skip_one_line_tt
			add_named_threat = { 
				threat = 3
				name = GER_mittelafrika
			}

		}
	}



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



	focus = {
		id = GER_fuhrerprinzip

		dynamic = yes
		
		alternate_icon = GFX_focus_GER_support_the_fuhrer_historical

		icon = {
			trigger = {
				has_country_leader = {
					ruling_only = yes
					character = GER_fritz_todt
				}
			}
			value = GFX_focus_GER_fuhrerprinzip_todt
		}
		icon = {
			trigger = {
				has_country_leader = {
					ruling_only = yes
					character = GER_albert_speer
				}
			}
			value = GFX_focus_GER_fuhrerprinzip_speer
		}
		icon = {
			trigger = {
				has_country_leader = {
					ruling_only = yes
					character = GER_hermann_goring
				}
			}
			value = GFX_focus_GER_fuhrerprinzip_goring
		}
		icon = {
			trigger = {
				has_country_leader = {
					ruling_only = yes
					character = GER_heinrich_himmler
				}
			}
			value = GFX_focus_GER_fuhrerprinzip_himmler
		}
		icon = {
			trigger = {
				has_country_leader = {
					ruling_only = yes
					character = GER_joseph_goebbels
				}
			}
			value = GFX_focus_GER_fuhrerprinzip_goebbels
		}
		icon = {
			trigger = {
				has_country_leader = {
					ruling_only = yes
					character = GER_rudolf_hess
				}
			}
			value = GFX_focus_GER_fuhrerprinzip_hess
		}
		icon = {
			trigger = {
				has_country_leader = {
					ruling_only = yes
					character = GER_martin_bormann
				}
			}
			value = GFX_focus_GER_fuhrerprinzip_bormann
		}
		icon = GFX_focus_GER_support_the_fuhrer

		prerequisite = { focus = GER_remilitarize_the_rhineland }
		x = -5
		y = 8
		relative_position_id = GER_remilitarize_the_rhineland
		cost = 5
		available = {
			has_government = fascism
		}

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {
			custom_effect_tooltip = GER_fuhrerprinzip_inner_circle_tt
			add_political_power = 50
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					has_country_leader_with_trait = GER_der_fuhrer
				}
				random_character = {
					limit = {
						is_country_leader = yes
					}
					swap_country_leader_traits = {
						remove = GER_der_fuhrer
						add = GER_der_fuhrer_fuhrerprinzip
					}
				}
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = GER_der_fuhrer_wehrmacht
				}
				random_character = {
					limit = {
						is_country_leader = yes
					}
					swap_country_leader_traits = {
						remove = GER_der_fuhrer_wehrmacht
						add = GER_der_fuhrer_fuhrerprinzip_wehrmacht
					}
				}
			}
			else_if = {
				limit = {
					has_country_leader_with_trait = GER_der_fuhrer_neurath
				}
				random_character = {
					limit = {
						is_country_leader = yes
					}
					swap_country_leader_traits = {
						remove = GER_der_fuhrer_neurath
						add = GER_der_fuhrer_fuhrerprinzip_neurath
					}
				}
			}
			# No fallback if country leader is not Hitler and the Werhmacht / Neurath focuses are completed

			hidden_effect = {
				add_dynamic_modifier = {
					modifier = GER_the_inner_circle_dm
				}
			}
		}
	}

	focus = {
		id = GER_ascension_of_todt
		icon = GFX_focus_GER_ascension_of_todt
		prerequisite = { focus = GER_fuhrerprinzip }

		x = -7
		y = 1
		relative_position_id = GER_fuhrerprinzip
		cost = 2
		
		available = {
			if = {
				limit = {
					is_ai = yes
				}
				hidden_trigger = {
					NOT = { has_country_flag = GER_todt_was_ascended_flag } #Flag to prevent AI from taking the focus again after advisor has been replaced}
				}
			}

			has_government = fascism
			NOT = {
				has_country_leader = {
					ruling_only = yes
					character = GER_fritz_todt
				}
			}
			if = {
				limit = {
					has_country_flag = GER_inner_circle_event_pending_flag
				}
				NOT = { has_country_flag = GER_inner_circle_event_pending_flag }
			}

			GER_inner_circle_is_ascension_cd_over = yes
			if = {
				limit = {
					has_country_flag = GER_inner_circle_cd_flag
				}
				custom_trigger_tooltip = {
					tooltip = GER_inner_circle_cd_days_tt
					NOT = {	has_country_flag = GER_inner_circle_cd_flag }
				}
			}
		}

		#Focus will need to pause while events are pending
		cancel_if_invalid = no
		continue_if_invalid = no

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_INDUSTRY }

		select_effect = { #Necessary to prevent AI from getting stuck if the focus is paused due to available trigger returning false
			set_country_flag = GER_todt_ascension_flag
		}

		completion_reward = {
			custom_effect_tooltip = {
				localization_key = GER_ascension_of_character_tt
				CHARACTER = GER_fritz_todt
			}
			show_ideas_tooltip = GER_todt_reich_engineer

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = {
				localization_key = GER_ascension_of_character_focus_tt
				CHARACTER = GER_fritz_todt
			}

			if = { #Just to make it easy to debug stuff for development
				limit = {
					OR = {
						check_variable = { GER_ascended_advisor_1 = 1 }
						check_variable = { GER_ascended_advisor_2 = 1 }
						check_variable = { GER_ascended_advisor_3 = 1 }
					}
				}
				log = "Advisor was already there. STOP CHEATING!"
			}
			else_if = { # ASCENDED ADVISORS FULL - NEED TO REPLACE SOMEONE
				limit = {
					check_variable = { GER_ascended_advisor_1 = 0 compare = not_equals }
					check_variable = { GER_ascended_advisor_2 = 0 compare = not_equals }
					check_variable = { GER_ascended_advisor_3 = 0 compare = not_equals }
				}
				hidden_effect = {
					set_variable = { GER_ascending_advisor = 1 }
					country_event = GER_inner_circle.01
				}

				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = {
					localization_key = GER_event_to_replace_ascended_advisor_tt
					EVENT = GER_inner_circle.01.t
					CHARACTER = GER_fritz_todt
				}
			}
			else = {
				hidden_effect = {
					add_ideas = GER_todt_reich_engineer
				}
				if = {
					limit = {
						check_variable = { GER_ascended_advisor_1 = 0 }
					}
					set_variable = { GER_ascended_advisor_1 = 1 }
				}
				else_if = {
					limit = {
						check_variable = { GER_ascended_advisor_2 = 0 }
					}
					set_variable = { GER_ascended_advisor_2 = 1 }
				}
				else_if = {
					limit = {
						check_variable = { GER_ascended_advisor_3 = 0 }
					}
					set_variable = { GER_ascended_advisor_3 = 1 }
				}
			}

			hidden_effect = {
				country_event = { id = GER_inner_circle_todt.01 days = GER_inner_circle_days_to_start_focus random_days = GER_inner_circle_random_days }

				clr_country_flag = GER_todt_ascension_flag

				GER_inner_circle_set_ascension_cd = yes

				if = { #If historical make sure Todt is not picked ever after being replaced by Speer in the Intrigue Event
					limit = {
						GER_is_historical_ai = yes
					}
					set_country_flag = GER_todt_was_ascended_flag #Flag to prevent AI from taking the focus again after advisor has been replaced
				}
				else = {
					set_country_flag = { #Flag to prevent AI from taking the focus again after advisor has been replaced
						flag = GER_todt_was_ascended_flag
						days = 1500 # Clear after ~4 years 
						value = 1
					}
				}
			}
		}
	}

	focus = {
		id = GER_form_organization_todt
		icon = GFX_focus_GER_form_organization_todt
		prerequisite = { focus = GER_ascension_of_todt }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = GER_ascension_of_todt
		cost = @inner_circle_time_tier_1
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = GER_form_organization_todt_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_1 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = GER_fritz_todt
						FLAG_DAYS = [?GER_form_organization_todt_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = GER_fritz_todt
						FOCUS = GER_ascension_of_todt
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			every_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				random_select_amount = 3
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			if = {
				limit = {
					has_idea = GER_philipp_holzmann
				}
				swap_ideas = {
					remove_idea = GER_philipp_holzmann
					add_idea = GER_organization_todt
				}
			}
			else = {
				effect_tooltip = {
					custom_effect_tooltip = available_designer
					show_ideas_tooltip = GER_organization_todt
				}
			}
		}
	}

	focus = {
		id = GER_autonomous_organization_todt
		icon = GFX_focus_GER_autonomous_organization_todt
		mutually_exclusive = { focus = GER_plenipotentiary_of_armaments focus = GER_plenipotentiary_of_the_four_year_plan }
		prerequisite = { focus = GER_form_organization_todt }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = GER_form_organization_todt
		cost = @inner_circle_time_tier_2
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = GER_autonomous_organization_todt_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_2 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = GER_fritz_todt
						FLAG_DAYS = [?GER_autonomous_organization_todt_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = GER_fritz_todt
						FOCUS = GER_ascension_of_todt
					}
					always = no
				}
			}

			if = {
				limit = {
					check_variable = { GER_industrialist_prevailed = 0 compare = not_equals }
				}
				if = {
					limit = {
						check_variable = { GER_industrialist_prevailed = 1 }
					}
					custom_override_tooltip = {
						tooltip = {
							localization_key = GER_industrialists_intrigue_prevailed_tt
							PREVAILED_CHARACTER = GER_fritz_todt
						}
						always = yes
					}
				}
				else_if = {
					limit = {
						check_variable = { GER_industrialist_prevailed = 2 }
					}
					custom_override_tooltip = {
						tooltip = {
							localization_key = GER_industrialists_intrigue_prevailed_tt
							PREVAILED_CHARACTER = GER_albert_speer
						}
						always = no
					}
				}
				else_if = {
					limit = {
						check_variable = { GER_industrialist_prevailed = 3 }
					}
					custom_override_tooltip = {
						tooltip = {
							localization_key = GER_industrialists_intrigue_prevailed_tt
							PREVAILED_CHARACTER = GER_hermann_goring
						}
						always = no
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			custom_effect_tooltip = {
				localization_key = GER_ascended_character_trait_swap_tt
				CHARACTER = GER_fritz_todt
			}
			swap_ideas = {
				remove_idea = GER_todt_reich_engineer
				add_idea = GER_todt_reich_minister_of_armaments
			}

			if = {
				limit = {
					has_idea = GER_organization_todt
				}
				swap_ideas = {
					remove_idea = GER_organization_todt
					add_idea = GER_organization_todt_improved
				}
			}
			else = {
				effect_tooltip = {
					swap_ideas = {
						remove_idea = GER_organization_todt
						add_idea = GER_organization_todt_improved
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = {
				localization_key = GER_inner_circle_industrial_me_focuses_tt
				FOCUS_1 = GER_plenipotentiary_of_armaments
				FOCUS_2 = GER_plenipotentiary_of_the_four_year_plan
			}
		}
	}

	focus = {
		id = GER_ascension_of_speer
		icon = GFX_focus_GER_ascension_of_speer
		prerequisite = { focus = GER_fuhrerprinzip }

		x = 2
		y = 0
		relative_position_id = GER_ascension_of_todt
		cost = 2
		
		available = {
			if = {
				limit = {
					is_ai = yes
				}
				hidden_trigger = {
					NOT = { has_country_flag = GER_speer_was_ascended_flag } #Flag to prevent AI from taking the focus again after advisor has been replaced}
				}
			}

			has_government = fascism
			NOT = {
				has_country_leader = {
					ruling_only = yes
					character = GER_albert_speer
				}
			}
			if = {
				limit = {
					has_country_flag = GER_inner_circle_event_pending_flag
				}
				NOT = { has_country_flag = GER_inner_circle_event_pending_flag }
			}

			GER_inner_circle_is_ascension_cd_over = yes
			if = {
				limit = {
					has_country_flag = GER_inner_circle_cd_flag
				}
				custom_trigger_tooltip = {
					tooltip = GER_inner_circle_cd_days_tt
					NOT = {	has_country_flag = GER_inner_circle_cd_flag }
				}
			}
		}

		#Focus will need to pause while events are pending
		cancel_if_invalid = no
		continue_if_invalid = no

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL }

		select_effect = { #Necessary to prevent AI from getting stuck if the focus is paused due to available trigger returning false
			set_country_flag = GER_speer_ascension_flag
		}

		completion_reward = {
			custom_effect_tooltip = {
				localization_key = GER_ascension_of_character_tt
				CHARACTER = GER_albert_speer
			}
			show_ideas_tooltip = GER_speer_reich_architect

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = {
				localization_key = GER_ascension_of_character_focus_tt
				CHARACTER = GER_albert_speer
			}

			if = { #Just to make it easy to debug stuff for development
				limit = {
					OR = {
						check_variable = { GER_ascended_advisor_1 = 2 }
						check_variable = { GER_ascended_advisor_2 = 2 }
						check_variable = { GER_ascended_advisor_3 = 2 }
					}
				}
				log = "Advisor was already there. STOP CHEATING!"
			}
			else_if = { # ASCENDED ADVISORS FULL - NEED TO REPLACE SOMEONE
				limit = {
					check_variable = { GER_ascended_advisor_1 = 0 compare = not_equals }
					check_variable = { GER_ascended_advisor_2 = 0 compare = not_equals }
					check_variable = { GER_ascended_advisor_3 = 0 compare = not_equals }
				}
				hidden_effect = {
					set_variable = { GER_ascending_advisor = 2 }
					country_event = GER_inner_circle.01
				}

				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = {
					localization_key = GER_event_to_replace_ascended_advisor_tt
					EVENT = GER_inner_circle.01.t
					CHARACTER = GER_albert_speer
				}
			}
			else = {
				hidden_effect = {
					add_ideas = GER_speer_reich_architect
				}
				if = {
					limit = {
						check_variable = { GER_ascended_advisor_1 = 0 }
					}
					set_variable = { GER_ascended_advisor_1 = 2 }
				}
				else_if = {
					limit = {
						check_variable = { GER_ascended_advisor_2 = 0 }
					}
					set_variable = { GER_ascended_advisor_2 = 2 }
				}
				else_if = {
					limit = {
						check_variable = { GER_ascended_advisor_3 = 0 }
					}
					set_variable = { GER_ascended_advisor_3 = 2 }
				}
			}

			hidden_effect = {
				country_event = { id = GER_inner_circle_speer.01 days = GER_inner_circle_days_to_start_focus random_days = GER_inner_circle_random_days }
				clr_country_flag = GER_speer_ascension_flag

				GER_inner_circle_set_ascension_cd = yes
				
				set_country_flag = { #Flag to prevent AI from taking the focus again after advisor has been replaced
					flag = GER_speer_was_ascended_flag
					days = 1500 # Clear after ~4 years 
					value = 1
				}
			}
		}
	}

	focus = {
		id = GER_employ_philipp_holzmann
		icon = GFX_focus_GER_philipp_holzmann
		prerequisite = { focus = GER_ascension_of_speer }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = GER_ascension_of_speer
		cost = @inner_circle_time_tier_1
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = GER_employ_philipp_holzmann_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_1 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = GER_albert_speer
						FLAG_DAYS = [?GER_employ_philipp_holzmann_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = GER_albert_speer
						FOCUS = GER_ascension_of_speer
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			every_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				random_select_amount = 2
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			if = {
				limit = {
					has_idea = GER_philipp_holzmann
				}
				swap_ideas = {
					remove_idea = GER_philipp_holzmann
					add_idea = GER_philipp_holzmann_improved
				}
			}
			else = {
				effect_tooltip = {
					swap_ideas = {
						remove_idea = GER_philipp_holzmann
						add_idea = GER_philipp_holzmann_improved
					}
				}
			}
		}
	}

	focus = {
		id = GER_plenipotentiary_of_armaments
		icon = GFX_focus_GER_plenipotentiary_of_armaments
		#prerequisite = { focus = GER_form_organization_todt focus = GER_employ_philipp_holzmann focus = GER_prioritize_the_four_year_plan }
		mutually_exclusive = { focus = GER_autonomous_organization_todt focus = GER_plenipotentiary_of_the_four_year_plan }
		prerequisite = { focus = GER_employ_philipp_holzmann }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = GER_employ_philipp_holzmann
		cost = @inner_circle_time_tier_2
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = GER_plenipotentiary_of_armaments_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_2 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = GER_albert_speer
						FLAG_DAYS = [?GER_plenipotentiary_of_armaments_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = GER_albert_speer
						FOCUS = GER_ascension_of_speer
					}
					always = no
				}
			}

			if = {
				limit = {
					check_variable = { GER_industrialist_prevailed = 0 compare = not_equals }
				}
				if = {
					limit = {
						check_variable = { GER_industrialist_prevailed = 1 }
					}
					custom_override_tooltip = {
						tooltip = {
							localization_key = GER_industrialists_intrigue_prevailed_tt
							PREVAILED_CHARACTER = GER_fritz_todt
						}
						always = no
					}
				}
				else_if = {
					limit = {
						check_variable = { GER_industrialist_prevailed = 2 }
					}
					custom_override_tooltip = {
						tooltip = {
							localization_key = GER_industrialists_intrigue_prevailed_tt
							PREVAILED_CHARACTER = GER_albert_speer
						}
						always = yes
					}
				}
				else_if = {
					limit = {
						check_variable = { GER_industrialist_prevailed = 3 }
					}
					custom_override_tooltip = {
						tooltip = {
							localization_key = GER_industrialists_intrigue_prevailed_tt
							PREVAILED_CHARACTER = GER_hermann_goring
						}
						always = no
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL }

		completion_reward = {
			custom_effect_tooltip = {
				localization_key = GER_ascended_character_trait_swap_tt
				CHARACTER = GER_albert_speer
			}
			swap_ideas = {
				remove_idea = GER_speer_reich_architect
				add_idea = GER_speer_reich_minister_of_armaments
			}

			if = {
				limit = {
					has_idea = GER_philipp_holzmann_improved
				}
				if = {
					limit = {
						has_dlc = "Arms Against Tyranny"
					}
					swap_ideas = {
						remove_idea = GER_philipp_holzmann_improved
						add_idea = GER_philipp_holzmann_improved_2
					}
				}
				else = {
					swap_ideas = {
						remove_idea = GER_philipp_holzmann_improved
						add_idea = GER_philipp_holzmann_improved_2_no_aat
					}
				}
			}
			else = {
				effect_tooltip = {
					if = {
						limit = {
							has_dlc = "Arms Against Tyranny"
						}
						swap_ideas = {
							remove_idea = GER_philipp_holzmann_improved
							add_idea = GER_philipp_holzmann_improved_2
						}
					}
					else = {
						swap_ideas = {
							remove_idea = GER_philipp_holzmann_improved
							add_idea = GER_philipp_holzmann_improved_2_no_aat
						}
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = {
				localization_key = GER_inner_circle_industrial_me_focuses_tt
				FOCUS_1 = GER_autonomous_organization_todt
				FOCUS_2 = GER_plenipotentiary_of_the_four_year_plan
			}
		}
	}

	focus = {
		id = GER_wunderwaffe
		icon = GFX_focus_GER_wunderwaffe_inner_circle
		prerequisite = { focus = GER_autonomous_organization_todt focus = GER_plenipotentiary_of_armaments}

		text_icon = GER_inner_circle_focus_style

		x = 1
		y = 1
		relative_position_id = GER_autonomous_organization_todt
		cost = @inner_circle_time_tier_3
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = GER_wunderwaffe_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_3 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				if = { #TODT working on it
					limit = {
						check_variable = { GER_wonder_weapons_focus_advisor = 1 }
					}
					custom_override_tooltip = {
						tooltip = {
							localization_key = GER_inner_circle_focus_in_progress_tt
							CHARACTER = GER_fritz_todt
							FLAG_DAYS = [?GER_wunderwaffe_in_progress_flag:days]
						}
						always = no 
					}
				}
				else = { #SPEER working on it
					custom_override_tooltip = {
						tooltip = {
							localization_key = GER_inner_circle_focus_in_progress_tt
							CHARACTER = GER_albert_speer
							FLAG_DAYS = [?GER_wunderwaffe_in_progress_flag:days]
						}
						always = no 
					}
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_multiple_tt
						CHARACTER = GER_fritz_todt
						FOCUS = GER_ascension_of_todt
						CHARACTER_2 = GER_albert_speer
						FOCUS_2 = GER_ascension_of_speer
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_RESEARCH }

		completion_reward = {
			random_scientist = {
				limit = {
					has_scientist_level = {
						specialization = specialization_air
						level > 0
					}
				}
				add_scientist_level = {
					specialization = specialization_air
					level = 1
				}
			}

			random_scientist = {
				limit = {
					has_scientist_level = {
						specialization = specialization_nuclear
						level > 0
					}
				}
				add_scientist_level = {
					specialization = specialization_nuclear
					level = 1
				}
			}
			
			random_scientist = {
				limit = {
					has_scientist_level = {
						specialization = specialization_land
						level > 0
					}
				}
				add_scientist_level = {
					specialization = specialization_land
					level = 1
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = GER_walter_dornberger
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_wunderwaffe_dornberger_trait_tt
			hidden_effect = {
				remove_trait = {
					character = GER_walter_dornberger
					slot = high_command
					trait = GER_head_of_the_missile_department
				}
				add_trait = {
					character = GER_walter_dornberger
					slot = high_command
					trait = GER_head_of_experimental_weapons
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_add_or_modify_wunderwaffen = yes
			add_to_variable = { 
				GER_wunderwaffen_special_project_speed_factor = 0.05
				tooltip = special_project_speed_factor_tt
			}
			add_to_variable = { 
				GER_wunderwaffen_production_speed_facility_factor = 0.1
				tooltip = production_speed_facility_factor_tt
			}
		}
	}

	focus = {
		id = GER_ascension_of_goring
		icon = GFX_focus_GER_ascension_of_goring
		prerequisite = { focus = GER_fuhrerprinzip }

		x = 2
		y = 0
		relative_position_id = GER_ascension_of_speer
		cost = 2
		
		available = {
			if = {
				limit = {
					is_ai = yes
				}
				hidden_trigger = {
					NOT = { has_country_flag = GER_goring_was_ascended_flag } #Flag to prevent AI from taking the focus again after advisor has been replaced}
				}
			}

			has_government = fascism
			NOT = {
				has_country_leader = {
					ruling_only = yes
					character = GER_hermann_goring
				}
			}
			has_completed_focus = GER_the_four_year_plan
			if = {
				limit = {
					has_country_flag = GER_inner_circle_event_pending_flag
				}
				NOT = { has_country_flag = GER_inner_circle_event_pending_flag }
			}

			GER_inner_circle_is_ascension_cd_over = yes
			if = {
				limit = {
					has_country_flag = GER_inner_circle_cd_flag
				}
				custom_trigger_tooltip = {
					tooltip = GER_inner_circle_cd_days_tt
					NOT = {	has_country_flag = GER_inner_circle_cd_flag }
				}
			}
		}

		#Focus will need to pause while events are pending
		cancel_if_invalid = no
		continue_if_invalid = no

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_INDUSTRY }

		select_effect = { #Necessary to prevent AI from getting stuck if the focus is paused due to available trigger returning false
			set_country_flag = GER_goring_ascension_flag
		}

		completion_reward = {
			custom_effect_tooltip = {
				localization_key = GER_ascension_of_character_tt
				CHARACTER = GER_hermann_goring
			}
			show_ideas_tooltip = GER_goring_overseer_four_year_plan

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = {
				localization_key = GER_ascension_of_character_focus_tt
				CHARACTER = GER_hermann_goring
			}

			if = { #Just to make it easy to debug stuff for development
				limit = {
					OR = {
						check_variable = { GER_ascended_advisor_1 = 3 }
						check_variable = { GER_ascended_advisor_2 = 3 }
						check_variable = { GER_ascended_advisor_3 = 3 }
					}
				}
				log = "Advisor was already there. STOP CHEATING!"
			}
			else_if = { # ASCENDED ADVISORS FULL - NEED TO REPLACE SOMEONE
				limit = {
					check_variable = { GER_ascended_advisor_1 = 0 compare = not_equals }
					check_variable = { GER_ascended_advisor_2 = 0 compare = not_equals }
					check_variable = { GER_ascended_advisor_3 = 0 compare = not_equals }
				}
				hidden_effect = {
					set_variable = { GER_ascending_advisor = 3 }
					country_event = GER_inner_circle.01
				}

				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = {
					localization_key = GER_event_to_replace_ascended_advisor_tt
					EVENT = GER_inner_circle.01.t
					CHARACTER = GER_hermann_goring
				}
			}
			else = {
				hidden_effect = {
					add_ideas = GER_goring_overseer_four_year_plan
				}
				if = {
					limit = {
						check_variable = { GER_ascended_advisor_1 = 0 }
					}
					set_variable = { GER_ascended_advisor_1 = 3 }
				}
				else_if = {
					limit = {
						check_variable = { GER_ascended_advisor_2 = 0 }
					}
					set_variable = { GER_ascended_advisor_2 = 3 }
				}
				else_if = {
					limit = {
						check_variable = { GER_ascended_advisor_3 = 0 }
					}
					set_variable = { GER_ascended_advisor_3 = 3 }
				}
			}

			hidden_effect = {
				country_event = { id = GER_inner_circle_goring.01 days = GER_inner_circle_days_to_start_focus random_days = GER_inner_circle_random_days }
				clr_country_flag = GER_goring_ascension_flag

				GER_inner_circle_set_ascension_cd = yes

				set_country_flag = { #Flag to prevent AI from taking the focus again after advisor has been replaced
					flag = GER_goring_was_ascended_flag
					days = 1500 # Clear after ~4 years 
					value = 1
				}
			}
		}
	}

	focus = {
		id = GER_prioritize_the_four_year_plan
		icon = GFX_focus_GER_prioritize_the_four_year_plan
		prerequisite = { focus = GER_ascension_of_goring }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = GER_ascension_of_goring
		cost = @inner_circle_time_tier_1
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = GER_prioritize_the_four_year_plan_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_1 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = GER_hermann_goring
						FLAG_DAYS = [?GER_prioritize_the_four_year_plan_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = GER_hermann_goring
						FOCUS = GER_ascension_of_goring
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			if = {
				limit = {
					59 = { is_fully_controlled_by = ROOT }
				}
				59 = { #Hannover
					add_resource = {
						type = steel
						amount = 6
					}
					add_dynamic_modifier = { 
						modifier = GER_four_year_plan_initiative_modifier
						scope = GER
					}
				}
				random_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
						NOT = {
							state = 59
						}
						OR = {
							has_resources_amount = {
								resource = oil
								amount > 19
								delivered = no
							}
							has_resources_amount = {
								resource = aluminium
								amount > 19
								delivered = no
							}
							has_resources_amount = {
								resource = rubber
								amount > 19
								delivered = no
							}
							has_resources_amount = {
								resource = tungsten
								amount > 19
								delivered = no
							}
							has_resources_amount = {
								resource = steel
								amount > 19
								delivered = no
							}
							has_resources_amount = {
								resource = chromium
								amount > 19
								delivered = no
							}
						}
					}
					add_dynamic_modifier = { 
						modifier = GER_four_year_plan_initiative_modifier
						scope = GER
					}
				}
			}
			else = {
				every_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
						OR = {
							has_resources_amount = {
								resource = oil
								amount > 19
								delivered = no
							}
							has_resources_amount = {
								resource = aluminium
								amount > 19
								delivered = no
							}
							has_resources_amount = {
								resource = rubber
								amount > 19
								delivered = no
							}
							has_resources_amount = {
								resource = tungsten
								amount > 19
								delivered = no
							}
							has_resources_amount = {
								resource = steel
								amount > 19
								delivered = no
							}
							has_resources_amount = {
								resource = chromium
								amount > 19
								delivered = no
							}
						}
					}
					random_select_amount = 2
					add_dynamic_modifier = { 
						modifier = GER_four_year_plan_initiative_modifier
						scope = GER
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					has_idea = GER_reichswerke
				}
				swap_ideas = {
					remove_idea = GER_reichswerke
					add_idea = GER_reichswerke_improved
				}
			}
			else = {
				effect_tooltip = {
					swap_ideas = {
						remove_idea = GER_reichswerke
						add_idea = GER_reichswerke_improved
					}
				}
			}
		}
	}

	focus = {
		id = GER_plenipotentiary_of_the_four_year_plan
		icon = GFX_focus_GER_plenipotentiary_of_the_four_year_plan
		mutually_exclusive = { focus = GER_autonomous_organization_todt focus = GER_plenipotentiary_of_armaments }
		prerequisite = { focus = GER_prioritize_the_four_year_plan }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = GER_prioritize_the_four_year_plan
		cost = @inner_circle_time_tier_2
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = GER_plenipotentiary_of_the_four_year_plan_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_2 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = GER_hermann_goring
						FLAG_DAYS = [?GER_plenipotentiary_of_the_four_year_plan_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = GER_hermann_goring
						FOCUS = GER_ascension_of_goring
					}
					always = no
				}
			}

			if = {
				limit = {
					check_variable = { GER_industrialist_prevailed = 0 compare = not_equals }
				}
				if = {
					limit = {
						check_variable = { GER_industrialist_prevailed = 1 }
					}
					custom_override_tooltip = {
						tooltip = {
							localization_key = GER_industrialists_intrigue_prevailed_tt
							PREVAILED_CHARACTER = GER_fritz_todt
						}
						always = no
					}
				}
				else_if = {
					limit = {
						check_variable = { GER_industrialist_prevailed = 2 }
					}
					custom_override_tooltip = {
						tooltip = {
							localization_key = GER_industrialists_intrigue_prevailed_tt
							PREVAILED_CHARACTER = GER_albert_speer
						}
						always = no
					}
				}
				else_if = {
					limit = {
						check_variable = { GER_industrialist_prevailed = 3 }
					}
					custom_override_tooltip = {
						tooltip = {
							localization_key = GER_industrialists_intrigue_prevailed_tt
							PREVAILED_CHARACTER = GER_hermann_goring
						}
						always = yes
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }

		completion_reward = {
			custom_effect_tooltip = {
				localization_key = GER_ascended_character_trait_swap_tt
				CHARACTER = GER_hermann_goring
			}
			swap_ideas = {
				remove_idea = GER_goring_overseer_four_year_plan
				add_idea = GER_goring_four_year_plan_plenipotentiary
			}

			if = {
				limit = {
					has_idea = GER_reichswerke_improved
				}
				swap_ideas = {
					remove_idea = GER_reichswerke_improved
					add_idea = GER_reichswerke_improved_2
				}
			}
			else = {
				effect_tooltip = {
					swap_ideas = {
						remove_idea = GER_reichswerke_improved
						add_idea = GER_reichswerke_improved_2
					}
				}
			}

			add_tech_bonus = {
				name = GER_plenipotentiary_of_the_four_year_plan
				uses = 1
				ahead_reduction = 2
				category = excavation_tech
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = {
				localization_key = GER_inner_circle_industrial_me_focuses_tt
				FOCUS_1 = GER_autonomous_organization_todt
				FOCUS_2 = GER_plenipotentiary_of_armaments
			}
		}
	}

	focus = {
		id = GER_integration_of_puppet_economies
		icon = GFX_focus_GER_integration_of_puppet_economies
		prerequisite = { focus = GER_plenipotentiary_of_the_four_year_plan }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = GER_plenipotentiary_of_the_four_year_plan
		cost = @inner_circle_time_tier_3
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = GER_integration_of_puppet_economies_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_3 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = GER_hermann_goring
						FLAG_DAYS = [?GER_integration_of_puppet_economies_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = GER_hermann_goring
						FOCUS = GER_ascension_of_goring
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			custom_effect_tooltip = {
				localization_key = unlock_decision_category_explained
				CATEGORY = GER_integration_of_puppet_economies_dec_cat
				DESC = GER_integration_of_puppet_economies_decisions_tt
			}
		}
	}

	focus = {
		id = GER_ascension_of_himmler
		icon = GFX_focus_GER_ascension_of_himmler
		prerequisite = { focus = GER_fuhrerprinzip }
		x = 0
		y = 1
		relative_position_id = GER_fuhrerprinzip
		cost = 2
		
		available = {
			if = {
				limit = {
					is_ai = yes
				}
				hidden_trigger = {
					NOT = { has_country_flag = GER_himmler_was_ascended_flag } #Flag to prevent AI from taking the focus again after advisor has been replaced}
				}
			}

			has_government = fascism
			NOT = {
				has_country_leader = {
					ruling_only = yes
					character = GER_heinrich_himmler
				}
			}
			if = {
				limit = {
					has_country_flag = GER_inner_circle_event_pending_flag
				}
				NOT = { has_country_flag = GER_inner_circle_event_pending_flag }
			}

			GER_inner_circle_is_ascension_cd_over = yes
			if = {
				limit = {
					has_country_flag = GER_inner_circle_cd_flag
				}
				custom_trigger_tooltip = {
					tooltip = GER_inner_circle_cd_days_tt
					NOT = {	has_country_flag = GER_inner_circle_cd_flag }
				}
			}
		}

		#Focus will need to pause while events are pending
		cancel_if_invalid = no
		continue_if_invalid = no

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_MANPOWER }

		select_effect = { #Necessary to prevent AI from getting stuck if the focus is paused due to available trigger returning false
			set_country_flag = GER_himmler_ascension_flag
		}

		completion_reward = {
			custom_effect_tooltip = {
				localization_key = GER_ascension_of_character_tt
				CHARACTER = GER_heinrich_himmler
			}
			show_ideas_tooltip = GER_himmler_chief_of_german_police
			
			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = {
				localization_key = GER_ascension_of_character_focus_tt
				CHARACTER = GER_heinrich_himmler
			}

			if = { #Just to make it easy to debug stuff for development
				limit = {
					OR = {
						check_variable = { GER_ascended_advisor_1 = 4 }
						check_variable = { GER_ascended_advisor_2 = 4 }
						check_variable = { GER_ascended_advisor_3 = 4 }
					}
				}
				log = "Advisor was already there. STOP CHEATING!"
			}
			else_if = { # ASCENDED ADVISORS FULL - NEED TO REPLACE SOMEONE
				limit = {
					check_variable = { GER_ascended_advisor_1 = 0 compare = not_equals }
					check_variable = { GER_ascended_advisor_2 = 0 compare = not_equals }
					check_variable = { GER_ascended_advisor_3 = 0 compare = not_equals }
				}
				hidden_effect = {
					set_variable = { GER_ascending_advisor = 4 }
					country_event = GER_inner_circle.01 #Replace Advisor
				}

				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = {
					localization_key = GER_event_to_replace_ascended_advisor_tt
					EVENT = GER_inner_circle.01.t
					CHARACTER = GER_heinrich_himmler
				}
			}
			else = {
				custom_effect_tooltip = generic_skip_one_line_tt

				country_event = GER_inner_circle_himmler.00 #Pick Himmler's branch (Can only be fired once)
				
				hidden_effect = {
					add_ideas = GER_himmler_chief_of_german_police
				}
				if = {
					limit = {
						check_variable = { GER_ascended_advisor_1 = 0 }
					}
					set_variable = { GER_ascended_advisor_1 = 4 }
				}
				else_if = {
					limit = {
						check_variable = { GER_ascended_advisor_2 = 0 }
					}
					set_variable = { GER_ascended_advisor_2 = 4 }
				}
				else_if = {
					limit = {
						check_variable = { GER_ascended_advisor_3 = 0 }
					}
					set_variable = { GER_ascended_advisor_3 = 4 }
				}
			}

			hidden_effect = {
				country_event = { id = GER_inner_circle_himmler.01 days = GER_inner_circle_days_to_start_focus random_days = GER_inner_circle_random_days }
				clr_country_flag = GER_himmler_ascension_flag

				GER_inner_circle_set_ascension_cd = yes

				set_country_flag = { #Flag to prevent AI from taking the focus again after advisor has been replaced
					flag = GER_himmler_was_ascended_flag
					days = 1500 # Clear after ~4 years 
					value = 1
				}
			}
		}
	}

	focus = {
		id = GER_expand_gestapo
		icon = GFX_focus_GER_expand_gestapo
		prerequisite = { focus = GER_ascension_of_himmler }
		mutually_exclusive = { focus = GER_expand_ss_security_duties }

		text_icon = GER_inner_circle_focus_style

		x = -1
		y = 1
		relative_position_id = GER_ascension_of_himmler
		cost = @inner_circle_time_tier_1
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = GER_expand_gestapo_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_1 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = GER_heinrich_himmler
						FLAG_DAYS = [?GER_expand_gestapo_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = GER_heinrich_himmler
						FOCUS = GER_ascension_of_himmler
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			GER_add_or_modify_military_intelligence_service = yes
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				add_to_variable = { 
					GER_military_intelligence_service_intelligence_agency_defense = 0.15
					tooltip = intelligence_agency_defense_tt
				}
				add_to_variable = { 
					GER_military_intelligence_service_agency_upgrade_time = -0.2
					tooltip = agency_upgrade_time_tt
				}
				add_to_variable = { 
					GER_military_intelligence_root_out_resistance_effectiveness_factor = 0.2
					tooltip = root_out_resistance_effectiveness_factor_tt
				}
			}
			else = {
				add_to_variable = { 
					GER_military_intelligence_service_encryption_factor = 0.1
					tooltip = encryption_factor_tt
				}
			}
		}
	}

	focus = {
		id = GER_absorb_the_abwehr
		icon = GFX_focus_GER_absorb_the_abwehr
		prerequisite = { focus = GER_expand_gestapo }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = GER_expand_gestapo
		cost = @inner_circle_time_tier_2
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = GER_absorb_the_abwehr_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_2 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = GER_heinrich_himmler
						FLAG_DAYS = [?GER_absorb_the_abwehr_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = GER_heinrich_himmler
						FOCUS = GER_ascension_of_himmler
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {
			custom_effect_tooltip = {
				localization_key = GER_ascended_character_trait_swap_tt
				CHARACTER = GER_heinrich_himmler
			}
			swap_ideas = {
				remove_idea = GER_himmler_chief_of_german_police
				add_idea = GER_himmler_director_reich_security
			}

			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				GER_create_operative_eleysa_bazna = yes
			}
		}
	}

	focus = {
		id = GER_expand_ss_security_duties
		icon = GFX_focus_GER_expand_ss_security_duties
		prerequisite = { focus = GER_ascension_of_himmler }
		mutually_exclusive = { focus = GER_expand_gestapo }

		text_icon = GER_inner_circle_focus_style

		x = 1
		y = 1
		relative_position_id = GER_ascension_of_himmler
		cost = @inner_circle_time_tier_1
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = GER_expand_ss_security_duties_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_1 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = GER_heinrich_himmler
						FLAG_DAYS = [?GER_expand_ss_security_duties_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = GER_heinrich_himmler
						FOCUS = GER_ascension_of_himmler
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_RESEARCH }

		completion_reward = {
			custom_effect_tooltip = {
				localization_key = GER_ascended_character_trait_swap_tt
				CHARACTER = GER_heinrich_himmler
			}
			swap_ideas = {
				remove_idea = GER_himmler_chief_of_german_police
				add_idea = GER_himmler_director_reich_security
			}

			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				GER_create_operative_eleysa_bazna = yes
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = GER_expand_ss_security_duties
				bonus = 0.5
				uses = 1
				category = military_police_tech
			}
		}
	}

	focus = {
		id = GER_strengthen_the_waffen_ss
		icon = GFX_focus_GER_strengthen_the_waffen_ss
		prerequisite = { focus = GER_expand_ss_security_duties }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = GER_expand_ss_security_duties
		cost = @inner_circle_time_tier_2
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = GER_strengthen_the_waffen_ss_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_2 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = GER_heinrich_himmler
						FLAG_DAYS = [?GER_strengthen_the_waffen_ss_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = GER_heinrich_himmler
						FOCUS = GER_ascension_of_himmler
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_ARMY_XP FOCUS_FILTER_MANPOWER FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			custom_effect_tooltip = {
				localization_key = GER_ascended_character_trait_swap_tt
				CHARACTER = GER_heinrich_himmler
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt

			add_doctrine_cost_reduction = {
				name = GER_strengthen_the_waffen_ss
				cost_reduction = 0.5
				uses = 2
				category = special_forces_doctrine
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt

			swap_ideas = {
				remove_idea = GER_himmler_director_reich_security
				add_idea = GER_himmler_reichsfuhrer_ss
			}
			#remove_trait = {
			#	character = GER_heinrich_himmler
			#	slot = political_advisor
			#	trait = prince_of_terror
			#}
			#add_trait = { 
			#	character = GER_heinrich_himmler
			#	slot = political_advisor
			#	trait = GER_reichsfuhrer_ss
			#}

			custom_effect_tooltip = generic_skip_one_line_tt
			show_unit_leaders_tooltip = GER_felix_steiner
			show_unit_leaders_tooltip = GER_walter_kruger
			show_unit_leaders_tooltip = GER_sepp_dietrich
			show_unit_leaders_tooltip = GER_paul_hausser

			custom_effect_tooltip = generic_skip_one_line_tt

			#Create 2 Milita Units and Unlock the Template
			if = {
				limit = {
					NOT = { has_template = "Waffen-SS Division" }
				}
				division_template = {
					name = "Waffen-SS Division"
					priority = 2
					division_names_group = GER_SS_01
					template_counter = 101
					is_locked = no
					regiments = {
						militia = { x = 0 y = 0 }
						militia = { x = 0 y = 1 }
						militia = { x = 0 y = 2 }
					
						militia = { x = 1 y = 0 }
						militia = { x = 1 y = 1 }
						militia = { x = 1 y = 2 }
					}
					support = {
						artillery = { x = 0 y = 0 }
						engineer = { x = 0 y = 1 }
						mot_recon = { x = 0 y = 2 }
					}
					override_model = GER_militia
				}
			}
			else = { #If Waffen-SS Division already exists, unlock it
				set_division_template_lock = {
				    division_template = "Waffen-SS Division"
				    is_locked = no
				}
			}
			if = {
				limit = {
					64 = {
						is_fully_controlled_by = ROOT
					}
				}
				64 = {
					custom_effect_tooltip = GER_create_two_militia_units_tt
					hidden_effect = {
						create_unit = {
							division = "division_template =\"Waffen-SS Division\" start_experience_factor = 0.2 start_equipment_factor = 0.7"
							owner = ROOT
							count = 2
						}
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
					}
					custom_effect_tooltip = GER_create_two_militia_units_tt
					hidden_effect = {
						create_unit = {
							division = "division_template =\"Waffen-SS Division\" start_experience_factor = 0.2 start_equipment_factor = 0.7"
							owner = ROOT
							count = 2
						}
					}
				}
			}

			#Create 1 Motorized Unit and Unlock the Template
			if = {
				limit = {
					NOT = { has_template = "SS-Verfügungstruppe" }
				}
				division_template = {
					name = "SS-Verfügungstruppe"
					priority = 2
					division_names_group = GER_SS_01
					is_locked = no
					regiments = {
						motorized = { x = 0 y = 0 }
						motorized = { x = 0 y = 1 }
						motorized = { x = 0 y = 2 }

						motorized = { x = 1 y = 0 }
						motorized = { x = 1 y = 1 }
						motorized = { x = 1 y = 2 }

					}
					support = {
						artillery = { x = 0 y = 0 }
						engineer = { x = 0 y = 1 }
						mot_recon = { x = 0 y = 2 }
					}
					override_model = GER_infantry_alt_0_entity
				}
			}
			else = { #If Waffen-SS Division already exists, unlock it
				set_division_template_lock = {
				    division_template = "SS-Verfügungstruppe"
				    is_locked = no
				}
			}
			if = {
				limit = {
					64 = {
						is_fully_controlled_by = ROOT
					}
				}
				64 = {
					custom_effect_tooltip = GER_create_one_motorized_units_tt
					hidden_effect = {
						create_unit = {
							division = "division_template =\"SS-Verfügungstruppe\" start_experience_factor = 0.2 start_equipment_factor = 0.4"
							owner = ROOT
							count = 1
						}
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
					}
					custom_effect_tooltip = GER_create_one_motorized_units_tt
					hidden_effect = {
						create_unit = {
							division = "division_template =\"SS-Verfügungstruppe\" start_experience_factor = 0.2 start_equipment_factor = 0.4"
							owner = ROOT
							count = 1
						}
					}
				}
			}

			#Create 2 Panzer Units and Unlock the Template
			if = { 
				limit = {
					NOT = { has_tech = basic_medium_tank_chassis }
				}
				division_template = {
					name = "Waffen-SS Leicht Panzer Division"
					priority = 2
					division_names_group = GER_SS_01
					is_locked = no
					regiments = {
						light_armor = { x = 0 y = 0 }
						light_armor = { x = 0 y = 1 }
						light_armor = { x = 0 y = 2 }
						light_armor = { x = 0 y = 3 }

						motorized = { x = 1 y = 0 }
						motorized = { x = 1 y = 1 }
						motorized = { x = 1 y = 2 }
						motorized = { x = 2 y = 0 }
					}
					support = {
						artillery = { x = 0 y = 0 }
						engineer = { x = 0 y = 1 }
						mot_recon = { x = 0 y = 2 }
					}
					override_model = GER_infantry_alt_0_entity
				}
				if = {
					limit = {
						64 = {
							is_fully_controlled_by = ROOT
						}
					}
					64 = {
						custom_effect_tooltip = GER_create_two_light_panzer_units_tt
						hidden_effect = {
							create_unit = {
								division = "division_template =\"Waffen-SS Leicht Panzer Division\" start_experience_factor = 0.2 start_equipment_factor = 0.4"
								owner = ROOT
								count = 2
							}
						}
					}
				}
				else = {
					random_core_state = {
						limit = {
							is_fully_controlled_by = ROOT
						}
						custom_effect_tooltip = GER_create_two_light_panzer_units_tt
						hidden_effect = {
							create_unit = {
								division = "division_template =\"Waffen-SS Leicht Panzer Division\" start_experience_factor = 0.2 start_equipment_factor = 0.4"
								owner = ROOT
								count = 2
							}
						}
					}
				}
			}
			else = {
				division_template = {
					name = "Waffen-SS Panzer Division"
					priority = 2
					division_names_group = GER_SS_01
					is_locked = no
					regiments = {
						medium_armor = { x = 0 y = 0 }
						medium_armor = { x = 0 y = 1 }
						medium_armor = { x = 0 y = 2 }
						medium_armor = { x = 0 y = 3 }

						motorized = { x = 1 y = 0 }
						motorized = { x = 1 y = 1 }
						motorized = { x = 1 y = 2 }
						motorized = { x = 2 y = 0 }
					}
					support = {
						artillery = { x = 0 y = 0 }
						engineer = { x = 0 y = 1 }
						mot_recon = { x = 0 y = 2 }
					}
					override_model = GER_infantry_alt_0_entity
				}
				if = {
					limit = {
						64 = {
							is_fully_controlled_by = ROOT
						}
					}
					64 = {
						custom_effect_tooltip = GER_create_two_medium_panzer_units_tt
						hidden_effect = {
							create_unit = {
								division = "division_template =\"Waffen-SS Panzer Division\" start_experience_factor = 0.2 start_equipment_factor = 0.4"
								owner = ROOT
								count = 2
							}
						}
					}
				}
				else = {
					random_core_state = {
						limit = {
							is_fully_controlled_by = ROOT
						}
						custom_effect_tooltip = GER_create_two_medium_panzer_units_tt
						hidden_effect = {
							create_unit = {
								division = "division_template =\"Waffen-SS Panzer Division\" start_experience_factor = 0.2 start_equipment_factor = 0.4"
								owner = ROOT
								count = 2
							}
						}
					}
				}
			}
		}
	}

	focus = {
		id = GER_hegemony_of_the_ss
		icon = GFX_focus_GER_hegemony_of_the_ss
		prerequisite = { focus = GER_absorb_the_abwehr focus = GER_strengthen_the_waffen_ss }

		text_icon = GER_inner_circle_focus_style

		x = 1
		y = 1
		relative_position_id = GER_absorb_the_abwehr
		cost = @inner_circle_time_tier_3
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = GER_hegemony_of_the_ss_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_3 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = GER_heinrich_himmler
						FLAG_DAYS = [?GER_hegemony_of_the_ss_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = GER_heinrich_himmler
						FOCUS = GER_ascension_of_himmler
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			GER_heinrich_himmler = {
				add_field_marshal_role = {
					traits = { politically_connected militias_officer }
					skill = 2
					attack_skill = 1
					defense_skill = 3
					planning_skill = 1
					logistics_skill = 2
				} 
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			GER_modify_army_modifier = yes
			add_to_variable = { 
				GER_military_modifier_army_sub_unit_militia_max_org_factor = 0.1
				tooltip = modifier_army_sub_unit_militia_max_org_factor_tt
			}
			add_to_variable = { 
				GER_military_modifier_army_sub_unit_militia_attack_factor = 0.05
				tooltip = modifier_army_sub_unit_militia_attack_factor_tt
			}
			add_to_variable = { 
				GER_military_modifier_army_sub_unit_militia_defence_factor = 0.05
				tooltip = modifier_army_sub_unit_militia_defence_factor_tt
			}
		}
	}

	focus = {
		id = GER_ascension_of_goebbels
		icon = GFX_focus_GER_ascension_of_goebbels
		prerequisite = { focus = GER_fuhrerprinzip }

		x = 3
		y = 1
		relative_position_id = GER_fuhrerprinzip
		cost = 2
		
		available = {
			if = {
				limit = {
					is_ai = yes
				}
				hidden_trigger = {
					NOT = { has_country_flag = GER_goebbels_was_ascended_flag } #Flag to prevent AI from taking the focus again after advisor has been replaced}
				}
			}
			
			has_government = fascism
			NOT = {
				has_country_leader = {
					ruling_only = yes
					character = GER_joseph_goebbels
				}
			}
			if = {
				limit = {
					has_country_flag = GER_inner_circle_event_pending_flag
				}
				NOT = { has_country_flag = GER_inner_circle_event_pending_flag }
			}

			GER_inner_circle_is_ascension_cd_over = yes
			if = {
				limit = {
					has_country_flag = GER_inner_circle_cd_flag
				}
				custom_trigger_tooltip = {
					tooltip = GER_inner_circle_cd_days_tt
					NOT = {	has_country_flag = GER_inner_circle_cd_flag }
				}
			}
		}

		#Focus will need to pause while events are pending
		cancel_if_invalid = no
		continue_if_invalid = no

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL }

		select_effect = { #Necessary to prevent AI from getting stuck if the focus is paused due to available trigger returning false
			set_country_flag = GER_goebbels_ascension_flag
		}

		completion_reward = {
			custom_effect_tooltip = {
				localization_key = GER_ascension_of_character_tt
				CHARACTER = GER_joseph_goebbels
			}
			show_ideas_tooltip = GER_goebbels_reich_minister_of_propaganda

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = {
				localization_key = GER_ascension_of_character_focus_tt
				CHARACTER = GER_joseph_goebbels
			}

			if = { #Just to make it easy to debug stuff for development
				limit = {
					OR = {
						check_variable = { GER_ascended_advisor_1 = 5 }
						check_variable = { GER_ascended_advisor_2 = 5 }
						check_variable = { GER_ascended_advisor_3 = 5 }
					}
				}
				log = "Advisor was already there. STOP CHEATING!"
			}
			else_if = { # ASCENDED ADVISORS FULL - NEED TO REPLACE SOMEONE
				limit = {
					check_variable = { GER_ascended_advisor_1 = 0 compare = not_equals }
					check_variable = { GER_ascended_advisor_2 = 0 compare = not_equals }
					check_variable = { GER_ascended_advisor_3 = 0 compare = not_equals }
				}
				hidden_effect = {
					set_variable = { GER_ascending_advisor = 5 }
					country_event = GER_inner_circle.01
				}

				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = {
					localization_key = GER_event_to_replace_ascended_advisor_tt
					EVENT = GER_inner_circle.01.t
					CHARACTER = GER_joseph_goebbels
				}
			}
			else = {
				hidden_effect = {
					add_ideas = GER_goebbels_reich_minister_of_propaganda
				}
				if = {
					limit = {
						check_variable = { GER_ascended_advisor_1 = 0 }
					}
					set_variable = { GER_ascended_advisor_1 = 5 }
				}
				else_if = {
					limit = {
						check_variable = { GER_ascended_advisor_2 = 0 }
					}
					set_variable = { GER_ascended_advisor_2 = 5 }
				}
				else_if = {
					limit = {
						check_variable = { GER_ascended_advisor_3 = 0 }
					}
					set_variable = { GER_ascended_advisor_3 = 5 }
				}
			}

			hidden_effect = {
				country_event = { id = GER_inner_circle_goebbels.01 days = GER_inner_circle_days_to_start_focus random_days = GER_inner_circle_random_days }
				clr_country_flag = GER_goebbels_ascension_flag

				GER_inner_circle_set_ascension_cd = yes

				set_country_flag = { #Flag to prevent AI from taking the focus again after advisor has been replaced
					flag = GER_goebbels_was_ascended_flag
					days = 1500 # Clear after ~4 years 
					value = 1
				}
			}
		}
	}

	focus = {
		id = GER_ministry_of_public_enlightenment
		icon = GFX_focus_GER_reich_ministry_of_public_enlightenment
		prerequisite = { focus = GER_ascension_of_goebbels }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = GER_ascension_of_goebbels
		cost = @inner_circle_time_tier_1
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = GER_ministry_of_public_enlightenment_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_1 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = GER_joseph_goebbels
						FLAG_DAYS = [?GER_ministry_of_public_enlightenment_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = GER_joseph_goebbels
						FOCUS = GER_ascension_of_goebbels
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}

			add_stability = 0.05
			
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = GER_goebbels_reich_minister_of_propaganda
				add_idea = GER_goebbels_reich_minister_of_propaganda_ministry
			}
		}
	}

	focus = {
		id = GER_fund_the_film_department
		icon = GFX_focus_GER_fund_the_film_department
		prerequisite = { focus = GER_ministry_of_public_enlightenment }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = GER_ministry_of_public_enlightenment
		cost = @inner_circle_time_tier_2
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = GER_fund_the_film_department_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_2 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = GER_joseph_goebbels
						FLAG_DAYS = [?GER_fund_the_film_department_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = GER_joseph_goebbels
						FOCUS = GER_ascension_of_goebbels
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}

			add_war_support = 0.05
			
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = GER_goebbels_reich_minister_of_propaganda_ministry
				add_idea = GER_goebbels_reich_minister_of_propaganda_film
			}

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_leni_riefenstahl
		}
	}

	focus = {
		id = GER_propaganda_master
		icon = GFX_focus_GER_propaganda_master
		prerequisite = { focus = GER_fund_the_film_department }

		text_icon = GER_inner_circle_focus_style

		x = 0
		y = 1
		relative_position_id = GER_fund_the_film_department
		cost = @inner_circle_time_tier_3
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = GER_propaganda_master_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_3 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = GER_joseph_goebbels
						FLAG_DAYS = [?GER_propaganda_master_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = GER_joseph_goebbels
						FOCUS = GER_ascension_of_goebbels
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				swap_ideas = {
					remove_idea = GER_goebbels_reich_minister_of_propaganda_film
					add_idea = GER_goebbels_reich_minister_of_propaganda_master
				}
			}
			else = {
				swap_ideas = {
					remove_idea = GER_goebbels_reich_minister_of_propaganda_film
					add_idea = GER_goebbels_reich_minister_of_propaganda_master_no_lar
				}
			}
			
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				GER_create_operative_savitri_devi = yes
			}
		}
	}

	focus = {
		id = GER_party_chancellor_hess
		icon = GFX_focus_GER_party_chancellor_hess
		prerequisite = { focus = GER_fuhrerprinzip }
		mutually_exclusive = { focus = GER_party_chancellor_bormann }
		x = 5
		y = 1
		relative_position_id = GER_fuhrerprinzip
		cost = 2
		
		available = {
			if = {
				limit = {
					is_ai = yes
				}
				hidden_trigger = {
					NOT = { has_country_flag = GER_hess_was_ascended_flag } #Flag to prevent AI from taking the focus again after advisor has been replaced}
				}
			}
			
			has_government = fascism
			NOT = {
				has_country_leader = {
					ruling_only = yes
					character = GER_rudolf_hess
				}
			}

			NOT = { has_country_flag = flight_of_hess }
			
			OR = { 
				NOT = { has_war_with = SOU }
				NOT = { has_war_with = ENG }
			}
			
			if = {
				limit = {
					has_country_flag = GER_inner_circle_event_pending_flag
				}
				NOT = { has_country_flag = GER_inner_circle_event_pending_flag }
			}

			GER_inner_circle_is_ascension_cd_over = yes
			if = {
				limit = {
					has_country_flag = GER_inner_circle_cd_flag
				}
				custom_trigger_tooltip = {
					tooltip = GER_inner_circle_cd_days_tt
					NOT = {	has_country_flag = GER_inner_circle_cd_flag }
				}
			}
		}

		#Focus will need to pause while events are pending
		cancel_if_invalid = no
		continue_if_invalid = no

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL }

		select_effect = { #Necessary to prevent AI from getting stuck if the focus is paused due to available trigger returning false
			set_country_flag = GER_hess_ascension_flag
		}

		completion_reward = {
			custom_effect_tooltip = {
				localization_key = GER_ascension_of_character_tt
				CHARACTER = GER_rudolf_hess
			}
			show_ideas_tooltip = GER_hess_party_chancellor

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = {
				localization_key = GER_ascension_of_character_focus_tt
				CHARACTER = GER_rudolf_hess
			}

			if = { #Just to make it easy to debug stuff for development
				limit = {
					OR = {
						check_variable = { GER_ascended_advisor_1 = 6 }
						check_variable = { GER_ascended_advisor_2 = 6 }
						check_variable = { GER_ascended_advisor_3 = 6 }
					}
				}
				log = "Advisor was already there. STOP CHEATING!"
			}
			else_if = { # ASCENDED ADVISORS FULL - NEED TO REPLACE SOMEONE
				limit = {
					check_variable = { GER_ascended_advisor_1 = 0 compare = not_equals }
					check_variable = { GER_ascended_advisor_2 = 0 compare = not_equals }
					check_variable = { GER_ascended_advisor_3 = 0 compare = not_equals }
				}
				hidden_effect = {
					set_variable = { GER_ascending_advisor = 6 }
					country_event = GER_inner_circle.01
				}

				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = {
					localization_key = GER_event_to_replace_ascended_advisor_tt
					EVENT = GER_inner_circle.01.t
					CHARACTER = GER_rudolf_hess
				}
			}
			else = {
				hidden_effect = {
					add_ideas = GER_hess_party_chancellor
				}
				if = {
					limit = {
						check_variable = { GER_ascended_advisor_1 = 0 }
					}
					set_variable = { GER_ascended_advisor_1 = 6 }
				}
				else_if = {
					limit = {
						check_variable = { GER_ascended_advisor_2 = 0 }
					}
					set_variable = { GER_ascended_advisor_2 = 6 }
				}
				else_if = {
					limit = {
						check_variable = { GER_ascended_advisor_3 = 0 }
					}
					set_variable = { GER_ascended_advisor_3 = 6 }
				}
			}

			hidden_effect = {
				country_event = { id = GER_inner_circle_hess.01 days = GER_inner_circle_days_to_start_focus random_days = GER_inner_circle_random_days }
				clr_country_flag = GER_hess_ascension_flag

				GER_inner_circle_set_ascension_cd = yes

				set_country_flag = { #Flag to prevent AI from taking the focus again after advisor has been replaced
					flag = GER_hess_was_ascended_flag
					days = 1500 # Clear after ~4 years 
					value = 1
				}
			}
		}
	}
	
	focus = {
		id = GER_party_chancellor_bormann
		icon = GFX_focus_GER_party_chancellor_bormann
		prerequisite = { focus = GER_fuhrerprinzip }
		mutually_exclusive = { focus = GER_party_chancellor_hess }
		x = 2
		y = 0
		relative_position_id = GER_party_chancellor_hess
		cost = 2
		
		available = {
			if = {
				limit = {
					is_ai = yes
				}
				hidden_trigger = {
					NOT = { has_country_flag = GER_bormann_was_ascended_flag } #Flag to prevent AI from taking the focus again after advisor has been replaced}
				}
			}
			
			has_government = fascism
			NOT = {
				has_country_leader = {
					ruling_only = yes
					character = GER_martin_bormann
				}
			}
			if = {
				limit = {
					has_country_flag = GER_inner_circle_event_pending_flag
				}
				NOT = { has_country_flag = GER_inner_circle_event_pending_flag }
			}

			GER_inner_circle_is_ascension_cd_over = yes
			if = {
				limit = {
					has_country_flag = GER_inner_circle_cd_flag
				}
				custom_trigger_tooltip = {
					tooltip = GER_inner_circle_cd_days_tt
					NOT = {	has_country_flag = GER_inner_circle_cd_flag }
				}
			}
		}

		#Focus will need to pause while events are pending
		cancel_if_invalid = no
		continue_if_invalid = no

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL }

		select_effect = { #Necessary to prevent AI from getting stuck if the focus is paused due to available trigger returning false
			set_country_flag = GER_bormann_ascension_flag
		}

		completion_reward = {
			custom_effect_tooltip = {
				localization_key = GER_ascension_of_character_tt
				CHARACTER = GER_martin_bormann
			}
			show_ideas_tooltip = GER_bormann_secretary_to_the_fuhrer

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = {
				localization_key = GER_ascension_of_character_focus_tt
				CHARACTER = GER_martin_bormann
			}

			if = { #Just to make it easy to debug stuff for development
				limit = {
					OR = {
						check_variable = { GER_ascended_advisor_1 = 7 }
						check_variable = { GER_ascended_advisor_2 = 7 }
						check_variable = { GER_ascended_advisor_3 = 7 }
					}
				}
				log = "Advisor was already there. STOP CHEATING!"
			}
			else_if = { # ASCENDED ADVISORS FULL - NEED TO REPLACE SOMEONE
				limit = {
					check_variable = { GER_ascended_advisor_1 = 0 compare = not_equals }
					check_variable = { GER_ascended_advisor_2 = 0 compare = not_equals }
					check_variable = { GER_ascended_advisor_3 = 0 compare = not_equals }
				}
				hidden_effect = {
					set_variable = { GER_ascending_advisor = 7 }
					country_event = GER_inner_circle.01
				}

				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = {
					localization_key = GER_event_to_replace_ascended_advisor_tt
					EVENT = GER_inner_circle.01.t
					CHARACTER = GER_martin_bormann
				}
			}
			else = {
				hidden_effect = {
					add_ideas = GER_bormann_secretary_to_the_fuhrer
				}
				if = {
					limit = {
						check_variable = { GER_ascended_advisor_1 = 0 }
					}
					set_variable = { GER_ascended_advisor_1 = 7 }
				}
				else_if = {
					limit = {
						check_variable = { GER_ascended_advisor_2 = 0 }
					}
					set_variable = { GER_ascended_advisor_2 = 7 }
				}
				else_if = {
					limit = {
						check_variable = { GER_ascended_advisor_3 = 0 }
					}
					set_variable = { GER_ascended_advisor_3 = 7 }
				}
			}

			hidden_effect = {
				country_event = { id = GER_inner_circle_bormann.01 days = GER_inner_circle_days_to_start_focus random_days = GER_inner_circle_random_days }
				clr_country_flag = GER_bormann_ascension_flag

				GER_inner_circle_set_ascension_cd = yes

				if = { #If historical make sure Todt is not picked ever after being replaced by Speer in the Intrigue Event
					limit = {
						GER_is_historical_ai = yes
					}
					set_country_flag = GER_bormann_was_ascended_flag #Flag to prevent AI from taking the focus again after advisor has been replaced
				}
				else = {
					set_country_flag = { #Flag to prevent AI from taking the focus again after advisor has been replaced
						flag = GER_bormann_was_ascended_flag
						days = 1500 # Clear after ~4 years 
						value = 1
					}
				}
			}
		}
	}

	focus = {
		id = GER_optimize_reich_labour_service
		icon = GFX_focus_GER_optimize_reich_labour_service
		prerequisite = { focus = GER_party_chancellor_hess focus = GER_party_chancellor_bormann }

		text_icon = GER_inner_circle_focus_style

		x = 1
		y = 1
		relative_position_id = GER_party_chancellor_hess
		cost = @inner_circle_time_tier_1
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = GER_optimize_reich_labour_service_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_1 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				if = { #HESS working on it
					limit = {
						check_variable = { GER_optimize_reich_service_focus_advisor = 6 }
					}
					custom_override_tooltip = {
						tooltip = {
							localization_key = GER_inner_circle_focus_in_progress_tt
							CHARACTER = GER_rudolf_hess
							FLAG_DAYS = [?GER_optimize_reich_labour_service_in_progress_flag:days]
						}
						always = no 
					}
				}
				else = { #BORMANN working on it
					custom_override_tooltip = {
						tooltip = {
							localization_key = GER_inner_circle_focus_in_progress_tt
							CHARACTER = GER_martin_bormann
							FLAG_DAYS = [?GER_optimize_reich_labour_service_in_progress_flag:days]
						}
						always = no 
					}
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_multiple_tt
						CHARACTER = GER_rudolf_hess
						FOCUS = GER_party_chancellor_hess
						CHARACTER_2 = GER_martin_bormann
						FOCUS_2 = GER_party_chancellor_bormann
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			unlock_decision_category_tooltip = GER_reich_labor_service_cat
		}
	}

	focus = {
		id = GER_rally_the_industrialists
		icon = GFX_focus_GER_rally_the_industrialists
		prerequisite = { focus = GER_optimize_reich_labour_service }
		prerequisite = { focus = GER_party_chancellor_hess }

		text_icon = GER_inner_circle_focus_style

		x = -1
		y = 1
		relative_position_id = GER_optimize_reich_labour_service
		cost = @inner_circle_time_tier_2
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = GER_rally_the_industrialists_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_2 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = GER_rudolf_hess
						FLAG_DAYS = [?GER_rally_the_industrialists_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = GER_rudolf_hess
						FOCUS = GER_party_chancellor_hess
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_political_power = 50

			custom_effect_tooltip = generic_skip_one_line_tt
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				swap_ideas = {
					remove_idea = GER_hess_party_chancellor
					add_idea = GER_hess_party_chancellor_improved
				}
			}
			else = {
				swap_ideas = {
					remove_idea = GER_hess_party_chancellor
					add_idea = GER_hess_party_chancellor_improved_no_aat
				}
			}
			custom_effect_tooltip = GER_rally_the_industrialists_hess_stays_tt
		}
	}

	focus = {
		id = GER_glorify_party_rallies
		icon = GFX_focus_GER_glorify_party_rallies
		prerequisite = { focus = GER_optimize_reich_labour_service }
		prerequisite = { focus = GER_party_chancellor_bormann }

		text_icon = GER_inner_circle_focus_style

		x = 1
		y = 1
		relative_position_id = GER_optimize_reich_labour_service
		cost = @inner_circle_time_tier_2
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = GER_glorify_party_rallies_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_2 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_inner_circle_focus_in_progress_tt
						CHARACTER = GER_martin_bormann
						FLAG_DAYS = [?GER_glorify_party_rallies_in_progress_flag:days]
					}
					always = no 
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_tt
						CHARACTER = GER_martin_bormann
						FOCUS = GER_party_chancellor_bormann
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_political_power = 50

			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = GER_bormann_secretary_to_the_fuhrer
				add_idea = GER_bormann_secretary_to_the_fuhrer_improved
			}
		}
	}

	focus = {
		id = GER_total_control_over_domestic_affairs
		icon = GFX_focus_GER_total_control_over_domestic_affairs
		prerequisite = { focus = GER_glorify_party_rallies focus = GER_rally_the_industrialists }

		text_icon = GER_inner_circle_focus_style

		x = 1
		y = 1
		relative_position_id = GER_rally_the_industrialists
		cost = @inner_circle_time_tier_3
		
		available = {
			if = { #ADVISOR WORKING ON THE FOCUS (Show progress)
				limit = {
					has_country_flag = GER_total_control_over_domestic_affairs_in_progress_flag
				}
				set_temp_variable = { temp_focus_days = @inner_circle_time_tier_3 } #For tooltip purposes
				multiply_temp_variable = { temp_focus_days = 7 } #The constant uses focus cost which is in weeks, so convert to days
				if = { #HESS working on it
					limit = {
						check_variable = { GER_total_control_over_domestic_affairs_focus_advisor = 6 }
					}
					custom_override_tooltip = {
						tooltip = {
							localization_key = GER_inner_circle_focus_in_progress_tt
							CHARACTER = GER_rudolf_hess
							FLAG_DAYS = [?GER_total_control_over_domestic_affairs_in_progress_flag:days]
						}
						always = no 
					}
				}
				else = { #BORMANN working on it
					custom_override_tooltip = {
						tooltip = {
							localization_key = GER_inner_circle_focus_in_progress_tt
							CHARACTER = GER_martin_bormann
							FLAG_DAYS = [?GER_total_control_over_domestic_affairs_in_progress_flag:days]
						}
						always = no 
					}
				}
			}
			else = { #NOT BEEN WORKED ON (Just Explain)
				custom_override_tooltip = {
					tooltip = {
						localization_key = GER_focus_can_only_be_completed_by_advisor_multiple_tt
						CHARACTER = GER_rudolf_hess
						FOCUS = GER_party_chancellor_hess
						CHARACTER_2 = GER_martin_bormann
						FOCUS_2 = GER_party_chancellor_bormann
					}
					always = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_MANPOWER FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_political_power = 100
			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_completed_focus = GER_party_chancellor_bormann }
					NOT = { has_completed_focus = GER_party_chancellor_hess }
				}
				custom_effect_tooltip = GER_total_control_over_domestic_affairs_chancellors_tt

				custom_effect_tooltip = generic_skip_one_line_tt
			}

			if = {
				limit = {
					NOT = { has_completed_focus = GER_party_chancellor_bormann }
				}
				if = {
					limit = {
						has_dlc = "Arms Against Tyranny"
					}
					custom_effect_tooltip = {
						localization_key = GER_ascended_character_trait_swap_tt
						CHARACTER = GER_rudolf_hess
					}
					swap_ideas = {
						remove_idea = GER_hess_party_chancellor_improved
						add_idea = GER_hess_first_among_equals
					}
				}
				else = {
					custom_effect_tooltip = {
						localization_key = GER_ascended_character_trait_swap_tt
						CHARACTER = GER_rudolf_hess
					}
					swap_ideas = {
						remove_idea = GER_hess_party_chancellor_improved_no_aat
						add_idea = GER_hess_first_among_equals_no_aat
					}
				}
			}

			if = {
				limit = {
					NOT = { has_completed_focus = GER_party_chancellor_hess }
				}
				custom_effect_tooltip = {
					localization_key = GER_ascended_character_trait_swap_tt
					CHARACTER = GER_martin_bormann
				}
				swap_ideas = {
					remove_idea = GER_bormann_secretary_to_the_fuhrer_improved
					add_idea = GER_bormann_brown_eminence
				}
			}
		}
	}

	focus = {
		id = GER_loyalty_to_the_fuhrer
		icon = GFX_focus_GER_loyalty_to_the_fuhrer
		prerequisite = { focus = GER_hegemony_of_the_ss focus = GER_wunderwaffe focus = GER_integration_of_puppet_economies focus = GER_propaganda_master focus = GER_total_control_over_domestic_affairs }
		x = 0
		y = 5
		relative_position_id = GER_fuhrerprinzip
		cost = 5

		available = {
			has_government = fascism

			custom_trigger_tooltip = {
				tooltip = GER_a_strong_successor_trigger_tt
				count_triggers = {
					amount = 3
					AND = {
						has_completed_focus = GER_wunderwaffe
						OR = {
							check_variable = { GER_ascended_advisor_1 = 1 }
							check_variable = { GER_ascended_advisor_2 = 1 }
							check_variable = { GER_ascended_advisor_3 = 1 }
							check_variable = { GER_ascended_advisor_1 = 2 }
							check_variable = { GER_ascended_advisor_2 = 2 }
							check_variable = { GER_ascended_advisor_3 = 2 }
						}
					}
					AND = {
						has_completed_focus = GER_integration_of_puppet_economies
						OR = {
							check_variable = { GER_ascended_advisor_1 = 3 }
							check_variable = { GER_ascended_advisor_2 = 3 }
							check_variable = { GER_ascended_advisor_3 = 3 }
						}
					}
					AND = {
						has_completed_focus = GER_hegemony_of_the_ss
						OR = {
							check_variable = { GER_ascended_advisor_1 = 4 }
							check_variable = { GER_ascended_advisor_2 = 4 }
							check_variable = { GER_ascended_advisor_3 = 4 }
						}
					}
					AND = {
						has_completed_focus = GER_propaganda_master
						OR = {
							check_variable = { GER_ascended_advisor_1 = 5 }
							check_variable = { GER_ascended_advisor_2 = 5 }
							check_variable = { GER_ascended_advisor_3 = 5 }
						}
					}
					AND = {
						has_completed_focus = GER_total_control_over_domestic_affairs
						OR = {
							check_variable = { GER_ascended_advisor_1 = 6 }
							check_variable = { GER_ascended_advisor_2 = 6 }
							check_variable = { GER_ascended_advisor_3 = 6 }
							check_variable = { GER_ascended_advisor_1 = 7 }
							check_variable = { GER_ascended_advisor_2 = 7 }
							check_variable = { GER_ascended_advisor_3 = 7 }
						}
					}
				}
			}

			if = {
				limit = {
					has_country_flag = GER_inner_circle_event_pending_flag
				}
				NOT = { has_country_flag = GER_inner_circle_event_pending_flag }
			}
		}

		#Focus will need to pause while events are pending
		cancel_if_invalid = no
		continue_if_invalid = no

		search_filters = { FOCUS_FILTER_INNER_CIRCLE FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_MANPOWER FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		select_effect = { #Necessary to prevent AI from getting stuck if the focus is paused due to available trigger returning false
			set_country_flag = GER_loyalty_to_the_fuhrer_flag
		}

		completion_reward = {
			add_political_power = 100

			add_country_leader_trait = GER_loyal_inner_circle

			if = {
				limit = {
					capital_scope = {
						state = 64 #BRANDENBURG
					}
					controls_province = 6521 #BERLIN
					64 = {
						free_building_slots = {
							building = bunker
							size > 1
							province = 6521
						}
					}
				}
				64 = {
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province =  6521
					}
				}
			}

			hidden_effect = {
				clr_country_flag = GER_loyalty_to_the_fuhrer_flag
			}
		}
	}

}