﻿### 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

#!gfx:interface\r56_goals.gfx
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_die_letzte_verschwoerung_shortcut
		target = GER_die_letzte_verschwoerung
		scroll_wheel_factor = 0.485
		trigger = {
			has_game_rule = {
				rule = GER_focus_tree_selection
				option = R56_TREE
			}
		}
	}
	shortcut = {
		name = GER_oppose_hitler_shortcut
		target = GER_oppose_hitler_ww 
		scroll_wheel_factor = 0.485
		trigger = {
			has_game_rule = {
				rule = GER_focus_tree_selection
				option = STANDARD_TREE
			}
		}
	}

	shortcut = { # R56
		name = GER_kill_hitler_shortcut
		target = GER_kill_hitler
		scroll_wheel_factor = 0.55
		trigger = {
			has_game_rule = {
				rule = GER_focus_tree_selection
				option = R56_TREE_OLD
			}
		}
	}
	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 = 1550 y = 1300 } # R56

	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 = 47
		y = 0
		cost = 5
		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 = {
			IF = {
				limit = {
					NOT = { has_completed_focus = GER_prioritize_economic_growth }
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE
					}
				}
				custom_effect_tooltip = GER_peg_tt
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			add_ideas = civilian_economy

			custom_effect_tooltip = generic_skip_one_line_tt

			add_stability = -0.1
			if = { limit = { has_government = fascism }  # R56
				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
				}
			}
			IF = {
				limit = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
				}
				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

			custom_effect_tooltip = generic_skip_one_line_tt # R56
			remove_ideas = r56_GER_economic_uncertainty # R56
		}
	}

	focus = { # R56
		id = GER_rally_the_technocrats

		icon = GFX_focus_generic_university_3
		prerequisite = { focus = GER_prioritize_economic_growth }
		x = 0
		y = 1
		relative_position_id = GER_prioritize_economic_growth
		cost = 5
		available = {
			ROOT = {
				AND = {
					industrial_complex > 49
					has_added_tension_amount > 10
				}
			}
			NOT = {
				has_government = communism
			}
		}
		
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_stability = 0.03

			add_popularity = {
			    ideology = ROOT
			    popularity = 0.03
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_consumer_goods_factor = -0.03
				tooltip = consumer_goods_factor_tt
			}
			GER_reduce_mefo_bills_penalty = yes

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ideas = r56_GER_rally_the_technocrats_idea 
		}
	}
	
	focus = {
		id = GER_currency_reforms
		icon = GFX_focus_generic_currency_reforms
		prerequisite = { focus = GER_prioritize_economic_growth }
		overlay = GFX_focus_fast_overlay_generic_clock

		x = -3
		y = 1
		relative_position_id = GER_prioritize_economic_growth
		cost = 5
		available = {
			IF = {
				limit = {
					OR = {
						NOT = { has_country_flag = GER_operation_valkyre_flag }
						has_idea = GER_mefo_bills_ended 
					}
				}
				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
			}
			set_variable = {
				GER_eco_dec_consumer_goods_cost = 0.01 #R56
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_focus_time_reduction_tt
		}
	}
	
	focus = {
		id = GER_lower_taxes
		icon = GFX_focus_mex_privatisation
		prerequisite = { focus = GER_currency_reforms }
		overlay = GFX_focus_fast_overlay_generic_clock

		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
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_focus_time_reduction_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 = {
			has_civil_war = no
		}

		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 = { # R56
		id = GER_exploit_trade_dependence
		icon = GFX_focus_GRE_Combat_depression
		cost = 10
		prerequisite = { focus = GER_abolish_price_controls }
		x = -1
		y = 1
		relative_position_id = GER_abolish_price_controls
		available = {
			NOT = {
				has_government = communism
			}	
		}
		ai_will_do = {
			factor = 10
		}
		allow_branch = {
			has_game_rule = {
				rule = GER_focus_tree_selection
				option = STANDARD_TREE
			}
		}
		completion_reward = {
			unlock_decision_category_tooltip = GER_trade_influence_decisions
			custom_effect_tooltip = GER_trade_influence_decisions_explain_tt
			if = {
				limit = {
					#could do decision
					is_major = yes
					NOT = {
						is_subject_of = ENG
					}
					has_civil_war = no
					#decisions still available
					HOL = {
						exists = yes
						is_subject = no
						NOT = {
							has_completed_focus = HOL_cave_to_the_germans
							has_completed_focus = HOL_cave_to_the_british
							has_completed_focus = HOL_maintain_trade_neutrality
							has_war_with = ENG
							has_war_with = GER
						}
					}
				}
				add_to_variable = { var = ger_gateway_to_europe_influence value = 15 }
				HOL = {
					set_variable = { var = ger_temp_trade_influence value = GER.ger_gateway_to_europe_influence }
					subtract_from_variable = { var = ger_temp_trade_influence value = ENG.eng_gateway_to_europe_influence }
					set_variable = { var = eng_temp_trade_influence value = ENG.eng_gateway_to_europe_influence }
					subtract_from_variable = { var = eng_temp_trade_influence value = GER.ger_gateway_to_europe_influence }
					add_to_variable = { var = gateway_to_europe_influence_pp_total value = 30 }
				}
				hidden_effect = {
					if = {
						limit = {
							HOL = {
								check_variable = { var = eng_temp_trade_influence value = 0 compare = greater_than }
								OR = {
									NOT = { has_country_flag = HOL_gateway_to_europe_britain_lead_flag }
									has_country_flag = HOL_gateway_to_europe_germany_lead_flag
								}
							}
						}
						HOL = {
							clr_country_flag = HOL_gateway_to_europe_germany_lead_flag
							set_country_flag = HOL_gateway_to_europe_britain_lead_flag
						}
						HOL = { country_event = { id = mtg_netherlands.66 } }
						GER = { country_event = { id = mtg_netherlands.66 } }
					}
					if = {
						limit = {
							HOL = {
								check_variable = { var = ger_temp_trade_influence value = 0 compare = greater_than }
								OR = {
									NOT = { has_country_flag = HOL_gateway_to_europe_germany_lead_flag }
									has_country_flag = HOL_gateway_to_europe_britain_lead_flag
								}
							}
						}
						HOL = {
							clr_country_flag = HOL_gateway_to_europe_britain_lead_flag
							set_country_flag = HOL_gateway_to_europe_germany_lead_flag
						}
						HOL = { country_event = { id = mtg_netherlands.67 } }
						ENG = { country_event = { id = mtg_netherlands.67 } }
					}
				}
				custom_effect_tooltip = GER_HOL_free_influence_tt
				custom_effect_tooltip = HOL_gateway_to_europe_decisions_tt
				effect_tooltip = { add_political_power = HOL.gateway_to_europe_influence_pp_total }
				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
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_INDUSTRY FOCUS_FILTER_ANNEXATION
		}
	}
	
	focus = {
		id = GER_housing_developments
		icon = GFX_focus_generic_low_cost_housing
		prerequisite = { focus = GER_currency_reforms }
		overlay = GFX_focus_fast_overlay_generic_clock

		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
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_focus_time_reduction_tt
		}
	}
	
	focus = {
		id = GER_workers_rights
		icon = GFX_focus_generic_workers
		prerequisite = { focus = GER_housing_developments }
		overlay = GFX_focus_fast_overlay_generic_clock

		x = 2
		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
			}
			hidden_effect = { #R56
				country_event = {
					id = new_ger.162
					days = 100
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_focus_time_reduction_tt
		}
	}

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

		x = 1
		y = 1
		relative_position_id = GER_lower_taxes
		cost = 10
		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

			add_tech_bonus = {
				name = GER_industrial_expansion
				bonus = 1
				uses = 1
				category = industry
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			modify_building_resources = {
        	   building = rubber_refinery # R56
        	   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
					}
				}
			}
			IF = {
				limit = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE
					}
				}
				unlock_decision_tooltip = GER_invest_in_vereinigte_stahlwerke_dec
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_focus_time_reduction_tt

		}
	}
	
	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 = 10
		available = {
			42 = {
				is_fully_controlled_by = ROOT
				is_demilitarized_zone = no
			}
			has_tech = excavation3
		}

		allow_branch = {
			
			has_game_rule = {
				rule = GER_focus_tree_selection
				option = STANDARD_TREE
			}
		}

		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 = 10
		available = {
			has_tech = advanced_machine_tools
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		allow_branch = {
			
			has_game_rule = {
				rule = GER_focus_tree_selection
				option = STANDARD_TREE
			}
		}

		completion_reward = {

			if = {
				limit = {
					998 = { # R56
						is_owned_and_controlled_by = ROOT
					}
				}
				998 = { add_extra_state_shared_building_slots = 1 } # R56
			}
			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 = 10
		available = {
			OR ={
				59 = { #Hannover
					is_owned_and_controlled_by = ROOT
				}
				923 = { #Baden # R56
					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 = {
					923 = { #Baden # R56
						is_owned_and_controlled_by = ROOT
					}
				}
				923 = { set_state_category = metropolis } # R56
			}

			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

			add_tech_bonus = {
				name = GER_wirtschaftswunder
				bonus = 1
				uses = 1
				category = industry
			}

			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.2 # R56
				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 = 10
		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 = 10
		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
				}
			}

			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_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 = 4
		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 focus = GER_currency_reforms }

		x = -2
		y = 1
		relative_position_id = GER_construct_the_reichsautobahn
		cost = 10
		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_trade_deal_with_sweden
		icon = GFX_focus_generic_befriend_sweden
		prerequisite = { focus = GER_construct_the_reichsautobahn focus = GER_autarky_efforts }

		x = 2
		y = 1
		relative_position_id = GER_construct_the_reichsautobahn
		cost = 5
		available = {
			is_subject = no
			AND = {
				country_exists = SWE
				SWE = { is_subject = no }
				NOT = { has_war_with = SWE }
				SWE = {
					custom_trigger_tooltip = {
						tooltip = GER_alone_or_peace_faction_tt
						is_alone_or_in_faction_at_peace_with_GER = yes
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_INTERNATIONAL_TRADE FOCUS_FILTER_HISTORICAL}

		completion_reward = {
			SWE = {
				country_event = { id = wuw_GER_diplomacy.1 days = 2 }
			}

			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				SWE = {
					add_ideas = GER_german_trade_ns
					add_opinion_modifier = {
						target = PREV
						modifier = GER_trading_partners
					}
				}
				custom_effect_tooltip = war_will_cancel_deal_tt
			}
		}
	}
	
	focus = {
		id = GER_kdf_wagen_factories
		icon = GFX_focus_GER_kdf_wagen
		prerequisite = { focus = GER_construct_the_reichsautobahn }

		x = 0
		y = 1
		relative_position_id = GER_construct_the_reichsautobahn
		cost = 5
		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
						}
						add_dynamic_modifier = { modifier = r56_GER_kdf_wagen_scheme  days = 180 } # R56
					}
				}
				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
						}
						add_dynamic_modifier = { modifier = r56_GER_kdf_wagen_scheme days = 180 } # R56
					}
				}
			}
		}
	}
	
	focus = {
		id = GER_expand_the_reichsautobahn_south
		icon = GFX_goal_generic_road2
		prerequisite = { focus = GER_kdf_wagen_factories }

		x = -1
		y = 1
		relative_position_id = GER_kdf_wagen_factories
		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_road
		prerequisite = { focus = GER_kdf_wagen_factories }

		x = 1
		y = 1
		relative_position_id = GER_kdf_wagen_factories
		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_research
		prerequisite = { focus = GER_kdf_wagen_factories }

		x = 0
		y = 2
		relative_position_id = GER_kdf_wagen_factories
		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 = {
			IF = {
				limit = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE
					}
				}
				has_completed_focus = GER_remilitarize_the_rhineland
			}
		}
		allow_branch = {
			NOT = { has_completed_focus = GER_die_letzte_verschwoerung }
		}
		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 = 3 # R56
				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
				uses = 1
				category = industry
			}
			# R56
			custom_effect_tooltip = generic_skip_one_line_tt
			remove_ideas = r56_GER_economic_uncertainty

			custom_effect_tooltip = generic_skip_one_line_tt

			add_timed_idea = {
				idea = r56_GER_four_year_plan
				days = 1460
			}

			#Set Variables for the Descision cost of GER_coerce_the_technocrats here for tooltips reasons
			hidden_effect = {
				set_variable = {
					var = GER_strong_arm_the_industrialists_stability_cost
					value = -0.01
				}
				set_variable = {
					var = GER_strong_arm_the_industrialists_popularity_cost
					value = -0.01
				}
			}
			###
		}
	}

	focus = { # R56
		id = GER_coerce_the_technocrats

		icon = GFX_goal_italy_autarky
		prerequisite = { focus = GER_the_four_year_plan  }
		x = 0
		y = 1
		relative_position_id = GER_the_four_year_plan
		cost = 5
		available = {
			ROOT = {
				OR = {
					has_added_tension_amount > 10
					has_war_with_major = yes
				}
			}
		}
		
		search_filters = { FOCUS_FILTER_RESEARCH 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
			
			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_consumer_goods_factor = -0.05
				tooltip = consumer_goods_factor_tt
			}
			GER_reduce_mefo_bills_penalty = yes

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ideas = r56_GER_coerce_the_technocrats_idea

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = {
						has_completed_focus = GER_institute_price_controls
					}
				}
				custom_effect_tooltip = GER_coerce_the_technocrats_tt
				unlock_decision_tooltip = GER_strong_arm_the_industrialists
			}
			else = {
				unlock_decision_tooltip = GER_strong_arm_the_industrialists
			}
		}
	}
	
	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

			add_tech_bonus = {
				name = GER_autarky_efforts
				bonus = 1
				uses = 1
				category = industry
			}

			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
					}
				}
			}
		}
	}
	
	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 = {
			OR = {
				has_dynamic_modifier = { modifier = GER_mefo_bills_modifier }
				has_dynamic_modifier = { modifier = GER_economy_of_conquest_modifier }
			}
		}

		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
					}
				}
			}
			r56_GER_ersatz_idea_upgrade = yes # R56
		}
	}
	
	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

			r56_GER_ersatz_idea_upgrade = yes # R56

			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_plant_a # R56
		}

		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 = rubber_refinery # R56
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			modify_building_resources = {
        	   building = rubber_refinery # R56
        	   resource = rubber
        	   amount = 2
        	}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = GER_establish_buna_werke
				bonus = 3 # R56
				uses = 1
				category = cat_synth_rubber # R56
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			# R56
			r56_GER_ersatz_idea_upgrade = yes 
			if = { #here so the TT looks clean if on level one of ersatz
				limit = {
					NOT = {
						has_idea = r56_ger_ersatz_idea_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
			}
			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 = 10
		available = {
			all_core_state = {
				is_fully_controlled_by = ROOT
			}
			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 = oil
					amount > 149 #This needs to correspond to the Bypass values in the previous focuses
					extracted = yes
				}
				any_subject_country = {
					has_resources_in_country = {
						resource = oil
						amount > 149 #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 = chromium
					amount > 99 #This needs to correspond to the Bypass values in the previous focuses
					extracted = yes
				}
				any_subject_country = {
					has_resources_in_country = {
						resource = chromium
						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 = 7
		y = 1
		relative_position_id = GER_the_four_year_plan
		cost = 5
		available = {
		}
		mutually_exclusive = { focus = GER_push_a_moderate_reamament_program }

		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_production_speed_arms_factory_factor = 0.05
				tooltip = production_speed_arms_factory_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_speed_dockyard_factor = 0.05
				tooltip = production_speed_dockyard_factor_tt
			}
		}
	}
	focus = {
		id = GER_push_a_moderate_reamament_program
		icon = GFX_goal_generic_balanced_budget
		prerequisite = { focus = GER_the_four_year_plan }

		x = -2
		y = 0
		relative_position_id = GER_accelerate_the_rearmament_program
		cost = 7.2
		available = {
			has_completed_focus = GER_heed_von_neuraths_concerns
		}
		mutually_exclusive = { focus = GER_accelerate_the_rearmament_program}

		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 = 1
				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_war_support = -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
				}
			}
			add_to_variable = { 
				GER_industrial_production_speed_arms_factory_factor = 0.025
				tooltip = production_speed_arms_factory_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_speed_dockyard_factor = 0.025
				tooltip = production_speed_dockyard_factor_tt
			}
		}
	}
	
	focus = {
		id = GER_concentrated_armament_program
		icon = GFX_focus_generic_reorient_production
		prerequisite = { focus = GER_push_a_moderate_reamament_program focus = GER_accelerate_the_rearmament_program }

		x = -2
		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
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt # R56
			if = { limit = { 51 = { is_fully_controlled_by = ROOT } } # R56
				51 = { add_dynamic_modifier = {  modifier = r56_concentrated_armament_program scope = GER } }
			}
		}
	}
	
	focus = {
		id = GER_establish_production_targets
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = GER_push_a_moderate_reamament_program focus = GER_accelerate_the_rearmament_program }

		x = 0
		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_prioritize_the_army
	#	icon = GFX_focus_generic_tank_production
	#	prerequisite = { focus = GER_concentrated_armament_program }
	#	mutually_exclusive = { focus = GER_prioritize_the_navy }
	#	x = -1
	#	y = 1
	#	relative_position_id = GER_concentrated_armament_program
	#	cost = 10
	#	available = {
	#	}
#
	#	search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }
#
	#	completion_reward = {
	#		random_core_state = {
	#			limit = {
	#				is_controlled_by = ROOT
	#			}
	#			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
	#		}
	#	}
	#}
	#
	#focus = {
	#	id = GER_prioritize_the_navy
	#	icon = GFX_goal_generic_navy_battleship
	#	prerequisite = { focus = GER_concentrated_armament_program }
	#	mutually_exclusive = { focus = GER_prioritize_the_army }
	#	x = 1
	#	y = 1
	#	relative_position_id = GER_concentrated_armament_program
	#	cost = 10
	#	available = {
	#	}
#
	#	search_filters = { FOCUS_FILTER_INDUSTRY }
#
	#	completion_reward = {
	#		random_core_state = {
	#			limit = {
	#				is_controlled_by = ROOT
	#				is_coastal = 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
#
	#		GER_modify_industrial_modifier = yes
	#		add_to_variable = { 
	#			GER_industrial_industrial_capacity_dockyard = 0.05
	#			tooltip = industrial_capacity_dockyard_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 = 10
		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_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
			}
		}
	}

	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 = 10
		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_production_speed_arms_factory_factor = 0.05
				tooltip = production_speed_arms_factory_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_speed_dockyard_factor = 0.05
				tooltip = production_speed_dockyard_factor_tt
			}
			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 = 10
		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_focus_generic_total_war
		prerequisite = { focus = GER_create_rustungsstab }
		prerequisite = { focus = GER_armament_rationalization }

		x = 1
		y = 1
		relative_position_id = GER_armament_rationalization
		cost = 5
		available = {
			has_war_with_major = yes
			OR = {
				has_war_support > 0.89
				surrender_progress > 0
			}
			any_enemy_country = {
				ic_ratio = {
					tag = ROOT
					ratio > 0.5
				}
			}
		}

		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
			}
		}
	}



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

		x = 7
		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 = 25

			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
			#}
			show_unit_leaders_tooltip = GER_walther_von_brauchitsch # R56
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = walther_von_brauchitsch

			custom_effect_tooltip = generic_skip_one_line_tt
			# R56
			show_unit_leaders_tooltip = GER_georg_lindemann #Early Maneuver Warfare theorist that fell out of favor post 1936
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = GER_georg_lindemann_idea
			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_goal_fortify_the_westwall
		prerequisite = { focus = GER_develop_modern_maneuver_warfare }

		x = -1 # R56
		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
			if = { # R56
				limit = {
					has_character = GER_erich_brandenberger
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = available_military_high_command
				show_ideas_tooltip = GER_erich_brandenberger_idea
				custom_effect_tooltip = generic_skip_one_line_tt
				every_unit_leader = {
					limit = {
						is_character = GER_erich_brandenberger
						NOT = {
							has_trait = inflexible_strategist
						}
					}
					add_trait = {trait = inflexible_strategist}
				}
			}
		}
	}

	focus = { # R56 - Restored since its less OP now
		id = GER_enigma
		icon = GFX_focus_generic_cryptologic_bomb
		prerequisite = {
			focus = GER_develop_modern_maneuver_warfare
		}
		x = 1
		y = 1
		relative_position_id = GER_develop_modern_maneuver_warfare
		cost = 5.00
		available = {
			has_war_with_major = yes
		}
		ai_will_do = {
			factor = 8
		}
		completion_reward = {
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				swap_ideas = {
					remove_idea = GER_enigma_machine0
					add_idea = GER_enigma_machine1
				}
				else = {
					swap_ideas = {
						remove_idea = GER_enigma_machine0_no_lar
						add_idea = GER_enigma_machine1_no_lar
					}
					add_tech_bonus = {
						name = GER_enigma
						bonus = 0.5
						uses = 1
						category = encryption_tech
					}
				}
			}
			add_tech_bonus = {
				name = enigma
				bonus = 0.5
				uses = 1
				category = computing_tech
			}
		}
		search_filters = {
			FOCUS_FILTER_RESEARCH FOCUS_FILTER_ESPIONAGE
		}

	}
	
	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_mastery = {
				amount = 150
				track = infantry
			}

			add_doctrine_cost_reduction = {
				name = GER_the_prussian_legacy
				cost_reduction = 0.25
				uses = 2
				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 }
			}
			IF = {
				limit = { 
					has_dlc = "No Compromise, No Surrender"
					is_faction_leader = yes
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				add_faction_goal_slot = {
					category  = short_term # options: short_term, medium_term, long_term 
					value = 1 
				}
				add_faction_goal = faction_goal_an_infantry_army
				
			}
		}
	}
	
	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
					}
				}
			}
			if = { # R56
				limit = {
					has_character = GER_georg_lindemann
				}
				every_unit_leader = {
					limit = {
						is_character = GER_georg_lindemann
					}
					add_skill_level = 1
					add_attack = 1
					add_planning = 1
					add_logistics = 1
				}
				if = {
					limit = {
						GER_georg_lindemann = {
							NOT = {
								has_trait = trickster
							}
						}
					}
					add_trait = {
					    character = GER_georg_lindemann
					    trait = trickster
					}
				}
			}

			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 = 
				}
			}
			add_tech_bonus = { # R56
                name = motorized_bonus
				bonus = 1
				uses = 1
				category = logistics_tech
			}
		}
	}

	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_SWE_let_fly_all_guns
		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 = 10
		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
			}

			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				custom_effect_tooltip = generic_skip_one_line_tt

				create_equipment_variant = {
					name = "Sturmpanzer"
					design_team = mio:GER_alkett_organization #We feed on your tears
					parent_version = 0
					type = medium_tank_artillery_chassis_1
					modules = {
						main_armament_slot = tank_medium_howitzer
						turret_type_slot = tank_medium_fixed_superstructure_turret
						suspension_type_slot = tank_bogie_suspension
						armor_type_slot = tank_welded_armor
						engine_type_slot = tank_gasoline_engine
					}
					upgrades = {
						tank_nsb_engine_upgrade = 6
						tank_nsb_armor_upgrade = 2
					}
					icon = "GFX_GER_basic_medium_art_medium"
				}

				create_equipment_variant = {
					name = "Nashorn"
					design_team = mio:GER_alkett_organization #We feed on your tears
					parent_version = 0
					type = medium_tank_destroyer_chassis_1
					modules = {
						main_armament_slot = tank_medium_cannon
						turret_type_slot = tank_medium_fixed_superstructure_turret
						suspension_type_slot = tank_bogie_suspension
						armor_type_slot = tank_welded_armor
						engine_type_slot = tank_gasoline_engine
					}
					upgrades = {
						tank_nsb_engine_upgrade = 6
						tank_nsb_armor_upgrade = 2
					}
					icon = "GFX_GER_basic_light_td"
				}
			}

			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

			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
				}
			}
			# R56
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = {
				localization_key = SP_UNLOCK_TECH
				TECH = siege_artillery 
			}
			custom_override_tooltip = {	
				tooltip = tech_effect|siege_artillery 
				set_technology = {
					siege_artillery = 1
					popup = yes
				}
			}
			###
		}
	}
	
	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
			}
			add_tech_bonus = { # R56
				name = GER_stormtroopers
				bonus = 0.5
				uses = 1
				category = r56_shock_infantry_tech
			}

			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 = { # R56 - Breakthrough Counter-Blows
		id = GER_counter_deep_battle
		icon = GFX_goal_CHI_lure_them_in
		prerequisite = { focus = GER_all_terrain_military_motorcycle focus = GER_lessons_of_the_great_war }
		relative_position_id = GER_all_terrain_military_motorcycle
		x = -1
		y = 1
		cost = 5
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			if = { limit = { has_character = GER_gotthard_heinrici }
				GER_gotthard_heinrici = {
					if = { limit = { is_army_leader = yes } add_defense = 1 }
				}
			}
			if = { limit = { has_character = GER_ewald_von_kleist }
				GER_ewald_von_kleist = {
					if = { limit = { is_army_leader = yes } add_defense = 1 }
				}
			}
			if = { limit = { has_character = GER_ferdinand_schorner }
				GER_ferdinand_schorner = {
					if = { limit = { is_army_leader = yes } add_defense = 1 }
				}
			}
			if = { limit = { has_character = GER_gustav_zangen }
				GER_gustav_zangen = {
					if = { limit = { is_army_leader = yes } add_defense = 1 }
				}
			}
			custom_effect_tooltip = r56_enable_deep_battle_tt
			hidden_effect = { unlock_tactic = masterful_backhand_blow }
			
		}
		search_filters = {
			FOCUS_FILTER_MILITARY_EQUIPMENT
		}
	}
	
	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_counter_anti_tank
		icon = GFX_goal_HUN_assault_gun
		prerequisite = { focus = GER_salvage_captured_equipment focus = GER_panzer_troops_school }
		relative_position_id = GER_salvage_captured_equipment
		x = 1
		y = 1
		cost = 5
		completion_reward = {
			custom_effect_tooltip = {
				localization_key = SP_UNLOCK_TECH
				TECH = GER_assault_guns
			}
			custom_override_tooltip = {	
				tooltip = tech_effect|GER_assault_guns
				set_technology = {
					GER_assault_guns = 1
					popup = no
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			if = {
				limit = {
					NOT = { has_dlc = "Arms Against Tyranny"}
				}
				if = {
					limit = {
						has_dlc = "No Step Back"
					}
					add_tech_bonus = {
						name = GER_counter_anti_tank
						bonus = 0.5
						uses = 2
						technology = armor_tech_1
						technology = armor_tech_2
						technology = armor_tech_3
						technology = armor_tech_4
					}
				}
				else = {
					add_tech_bonus = {
						name = GER_counter_anti_tank
						bonus = 0.5
						uses = 2
						category = cat_heavy_armor
					}
				}
			}
			else = {
				mio:GER_alkett_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.25
					add_mio_research_bonus = 0.05 
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				if = {
					limit = {
						has_dlc = "No Step Back"
					}
					add_tech_bonus = {
						name = GER_counter_anti_tank
						bonus = 0.5
						uses = 1
						technology = armor_tech_1
						technology = armor_tech_2
						technology = armor_tech_3
						technology = armor_tech_4
					}
				}
				else = {
					add_tech_bonus = {
						name = GER_counter_anti_tank
						bonus = 0.5
						uses = 1
						category = cat_heavy_armor
					}
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_RESEARCH FOCUS_FILTER_MILITARY_EQUIPMENT
		}
	}
	
	focus = {
		id = GER_instill_auftragstaktik
		icon = GFX_goal_generic_axis_build_infantry
		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
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = GER_helmuth_weidling

			#Mid and late war generals go here
			custom_effect_tooltip = generic_skip_one_line_tt
			show_unit_leaders_tooltip = GER_ferdinand_schorner
			show_unit_leaders_tooltip = GER_hans_von_salmuth
			show_unit_leaders_tooltip = GER_heinrich_von_vietinghoff
			show_unit_leaders_tooltip = GER_gustav_zangen
			show_unit_leaders_tooltip = GER_eduard_dietl
			show_unit_leaders_tooltip = GER_helmuth_weidling

			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
		available = {
			OR = {
				AND = {
					any_controlled_state = {
						is_fully_controlled_by = ROOT
						OR =  {
							is_on_continent = africa
							is_on_continent = asia
						}
					}
				}
				AND = {
					any_subject_country = {
						any_controlled_state = {
							is_fully_controlled_by = PREV
							OR =  {
								is_on_continent = africa
								is_on_continent = asia
							}
						}
					}
				}
				AND = {
					any_allied_country = {
						any_controlled_state = {
							is_fully_controlled_by = PREV
							OR =  {
								is_on_continent = africa
								is_on_continent = asia
							}
						}
					}
				}
			}
		}

		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

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = GER_establish_the_afrikakorps
				bonus = 0.50
				uses = 1
				category = summer_clothing_tech
			}
			add_tech_bonus = {
				name = GER_establish_the_afrikakorps
				bonus = 0.50
				uses = 1
				category = r56_desert_infantry_tech
			}
		}
	}

	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 = {
			if = {
				limit = {
					has_character = GER_ferdinand_schorner
					GER_ferdinand_schorner = {
						NOT = { has_trait = winter_specialist }
					}
				}
				GER_ferdinand_schorner = {
					add_trait = { trait = winter_specialist }
				}
			}
			if = {
				limit = {
					has_character = GER_eduard_dietl
					GER_eduard_dietl = {
						NOT = { has_trait = winter_specialist }
					}
				}
				GER_eduard_dietl = {
					add_trait = { trait = winter_specialist }
				}
			}
			
			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
			}
			add_tech_bonus = {
				name = GER_establish_the_skijager
				bonus = 0.5
				uses = 1
				category = winter_clothing_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 = 10
		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

				hidden_effect = {
					set_technology = {
						GER_heavy_armored_car = 1
						popup = no
					}
				}
				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
					}
				}
			}

			if = {
				limit = {
					68 = {
						is_fully_controlled_by = ROOT
					}
				}
				build_railway = { 
					path = { 3572 3473 537 }
				}
			}
			if = {
				limit = {
					59 = {
						is_fully_controlled_by = ROOT
					}
				}
				build_railway = { 
					path = { 6377 6218 9264 }
				}
			}
			if = {
				limit = {
					60 = {
						is_fully_controlled_by = ROOT
					}
				}
				build_railway = { 
					path = { 6524 3561 }
				}
			}
			if = {
				limit = {
					56 = {
						is_fully_controlled_by = ROOT
					}
				}
				build_railway = { 
					path = { 247 11264 }
				}
			}
			if = {
				limit = {
					58 = {
						is_fully_controlled_by = ROOT
					}
				}
				build_railway = { 
					path = { 9320 11331 6389 }
				}
			}
			if = {
				limit = {
					58 = {
						is_fully_controlled_by = ROOT
					}
				}
				build_railway = { 
					path = { 9320 11331 6389 }
				}
			}
		}
	}
	
	focus = {
		id = GER_improve_the_logistics_system
		icon = GFX_focus_generic_reinforcing_the_supply_network
		mutually_exclusive = { focus = GER_defend_the_vaterland }
		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 = {
			GER_modify_army_modifier = yes
			add_to_variable = { 
				GER_military_supply_consumption_factor = -0.15
				tooltip = supply_consumption_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_GER_entrench_honor_in_society
		mutually_exclusive = { focus = GER_improve_the_logistics_system }
		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 }
						}
					}
				}
			}
			if = {
				limit = {
					has_character = GER_gustav_zangen
				}
				if = {
					limit = {
						GER_gustav_zangen = {
							NOT = { 
								has_trait = trait_cautious
							}
						}
					}
					GER_gustav_zangen = {
						add_trait = { trait = trait_cautious }
					}
				}
				if = {
					limit = {
						GER_gustav_zangen = {
							is_field_marshal = yes
							NOT = { 
								has_trait = offensive_doctrine
							}
						}
					}
					if = {
						limit = {
							GER_gustav_zangen = {
								NOT = { 
									has_trait = defensive_doctrine
								}
							}
						}
						GER_gustav_zangen = {
							add_trait = { trait = defensive_doctrine }
						}
					}
					else_if = {
						limit = {
							GER_gustav_zangen = {
								has_trait = defensive_doctrine
								NOT = { 
									has_trait = unyielding_defender
								}
							}
						}
						GER_gustav_zangen = {
							add_trait = { trait = unyielding_defender }
						}
					}
				}
			}
			if = {
				limit = {
					has_character = GER_hans_von_salmuth
				}
				if = {
					limit = {
						GER_hans_von_salmuth = {
							NOT = { 
								has_trait = trait_cautious
							}
						}
					}
					GER_hans_von_salmuth = {
						add_trait = { trait = trait_cautious }
					}
				}
				if = {
					limit = {
						GER_hans_von_salmuth = {
							is_field_marshal = yes
							NOT = { 
								has_trait = offensive_doctrine
							}
						}
					}
					if = {
						limit = {
							GER_hans_von_salmuth = {
								NOT = { 
									has_trait = defensive_doctrine
								}
							}
						}
						GER_hans_von_salmuth = {
							add_trait = { trait = defensive_doctrine }
						}
					}
					else_if = {
						limit = {
							GER_hans_von_salmuth = {
								has_trait = defensive_doctrine
								NOT = { 
									has_trait = unyielding_defender
								}
							}
						}
						GER_hans_von_salmuth = {
							add_trait = { trait = unyielding_defender }
						}
					}
				}
			}
		}
	}
	
	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 = 15

			custom_effect_tooltip = generic_skip_one_line_tt

			add_mastery_bonus = {
				name = GER_adopt_new_panzer_doctrine
				bonus = 0.1
				days = 240
				track = armor
				grand_doctrine = new_mobile_warfare
			}
			add_mastery_bonus = {
				name = GER_adopt_new_panzer_doctrine
				bonus = 0.1
				days = 240
				track = infantry
				grand_doctrine = new_mobile_warfare
			}

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

			custom_effect_tooltip = generic_skip_one_line_tt

			show_unit_leaders_tooltip = GER_heinz_guderian
			custom_effect_tooltip = available_theorist
			show_ideas_tooltip = heinz_guderian

			custom_effect_tooltip = generic_skip_one_line_tt

			show_unit_leaders_tooltip = GER_erwin_rommel
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = erwin_rommel

			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 }
			}
			IF = {
				limit = { 
					has_dlc = "No Compromise, No Surrender"
					is_faction_leader = yes
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				add_faction_goal_slot = {
					category  = short_term # options: short_term, medium_term, long_term 
					value = 1 
				}
				add_faction_goal = faction_goal_an_armored_fist
			}
			#Lindemann lost the doctrine debate. So he falls out of favor. 
			if = {
				limit = {
					has_character = GER_georg_lindemann
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				if = { #for tt
					limit = {
						NOT = {
							has_completed_focus = GER_develop_modern_maneuver_warfare
						}
					}
					GER_georg_lindemann = {
						add_trait = { trait = unpopular }
					}
				}
				else = {
					every_unit_leader = {
						limit = {
							is_character = GER_georg_lindemann
							NOT = {
								has_trait = unpopular
							}
						}
						add_trait = {trait = unpopular }
					}
				}
			}
		}
	}
	
	focus = {
		id = GER_panzer_troops_school
		icon = GFX_goal_generic_army_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 = 10
		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
			}


			if = {
				limit = { 
					has_dlc = "No Step Back"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				create_equipment_variant = {
					name = "Panzer III Ausf. A"
					type = medium_tank_chassis_1
					design_team = mio:GER_daimler_benz_organization #We feed on your tears
					parent_version = 0
					modules = {
						main_armament_slot = tank_high_velocity_cannon
						turret_type_slot = tank_medium_three_man_tank_turret
						suspension_type_slot = tank_bogie_suspension
						armor_type_slot = tank_welded_armor
						engine_type_slot = tank_gasoline_engine
						special_type_slot_1 = tank_radio_1
						special_type_slot_2 = smoke_launchers
					}
					upgrades = {
						tank_nsb_engine_upgrade = 6
						tank_nsb_armor_upgrade = 3
					}
					icon = "GFX_GER_basic_medium_tank_medium"
				}
				create_equipment_variant = {
					name = "Panzer IV"
					type = medium_tank_chassis_1
					design_team = mio:GER_daimler_benz_organization #We feed on your tears
					parent_version = 0
					modules = {
						main_armament_slot = tank_close_support_gun
						turret_type_slot = tank_medium_three_man_tank_turret
						suspension_type_slot = tank_bogie_suspension
						armor_type_slot = tank_welded_armor
						engine_type_slot = tank_gasoline_engine
						special_type_slot_1 = tank_radio_1
						special_type_slot_2 = smoke_launchers
					}
					upgrades = {
						tank_nsb_engine_upgrade = 6
						tank_nsb_armor_upgrade = 2
					}
					icon = "GFX_GER_basic_medium_tank_medium"
				}
				create_equipment_variant = {
					name = "Sturmgeschütz III"
					design_team = mio:GER_alkett_organization #We feed on your tears
					parent_version = 0
					type = medium_tank_artillery_chassis_1
					modules = {
						main_armament_slot = tank_medium_howitzer
						turret_type_slot = tank_medium_fixed_superstructure_turret
						suspension_type_slot = tank_bogie_suspension
						armor_type_slot = tank_welded_armor
						engine_type_slot = tank_gasoline_engine
						special_type_slot_1 = tank_radio_1
					}
					upgrades = {
						tank_nsb_engine_upgrade = 4
						tank_nsb_armor_upgrade = 3
					}
					icon = "GFX_GER_basic_medium_td_medium"
				}
			}

			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
			}

			
			if = {
				limit = { 
					has_dlc = "No Step Back"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				create_equipment_variant = {
					name = "Panther Ausf. A"
					type = medium_tank_chassis_3
					design_team = mio:GER_man_organization #We feed on your tears
					modules = {
						main_armament_slot = tank_high_velocity_cannon
						turret_type_slot = tank_medium_three_man_tank_turret
						suspension_type_slot = tank_interleaved_suspension
						armor_type_slot = tank_welded_armor
						engine_type_slot = tank_gasoline_engine
						special_type_slot_1 = tank_radio_1
						special_type_slot_2 = sloped_armor
						special_type_slot_3 = smoke_launchers
					}
					upgrades = {
						tank_nsb_engine_upgrade = 6
						tank_nsb_armor_upgrade = 4
					}
					icon = "GFX_GER_advanced_medium_tank_medium"
				}
				create_equipment_variant = {
					name = "Tiger I Ausf. A"
					type = heavy_tank_chassis_2
					design_team = mio:GER_porsche_organization #We feed on your tears
					modules = {
						main_armament_slot = tank_heavy_cannon
						turret_type_slot = tank_heavy_three_man_tank_turret
						suspension_type_slot = tank_interleaved_suspension
						armor_type_slot = tank_welded_armor
						engine_type_slot = tank_gasoline_engine
						special_type_slot_1 = tank_radio_1
						special_type_slot_2 = smoke_launchers
						special_type_slot_3 = additional_machine_guns
					}
					upgrades = {
						tank_nsb_engine_upgrade = 8
						tank_nsb_armor_upgrade = 6
					}
					icon = "GFX_GER_advanced_heavy_tank_medium"
				}
			}

			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_land_land_cruiser_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_desperate_measures
		icon = GFX_goal_manpower
		prerequisite = { focus = GER_improve_the_logistics_system focus = GER_defend_the_vaterland }
		x = 7
		y = 7
		
		cost = 5
		ai_will_do = {
			factor = 10
		}
		available = {
			has_war_with_major = yes
			OR = {
				surrender_progress > 0.01
				casualties_k > 2000
			}
		}
		completion_reward = {
			add_dynamic_modifier = {
				modifier = r56_GER_desperate_measures
			}
		}
		search_filters = {
			FOCUS_FILTER_INDUSTRY
		}
	}

	focus = {
		id = GER_greater_collaborator_conscription
		icon = GFX_focus_SOV_penal_battalions
		prerequisite = { focus = GER_desperate_measures }
		x = -1
		y = 1
		relative_position_id = GER_desperate_measures
		cost = 5
		available = {
			has_war_with_major = yes
			OR = {
				surrender_progress > 0.03
				casualties_k > 3000
			}
		}
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_to_variable = { GER_greater_collaborator_conscription_non_core_manpower = 0.01 } 
			add_to_variable = { GER_greater_collaborator_conscription_required_garrison_factor = -0.01 } 
			custom_effect_tooltip = GER_greater_collaborator_conscription_tt
			every_state = {
				limit = {
					NOT = {
						is_core_of = ROOT
						has_dynamic_modifier = {
							modifier = r56_upa_state_modifier
						}
					}
					is_fully_controlled_by = ROOT
					OR = { #Capital states of possible conqured land
							state = 110
							state = 37
							state = 8
							state = 7
							state = 6
							state = 16
							state = 9
							state = 11
							state = 808
							state = 812
							state = 141
							state = 111
							state = 3
							state = 126
							state = 113
							state = 100
							state = 797
							state = 47
							state = 107
							state = 43
							state = 46
							state = 206
							state = 41
							state = 112
							state = 2
							state = 219 

							#UPA# States, hence the check
							state = 202
							state = 199
							state = 201
							state = 198
					}
				}
				add_compliance = 1
			}
			add_tech_bonus = {
                name = r56_rdf_bonus
				bonus = 3
				uses = 1
				category = r56_rdf
			}
		}
		search_filters = {
			FOCUS_FILTER_RESEARCH FOCUS_FILTER_MANPOWER
		}
	}

	focus = {
		id = GER_found_the_volkssturm
		icon = GFX_focus_focus_fra_maquis
		prerequisite = { focus = GER_desperate_measures }
		x = 1
		y = 1
		relative_position_id = GER_desperate_measures
		cost = 5
		available = {
			has_war_with_major = yes
			OR = {
				surrender_progress > 0.03
				casualties_k > 3000
			}
		}
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_to_variable = { GER_found_the_volkssturm_army_org_regain_army_morale_factor = 0.05 } 
			add_to_variable = { GER_found_the_volkssturm_conscription_factor = 0.05 } 
			custom_effect_tooltip = GER_found_the_volkssturm_tt
			create_equipment_variant = {
				name = "Volkssturm Small Arms"
				type = infantry_equipment_0
				upgrades = {
					INF_reliability_upgrade = 0
					INF_SA_upgrade = 4
					INF_HA_upgrade = 5
					INF_defence_upgrade = 0
				}
			}
			custom_effect_tooltip = GER_found_the_volkssturm_stockpile_tt
			hidden_effect = {
				add_equipment_to_stockpile = {
					type = infantry_equipment_0
					amount = 1000
					variant_name = "Volkssturm Small Arms"
				}
			}
			
			#Order of effects matter, don't change - SpicyAlfredo
			if = {
				limit = {
					NOT = {
						has_country_flag = r56_militia_formation_flag
					}
				}
				custom_effect_tooltip = r56_militia_tt
			}
			hidden_effect = {
				set_technology = {
					militia_tech = 1
				}
				if = {
					limit = {
						NOT = {
							has_country_flag = r56_militia_formation_flag
						}
					}
					hidden_effect = {
						load_oob = "r56_unlock_militia"
					}
					custom_effect_tooltip = UNLOCK_DIVISION_TEMPLATE
				}
				set_country_flag = r56_militia_formation_flag
			}
			
		}
		search_filters = {
			FOCUS_FILTER_MILITARY_EQUIPMENT FOCUS_FILTER_MANPOWER
		}
	}

	focus = {
		id = GER_uranverein
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = GER_greater_collaborator_conscription }
		x = -2
		y = 2
		relative_position_id = GER_desperate_measures
		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

			GER_add_or_modify_wunderwaffen = yes
			add_to_variable = { 
				GER_wunderwaffen_sp_nuclear_bomb_speed_factor = GER_wunderwaffe_research_speed_bonus
				tooltip = sp_nuclear_bomb_speed_factor_tt
			}
			add_to_variable = { 
				GER_wunderwaffen_sp_nuclear_warheads_speed_factor = GER_wunderwaffe_research_speed_bonus
				tooltip = sp_nuclear_warheads_speed_factor_tt
			}
			add_to_variable = { 
				GER_wunderwaffen_sp_nuclear_reactor_speed_factor = GER_wunderwaffe_research_speed_bonus
				tooltip = sp_nuclear_reactor_speed_factor_tt
			}
		}
	}

	focus = {
		id = GER_werewolves
		icon = GFX_goal_generic_wolf_pack
		prerequisite = { focus = GER_found_the_volkssturm }
		x = 2
		y = 2
		relative_position_id = GER_desperate_measures
		cost = 5
		available = {
			has_war_with_major = yes
			OR = {
				surrender_progress > 0.05
				casualties_k > 4000
			}
		}
		completion_reward = {
			add_to_variable = { GER_found_the_volkssturm_conscription_factor = 0.05 } 
			add_to_variable = { GER_werewolves_resistance_growth_on_our_occupied_states = 0.25 }
			custom_effect_tooltip = GER_werewolves_tt
			add_manpower = 10000
			custom_effect_tooltip = GER_found_the_volkssturm_stockpile_tt
			hidden_effect = {
				add_equipment_to_stockpile = {
					type = infantry_equipment_0
					amount = 1000
					variant_name = "Volkssturm Small Arms"
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_MILITARY_EQUIPMENT FOCUS_FILTER_MANPOWER
		}
	}

	focus = { 
		id = GER_front_line_cities
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = GER_greater_collaborator_conscription }
		prerequisite = { focus = GER_found_the_volkssturm }
		x = 0
		y = 2
		relative_position_id = GER_desperate_measures
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			has_war_with_major = yes
			OR = {
				surrender_progress > 0.05
				casualties_k > 4000
			}
		}
		completion_reward = {
			add_to_variable = { GER_front_line_cities_production_speed_bunker_factor = 0.05 } 
			custom_effect_tooltip = GER_front_line_cities_2_tt
			every_state = {
				limit = {
					is_core_of = GER
					is_fully_controlled_by = GER
					NOT = {
						is_core_of = AUS
						is_core_of = POL
						is_core_of = ITA
						is_core_of = YUG
						is_core_of = LIT
						is_core_of = CZE
						is_core_of = BEL
						is_core_of = SWI
						
						#Wrong side of the Rhine
						state = 51
						state = 42
						state = 1053
						state = 28
						state = 67

						#Wrong side of the Oder
						state = 5
						state = 763
						state = 85
						state = 965
						state = 63
						state = 68
						state = 66

						#too south
						state = 923
						state = 50
						state = 52
						state = 53

						#too north
						state = 998
					}
				}
				hidden_effect = {
					add_building_construction = {
						type = bunker
						level = 1
						instant_build = yes
						province = {
							limit_to_victory_point = yes
							all_provinces = yes
						}
					}
				}
				custom_effect_tooltip = GER_front_line_cities_tt
				add_dynamic_modifier = {
					modifier = r56_GER_front_line_cities_modifier
					scope = ROOT
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_INDUSTRY
		}
	}

	focus = {
		id = GER_a_world_in_flames
		icon = GFX_goal_ussr_revolt
		prerequisite = { focus = GER_front_line_cities }
		x = 0
		y = 3
		relative_position_id = GER_desperate_measures
		cost = 5
		available = {
			has_war_with_major = yes
			surrender_progress > 0.05
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_to_variable = { GER_a_world_in_flames_army_core_defence_factor = 0.05 } 
			custom_effect_tooltip = GER_a_world_in_flames_tt
			if = {
				limit = {
					ROOT = {
						OR = {
							controls_province = 9496
							controls_province = 3207
							controls_province = 6282
							controls_province = 3572 
							controls_province = 3438
						}
					}
				}
				every_state = {
					limit = {
						is_core_of = GER
						OR = {
							state = 64
							state = 63
							state = 68
							state = 66
						}
					}
					custom_effect_tooltip = GER_a_world_in_flames_2_tt
				}
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							controls_province = 6469
							controls_province = 6570
							controls_province = 529
							controls_province = 6444
							controls_province = 6488
						}
					}
				}
				every_state = {
					limit = {
						is_core_of = GER
						OR = {
							state = 922
							state = 989
						}
					}
					custom_effect_tooltip = GER_a_world_in_flames_3_tt
				}
			}
			hidden_effect = {
				#Oder Forts
				if = {
					limit = {
						ROOT = { controls_province = 9496 }
					}
					64 = {
						add_building_construction = {
							type = bunker
							level = 1
							province = 9496
							instant_build = yes
						}
					}
				}
				if = {
					limit = {
						ROOT = { controls_province = 3207 }
					}
					62 = {
						add_building_construction = {
							type = bunker
							level = 1
							province = 3207
							instant_build = yes
						}
					}
				}
				if = {
					limit = {
						ROOT = { controls_province = 6282 }
					}
					63 = {
						add_building_construction = {
							type = bunker
							level = 1
							province = 6282
							instant_build = yes
						}
					}
				}
				if = {
					limit = {
						ROOT = { controls_province = 3572 }
					}
					68 = {
						add_building_construction = {
							type = bunker
							level = 1
							province = 3572
							instant_build = yes
						}
					}
				}
				if = {
					limit = {
						ROOT = { controls_province = 3438 }
					}
					66 = {
						add_building_construction = {
							type = bunker
							level = 1
							province = 3438
							instant_build = yes
						}
					}
				}
				#Rhine Forts
				if = {
					limit = {
						ROOT = { controls_province = 6469 }
					}
					989 = {
						add_building_construction = {
							type = bunker
							level = 1
							province = 6469
							instant_build = yes
						}
					}
				}
				if = {
					limit = {
						ROOT = { controls_province = 6570 }
					}
					989 = {
						add_building_construction = {
							type = bunker
							level = 1
							province = 6570
							instant_build = yes
						}
					}
				}
				if = {
					limit = {
						ROOT = { controls_province = 529 }
					}
					989 = {
						add_building_construction = {
							type = bunker
							level = 1
							province = 529
							instant_build = yes
						}
					}
				}
				if = {
					limit = {
						ROOT = { controls_province = 6444 }
					}
					922 = {
						add_building_construction = {
							type = bunker
							level = 1
							province = 6444
							instant_build = yes
						}
					}
				}
				if = {
					limit = {
						ROOT = { controls_province = 6488 }
					}
					922 = {
						add_building_construction = {
							type = bunker
							level = 1
							province = 6488
							instant_build = yes
						}
					}
				}
			}
			if = {
				limit = {
					ROOT = { #Need to atleast control Berlin
						controls_province = 6521
					}
				}
				64 = {
					custom_effect_tooltip = GER_a_world_in_flames_4_tt
					custom_effect_tooltip = GER_a_world_in_flames_5_tt
				}	
				division_template = {
					name = "Volkssturm 'Berlin'"
					priority = 0
					division_names_group = GER_MIL_01
					regiments = {
						militia = { x = 0 y = 0 }
						militia = { x = 0 y = 1 }
						militia = { x = 0 y = 2 }
						militia = { x = 0 y = 3 }
						militia = { x = 0 y = 4 }
					}
					support = {
						engineer = { x = 0 y = 0 }
					}
				}
				hidden_effect = {
					64 = {
						create_unit = {
							division = "name = \"Volkssturm Berlin Defense Bataillon-1\" division_template = \"Volkssturm 'Berlin'\" start_experience_factor = 0.1 start_equipment_factor = 0.75 force_equipment_variants = { infantry_equipment_0 = { owner = GER } }" 
							owner = ROOT
						}
						create_unit = {
							division = "name = \"Volkssturm Berlin Defense Bataillon-2\" division_template = \"Volkssturm 'Berlin'\" start_experience_factor = 0.1 start_equipment_factor = 0.75 force_equipment_variants = { infantry_equipment_0 = { owner = GER } }" 
							owner = ROOT
						}
						create_unit = {
							division = "name = \"Volkssturm Berlin Defense Bataillon-3\" division_template = \"Volkssturm 'Berlin'\" start_experience_factor = 0.1 start_equipment_factor = 0.75 force_equipment_variants = { infantry_equipment_0 = { owner = GER } }" 
							owner = ROOT
						}
						create_unit = {
							division = "name = \"Volkssturm Berlin Defense Bataillon-4\" division_template = \"Volkssturm 'Berlin'\" start_experience_factor = 0.1 start_equipment_factor = 0.75 force_equipment_variants = { infantry_equipment_0 = { owner = GER } }" 
							owner = ROOT
						}
					}
					64 = {
						if = {
							limit = {
								ROOT = { controls_province = 6521 }
							}
							add_building_construction = {
								type = bunker
								level = 2
								province = 6521
								instant_build = yes
							}
						}
						if = {
							limit = {
								ROOT = { controls_province = 11444 }
							}
							add_building_construction = {
								type = bunker
								level = 1
								province = 11444
								instant_build = yes
							}
						}
						if = {
							limit = {
								ROOT = { controls_province = 11505 }
							}
							add_building_construction = {
								type = bunker
								level = 1
								province = 11505
								instant_build = yes
							}
						}
						if = {
							limit = {
								ROOT = { controls_province = 9428 }
							}
							add_building_construction = {
								type = bunker
								level = 1
								province = 9428
								instant_build = yes
							}
						}
					}
				}
			}
			add_timed_idea = {
				idea = r56_a_world_in_flames_idea
				days = 90
			}
		}
		search_filters = {
			FOCUS_FILTER_INDUSTRY
		}
	}
	
	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 }

		complete_tooltip = {
			
			air_experience = 25
			every_state = {
				limit = { has_state_flag = GER_expanding_the_luftwaffe_flag }
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			every_state = {
				limit = { has_state_flag = GER_expanding_the_luftwaffe_flag }
				add_building_construction = {
					type = air_base
					level = 6
					instant_build = yes
				}
			}
		}
		
		completion_reward = {			
			
			air_experience = 25

			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
			}
			
			
			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 = tank_buster_1
						fixed_auxiliary_weapon_slot_1 = bomb_locks
						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_bombing
			}
			add_ace = {
				name = Anton
				surname = Hubsch
				callsign = Toni
				type = support_unique_agility
			}
			add_ace = {
				name = Gerhard
				surname = Studemann
				callsign = Stutz
				type = support_unique_agility
			}
			add_ace = {
				name = Alois
				surname = Wosnitza
				callsign = Ritter #Made-up
				type = support_unique_bombing
			}

			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_goal_generic_air_bomber
		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_bombing
			}
			add_ace = {
				name = Bernhard
				surname = Jope
				callsign = Senker #made-up
				type = bomber_unique_bombing
			}
			add_ace = {
				name = Anton
				surname = Hubsch
				callsign = Toni
				type = support_unique_bombing
			}
			add_ace = {
				name = Gerhard
				surname = Studemann
				callsign = Stutz
				type = support_unique_bombing
			}

			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 = support_genius_bombing
			}
			add_ace = {
				name = Werner
				surname = Baumbach
				callsign = "Papa Bär" #made-up
				type = bomber_unique_bombing
			}
			add_ace = {
				name = Bernhard
				surname = Jope
				callsign = Senker #made-up
				type = bomber_unique_bombing
			}
			add_ace = {
				name = Horst
				surname = Rudat
				callsign = Mistel #made-up
				type = bomber_unique_bombing
			}

			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

			custom_effect_tooltip = generic_skip_one_line_tt

			show_unit_leaders_tooltip = GER_hermann_bernhard_ramcke
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = GER_hermann_bernhard_ramcke
		}
	}
	
	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 = {
			GER_hermann_goring = {
				is_air_chief = no
			}
			NOT = {
				has_completed_focus = GER_ascension_of_goring
			}
		}

		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 = 10
		available = {
			GER_hermann_goring = {
				is_air_chief = no
			}
			NOT = {
				has_completed_focus = GER_ascension_of_goring
			}
		}

		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

			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 = 5
		available = {
			has_tech = improved_radio
		}

		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_flak_towers
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = GER_defense_of_the_reich }
		relative_position_id = GER_defense_of_the_reich
		x = 0
		y = 1
		cost = 10
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			#add_to_variable = { GER_flak_towers_static_anti_air_damage_factor = 0.1 } 
			#custom_effect_tooltip = GER_flak_towers_tt
			#add_ideas = GER_flak_towers
			every_state = {
				limit = {
					is_core_of = ROOT
					NOT = {
						is_core_of = POL
						is_core_of = FRA
						is_core_of = BEL
						is_core_of = LUX
						is_core_of = LIT
						is_core_of = SOV
						is_core_of = HOL
						is_core_of = AUS
						is_core_of = CZE
						is_core_of = ITA
						is_core_of = SWI
						is_core_of = YUG
						state = 85
						state = 5
						state = 763
						state = 67
						state = 923
						state = 1053
					}
					is_fully_controlled_by = ROOT
					is_owned_by = ROOT
					free_building_slots = {
						building = anti_air_building
						size > 0
					}
				}
				add_building_construction = {
					type = anti_air_building
					level = 1
					instant_build = yes
				}
				add_dynamic_modifier = {
					modifier = r56_GER_flak_towers
					Scope = ROOT
				}
			}
			add_tech_bonus = {
				name = antiair_tech_bonus_name
			 	bonus = 0.25
			 	uses = 1
			 	category = cat_anti_air
		 	}
		}
		search_filters = {
			FOCUS_FILTER_INDUSTRY
		}
	}
	
	focus = {
		id = GER_construct_the_kammhuber_line
		icon = GFX_focus_generic_energy
		prerequisite = { focus = GER_defense_of_the_reich }

		x = -2
		y = 1
		relative_position_id = GER_defense_of_the_reich
		cost = 5
		available = {
			has_war_with_major = yes
			has_tech = cavity_magnatron
			custom_trigger_tooltip = {
				tooltip = GER_controls_atlantic_coast_brittany_finnmark_tt
				OR = {
					1035 = { #Finnmark # was 925 in base game -> 1035
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					1034 = { #Troms # was 924 in base game -> 1034
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					144 = { #Nordland
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					1033 = { #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
					}
					967 = { #Agder
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					1032 = { #Telemark
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					110 = { #Oslo
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					969 = { #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
					}
					964 = { #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 < 5
					state_is_fully_controlled_by_ROOT_or_subject = yes
					is_coastal = yes 
					OR = {
						state = 1035
						state = 1034
						state = 144
						state = 1033
						state = 143
						state = 142
						#state = 922 id conflict base game in norway
						state = 967
						#state = 921 new hampshire-> telemark
						state = 1032
						state = 110
						#state = 915 central malaya
						state = 969
						state = 140
						state = 99
						state = 964
						state = 998
						state = 58 
						state = 59
						state = 56
						state = 36
						state = 7
						state = 35
						state = 6
						state = 1094
						state = 29
						state = 785
						state = 15
						state = 14
					}
				}
				add_building_construction = {
					type = anti_air_building
					level = 1
					instant_build = yes
				}
			}
		}
	}
	
	focus = {
		id = GER_establish_night_fighter_squadrons
		icon = GFX_goal_generic_air_fighter2
		prerequisite = { focus = GER_defense_of_the_reich }

		x = 2
		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 = 5
		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
			}


			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				create_equipment_variant = { 
					name = "He 115" 
					type = small_plane_naval_bomber_airframe_2
					allow_without_tech = no
					design_team = mio:GER_fieseler_organization
					modules = {
						fixed_main_weapon_slot = torpedo_mounting
						fixed_auxiliary_weapon_slot_1 = bomb_locks
						engine_type_slot = engine_2_2x
						special_type_slot_1 = lmg_defense_turret	
						special_type_slot_2 = empty
					}
					icon = "GFX_GER_naval_bomber2_medium"
					model = "GER_nav_bomber_equipment_2_entity"
				}
			}

			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 = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_ideas = GER_tragergruppen_ns

			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_construct_the_kammhuber_line focus = GER_establish_night_fighter_squadrons focus = GER_flak_towers }
		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: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: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 = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_NAVY_XP FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			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
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			remove_ideas = r56_ger_naval_treaty #Band-aide fix for now for this content - SpicyAlfredo
		}
	}

	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 = 5
		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 = 10
		available = {
			#NOT = { has_completed_focus = GER_high_seas_fleet }
		}

		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

			add_tech_bonus = {
				name = GER_expand_kriegsmarinewerft
				bonus = 0.5
				uses = 1
				category = bc_tech
			}
			add_tech_bonus = {
				name = GER_expand_kriegsmarinewerft
				bonus = 1.0
				uses = 1
				category = cv_tech
			}

			if = {
				limit = { 
					is_special_project_completed = sp:sp_air_radar
					has_tech = improved_heavy_battery
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				create_equipment_variant = {
					name = "Bismarck"				
					name_group = GER_BB_HISTORICAL
					type = ship_hull_heavy_2
					modules = {
						fixed_ship_battery_slot = ship_heavy_battery_3
						fixed_ship_anti_air_slot = ship_anti_air_1
						fixed_ship_fire_control_system_slot = ship_fire_control_system_0
						fixed_ship_radar_slot = ship_radar_1
						fixed_ship_engine_slot = heavy_ship_engine_2
						fixed_ship_secondaries_slot = ship_secondaries_1
						fixed_ship_armor_slot = ship_armor_bb_2
						front_1_custom_slot = ship_anti_air_1
						mid_1_custom_slot = ship_airplane_launcher_1
						mid_2_custom_slot = ship_secondaries_1
						rear_1_custom_slot = ship_heavy_battery_3
					}
					design_team = mio:GER_germaniawerft_organization
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_heavy_2
						creator = "GER"
						version_name = "Bismarck"
					}
					name = "Bismarck"
					requested_factories = 1
					progress = 0.3
					amount = 1
					industrial_manufacturer = mio:GER_germaniawerft_organization
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_heavy_2
						creator = "GER"
						version_name = "Bismarck"
					}
					name = "Tirpitz"
					requested_factories = 1
					progress = 0.15
					amount = 1
					industrial_manufacturer = mio:GER_germaniawerft_organization
				}
			}
			else_if = {
				limit = {
					is_special_project_completed = sp:sp_air_radar
					NOT = {
						has_tech = improved_heavy_battery
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				create_equipment_variant = {
					name = "Bismarck"				
					name_group = GER_BB_HISTORICAL
					type = ship_hull_heavy_2
					modules = {
						fixed_ship_battery_slot = ship_heavy_battery_2
						fixed_ship_anti_air_slot = ship_anti_air_1
						fixed_ship_fire_control_system_slot = ship_fire_control_system_0
						fixed_ship_radar_slot = ship_radar_1
						fixed_ship_engine_slot = heavy_ship_engine_2
						fixed_ship_secondaries_slot = ship_secondaries_1
						fixed_ship_armor_slot = ship_armor_bb_2
						front_1_custom_slot = ship_anti_air_1
						mid_1_custom_slot = ship_airplane_launcher_1
						mid_2_custom_slot = ship_secondaries_1
						rear_1_custom_slot = ship_heavy_battery_2
					}
					design_team = mio:GER_germaniawerft_organization
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_heavy_2
						creator = "GER"
						version_name = "Bismarck"
					}
					name = "Bismarck"
					requested_factories = 1
					progress = 0.3
					amount = 1
					industrial_manufacturer = mio:GER_germaniawerft_organization
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_heavy_2
						creator = "GER"
						version_name = "Bismarck"
					}
					name = "Tirpitz"
					requested_factories = 1
					progress = 0.15
					amount = 1
					industrial_manufacturer = mio:GER_germaniawerft_organization
				}
			}
			else_if = {
				limit = {
					has_tech = improved_heavy_battery
					NOT = {
						is_special_project_completed = sp:sp_air_radar
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				create_equipment_variant = {
					name = "Bismarck"				
					name_group = GER_BB_HISTORICAL
					type = ship_hull_heavy_2
					modules = {
						fixed_ship_battery_slot = ship_heavy_battery_3
						fixed_ship_anti_air_slot = ship_anti_air_1
						fixed_ship_fire_control_system_slot = ship_fire_control_system_0
						fixed_ship_radar_slot = empty
						fixed_ship_engine_slot = heavy_ship_engine_2
						fixed_ship_secondaries_slot = ship_secondaries_1
						fixed_ship_armor_slot = ship_armor_bb_2
						front_1_custom_slot = ship_anti_air_1
						mid_1_custom_slot = ship_airplane_launcher_1
						mid_2_custom_slot = ship_secondaries_1
						rear_1_custom_slot = ship_heavy_battery_3
					}
					design_team = mio:GER_germaniawerft_organization
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_heavy_2
						creator = "GER"
						version_name = "Bismarck"
					}
					name = "Bismarck"
					requested_factories = 1
					progress = 0.3
					amount = 1
					industrial_manufacturer = mio:GER_germaniawerft_organization
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_heavy_2
						creator = "GER"
						version_name = "Bismarck"
					}
					name = "Tirpitz"
					requested_factories = 1
					progress = 0.15
					amount = 1
					industrial_manufacturer = mio:GER_germaniawerft_organization
				}
			}
			else_if = {
				limit = {
					NOT = {
						is_special_project_completed = sp:sp_air_radar
						has_tech = improved_heavy_battery
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				create_equipment_variant = {
					name = "Bismarck"				
					name_group = GER_BB_HISTORICAL
					type = ship_hull_heavy_2
					modules = {
						fixed_ship_battery_slot = ship_heavy_battery_2
						fixed_ship_anti_air_slot = ship_anti_air_1
						fixed_ship_fire_control_system_slot = ship_fire_control_system_0
						fixed_ship_radar_slot = empty
						fixed_ship_engine_slot = heavy_ship_engine_2
						fixed_ship_secondaries_slot = ship_secondaries_1
						fixed_ship_armor_slot = ship_armor_bb_2
						front_1_custom_slot = ship_anti_air_1
						mid_1_custom_slot = ship_airplane_launcher_1
						mid_2_custom_slot = ship_secondaries_1
						rear_1_custom_slot = ship_heavy_battery_2
					}
					design_team = mio:GER_germaniawerft_organization
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_heavy_2
						creator = "GER"
						version_name = "Bismarck"
					}
					name = "Bismarck"
					requested_factories = 1
					progress = 0.3
					amount = 1
					industrial_manufacturer = mio:GER_germaniawerft_organization
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_heavy_2
						creator = "GER"
						version_name = "Bismarck"
					}
					name = "Tirpitz"
					requested_factories = 1
					progress = 0.15
					amount = 1
					industrial_manufacturer = mio:GER_germaniawerft_organization
				}
			}

			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 = 5

		available = {
			NOT = { has_completed_focus = GER_high_seas_fleet }
			has_tech = early_ship_hull_carrier
		}

		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 }
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_carrier_variants_tt
			if = { 
				limit = {
					NOT = {
						has_tech = basic_ship_hull_carrier
						has_tech = improved_ship_hull_carrier
					}
				}
				create_equipment_variant = {
					name = "Graf Zeppelin Class"				
					name_group = GER_CV_HISTORICAL
					type = ship_hull_carrier_conversion_ca
					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_1
						fixed_ship_engine_slot = cruiser_ship_engine_2
						fixed_ship_secondaries_slot = empty
					}
					design_team = mio:GER_deutsche_werke_organization
				}
				add_equipment_production = { #You get a Converted Carrier
					equipment = {
						type = ship_hull_carrier_conversion_ca
						creator = "GER"
						version_name = "Graf Zeppelin Class"
					}
					name = "Graf Zeppelin"
					requested_factories = 1
					progress = 0.3
					amount = 1
					industrial_manufacturer = mio:GER_deutsche_werke_organization
				}
			}
			if = { 
				limit = {
					has_tech = basic_ship_hull_carrier
					NOT = {
						has_tech = improved_ship_hull_carrier
					}
				}
				create_equipment_variant = {
					name = "Graf Zeppelin Class"				
					name_group = GER_CV_HISTORICAL
					type = ship_hull_carrier_1
					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_1
						fixed_ship_engine_slot = carrier_ship_engine_3
						fixed_ship_secondaries_slot = empty
						front_1_custom_slot = ship_deck_space
					}
					design_team = mio:GER_deutsche_werke_organization
				}		
				add_equipment_production = {
					equipment = {
						type = ship_hull_carrier_1
						creator = "GER"
						version_name = "Graf Zeppelin Class"
					}
					name = "Graf Zeppelin"
					requested_factories = 1
					progress = 0.3
					amount = 1
					industrial_manufacturer = mio:GER_deutsche_werke_organization
				}
			}
			if = { 
				limit = {
					has_tech = improved_ship_hull_carrier
				}
				create_equipment_variant = {
					name = "Graf Zeppelin Class"				
					name_group = GER_CV_HISTORICAL
					type = ship_hull_carrier_2
					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_engine_slot = carrier_ship_engine_2
						fixed_ship_secondaries_slot = empty
						front_1_custom_slot = ship_deck_space
						mid_1_custom_slot = ship_deck_space
					}
					design_team = mio:GER_deutsche_werke_organization
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_carrier_2
						creator = "GER"
						version_name = "Graf Zeppelin Class"
					}
					name = "Graf Zeppelin"
					requested_factories = 1
					progress = 0.3
					amount = 1
					industrial_manufacturer = mio:GER_deutsche_werke_organization
				}
			}

			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 = 10
		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 }
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			create_equipment_variant = {
				name = "Hindenburg"				
				name_group = GER_BB_HISTORICAL
				type = ship_hull_heavy_3
				modules = {
					fixed_ship_battery_slot = ship_heavy_battery_3
					fixed_ship_anti_air_slot = ship_anti_air_1
					fixed_ship_fire_control_system_slot = ship_fire_control_system_0
					fixed_ship_radar_slot = ship_radar_1
					fixed_ship_engine_slot = heavy_ship_engine_2
					fixed_ship_secondaries_slot = ship_secondaries_1
					fixed_ship_armor_slot = ship_armor_bb_2
					front_1_custom_slot = ship_anti_air_1
					mid_1_custom_slot = ship_airplane_launcher_1
					mid_2_custom_slot = ship_secondaries_1
					mid_3_custom_slot = ship_anti_air_1
					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 = "Hindenburg"
				}
				name = "Hutten"
				requested_factories = 1
				progress = 0.2
				amount = 1
				industrial_manufacturer = mio:GER_germaniawerft_organization
			}
			add_equipment_production = {
				equipment = {
					type = ship_hull_heavy_3
					creator = "GER"
					version_name = "Hindenburg"
				}
				name = "Berlichingen"
				requested_factories = 1
				progress = 0.1
				amount = 1
				industrial_manufacturer = mio:GER_germaniawerft_organization
			}

			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

			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 = 10
		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"
				}
				if = {
					limit = {
						NOT = { has_completed_focus = GER_fallschirmjager }
					}
					add_potential_special_forces_tree = yes
				}
				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 = 10
		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 = 5
	
		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_mastery_bonus = {
				name = GER_trade_interdiction
				bonus = 0.2
				days = 180
				grand_doctrine = new_convoy_raiding
				
			}

			add_doctrine_cost_reduction = {
				name = GER_trade_interdiction
				cost_reduction = 0.25
				uses = 1
				category = naval_doctrine	
			}

			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 = 5
		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_GER_panzerschiff
		prerequisite = { focus = GER_cruiser_warfare }
		mutually_exclusive = { focus = GER_u_boat_efforts }

		x = 0
		y = 1
		relative_position_id = GER_cruiser_warfare
		cost = 5
		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
			create_equipment_variant = {
				name = "Panzer Class"
				type = ship_hull_cruiser_3
				name_group = GER_CA_HISTORICAL
				modules = {
					fixed_ship_battery_slot = ship_medium_battery_2
					fixed_ship_anti_air_slot = ship_anti_air_1
					fixed_ship_fire_control_system_slot = ship_fire_control_system_0
					fixed_ship_radar_slot = ship_radar_1
					fixed_ship_engine_slot= cruiser_ship_engine_3
					fixed_ship_armor_slot = ship_armor_cruiser_2
					fixed_ship_secondaries_slot = ship_secondaries_1
					front_1_custom_slot = ship_anti_air_1
					mid_1_custom_slot = ship_anti_air_1
					mid_2_custom_slot = ship_airplane_launcher_1
					rear_1_custom_slot = ship_medium_battery_2
				}
			}

			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 = 5
		available = {
			NOT = { has_completed_focus = GER_unrestricted_convoy_raiding }
			has_war = yes
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			add_mastery_bonus = {
				name = GER_wolfpack_tactics
				bonus = 0.1
				days = 240
				grand_doctrine = new_convoy_raiding
				track = submarines
			}

			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_goal_generic_navy_submarine
		prerequisite = { focus = GER_wolfpack_tactics }
		mutually_exclusive = { focus = GER_panzerschiff_raiders }
		x = 0
		y = 1
		relative_position_id = GER_wolfpack_tactics
		cost = 5
		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

			add_tech_bonus = {
				name = GER_u_boat_efforts
				bonus = 1.0
				uses = 1
				category = ss_tech
			}
		
			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 = 10
		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_goal_ger_rhineland2
		alternate_icon = GFX_goal_ger_rhineland2_historical

		mutually_exclusive = { focus = GER_kill_hitler focus = GER_oppose_hitler_ww focus = GER_oppose_hitler focus = GER_die_letzte_verschwoerung }

		allow_branch = {	#intentionally doesnt check for gamerule because this tree is big and I move around stuff
			NOT = {
				has_completed_focus = GER_oppose_hitler_ww
				has_completed_focus = GER_oppose_hitler
				has_completed_focus = GER_die_letzte_verschwoerung
				has_completed_focus = GER_kill_hitler
			}
		}

		x = 31
		y = 0
		relative_position_id = GER_prioritize_economic_growth

		cost = 5

		bypass = {
			42 = { is_demilitarized_zone = no } #RHINELAND
			51 = { is_demilitarized_zone = no } #MOSSELLAND
			922 = { is_demilitarized_zone = no } #FRANKFURT
			923 = { is_demilitarized_zone = no } #BADEN
			989 = { is_demilitarized_zone = no } #OSTRHINELAND
			1053 = { is_demilitarized_zone = no } #SAARLAND
		}

		available = {
			is_subject = no
			has_government = fascism
			42 = { is_fully_controlled_by = ROOT } #MOSSELLAND
			51 = { is_fully_controlled_by = ROOT } #RHINELAND
			922 = { is_fully_controlled_by = ROOT } #FRANKFURT
			923 = { is_fully_controlled_by = ROOT } #BADEN
			989 = { is_fully_controlled_by = ROOT } #OSTRHINELAND
			1053 = { is_fully_controlled_by = ROOT } #SAARLAND
		}
		
		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ARMY_XP }	
		bypass_effect = {
			mark_focus_tree_layout_dirty = yes
		}
		completion_reward = {
			42 = { set_demilitarized_zone = no } #RHINELAND
			51 = { set_demilitarized_zone = no } #MOSSELLAND
			922 = { set_demilitarized_zone = no } #FRANKFURT
			923 = { set_demilitarized_zone = no } #BADEN
			989 = { set_demilitarized_zone = no } #OSTRHINELAND
			1053 = { set_demilitarized_zone = no } #SAARLAND
			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
				}
			}

			if = {
				limit = { AUS = { is_subject = no } }
				AUS = {
					country_event = {
						id = austria.1
						days = 1
					}
				}
			}
			hidden_effect = {
				if = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
				if = { #AI HANDICAP IS BACK!
					limit = {
						difficulty > 1
						GER = {
							is_ai = yes
						}
					}
					add_trait = {
						character = GER_adolf_hitler
						ideology = nazism
						trait = rearmer
				   }
					army_experience = 100
					add_offsite_building = {
						type = arms_factory level = 6
					}
					add_offsite_building = {
						type = industrial_complex level = 6
					}
					add_equipment_to_stockpile = {
						type = infantry_equipment
						amount = 25000
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = artillery_equipment
						amount = 500
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = support_equipment
						amount = 750
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = motorized_equipment
						amount = 500
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = medium_tank_chassis
						amount = 350
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = light_tank_chassis
						amount = 250
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = anti_air_equipment
						amount = 500
						producer = GER
					}			
				}
			}
		}
	}

	focus = {
		id = GER_legion_condor
		icon = GFX_focus_intervention_spain_nationalists
		prerequisite = { focus = GER_remilitarize_the_rhineland }

		offset = {
			x = -25
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_oppose_hitler_ww
			}
		}
		offset = {
			x = -28
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_oppose_hitler
			}
		}
		offset = {
			x = -5
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_monarchist_sentiment
			}
		}

		offset = {
			x = -10
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_start_the_proletarian_revolution
			}
		}

		offset = {
			x = -7
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_reestablish_free_elections
			}
		}

		x = -8
		y = 1
		relative_position_id = GER_remilitarize_the_rhineland

		cost = 5

		available = {
			if = {
				limit = {
					NOT = { has_dlc = "La Resistance" }
				}
				any_other_country = {
					original_tag = SPR
					has_government = fascism
					has_volunteers_amount_from = {
						tag = ROOT
						count > 1
					}
				}
			}
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				SPA = {
					has_volunteers_amount_from = {
						tag = ROOT
						count > 1
					}
				}
			}
		}

		continue_if_invalid = yes

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ARMY_XP }

		completion_reward = {
			army_experience = 25

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_dlc = "La Resistance" }
				}
				random_other_country = {
					limit = {
						original_tag = SPR
						has_government = fascism
					}
					add_opinion_modifier = { target = GER modifier = ita_supported_spain_civil_war }
				}
			}
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				SPA = { add_opinion_modifier = { target = GER modifier = ita_supported_spain_civil_war } }
			}

			add_timed_idea = {
				idea = GER_legion_condor_ns
				days = 545
			}
		}
	}
	
	focus = {
		id = GER_heed_von_neuraths_concerns #Von Neurath
		icon = GFX_focus_GER_heed_von_neuraths_concerns
		prerequisite = { focus = GER_remilitarize_the_rhineland }
		mutually_exclusive = { focus = GER_reorganize_the_wehrmacht }
		x = 20
		y = 1
		relative_position_id = GER_remilitarize_the_rhineland
		cost = 5
		available = {
		}
		offset = {
			x = -20
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_heed_von_neuraths_concerns
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

		completion_reward = {
			add_political_power = 50
			add_stability = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = konstantin_von_neurath

			custom_effect_tooltip = generic_skip_one_line_tt

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

			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_neurath
					}
				}
			}
			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_neurath
					}
				}
			}
			else_if = {
				limit = {
					has_completed_focus = GER_fuhrerprinzip
				}
				add_country_leader_trait = GER_der_fuhrer_fuhrerprinzip_neurath
			}
			else = {
				add_country_leader_trait = GER_der_fuhrer_neurath
			}
			mark_focus_tree_layout_dirty = yes
		}
		allow_branch = {
			
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_reorganize_the_wehrmacht }
			}
			NOT = {
				has_completed_focus = GER_oppose_hitler_ww
				has_completed_focus = GER_oppose_hitler
				has_completed_focus = GER_die_letzte_verschwoerung
				has_completed_focus = GER_kill_hitler
			}
		}
	}
	focus = {
		id = GER_reorganize_the_wehrmacht #von Ribbentrop

		icon = GFX_focus_GER_reorganize_the_wehrmacht
		alternate_icon = GFX_focus_GER_reorganize_the_wehrmacht_historical

		prerequisite = { focus = GER_remilitarize_the_rhineland }
		mutually_exclusive = { focus = GER_heed_von_neuraths_concerns }
		x = -20
		y = 0
		relative_position_id = GER_heed_von_neuraths_concerns
		cost = 5
		available = {
		}

		allow_branch = {
			
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_heed_von_neuraths_concerns }
			}
			NOT = {
				has_completed_focus = GER_oppose_hitler_ww
				has_completed_focus = GER_oppose_hitler
				has_completed_focus = GER_die_letzte_verschwoerung
				has_completed_focus = GER_kill_hitler
			}
		}
		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 = fm_leader
			}

			custom_effect_tooltip = {
				localization_key = remove_character_as_tt
				CHARACTER = GER_oswald_lutz
				ROLE = cc_leader
			}
			
			custom_effect_tooltip = {
				localization_key = remove_character_as_tt
				CHARACTER = GER_ludwig_beck
				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
			}
			mark_focus_tree_layout_dirty = yes
		}
	}

	focus = {
		id = GER_war_preparations
		icon = GFX_goal_generic_axis_build_infantry
		#icon = GFX_goal_generic_military_sphere
		#icon = GFX_goal_generic_small_arms
		
		prerequisite = { focus = GER_heed_von_neuraths_concerns }
		x = 0
		y = 1
		relative_position_id = GER_heed_von_neuraths_concerns
		cost = 5
		available = {
			has_war = no
		}
		offset = {
			x = 2
			trigger = {
				has_completed_focus = GER_heed_von_neuraths_concerns
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
			}
		}

		search_filters = {}

		completion_reward = {
			custom_effect_tooltip = GER_war_preparations_tt
			effect_tooltip = {
				add_timed_idea = {
					idea = GER_strengthened_supply_lines_ns
					days = 730
				}
			}
		}
	}
	
	focus = {
		id = GER_prepare_for_the_next_blockade_ww
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = GER_war_preparations }

		x = 1
		y = 1
		relative_position_id = GER_war_preparations
		cost = 10
		available = {
			is_subject = no
			has_war = no
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			add_timed_idea = {
				idea = GER_prepare_for_the_next_blockade_got
				days = 545
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt
			
			add_equipment_to_stockpile = { 
				type = convoy_1
				amount = 50
				producer = ROOT
			}			
			add_equipment_to_stockpile = {
				type = train_equipment
				amount = 25
			}
		}
	}

	focus = {
		id = GER_reorganize_secret_services
		icon = GFX_focus_generic_secret_service_agency
		prerequisite = { focus = GER_war_preparations }
		x = -1
		y = 1
		relative_position_id = GER_war_preparations
		cost = 10

		allow_branch = {
			has_dlc = "La Resistance"
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					OR = {
						has_completed_focus = GER_oppose_hitler
						has_completed_focus = GER_oppose_hitler_ww
						has_completed_focus = GER_die_letzte_verschwoerung
						has_completed_focus = GER_kill_hitler
					}
				}
			}
			
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_reorganize_the_wehrmacht }
			}
			NOT = {
				has_completed_focus = GER_oppose_hitler_ww
				has_completed_focus = GER_oppose_hitler
				has_completed_focus = GER_die_letzte_verschwoerung
				has_completed_focus = GER_kill_hitler
			}
		}

		available = {
		}

		search_filters = {}

		completion_reward = {
			custom_effect_tooltip = generic_remove_as_political_advisor_tt
			show_ideas_tooltip = GER_wilhelm_canaris

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_add_or_modify_military_intelligence_service = yes
			add_to_variable = { 
				GER_military_intelligence_service_operative_slot = 1
				tooltip = operative_slot_tt
			}
			add_to_variable = { 
				GER_military_intelligence_service_agency_upgrade_time = -0.2
				tooltip = agency_upgrade_time_tt
			}

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

	focus = {
		id = GER_subversive_infiltrators
		icon = GFX_focus_ARG_keep_it_in_the_party
		prerequisite = { focus = GER_reorganize_secret_services }

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

		search_filters = {}

		completion_reward = {
			custom_effect_tooltip = GER_modify_military_intelligence_service_modifier_tt
			add_to_variable = { 
				GER_military_intelligence_service_operative_slot = 1
				tooltip = operative_slot_tt
			}
			add_to_variable = { 
				GER_military_intelligence_service_boost_ideology_mission_factor = 0.25
				tooltip = boost_ideology_mission_factor_tt
			}
			add_to_variable = { 
				GER_military_intelligence_service_master_ideology_drift = 0.15
				tooltip = master_ideology_drift_tt
			}

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

				if = {
					limit = {
						controls_state = 16 #PARIS
					}
					GER_create_operative_coco_chanel = yes
				}
				else = {
					set_country_flag = GER_coco_chanel_ready_to_join_as_operative_flag
				}
			}
		}
	}

	focus = {
		id = GER_anschluss

		icon = GFX_goal_GER_anschluss
		alternate_icon = GFX_goal_GER_anschluss_historical

		prerequisite = { focus = GER_reorganize_the_wehrmacht }

		x = 7
		y = 1
		relative_position_id = GER_reorganize_the_wehrmacht
		cost = 10

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

		bypass = {
			OR = {
				AUS = {
					OR = {
						is_subject = yes
						exists = no 
						AND = {
							is_in_faction = yes
							NOT = { is_in_faction_with = GER }
							any_other_country = {
								is_in_faction_with = AUS
								is_subject = no
							}
						}
					}
				}
				GER = {
					owns_state = 4
					owns_state = 152
					owns_state = 153
					owns_state = 848
					owns_state = 1086
					owns_state = 1054
				}
			}
		}

		continue_if_invalid = yes
		
		available_if_capitulated = no
		will_lead_to_war_with = AUS	#56
		
		available = {
			if = {
				limit = { #DONT CUCK ME!
					has_war_with = ETH
				}
				has_war_with_major = no
				else = {
					has_war = no
				}
			}
			is_subject = no
			IF = {
				limit = { 
					AND = {
						has_dlc = "Gotterdammerung" 
						has_global_flag = aus_dlc_focus_tree
					}
				}
				custom_trigger_tooltip = {
					tooltip = GER_anschluss_army_trigger_tt
					fighting_army_strength_ratio = {
						tag = AUS
						ratio > global.deployed_manpower_ratio_needed_for_anschluss
					}
				}
			}

			ELSE = {
				has_army_manpower = { size > 499999 }
				
				custom_trigger_tooltip = {
				 	tooltip = GER_anschluss_eq_trigger_tt
				 	check_variable = { num_equipment_in_armies_k@infantry_equipment > 40 }
				}
			}
			
			NOT = { has_idea = rhineland_challenge_met }
			if = {
				limit = {
					SWI = { has_completed_focus = SWI_gotthard_union }
				}
				NOT = { 
					AUS = { has_idea = SWI_swiss_democratic_propaganda }
				}
			}

		}

		cancel = {
			OR = {
				is_subject = yes
				has_idea = rhineland_challenge_met
				has_war_with = AUS
			}
		}

		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 = {
			if = {
				limit = {
					has_global_flag = aus_dlc_focus_tree
				}
				AUS = {
					country_event = {
						id = AUS_political_events.77
						hours = 12
					}
					set_country_flag = AUS_anschluss_process_has_begun_flag
				}
			}
			else = {
				AUS = {
					hidden_effect = {
					AUS = {
						country_event = {
							id = austria.56
							days = 23
						}
					}
					}
				}
			}
		}

		completion_reward = {
			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	#probably Germany-aligned even before Anschluss
			}
			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 = 1086
							owns_state = 1054
						}
					}
				}
				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 1086 1054 }
						}
					}
				}
			}
			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 = 1086
							owns_state = 1054
						}
						
					}
					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 = {
					1086 = {
						owner = {
							NOT = {
								tag = AUS
							}
							NOT = {
								is_in_faction_with = ROOT
							}
						}
					}
				}
				add_state_core = 1086
			}
			IF = {
				limit = {
					1054 = {
						owner = {
							NOT = {
								tag = AUS
							}
							NOT = {
								is_in_faction_with = ROOT
							}
						}
					}
				}
				add_state_core = 1054
			}
			set_global_flag = r56_GER_anschluss_mean_message_was_sent_out	#Needed for an achievement
		}
	}

	focus = {
		id = GER_befriend_czechoslovakia
		icon = GFX_focus_generic_befriend_czechoslovakia
		prerequisite = { focus = GER_anschluss }
		mutually_exclusive = { focus = GER_demand_sudetenland }
		x = -5
		y = 1
		relative_position_id = GER_anschluss
		cost = 5

		bypass = {
			CZE = { 
				is_in_faction_with = GER
				has_war_with = GER
			}
		}

		available = { 
			has_army_manpower = { size > 749999 }
			NOT = { has_war_with = CZE }
			CZE = {
				custom_trigger_tooltip = {
					tooltip = GER_alone_or_peace_faction_tt
					is_alone_or_in_faction_at_peace_with_GER = yes
				}
				exists = yes
			}
		}
		
		cancel = {
			OR = {
				NOT = { country_exists = CZE }
				has_war_with = CZE
			}
		}

		continue_if_invalid = no
		cancel_if_invalid = yes
		available_if_capitulated = no

		ai_will_do = {
			factor = 2.5
			modifier = {
				factor = 0
				CZE = {
					has_opinion = {
						target = GER
						value < 0
					}
				}
			}
			modifier = {
				factor = 5
				CZE = {
					has_opinion = {
						target = GER
						value > 20
					}
				}
			}
			modifier = {
				factor = 8
				CZE = {
					OR = {
						has_completed_focus = CZE_state_defense_law
						has_completed_focus = CZE_democratic_reforms
						has_completed_focus = CZE_military_coup
					}
					NOT = {
						has_completed_focus = CZE_zaolzie_for_alliance
					}
				}
			}
			modifier = {
				factor = 0
				OR = {
					has_government = democratic
					has_government = communism
				}
			}
		}		

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			CZE = {
				country_event = { id = wuw_GER_diplomacy.10 hours = 6 }
			}

			custom_effect_tooltip = if_they_accept_tt

			CZE = {
				effect_tooltip = {
					IF = {
						limit = {
							PREV = {
								has_government = fascism
							}
						}
						add_timed_idea = {
							idea = GER_fascism_influence
							days = 730
						}
					}		
					ELSE_IF = {
						limit = {
							PREV = {
								has_government = democratic
							}
						}
						add_timed_idea = {
							idea = GER_democratic_influence
							days = 730
						}
					}
					ELSE_IF = {
						limit = {
							PREV = {
								has_government = neutrality
							}
						}
						add_timed_idea = {
							idea = GER_neutrality_influence
							days = 730
						}
					}
					add_opinion_modifier = { target = GER modifier = ger_cze_diplomatic_focus }
				}
			}
			hidden_effect = {
				CZE = {
					set_country_flag = GER_influencing_CZE_flag
				}
				news_event = { hours = 6 id = news.200 }
			}
		}
	}

	focus = {
		id = GER_integrate_czechoslovakia
		icon = GFX_focus_GER_integrate_czechoslovakia
		prerequisite = { focus = GER_befriend_czechoslovakia }

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

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

		available = {
			r56_script_i_am_sane = yes
			is_subject = no
			CZE = {
				OR = {
					has_government = fascism
					fascism > 0.5
				}
				OR = {
					is_in_faction = no
					is_in_faction_with = ROOT
				}
				OR = {
					is_subject = no
					is_subject_of = ROOT
				}
			}
		}

		bypass = {
			OR = {
				has_war_with = CZE
				NOT = { country_exists = CZE }
				CZE = {
					is_subject = yes
					NOT = { is_subject_of = ROOT }
					OVERLORD = {
						is_in_faction_with = ROOT
					}	
				}
			}
		}

		will_lead_to_war_with = CZE

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			add_named_threat = { threat = 5 name = GER_integrate_czechoslovakia }
			### CLAIMS
			if = {
				limit = {
					69 = {
						controller = {
							NOT = {
								tag = ROOT
								is_subject_of = ROOT
							}
						}
					}
				}
				add_state_claim = 69
			}
			if = {
				limit = {
					1078 = {
						controller = {
							NOT = {
								tag = ROOT
								is_subject_of = ROOT
							}
						}
					}
				}
				add_state_claim = 1078
			}
			if = {
				limit = {
					74 = {
						controller = {
							NOT = {
								tag = ROOT
								is_subject_of = ROOT
							}
						}
					}
				}
				add_state_claim = 74
			}
			if = {
				limit = {
					CZE = {
						OR = {
							is_subject = no
							is_subject_of = ROOT
						}
					}
				}
				CZE = { country_event = { id = wuw_GER_diplomacy.117 days = 1 }}
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					annex_country = {
						target = CZE
						transfer_troops = yes
					}

					custom_effect_tooltip =  generic_skip_one_line_tt
					every_state = {
						limit = {
							is_owned_and_controlled_by = CZE
							OR = {
								state = 69
								state = 1078
								state = 74
							}
						}
						add_core_of = PREV
					}
				}
			}
			if = {
				limit = {
					CZE = {
						is_subject = yes
						NOT = { is_subject_of = ROOT }
					}
				}
				create_wargoal = {
					type = annex_everything
					target = CZE
				}
			}
		}
	}

	focus = {
		id = GER_bribe_senior_officers
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = GER_remilitarize_the_rhineland }

		x = -14
		y = 1
		relative_position_id = GER_remilitarize_the_rhineland
		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 }
					}
				}
			}
			if = { #Became indebt to Hitler
				limit = {
					has_character = GER_walther_von_brauchitsch
					
				}
				if = {
					limit = {
						GER_walther_von_brauchitsch = {
							NOT = { 
								has_trait = politically_connected
							}
						}
					}
					GER_walther_von_brauchitsch = {
						add_trait = { trait = politically_connected }
					}
				}
			}

			show_unit_leaders_tooltip = GER_walter_model
			show_unit_leaders_tooltip = GER_hermann_hoth
		}
	}
	
	focus = {
		id = GER_army_indoctrination
		icon = GFX_focus_GER_subdue_the_wehrmacht
		alternate_icon = GFX_focus_GER_subdue_the_wehrmacht_historical
		prerequisite = { focus = GER_bribe_senior_officers }
		mutually_exclusive = { focus = GER_autonomy_in_the_kriegsschulen }
		x = -1
		y = 1
		relative_position_id = GER_bribe_senior_officers
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			GER_modify_army_modifier = yes
			add_to_variable = { GER_military_mobilization_speed = 0.1 tooltip = mobilization_speed_tt }
			add_to_variable = { GER_military_army_morale_factor = 0.1 tooltip = army_morale_factor_tt }

			if = {
				limit = {
					has_character = GER_walter_model
					GER_walter_model = {
						is_field_marshal = no
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				GER_walter_model = {
					promote_leader = yes
				}
				if = {
					limit = {
						GER_walter_model = {
							NOT = { 
								has_trait = offensive_doctrine
							}
						}
					}
					GER_walter_model = {
						add_trait = { trait = offensive_doctrine }
					}
				}
				else_if = {
					limit = {
						GER_walter_model = {
							has_trait = defensive_doctrine
							NOT = { 
								has_trait = unyielding_defender
							}
						}
					}
					GER_walter_model = {
						add_trait = { trait = unyielding_defender }
					}
				}
			}

			if = {
				limit = {
					has_character = GER_alfred_jodl
					
				}
				if = {
					limit = {
						GER_alfred_jodl = {
							NOT = { 
								has_trait = politically_connected
							}
						}
					}
					GER_alfred_jodl = {
						add_trait = { trait = politically_connected }
					}
				}
			}
			if = {
				limit = {
					has_character = GER_hermann_hoth
					
				}
				if = {
					limit = {
						GER_hermann_hoth = {
							NOT = { 
								has_trait = politically_connected
							}
						}
					}
					GER_hermann_hoth = {
						add_trait = { trait = politically_connected }
					}
				}
			}
			#The guys Hilter couldn't trust 100%
			if = {
				limit = {
					has_character = GER_johannes_blaskowitz
					
				}
				if = {
					limit = {
						GER_johannes_blaskowitz = {
							NOT = { 
								has_trait = unpopular
							}
						}
					}
					GER_johannes_blaskowitz = {
						add_trait = { trait = unpopular }
					}
				}
			}
			if = {
				limit = {
					has_character = GER_wilhelm_list
					
				}
				if = {
					limit = {
						GER_wilhelm_list = {
							NOT = { 
								has_trait = unpopular
							}
						}
					}
					GER_wilhelm_list = {
						add_trait = { trait = unpopular }
					}
				}
			}
			if = {
				limit = {
					has_character = GER_ewald_von_kleist
					
				}
				if = {
					limit = {
						GER_ewald_von_kleist = {
							NOT = { 
								has_trait = unpopular
							}
						}
					}
					GER_ewald_von_kleist = {
						add_trait = { trait = unpopular }
					}
				}
			}
			if = { #r56
				limit = {
					has_character = GER_wilhelm_keitel
				}
				if = {
					limit = {
						GER_wilhelm_keitel = {
							is_field_marshal = no
						}
					}
					GER_wilhelm_keitel = {
						promote_leader = yes
					}
				}
				if = {
					limit = {
						GER_wilhelm_keitel = {
							NOT = {
								has_trait = unpopular
							}
						}
					}
					GER_wilhelm_keitel = {
						add_trait = { trait = unpopular }
					}
				}
			}
		}
	}

	focus = {
		id = GER_strafbataillon
		icon = GFX_focus_GER_strafbataillon

		prerequisite = { focus = GER_army_indoctrination }

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

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MANPOWER }

		completion_reward = {
			add_manpower = 10000

			custom_effect_tooltip = generic_skip_one_line_tt
			#Spawn Penal divisions
			custom_effect_tooltip = GER_strafbataillon_spawn_tt
			hidden_effect = {
				#set_technology = { penal_infantry = 1 popup = no } #Note: Granting tech will make the penal battalion available for any template
				division_template = {
					name = "Straf-Division"
					division_names_group = GER_PEN_01
					is_locked = yes
					force_allow_recruiting = yes
					override_model = GER_infantry_alt_0_entity
					division_cap = 12

					regiments = {
						penal_battalion = { x = 0 y = 0 }
						penal_battalion = { x = 0 y = 1 }
						penal_battalion = { x = 0 y = 2 }
						penal_battalion = { x = 1 y = 0 }
						penal_battalion = { x = 1 y = 1 }
						penal_battalion = { x = 1 y = 2 }
						penal_battalion = { x = 2 y = 0 }
						penal_battalion = { x = 2 y = 1 }
						penal_battalion = { x = 2 y = 2 }
					}
					support = {
						artillery = { x = 0 y = 0 }
					}
				}
				capital_scope = {
					create_unit = {
						division = "division_template = \"Straf-Division\" start_experience_factor = 1 start_equipment_factor = 1.0"
						owner = ROOT
						count = 3
					}
				}
				if = {
					limit = {
						has_dlc = "By Blood Alone"
					}
					random_country_division = {
						limit = {
							division_has_battalion_in_template = penal_battalion
						}
						add_divisional_commander_xp = 2300
					}
				}
			}


			custom_effect_tooltip = generic_skip_one_line_tt
		}
	}
	
	focus = {
		id = GER_autonomy_in_the_kriegsschulen
		icon = GFX_focus_GER_appease_the_wehrmacht
		prerequisite = { focus = GER_bribe_senior_officers }
		mutually_exclusive = { focus = GER_army_indoctrination }
		x = 1
		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_generic_military_mission #GFX_focus_generic_military_academy
		prerequisite = { focus = GER_autonomy_in_the_kriegsschulen }

		x = 0
		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_develop_the_electricity_sector
		#icon = GFX_focus_generic_university_3
		#icon = GFX_goal_generic_secret_weapon
		#icon = GFX_focus_generic_army_tanks2

		prerequisite = { focus = GER_army_indoctrination focus = GER_autonomy_in_the_kriegsschulen }

		x = 1
		y = 2
		relative_position_id = GER_army_indoctrination
		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_heed_von_neuraths_concerns focus = GER_reorganize_the_wehrmacht }

		x = -11
		y = 1
		relative_position_id = GER_heed_von_neuraths_concerns
		cost = 5
		available = {
			has_government = fascism
		}
		offset = {
			x = 17
			trigger = { has_completed_focus = GER_heed_von_neuraths_concerns}
		}
		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_heed_von_neuraths_concerns focus = GER_reorganize_the_wehrmacht }

		x = -7
		y = 1
		relative_position_id = GER_heed_von_neuraths_concerns
		cost = 5
		offset = {
			x = 11
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_heed_von_neuraths_concerns
			}
		}
		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 }

		mutually_exclusive = { focus = GER_befriend_czechoslovakia }

		x = -3
		y = 1
		relative_position_id = GER_anschluss

		cost = 10

		will_lead_to_war_with = CZE
		will_lead_to_war_with = FRA

		bypass = {
			69 = { #NORTH SUDETENLAND
				controller = {
					OR = {
						has_war_with = GER
						tag = ROOT
					}
				}
			}
			1078 = { #SOUTH SUDETENLAND
				controller = {
					OR = {
						has_war_with = GER
						tag = ROOT
					}
				}
			}
			74 = { #EASTERN SUDETENLAND
				controller = {
					OR = {
						has_war_with = GER
						tag = ROOT
					}
				}
			}
		}

		available = {
			is_subject = no
			has_army_manpower = { size > 724999 } #80 div
		}
		
		cancel = {
			is_subject = yes
		}
		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 = {
			hidden_effect = {
				if = { #AI HANDICAP IS BACK!
					limit = {
						difficulty > 1
						GER = {
							is_ai = yes
						}
					}
					army_experience = 100
					add_offsite_building = {
						type = arms_factory level = 5
					}
					add_offsite_building = {
						type = industrial_complex level = 5
					}
					add_equipment_to_stockpile = {
						type = infantry_equipment
						amount = 25000
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = artillery_equipment
						amount = 500
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = support_equipment
						amount = 1750
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = motorized_equipment
						amount = 500
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = medium_tank_chassis
						amount = 500
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = anti_air_equipment
						amount = 500
						producer = GER
					}			
				}
			}
			### CLAIMS
			if = {
				limit = {
					69 = {
						controller = {
							NOT = {
								tag = ROOT
								is_subject_of = ROOT
							}
						}
					}
				}
				add_state_claim = 69
			}
			if = {
				limit = {
					1078 = {
						controller = {
							NOT = {
								tag = ROOT
								is_subject_of = ROOT
							}
						}
					}
				}
				add_state_claim = 1078
			}
			if = {
				limit = {
					74 = {
						controller = {
							NOT = {
								tag = ROOT
								is_subject_of = ROOT
							}
						}
					}
				}
				add_state_claim = 74
			}

			### EVENT CHAIN - MUNICH CONFERENCE (CZE is always involved) ###
			if = {
				limit = {
					CZE = {
						OR = {
							controls_state = 69
							controls_state = 1078
							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 = 1078
								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 = 1078
							controls_state = 74
						}
						NOT = { has_war_with = ROOT }
					}
				}
				every_other_country = {
					limit = {
						NOT = { tag = CZE }
						OR = {
							controls_state = 69
							controls_state = 1078
							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 } }
						}
					}
				}
			}

			add_named_threat = { threat = 5 name = GER_demand_sudetenland_threat }
		}
	}
	
	focus = {
		id = GER_first_vienna_award
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = GER_demand_sudetenland }

		x = 0
		y = 1
		relative_position_id = GER_demand_sudetenland
		cost = 5

		bypass = {
			OR = {
				AND = {
					NOT = { CZE = { controls_state = 664 } }
					NOT = { SLO = { controls_state = 664 is_subject_of = CZE } }
					NOT = { owns_state = 664 }
				}
				HUN = { 
					OR = {
						is_friend_or_potential_friend_of_GER = no
						has_government = communism
						has_government = democratic
					}
				}
				CZE = { is_subject_of = ROOT }
				CZE = { is_in_faction_with = ROOT }
			}
		}

		available = {
			is_subject = no
			HUN = { 
				is_friend_or_potential_friend_of_GER = yes
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}
			OR = {
				owns_state = 69
				owns_state = 1078
			}
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				OR = {
					has_government = democratic
					has_government = communism
				}
			}
		}	
		
		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL }
		
		completion_reward = {
			HUN = {
				country_event = { id = germany.51 }
				event_option_tooltip = germany.51.a
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt
			every_other_country = {
				limit = {
					is_faction_leader = yes
				}
				reverse_add_opinion_modifier = { target = HUN modifier = GER_first_vienna_award_other }
			}
		}
	}
	
	focus = {
		id = GER_fate_of_czechoslovakia

		icon = GFX_goal_ger_fate_of_czech
		alternate_icon = GFX_goal_ger_fate_of_czech_historical

		prerequisite = { focus = GER_first_vienna_award }

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

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

		will_lead_to_war_with = CZE

		bypass = {
			OR = {
				has_war_with = CZE
				CZE = { 
					is_in_faction_with = ROOT
					NOT = { is_subject_of = ROOT }
				}
				CZE = { 
					is_subject_of = ROOT
					OR = {
						has_completed_focus = CZE_german_minor_ally
						has_completed_focus = CZE_german_puppet
						has_completed_focus = CZE_complete_capitulation
					}
				}
				NOT = {
					country_exists = CZE
					9 = { is_controlled_by = ROOT }
					75 = { is_controlled_by = ROOT }
				}
				any_allied_country = {
					has_subject = CZE
				}
			}
		}
		
		available = { 
			r56_script_i_am_sane = yes
			is_subject = no
			has_army_manpower = { size > 749999 }
		}

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			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
						NOT = {		#refused Sudetenland
							owns_state = 69
							owns_state = 1078
						}
					}
				}
				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
				if = { #Don't get claims or wargoal on Romania or its puppet if you agreed to split CZE with them
					limit = {
						NOT = {
							has_country_flag = GER_split_CZE_with_ROM_flag
						}
					}
					country_event = { id = germany.55 hours = 6 }
				}
				else =  {
					if = { #Lower the MEFO Bills 
						limit = { 
							OR = {
								has_dynamic_modifier = { modifier = GER_mefo_bills_modifier }
								has_dynamic_modifier = { modifier = GER_economy_of_conquest_modifier }
							}
						}
						if = {
							limit = {
								CZE = {
									any_core_state = {
										is_on_continent = europe
										is_controlled_by = ROOT
										NOT = { is_core_of = ROOT }
										NOT = { has_state_flag = GER_seize_gold_reserves_state_flag }
									}
								}
							}
							
							ROOT = { set_temp_variable = { occupied_state_num_factory = 0 } } #This will show how many factories in total Germany controls from FROM's cores
							add_to_temp_variable = { GER.occupied_state_num_factory = CZE.num_of_military_factories_in_cores@GER }
							add_to_temp_variable = { GER.occupied_state_num_factory = CZE.num_of_civilian_factories_in_cores@GER }
							add_to_temp_variable = { GER.occupied_state_num_factory = CZE.num_of_naval_factories_in_cores@GER }
							hidden_effect = {
								CZE = {
									every_core_state = {
										limit = {
											is_on_continent = europe
											is_fully_controlled_by = ROOT
											NOT = { is_core_of = ROOT }
											NOT = { has_state_flag = GER_seize_gold_reserves_state_flag }
										}
										set_state_flag = GER_seize_gold_reserves_state_flag
									}
								}
							}

							ROOT = {			
								divide_temp_variable = { occupied_state_num_factory = 200 } #This is necessary since a single factory will increase the occupied_state_num_factory number to 1, which in turn translates to -100% when subtracting from the Consumer Goods. Dividing it by 100 here will give you 1% instead, which is more like what we want.
								multiply_temp_variable = { occupied_state_num_factory = -1 }
								
								if = {
									limit = {
										has_dynamic_modifier = { modifier = GER_mefo_bills_modifier }
									}
									custom_effect_tooltip = GER_modify_mefo_bills_modifier_tt
								}
								else_if = {
									limit = {
										has_dynamic_modifier = { modifier = GER_economy_of_conquest_modifier }
									}
									custom_effect_tooltip = GER_modify_economy_of_conquest_modifier_tt
								}

								add_to_variable = {
									GER_industrial_consumer_goods_factor = occupied_state_num_factory
									tooltip = consumer_goods_factor_tt
								}
								GER_reduce_mefo_bills_penalty = yes
								custom_effect_tooltip = generic_skip_one_line_tt
							}
						}
					}
				}
			}
			else_if = {
				limit = {
					CZE = { exists = yes }
				}
				add_state_claim = 9
				add_state_claim = 75
				create_wargoal = {
					type = annex_everything
					target = CZE
				}
			}
		}
	}

	#Peace For Our Time#
	focus = { #All related content and local will be in Czech related files and local locations
		id = GER_integrate_czech_manufacturers
		icon = GFX_focus_PER_czech_tanks
		prerequisite = { focus = GER_integrate_czechoslovakia  focus = GER_fate_of_czechoslovakia }

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

		ai_will_do = {
			base = 0
			modifier = {
				is_historical_focus_on = no
				add = 1
			}
		}

		allow_branch = {
			has_dlc = "Peace For Our Time"
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = GER_oppose_hitler
					has_completed_focus = GER_oppose_hitler_ww
					has_completed_focus = GER_die_letzte_verschwoerung
					has_completed_focus = GER_heed_von_neuraths_concerns
				}
			}
		}

		available = {
			9 = {
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_equipment_conversion_speed = 0.05
				tooltip = equipment_conversion_speed_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				unlock_military_industrial_organization_tooltip = mio:CZE_skoda_works_german_organization
				mio:CZE_skoda_works_german_organization = {
					add_mio_size = 2
					add_mio_funds_gain_factor = 0.25
				}

				custom_effect_tooltip = generic_skip_one_line_tt

				unlock_military_industrial_organization_tooltip = mio:CZE_ceska_zbrojovka_uhersky_brod_organization
				mio:CZE_ceska_zbrojovka_uhersky_brod_organization = {
					add_mio_size = 2
					add_mio_funds_gain_factor = 0.25
				}

				custom_effect_tooltip = generic_skip_one_line_tt

				unlock_military_industrial_organization_tooltip = mio:CZE_bohmische_mahrische_maschinenfabrik_ag_german_organization
				mio:CZE_bohmische_mahrische_maschinenfabrik_ag_german_organization = {
					add_mio_size = 2
					add_mio_funds_gain_factor = 0.25
				}

				custom_effect_tooltip = generic_skip_one_line_tt

				unlock_military_industrial_organization_tooltip = mio:CZE_avia_german_organization
				mio:CZE_avia_german_organization = {
					add_mio_size = 2
					add_mio_funds_gain_factor = 0.25
				}

				custom_effect_tooltip = generic_skip_one_line_tt

				add_timed_idea = { idea = CZE_integrate_czech_manufacturers_GER_idea_aat days = 180 }
			}
			else = {
				custom_effect_tooltip = GER_integrate_czech_manufacturers_no_aat_tt

				custom_effect_tooltip = generic_skip_one_line_tt

				# custom_effect_tooltip = available_industrial_concern
				# show_ideas_tooltip = CZE_skoda_works_german_manufacturer
				# custom_effect_tooltip = available_industrial_concern
				# show_ideas_tooltip = CZE_ceska_zbrojovka_uhersky_brod
				# custom_effect_tooltip = available_industrial_concern
				# show_ideas_tooltip = CZE_zlin_aircraft
				# custom_effect_tooltip = available_industrial_concern
				# show_ideas_tooltip = CZE_bohmische_mahrische_maschinenfabrik_ag_german_manufacturer

				add_timed_idea = { idea = CZE_integrate_czech_manufacturers_GER_idea_no_aat days = 180 }
			}
		}
	}
	#End Peace For Our Time#

	focus = {
		id = GER_demonstration_of_military_achievements
		icon = GFX_focus_GER_demonstration_of_military_achievements
		prerequisite = { focus = GER_heed_von_neuraths_concerns focus = GER_reorganize_the_wehrmacht }

		x = 17
		y = 1
		relative_position_id = GER_reorganize_the_wehrmacht
		cost = 5
		available = {
			4 = {
				controller = {
					OR = {
						tag = ROOT
						is_subject_of = ROOT
					}
				}
			}
			surrender_progress < 0.1
			custom_trigger_tooltip = { 
				tooltip = GER_demonstration_of_military_achievements_trigger
				OR = {
					num_subjects > 2
					check_variable = { GER_occupied_states_europe > 19 }
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }

		completion_reward = {
			add_political_power = 50
			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			add_country_leader_trait = GER_loyalty_of_wehrmacht
		}
		offset = {
			x = 2
			trigger = {
				has_completed_focus = GER_heed_von_neuraths_concerns
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
			}
		}
	}

	focus = {
		id = GER_an_invincible_army
		icon = GFX_focus_GER_german_army_invincible
		prerequisite = { focus = GER_demonstration_of_military_achievements }

		x = 0
		y = 1
		relative_position_id = GER_demonstration_of_military_achievements
		cost = 5
		available = {
			surrender_progress < 0.05
			custom_trigger_tooltip = {
				tooltip = GER_an_invincible_army_trigger
				OR = {
					num_subjects > 5
					check_variable = { GER_occupied_states_europe > 49 }
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_MANPOWER }

		completion_reward = {
			if = {
				limit = {
					has_country_leader_with_trait = GER_loyalty_of_wehrmacht
				}
				random_character = {
					limit = {
						is_country_leader = yes
					}
					swap_country_leader_traits = {
						remove = GER_loyalty_of_wehrmacht
						add = GER_supreme_commander_armed_forces
					}
				}
			}
			else_if = {
				limit = {
					NOT = { has_completed_focus = GER_demonstration_of_military_achievements }
				}
				effect_tooltip = {
					random_character = {
						limit = {
							is_country_leader = yes
						}
						swap_country_leader_traits = {
							remove = GER_loyalty_of_wehrmacht
							add = GER_supreme_commander_armed_forces
						}
					}
				}
			}
			else = {
				add_country_leader_trait = GER_supreme_commander_armed_forces
			}
		}
	}

	focus = {
		id = GER_the_supreme_leader
		icon = GFX_focus_GER_the_supreme_leader
		prerequisite = { focus = GER_an_invincible_army }
		x = 0
		y = 1
		relative_position_id = GER_an_invincible_army
		cost = 5
		available = {
			surrender_progress < 0.01
			custom_trigger_tooltip = {
				tooltip = GER_an_invincible_army_trigger
				OR = {
					num_subjects > 5
					check_variable = { GER_occupied_states_europe > 49 }
				}
			}
			custom_trigger_tooltip = { 
				tooltip = GER_the_supreme_leader_trigger
				check_variable = { GER_capitulated_major_countries > 2 }
			}
		}

		search_filters = {}

		completion_reward = {
			if = {
				limit = {
					has_country_leader_with_trait = GER_supreme_commander_armed_forces
				}
				random_character = {
					limit = {
						is_country_leader = yes
					}
					swap_country_leader_traits = {
						remove = GER_supreme_commander_armed_forces
						add = GER_supreme_leader
					}
				}
			}
			else_if = {
				limit = {
					NOT = { has_completed_focus = GER_an_invincible_army }
				}
				effect_tooltip = {
					random_character = {
						limit = {
							is_country_leader = yes
						}
						swap_country_leader_traits = {
							remove = GER_supreme_commander_armed_forces
							add = GER_supreme_leader
						}
					}
				}
			}
			else = {
				add_country_leader_trait = GER_supreme_leader
			}
		}
	}

	focus = {
		id = GER_the_triumphant_will
		icon = GFX_goal_GER_european_reich
		prerequisite = { focus = GER_anschluss }
		#mutually_exclusive = { focus = GER_integration_of_puppet_economies focus = GER_specialized_ss_commandos }

		x = -1
		y = 1
		relative_position_id = GER_anschluss
		cost = 5
	
		available = {	#added Moscow and make it require a subject status - Illya
			126 = {
				controller = {
					OR = {
						original_tag = ROOT
						is_subject_of = ROOT
					}
				}
			}
			16 = {
				controller = {
					OR = {
						original_tag = ROOT
						is_subject_of = ROOT
					}
				}
			}
			219 = {
				controller = {
					OR = {
						original_tag = ROOT
						is_subject_of = ROOT
					}
				}
			}
			64 = {
				is_fully_controlled_by = ROOT
			}
		}

		cancel = {
			AND = {
				has_war = no
				126 = {
					controller = {
						NOT = { tag = ROOT }
						NOT = { is_subject_of = ROOT }
					}
				}
				16 = {
					controller = {
						NOT = { tag = ROOT }
						NOT = { is_subject_of = ROOT }
					}
				}
				219 = {
					controller = {
						NOT = { tag = ROOT }
						NOT = { is_subject_of = ROOT }
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {

			swap_ideas = {
				remove_idea = sour_loser
				add_idea = triumphant_will
			}	

			IF = {
				limit = {
					has_dlc = "Gotterdammerung"
				}
				custom_effect_tooltip = GER_build_volkshalle_landmark_tt
				hidden_effect = {
					64 = {
						remove_building = {
							type = landmark_berlin_reichstag
							level = 1
							province = 6521
						}
						add_building_construction = {
							type = landmark_berlin_volkshalle
							level = 1
							instant_build = yes
							province = 6521
						}
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
		}
	}


	focus = {
		id = GER_support_a_coup_in_liechtenstein
		icon = GFX_goal_AUS_invade_liechtenstein
		prerequisite = { focus = GER_anschluss }

		x = 4
		y = 1
		relative_position_id = GER_anschluss
		cost = 5

		available = {
			is_subject = no
			LIE = {
				fascism > 0.1
				is_neighbor_of = ROOT
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			LIE = {
				if = {
					limit = {
						GER = {
							has_government = fascism
						}
					}
					add_timed_idea = {
						idea = fascist_influence
						days = 730
					}
				}
			}
			every_owned_state = {
				limit = { any_neighbor_state = { is_owned_and_controlled_by = LIE } }
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = GER_reassert_eastern_claims
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = GER_anschluss }

		x = 1
		y = 1
		relative_position_id = GER_anschluss
		cost = 5
		
		bypass = {
			188 = { is_owned_by = GER }
			85 = { is_owned_by = GER }
			86 = { is_owned_by = GER }
		}
		
		available = { 
			is_subject = no 
		}

		#will_lead_to_war_with = LIT	#causes UK guarantee that causes UK-SOV war

		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_expand_claims_in_baltic

		icon = GFX_focus_generic_attack_baltics

		prerequisite = { focus = GER_reassert_eastern_claims }

		mutually_exclusive = { focus = GER_influence_the_baltics }

		x = 1
		y = 2
		relative_position_id = GER_reassert_eastern_claims

		cost = 10

		will_lead_to_war_with = EST
		will_lead_to_war_with = LAT
		will_lead_to_war_with = LIT
		will_lead_to_war_with = POL
		will_lead_to_war_with = BLR

		available = {
			is_subject = no
		}

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

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			add_named_threat = { threat = 5 name = GER_expand_claims_in_baltic }

			every_other_country = {
				limit = {
					any_controlled_state = {
						OR = {
							is_core_of = EST
							is_core_of = LAT
							is_core_of = LIT
						}
					}
				}
				display_individual_scopes = yes
				every_controlled_state = {
					limit = {
						OR = {
							is_core_of = EST
							is_core_of = LAT
							is_core_of = LIT
						}
					}
					add_to_array = {
						array = PREV.GER_baltic_target_states_array
						value = THIS
					}
				}
				ROOT = {
					create_wargoal = {
						type = take_state_focus
						target = PREV
						generator = PREV.GER_baltic_target_states_array
					}
				}
			}
		}
	}
	
	focus = {
		id = GER_influence_the_baltics
		icon = GFX_focus_SOV_baltic_security
		prerequisite = { focus = GER_reassert_eastern_claims }
		mutually_exclusive = { focus = GER_expand_claims_in_baltic }
		x = 3
		y = 0
		relative_position_id = GER_expand_claims_in_baltic
		cost = 5
		available = {
			is_subject = no
		}

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

		bypass = {
			AND = {
				EST = { 
					OR = {
						is_subject = yes
						exists = no
					}
				}
				LAT = { 
					OR = {
						is_subject = yes
						exists = no
					}
				}
				LIT = { 
					OR = {
						is_subject = yes
						exists = no
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			custom_effect_tooltip = GER_unlock_influence_countries_tt
		}
	}

	focus = {
		id = GER_second_vienna_award	#R56: was disabled in vanilla, consider adding in focuses around it
		icon = GFX_goal_generic_cavalry
		prerequisite = { focus = GER_fate_of_czechoslovakia focus = GER_befriend_czechoslovakia }

		x = -4
		y = 1
		relative_position_id = GER_fate_of_czechoslovakia
		cost = 4

		offset = {
			x = 1
			trigger = {
				NOT = {
					has_dlc = "Peace For Our Time"
				}
			}
		}
		
		# bypass = {	#currently no focuses below it
		# 	OR = {
		# 		AND = {
		# 			OR = {
		# 				HUN = {
		# 					NOT = { has_government = fascism }
		# 					is_friend_or_potential_friend_of_GER = no
		# 				}
		# 				ROM = {
		# 					OR = {
		# 						AND = {
		# 							NOT = { controls_state = 76 }
		# 							NOT = { controls_state = 83 }
		# 							NOT = { controls_state = 84 }
		# 						}
		# 						has_war_with = HUN
		# 						AND = {
		# 							is_in_faction_with = GER
		# 							HUN = { NOT = { is_in_faction_with = GER } }#GER should not want to give #territory to Hungary if Romania joined the axis early.
		# 						}
		# 					}
		# 				}
		# 			}
		# 			OR = {
		# 				BUL = { is_friend_or_potential_friend_of_GER = no }
		# 				ROM = {
		# 					OR = {
		# 						NOT = { controls_state = 77 }
		# 						has_war_with = BUL					
		# 					}
		# 				}					
		# 			}
		# 		}
		# 		HUN = { exists = no } 
		# 		ROM = { exists = no	}
		# 		HUN = { has_capitulated = yes }
		# 		ROM = { has_capitulated = yes }
		# 		HUN = { is_subject_of = ROM } #just rude
		# 	}
		# }

		available = {
			is_subject = no
			is_faction_leader = yes
			has_army_manpower = { size > 749999 }
			custom_trigger_tooltip = {
			 	tooltip = GER_second_vienna_award_eq_trigger_tt
			 	check_variable = { num_equipment_in_armies_k@infantry_equipment > 60 }
			}
			has_capitulated = no

			HUN = {
				is_friend_or_potential_friend_of_GER = yes
			}
			ROM = {
				controls_state = 76
				NOT = { has_war_with = HUN }
			}
		}

		ai_will_do = {
			factor = 10
		}
		
		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL }
	
		completion_reward = {
			country_event = { 
				id = germany.20 
			}
		}
	}

	focus = {
		id = GER_form_rome_berlin_axis

		icon = GFX_focus_befriend_italy
		alternate_icon = GFX_focus_GER_befriend_italy

		prerequisite = { focus = GER_fate_of_czechoslovakia focus = GER_second_vienna_award }
		mutually_exclusive = { focus = GER_invade_italy }
		x = -1
		y = 4
		relative_position_id = GER_fate_of_czechoslovakia
		cost = 5

		bypass = {
			OR = {
				is_in_faction_with = ITA
				has_war_with = ITA
				NOT = { country_exists = ITA }
				ITA = {
					OR = {
						NOT = { has_government = fascism }
						is_subject = yes
						is_in_faction = yes	#r56
					}
				}
			}
		}

		available_if_capitulated = yes
		
		available = {
			is_subject = no
			NOT = { has_war_with = ITA }
			ITA = {
				has_government = fascism
				is_subject = no
			}
			NOT = { has_country_flag = ENG_ditched_the_italians_flag }
		}

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

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL }

		completion_reward = {
			ITA = {
				add_opinion_modifier = { target = GER modifier = ger_ita_alliance_focus }
				hidden_effect = {
					add_ai_strategy = {
						type = befriend
						id = ROOT
						value = 50
					}
					ROOT = {
						add_ai_strategy = {
							type = befriend
							id = PREV
							value = 50
						}
					}
					country_event = { id = generic.5 hours = 4 random_hours = 4 }
				}
				custom_effect_tooltip = generic_invite_to_faction_tt
			}
		}
	}
	
	focus = {
		id = GER_invade_italy
		icon = GFX_focus_attack_italy
		prerequisite = { focus = GER_around_maginot focus = GER_influence_the_benelux }
		mutually_exclusive = { focus = GER_form_rome_berlin_axis }
		x = 3
		y = 0
		relative_position_id = GER_form_rome_berlin_axis
		cost = 10

		will_lead_to_war_with = ITA

		available = {
			is_subject = no
			is_neighbor_of = ITA
			NOT = { has_guaranteed = ITA }
			NOT = { has_non_aggression_pact_with = ITA }
			NOT = { is_in_faction_with = ITA }	#56
		}

		bypass = {
			has_war_with = ITA
			ITA = { is_subject_of = ROOT }
		}

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

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			create_wargoal = {
				type = annex_everything
				target = ITA
				expire = 0
			}

			add_state_core = 39
			add_state_claim = 850
			add_state_claim = 853
			add_state_claim = 852
			add_state_claim = 736

			custom_effect_tooltip = generic_skip_one_line_tt

			add_timed_idea = {
				idea = GER_alpine_warfare_idea
				days = 180
			}	

		}
	}

	focus = {
		id = GER_alliance_with_spain
		icon = GFX_focus_intervention_spain_nationalists
		prerequisite = { focus = GER_form_rome_berlin_axis focus = GER_invade_italy }
		mutually_exclusive = { focus = GER_operation_felix }
		x = -2
		y = 1
		relative_position_id = GER_form_rome_berlin_axis
		cost = 5

		bypass = { 
			any_country_with_original_tag = {
				original_tag_to_check = SPR
				is_in_faction_with = ROOT
			}
		}
		
		available = {
			is_subject = no
			if = {
				limit = {
					NOT = { has_dlc = "La Resistance" }
				}
				any_country_with_original_tag = {
					original_tag_to_check = SPR
					has_government = fascism
					exists = yes
					NOT = { has_war_with = ROOT }
					has_civil_war = no
					is_subject = no
					is_in_faction = no
				}
			}
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				SPA = {
					exists = yes
					NOT = { has_war_with = ROOT }
					has_civil_war = no
					is_subject = no
					is_in_faction = no
				}
			}
			FRA = {
				OR = {
					exists = no
					has_capitulated = yes
					has_government = fascism
					is_ally_with = ROOT
				}
			}
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				OR = {
					is_historical_focus_on = yes
					date < 1942.01.01
					surrender_progress > 0
					AND = {
						has_war_with = ENG
						ENG = { surrender_progress < 0.2 }
					}
				}
			}
			modifier = {
				factor = 0
				OR = {
					has_government = democratic
					has_government = communism
				}
			}
		}
		
		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			if = {
				limit = {
					OR = { 
						AND = {
							NOT = { has_dlc = "La Resistance" }
							NOT = { country_exists = SPR }
							SPR = { NOT = { has_government = fascism } }
						}
						AND = {
							has_dlc = "La Resistance"
							NOT = { country_exists = SPA }
						}
					}
				}
				custom_effect_tooltip = GER_nationalist_spain_ally_tt
			}
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				SPA = {
					if = {
						limit = {
							has_idea = SPA_recovering_from_civil_war
						}
						remove_ideas = SPA_recovering_from_civil_war
					}
					else = {
						effect_tooltip = {
							remove_ideas = SPA_recovering_from_civil_war
						}
					}
					add_opinion_modifier = { target = ROOT modifier = ger_spa_alliance_focus }
					
					custom_effect_tooltip = generic_skip_one_line_tt

					hidden_effect = {
						add_ai_strategy = {
							type = befriend
							id = ROOT
							value = 50
						}
						ROOT = {
							add_ai_strategy = {
								type = befriend
								id = PREV
								value = 50
							}
						}
						country_event = { id = generic.5 hours = 4 random_hours = 4 }
					}
					custom_effect_tooltip = generic_invite_to_faction_tt
				}
			}
			else = {
				random_country_with_original_tag = {
					original_tag_to_check = SPR
					limit = {
						has_government = fascism
						exists = yes
						NOT = { has_war_with = ROOT }
						is_subject = no
						is_in_faction = no
					}
					if = {
						limit = {
							has_idea = SPA_recovering_from_civil_war
						}
						remove_ideas = SPA_recovering_from_civil_war
					}
					else = {
						effect_tooltip = {
							remove_ideas = SPA_recovering_from_civil_war
						}
					}
					add_opinion_modifier = { target = ROOT modifier = ger_spa_alliance_focus }

					custom_effect_tooltip = generic_skip_one_line_tt

					hidden_effect = {
						add_ai_strategy = {
							type = befriend
							id = ROOT
							value = 50
						}
						ROOT = {
							add_ai_strategy = {
								type = befriend
								id = PREV
								value = 50
							}
						}
						country_event = { id = generic.5 hours = 4 random_hours = 4 }
					}
					custom_effect_tooltip = generic_invite_to_faction_tt
				}
			}
		}
	}

	focus = {
		id = GER_operation_felix
		icon = GFX_focus_generic_attack_nationalist_spain_focus
		prerequisite = { focus = GER_form_rome_berlin_axis focus = GER_invade_italy }
		mutually_exclusive = { focus = GER_alliance_with_spain }
		x = 2
		y = 0
		relative_position_id = GER_alliance_with_spain
		cost = 10

		available = {
			is_subject = no
			any_country_with_original_tag = {
				original_tag_to_check = SPR
				exists = yes
				has_civil_war = no
			}
		}
		
		bypass = {
			any_country_with_original_tag = {
				original_tag_to_check = SPR
				OR = {
					is_ally_with = ROOT
					has_war_with = ROOT
				}
			}
		}

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

		will_lead_to_war_with = SPA
		will_lead_to_war_with = SPR

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			if = {
				limit = {
					any_country_with_original_tag  = {
						original_tag_to_check = SPR
						has_government = fascism
						exists = yes
						has_civil_war = no
						has_capitulated = no
						is_subject = no
						is_in_faction = no
					}
				}
				random_country_with_original_tag = {
					original_tag_to_check = SPR
					limit = {
						has_government = fascism
						exists = yes
						has_civil_war = no
						has_capitulated = no
						is_subject = no
						is_in_faction = no
					}
					country_event = { id = wuw_GER_diplomacy.114 days = 1 }
					custom_effect_tooltip = if_they_accept_tt
					effect_tooltip = {
						ROOT = {
							puppet = PREV
						}
					}

					custom_effect_tooltip = if_they_refuse_tt
					effect_tooltip = {
						ROOT = {
							create_wargoal = {
								type = puppet_wargoal_focus
								target = PREV
							}
						}
					}
				}
			}
			else = {
				random_country_with_original_tag = {
					original_tag_to_check = SPR
					limit = {
						exists = yes
						has_civil_war = no
					}
					ROOT = {
						create_wargoal = {
							type = puppet_wargoal_focus
							target = PREV
						}
					}
				}
			}
		}
	}

	focus = {
		id = GER_alliance_with_portugal
		icon = GFX_focus_generic_befriend_portugal
		prerequisite = { focus = GER_alliance_with_spain focus = GER_operation_felix }
		mutually_exclusive = { focus = GER_operation_isabella }
		x = 0
		y = 1
		relative_position_id = GER_alliance_with_spain
		cost = 5

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				OR = {
					has_government = democratic
					has_government = communism
				}
			}
		}
		
		available_if_capitulated = yes
		
		available = {
			POR = {
				exists = yes
				NOT = { has_war_with = ROOT }
				OR = {
					has_government = fascism
					has_government = neutrality
				}
				is_in_faction = no
				is_subject = no
				has_civil_war = no
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			POR = {
				add_opinion_modifier = { target = GER modifier = ger_por_alliance_focus }
				
				custom_effect_tooltip = generic_skip_one_line_tt

				hidden_effect = {
					add_ai_strategy = {
						type = befriend
						id = ROOT
						value = 50
					}
					ROOT = {
						add_ai_strategy = {
							type = befriend
							id = PREV
							value = 50
						}
					}
					country_event = { id = generic.5 hours = 4 random_hours = 4 }
				}
				custom_effect_tooltip = generic_invite_to_faction_tt
			}
		}
	}
	
	focus = {
		id = GER_operation_isabella

		icon = GFX_focus_generic_attack_portugal

		prerequisite = { focus = GER_operation_felix focus = GER_alliance_with_spain }

		mutually_exclusive = { focus = GER_alliance_with_portugal }

		x = 0
		y = 1
		relative_position_id = GER_operation_felix

		cost = 10

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				OR = {
					has_government = democratic
					has_government = communism
				}
			}
		}
		
		available = {
			is_subject = no
			NOT  = { is_in_faction_with = POR }
			POR = {
				exists = yes
				has_civil_war = no
				is_subject = no
			}
		}

		will_lead_to_war_with = POR

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			if = {
				limit = {
					POR = {
						has_government = fascism
					}
				}
				POR = { country_event = { id = wuw_GER_diplomacy.114 days = 1 }	}

				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					GER = {
						puppet = POR
					}
				}

				custom_effect_tooltip = if_they_refuse_tt
				effect_tooltip = {
					GER = {
						create_wargoal = {
							type = puppet_wargoal_focus
							target = POR
						}
					}
				}
			}
			else = {
				GER = {
					create_wargoal = {
						type = annex_everything
						target = POR
					}
				}
			}
		}
	}
	
	focus = {
		id = GER_danzig_or_war

		icon = GFX_goal_GER_danzig_or_war
		alternate_icon = GFX_goal_GER_danzig_or_war_historical

		prerequisite = { focus = GER_reassert_eastern_claims }
		mutually_exclusive = { focus = GER_befriend_poland }
		x = 0
		y = 3
		relative_position_id = GER_reassert_eastern_claims
		cost = 10

		will_lead_to_war_with = POL

		bypass = {
			OR = {
				has_war_with = POL
				is_in_faction_with = POL
				NOT = {
					85 = {
						controller = {
							OR = {
								original_tag = POL
								is_subject_of = POL
							}
						}
						owner = {
							OR = {
								original_tag = POL
								is_subject_of = POL
							}
						}
					}
				}
			}
		}

		continue_if_invalid = yes

		available = {
			r56_script_i_am_sane = yes
			is_subject = no
			OR = {
				has_army_manpower = {
					size > 950000
				}
				AND = {
					strength_ratio = {	#added rt56
						tag = POL
						ratio > 1
					}
					has_completed_focus = GER_molotov_ribbentrop_pact	#added new since this is no longer a prerequisite
				}
			}
			#Make custom trigger tooltip here
			85 = {
				owner = {
					OR = {
						original_tag = POL
						is_subject_of = POL
					}
				}
				controller = {
					OR = {
						original_tag = POL
						is_subject_of = POL
					}
				}
			}
			OR = {
				POL = {
					has_civil_war = no
				}
				#custom_trigger_tooltip = {
					#tooltip = GER_danzig_trigger_polish_civil_war
					AND = {
						any_other_country = {
							original_tag = POL
							has_civil_war = yes
							OR = {
								is_in_faction_with = ROOT
								has_volunteers_amount_from = {
									tag = GER
									count > 0
								}
							}
						}
					}
				#}
			}
		}

		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 = {
			add_named_threat = { threat = 5 name = GER_danzig_or_war }
			if = {
				limit = {
					85 = {
						controller = {
							OR = {
								tag = POL
								is_subject_of = 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
								is_subject_of = 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
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = GER_generalgouvernement
		}
	} 
	
	focus = {
		id = GER_befriend_poland
		icon = GFX_focus_generic_polish_deal
		prerequisite = { focus = GER_fate_of_czechoslovakia focus = GER_befriend_czechoslovakia }
		mutually_exclusive = {
			focus = GER_danzig_or_war
		}

		x = 0
		y = 1
		relative_position_id = GER_fate_of_czechoslovakia
		cost = 5
		
		bypass = {
			is_in_faction_with = POL
			is_alone_or_in_faction_at_peace_with_GER = no
		}

		available = {
			is_subject = no
			NOT = { has_global_flag = sov_yes_pact }
			NOT = { has_war_with = POL }
			POL = {
				custom_trigger_tooltip = {
					tooltip = GER_alone_or_peace_faction_tt
					is_alone_or_in_faction_at_peace_with_GER = yes
				}
			}
		}

		ai_will_do = {
			factor = 0
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			POL = {
				add_opinion_modifier = { target = GER modifier = ger_pol_diplomacy_focus }
				if = {
					limit = {
						GER = {
							has_government = fascism
						}
					}
					add_timed_idea = { idea = fascist_influence days = 1095 }
				}
				if = {
					limit = {
						GER = {
							has_government = communism
						}
					}
					add_timed_idea = { idea = communist_influence days = 1095 }
				}
				if = {
					limit = {
						GER = {
							has_government = democratic
						}
					}
					add_timed_idea = { idea = democratic_influence days = 1095 }
				}
				country_event = { id = generic.1 }
			}
		}
	}

	focus = {
		id = GER_danzig_for_slovakia

		icon = GFX_goal_generic_intelligence_exchange

		prerequisite = { focus = GER_befriend_poland }

		x = 0
		y = 1
		relative_position_id = GER_befriend_poland

		cost = 10

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				OR = {
					has_government = democratic
					has_government = communism
				}
			}
		}
		
		available = {
			is_subject = no
			OR = {
				SLO = {
					exists = yes
					is_in_faction_with = GER
				}
				owns_state = 70
			}
			NOT = { owns_state = 85 }
			NOT = { has_war_with = POL }
			IF = {
				limit = {
					NOT = { has_completed_focus = GER_integrate_czechoslovakia }
				}
				POL = { owns_state = 72 }
			}
		}

		bypass = {
			OR = {
				POL = {
					exists = no
				}
				owns_state = 85
				has_war_with = POL
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			POL = {
				country_event = { 
					id = germany.80
					days = 1
				}
			}

		}
	}
	
	focus = {
		id = GER_subjugate_romanian_economy
		icon = GFX_focus_GER_subjugate_romanian_economy
		prerequisite = { focus = GER_befriend_poland focus = GER_danzig_or_war }

		x = -2
		y = 1
		relative_position_id = GER_danzig_or_war
		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_influence_the_benelux
		icon = GFX_focus_generic_influence_benelux
		prerequisite = { focus = GER_befriend_poland focus = GER_danzig_or_war }
		mutually_exclusive = { focus = GER_around_maginot }
		x = 1
		y = 2
		relative_position_id = GER_befriend_poland
		cost = 5
		available = {
			is_subject = no
		}

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

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			custom_effect_tooltip = GER_unlock_influence_countries_tt
		}
	}
	
	focus = {
		id = GER_around_maginot

		icon = GFX_focus_GER_around_maginot
		alternate_icon = GFX_focus_GER_around_maginot_historical

		prerequisite = { focus = GER_befriend_poland focus = GER_danzig_or_war }
		mutually_exclusive = { focus = GER_influence_the_benelux }
		x = -1
		y = 2
		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
		will_lead_to_war_with = WLL	#56
		will_lead_to_war_with = FLA	#56

		bypass = {
			HOL = {
				OR = {
					exists = no
					is_in_faction_with = GER
					has_war_with = ROOT
				}
			}
			BEL = {
				OR = {
					exists = no
					is_in_faction_with = GER
					has_war_with = ROOT
				}
			}
			LUX = {
				OR = {
					exists = no
					is_in_faction_with = GER
					has_war_with = ROOT
				}
			}
		}

		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 }
					NOT = { tag = LIE }
					NOT = { tag = LUX } #You're a funny guy
					NOT = { tag = LIT }
					has_war_with = ROOT
					surrender_progress < 0.5
				}
			}
		}

		ai_will_do = {
			factor = 11		
			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 = {
			#limit wargoals to when it makes sense to give them. No faction, war or non exist
			if = { 
				limit = {
					country_exists = BEL
					NOT = { BEL = { is_in_faction_with = GER } }
					NOT = { has_war_with = BEL }
				}
				create_wargoal = {
					type = take_state_focus
					target = BEL
					expire = 0
					generator = { 6 }
				}
			}
			if =  {
				limit = {
					country_exists = HOL
					NOT = { HOL = { is_in_faction_with = GER } }
					NOT = { has_war_with = HOL }
					NOT = { HOL = { has_completed_focus = HOL_cave_to_the_germans } }
				}
				create_wargoal = {
					type = take_state_focus
					target = HOL
					expire = 0
					generator = { 7 }
				}
			}
			if =  {
				limit = {
					country_exists = HOL
					NOT = { HOL = { is_in_faction_with = GER } }
					NOT = { has_war_with = HOL }
					HOL = { has_completed_focus = HOL_cave_to_the_germans } 
					NOT = { HOL = { has_completed_focus = HOL_the_netherlands_first } }
				}
				HOL = {
					country_event = { id = mtg_germany.1 hours = 6 }
				}
			}
			if = {
				limit = {
					country_exists = LUX
					NOT = { LUX = { is_in_faction_with = GER } }
					NOT = { has_war_with = LUX }
				}
				create_wargoal = {
					type = take_state_focus
					target = LUX
					expire = 0
					generator = { 8 }
				}		
				add_ai_strategy = { 
					type = conquer
					id = LUX
					value = 100
				}		
			}
			if = {	#56 - Since they are possible lowlands tags, releasing them could theoretically cheese a German AI
				limit = {
					country_exists = WLL
					NOT = { 
						is_ally_with = WLL 
						has_war_with = WLL
					}
				}
				create_wargoal = {
					type = take_state_focus
					target = WLL
					expire = 0
					generator = { 34 }
				}		
				add_ai_strategy = { 
					type = conquer
					id = WLL
					value = 100
				}		
			}
			if = {	#56 - Since they are possible lowlands tags, releasing them could theoretically cheese a German AI
				limit = {
					country_exists = FLA
					NOT = { 
						is_ally_with = FLA 
						has_war_with = FLA
					}
				}
				create_wargoal = {
					type = take_state_focus
					target = FLA
					expire = 0
					generator = { 6 }
				}		
				add_ai_strategy = { 
					type = conquer
					id = FLA
					value = 100
				}		
			}
			hidden_effect = {
				news_event = { hours = 6 id = news.234 }
			}
			hidden_effect = {
				if = { #AI HANDICAP IS BACK!
					limit = {
						difficulty > 1
						GER = {
							is_ai = yes
						}
					}
					add_manpower = 25000
					add_equipment_to_stockpile = {
						type = infantry_equipment
						amount = 25000
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = artillery_equipment
						amount = 250
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = support_equipment
						amount = 250
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = motorized_equipment
						amount = 250
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = medium_tank_chassis
						amount = 250
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = light_tank_chassis
						amount = 25
						producer = GER
					}		
				}
			}
		}
	}

	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 focus = GER_befriend_poland }
		mutually_exclusive = { focus = GER_utilize_the_nordliche_gesellschaft }
		x = 1
		y = 2
		relative_position_id = GER_danzig_or_war
		cost = 4

		will_lead_to_war_with = DEN 
		will_lead_to_war_with = NOR
		
		bypass = {
			AND = {
				DEN = { 
					OR = {
						is_in_faction_with = ROOT
						exists = no
					}
				}
				NOR = { 
					OR = {
						is_in_faction_with = ROOT
						exists = no
					}
				}
			}
		}

		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
		}

		select_effect = {
			if = {
				limit = {
					is_ai = yes
				}
				set_country_flag = r56_GER_prepare_weserubung_strat_is_a_go
			}
		}

		completion_reward = {

			if = {
				limit = {
					NOT = { DEN = { is_in_faction_with = GER } }
					country_exists = DEN					
				} 
				create_wargoal = {
					type = take_state_focus
					target = DEN
					expire = 0
					generator = { 37 }
				}
			}


			if = {
				limit = {
					NOT = { NOR = { is_in_faction_with = GER } }
					country_exists = NOR					
				} 
				create_wargoal = {
					type = take_state_focus
					target = NOR
					expire = 0
					generator = { 110 }
				}
			}
			
			add_tech_bonus = {
				name = tp_bonus
				bonus = 1.0
				ahead_reduction = 2
				uses = 1
				category = tp_tech
			}
			hidden_effect = {
				news_event = { hours = 6 id = news.233 }
			}

			custom_effect_tooltip = GER_weserubung_tt
		}
	}

	focus = {
		id = GER_utilize_the_nordliche_gesellschaft
		icon = GFX_focus_generic_scandinavia_flags
		prerequisite = { focus = GER_influence_the_baltics }
		mutually_exclusive = { focus = GER_operation_weserubung }
		x = 0
		y = 3
		relative_position_id = GER_influence_the_baltics
		cost = 5
		available = {
			is_subject = no
		}

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

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			custom_effect_tooltip = GER_unlock_influence_countries_tt
		}
	}

	focus = {
		id = GER_war_with_france

		icon = GFX_focus_attack_france
		alternate_icon = GFX_focus_GER_war_with_france
		will_lead_to_war_with = FRA	#56

		prerequisite = { focus = GER_around_maginot focus = GER_operation_weserubung }

		x = 1
		y = 1
		relative_position_id = GER_around_maginot
		cost = 10

		bypass = {
			OR = {
				NOT = { country_exists = FRA }
				has_war_with = FRA
			}
		}
		
		available = {
			is_subject = no			
			NOT = { is_in_faction_with = FRA }
		}

		historical_ai = {
			date > 1939.1.1
			NOT = {
				any_neighbor_country = {
					has_war_with = ROOT
				}		
			}
		}

		ai_will_do = {
			factor = 10			
			modifier = {
				factor = 0.05
				date < 1939.1.1
			}
		}
		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			add_named_threat = { threat = 5 name = GER_war_with_france_threat }
 			create_wargoal = {
 				type = take_state_focus
 				target = FRA
 				expire = 0
 				generator = { 28 }
 			}
		}
	}

	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 }
			666 = { is_fully_controlled_by = SWE }
			1026 = { 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 }
		will_lead_to_war_with = SWE	#56

		completion_reward = {
			SWE = {
				country_event = { 
					id = AAT_germany.1 
					hours = 5 
					random_hours = 5 
				} 
			}

			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				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 = 1029 #Västerbotten 
					}
				}

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

				custom_effect_tooltip = if_they_refuse_tt
				create_wargoal = {
					type = take_state_focus
					target = SWE
					expire = 0
					generator = { 1029 666 }
				}
			}
		}
	}

	focus = {
		id = GER_reintegrate_luxemburg_and_alsace_lorraine
		icon = GFX_goal_GER_claim_alsace_lorraine
		prerequisite = { focus = GER_war_with_france }

		x = 5
		y = 1
		relative_position_id = GER_war_with_france
		cost = 10

		cancel_if_invalid = yes
		
		available = {
			is_subject = no
			has_full_control_of_state = 8
			has_full_control_of_state = 28
			has_full_control_of_state = 965
			OR = {
				owns_state = 28
				FRA = { has_capitulated = yes }
				FRA = { is_subject_of = ROOT }
				all_country_with_original_tag = {
					original_tag_to_check = FRA
					exists = no
				}
			}
			OR = {
				LUX = { has_capitulated = yes }
				LUX = { is_subject_of = ROOT }
				all_country_with_original_tag = {
					original_tag_to_check = LUX
					exists = no
				}
			}
			OR = {
				owns_state = 965
				BEL = { has_capitulated = yes }
				BEL = { is_subject_of = ROOT }
				all_country_with_original_tag = {
					original_tag_to_check = BEL
					exists = no
				}
			}
		}

		bypass = {
			8 = { is_core_of = ROOT }
			28 = { is_core_of = ROOT }
			965 = { is_core_of = ROOT }
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_MANPOWER }
		
		completion_reward = {
			add_state_core = 8
			add_state_core = 28
			add_state_core = 965
			if = {
				limit = {
					NOT = { owns_state = 28 }
				}
				transfer_state = 28
			}
			if = {
				limit = {
					NOT = { owns_state = 965 }
				}
				transfer_state = 965
			}
			# 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_with_original_tag = {
						original_tag_to_check = FRA
						exists = yes
					}
				}
				FRA = {
					country_event = { id = wtt_germany.63 }
				}
			}
			if = {
				limit = {
					any_country_with_original_tag = {
						original_tag_to_check = LUX
						exists = yes
					}
				}
				LUX = {
					country_event = { id = wtt_germany.64 }
				}
			}
			if = {
				limit = {
					any_country_with_original_tag = {
						original_tag_to_check = BEL
						exists = yes
					}
				}
				BEL = {
					country_event = { id = wtt_germany.64 }
				}
			}
		}
	}
	
	focus = {
		id = GER_operation_tannenbaum
		icon = GFX_focus_attack_switzerland
		prerequisite = { focus = GER_war_with_france }
		mutually_exclusive = { focus = GER_the_swiss_gold }
		x = 1
		y = 1
		relative_position_id = GER_war_with_france
		cost = 10

		will_lead_to_war_with = SWI
		will_lead_to_war_with = LIE
		
		available = {
			has_army_manpower = {
				size > 624999
			}
			r56_script_i_am_sane = yes
			OR = {
				AND = {
					is_neighbor_of = SWI
					SWI = {
						r56_script_target_is_sane = yes
					}
				}
				AND = {
					is_neighbor_of = LIE
					LIE = {
						r56_script_target_is_sane = yes
					}
				}
			}
		}
		bypass = {
			SWI = {
				r56_script_standard_bypass = yes
			}
			LIE = {
				r56_script_standard_bypass = yes
			}
		}

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

		search_filters = { FOCUS_FILTER_ANNEXATION }
		
		completion_reward = {

			create_wargoal = {
				type = annex_everything
				target = SWI
				expire = 0
			}
			create_wargoal = {
				type = annex_everything
				target = LIE
				expire = 0
			}

			add_state_claim = 845
			add_state_claim = 3
			add_state_claim = 151
			add_state_claim = 847
			add_state_claim = 997

			if = {
				limit = {
					ITA = {
						OR = {
							is_in_faction_with = ROOT
							is_subject_of = ROOT
						}
					}
				}
				ITA = {
					add_state_claim = 846
				}
			}
			else = {
				add_state_claim = 846
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_timed_idea = {
				idea = GER_operation_tannenbaum_ns
				days = 180
			}

		}
	}
	
	focus = {
		id = GER_the_swiss_gold
		icon = GFX_focus_GER_the_swiss_gold
		prerequisite = { focus = GER_war_with_france }
		mutually_exclusive = { focus = GER_operation_tannenbaum }
		x = 3
		y = 1
		relative_position_id = GER_war_with_france
		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_secure_finland

		icon = GFX_focus_FIN_keepers_of_the_north

		prerequisite = { focus = GER_operation_weserubung focus = GER_utilize_the_nordliche_gesellschaft }

		x = 0
		y = 1
		relative_position_id = GER_utilize_the_nordliche_gesellschaft

		cost = 5

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

		available = {
			is_subject = no
			NOT = { has_war_with = FIN }
			NOT = { is_ally_with = FIN }
			NOT = { has_guaranteed = FIN }
			NOT = { has_non_aggression_pact_with = FIN }
			country_exists = FIN 
			FIN = {
				NOT = { is_ally_with = SOV }
				NOT = { is_guaranteed_by = SOV }
				NOT = { has_non_aggression_pact_with = SOV }
				OR = {
					NOT = { has_completed_focus = FIN_the_lone_wolf }
					NOT = { has_government = neutrality }
				}
			}
		}

		will_lead_to_war_with = FIN

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			if = {
				limit = {
					FIN = {
						is_subject = no
						is_in_faction = no
					}
				}
				FIN = {
					country_event = { id = wuw_GER_realpolitik.1 days = 1 }
				}
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					GER = {
						add_to_faction = FIN
					}
				}

				custom_effect_tooltip = if_they_refuse_tt
				effect_tooltip = {
					GER = {
						create_wargoal = {
							type = annex_everything
							target = FIN
						}
					}
				}
			}
			else = {
				create_wargoal = {
					type = annex_everything
					target = FIN
				}
			}
		}
	}

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

		x = -1
		y = 1
		relative_position_id = GER_war_with_france
		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_operation_green
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = GER_operation_sea_lion }

		x = 1
		y = 1
		relative_position_id = GER_operation_sea_lion
		cost = 4

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

		will_lead_to_war_with = IRE
		will_lead_to_war_with = NIR	#56

		available = {
			is_subject = no
			OR = {
				IRE = {
					exists = yes
					NOT = { has_war_with = ROOT }
					NOT = { is_ally_with = ROOT }
					NOT = { is_guaranteed_by = ROOT }
					NOT = { has_non_aggression_pact_with = ROOT }
				}
				NIR = {
					exists = yes
					NOT = { has_war_with = ROOT }
					NOT = { is_ally_with = ROOT }
					NOT = { is_guaranteed_by = ROOT }
					NOT = { has_non_aggression_pact_with = ROOT }
				}
			}
			OR = {
				has_war_with = ENG
				NOT = { country_exists = ENG }
				is_ally_with = ENG
				has_country_flag = GER_grossbritannien_rkm_established_flag
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			if = {
				limit = {
					IRE = {
						exists = yes
						NOT = { has_war_with = ROOT }
						NOT = { is_ally_with = ROOT }
						NOT = { is_guaranteed_by = ROOT }
						NOT = { has_non_aggression_pact_with = ROOT }
					}
				}
				create_wargoal = {
					type = puppet_wargoal_focus
					target = IRE
					expire = 0
				}
			}
			if = {
				limit = {
					NIR = {
						exists = yes
						NOT = { has_war_with = ROOT }
						NOT = { is_ally_with = ROOT }
						NOT = { is_guaranteed_by = ROOT }
						NOT = { has_non_aggression_pact_with = ROOT }
					}
				}
				create_wargoal = {
					type = puppet_wargoal_focus
					target = NIR
					expire = 0
				}
			}
		}
	}
	
	focus = {
		id = GER_crossing_the_atlantic
		icon = GFX_goal_generic_build_navy
		prerequisite = { focus = GER_operation_sea_lion }

		x = 0
		y = 2
		relative_position_id = GER_operation_sea_lion
		cost = 10
		
		available = {
			is_subject = no
			custom_trigger_tooltip = {
				tooltip = GER_crossing_the_atlantic_trigger_tt
				NOT = {
					any_enemy_country = {
						is_major = yes
						any_owned_state = { 
							is_on_continent = europe 
							OR = {
								controller = {
									original_tag = PREV
									is_in_faction_with = PREV
								}
							}
						}
					}
				}
			}
		}

		bypass = {
			USA = {
				exists = no
			}
		}

		will_lead_to_war_with = USA

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			IF = {
				limit = {
					NOT = {
						OR = {
							has_war_with = USA
							has_wargoal_against = {
								target = USA
							}
						}
					}

				}
				create_wargoal = {
					type = annex_everything
					target = USA
				}

				custom_effect_tooltip = generic_skip_one_line_tt
			}

			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_operation_bolivar
		icon = GFX_goal_generic_intelligence_exchange
		cost = 5
		allow_branch = {
			
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_heed_von_neuraths_concerns }
			}
			NOT = {
				has_completed_focus = GER_oppose_hitler_ww
				has_completed_focus = GER_oppose_hitler
				has_completed_focus = GER_die_letzte_verschwoerung
				has_completed_focus = GER_kill_hitler
			}
			has_dlc = "La Resistance"
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = GER_kill_hitler
					has_completed_focus = GER_die_letzte_verschwoerung
					has_completed_focus = GER_oppose_hitler_ww
				}
			}
		}
		prerequisite = { focus = GER_crossing_the_atlantic }

		x = 0
		y = 1
		relative_position_id = GER_crossing_the_atlantic

		ai_will_do = {
			factor = 10
			modifier = {
				is_historical_focus_on = yes
				factor = 0.5
			}
		}
		available = {
			has_intelligence_agency = yes
		}
		completion_reward = {
			add_command_power = 25
			add_ideas = GER_abwehr_contacts
			create_operative_leader = {
				name = "Bruno Dittman"
				portrait_path = gfx/leaders/Europe/portrait_europe_generic_operative_male_24.dds
				traits = {
					operative_demolition_expert
				}
				bypass_recruitment = no
				available_to_spy_master = yes
				nationalities = {
					GER CHL
				}
			}
			create_operative_leader = {
				name = "George Nicolaus"
				portrait_path = gfx/leaders/Europe/portrait_europe_generic_operative_male_25.dds
				traits = {
					operative_demolition_expert
				}
				bypass_recruitment = no
				available_to_spy_master = yes
				nationalities = {
					GER MEX
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_ESPIONAGE
		}
	}
	
	focus = {
		id = GER_challenge_the_monroe_doctrine

		icon = GFX_focus_por_recover_latin_america

		prerequisite = { focus = GER_crossing_the_atlantic }

		x = -1
		y = 1
		offset = {
			x = -1
			y = 0
			trigger = {
				has_dlc = "La Resistance"
			}
		}
		relative_position_id = GER_crossing_the_atlantic

		cost = 5

		available = {
			NOT = {
				has_war_with = USA
				is_in_faction_with = USA
			}
			is_subject = no
			has_government = fascism
			USA = {
				NOT = {
					has_government = fascism
					has_government = neutrality 
				}
			}

			custom_trigger_tooltip = {
				tooltip = GER_challenge_the_monroe_doctrine_tt_2
				check_variable = { global.monroe_doctrine_countries_to_destabilize^num > 6}
			}
			
		}

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

		search_filters = { FOCUS_FILTER_POLITICAL }

		select_effect = {
			GER_setup_monroe_doctrine_countries_to_destabilize_array = yes
		}

		completion_reward = {

			set_country_flag = GER_destabilize_monroe_flag

			custom_effect_tooltip = GER_challenge_the_monroe_doctrine_tt

			hidden_effect = {
				IF = {
					limit = {
						USA = {
							OR = {
								has_government = democratic
								has_government = communism
							}
						}
					}
					USA = {
						country_event = {
							id = wuw_GER_monroe.1
							hours = 12
						}
					}
				}
			}

			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_johannes_becker = yes
			}
		}
	}

	focus = {
		id = GER_shatter_usas_hegemony
		icon = GFX_focus_GER_shatter_usas_hegemony
		prerequisite = { focus = GER_crossing_the_atlantic }

		x = 1
		y = 1
		offset = {
			x = 1
			y = 0
			trigger = {
				has_dlc = "La Resistance"
			}
		}
		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 = {
				country_exists = no
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			add_timed_idea = {
				idea = GER_shatter_USA_hegemony_ns
				days = 365
			}
		}
	}
	
	focus = {
		id = GER_establish_protectorates_in_america
		icon = GFX_focus_GER_establish_protectorates_in_america
		prerequisite = { focus = GER_challenge_the_monroe_doctrine focus = GER_shatter_usas_hegemony }

		x = 1
		y = 1
		offset = {
			x = 1
			y = 0
			trigger = {
				has_dlc = "La Resistance"
			}
		}
		relative_position_id = GER_challenge_the_monroe_doctrine
		cost = 10
		available = {
			is_subject = no
			has_government = fascism
			has_completed_focus = GER_uplift_the_rosenberg_office
			any_controlled_state = {
				OR = {
					is_on_continent = south_america
					is_on_continent = north_america
				}
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

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

		completion_reward = {

			every_state = {
				limit = {
					is_on_continent = south_america
					OWNER = {
						capital_scope = {
							NOT = {
								is_on_continent = south_america 
							}
						}
					}
					NOT = {
						OR = {
							is_claimed_by = ROOT
							is_core_of = ROOT
							is_owned_by = ROOT
						}
					}
				}
				add_claim_by = ROOT
			}
			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = GER_reichskommissariat_klein_venedig
			unlock_decision_tooltip = GER_reichskommissariat_anden
			unlock_decision_tooltip = GER_reichskommissariat_kolumbus
			unlock_decision_tooltip = GER_reichskommissariat_nordamerika

		}
	}

	focus = {
		id = GER_demand_slovenia
		icon = GFX_goal_AUS_demand_slovenia
		prerequisite = { focus = GER_anschluss }

		x = 6
		y = 1
		relative_position_id = GER_anschluss
		cost = 10

		mutually_exclusive = {
			focus = GER_resolve_the_balkan_flank
		}
		
		bypass = {
			OR = {
				NOT = {
					AND = {
						OR = {
							YUG = { owns_state = 102 }
							102 = { owner = { is_subject_of = YUG } }
						}
						OR = {
							YUG = { owns_state = 853 }
							853 = { owner = { is_subject_of = YUG } }
						}
					}
				}
				AND = {
					102 = {
						owner = {
							is_in_faction_with = ROOT
						}
					}
					853 = {
						owner = {
							is_in_faction_with = ROOT
						}
					}
				}
				has_war_with = YUG
				is_in_faction_with = YUG
				YUG = { is_subject_of = GER }
				YUG = { has_non_aggression_pact_with = GER }
				YUG = { has_opinion_modifier = tripartite_pact_opinion }
			}
		}

		cancel_if_invalid = yes

		available = {
			is_subject = no
			controls_state = 4
			controls_state = 152
			has_army_manpower = { size > 749999 } #ca 80 div
		}

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

		will_lead_to_war_with = YUG
		will_lead_to_war_with = ENG
		will_lead_to_war_with = SLV	#56
		
		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			add_named_threat = { 
				threat = 2 
				name = GER_demand_slovenia_threat 
			}

			YUG = { 
				add_opinion_modifier = { 
					target = GER 
					modifier = GER_demand_slovenia_YUG 
				} 
			}

			if = {
				limit = {
					NOT = { has_war_with = ENG }
					YUG = { 
						is_subject = no
						NOT = { has_war_with = ENG }
					}
					ENG = {
						exists = yes
					}
				}
				ENG = {
					country_event = { 
						id = britain.14 
						hours = 6
					}
				}
			}
			else_if = {
				limit = {
					YUG = {
						exists = yes
					}
				}
				create_wargoal = {
					type = annex_everything
					target = YUG
					expire = 0
				}
			}

			else = {

				IF = {
					limit = {
						102 = {
							owner = {
								owns_state = 853
							}
						}
					}
					102 = {
						owner = {
							ROOT = {
								create_wargoal = {
									type = take_claimed_state
									target = PREV
									generator = { 102 853}
								}
							}
						}
					}
				}

				ELSE = {
					IF = {
						limit = {
							102 = {
								owner = {
									NOT = {
										is_in_faction_with = ROOT
									}
								}
							}
						}
	
						102 = {
							owner = {
								ROOT = {
									create_wargoal = {
										type = take_claimed_state
										target = PREV
										generator = { 102 }
									}
								}
							}
						}
					}
					
					IF = {
						limit = {
							853 = {
								owner = {
									NOT = {
										is_in_faction_with = ROOT
									}
								}
							}
						}
	
						853 = {
							owner = {
								ROOT = {
									create_wargoal = {
										type = take_claimed_state
										target = PREV
										generator = { 853 }
									}
								}
							}
						}
					}
				}
			}
		}
	}

	focus = {
		id = GER_resolve_the_balkan_flank
		icon = GFX_focus_generic_balkan_diplomacy
		cost = 5.00
		prerequisite = {
			focus = GER_anschluss
		}
		relative_position_id = GER_demand_slovenia
		mutually_exclusive = {
			focus = GER_demand_slovenia
		}
		x = 2
		y = 0
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0.1
				has_war_with = FRA
				NOT = {
					FRA = {
						has_capitulated = yes
					}
				}
			}
			modifier = {
				factor = 0.1
				has_war_with = CZE
				NOT = {
					CZE = {
						has_capitulated = yes
					}
				}
			}
			modifier = {
				factor = 0.1
				has_war_with = POL
				NOT = {
					POL = {
						has_capitulated = yes
					}
				}
			}
		}

		will_lead_to_war_with = YUG

		available = {
			has_war_with_major = yes
			r56_script_i_am_sane = yes
			has_army_manpower = {
				size > 874999 
			}
			if = {
				limit = {
					is_ai = yes
				}
				is_neighbor_of = YUG
				controls_state = 4
				controls_state = 1054
				surrender_progress < 0.01
			}
			YUG = {
				r56_script_target_is_sane = yes
			}
		}

		bypass = {
			YUG = {
				r56_script_standard_bypass = yes
			}
		}

		will_lead_to_war_with = YUG

		completion_reward = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = YUG
				expire = 0
			}
		}
		search_filters = {
			FOCUS_FILTER_ANNEXATION
		}
	}

	focus = {
		id = GER_first_ljubljana_award
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = GER_demand_slovenia focus = GER_resolve_the_balkan_flank }

		x = 1
		y = 1
		relative_position_id = GER_demand_slovenia
		cost = 5
		
		bypass = {
			OR = {	
				is_in_faction_with = YUG
				has_war_with = YUG
				YUG = { has_non_aggression_pact_with = GER }
				YUG = { has_opinion_modifier = tripartite_pact_opinion }
				NOT = { country_exists = YUG }
				NOT = {
					OR = {
						YUG = {
							owns_state = 45
						}
						45 = { owner = { is_subject_of = YUG } }
						
						YUG = {
							owns_state = 106
						}
						106 = { owner = { is_subject_of = YUG } }
					}
				}
				AND = {
					HUN = { is_friend_or_potential_friend_of_GER = no }
					BUL = { is_friend_or_potential_friend_of_GER = no }
					ITA = { is_friend_or_potential_friend_of_GER = no }
				}
			}
		}

		available = {
			is_subject = no
			NOT = { is_in_faction_with = YUG }
			NOT = { YUG = { has_non_aggression_pact_with = GER } }
			NOT = { YUG = { has_opinion_modifier = tripartite_pact_opinion } }
			OR = {
				AND = {
					country_exists = YUG
					NOT = { has_war_with = YUG }
					OR = {
						owns_state = 102
						102 = { owner = { is_subject_of = YUG } }
						owns_state = 853
						853 = { owner = { is_subject_of = YUG } }
					}
				}
				custom_trigger_tooltip = {
					tooltip = GER_first_ljubljana_award_tt
					AND = {
						NOT = { country_exists = YUG }
						OR = {
							owns_state = 102
							102 = { owner = { is_subject_of = YUG } }
						}
						OR = {
							owns_state = 853
							853 = { owner = { is_subject_of = YUG } }
						}
						OR = {
							owns_state = 45
							45 = { owner = { is_subject_of = YUG } }
						}
						OR = { #Macedonia
							owns_state = 106
							106 = { owner = { is_subject_of = YUG } }
						}
						OR = { #New Southern Serbia state
							owns_state = 803
							803 = { owner = { is_subject_of = YUG } }
						}
						OR = { #Herzegovina
							owns_state = 804
							804 = { owner = { is_subject_of = YUG } }
						}
						OR = { #Kosovo
							owns_state = 802
							802 = { owner = { is_subject_of = YUG } }
						}
						OR = {
							owns_state = 103
							103 = { owner = { is_subject_of = YUG } }
						}
						OR = {
							owns_state = 105
							105 = { owner = { is_subject_of = YUG } }
						}
						OR = {
							owns_state = 970
							970 = { owner = { is_subject_of = YUG } }
						}
					}
				}
			}
			OR = {
				YUG = {
					is_subject = no
				}
				YUG = {
					is_puppet_of = GER
				}
			}
		}

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

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			if = {
				limit = {
					HUN = {
						is_friend_or_potential_friend_of_GER = yes
						NOT = { is_in_faction_with = YUG }
					}
				}
				hidden_effect = {
					if = {
						limit = { 
							OR = {
								45 = { is_owned_by = YUG }
								45 = { is_owned_by = GER }
							}
						}
						HUN = {
							country_event = { id = hungary.6 days = 1 }
							add_opinion_modifier = { target = GER modifier = GER_first_ljubljana_award_GER }
							set_country_flag = GER_first_ljubljana_award
						}
					}
				}
				effect_tooltip = {
					if = {
						limit = {
								OR = {
									45 = { is_owned_by = YUG }
									45 = { is_owned_by = GER }
								}
						}
						HUN = {
							add_opinion_modifier = { target = GER modifier = GER_first_ljubljana_award_GER }
							transfer_state = 45
						}
					}
				}
				every_other_country = {
					limit = { 
						is_faction_leader = yes
						NOT = { tag = GER }
					}
					reverse_add_opinion_modifier = { target = HUN modifier = GER_first_ljubljana_award_other }
				}				
			}
			if = {
				limit = {
					BUL = {
						is_friend_or_potential_friend_of_GER = yes
						NOT = { is_in_faction_with = YUG }
					}
				}
				hidden_effect = {
					if = {
						limit = {
							OR = {
								106 = { is_owned_by = YUG }
								106 = { is_owned_by = GER }
								803 = { is_owned_by = YUG }
								803 = { is_owned_by = GER }
							}
						}
						BUL = { 
							country_event = { id = bulgaria.3 days = 1 } 
							add_opinion_modifier = { target = GER modifier = GER_first_ljubljana_award_GER }
							set_country_flag = GER_first_ljubljana_award
						}
					}
				}
				effect_tooltip = {
					if = {
						limit = {
							OR = {
								106 = { is_owned_by = YUG }
								106 = { is_owned_by = GER }
								803 = { is_owned_by = YUG }
								803 = { is_owned_by = GER }
							}
						}
						BUL = {
							add_opinion_modifier = { target = GER modifier = GER_first_ljubljana_award_GER }
							if = {
								limit = {
									106 = { is_owned_by = YUG }
									106 = { is_owned_by = GER }
								}
								transfer_state = 106
							}
							if = {
								limit = {
									803 = { is_owned_by = YUG }
									803 = { is_owned_by = GER }
								}
								transfer_state = 803
							}
						}
					}
				}
				every_other_country = {
					limit = { 
						is_faction_leader = yes
						NOT = { tag = GER }
					}
					reverse_add_opinion_modifier = { target = BUL modifier = GER_first_ljubljana_award_other }
				}				
			}
			if = {
				limit = {
					ITA = {
						OR = {
							has_completed_focus = ITA_balkan_ambition
							owns_state = 44
						}
						is_friend_or_potential_friend_of_GER = yes
						NOT = { is_in_faction_with = YUG }
					}
				}
				hidden_effect = {
					ITA = { country_event = { id = italy.13 days = 1 } 
						add_opinion_modifier = { target = GER modifier = GER_first_ljubljana_award_GER }
					}
					set_country_flag = GER_first_ljubljana_award
				}
				effect_tooltip = {
					ITA = {
						add_opinion_modifier = { target = GER modifier = GER_first_ljubljana_award_GER }
						if = {
							limit = { has_completed_focus = ITA_balkan_ambition }
							transfer_state = 103
						}
						if = {
							limit = { owns_state = 44 }
							transfer_state = 105
						}
						if = {
							limit = { owns_state = 44 }
							transfer_state = 802
						}
						if = {
							limit = { owns_state = 44 }
							transfer_state = 934
						}
						if = {
							limit = { owns_state = 44 }
							transfer_state = 970
						}
					}
				}
				every_other_country = {
					limit = { 
						is_faction_leader = yes
						NOT = { tag = GER }
					}
					reverse_add_opinion_modifier = { target = ITA modifier = GER_first_ljubljana_award_other }
				}				
			}
			#hidden_effect = {
			#	news_event = { hours = 6 id = news.208 }
			#}
		}
	}

	focus = {
		id = GER_fate_of_yugoslavia

		icon = GFX_focus_GER_fate_of_yugoslavia

		prerequisite = { focus = GER_first_ljubljana_award }

		x = 0
		y = 1
		relative_position_id = GER_first_ljubljana_award

		cost = 10

		bypass = {
			OR = {
				has_war_with = YUG
				NOT = { country_exists = YUG }
				any_other_country = {
					is_in_faction_with = ROOT
					OR = {
						has_war_with = YUG
						YUG = {
							is_puppet_of = PREV
						}
					}
				}
			}
		}

		will_lead_to_war_with = YUG
		
		available = {
			is_subject = no
			NOT = { has_war_with = YUG }
			NOT = { is_in_faction_with = YUG }
			all_allied_country = {
				NOT = {
					has_war_with = YUG
				}
			}
		}

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

		search_filters = { FOCUS_FILTER_ANNEXATION }	
		
		completion_reward = {

			country_event = { 
				id = germany.98 
			}
			custom_effect_tooltip = yugoslavia_mefo_bills_tt

		}
	}

	focus = {
		id = GER_second_ljubljana_award
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = GER_fate_of_yugoslavia }
		mutually_exclusive = { focus = GER_war_with_greece }
		x = -1
		y = 1
		relative_position_id = GER_fate_of_yugoslavia
		cost = 5
		
		bypass = {
			GRE = { 
				OR = {
					has_war = yes
					is_subject = yes
				}
				NOT = { owns_state = 731 }
				NOT = { owns_state = 184 }
				NOT = { owns_state = 185 }
			}
			NOT = {
				GRE = {
					any_neighbor_country = {
						OR = {
							is_subject_of = GER
							tag = GER
						}	
					}
				}
			}
			ITA = {
				OR = {
					has_war_with = GER
					is_subject = yes
					AND = {
						is_in_faction = yes
						NOT = { is_in_faction_with = GER }
					}
				}
				OR = {
					NOT = { has_government = fascism }
					NOT = { has_government = neutrality	}
				}
			}
			BUL = {
				OR = {
					has_war_with = GER
					is_subject = yes
					AND = {
						is_in_faction = yes
						NOT = { is_in_faction_with = GER }
					}
				}
				OR = {
					NOT = { has_government = fascism }
					NOT = { has_government = neutrality	}
				}
			}
		}

		available = {
			is_subject = no
			GRE = { 
				has_war = no 
				is_subject = no
				controls_state = 185 #Epirus
				controls_state = 731 #Central Macedonia
				controls_state = 184 #Thrace
			}
			OR = {
				AND = {
					ITA = {
						NOT = { has_war_with = GER }
						OR = {
							has_government = fascism
							has_government = neutrality
						}
						OR = {
							is_subject_of = GER
							is_subject = no
						}
						OR = {
							is_in_faction_with = GER
							is_in_faction = no
						}
					}
				}
				AND = {
					BUL = {
						NOT = { has_war_with = GER }				
						OR = {
							has_government = fascism
							has_government = neutrality
						}
						OR = {
							is_subject_of = GER
							is_subject = no
						}
						OR = {
							is_in_faction_with = GER
							is_in_faction = no
						}
					}
				}
				GRE = {
					any_neighbor_country = {
						OR = {
							is_subject_of = GER
							tag = GER
						}	
					}
				}
			}
		}

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

		will_lead_to_war_with = GRE

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			add_named_threat = { threat = 2 name = GER_second_ljubljana_award }
			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_second_ljubljana_award_tt
			if = {
				limit = {
					OR = {
						ITA = {
							is_friend_or_potential_friend_of_GER = yes
							OR = {
								has_government = fascism
								has_government = neutrality
							}
							OR = {
								is_subject_of = GER
								is_subject = no
							}
							OR = {
								is_in_faction_with = GER
								is_in_faction = no
							}
							NOT = { #oh no, Italy is cozying up to Greece - give them nothing!
								OR = {
									has_completed_focus = ITA_befriend_greece
									focus_progress = {
										focus = ITA_befriend_greece
										progress > 0
									}
								}
							}
						}
						BUL = {
							is_friend_or_potential_friend_of_GER = yes
							OR = {
								has_government = fascism
								has_government = neutrality
							}
							OR = {
								is_subject_of = GER
								is_subject = no
							}
							OR = {
								is_in_faction_with = GER
								is_in_faction = no
							}
							NOT = { #Oh no! Bulgaria might go to war with Greece in the near future - give me nothing!
								OR = {
									has_completed_focus = BUL_the_return_of_ferdinand_i
									focus_progress = {
										focus = BUL_the_return_of_ferdinand_i
										progress > 0
									}
								}
							}
						}
					}
				}
				if = {
					limit = {
						ITA = {
							is_friend_or_potential_friend_of_GER = yes
							OR = {
								has_government = fascism
								has_government = neutrality
							}
							OR = {
								is_subject_of = GER
								is_subject = no
							}
							OR = {
								is_in_faction_with = GER
								is_in_faction = no
							}
							NOT = { #oh no, Italy is cozying up to Greece - give them nothing!
								OR = {
									has_completed_focus = ITA_befriend_greece
									focus_progress = {
										focus = ITA_befriend_greece
										progress > 0
									}
								}
							}
						}
					}
					set_global_flag = GER_second_ljubljana_award_ITA_event
					country_event = { id = germany.99 }

					custom_effect_tooltip = generic_skip_one_line_tt
				}
				if = {
					limit = {
						BUL = {
							is_friend_or_potential_friend_of_GER = yes
							OR = {
								has_government = fascism
								has_government = neutrality
							}
							OR = {
								is_subject_of = GER
								is_subject = no
							}
							OR = {
								is_in_faction_with = GER
								is_in_faction = no
							}
							NOT = { #Oh no! Bulgaria might go to war with Greece in the near future - give them nothing!
								OR = {
									has_completed_focus = BUL_the_return_of_ferdinand_i
									focus_progress = {
										focus = BUL_the_return_of_ferdinand_i
										progress > 0
									}
								}
							}
						}
					}
					set_global_flag = GER_second_ljubljana_award_BUL_event
					country_event = { id = germany.100 }

					custom_effect_tooltip = generic_skip_one_line_tt
				}
			}
			else = {
				set_global_flag = GER_second_ljubljana_award_GER_event
				GRE = { country_event = { id = greece.2 hours = 12 } }
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					if = {
						limit = {
							185 = { #Epirus
								is_fully_controlled_by = GRE
							}
						}
						GER = { transfer_state = 185 }
						set_global_flag = GER_second_ljubljana_award_GER_185
					}
					if = {
						limit = {
							731 = { #Central Macedonia
								is_fully_controlled_by = GRE
							}
						}
						GER = { transfer_state = 731 }
						set_global_flag = GER_second_ljubljana_award_GER_731
					}
					if = {
						limit = {
							184 = { #Thrace
								is_fully_controlled_by = GRE
							}
						}
						GER = { transfer_state = 184 }
						set_global_flag = GER_second_ljubljana_award_GER_184
					}
				}
				hidden_effect = {
					if = {
						limit = {
							185 = { #Epirus
								is_fully_controlled_by = GRE
							}
						}
						set_global_flag = GER_second_ljubljana_award_GER_185
					}
					if = {
						limit = {
							731 = { #Central Macedonia
								is_fully_controlled_by = GRE
							}
						}
						set_global_flag = GER_second_ljubljana_award_GER_731
					}
					if = {
						limit = {
							184 = { #Thrace
								is_fully_controlled_by = GRE
							}
						}
						set_global_flag = GER_second_ljubljana_award_GER_184
					}
				}
			}			
		}
	}

	focus = {
		id = GER_fate_of_greece

		icon = GFX_focus_GER_fate_of_greece
		#alternate_icon = GFX_focus_GER_fate_of_greece_historical

		prerequisite = { focus = GER_second_ljubljana_award }

		x = 0
		y = 1
		relative_position_id = GER_second_ljubljana_award
		cost = 10
		
		available = {
			is_subject = no
			NOT = { has_wargoal_against = GRE }
			GRE = {
				exists = yes
				is_subject = no
				has_war = no	
			}
		}

		will_lead_to_war_with = GRE

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

		completion_reward = {
			GRE = { 
				country_event = { 
					id = greece.3 
					hours = 6 
				} 
			}
		}
	}

	focus = {
		id = GER_war_with_greece
		icon = GFX_focus_generic_attack_greece
		prerequisite = { focus = GER_fate_of_yugoslavia }
		mutually_exclusive = { focus = GER_second_ljubljana_award }
		x = 1
		y = 1
		relative_position_id = GER_fate_of_yugoslavia
		cost = 10
		
		will_lead_to_war_with = GRE
		
		available = {
			is_subject = no
			GRE = { 
				exists = yes
				has_war = yes
			}
			NOT = { is_in_faction_with = GRE }
			NOT = { has_war_with = GRE }
		}

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

		completion_reward = {
			create_wargoal = {
				target = GRE
				type = annex_everything
				expire = 0
			}
		}
	}

	focus = {
		id = GER_anti_comintern_pact

		icon = GFX_goal_anti_comintern_pact
		alternate_icon = GFX_focus_GER_anti_comintern_pact

		prerequisite = {
			focus = GER_remilitarize_the_rhineland
		}

		x = -4
		y = 0
		relative_position_id = GER_reorganize_the_wehrmacht
		cost = 5
		offset = {
			x = 20
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_heed_von_neuraths_concerns
			}
		}
		
		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 = {
			add_political_power = 25
			add_command_power = 25
			SOU = { add_opinion_modifier = { target = ROOT modifier = pact_against_us } }
			
			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
			}
			add_named_threat = { threat = 1 name = GER_anti_comintern_pact }
		}
	}

	focus = {
		id = GER_anti_soviet_pact
		icon = GFX_focus_ger_bulwark_against_bolshevism
		prerequisite = { focus = GER_anti_comintern_pact }
		mutually_exclusive = { focus = GER_molotov_ribbentrop_pact }
		x = 1
		y = 1
		relative_position_id = GER_anti_comintern_pact
		cost = 10
		
		available = {
			is_subject = no
			has_army_manpower = { size > 849999 } #ca 90 div
			SOU = {
				has_government = communism
			}
		}

		ai_will_do = {
			factor = 2.5
			modifier = {
				factor = 0.1
				has_idea = SOV_soviet_german_trade_agreement
			}
			modifier = {
				factor = 0
				OR = {
					has_government = democratic
					has_government = communism
				}
			}
		}
		
		search_filters = {}
		
		completion_reward = {
			hidden_effect = {
				SOV = { remove_opinion_modifier = { target = ROOT modifier = pact_against_us } }
				add_ideas = anti_soviet_pact
			}
			SOU = { add_opinion_modifier = { target = ROOT modifier = worse_pact_against_us } }
			custom_effect_tooltip = GER_anti_soviet_pact_tt_3

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_anti_soviet_pact_tt
			custom_effect_tooltip = GER_anti_soviet_pact_tt_2
			every_other_country = {
				limit = {
					has_opinion_modifier = anti_comintern_pact_opinion
					OR = {
						NOT = { is_in_faction = yes }
						is_in_faction_with = GER
					}
					NOT = { tag = GER }
					NOT = { has_war_with = GER }
				}
				country_event = germany.83
			}
			hidden_effect = {
				news_event = { hours = 12 id = news.215 }
			}
		}
	}

	focus = {
		id = GER_support_finland
		icon = GFX_focus_FIN_right_wing_policies
		prerequisite = { focus = GER_anti_soviet_pact }

		x = 0
		y = 1
		relative_position_id = GER_anti_soviet_pact
		cost = 5
		available = {
			is_subject = no
			NOT = { is_ally_with = SOV }
			NOT = {
				has_war_with = FIN
			}
			FIN = {
				exists = yes
				has_war_with = SOV
			}
		}

		search_filters = {}

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

	focus = {
		id = GER_war_with_the_ussr

		icon = GFX_focus_attack_soviet
		alternate_icon = GFX_focus_GER_war_with_the_ussr

		prerequisite = { focus = GER_anti_comintern_pact }
		mutually_exclusive = { focus = GER_alliance_with_the_ussr }
		x = 0
		y = 3
		relative_position_id = GER_anti_comintern_pact
		cost = 10

		will_lead_to_war_with = SOV

		bypass = {
			OR = {
				has_war_with = SOV
				SOV = {
					exists = no
				}
			}
		}

		available_if_capitulated = no

		available = {
			is_subject = no
		}

		cancel = {
			is_subject = yes
			NOT = { country_exists = SOV }
		}

		historical_ai = {
			# Only if we have defeated our enemies
			NOT = {
				any_home_area_neighbor_country = {
					has_war_with = ROOT
					OR = {
						has_capitulated = no
						is_government_in_exile = no
					}
					# Honestly, let's not care about the scandinavian countries
					NOT = {
						OR = {
							tag = NOR
							tag = DEN 
							tag = LUX # Or Luxenburg for that matter. 
							tag = SWI # I hate Swiss cheese
							tag = LIE
							tag = MNC
							tag = LIT #You're just a speed bump anyhow
						}
					}
				}
			}
		}
		
		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 = {
			if = { #AI HANDICAP IS BACK!
					limit = {
						difficulty > 1
						GER = {
							is_ai = yes
						}
					}
					army_experience = 100
					add_offsite_building = {
						type = arms_factory level = 5
					}
					add_offsite_building = {
						type = industrial_complex level = 5
					}
					add_equipment_to_stockpile = {
						type = infantry_equipment
						amount = 25000
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = artillery_equipment
						amount = 500
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = support_equipment
						amount = 1750
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = motorized_equipment
						amount = 500
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = medium_tank_chassis
						amount = 500
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = anti_air_equipment
						amount = 500
						producer = GER
					}			
				}
			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
						}
					}
				}
			}

			IF = {
				limit = {
					KUB = {
						exists = no
					}
					DON = {
						exists = no
					}
					SOV = {
						NOT = {
							OR = {	#56 - Adding support for old SOV tree
								has_completed_focus = SOV_beaten_but_not_defeated
								has_completed_focus = SOV_counter_coup_old
								has_completed_focus = SOV_form_a_fifth_column
							}
							
						}
					}
				}
				country_event = {
					id = wuw_GER_legions.8
				}	
			}
		}
	}

	focus = {
		id = GER_molotov_ribbentrop_pact

		icon = GFX_goal_molotov_ribbentrop_pact
		alternate_icon = GFX_focus_GER_molotov_ribbentrop_pact

		prerequisite = { focus = GER_reorganize_the_wehrmacht }
		mutually_exclusive = { focus = GER_anti_soviet_pact }
		x = -1
		y = 1
		relative_position_id = GER_reorganize_the_wehrmacht
		cost = 5
		
		available = {
			is_subject = no
			has_government = fascism
			has_army_manpower = { size > 699999 }	#lowered based on rt56 tree, used to be 850k
			SOV = {
				NOT = { has_war_with = GER }
				exists = yes						#r56: country_exists in vanilla, but that has a weird tooltip
				has_civil_war = no
			}
			NOT = { has_global_flag = beck_ribbentrop_signed }
		}

		cancel = {
			OR = {
				has_war_with = SOV
				NOT = { country_exists = SOV }
				has_global_flag = beck_ribbentrop_signed
			}
		}

		#continue_if_invalid = yes	#r56: sending the event to SOV when at war with them is very silly

		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_molotov_ribbentrop_pact }

		x = 0
		y = 1
		relative_position_id = GER_molotov_ribbentrop_pact
		cost = 10
		
		bypass = { 
			OR = {
				has_war_with = SOV
				NOT = { country_exists = SOV }
				has_completed_focus = GER_bulwark_against_bolshevism
				has_completed_focus = GER_the_great_red_menace
			}
		}

		available = {
			NOT = { has_completed_focus = GER_anti_soviet_pact }
			OR = {
				NOT = { has_completed_focus = GER_bulwark_against_bolshevism }
				NOT = { has_completed_focus = GER_the_great_red_menace }
			}
		}

		cancel = { 
			OR = {
				has_war_with = SOV
				NOT = { country_exists = SOV }
			} 
		}

		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 = {
					create_equipment_variant = {
						name = "Panzer VII Löwe"
						type = heavy_tank_chassis_2
						design_team = mio:GER_daimler_benz_organization #We feed on your tears
						parent_version = 0
						modules = {
							main_armament_slot = tank_heavy_cannon_2
							turret_type_slot = tank_heavy_two_man_tank_turret
							suspension_type_slot = tank_torsion_bar_suspension
							armor_type_slot = tank_welded_armor
							engine_type_slot = tank_gasoline_engine
							special_type_slot_1 = tank_radio_1
							special_type_slot_2 = additional_machine_guns
							special_type_slot_3 = sloped_armor
						}
						upgrades = {
							tank_nsb_engine_upgrade = 6
							tank_nsb_armor_upgrade = 6
						}
						icon = "GFX_GER_improved_heavy_tank_medium"
					}
					create_equipment_variant = {
						name = "Panzerjäger Elefant"
						type = heavy_tank_destroyer_chassis_2
						design_team = mio:GER_porsche_organization #We feed on your tears
						parent_version = 0
						modules = {
							main_armament_slot = tank_heavy_cannon_2
							turret_type_slot = tank_heavy_fixed_superstructure_turret
							suspension_type_slot = tank_torsion_bar_suspension
							armor_type_slot = tank_welded_armor
							engine_type_slot = tank_gasoline_engine
							special_type_slot_1 = tank_radio_1
							special_type_slot_2 = additional_machine_guns
							special_type_slot_3 = squeezebore_adaptor
							special_type_slot_4 = sloped_armor
						}
						upgrades = {
							tank_nsb_engine_upgrade = 6
							tank_nsb_armor_upgrade = 6
						}
						icon = "GFX_GER_improved_heavy_tank_medium"
					}	
					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_alliance_with_the_ussr
		icon = GFX_focus_chi_mission_to_the_soviet_union
		prerequisite = { focus = GER_treaty_with_the_ussr }
		mutually_exclusive = { focus = GER_war_with_the_ussr }
		x = 0
		y = 1
		relative_position_id = GER_treaty_with_the_ussr
		cost = 10
		
		bypass = {
			SOV = {
				is_in_faction_with = GER
			}
		}

		available = {
			is_subject = no
			has_government = fascism
			has_war = no
			SOV = {
				has_war = no
				NOT = { has_war_with = GER }
				is_subject = no
			}
		}

		ai_will_do = {
			factor = 0.01
			modifier = {
				factor = 0
				NOT = { is_in_faction_with = POL }
				country_exists = POL
			}			
			modifier = {
				factor = 0
				OR = {
					has_war_with = POL
					has_war_with = FRA
				}
			}				
		}	

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			if = {
				limit = { is_faction_leader = yes }
				custom_effect_tooltip = ger_sov_buddies_tooltip_2
			}
			custom_effect_tooltip = ger_sov_buddies_tooltip
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				if = {
					limit = {
						is_faction_leader = yes
					}
					dismantle_faction = yes
				}
				else_if = {
					limit = {
						is_in_faction  = yes
					}
					remove_from_faction = GER
				}
				create_faction_from_template = {
					template = faction_template_regional_anti_democratic
					name = the_berlin_moscow_axis
				}
				add_timed_idea = {
					idea = soviet_german_friendship
					days = 730
				}
			}
			SOV = {
				add_opinion_modifier = { target = GER modifier = ger_sov_alliance_focus }
				country_event = germany.89
			}
		}
	}

	focus = {
		id = GER_puppet_turkey
		icon = GFX_focus_generic_attack_turkey
		prerequisite = { focus = GER_alliance_with_the_ussr }

		x = 0
		y = 1
		relative_position_id = GER_alliance_with_the_ussr
		cost = 10
		
		available = {
			is_subject = no
			has_government = fascism
			GRE = {
				OR = {
					is_in_faction_with = GER
					all_owned_state = {
						controller = { is_in_faction_with = GER }
					}
				}
			}
			NOT = { has_war_with = SOV }
			country_exists = TUR
		}

		will_lead_to_war_with = TUR

		search_filters = { FOCUS_FILTER_ANNEXATION }

		ai_will_do = {
			factor = 1
		}	

		completion_reward = {
			TUR = { 
				country_event = { 
					id = germany.79 
					days = 1 
				} 
			}
		}
	}
	
	focus = {
		id = GER_befriend_turkey
		icon = GFX_focus_generic_befriend_turkey
		prerequisite = { focus = GER_war_with_the_ussr }

		x = 1
		y = 1
		relative_position_id = GER_war_with_the_ussr
		cost = 5
		
		bypass = { 
			OR = {
				TUR = { is_in_faction_with = GER }
				TUR = { is_subject_of = GER }
				NOT = { country_exists = TUR }
			}
		}

		available_if_capitulated = no

		available = { 
			is_subject = no 
			NOT = { has_war_with = TUR }
			TUR = {
				exists = yes
				is_subject = no
			}

			TUR = {
				custom_trigger_tooltip = {
					tooltip = GER_alone_or_peace_faction_tt
					is_alone_or_in_faction_at_peace_with_GER = yes
				}
			}
		}

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

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			TUR = {
				add_opinion_modifier = { target = ROOT modifier = ger_tur_diplomacy_focus }
				if = {
					limit = {
						is_ai = yes
						is_in_faction = no
						is_subject = no
						has_government = ROOT
						ROOT = { is_faction_leader = yes }
					}
					country_event = {
						id = generic.5
						hours = 6
						random_hours = 12
					}
					add_ai_strategy = {
						type = alliance
						id = ROOT
						value = 200
					}
				}
				if = {
					limit = {
						ROOT = {
							has_government = fascism
						}
					}
					add_timed_idea = { idea = fascist_influence days = 1095 }
				}
				if = {
					limit = {
						ROOT = {
							has_government = communism
						}
					}
					add_timed_idea = { idea = communist_influence days = 1095 }
				}
				if = {
					limit = {
						ROOT = {
							has_government = democratic
						}
					}
					add_timed_idea = { idea = democratic_influence days = 1095 }
				}
				country_event = { id = generic.1 }
			}
		}
	}

	focus = {
		id = GER_influence_the_middle_east
		icon = GFX_focus_generic_influence_middle_east
		prerequisite = { focus = GER_puppet_turkey focus = GER_befriend_turkey }

		x = 1
		y = 1
		relative_position_id = GER_befriend_turkey
		cost = 5
		available = {
			is_subject = no
		}

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

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			custom_effect_tooltip = GER_unlock_influence_countries_tt
			custom_effect_tooltip = GER_middle_eastern_trade_tt
		}
	}

	focus = {
		id = GER_the_final_blow_to_communism
		icon = GFX_focus_generic_spread_fascism
		prerequisite = { focus = GER_war_with_the_ussr }

		x = 0
		y = 2
		relative_position_id = GER_war_with_the_ussr
		cost = 10
		available = {
			is_subject = no
			any_country = {
				capital_scope = { is_on_continent = europe }
				has_government = communism
			}
		}

		ai_will_do = {
			factor = 0	#they declare war on a bunch of countries all over the globe
			modifier = {
				factor = 0
				OR = {
					has_government = democratic
					has_government = communism
				}
			}
		}

		will_lead_to_war_with = SOV
		will_lead_to_war_with = MON
		will_lead_to_war_with = TAN
		will_lead_to_war_with = SIK

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			custom_effect_tooltip = GER_war_against_communism_tt
			every_other_country = {
				limit = {
					#capital_scope = { is_on_continent = europe } #Intentionally made so that it grants wargoal against any commie in the world (not just Europe)
					has_government = communism
					NOT = { 
						ROOT = {
							has_wargoal_against = PREV
						}
					}
				}
				hidden_effect = { #Tooltip is bad so better to just hide it and show the countries via the every_other_country scope
					ROOT = {
						create_wargoal = {
							type = annex_everything
							target = PREV
						}
					}
				}
			}

			#This is important stuff (Someone leaving faction) so show it when appropriate
			if = {
				limit = {
					any_allied_country = {
						has_government = communism
					}
				}
				if = {
					limit = {
						is_faction_leader = yes
					}
					every_other_country = {
						limit = {
							is_in_faction_with = ROOT
							has_government = communism
						}
						ROOT = { remove_from_faction = PREV }
					}
				}
				else = {
					ROOT = { leave_faction = yes }
				}
			}

			#Not so important so just hide it, it should be logic that any diplo relations are terminated
			hidden_effect = {
				every_other_country = {
					limit = {
						OR = {
							is_guaranteed_by = ROOT
							has_non_aggression_pact_with = ROOT
						}
						has_government = communism
					}
					
					if = {
						limit = {
							ROOT = {
								has_guaranteed = PREV
							}
						}
						ROOT = {
							diplomatic_relation = {
								country = PREV
								relation = guarantee
								active = no
							}
						}
					}

					if = {
						limit = {
							has_non_aggression_pact_with = ROOT
						}
						ROOT = {
							diplomatic_relation = {
								country = PREV
								relation = non_aggression_pact
								active = no
							}
						}
					}
				}
			}
		}
	}

	focus = {
		id = GER_befriend_china
		icon = GFX_focus_chi_cooperation_with_the_nationalists
		prerequisite = { focus = GER_remilitarize_the_rhineland focus = GER_asia_department }
		mutually_exclusive = { focus = GER_befriend_japan }
		x = -6
		y = 1
		relative_position_id = GER_anti_comintern_pact
		cost = 5

		available_if_capitulated = yes
		
		allow_branch = {	#intentionally doesnt check for gamerule because this tree is big and I move around stuff
			OR = {
				NOT = {
					has_completed_focus = GER_oppose_hitler_ww
					has_completed_focus = GER_oppose_hitler
					has_completed_focus = GER_die_letzte_verschwoerung
					has_completed_focus = GER_kill_hitler
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE_OLD
					}
					if = {
						limit = {
							has_game_rule = {
								rule = obsolete_focus_branches_visibility
								option = HIDE
							}
						}
						NOT = {
							has_completed_focus = GER_remilitarize_the_rhineland
						}
					}
				}
			}
		}
		offset = {
			x = -9
			y = 7
			trigger = { has_completed_focus = GER_kill_hitler}
		}
		available = {
			is_subject = no
			AND = {
				country_exists = CHI
				CHI = { is_subject = no }
				NOT = { has_war_with = CHI }
				CHI = {
					custom_trigger_tooltip = {
						tooltip = GER_alone_or_peace_faction_tt
						is_alone_or_in_faction_at_peace_with_GER = yes
					}
				}
			}
		}

		ai_will_do = {
			factor = 0.5
			modifier = {
				is_in_faction_with = JAP
				factor = 0
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {

			event_target:WTT_current_china_leader = {
				set_country_flag = GER_befriended_by_germany_flag
				country_event = { id = wuw_GER_diplomacy.29 hours = 6 }
			}

			effect_tooltip = {
				event_target:WTT_current_china_leader = {
					add_offsite_building = { type = arms_factory level = 2 }
					add_opinion_modifier = { target = GER modifier = ger_chi_diplomacy_focus }
				}
			}
			JAP = {
				add_opinion_modifier = { target = GER modifier = supported_the_chinese }
			}

			hidden_effect = {
				delete_unit_template_and_units = {
					division_template = "Afrikanische Schutztruppe"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Afrikanische Schutztruppe"	
					division_names_group = GER_MIL_02
					template_counter = 98
					is_locked = yes
					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 }
					}
					support = {
					}
					override_model = GER_infantry_alt_1_entity
				}

				delete_unit_template_and_units = {
					division_template = "Askari Schutztruppe"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Askari Schutztruppe"	
					division_names_group = GER_MIL_02
					template_counter = 67
					is_locked = yes
					regiments = {
						militia = { x = 0 y = 0 }
						militia = { x = 0 y = 1 }
						militia = { x = 1 y = 0 }
						militia = { x = 1 y = 1 }
					}
					support = {
					}
					override_model = GER_infantry_alt_2_entity
				}

				delete_unit_template_and_units = {
					division_template = "Asiatische Schutztruppe"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Asiatische Schutztruppe"	
					division_names_group = GER_MIL_02
					template_counter = 99
					is_locked = yes
					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 }
					}
					support = {
					}
					override_model = GER_infantry_alt_3_entity
				}
			}

		}

	}

	focus = {
		id = GER_befriend_japan

		icon = GFX_focus_chi_collaboration_with_the_japanese
		alternate_icon = GFX_focus_GER_befriend_japan

		prerequisite = { focus = GER_anti_comintern_pact focus = GER_asia_department }
		mutually_exclusive = { focus = GER_befriend_china }
		x = -2
		y = 1
		relative_position_id = GER_anti_comintern_pact
		cost = 5
		
		available_if_capitulated = yes

		available = {
			is_subject = no
			AND = {
				country_exists = JAP
				JAP = { is_subject = no }
				NOT = { has_war_with = JAP }
				JAP = {
					custom_trigger_tooltip = {
						tooltip = GER_alone_or_peace_faction_tt
						is_alone_or_in_faction_at_peace_with_GER = yes
					}
				}
			}
		}
		offset = {
			x = -9
			y = 7
			trigger = { has_completed_focus = GER_kill_hitler}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				is_in_faction_with = JAP
				factor = 0 #GER-sempai has already noticed you!
			}
		}
		allow_branch = {	#intentionally doesnt check for gamerule because this tree is big and I move around stuff
			OR = {
				NOT = {
					has_completed_focus = GER_oppose_hitler_ww
					has_completed_focus = GER_oppose_hitler
					has_completed_focus = GER_die_letzte_verschwoerung
					has_completed_focus = GER_kill_hitler
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE_OLD
					}
					if = {
						limit = {
							has_game_rule = {
								rule = obsolete_focus_branches_visibility
								option = HIDE
							}
						}
						NOT = {
							has_completed_focus = GER_remilitarize_the_rhineland
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			JAP = {
				country_event = {
					id = wuw_GER_diplomacy.90
					hours = 12
				}
				set_country_flag = GER_JAP_nap_request_flag
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			effect_tooltip = {
				JAP = {
					add_opinion_modifier = { target = GER modifier = ger_jap_diplomacy_focus }
				}
				diplomatic_relation = { 
					country = JAP
					relation = non_aggression_pact 
				}

			}

			event_target:WTT_current_china_leader = {
				add_opinion_modifier = { target = GER modifier = withdrew_advisors }
				country_event = { id = china.3 hours = 6 }
			}
			custom_effect_tooltip = GER_japan_friend_tt
			set_global_flag = falkenhausen_recalled
			show_unit_leaders_tooltip = GER_alexander_von_falkenhausen

			hidden_effect = {
				delete_unit_template_and_units = {
					division_template = "Afrikanische Schutztruppe"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Afrikanische Schutztruppe"	
					division_names_group = GER_MIL_02
					template_counter = 98
					is_locked = yes
					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 }
					}
					support = {
					}
					override_model = GER_infantry_alt_1_entity
				}

				delete_unit_template_and_units = {
					division_template = "Askari Schutztruppe"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Askari Schutztruppe"	
					division_names_group = GER_MIL_02
					template_counter = 67
					is_locked = yes
					regiments = {
						militia = { x = 0 y = 0 }
						militia = { x = 0 y = 1 }
						militia = { x = 1 y = 0 }
						militia = { x = 1 y = 1 }
					}
					support = {
					}
					override_model = GER_infantry_alt_2_entity
				}

				delete_unit_template_and_units = {
					division_template = "Asiatische Schutztruppe"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Asiatische Schutztruppe"	
					division_names_group = GER_MIL_02
					template_counter = 99
					is_locked = yes
					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 }
					}
					support = {
					}
					override_model = GER_infantry_alt_3_entity
				}
			}
			
		}
	}

	focus = {
		id = GER_reclaim_former_african_colonies
		icon = GFX_focus_GER_reclaim_former_african_colonies
		prerequisite = { focus = GER_invade_italy focus = GER_war_with_france }

		x = -1
		y = 1
		relative_position_id = GER_invade_italy

		cost = 5

		available = {
			is_subject = no
		}

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

		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 = { # Germany doesn't control Cameroon
				limit = {
					773 = {
						NOT = {
							is_fully_controlled_by = ROOT
						}
					}
				}
				IF = { #TANGANYIKA
					limit = {
						773 = {
							controller = {
								is_subject = yes
								OVERLORD = {
									is_in_faction_with = ROOT
									NOT = {
										has_country_flag = GER_african_colonial_demand_sent_flag
										original_tag = GER
									}
								}
							}
						}
					}
	
					773 = {
						controller = {
							OVERLORD = {
								country_event = {
									id = wuw_GER_diplomacy.38
									hours = 6
								}
								set_country_flag = GER_african_colonial_demand_sent_flag
							}
						}
					}	
				}
				ELSE_IF = {
					limit = {
						773 = {
							controller = {
								is_in_faction_with = ROOT
							}
						}
					}
					773 = {
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.38
								hours = 6
							}
							set_country_flag = GER_african_colonial_demand_sent_flag
						}
					}
				}
				ELSE_IF = {
					limit = {
						773 = {
							controller = {
								is_subject_of = ROOT
							}
						}
					}
					773 = {
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.38
								hours = 6
							}
						}
					}
				}
				ELSE_IF = {
					limit = {
						
						773 = {
							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 = 773
				}
			}

			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_reclaim_former_african_colonies }

		x = 0
		y = 1
		relative_position_id = GER_reclaim_former_african_colonies
		cost = 10
		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 = {
						796 = { #Lourenco Marques
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 796
			}
			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 = {
						1097 = { #Barotziland
							is_claimed_by = ROOT
						}
					}
				}
				add_state_claim = 1097
			}
			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_re_establish_german_control_over_qingdao
		icon = GFX_focus_GER_re_establish_german_control_over_qingdao 
		prerequisite = { focus = GER_befriend_china }

		x = 1
		y = 1
		relative_position_id = GER_befriend_china
		cost = 5
		available = {
			is_subject = no
			has_civil_war = no
			743 = {
				is_fully_controlled_by = CHI
			}
		}

		bypass = {
			743 = {
				is_owned_by = GER
			}
		}

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

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			CHI = {
				country_event = {
					id = wuw_GER_diplomacy.32
					hours = 12
				}
			}
			
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {

				add_opinion_modifier = {
					target = CHI
					modifier = medium_increase
				}

				give_guarantee = CHI

				CHI = {
					add_opinion_modifier = {
						target = ROOT
						modifier = medium_increase
					}
					give_guarantee = ROOT
				}
				743 = {
					transfer_state_to = ROOT
					add_dynamic_modifier = {
						modifier = GER_qingdao_reintegrated_modifier
						days = 360
					}
				}
			}
		}
	}
	
	focus = {
		id = GER_claim_old_colonies_in_the_east
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = GER_befriend_china }

		x = -1
		y = 1
		relative_position_id = GER_befriend_china
		cost = 5
		available = {
			is_subject = no
		}

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

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			custom_effect_tooltip = GER_claim_old_colonies_in_the_east_tt

			hidden_effect = {
				IF = {
					limit = {
						OR = {
							333 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
								
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 333
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					333 = { # Sarawak
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 333 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 333
				}

				IF = {
					limit = {
						OR = {
							1131 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
								
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 1131
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					1131 = {
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 1131 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 1131
				}
				
				IF = {
					limit = {
						OR = {
							916 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
								
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 916
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					916 = { # North Borneo
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 916 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 916
				}
				
				IF = {
					limit = {
						OR = {
							1014 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
								
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 1014
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					1014 = { # Brunei
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 1014 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 1014
				}

				IF = {
					limit = {
						OR = {
							334 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 334
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					334 = { #Kalimantan
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 334 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 334
				}
				
				IF = {
					limit = {
						OR = {
							978 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 978
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					978 = { #Eastern Kalimantan
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}
				
				IF = {
					limit = {
						OR = {
							977 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 977
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					977 = { #Inner Borneo
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 977 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 977
				}

				IF = {
					limit = {
						OR = {
							335 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
								
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 335
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					335 = { # Western Java
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				IF = {
					limit = {
						OR = {
							1126 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
								
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 1126
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					1126 = { # Batavia
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 1126 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 1126
				}
				
				IF = {
					limit = {
						OR = {
							976 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
								
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 976
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					976 = { # Central Java
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 976 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 976
				}
				
				IF = {
					limit = {
						OR = {
							446 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
								
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 446
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					446 = { # Eastern Java
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 446 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 446
				}

				IF = {
					limit = {
						OR = {
							1143 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
								
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 1143
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					1143 = { # Vorstenlanden
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 1143 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 1143
				}

				IF = {
					limit = {
						OR = {
							336 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 336
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					336 = { #Singapore
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 336 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 336
				}
				
				IF = {
					limit = {
						OR = {
							951 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 951
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					951 = { # Johor
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 951 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 951
				}
				
				IF = {
					limit = {
						OR = {
							915 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 915
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					915 = { # Pahang
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 915 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 915
				}

				IF = {
					limit = {
						OR = {
							1129 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 1129
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					1129 = {
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 1129 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 1129
				}

				IF = {
					limit = {
						OR = {
							1130 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 1130
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					1130 = {
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 1130 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 1130
				}
				
				IF = {
					limit = {
						OR = {
							960 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 960
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					960 = { # Terengganu
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 960 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 960
				}
				
				IF = {
					limit = {
						OR = {
							914 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 914
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					914 = { # Kedah
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 914 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 914
				}
				
				IF = {
					limit = {
						OR = {
							909 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 909
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					909 = { # Riau Islands
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 909 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 909
				}

				IF = {
					limit = {
						OR = {
							667 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 667
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					667 = { #Lesser Sunda Islands
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 667 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 667
				}

				IF = {
					limit = {
						OR = {
							1127 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 1127
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					1127 = { #Bali
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 1127 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 1127
				}

				IF = {
					limit = {
						OR = {
							1142 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 1142
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					1142 = { #Dutch Timor
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 1142 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 1142
				}

				IF = {
					limit = {
						OR = {
							668 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 668
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					668 = { #Moluccas
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 668 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 668
				}

				IF = {
					limit = {
						OR = {
							672 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 672
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					672 = { # Sumatra
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 672 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 672
				}
				
				IF = {
					limit = {
						OR = {
							974 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 974
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					974 = { # Northern Sumatra
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 974 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 974
				}

				IF = {
					limit = {
						OR = {
							1128 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 1128
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					1128 = {
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 1128 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 1128
				}

				IF = {
					limit = {
						OR = {
							1135 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 1135
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					1135 = {
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 1135 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 1135
				}

				IF = {
					limit = {
						OR = {
							673 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
								
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 673
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					673 = { #Sulawesi
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 673 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 673
				}
				
				IF = {
					limit = {
						OR = {
							975 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
								
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 975
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					975 = { #Sulawesi
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 975 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 975
				}

				IF = {
					limit = {
						OR = {
							721 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 721
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					721 = { #Portugese Timor 
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 721 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 721
				}

				IF = {
					limit = {
						OR = {
							738 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 738
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					738 = { #Aru Islands
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 738 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 738
				}

				IF = {
					limit = {
						OR = {
							684 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 684
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					684 = { #Caroline Islands
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 684 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 684
				}

				IF = {
					limit = {
						OR = {
							647 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 647
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					647 = { #Palau
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 647 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 647
				}

				IF = {
					limit = {
						OR = {
							646 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}	
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 646
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					646 = { #Saipan
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 646 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 646
				}

				IF = {
					limit = {
						OR = {
							633 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 633
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					633 = { #Marshall Islands
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 633 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 633
				}

				IF = {
					limit = {
						OR = {
							1096 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 1096
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					1096 = { #Kaiser-Wilhelmsland
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 1096 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 1096
				}

				IF = {
					limit = {
						OR = {
							737 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 737
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					737 = { #Bismarck
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 737 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 737
				}

				IF = {
					limit = {
						OR = {
							1138 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 1138
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					1138 = { #Bougainville
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 1138 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 1138
				}
				
				IF = {
					limit = {
						OR = {
							669 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 669
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					669 = { # West Papua
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 669 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 669
				}

				IF = {
					limit = {
						OR = {
							1137 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 1137
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					1137 = { # Southern West Papua
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 1137 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 1137
				}
				
				IF = {
					limit = {
						OR = {
							725 = {
								is_fully_controlled_by = CHI
								controller = {
									NOT = {
										has_country_flag = {
											flag = GER_se_asia_colony_demand_sent_flag
										}
										has_war_with = ROOT
									}
								}
							}
							any_other_country = {
								is_in_faction_with = ROOT
								controls_state = 725
								NOT = {
									has_country_flag = {
										flag = GER_se_asia_colony_demand_sent_flag
									}
								}
							}
						}
					}
					725 = { # Nauru
						controller = {
							country_event = {
								id = wuw_GER_diplomacy.35
								hours = 6
							}
							set_country_flag = GER_se_asia_colony_demand_sent_flag
						}
					}
				}

				ELSE_IF = {
					limit = { 725 = { NOT = { is_fully_controlled_by = ROOT}}}
					add_state_claim = 725
				}
			}

			
		}
	}
	
	focus = {
		id = GER_ally_chiang_kai_shek
		icon = GFX_focus_GER_ally_chiang_kai_shek
		prerequisite = { focus = GER_befriend_china }

		x = 0
		y = 2
		relative_position_id = GER_befriend_china
		cost = 10
		available = {
			is_subject = no
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER }

		completion_reward = {

			IF = {
				limit = {
					CHI = {
						has_country_leader = {
							ruling_only = yes
							character = CHI_chiang_kaishek
						}
					}
				}

				add_ai_strategy = { 
					type = alliance
					id = CHI
					value = 100
				}

				CHI = {
					add_ai_strategy = { 
						type = alliance
						id = GER
						value = 100
					}
				}

				CHI = { 
					country_event = {
						id = generic.5
						hours = 12
					}
				}
			}

			326 = { #Hong-Kong
				add_claim_by = ROOT
			}
			729 = { #Macau
				add_claim_by = ROOT
			}
			728 = { #Guangzhouwan
				add_claim_by = ROOT
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_asia_revive_the_schutztruppe_tt
		}
	}

	focus = {
		id = GER_japanese_naval_cooperation
		icon = GFX_focus_GER_japanese_naval_cooperation
		prerequisite = { focus = GER_befriend_japan }

		x = 1
		y = 1
		relative_position_id = GER_befriend_japan
		cost = 10

		available = {
			is_subject = no
			NOT = { has_war_with = JAP }
			OR = {
				has_government = fascism
				has_government = neutrality	#r56 - Rt56 monarchist branch can reach this and I see no reason to block it for them
			}
			JAP = {
				is_subject = no
				OR = {
					is_in_faction = no
					has_government = fascism
					NOT = {
						any_allied_country = {
							has_war_with = ROOT
						}
					}
				}
			}
			any_controlled_state = {
				OR = {
					is_on_continent = asia
					is_on_continent = australia
				}
			}
		}

		search_filters = { FOCUS_FILTER_NAVY_XP FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				bonus = 0.75
				uses = 2
				category = mio_cat_tech_all_capital_ship_and_modules
				category = mio_cat_tech_all_carrier_and_modules
			}
			navy_experience = 25

			JAP = {
				country_event = {
					id = wuw_GER_diplomacy.26
					hours = 6
				}
			}

			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				every_country = {
					limit = {
						OR = {
							AND = {
								original_tag = GER
								OR = {
									has_government = fascism
									has_government = neutrality	#r56 - Rt56 monarchist branch can reach this and I see no reason to block it for them
								}
							}
							AND = {
								original_tag = JAP
								has_government = fascism
							}
						}
					}
					add_to_tech_sharing_group = GER_JAP_naval_tech_sharing
				}

				add_named_threat = { 
					threat = 2
					name = GER_japanese_naval_cooperation
				}
			}
		}
	}
	
	focus = {
		id = GER_negotiate_old_colonies_in_the_east
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = GER_befriend_japan }

		x = 0
		y = 2
		relative_position_id = GER_befriend_japan
		cost = 5

		available = {
			is_subject = no
			has_civil_war = no
			NOT = { has_war_with = JAP }
			JAP = {
				exists = yes
				is_subject = no
				OR = {
					is_in_faction = no
					NOT = {
						any_allied_country = {
							has_war_with = ROOT
						}
					}
				}
			}
		}

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

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			JAP = {
				country_event = {
					id = wuw_GER_diplomacy.23
					hours = 6
				}
			}

			custom_effect_tooltip = if_they_accept_tt
			custom_effect_tooltip = GER_negotiate_old_colonies_in_the_east_tt

			effect_tooltip = {
				JAP = {
					give_guarantee = ROOT
				}
				give_guarantee = JAP
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_asia_revive_the_schutztruppe_tt

		}
	}
	
	focus = {
		id = GER_sentinels_of_the_pacific
		icon = GFX_focus_GER_sentinels_of_the_pacific
		prerequisite = { focus = GER_japanese_naval_cooperation }
		prerequisite = { focus = GER_negotiate_old_colonies_in_the_east }

		x = 0
		y = 2
		relative_position_id = GER_japanese_naval_cooperation
		cost = 5
		available = {
			OR = {
				335 = {
					is_fully_controlled_by = ROOT
				}
				336 = {
					is_fully_controlled_by = ROOT
				}
				743 = {
					is_fully_controlled_by = ROOT
				}
				633 = {
					is_fully_controlled_by = ROOT
				}
				646 = {
					is_fully_controlled_by = ROOT
				}
			}
		}

		search_filters = { FOCUS_FILTER_NAVY_XP }

		completion_reward = {
			navy_experience = 35

			custom_effect_tooltip = generic_skip_one_line_tt
			
			IF = { #singapore
				limit = { 336 = { is_fully_controlled_by = ROOT} }
				336 = {
					add_dynamic_modifier = {
						modifier = GER_sentinels_of_the_pacific_modifier
						days = 180
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}


			IF = { #java
				limit = { 335 = { is_fully_controlled_by = ROOT} }
				335 = {
					add_dynamic_modifier = {
						modifier = GER_sentinels_of_the_pacific_modifier
						days = 180
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}


			IF = { #qingdao
				limit = { 743 = { is_fully_controlled_by = ROOT} }
				743 = {
					add_dynamic_modifier = {
						modifier = GER_sentinels_of_the_pacific_modifier
						days = 180
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}


			IF = { #marshall islands
				limit = { 633 = { is_fully_controlled_by = ROOT} }
				633 = {
					add_dynamic_modifier = {
						modifier = GER_sentinels_of_the_pacific_modifier
						days = 180
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}


			IF = { #saipan
				limit = { 646 = { is_fully_controlled_by = ROOT} }
				646 = {
					add_dynamic_modifier = {
						modifier = GER_sentinels_of_the_pacific_modifier
						days = 180
					}
				}
			}

			IF = { #if none of the states are controlled by Germany, show tooltip
				limit = {
					336 = {
						NOT = {
							is_fully_controlled_by = ROOT
						}
					}
					335 = {
						NOT = {
							is_fully_controlled_by = ROOT
						}
					}
					743 = {
						NOT = {
							is_fully_controlled_by = ROOT
						}
					}
					633 = {
						NOT = {
							is_fully_controlled_by = ROOT
						}
					}
					646 = {
						NOT = {
							is_fully_controlled_by = ROOT
						}
					}
				}

				custom_effect_tooltip = GER_sentinels_of_the_pacific_tt
				effect_tooltip = {
					add_dynamic_modifier = {
						modifier = GER_sentinels_of_the_pacific_modifier
						days = 180
					}
				}

				hidden_effect = {
					delete_unit_template_and_units = {
						division_template = "Asiatische Schutztruppe"
						disband = yes #if yes, will refund equipment/manpower.
					}

					division_template = {
						name = "Asiatische Schutztruppe"	
						division_names_group = GER_MIL_02
						template_counter = 99
						is_locked = yes
						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 }
						}
						support = {
						}
						override_model = GER_infantry_alt_3_entity
					}
				}
			}
		}
	}
	
	focus = {
		id = GER_create_asian_reichskommissariat
		icon = GFX_focus_GER_create_asian_reichskommissariat
		prerequisite = { focus = GER_ally_chiang_kai_shek focus = GER_negotiate_old_colonies_in_the_east }

		x = 1
		y = 1
		relative_position_id = GER_ally_chiang_kai_shek
		cost = 10
		available = {
			is_subject = no
			has_government = fascism
			has_completed_focus = GER_uplift_the_rosenberg_office
			any_controlled_state = {
				is_on_continent = asia
			}
		}

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {

			IF = {
				limit = {
					NOT = {
						has_global_flag = falkenhausen_recalled
					}
				}
				custom_effect_tooltip = GER_japan_friend_tt
				set_global_flag = falkenhausen_recalled
				show_unit_leaders_tooltip = GER_alexander_von_falkenhausen
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = GER_reichskommissariat_arabien
			unlock_decision_tooltip = GER_reichskommissariat_hindustan
			unlock_decision_tooltip = GER_reichskommissariat_ostasien
			unlock_decision_tooltip = GER_reichskommissariat_australasien
		}
	}
	
	focus = {
		id = GER_south_east_asian_natural_wealth
		icon = GFX_focus_GER_south_east_asian_natural_wealth
		prerequisite = { focus = GER_ally_chiang_kai_shek focus = GER_negotiate_old_colonies_in_the_east }

		x = 2
		y = 0
		relative_position_id = GER_create_asian_reichskommissariat
		cost = 10
		available = {
			is_subject = no
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			add_named_threat = { 
				threat = 5
				name = GER_south_east_asian_natural_wealth
			}

			add_state_claim = 336 # Singapore
			add_state_claim = 951 # Johor
			add_state_claim = 915 # Pahang & Kelantan
			add_state_claim = 1129
			add_state_claim = 1130
			add_state_claim = 960 # Terengganu
			add_state_claim = 914 # Kedah & Perlis
			add_state_claim = 909 # Riau Islands
			add_state_claim = 333 # Sarawak
			add_state_claim = 1131
			add_state_claim = 1014 # Brunei
			add_state_claim = 916 # North Borneo
			add_state_claim = 974 # North Sumatra
			add_state_claim = 1128
			add_state_claim = 1135
			add_state_claim = 672 # Southern Sumatra
			add_state_claim = 335 # Western Java
			add_state_claim = 1126 # Batavia
			add_state_claim = 976 # Central Java
			add_state_claim = 446 # Eastern Java
			add_state_claim = 1143 # Vorstenlanden
			add_state_claim = 667 # Lesser Sunda Islands
			add_state_claim = 1127 # Bali
			add_state_claim = 1142 # Dutch Timor
			add_state_claim = 721 # Timor
			add_state_claim = 738 # Aru Islands
			add_state_claim = 669 # West Papua
			add_state_claim = 1137 # Southern West Papua
			add_state_claim = 668 # Moluccas
			add_state_claim = 975 # North Sulawesi
			add_state_claim = 673 # South Sulawesi
			add_state_claim = 334 # Eastern Borneo
			add_state_claim = 978 # Western Borneo
			add_state_claim = 977 # Inner Borneo
			

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_south_east_asian_natural_wealth_tt
		}
	}
	
	focus = {
		id = GER_the_proud_eagle_and_the_resurgent_dragon 
		icon = GFX_focus_GER_the_proud_eagle_and_the_rising_dragon

		prerequisite = { focus = GER_ally_chiang_kai_shek }
		prerequisite = { focus = GER_create_asian_reichskommissariat }

		x = 0
		y = 2
		relative_position_id = GER_ally_chiang_kai_shek
		cost = 10

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

		available = {
			is_subject = no
			is_in_faction_with = CHI
			JAP = {
				exists = yes
				NOT = {
					is_in_faction_with = ROOT
				}
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		will_lead_to_war_with = JAP	#56

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

			custom_effect_tooltip = generic_skip_one_line_tt

			create_wargoal = {
				type = annex_everything
				target = JAP 
			}

			add_named_threat = { 
				threat = 3
				name = GER_the_proud_eagle_and_the_resurgent_dragon
			}
		}
	}
	
	focus = {
		id = GER_blitzkrieg_across_the_pacific
		icon = GFX_focus_generic_naval_invasion_tank
		prerequisite = { focus = GER_sentinels_of_the_pacific }
		prerequisite = { focus = GER_south_east_asian_natural_wealth }

		x = -1
		y = 1
		relative_position_id = GER_sentinels_of_the_pacific
		cost = 10
		available = {
			is_subject = no
		}

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

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ANNEXATION }

		will_lead_to_war_with = USA

		completion_reward = {

			add_tech_bonus = {
				bonus = 1
				uses = 1
				category = marine_tech
				name = GER_blitzkrieg_across_the_pacific
			}
			add_tech_bonus = {
				bonus = 1
				uses = 1
				category = tp_tech
				name = GER_blitzkrieg_across_the_pacific
			}
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				add_doctrine_cost_reduction = {
					cost_reduction = 0.5
					uses = 2
					category = cat_marines_doctrine
					name = GER_blitzkrieg_across_the_pacific
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_timed_idea = {
				idea = GER_pacific_blitzkrieg_ns
				days = 365
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			create_wargoal = {
				type = annex_everything
				target = USA
			}
		}
	}



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



	focus = {
		id = GER_fuhrerprinzip

		dynamic = yes
		
		alternate_icon = GFX_focus_GER_support_the_fuhrer_historical

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

		prerequisite = { focus = GER_remilitarize_the_rhineland }
		x = -17
		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 = {
			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
			}
		}
	}

	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 = {
			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
			}
		}
	}

	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 = {
			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

			if = {
				limit = {
					has_idea = r56_GER_four_year_plan
				}
				modify_timed_idea = {
					idea = r56_GER_four_year_plan
					days = 30
				}
				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
			}
		}
	}

	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
					}
				}
			}
			if = {
				limit = {
					has_idea = r56_GER_four_year_plan
				}
				modify_timed_idea = {
					idea = r56_GER_four_year_plan
					days = 180
				}
			}
		}
	}

	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
			}
			if = {
				limit = {
					has_idea = r56_GER_four_year_plan
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = r56_GER_four_year_plan_upgrade_tt
				custom_effect_tooltip = generic_skip_one_line_tt
				effect_tooltip = {
					swap_ideas = {
						remove_idea = r56_GER_four_year_plan
						add_idea = r56_GER_four_year_plan_upgrade
					}
				}
				hidden_effect = {
					remove_ideas = r56_GER_four_year_plan
					add_ideas = r56_GER_four_year_plan_upgrade
				}
			}
		}
	}

	focus = {
		id = GER_integration_of_puppet_economies
		icon = GFX_focus_GER_integration_of_puppet_economies
		prerequisite = { focus = GER_plenipotentiary_of_the_four_year_plan }
		#mutually_exclusive = { focus = GER_specialized_ss_commandos }

		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
				}
			}

			any_country = {
				is_subject_of = ROOT
			}
		}

		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 = {
			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
			}
		}
	}

	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 = {
			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
			}
		}
	}

	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 = {
			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
			}
		}
	}
	
	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 = {
			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
			}
		}
	}

	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_a_strong_successor
		icon = GFX_focus_GER_a_strong_successor
		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 }
		mutually_exclusive = { focus = GER_loyalty_to_the_fuhrer }
		x = -2
		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 }

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

		completion_reward = {
			hidden_effect = {
				country_event = GER_inner_circle.02
			}
		
			custom_effect_tooltip = {
				localization_key = GER_a_strong_successor_tt
				EVENT = GER_inner_circle.02.t
				CHARACTER = [ROOT.GetLeader]
			}
			if = {
				limit = {
					OR = {
						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 }
					}
				}
				custom_effect_tooltip = GER_a_strong_successor_current_advisors_tt
			}

			hidden_effect = {
				clr_country_flag = GER_a_strong_successor_flag
			}
		}
	}

	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 }
		mutually_exclusive = { focus = GER_a_strong_successor }
		x = 2
		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
			}
		}
	}




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




	focus = {
		id = GER_oppose_hitler_ww
		icon = GFX_focus_ger_oppose_hitler

		mutually_exclusive = { focus = GER_remilitarize_the_rhineland }

		x = 84
		y = 0
		relative_position_id = GER_prioritize_economic_growth
		cost = 10

		available = {
			is_subject = no
			has_government = fascism
		}

		allow_branch = {
			has_dlc = "Gotterdammerung"
			has_game_rule = {
				rule = GER_focus_tree_selection
				option = STANDARD_TREE
			}
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = GER_remilitarize_the_rhineland
				}
			}
		}

		offset = {
			x = -52
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_oppose_hitler_ww
			}
		}
		offset = {
			x = -9
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_monarchist_sentiment
			}
		}
		offset = {
			x = -12
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_start_the_proletarian_revolution
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_MILITARY_CHARACTER }

		select_effect = {
			country_event = {
			    id = wuw_GER_civil_war.7
			    days = 7
			}
		}

		completion_reward = {
			hidden_effect = { #offset from fascist reasons on 00_on_actions
				add_ai_strategy = {
				   type = alliance
				   id = POL
				   value = 2000
				}
				POL = {
					add_ai_strategy = {
					   type = alliance
					   id = GER
					   value = 2000
					}
				}
			}

			42 = { set_demilitarized_zone = no } #RHINELAND
			51 = { set_demilitarized_zone = no } #MOSSELLAND
			922 = { set_demilitarized_zone = no } #FRANKFURT
			923 = { set_demilitarized_zone = no } #BADEN
			989 = { set_demilitarized_zone = no } #OSTRHINELAND
			1053 = { set_demilitarized_zone = no } #SAARLAND

			custom_effect_tooltip = generic_skip_one_line_tt

			add_political_power = 120

			custom_effect_tooltip = generic_skip_one_line_tt

			add_named_threat = { threat = 3 name = GER_oppose_hitler }

			country_event = { 
				id = wtt_germany.1 
			}
			custom_effect_tooltip = GER_oppose_hitler_civil_war

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_hans_oster

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

		}
	}

	focus = {
		id = GER_tend_to_the_future_of_germany
		icon = GFX_focus_GER_tend_to_the_future
		prerequisite = { focus = GER_oppose_hitler_ww }

		x = 0
		y = 3
		relative_position_id = GER_oppose_hitler_ww
		cost = 2
		available = {
			has_civil_war = no
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {
		
			add_stability = 0.05
			add_political_power = 50

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_tend_to_the_future_of_germany_tt
		}
	}

	###################
	###################
	#### COMMUNISM ####
	###################
	###################

	focus = {
		id = GER_start_the_proletarian_revolution
		icon = GFX_focus_SWE_refuge_for_revolutionaries
		prerequisite = { focus = GER_tend_to_the_future_of_germany }
		mutually_exclusive = { focus = GER_monarchist_sentiment }

		x = -11
		y = 1
		relative_position_id = GER_tend_to_the_future_of_germany
		cost = 5
		available = {
		}

		allow_branch = {
			has_dlc = "Gotterdammerung"
			has_game_rule = {
				rule = GER_focus_tree_selection
				option = STANDARD_TREE
			}
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = GER_monarchist_sentiment
					has_completed_focus = GER_remilitarize_the_rhineland
				}
			}
		}

		offset = {
			x = 11
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_start_the_proletarian_revolution
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			set_country_flag = GER_the_proletarian_revolution_flag

			add_political_power = 75
			add_stability = -0.025

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					51 = { is_fully_controlled_by = ROOT }
				}
				51 = { #Sachsen
					add_dynamic_modifier = {
						modifier = GER_proletariat_uprising_modifier
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
						NOT = { 
							has_dynamic_modifier = {
								modifier = GER_proletariat_uprising_modifier
							}
							state = 65 #Sachsen
							state = 60 #Thüringen
							state = 51 #Rhineland
						}
					}

					prioritize = { 998 61 54 58 } #schleswig, Mecklenburg, Franken and Holstein

					add_dynamic_modifier = {
						modifier = GER_proletariat_uprising_modifier
					}
				}
			}
			if = {
				limit = {
					60 = { is_fully_controlled_by = ROOT }
				}
				60 = { #Sachsen
					add_dynamic_modifier = {
						modifier = GER_proletariat_uprising_modifier
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
						NOT = { 
							has_dynamic_modifier = {
								modifier = GER_proletariat_uprising_modifier
							}
							state = 65 #Sachsen
							state = 60 #Thüringen
							state = 51 #Rhineland
						}
					}

					prioritize = { 998 61 54 58 } #schleswig, Mecklenburg, Franken and holstein

					add_dynamic_modifier = {
						modifier = GER_proletariat_uprising_modifier
					}
				}
			}
			if = {
				limit = {
					65 = { is_fully_controlled_by = ROOT }
				}
				65 = { #Sachsen
					add_dynamic_modifier = {
						modifier = GER_proletariat_uprising_modifier
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
						NOT = { 
							has_dynamic_modifier = {
								modifier = GER_proletariat_uprising_modifier
							}
							state = 65 #Sachsen
							state = 60 #Thüringen
							state = 51 #Rhineland
						}
					}

					prioritize = { 998 61 54 58 } #schleswig, Mecklenburg, Franken and holstein

					add_dynamic_modifier = {
						modifier = GER_proletariat_uprising_modifier
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = GER_expand_the_proletarian_uprisings_decision
				
			custom_effect_tooltip = generic_skip_one_line_tt
			activate_mission_tooltip = GER_imminent_proletarian_revolution_mission
			custom_effect_tooltip = GER_start_the_proletarian_revolution_civil_war_tt

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_states_with_proletarian_uprising_joins_cw_tt

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_walter_ulbricht
			show_ideas_tooltip = GER_bernhard_bastlein

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

	focus = {
		id = GER_formalize_the_intelligence_wing
		icon = GFX_focus_generic_whispers 
		prerequisite = { focus = GER_start_the_proletarian_revolution }

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

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL }

		completion_reward = {
			if = {
				limit = {
					NOT = { has_completed_focus = GER_the_peoples_victory }
				}
				add_days_mission_timeout = {
					mission = GER_imminent_proletarian_revolution_mission
					days = 15
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_dynamic_modifier = {
				modifier = GER_communist_intel_modifier
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_wilhelm_zaisser			
		}
	}
	
	focus = {
		id = GER_form_the_stasi
		icon = GFX_focus_GER_form_the_stasi
		prerequisite = { focus = GER_formalize_the_intelligence_wing }

		x = 1
		y = 1
		relative_position_id = GER_formalize_the_intelligence_wing
		cost = 10
		available = {
			has_government = communism
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			IF = {
				limit = { has_dlc = "La Resistance" }

				IF = {
					limit = { has_intelligence_agency = no }

					create_intelligence_agency = {
						name = "Stasi"
						icon = GFX_intelligence_agency_logo_GER_stasi
					}
				}
				ELSE = {
					gain_random_agency_upgrade = yes
				}


				custom_effect_tooltip = generic_skip_one_line_tt

				remove_dynamic_modifier = { #for tooltip reasons this appears twice
					modifier = GER_communist_intel_modifier
				}

				custom_effect_tooltip = generic_skip_one_line_tt

				add_dynamic_modifier = {
					modifier = GER_stasi_modifier
				}

				IF = {
					limit = {
						NOT = {
							has_country_flag = GER_has_done_stasi_focus_flag
						}
					}
					add_to_variable = { GER_communist_intel_operative_slot = 1 tooltip = operative_slot_tt }
					add_to_variable = { GER_communist_intel_stability_factor = -0.05 tooltip = stability_factor_tt }
				}

				set_country_flag = GER_has_done_stasi_focus_flag
			}

			ELSE = {

				remove_dynamic_modifier = { #for tooltip reasons this appears twice
					modifier = GER_communist_intel_modifier
				}

				custom_effect_tooltip = generic_skip_one_line_tt

				add_dynamic_modifier = {
					modifier = GER_stasi_modifier
				}

				add_to_variable = { GER_communist_intel_decryption_factor = 0.2 tooltip = decryption_factor_tt }
				add_to_variable = { GER_communist_intel_stability_factor = -0.05 tooltip = stability_factor_tt }
			}

 			custom_effect_tooltip = generic_skip_one_line_tt

			GER_wilhelm_zaisser = {
				remove_trait = {
					slot = political_advisor
					trait = GER_intelligence_coordinator
				}
			}
			GER_wilhelm_zaisser = {
 				add_trait = { 
 					slot = political_advisor
 					trait = GER_secretary_of_state_security
 				}
 			}
		}
	}
	focus = {
		id = GER_effective_operations
		icon = GFX_focus_generic_secret_service_agency
		prerequisite = { focus = GER_formalize_the_intelligence_wing }

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

		search_filters = {}

		completion_reward = {
			IF = {
				limit = {
					has_dynamic_modifier = {
						modifier = GER_stasi_modifier
					}
				}
				custom_effect_tooltip = GER_stasi_modifier_intro_tt
			}
			ELSE = {
				custom_effect_tooltip = GER_communist_intel_modifier_intro_tt
			}

			IF = {
				limit = { has_dlc = "La Resistance" }


				add_to_variable = { GER_communist_intel_subversive_activities_upkeep = -0.25 tooltip = subversive_activites_upkeep_tt }
				add_to_variable = { GER_communist_intel_intel_network_gain = 0.2 tooltip = intel_network_gain_factor_tt }
			}
			ELSE = {
				add_to_variable = { GER_communist_intel_decryption_factor = 0.2 tooltip = decryption_factor_tt }
				add_to_variable = { GER_communist_intel_encryption_factor = 0.2 tooltip = encryption_factor_tt }
				
			}
		}
	}
	focus = {
		id = GER_assemble_red_orchestra
		icon = GFX_focus_SWI_embrace_rote_drei
		prerequisite = { focus = GER_form_the_stasi }
		prerequisite = { focus = GER_effective_operations }

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

		search_filters = {}

		completion_reward = {

			IF = {
				limit = { has_dlc = "La Resistance"}

				create_operative_leader = {
					name = GER_erich_mielke
					bypass_recruitment = no 
					traits = { operative_commando operative_escape_artist operative_master_interrogator }
					available_to_spy_master = yes  
					GFX = GFX_portrait_GER_erich_mielke
					gender = male
				}

				create_operative_leader = {
					name = GER_marie_luise_hammerstein
					bypass_recruitment = no 
					traits = { operative_natural_orator }
					available_to_spy_master = yes 
					nationalities = { GER SOU } 
					GFX = GFX_portrait_GER_marie_luise_hammerstein
					gender = female
				}

				create_operative_leader = {
					name = GER_rudolf_herrnstadt
					bypass_recruitment = no 
					traits = { operative_linguist }
					available_to_spy_master = yes 
					nationalities = { GER SOU } 
					GFX = GFX_portrait_GER_rudolf_herrnstadt
					gender = male
				}

				create_operative_leader = {
					name = GER_ernst_wollweber
					bypass_recruitment = no 
					traits = { operative_tough }
					available_to_spy_master = yes 
					nationalities = { GER SOU } 
					GFX = GFX_portrait_GER_ernst_wollweber
					gender = male
				}

				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = GER_stasi_modifier_intro_tt

				add_to_variable = { GER_communist_intel_operative_slot = 2 tooltip = operative_slot_tt }
			}

			ELSE = {
				custom_effect_tooltip = GER_stasi_modifier_intro_tt
				add_to_variable = { GER_communist_intel_decryption_factor = 0.2 tooltip = decryption_factor_tt }
				add_to_variable = { GER_communist_intel_encryption_factor = 0.2 tooltip = encryption_factor_tt }
			}

			
		}
	}
	focus = {
		id = GER_ressurect_the_red_front_fighters_league
		icon = GFX_focus_YUG_pan_slavic_congress
		prerequisite = { focus = GER_start_the_proletarian_revolution }

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

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL_CHARACTER } 

		completion_reward = {
			if = {
				limit = {
					NOT = { has_completed_focus = GER_the_peoples_victory }
				}
				add_days_mission_timeout = {
					mission = GER_imminent_proletarian_revolution_mission
					days = 15
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_popularity = {
				ideology = communism
				popularity = 0.03
			}
			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			division_template = {
				name = "Roter Frontkämpferbund Division"
				priority = 1
				division_names_group = GER_MIL_03
				template_counter = 69 #nice!
				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 }
				
				}
				override_model = GER_militia_alt_0_entity
			}

			IF = {
				limit = {
					NOT = {
						any_controlled_state = {
							has_dynamic_modifier = { modifier = GER_proletariat_uprising_modifier }
						}
						has_government = communism
					}
				}

				custom_effect_tooltip = GER_ressurect_the_red_front_fighters_league_tt
			}
			every_core_state = {
				limit = {
					OR = {
						has_dynamic_modifier = { modifier = GER_proletariat_uprising_modifier }
						AND = {
							controller = {
								has_government = communism
								original_tag = GER
							}
						}
					}
					
				}
				random_select_amount = 3

				create_unit = {
					division = "division_template =\"Roter Frontkämpferbund Division\" start_experience_factor = 0.2 start_equipment_factor = 0.7"
					owner = PREV
					count = 2
				}
			}
			if = {
				limit = {
					NOT = {
						has_government = communism
						has_completed_focus = GER_the_peoples_victory
					} 
				}
				custom_effect_tooltip = GER_spawn_more_communist_militias_in_civil_war_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_ernst_thalmann = {
				remove_trait = {
					slot = political_advisor
					trait = GER_proletarian_leader
				}
			}
			GER_ernst_thalmann = {
 				add_trait = { 
 					slot = political_advisor
 					trait = GER_militant_communist
 				}
 			}
			
		}
	}
	focus = {
		id = GER_reorganize_nationale_volksarmee
		icon = GFX_goal_ger_nva
		prerequisite = { focus = GER_ressurect_the_red_front_fighters_league }

		x = -1
		y = 1
		relative_position_id = GER_ressurect_the_red_front_fighters_league
		cost = 5
		available = {
			has_civil_war = no
		}

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			if = {
				limit = {
					NOT = { has_completed_focus = GER_the_peoples_victory }
				}
				add_days_mission_timeout = {
					mission = GER_imminent_proletarian_revolution_mission
					days = 15
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_war_support = 0.05
			add_command_power = 15

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_army_modifier = yes
			add_to_variable = { GER_military_planning_speed = -0.1 tooltip = planning_speed_factor_tt }
			add_to_variable = { GER_military_unit_leader_as_advisor_cp_cost_factor = -0.1 tooltip = unit_leader_as_advisor_cp_cost_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			effect_tooltip = { #GER_vincenz_muller exists in the character file. This is for TT purposes only
				add_field_marshal_role  = {
					character = GER_vincenz_muller
					traits = { infantry_officer trait_reckless politically_connected offensive_doctrine }
					skill = 2
					attack_skill = 2
					defense_skill = 2
					planning_skill = 1
					logistics_skill = 2
				}
			}
			show_unit_leaders_tooltip = GER_hans_kahle
			show_unit_leaders_tooltip = GER_hans_marchwitza
			show_unit_leaders_tooltip = GER_arno_von_lenski

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_country_flag = GER_communist_civil_war_flag }
				}
				custom_effect_tooltip = GER_cannot_join_oppossing_civil_war_side_tt
			}
			if = {
				limit = {
					has_character = GER_maximilian_von_weichs
				}
				retire_character = GER_maximilian_von_weichs
			}
			if = {
				limit = {
					has_character = GER_ewald_von_kleist
				}
				retire_character = GER_ewald_von_kleist
			}
		}
	}
	focus = {
		id = GER_political_commissars
		icon = GFX_focus_SOV_mobilization_plan
		prerequisite = { focus = GER_ressurect_the_red_front_fighters_league }

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

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			if = {
				limit = {
					NOT = { has_completed_focus = GER_the_peoples_victory }
				}
				add_days_mission_timeout = {
					mission = GER_imminent_proletarian_revolution_mission
					days = 15
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_popularity = {
				ideology = communism
				popularity = 0.03
			}
			add_war_support = 0.05
			add_command_power = 15

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_army_modifier = yes
			add_to_variable = { GER_military_army_morale_factor = 0.1 tooltip = army_morale_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 }		
		}
	}
	focus = {
		id = GER_rapid_army_expansion
		icon = GFX_focus_SOV_the_glory_of_the_red_army_communism
		prerequisite = { focus = GER_reorganize_nationale_volksarmee }
		prerequisite = { focus = GER_political_commissars}

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

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {


			GER_add_or_modify_politburo = yes
			add_to_variable = { GER_politburo_mobilization_laws_cost_factor = -0.15 tooltip = mobilization_laws_cost_factor_tt }
			add_to_variable = { GER_politburo_conscription_factor = 0.05 tooltip = conscription_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_army_modifier = yes
			add_to_variable = { GER_military_mobilization_speed = 0.1 tooltip = mobilization_speed_tt }
			add_to_variable = { GER_military_experience_gain_army_factor = -0.1 tooltip = experience_gain_army_factor_tt }
			add_to_variable = { GER_military_minimum_training_level = -0.1 tooltip = minimum_training_level_tt }

			
		}
	}
	focus = {
		id = GER_the_peoples_victory
		icon = GFX_focus_GER_the_peoples_victory
		prerequisite = { focus = GER_start_the_proletarian_revolution }

		x = 0
		y = 3
		relative_position_id = GER_start_the_proletarian_revolution
		cost = 5
		available = {
			communism > 0.5
		}
		continue_if_invalid = yes	#56 - Quality of Life + stopping the AI from shooting itself

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

		completion_reward = {
			hidden_effect = { #To switch color
				set_cosmetic_tag = GER_communism 
			}
			every_controlled_state = {
				limit = {
					has_dynamic_modifier = { modifier = GER_proletariat_uprising_modifier }
				}
				remove_dynamic_modifier = { modifier = GER_proletariat_uprising_modifier }
			}

			add_stability = 0.05
			add_political_power = 100

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_government = communism }
				}
				set_politics = {
					ruling_party = communism
					elections_allowed = no
					last_election = "1933.3.5"
					election_frequency = 48
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			IF = {
				limit = { has_country_flag = GER_thalmann_freed_from_prison_flag }

				GER_ernst_thalmann = {
					add_country_leader_role = {
						promote_leader = yes
						country_leader = {
							ideology = leninism
							expire = 1965.1.1
							traits = { NOR_stern_communist} 
						}
					}
				}
			}

			ELSE = {
				GER_walter_ulbricht = {
					add_country_leader_role = {
						promote_leader = yes
						country_leader = {
							ideology = stalinism
							expire = 1965.1.1
							traits = { GER_inflexible_communist_organizer } 
						}
					}
				}
			}

			add_named_threat = { threat = 5 name = GER_the_peoples_victory }
		}
	}
	focus = {
		id = GER_legacy_of_the_spartacus_league
		icon = GFX_focus_GER_legacy_of_the_spartacus_league
		prerequisite = { focus = GER_the_peoples_victory }
		mutually_exclusive = { focus = GER_proletarian_dictatorship }
		x = -5
		y = 1
		relative_position_id = GER_the_peoples_victory
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			add_political_power = 50

			custom_effect_tooltip = generic_skip_one_line_tt

			set_party_name = { 
				ideology = communism
				long_name = GER_communism_arbeit_party_long
				name = GER_communism_arbeit_party
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			country_event = {
				id = wuw_GER_german_politics.02
				hours = 6
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_otto_ruhle


			set_cosmetic_tag = GER_peoples_republic
		}
	}
	focus = {
		id = GER_social_ownership
		icon = GFX_focus_DEN_no_regulations
		prerequisite = { focus = GER_legacy_of_the_spartacus_league }

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

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }

		completion_reward = {

			add_stability = 0.1

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_production_factory_max_efficiency_factor = 0.025
				tooltip = production_factory_max_efficiency_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_factory_efficiency_gain_factor = 0.025
				tooltip = production_factory_efficiency_gain_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_factory_start_efficiency_factor = 0.025
				tooltip = production_factory_start_efficiency_factor_tt
			}
			add_to_variable = { 
				GER_industrial_line_change_production_efficiency_factor = 0.025
				tooltip = line_change_production_efficiency_factor_tt
			}
		}
	}
	focus = {
		id = GER_civil_liberties
		icon = GFX_focus_spr_torchbearers_of_tomorrow
		prerequisite = { focus = GER_social_ownership }

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

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			GER_add_or_modify_politburo = yes

			add_to_variable = { GER_politburo_political_power_factor = 0.1 tooltip = political_power_factor_tt }
			add_to_variable = { GER_politburo_resistance_growth = -0.05 tooltip = resistance_growth_tt }
			add_to_variable = { GER_politburo_compliance_growth = 0.05 tooltip = compliance_growth_tt }
			add_to_variable = { GER_politburo_subjects_autonomy_gain = -0.15 tooltip = subjects_autonomy_gain_tt }
		}
	}

	focus = {
		id = GER_embrace_democratic_institutions
		icon = GFX_focus_generic_improve_the_administration
		prerequisite = { focus = GER_social_ownership }

		x = 0
		y = 1
		relative_position_id = GER_social_ownership
		cost = 5
		available = {
			is_subject = no
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

		completion_reward = {
			GER_add_or_modify_politburo = yes

			add_to_variable = { GER_politburo_democratic_drift = 0.02 tooltip = democratic_drift_tt }
			add_to_variable = { GER_politburo_modifier_party_popularity_stability_factor = 0.15 tooltip = party_popularity_stability_factor_tt }
			add_to_variable = { GER_politburo_modifier_defensive_war_stability_factor = 0.15 tooltip = defensive_war_stability_factor_tt }
		}
	}

	focus = {
		id = GER_protect_the_revolution
		icon = GFX_focus_spr_masters_of_our_own_fate
		prerequisite = { focus = GER_civil_liberties }
		prerequisite = { focus = GER_embrace_democratic_institutions }
		prerequisite = { focus = GER_spark_the_flame_of_revolution }

		x = 1
		y = 2
		relative_position_id = GER_civil_liberties
		cost = 10
		available = {
			is_subject = no
		}

		search_filters = {}

		completion_reward = {
			custom_effect_tooltip = GER_protect_the_revolution_tt
		}
	}

	focus = {
		id = GER_establish_volkskommissariats
		icon = GFX_focus_GER_establish_volkskommissariats
		prerequisite = { focus = GER_protect_the_revolution }

		x = 0
		y = 1
		relative_position_id = GER_protect_the_revolution
		cost = 5
		available = {
			is_subject = no
			num_subjects > 0
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_political_power = 100
			
			custom_effect_tooltip = GER_establish_volkskommissariats_tt
		}
	}

	focus = {
		id = GER_industrialize_volkskommissariats
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = GER_establish_volkskommissariats }

		x = -1
		y = 1
		relative_position_id = GER_establish_volkskommissariats
		cost = 5
		available = {
			is_subject = no
			num_subjects > 0
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			custom_effect_tooltip = GER_industrialize_volkskommissariats_tt
		}
	}

	focus = {
		id = GER_instill_german_discipline
		icon = GFX_focus_generic_license_production
		prerequisite = { focus = GER_establish_volkskommissariats }

		x = 1
		y = 1
		relative_position_id = GER_establish_volkskommissariats
		cost = 5
		available = {
			is_subject = no
			num_subjects > 0
		}

		search_filters = {}

		completion_reward = {
			IF = {
				limit = {
					any_country = {
						has_autonomy_state = autonomy_volkskommissariat
					}
				}
				every_other_country = {
					limit = {
						has_autonomy_state = autonomy_volkskommissariat
					}

					add_ideas = GER_volkskommissariat_military
				}
			}

			ELSE = {
				custom_effect_tooltip = GER_current_future_volkskommisariats_tt
				effect_tooltip = {
					add_ideas = GER_volkskommissariat_military
				}
			}
		}
	}
	focus = {
		id = GER_integrate_subjects_economies
		icon = GFX_focus_usa_reestablish_the_gold_standard
		prerequisite = { focus = GER_industrialize_volkskommissariats }
		prerequisite = { focus = GER_instill_german_discipline }

		x = 1
		y = 1
		relative_position_id = GER_industrialize_volkskommissariats
		cost = 10
		available = {
			is_subject = no
			num_subjects > 0
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			IF = {
				limit = {
					any_country = {
						has_autonomy_state = autonomy_volkskommissariat
					}
				}
				every_other_country = {
					limit = {
						has_autonomy_state = autonomy_volkskommissariat
					}

					add_ideas = GER_volkskommissariat_economic_integration
				}
			}

			ELSE = {
				custom_effect_tooltip = GER_current_future_volkskommisariats_tt
				effect_tooltip = {
					add_ideas = GER_volkskommissariat_economic_integration
				}
			}
		}
	}
	focus = {
		id = GER_integrate_volkskommissariats
		icon = GFX_focus_GER_integrate_volkskommissariats
		prerequisite = { focus = GER_integrate_subjects_economies }

		x = 0
		y = 1
		relative_position_id = GER_integrate_subjects_economies
		cost = 10
		available = {
			num_subjects > 2
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			custom_effect_tooltip = GER_integrate_volkskommissariats_tt
		}
	}
	focus = {
		id = GER_liberate_austria
		icon = GFX_focus_generic_attack_austria
		prerequisite = { focus = GER_social_ownership focus = GER_state_controlled_economy }

		x = 3
		y = 1
		relative_position_id = GER_social_ownership
		cost = 10
		available = {
			AUS = { 
				OR = {
					exists = yes
					is_subject = no
				}
			}
		}

		bypass = {
			AUS = { 
				OR = {
					exists = no
					is_subject = yes
				}
			}
		}

		will_lead_to_war_with = AUS

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {


			IF = {
				limit = {
					AUS = {
						OR = {
							has_government = fascism
							has_government = neutrality
						}
					}
				}
				create_wargoal = {
					type = puppet_wargoal_focus
					target = AUS
					expire = 0
				}
			}

			ELSE = {
				AUS = {
					country_event = {
						id = wuw_GER_diplomacy.77
						hours = 12
					}
				}
			}
			
			add_named_threat = { threat = 3 name = GER_liberate_austria }
		}
	}
	focus = {
		id = GER_spark_the_flame_of_revolution
		icon = GFX_focus_generic_workers_and_farmers_rise
		prerequisite = { focus = GER_liberate_austria }

		x = -1
		y = 1
		relative_position_id = GER_liberate_austria
		cost = 5
		available = {
			is_subject = no
			any_neighbor_country = {
				capital_scope = {
					is_on_continent = europe
				}
				is_major = no
				NOT = { has_government = fascism }
				NOT = { has_government = communism }
			}
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_spark_the_flame_of_revolution_tt

			if = {
				limit = {
					is_in_faction = yes
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = GER_central_european_alliance_tt
			}
			effect_tooltip = {
				create_faction_from_template = {
					template = faction_template_POR_popular_front_bloc
					name = GER_proletarian_international_alliance
					icon = GFX_faction_logo_generic_9
				}
			}
			hidden_effect = {
				if = {
					limit = {
						is_in_faction = no
					}
					create_faction_from_template = {
						template = faction_template_POR_popular_front_bloc
						name = GER_proletarian_international_alliance
						icon = GFX_faction_logo_generic_9
					}
				}
			}
		}
	}
	focus = {
		id = GER_support_the_proletarian_uprising
		icon = GFX_focus_GER_support_the_proletarian_uprising
		prerequisite = { focus = GER_spark_the_flame_of_revolution }

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

		search_filters = {}

		completion_reward = {
			custom_effect_tooltip = GER_support_the_proletarian_uprising_tt
		}
	}
	focus = {
		id = GER_the_proletarian_legion
		icon = GFX_focus_SOV_builder_of_the_red_army
		prerequisite = { focus = GER_support_the_proletarian_uprising focus = GER_protect_the_revolution }

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

		search_filters = {}

		completion_reward = {
			custom_effect_tooltip = GER_the_proletarian_legion_tt
			effect_tooltip = {
				add_ideas = GER_proletarian_legion_ns
			}
			#custom_effect_tooltip = "TODO_Danne: Could even give attack/defense bonus against the opposing side of the CW using targeted_modifier targeting a variable? Polish/nice to have"
		}
	}
	focus = {
		id = GER_strengthen_the_proletarian_international
		icon = GFX_focus_GER_strengthen_the_proletarian_international
		prerequisite = { focus = GER_support_the_proletarian_uprising }

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

		search_filters = {}


		completion_reward = {
			IF = {
				limit = {
					NOT = {
						any_other_country = {
							is_in_array = {
								array = GER.started_communist_cw_here
								value = THIS
							}
							capital_scope = { is_on_continent = europe}
						}
					}
				}
				custom_effect_tooltip = GER_strengthen_the_proletarian_international_tt
			}
	
			ELSE = {
				every_other_country = {
					limit = {
						is_in_array = {
							array = GER.started_communist_cw_here
							value = THIS
						}
						capital_scope = { is_on_continent = europe}
					}
					country_event = {
						id = wuw_GER_diplomacy.83
						hours = 6
					}
				}
			}
		}
	}
	focus = {
		id = GER_red_europe
		icon = GFX_focus_ger_great_red_menace
		prerequisite = { focus = GER_the_proletarian_legion focus = GER_strengthen_the_proletarian_international }

		x = 1
		y = 1
		relative_position_id = GER_the_proletarian_legion
		cost = 5
		available = {
			any_country = {
				capital_scope = {
					is_on_continent = europe
				}
				is_major = no
				NOT = { has_government = fascism }
				NOT = { has_government = communism }
			}
		}

		bypass = {
		}

		search_filters = {}

		completion_reward = {
			add_named_threat = { threat = 5 name = GER_red_europe }

			custom_effect_tooltip = GER_spark_the_flame_of_revolution_red_europe_tt
		}
	}
	focus = {
		id = GER_proletarian_solidarity
		icon = GFX_focus_GER_proletarian_solidarity
		prerequisite = { focus = GER_red_europe }

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

		search_filters = {}

		completion_reward = {
			custom_effect_tooltip = GER_proletarian_solidarity_decision_tt
		}
	}
	focus = {
		id = GER_liberate_italy
		icon = GFX_focus_attack_italy
		prerequisite = { focus = GER_liberate_austria }

		x = 1
		y = 2
		relative_position_id = GER_liberate_austria
		cost = 10
		available = {
			ITA = { 
				OR = {
					exists = yes
					is_subject = no
					NOT = { has_government = communism }
				}
			}
		}

		bypass = {
			ITA = { 
				OR = {
					exists = no
					is_subject = yes
					has_government = communism
				}
			}
		}

		will_lead_to_war_with = ITA

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			add_named_threat = { threat = 3 name = GER_liberate_italy }

			create_wargoal = {
				type = puppet_wargoal_focus
				target = ITA
				expire = 0
			}
		}
	}

	focus = {
		id = GER_the_end_to_fascist_europe
		icon = GFX_focus_ITA_liberation_or_death
		prerequisite = { focus = GER_liberate_italy }

		x = 1
		y = 2
		relative_position_id = GER_liberate_italy
		cost = 10
		available = {
			any_other_country = {
				capital_scope = {
					is_on_continent = europe
				}
				has_government = fascism
			}
		}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = GER_bypass_end_to_fascist_europe_tt
				NOT = {
					any_other_country = {
						capital_scope = { is_on_continent = europe }
						has_government = fascism
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ANNEXATION }
		will_lead_to_war_with = AUS	#56
		will_lead_to_war_with = ITA	#56
		will_lead_to_war_with = SPA	#56
		will_lead_to_war_with = SAN	#56

		completion_reward = {
			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_war_against_fascism_tt
			every_other_country = {
				limit = {
					OR = {
						is_in_faction_with = ROOT
						is_guaranteed_by = ROOT
						has_non_aggression_pact_with = ROOT
					}
					has_government = fascism
					NOT = {
						GER = {
							has_wargoal_against = PREV
						}
					}
				}
				if = {
					limit = {
						ROOT = { is_faction_leader = yes }
					}
					ROOT = { remove_from_faction = PREV }
				}
				else_if = {
					limit = {
						is_faction_leader = yes
					}
					ROOT = { leave_faction = yes }
				}
				if = {
					limit = {
						ROOT = {
							has_guaranteed = PREV
						}
					}
					ROOT = {
						diplomatic_relation = {
						    country = PREV
						    relation = guarantee
						    active = no
						}
					}
				}
				if = {
					limit = {
						has_non_aggression_pact_with = ROOT
					}
					ROOT = {
						diplomatic_relation = {
						    country = PREV
						    relation = non_aggression_pact
						    active = no
						}
					}
				}
				ROOT = {
					create_wargoal = {
						type = annex_everything
						target = PREV
					}
				}
			}
			every_other_country = {
				limit = {
					capital_scope = { is_on_continent = europe }
					has_government = fascism
					NOT = { is_in_faction_with = ROOT }
					NOT = { is_guaranteed_by = ROOT }
					NOT = { has_non_aggression_pact_with = ROOT }
					NOT = {
						GER = {
							has_wargoal_against = PREV
						}
					}	
				}
				ROOT = {
					create_wargoal = {
						type = annex_everything
						target = PREV
					}
				}
			}
		}
	}

	focus = {
		id = GER_root_out_imperialism
		icon = GFX_focus_GER_liberate_exploited_colonial_workers
		prerequisite = { focus = GER_the_end_to_fascist_europe focus = GER_red_europe }

		x = 0
		y = 1
		relative_position_id = GER_the_end_to_fascist_europe
		cost = 10
		available = {
		}

		search_filters = {}

		completion_reward = {
			custom_effect_tooltip = GER_root_out_imperialism_tt
			GER_set_up_colonial_resistance_states = yes #build array
			IF = {
				limit = {
					NOT = {
						any_other_country = {
							is_in_array = {
								array = GER.started_communist_cw_here
								value = THIS
							}
							NOT = { capital_scope = { is_on_continent = europe}}
						}
					}
				}
				custom_effect_tooltip = GER_strengthen_the_proletarian_international_internationally_tt
			}
			
			ELSE = {
				every_other_country = {
					limit = {
						is_in_array = {
							array = GER.started_communist_cw_here
							value = THIS
						}
						NOT = { capital_scope = { is_on_continent = europe}}
					}
					country_event = {
						id = wuw_GER_diplomacy.83
						hours = 6
					}
				}
			}
		}
	}

	focus = {
		id = GER_hegemony_over_europe
		icon = GFX_focus_GER_hegemony_over_europe
		prerequisite = { focus = GER_root_out_imperialism }

		x = 0
		y = 3
		relative_position_id = GER_root_out_imperialism
		cost = 10
		available = {
			any_other_country = {
				is_major = yes
				any_controlled_state = {
					is_on_continent = europe
				}
				NOT = {
					has_war_with = ROOT
				}
			}
			64 = {
				is_fully_controlled_by = ROOT
			}
		}

		will_lead_to_war_with = SOV
		will_lead_to_war_with = ENG
		will_lead_to_war_with = FRA
		will_lead_to_war_with = ITA

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			unlock_decision_tooltip = form_greater_proletarian_state

			custom_effect_tooltip = generic_skip_one_line_tt
			
			custom_effect_tooltip = GER_war_against_major_countries_in_europe_tt
			every_other_country = {
				limit = {
					is_major = yes
					any_controlled_state = {
						is_on_continent = europe
					}
					OR = {
						is_in_faction_with = ROOT
						is_guaranteed_by = ROOT
						has_non_aggression_pact_with = ROOT
					}
					NOT = {
						GER = {
							has_wargoal_against = PREV
						}
					}
				}
				if = {
					limit = {
						ROOT = { is_faction_leader = yes }
					}
					ROOT = { remove_from_faction = PREV }
				}
				else_if = {
					limit = {
						is_faction_leader = no
					}
					ROOT = { leave_faction = yes }
				}
				if = {
					limit = {
						ROOT = {
							has_guaranteed = PREV
						}
					}
					ROOT = {
						diplomatic_relation = {
						    country = PREV
						    relation = guarantee
						    active = no
						}
					}
				}
				if = {
					limit = {
						has_non_aggression_pact_with = ROOT
					}
					ROOT = {
						diplomatic_relation = {
						    country = PREV
						    relation = non_aggression_pact
						    active = no
						}
					}
				}
				ROOT = {
					create_wargoal = {
						type = annex_everything
						target = PREV
					}
				}
			}
			every_other_country = {
				limit = {
					is_major = yes
					any_controlled_state = {
						is_on_continent = europe
					}
					NOT = { is_in_faction_with = ROOT }
					NOT = { is_guaranteed_by = ROOT }
					NOT = { has_non_aggression_pact_with = ROOT }	
					NOT = {
						GER = {
							has_wargoal_against = PREV
						}
					}
				}
				ROOT = {
					create_wargoal = {
						type = annex_everything
						target = PREV
					}
				}
			}
			IF = {
				limit = {
					has_dlc = "Gotterdammerung"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = GER_build_volkshalle_landmark_tt
				hidden_effect = {
					64 = {
						remove_building = {
						    type = landmark_berlin_reichstag
						    level = 1
						    province = 6521
						}
						add_building_construction = {
						    type = landmark_berlin_volkshalle
						    level = 1
						    instant_build = yes
						    province = 6521
						}
					}
				}
			}
		}
	}

	focus = {
		id = GER_align_south_america
		icon = GFX_focus_GER_align_south_america
		prerequisite = { focus = GER_root_out_imperialism }

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

		search_filters = {}

		completion_reward = {
			custom_effect_tooltip = GER_communist_propaganda_south_america_decision_tt
		}
	}

	focus = {
		id = GER_wage_war_on_capitalism
		icon = GFX_focus_GER_wage_war_on_capitalism
		prerequisite = { focus = GER_align_south_america }

		x = 0
		y = 1
		relative_position_id = GER_align_south_america
		cost = 10
		available = {
			USA = {
				NOT = {
					is_in_faction_with = ROOT
					has_war_with = ROOT
					has_government = communism
				}
			}
		}

		will_lead_to_war_with = USA

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			add_timed_idea = {
				idea = GER_wage_war_on_capitalism_ns
				days = 365
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			create_wargoal = {
				type = annex_everything
				target = USA
			}

			add_ai_strategy = { 
				type = conquer	
				id = USA
				value = 250
			}

			add_ai_strategy = {
				type = antagonize
				id = USA
				value = 250
			}

		}
	}

	focus = {
		id = GER_instigate_middle_eastern_revolutions
		icon = GFX_focus_GER_align_middle_east
		prerequisite = { focus = GER_root_out_imperialism }

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

		search_filters = {}

		completion_reward = {
			custom_effect_tooltip = GER_communist_propaganda_middle_east_decision_tt
		}
	}

	focus = {
		id = GER_strike_at_the_rising_sun
		icon = GFX_focus_GER_strike_at_the_rising_sun
		prerequisite = { focus = GER_instigate_middle_eastern_revolutions }

		x = 0
		y = 1
		relative_position_id = GER_instigate_middle_eastern_revolutions
		cost = 10
		available = {
			NOT = {
				JAP = {
					has_government = communism
					is_in_faction_with = ROOT
					has_war_with = ROOT
				}
			}
		}

		will_lead_to_war_with = JAP

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			add_timed_idea = {
				idea = GER_pacific_blitzkrieg_ns
				days = 365
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			create_wargoal = {
				type = annex_everything
				target = JAP
			}

			add_ai_strategy = { 
				type = conquer	
				id = JAP
				value = 250
			}

			add_ai_strategy = {
				type = antagonize
				id = JAP
				value = 250
			}

		}
	}

	focus = {
		id = GER_nationalize_industries
		icon = GFX_focus_generic_communist_industry
		prerequisite = { focus = GER_social_ownership focus = GER_state_controlled_economy }

		x = 7
		y = 1
		relative_position_id = GER_social_ownership
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			every_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				random_select_amount = 3
				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
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}

				add_to_variable = { GER_industrial_capacity_military_industrial_organization_funds_gain = 0.1 tooltip =  military_industrial_organization_funds_gain_tt }
				add_to_variable  = { GER_industrial_capacity_military_industrial_organization_research_bonus = 0.1 tooltip = military_industrial_organization_research_bonus_tt }
			}

			ELSE = {
				add_to_variable = { GER_industrial_capacity_tank_manufacturer_cost_factor = -0.2 tooltip = tank_manufacturer_cost_factor_tt }
				add_to_variable = { GER_industrial_capacity_naval_manufacturer_cost_factor = -0.2 tooltip = naval_manufacturer_cost_factor_tt }
				add_to_variable = { GER_industrial_capacity_aircraft_manufacturer_cost_factor = -0.2 tooltip = aircraft_manufacturer_cost_factor_tt }
				add_to_variable = { GER_industrial_capacity_materiel_manufacturer_cost_factor = -0.2 tooltip = materiel_manufacturer_cost_factor_tt }
			}

			add_to_variable = { GER_industrial_industrial_concern_cost_factor = -0.2 tooltip = industrial_concern_cost_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_august_thalheimer = {
				remove_trait = {
					slot = political_advisor
					trait = GER_stakhonovite_collectivist1
				}
			}
			GER_august_thalheimer = {
 				add_trait = { 
 					slot = political_advisor
 					trait = GER_stakhonovite_collectivist2
 				}
 			}
		}
	}
	focus = {
		id = GER_form_agricultural_cooperatives
		icon = GFX_focus_generic_farmland
		prerequisite = { focus = GER_nationalize_industries }

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

		search_filters = {}

		completion_reward = {


			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
				}
				
				add_extra_state_shared_building_slots = 2
			}

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
				}
				
				add_extra_state_shared_building_slots = 2
			}
			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
				}
				
				add_extra_state_shared_building_slots = 2
			}


			random_owned_controlled_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = infrastructure
						size > 0						
					}
				}


				prioritize = { 50 59 63 66 67 68 }
				
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}

			random_owned_controlled_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = infrastructure
						size > 0						
					}
				}

				prioritize = { 50 59 63 66 67 68 }
				


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

			random_owned_controlled_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = infrastructure
						size > 0						
					}
				}


				prioritize = { 50 59 63 66 67 68 }

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

	focus = {
		id = GER_labor_rights_and_union_stuff
		icon = GFX_focus_generic_workers
		prerequisite = { focus = GER_nationalize_industries }

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

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_industrial_capacity_factory = 0.05
				tooltip = industrial_capacity_factory_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_modify_politburo_modifier_tt
			add_to_variable = { GER_politburo_stability_factor = 0.05 tooltip = stability_factor_tt }
			#add_to_variable = { GER_politburo_communism_drift = 0.03 tooltip = communism_drift_tt }
		}
	}

	focus = {
		id = GER_expand_social_welfare
		icon = GFX_focus_generic_welfare
		prerequisite = { focus = GER_form_agricultural_cooperatives focus = GER_labor_rights_and_union_stuff }

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

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER }

		completion_reward = {

			add_stability = 0.05
			add_political_power = 50

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_modify_politburo_modifier_tt
			add_to_variable = { GER_politburo_party_popularity_stability_factor = 0.1 tooltip = party_popularity_stability_factor_tt }
			add_to_variable = { GER_politburo_weekly_manpower = 100  tooltip = weekly_manpower_tt }
		}
	}

	focus = {
		id = GER_effectivize_the_volkswerke
		icon = GFX_focus_generic_public_works
		prerequisite = { focus = GER_form_agricultural_cooperatives focus = GER_labor_rights_and_union_stuff }

		x = 2
		y = 1
		relative_position_id = GER_labor_rights_and_union_stuff
		cost = 5
		available = {
			has_completed_focus = GER_establish_the_reichswerke
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			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_womens_rights_and_equality
		icon = GFX_focus_ARG_women_in_industry
		prerequisite = { focus = GER_expand_social_welfare focus = GER_effectivize_the_volkswerke }

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

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER }

		completion_reward = {

			add_popularity = {
				ideology = communism
				popularity = 0.05
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_locks_women_in_workforce_decision_tt

			custom_effect_tooltip = GER_modify_politburo_modifier_tt
			add_to_variable = { GER_politburo_conscription = 0.03 tooltip = conscription_tt }

			#IF = {
			#	limit = {
			#		NOT = { has_decision = women_in_the_workforce }
			#	}
			#	unlock_decision_tooltip = {
			#		decision = women_in_the_workforce
			#		show_effect_tooltip = yes # default is no
			#		show_modifiers = yes # default is no
			#	}
			#	IF = {
			#		limit = { has_war = yes }
			#		activate_decision = women_in_the_workforce	 
			#	} 
			#}
		}
	}

	focus = {
		id = GER_proletarian_dictatorship
		icon = GFX_focus_GER_proletarian_dictatorship
		prerequisite = { focus = GER_the_peoples_victory }
		mutually_exclusive = { focus = GER_legacy_of_the_spartacus_league }
		x = 5
		y = 1
		relative_position_id = GER_the_peoples_victory
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {
			add_political_power = 50
			add_stability = 0.05
			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_add_or_modify_politburo = yes

			add_to_variable = { GER_politburo_defensive_war_stability_factor = 0.1 tooltip = defensive_war_stability_factor_tt }
			add_to_variable = { GER_politburo_offensive_war_stability_factor = 0.2 tooltip = offensive_war_stability_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_walter_ulbricht = {
				swap_country_leader_traits = {
					remove = GER_inflexible_communist_organizer
					add = GER_staunch_stalinist_leader
				}
			}

			GER_walter_ulbricht = {
				remove_trait = {
					slot = political_advisor
					trait = GER_inflexible_communist_organizer
				}
			}
			GER_walter_ulbricht = {
 				add_trait = { 
 					slot = political_advisor
 					trait = GER_staunch_stalinist
 				}
 			}
		}
	}

	focus = {
		id = GER_state_controlled_economy
		icon = GFX_focus_DEN_heavy_regulations
		prerequisite = { focus = GER_proletarian_dictatorship }

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

		search_filters = { FOCUS_FILTER_INDUSTRY }

		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
			}
		}
	}

	focus = {
		id = GER_central_planning
		icon = GFX_focus_generic_soviet_politics
		prerequisite = { focus = GER_state_controlled_economy }

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

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			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
			}
		}
	}

	focus = {
		id = GER_the_german_stakhanovite_movement
		icon = GFX_focus_GER_stakhanovite_movement
		prerequisite = { focus = GER_central_planning }

		x = 0
		y = 1
		relative_position_id = GER_central_planning
		cost = 5
		available = {
			OR = {
				has_completed_focus = GER_establish_the_reichswerke
				has_completed_focus = GER_invest_in_vereinigte_stahlwerke
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_stability = -0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					65 = {
						is_fully_controlled_by = ROOT
					}
				}

				65 = {
					add_resource = {
						type = steel
						amount = 6
					}
					add_resource = {
						type = tungsten
						amount = 3
					}
					add_resource = {
						type = chromium
						amount = 3
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
						has_resources_amount = {
							resource = steel
							amount > 4
							delivered = no
						}
					}
					prioritize = { 51 60 }
					add_resource = {
						type = steel
						amount = 6
					}
					add_resource = {
						type = tungsten
						amount = 3
					}
					add_resource = {
						type = chromium
						amount = 3
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = {
						has_completed_focus = GER_establish_the_reichswerke
						has_completed_focus = GER_invest_in_vereinigte_stahlwerke
					}
				}
				custom_effect_tooltip = GER_the_german_stakhanovite_movement_tt
			}
			else_if = {
				limit = {
					has_completed_focus = GER_establish_the_reichswerke
				}
				custom_effect_tooltip = GER_modify_wehrwirtschaft_modifier_tt
				add_to_variable = { 
					GER_wehrwirtschaft_local_resources_factor = 0.05
					tooltip = local_resources_factor_tt
				}
			}
			else_if = {
				limit = {
					has_completed_focus = GER_invest_in_vereinigte_stahlwerke
				}
				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_spheres_of_influence
		icon = GFX_focus_GER_spheres_of_influence
		prerequisite = { focus = GER_state_controlled_economy }
		prerequisite = { focus = GER_defense_treaty_with_the_soviet }

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

		search_filters = {}

		completion_reward = {
			
			SOV = {
				country_event = {
					id = wuw_GER_diplomacy.89
					hours = 12
				}
			}

			custom_effect_tooltip = if_they_accept_tt

			custom_effect_tooltip = GER_spheres_of_influence_tt
			
			add_named_threat = { threat = 5 name = GER_spheres_of_influence }
		}
	}
	focus = {
		id = GER_czechoslovakia
		icon = GFX_focus_generic_communist_attack_czechoslovakia
		prerequisite = { focus = GER_spheres_of_influence }

		x = -1
		y = 1
		relative_position_id = GER_spheres_of_influence
		cost = 10
		available = {
			CZE = {
				NOT = {
					has_war_with = ROOT
					is_subject_of = SOV
				}
			}
			GER = {
				is_subject = no
				NOT = {
					controls_state = 69
					controls_state = 1078
					controls_state = 9
					controls_state = 75
					controls_state = 74
					controls_state = 72
				}
			}
		}

		bypass = {
			CZE = {
				OR = {
					exists = no 
					has_war_with = ROOT
					is_subject_of = ROOT
					is_subject_of = SOV
				}
			}	
		}

		will_lead_to_war_with = CZE

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {


			IF = {
				limit = {
					CZE = {
						OR = {
							is_subject_of = ROOT
							is_in_faction_with = ROOT
						}
					}
				}

				CZE = {
					country_event = {
						id = wuw_GER_diplomacy.85
						hours = 12
					}
				}
			}

			ELSE_IF = {
				limit = {
					CZE = {
						has_government = communism
					}
				}

				CZE = {
					country_event = {
						id = generic.5
						hours = 6
					}
				}
			}
			ELSE_IF = {
				limit = {
					CZE = {
						OR = {
							controls_state = 69
							controls_state = 1078
							controls_state = 9
							controls_state = 75
							controls_state = 74
							controls_state = 72
						}
					}
				}

				create_wargoal = {
					type = take_claimed_state
					target = CZE
					generator = { 69 1078 9 75 74 72 } 
				}
			}

			add_threat = 3

			add_ai_strategy = {
				type = antagonize
				id = CZE
				value = 50
			}

		}
	}

	focus = {
		id = GER_poland
		icon = GFX_focus_generic_communist_attack_poland
		prerequisite = { focus = GER_spheres_of_influence }

		x = 1
		y = 1
		relative_position_id = GER_spheres_of_influence
		cost = 10
		available = {
			POL = {
				NOT = {
					has_war_with = ROOT
					is_subject_of = SOV
				}
			}
			GER = {
				is_subject = no
				NOT = {
					controls_state = 807
					controls_state = 85
					controls_state = 86
					controls_state = 87
					controls_state = 88
					controls_state = 90
					controls_state = 92
					controls_state = 98
					controls_state = 10
					controls_state = 762
				}
			}
		}

		bypass = {
			POL = {
				OR = {
					exists = no 
					has_war_with = ROOT
					is_subject_of = ROOT
					is_subject_of = SOV
				}
			}	
		}

		will_lead_to_war_with = POL

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			IF = {
				limit = {
					POL = {
						OR = {
							is_subject_of = ROOT
							is_in_faction_with = ROOT
						}
					}
				}

				POL = {
					country_event = {
						id = wuw_GER_diplomacy.85
						hours = 12
					}
				}
			}

			ELSE_IF = {
				limit = {
					POL = {
						has_government = communism
					}
				}

				POL = {
					country_event = {
						id = generic.5
						hours = 6
					}
				}
			}

			ELSE_IF = {
				limit = {
					POL = {
						OR = {
							controls_state = 807
							controls_state = 85
							controls_state = 86
							controls_state = 87
							controls_state = 88
							controls_state = 90
							controls_state = 92
							controls_state = 98
							controls_state = 10
							controls_state = 762
						}
					}
				}
				create_wargoal = {
					type = take_claimed_state
					target = POL
					generator = { 807 85 86 87 88 90 92 98 10 762 } # optional 
				}
			}

			add_threat = 3

			add_ai_strategy = {
				type = antagonize
				id = POL
				value = 50
			}

		}
	}

	focus = {
		id = GER_hungary
		icon = GFX_focus_generic_communist_attack_hungary
		prerequisite = { focus = GER_czechoslovakia focus = GER_poland }

		x = 1
		y = 1
		relative_position_id = GER_czechoslovakia
		cost = 10
		available = {
			is_subject = no
			HUN = {
				NOT = {
					has_war_with = ROOT
					is_subject_of = SOV
				}
				OR = {
					controls_state = 155
					controls_state = 1104
					controls_state = 174
					controls_state = 973
					controls_state = 43
					controls_state = 154
				}
			}
		}

		bypass = {
			OR = {
				AND = {
					controls_state = 155
					controls_state = 1104
					controls_state = 174
					controls_state = 973
					controls_state = 43
					controls_state = 154
				}
				HUN = {
					OR = {
						exists = no 
						has_war_with = ROOT
						is_subject_of = ROOT
						is_subject_of = SOV
					}
				}
			}
			
				
			
			
			
		}

		will_lead_to_war_with = HUN

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			IF = {
				limit = {
					HUN = {
						OR = {
							is_subject_of = ROOT
							is_in_faction_with = ROOT
						}
						
					}
				}

				HUN = {
					country_event = {
						id = wuw_GER_diplomacy.85
						hours = 12
					}
				}
			}

			ELSE_IF = {
				limit = {
					HUN = {
						has_government = communism
					}
					ROOT = {
						is_faction_leader = yes
					}
				}

				HUN = {
					country_event = {
						id = generic.5
						hours = 6
					}
				}
			}
			ELSE_IF = {
				limit = {
					HUN = {
						OR = {
							controls_state = 155
							controls_state = 1104
							controls_state = 174
							controls_state = 973
							controls_state = 43
							controls_state = 154
						}
					}
				}

				create_wargoal = {
					type = annex_everything
					target = HUN
				}
			}

			add_threat = 3

			add_ai_strategy = {
				type = antagonize
				id = HUN
				value = 50
			}

		}
	}

	focus = {
		id = GER_the_northern_shield
		icon = GFX_focus_GER_northern_shield
		prerequisite = { focus = GER_hungary }

		x = 0
		y = 1
		relative_position_id = GER_hungary
		cost = 10
		available = {
			OR = {
				DEN = {
					NOT = {
						has_war_with = ROOT
						is_subject_of = SOV
					}
				}
				NOR = {
					NOT = {
						has_war_with = ROOT
						is_subject_of = SOV
					}
				}
				SWE = {
					NOT = {
						has_war_with = ROOT
						is_subject_of = SOV
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		will_lead_to_war_with = DEN
		will_lead_to_war_with = NOR
		will_lead_to_war_with = SWE

		completion_reward = {

			if = {
				limit = {
					NOT = {
						DEN = {
							OR = {
								is_subject_of = ROOT
								is_subject_of = SOV
								is_in_faction_with = ROOT
								has_government = communism
							}
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = DEN
					expire = 0
				}
			}

			ELSE_IF = {
				limit = {
					DEN = {
						OR = {
							is_subject_of = ROOT
							is_in_faction_with = ROOT
						}
					}
				}

				DEN = {
					country_event = {
						id = wuw_GER_diplomacy.85
						hours = 6
					}
				}
				
			}

			ELSE_IF = {
				limit = {
					DEN = {
						has_government = communism
					}
					is_faction_leader = yes
				}

				DEN = {
					country_event = {
						id = generic.5
						hours = 6
					}
				}
				
			}


			if = {
				limit = {
					NOT = {
						NOR = {
							OR = {
								is_subject_of = ROOT
								is_subject_of = SOV
								is_in_faction_with = ROOT
								has_government = communism
							}
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = NOR
					expire = 0
				}
			}

			ELSE_IF = {
				limit = {
					NOR = {
						OR = {
							is_subject_of = ROOT
							is_in_faction_with = ROOT
						}
					}
				}

				NOR = {
					country_event = {
						id = wuw_GER_diplomacy.85
						hours = 6
					}
				}
				
			}

			ELSE_IF = {
				limit = {
					NOR = {
						has_government = communism
					}
					is_faction_leader = yes
				}

				NOR = {
					country_event = {
						id = generic.5
						hours = 6
					}
				}
				
			}

			if = {
				limit = {
					NOT = {
						SWE = {
							OR = {
								is_subject_of = ROOT
								is_subject_of = SOV
								is_in_faction_with = ROOT
								has_government = communism
							}
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = SWE
					expire = 0
				}
			}

			ELSE_IF = {
				limit = {
					SWE = {
						OR = {
							is_subject_of = ROOT
							is_in_faction_with = ROOT
						}
					}
				}

				SWE = {
					country_event = {
						id = wuw_GER_diplomacy.85
						hours = 6
					}
				}
			}

			ELSE_IF = {
				limit = {
					SWE = {
						has_government = communism
					}
					is_faction_leader = yes
				}

				SWE = {
					country_event = {
						id = generic.5
						hours = 6
					}
				}
			}

			add_threat = 3
		}
	}

	focus = {
		id = GER_intervene_in_spain
		icon = GFX_focus_generic_befriend_republican_spain_focus
		prerequisite = { focus = GER_legacy_of_the_spartacus_league focus = GER_proletarian_dictatorship }

		x = 4
		y = 1
		relative_position_id = GER_legacy_of_the_spartacus_league
		cost = 5
		available = {
			NOT = { has_idea = GER_fernostliche_legion_ns }
			any_country = {
				original_tag = SPR 
				exists = yes
				OR = {
					has_government = democratic
					has_government = communism
				}
				has_volunteers_amount_from = {
					tag = ROOT
					count > 1
				}
			}	
		}

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_AIR_XP }

		completion_reward = {

			if = {
				limit = {
					NOT = { has_dlc = "La Resistance" }
				}
				random_other_country = {
					limit = {
						original_tag = SPR
						OR = {
							has_government = democratic
							has_government = communism
						}
					}
					add_opinion_modifier = { target = GER modifier = ita_supported_spain_civil_war }
				}
			}
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				SPR = { add_opinion_modifier = { target = GER modifier = ita_supported_spain_civil_war } }
			}

			add_timed_idea = {
				idea = GER_legion_condor_ns
				days = 545
			}

			add_ai_strategy = {
				type = befriend
				id = SPR
				value = 100
			}

		}

	}

	focus = {
		id = GER_assist_our_eastern_comrades
		icon = GFX_focus_chi_cooperation_with_the_communists
		prerequisite = { focus = GER_legacy_of_the_spartacus_league focus = GER_proletarian_dictatorship }

		x = 6
		y = 1
		relative_position_id = GER_legacy_of_the_spartacus_league
		cost = 5
		available = {
			NOT = { has_idea = GER_legion_condor_ns }
			PRC = { 
				exists = yes
				is_subject = no
				has_volunteers_amount_from = {
					tag = ROOT
					count > 1
				}
			}
		}

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_AIR_XP }

		completion_reward = {

			add_timed_idea = {
				idea = GER_fernostliche_legion_prc_ns
				days = 545
			}

			add_ai_strategy = {
				type = befriend
				id = PRC
				value = 100
			}

		}
	}

	focus = {
		id = GER_sign_the_second_treaty_of_berlin
		icon = GFX_focus_GER_SOV_treaty
		prerequisite = { focus = GER_the_peoples_victory }

		x = 8
		y = 1
		relative_position_id = GER_the_peoples_victory
		cost = 5
		available = {
			NOT = {
				has_war_with = SOV
				SOV = {
					has_government = neutrality
					has_government = fascism
				}
			}
		}

		bypass = {
			OR = {
				is_in_faction_with = SOV
				has_non_aggression_pact_with = SOV
				AND = {
					is_guaranteed_by = SOV
					has_guaranteed = SOV
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			SOV = {
				country_event = {
					id = wuw_GER_diplomacy.90
					hours = 12
				}
			}

			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				add_opinion_modifier = {
					target = SOV
					modifier = medium_increase 
				}
			}
			SOV = {
				event_option_tooltip = wuw_GER_diplomacy.90.a
			}
			
			
		}
	}

	focus = {
		id = GER_defense_treaty_with_the_soviet
		icon = GFX_focus_GER_SOV_defence_treaty
		prerequisite = { focus = GER_sign_the_second_treaty_of_berlin }

		x = -1
		y = 1
		relative_position_id = GER_sign_the_second_treaty_of_berlin
		cost = 5
		available = {
			is_subject = no
			NOT = { has_war_with = SOV }
			SOV = {
				is_subject = no
				has_government = communism
				has_war = no
			}
		}

		bypass = {
			OR = {
				AND = {
					is_guaranteed_by = SOV
					has_guaranteed = SOV
				}
				any_country_with_original_tag = {
					original_tag_to_check = SOV #in the event of cw weirdness
					OR = {
						exists = no
						NOT = { has_government = communism }
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_ai_strategy = { 
				type = befriend 
				id = SOV
				value = 100
			}

			SOV = {
				add_ai_strategy = { 
					type = befriend 
					id = ROOT
					value = 100
				}
			}

			add_popularity = {
				ideology = communism
				popularity = 0.05
			}

			SOV = {
				country_event = {
					id = wuw_GER_mutual_guarantees.1
					hours = 12
				}
			}

			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				give_guarantee = SOV
				SOV = {
					give_guarantee = GER
				}
			}

			IF = {
				limit = {
					has_country_leader = {
						ruling_only = yes # default = yes
						character = GER_ernst_thalmann
					}
				}

				hidden_effect = {
					SOV = {
						country_event = {
							id = wuw_GER_diplomacy.91
							hours = 12
						}
					}
				}
			}
		}
	}

	focus = {
		id = GER_industrial_cooperation
		icon = GFX_goal_generic_soviet_construction
		prerequisite = { focus = GER_sign_the_second_treaty_of_berlin }

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

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			SOV = {
				country_event = {
					id = wuw_GER_diplomacy.95
					hours = 12
				}
			}
		}
	}

	focus = {
		id = GER_tech_sharing
		icon = GFX_focus_generic_socialist_science
		prerequisite = { focus = GER_industrial_cooperation }

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

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {

			SOV = {
				country_event = {
					id = wuw_GER_diplomacy.98
					hours = 12
				}
			}

			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				add_to_tech_sharing_group = GER_SOV_industrial_development_group
				SOV = {
					add_to_tech_sharing_group = GER_SOV_industrial_development_group
				}
			}
		}
	}

	focus = {
		id = GER_resource_trade
		icon = GFX_goal_generic_positive_trade_relations
		prerequisite = { focus = GER_industrial_cooperation }

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

		search_filters = { FOCUS_FILTER_INTERNATIONAL_TRADE }

		completion_reward = {

			SOV = {
				country_event = {
					id = wuw_GER_diplomacy.1
					hours = 6
				}
			}
		}
	}
	focus = {
		id = GER_factories_for_resources
		icon = GFX_focus_GER_factories_for_resources
		prerequisite = { focus = GER_tech_sharing }
		prerequisite = { focus = GER_resource_trade }

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

		search_filters = {}

		completion_reward = {
			custom_effect_tooltip = GER_factories_for_resources_tt
		}
	}





	################################
	################################
	#### NON-ALIGNED/DEMOCRATIc ####
	################################
	################################

	focus = {
		id = GER_monarchist_sentiment
		icon = GFX_focus_generic_monarchist_sentiment
		prerequisite = { focus = GER_tend_to_the_future_of_germany }
		mutually_exclusive = { focus = GER_start_the_proletarian_revolution }

		x = 11
		y = 1
		relative_position_id = GER_tend_to_the_future_of_germany
		
		cost = 2

		available = {
		}

		allow_branch = {
			has_dlc = "Gotterdammerung"
			has_game_rule = {
				rule = GER_focus_tree_selection
				option = STANDARD_TREE
			}
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = GER_start_the_proletarian_revolution
					has_completed_focus = GER_remilitarize_the_rhineland
				}
			}
		}

		offset = {
			x = -11
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_monarchist_sentiment
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {
			if = {
				limit = {
					has_active_mission = GER_growing_public_dissent_mission
				}
				add_days_mission_timeout = {
					mission = GER_growing_public_dissent_mission
					days = 30
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_popularity = {
				ideology = neutrality
				popularity = 0.03
			}	
			add_popularity = {
				ideology = democratic
				popularity = 0.03
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			add_political_power = 50

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					has_global_flag = GER_civil_war_has_started
				}
				set_party_name = { 
					ideology = neutrality 
					long_name = GER_neutrality_party_kaiserreich_long 
					name = GER_neutrality_party_kaiserreich 
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_andreas_hermes
			show_ideas_tooltip = GER_wilhelm_von_gayl

			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				mark_focus_tree_layout_dirty = yes
			}
		}
	}

	focus = {
		id = GER_the_monarchy_compromise_ww
		icon = GFX_focus_GER_monarchy_compromise
		prerequisite = { focus = GER_monarchist_sentiment }
		mutually_exclusive = { focus = GER_revive_the_kaiserreich_ww }

		x = -1
		y = 1
		relative_position_id = GER_monarchist_sentiment
		cost = 5
		available = {
			OR = {
				has_government = democratic
				democratic > 0.35
			}
		}
		continue_if_invalid = yes	#56 - Quality of Life + stopping the AI from shooting itself

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

		completion_reward = {

			add_named_threat = { threat = 2 name = GER_the_monarchy_compromise }

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ideas = GER_wilhelm_iii 

			custom_effect_tooltip = generic_skip_one_line_tt

			add_popularity = { 
				ideology = democratic 
				popularity = 0.1 
			}

			hidden_effect = {
				set_cosmetic_tag = GER_german_monarchy
			}

		}
	}

	focus = {
		id = GER_re_establish_free_elections_ww
		icon = GFX_goal_support_democracy
		prerequisite = { focus = GER_the_monarchy_compromise_ww }

		x = -4
		y = 1
		relative_position_id = GER_the_monarchy_compromise_ww

		cost = 5

		allow_branch = {
			has_dlc = "Gotterdammerung"
			has_game_rule = {
				rule = GER_focus_tree_selection
				option = STANDARD_TREE
			}
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					OR = {
						has_completed_focus = GER_revive_the_kaiserreich_ww
						has_completed_focus = GER_remilitarize_the_rhineland
						has_completed_focus = GER_start_the_proletarian_revolution
					}
				}
			}
		}

		offset = {
			x = 12
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_start_the_proletarian_revolution
			}
		}

		#offset = {
		#	x = -7
		#	y = 0
		#	trigger = {
		#		has_game_rule = {
		#			rule = obsolete_focus_branches_visibility
		#			option = HIDE
		#		}
		#		has_completed_focus = GER_re_establish_free_elections_ww
		#	}
		#}

		available = {
			NOT = {
				OR = {
					has_government = communism
					has_government = fascism
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_STABILITY }

		completion_reward = {

			add_stability = 0.1

			custom_effect_tooltip = generic_skip_one_line_tt

			add_timed_idea = {
				idea = GER_reestablish_free_elections
				days = 720
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			country_event = { id = wuw_GER_german_politics.01 }

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_theodor_heuss
			show_ideas_tooltip = GER_julius_leber
			show_ideas_tooltip = GER_kurt_schumacher

			hidden_effect = {
				mark_focus_tree_layout_dirty = yes
			}

		}
	}

	focus = {
		id = GER_ban_political_uniforms
		icon = GFX_focus_generic_self_management
		prerequisite = { focus = GER_re_establish_free_elections_ww }

		x = -4
		y = 1
		relative_position_id = GER_re_establish_free_elections_ww
		
		cost = 5

		available = {
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

		completion_reward = {

			add_ideas = GER_the_shield_of_democracy_idea

			custom_effect_tooltip = generic_skip_one_line_tt
			
			add_political_power = 50 
			add_stability = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			add_popularity = { 
				ideology = democratic 
				popularity = 0.05 
			}

		}
	}

	focus = {
		id = GER_embrace_liberal_leanings
		icon = GFX_focus_generic_workers
		prerequisite = { focus = GER_ban_political_uniforms }
		mutually_exclusive = { focus = GER_strive_for_conservative_values }

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

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			swap_ideas = {
				remove_idea = GER_the_shield_of_democracy_idea
				add_idea = GER_the_shield_of_democracy_liberalism_idea
			}	

			hidden_effect = {
				remove_trait = {
				    character = GER_kurt_schumacher
				    slot = political_advisor
				    trait = democratic_reformer
				}
			}
			add_trait = { 
			    character = GER_kurt_schumacher
			    slot = political_advisor
			    trait = GER_staunch_socialist
			}

			hidden_effect = {
				IF = {
					limit = {
						has_completed_focus = GER_the_monarchy_compromise_ww
					}
					set_cosmetic_tag = GER_german_monarchy_liberal
				}
			}

		}
	}

	focus = {
		id = GER_strive_for_conservative_values
		icon = GFX_focus_generic_limited_social_mobilization
		prerequisite = { focus = GER_ban_political_uniforms }
		mutually_exclusive = { focus = GER_embrace_liberal_leanings }

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

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			swap_ideas = {
				remove_idea = GER_the_shield_of_democracy_idea
				add_idea = GER_the_shield_of_democracy_conservatism_idea
			}

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_carl_friedrich_goerdeler

			hidden_effect = {
				IF = {
					limit = {
						has_completed_focus = GER_the_monarchy_compromise_ww
					}
					set_cosmetic_tag = GER_german_monarchy_conservative
				}
			}

		}
	}

	focus = {
		id = GER_strengthen_the_welfare_state
		icon = GFX_focus_generic_welfare
		prerequisite = { focus = GER_strive_for_conservative_values focus = GER_embrace_liberal_leanings }

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

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_MANPOWER }

		completion_reward = {
			IF = {
				limit = {
					has_idea = GER_the_shield_of_democracy_liberalism_idea
				}
				swap_ideas = {
					remove_idea = GER_the_shield_of_democracy_liberalism_idea
					add_idea = GER_the_shield_of_democracy_liberalism_and_welfare_idea
				}
			}
			ELSE = {
				swap_ideas = {
					remove_idea = GER_the_shield_of_democracy_conservatism_idea
					add_idea = GER_the_shield_of_democracy_conservatism_and_welfare_idea
				}
			}	
		}
	}

	focus = {
		id = GER_democratic_shield
		icon = GFX_focus_ARG_defense_and_democracy
		prerequisite = { focus = GER_strengthen_the_welfare_state }

		x = 0
		y = 1
		relative_position_id = GER_strengthen_the_welfare_state
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT }
		will_lead_to_war_with = AUS	#56
		will_lead_to_war_with = ITA	#56
		will_lead_to_war_with = SPA	#56
		will_lead_to_war_with = SAN	#56

		completion_reward = {

			IF = {
				limit = {
					NOT = {
						has_rule = can_send_volunteers
					}
				}
				set_rule = { 
					can_send_volunteers = yes
				}	
			}

			add_war_support = 0.1

			custom_effect_tooltip =  generic_skip_one_line_tt

			IF = {
				limit = {
					has_idea = GER_the_shield_of_democracy_liberalism_and_welfare_idea
				}
				swap_ideas = {
					remove_idea = GER_the_shield_of_democracy_liberalism_and_welfare_idea
					add_idea = GER_the_shield_of_democracy_liberalism_welfare_and_democracy_idea
				}
			}
			ELSE = { 
				swap_ideas = {
					remove_idea = GER_the_shield_of_democracy_conservatism_and_welfare_idea
					add_idea = GER_the_shield_of_democracy_conservatism_welfare_and_democracy_idea
				}
			}

			custom_effect_tooltip = GER_send_military_support_democratic_shield_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_war_against_fascism_tt
			every_other_country = {
				limit = {
					OR = {
						is_in_faction_with = ROOT
						is_guaranteed_by = ROOT
						has_non_aggression_pact_with = ROOT
					}
					has_government = fascism
					NOT = {
						GER = {
							has_wargoal_against = PREV
						}
					}
				}
				if = {
					limit = {
						ROOT = { is_faction_leader = yes }
					}
					ROOT = { remove_from_faction = PREV }
				}
				else_if = {
					limit = {
						is_faction_leader = yes
					}
					ROOT = { leave_faction = yes }
				}
				if = {
					limit = {
						ROOT = {
							has_guaranteed = PREV
						}
					}
					ROOT = {
						diplomatic_relation = {
						    country = PREV
						    relation = guarantee
						    active = no
						}
					}
				}
				if = {
					limit = {
						has_non_aggression_pact_with = ROOT
					}
					ROOT = {
						diplomatic_relation = {
						    country = PREV
						    relation = non_aggression_pact
						    active = no
						}
					}
				}
				ROOT = {
					create_wargoal = {
						type = annex_everything
						target = PREV
					}
				}
			}
			every_other_country = {
				limit = {
					capital_scope = { is_on_continent = europe }
					has_government = fascism
					NOT = { is_in_faction_with = ROOT }
					NOT = { is_guaranteed_by = ROOT }
					NOT = { has_non_aggression_pact_with = ROOT }
					NOT = {
						GER = {
							has_wargoal_against = PREV
						}
					}	
				}
				ROOT = {
					create_wargoal = {
						type = annex_everything
						target = PREV
					}
				}
			}
		}
	}

	focus = {
		id = GER_reverse_the_brain_drain_ww
		icon = GFX_focus_generic_university_3
		prerequisite = { focus = GER_re_establish_free_elections_ww }

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

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			random_scientist = {
				limit = {
					has_scientist_level = {
						specialization = specialization_nuclear
						level > 0
					}
				}
				add_scientist_level = {
					specialization = specialization_nuclear
					level = 1
				}
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_research_speed_factor = 0.05
				tooltip = research_speed_factor_tt 
			}
			
			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
			}
		}
	}

	focus = {
		id = GER_shared_rd_programs_ww
		icon = GFX_goal_tfv_generic_tech_sharing
		prerequisite = { focus = GER_reverse_the_brain_drain_ww }

		x = -1
		y = 1
		relative_position_id = GER_reverse_the_brain_drain_ww

		cost = 10

		available = {
			is_faction_leader = yes
		}

		bypass = {
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			if = {
				limit = {
					num_faction_members > 1
				}
				for_each_scope_loop = {
					array = ROOT.allies
					add_to_variable = { GER.GER_rnd_programs_modifier_allies_count = 1 }
					log = "[This.GetName] was added to the RnD Program§"
				}

				set_temp_variable = { temp_targets_index = GER_rnd_programs_modifier_allies_count }

				while_loop_effect = {
					limit = {
						check_variable = { temp_targets_index > 0 }
						check_variable = { 
							var = GER_rnd_programs_modifier_research_speed_factor
							value = 0.1
							compare = less_than_or_equals
						}
					}
					add_to_variable = { GER_rnd_programs_modifier_research_speed_factor = 0.01 }
					subtract_from_temp_variable = { temp_targets_index = 1 }
				}

				hidden_effect = { #This is necessary since Germany is already accounted for when setting all of this up
					subtract_from_variable = { GER.GER_rnd_programs_modifier_research_speed_factor = 0.01 }
				}
			}
			add_dynamic_modifier = { modifier = GER_rnd_programs_modifier }
			custom_effect_tooltip = GER_shared_rd_programs_ww_tt
			
		}
	}

	focus = {
		id = GER_pool_technical_know_how_ww
		icon = GFX_goal_generic_scientific_exchange
		prerequisite = { focus = GER_reverse_the_brain_drain_ww }

		x = 1
		y = 1
		relative_position_id = GER_reverse_the_brain_drain_ww
		cost = 10
		available = {
			is_faction_leader = yes
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
 
		completion_reward = {

			add_ideas = GER_pool_technical_know_how
			
			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_pool_technical_know_how_tt
			hidden_effect = {
				every_other_country = {
					limit = { is_in_faction_with = GER }
					add_ideas = GER_pool_technical_know_how
				}
			}

		}
	}

	focus = {
		id = GER_the_mannheim_project_ww
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = GER_shared_rd_programs_ww }
		prerequisite = { focus = GER_pool_technical_know_how_ww }

		dynamic = yes

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

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {

			add_breakthrough_progress = {
				specialization = specialization_nuclear
				value = 0.5
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_add_or_modify_wunderwaffen = yes
			add_to_variable = { 
				GER_wunderwaffen_production_speed_nuclear_facility_factor = 0.15
				tooltip = production_speed_nuclear_facility_factor_tt
			}
			add_to_variable = { 
				GER_wunderwaffen_production_speed_nuclear_reactor_factor = 0.1
				tooltip = production_speed_nuclear_reactor_factor_tt
			}
			add_to_variable = { 
				GER_wunderwaffen_sp_commercial_nuclear_reactor_speed_factor = 0.1
				tooltip = sp_commercial_nuclear_reactor_speed_factor_tt
			}
			add_to_variable = { 
				GER_wunderwaffen_sp_nuclear_reactor_speed_factor = 0.1
				tooltip = sp_nuclear_reactor_speed_factor_tt
			}
		}
	}

	focus = {
		id = GER_re_ratify_the_locarno_treaty
		icon = GFX_focus_generic_treaty
		prerequisite = { focus = GER_re_establish_free_elections_ww }

		x = 3
		y = 1
		relative_position_id = GER_re_establish_free_elections_ww
		cost = 5

		dynamic = yes

		available = {
			NOT = {
				OR = {
					has_wargoal_against = FRA
					has_war_with = FRA
				}
			}
			NOT = {
				FRA = {
					has_government = fascism
				}
			}
		}

		bypass = {
			FRA = {
				has_government = fascism
			}
		}

		search_filters = { FOCUS_FILTER_STABILITY }

		completion_reward = {

			add_stability = 0.05

			custom_effect_tooltip =  generic_skip_one_line_tt

			FRA = {
				add_opinion_modifier = {
					target = ROOT
					modifier = reaffirmed_the_locarno_treaty
				}	
			}
			ROOT = {
				add_opinion_modifier = {
					target = FRA
					modifier = our_democratic_allies_opm
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_re_ratify_the_locarno_treaty_tt
			hidden_effect = {
				add_ai_strategy = {
					type = befriend
					id = "FRA"
					value = 50
				}
				FRA = {
					add_ai_strategy = {
						type = befriend
						id = "GER"
						value = 100
					}
					add_ai_strategy = {
						type = support
						id = "GER"
						value = 100
					}
					add_ai_strategy = {
						type = protect
						id = "GER"
						value = 50
					}
				} 
			}

		}
	}

	focus = {
		id = GER_offer_trade_proposal
		icon = GFX_goal_generic_positive_trade_relations
		prerequisite = { focus = GER_re_ratify_the_locarno_treaty }

		x = -1
		y = 2
		relative_position_id = GER_re_ratify_the_locarno_treaty
		cost = 5
		available = {
			OR = {
				AND = {
					NOT = {	has_wargoal_against = HOL }
					NOT = {	has_war_with = HOL }
					HOL = { has_subject = INS }
				}
				AND = {
					NOT = {	has_wargoal_against = BEL }
					NOT = {	has_war_with = BEL }
					BEL = { has_subject = COG }		
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INTERNATIONAL_TRADE }

		completion_reward = {

			IF = {
				limit = {
					NOT = {	has_wargoal_against = HOL }
					NOT = {	has_war_with = HOL }
					INS = {
						is_subject_of = HOL
					}
				}

				HOL = {
					country_event = { id = wuw_GER_diplomacy.1 days = 2 }
					set_country_flag = GER_trading_proposal_flag
					add_ai_strategy = {
						type = befriend
						id = GER		
						value = 100
					}
					add_ai_strategy = {
						type = alliance
						id = GER		
						value = 50
					}	
				}

				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					HOL = {
						add_ideas = GER_german_trade_ns
						add_opinion_modifier = {
							target = ROOT
							modifier = GER_trading_partners
						}
					}
					INS = {
						add_ideas = GER_german_trade_subject_ns
						add_opinion_modifier = {
							target = ROOT
							modifier = GER_trading_partners
						}
					}
					custom_effect_tooltip = war_will_cancel_deal_tt
				}

				custom_effect_tooltip = generic_skip_one_line_tt
			}

			IF = {
				limit = {
					NOT = {	has_wargoal_against = BEL }
					NOT = {	has_war_with = BEL }
					COG = {
						is_subject_of = BEL
					}
				}
				BEL = {
					country_event = { id = wuw_GER_diplomacy.1 days = 2 }
					set_country_flag = GER_trading_proposal_flag
					add_ai_strategy = {
						type = befriend
						id = GER		
						value = 100
					}
					add_ai_strategy = {
						type = alliance
						id = GER		
						value = 50
					}					
				}

				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					BEL = {
						add_ideas = GER_german_trade_ns
						add_opinion_modifier = {
							target = ROOT
							modifier = GER_trading_partners
						}
					}
					COG = {
						add_ideas = GER_german_trade_subject_ns
						add_opinion_modifier = {
							target = ROOT
							modifier = GER_trading_partners
						}
					}
					custom_effect_tooltip = war_will_cancel_deal_tt
				}
			}
			
		}
	}

	focus = {
		id = GER_franco_germanic_pact
		icon = GFX_focus_chi_reach_out_to_france
		prerequisite = { focus = GER_re_ratify_the_locarno_treaty }
 
		dynamic = yes

		x = 1
		y = 1
		relative_position_id = GER_re_ratify_the_locarno_treaty
		cost = 5
		available = {
			is_subject = no
			has_civil_war = no
			NOT = {
				has_wargoal_against = FRA
				has_war_with = FRA
			}
			NOT = {
				FRA = {
					has_government = fascism
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH }

		completion_reward = {

			FRA = {
				country_event = {
					id =  wuw_GER_mutual_guarantees.1
					hours = 12
					random_hours = 24
				}
				add_ai_strategy = {
					type = alliance
					id = GER		
					value = 50
				}	
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				give_guarantee = FRA
				FRA = {
					give_guarantee = ROOT
				}
				ROOT = {
					add_to_tech_sharing_group = ger_fra_research 
				}
				FRA = {
					add_to_tech_sharing_group = ger_fra_research 
				}
			}

		}
	}

	focus = {
		id = GER_request_the_return_of_french_held_colonies
		icon = GFX_focus_generic_concessions
		prerequisite = { focus = GER_franco_germanic_pact }

		x = 0
		y = 1
		relative_position_id = GER_franco_germanic_pact

		cost = 10

		available = {
			is_subject = no
			NOT = {
				has_wargoal_against = FRA
				has_war_with = FRA
			}
			NOT = {
				FRA = {
					has_government = fascism
				}
			}
			FRA = {
				has_opinion = {
					target = ROOT
					value > 50
				}	
			}
			any_state = {
				is_owned_and_controlled_by = FRA
				OR = {
					state = 777
					state = 773
					state = 895
					state = 894
					state = 541
					state = 893
					state = 768
					state = 769
					state = 546
				}
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			FRA = {
				country_event = {
					id = wuw_GER_weltpolitik.1
					hours = 12
					random_hours = 24
				}	
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				FRA = {
					every_controlled_state = {
						limit = {
							OR = {
								state = 777
								state = 773
								state = 895
								state = 894
								state = 541
								state = 893
								state = 768
								state = 769
								state = 546
							}
						}
						transfer_state_to = ROOT
					}
				}
			}
		}
	}

	focus = {
		id = GER_revive_the_kaiserreich_ww
		icon = GFX_focus_ger_revive_kaiserreich
		prerequisite = { focus = GER_monarchist_sentiment }
		mutually_exclusive = { focus = GER_the_monarchy_compromise_ww }

		x = 1
		y = 1
		relative_position_id = GER_monarchist_sentiment
		cost = 5
		available = {
			has_government = neutrality
			neutrality > 0.35
		}
		continue_if_invalid = yes	#56 - Quality of Life + stopping the AI from shooting itself

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_STABILITY }

		completion_reward = {

			add_named_threat = { threat = 5 name = GER_revive_the_kaiserreich }

			custom_effect_tooltip = GER_revive_the_kaiserreich_tt
			hidden_effect = { set_cosmetic_tag = GER_german_empire }

			custom_effect_tooltip = generic_skip_one_line_tt

			add_popularity = { 
				ideology = neutrality 
				popularity = 0.1 
			}
			add_stability = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					NOT = {
						has_rule = can_send_volunteers
					}
				}
				set_rule = { 
					can_send_volunteers = yes
				}	
			}

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_carl_friedrich_goerdeler
			show_ideas_tooltip = GER_alfred_hugenberg

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

		}
	}

	focus = {
		id = GER_return_of_the_kaiser_ww

		icon = GFX_focus_ger_return_of_the_kaiser

		prerequisite = { focus = GER_revive_the_kaiserreich_ww }

		mutually_exclusive = { focus = GER_military_dictatorship }

		x = 0
		y = 1
		relative_position_id = GER_revive_the_kaiserreich_ww

		cost = 2

		available = {
			has_government = neutrality
			36 = { #State with Utrecht, where Wilhelm II resided
				controller = {	
					NOT = { has_war_with = ROOT }
				}
			}
		}

		will_lead_to_war_with = HOL
		will_lead_to_war_with = FRA # To get France to move troops to the Maginot

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {

			add_popularity = {
				ideology = democratic
				popularity = -0.05
			}
			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { controls_state = 36 }
					36 = { #State with Utrecht, where Wilhelm II resided
						controller = {	
							NOT = { is_subject_of = ROOT }
						}
					}
				}
				36 = { #State with Utrecht, where Wilhelm II resided
					controller = {	
						country_event = { 
							id = wtt_germany.3 
							hours = 6
						}
					}
				}
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					GER_wilhelm_ii = {
						add_country_leader_role = {
							country_leader = {
								expire = "1965.1.1"
								ideology = despotism
								traits = {
									anti_democrat
									imperial_connections				
								}
							}
							promote_leader = yes
						}
					}
				}
			}
			else = {
				set_country_flag = kaiser_wilhelm_ii
				GER_wilhelm_ii = {
					add_country_leader_role = {
						country_leader = {
							expire = "1965.1.1"
							ideology = despotism
							traits = {
								anti_democrat
								imperial_connections				
							}
						}
						promote_leader = yes
					}
				}
				hidden_effect = { 
					news_event = { id = wtt_news.3 hours = 6 } 
				}
			}
		}
	}

	focus = { 
		id = GER_military_dictatorship
		icon = GFX_focus_generic_military_dictatorship
		prerequisite = { focus = GER_revive_the_kaiserreich_ww }
		mutually_exclusive = { focus = GER_return_of_the_kaiser_ww }

		x = 2
		y = 1
		relative_position_id = GER_revive_the_kaiserreich_ww
		cost = 2
		available = {
			has_government = neutrality
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {

			add_war_support = 0.1
			
			GER_oberste_heeresleitung_character = {
				add_country_leader_role = {
					country_leader = {
						expire = "1990.1.1"
						ideology = despotism
						traits = {
							GER_oberste_heeresleitung_trait				
						}
					}
					promote_leader = yes
				}
			}

			custom_effect_tooltip = GER_military_dictatorship_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			set_party_name = { 
				ideology = neutrality 
				long_name = GER_neutrality_party_military_dictatorship_long 
				name = GER_neutrality_party_military_dictatorship 
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ideas = GER_wilhelm_iii 

			hidden_effect = { 
				set_cosmetic_tag = GER_german_kaiserreich 
				set_country_flag = GER_military_dictatorship_flag
			}
		}
	}

	focus = {
		id = GER_invite_scientists_back
		icon = GFX_focus_generic_university_2
		prerequisite = { focus = GER_return_of_the_kaiser_ww }

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

		search_filters = { FOCUS_FILTER_RESEARCH }

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

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_research_speed_factor = 0.05
				tooltip = research_speed_factor_tt 
			}
		}
	}

	focus = {
		id = GER_glorious_mechanical_machinations
		icon = GFX_focus_GER_wunderwaffe
		prerequisite = { focus = GER_invite_scientists_back }

		x = 0
		y = 1
		relative_position_id = GER_invite_scientists_back
		cost = 5
		available = {
		}
 
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_breakthrough_progress = {
				specialization = specialization_land
				value = 0.25
			}
			add_breakthrough_progress = {
				specialization = specialization_naval
				value = 0.25
			}

			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
			}

			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
				}
			}

		}
	}
	
	focus = {
		id = GER_prussian_artillery
		icon = GFX_goal_generic_army_artillery

		prerequisite = { focus = GER_invite_scientists_back focus = GER_prepare_for_the_next_naval_blockade }

		x = 1
		y = 1
		relative_position_id = GER_glorious_mechanical_machinations

		cost = 5

		available = {
		}

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			add_doctrine_cost_reduction = {	
				name = GER_prussian_artillery
				cost_reduction = 0.25
				uses = 2
				category = land_doctrine
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_army_modifier = yes
			add_to_variable = { 
				GER_military_army_artillery_defence_factor = 0.05
				tooltip = army_artillery_defence_factor_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = werner_von_fritsch_army_chief

		}
	}

	focus = {
		id = GER_fan_prussian_militarism
		icon = GFX_goal_GER_support_the_freikorps
		prerequisite = { focus = GER_return_of_the_kaiser_ww focus = GER_military_dictatorship }

		x = 6
		y = 1
		relative_position_id = GER_return_of_the_kaiser_ww
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_MANPOWER }

		completion_reward = {
			add_ideas = GER_fan_prussian_militarism_idea

			custom_effect_tooltip = generic_skip_one_line_tt
			
			IF = {
				limit = {
					BAY = {
						exists = no
					}
				}
				custom_effect_tooltip = GER_fan_prussian_militarism_tt
				hidden_effect = {
					BAY = {
						set_nationality = {
						    target_country = ROOT
						    character = BAY_rupprecht_of_bavaria
						}
					}
				}
				
			}
		}
	}

	focus = {
		id = GER_re_form_the_freikorps
		icon = GFX_goal_generic_axis_build_infantry
		prerequisite = { focus = GER_fan_prussian_militarism }

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

		available = {
		}

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			custom_effect_tooltip = GER_freikrops_militia_recruitment_tt

			hidden_effect = {
				delete_unit_template_and_units = {
					division_template = "Freikorps"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Freikorps"	
					division_names_group = GER_MIL_01
					template_counter = 84 # The pickelhaube 
					# TODO_Danne: Add a custom 3d model for them
					is_locked = yes
					force_allow_recruiting = yes
					division_cap = 24 
					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 }  
					}
				}

				random_state = { 
					limit = {
						is_fully_controlled_by = ROOT
						is_owned_by = ROOT
						is_core_of = ROOT
					}
					create_unit = {
					    division = "name = \"Freikorps 'München'\" division_template = \"Freikorps\" start_experience_factor = 0.4 start_equipment_factor = 0.6"
					    owner = ROOT
					}
					create_unit = {
					    division = "name = \"Freikorps 'Nürnberg'\" division_template = \"Freikorps\" start_experience_factor = 0.3 start_equipment_factor = 0.8"
					    owner = ROOT
					}
					create_unit = {
					    division = "name = \"Freikorps 'Berlin'\" division_template = \"Freikorps\" start_experience_factor = 0.2 start_equipment_factor = 0.5"
					    owner = ROOT
					}
					create_unit = {
					    division = "name = \"Freikorps 'Bremerhaven'\" division_template = \"Freikorps\" start_experience_factor = 0.3 start_equipment_factor = 0.8"
					    owner = ROOT
					}
					create_unit = {
					    division = "name = \"Freikorps 'Hamburg'\" division_template = \"Freikorps\" start_experience_factor = 0.2 start_equipment_factor = 0.5"
					    owner = ROOT
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_re_form_the_freikorps_generals_tt
 
			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_hermann_erhardt
		}
	}

	focus = {
		id = GER_re_establish_the_landwehr
		icon = GFX_focus_generic_full_social_mobilization
		prerequisite = { focus = GER_fan_prussian_militarism }

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

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {

			add_manpower = 20000

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					has_idea = GER_fan_prussian_militarism_idea_3
				}
				swap_ideas = {
					remove_idea = GER_fan_prussian_militarism_idea_3
					add_idea = GER_fan_prussian_militarism_idea_4
				}
			}
			ELSE = {
				swap_ideas = {
					remove_idea = GER_fan_prussian_militarism_idea
					add_idea = GER_fan_prussian_militarism_idea_2
				}
			}

		}
	}

	focus = {
		id = GER_glory_to_the_imperial_army
		icon = GFX_goal_GER_deutsches_heer
		prerequisite = { focus = GER_re_form_the_freikorps focus = GER_re_establish_the_landwehr  }

		x = 1
		y = 1 
		relative_position_id = GER_re_form_the_freikorps

		cost = 10
		available = { 
		}

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER }
 
		completion_reward = {

			IF = {
				limit = {
					has_idea = GER_fan_prussian_militarism_idea_2
				}
				swap_ideas = {
					remove_idea = GER_fan_prussian_militarism_idea_2
					add_idea = GER_fan_prussian_militarism_idea_4
				}
			}
			ELSE = {
				swap_ideas = {
					remove_idea = GER_fan_prussian_militarism_idea
					add_idea = GER_fan_prussian_militarism_idea_3
				}
			}
			
			IF = {
				limit = {
					PRE = {
						exists = no
					}
				}
				custom_effect_tooltip = GER_glory_to_the_imperial_army_tt
				hidden_effect = {
					PRE = {
						set_nationality = {
						    target_country = ROOT
						    character = PRE_eitel_friedrich
						}
					}
				}	
			}
		}
	}

	focus = {
		id = GER_prepare_for_the_next_naval_blockade

		icon = GFX_focus_generic_stockpile_fuel

		prerequisite = { focus = GER_military_dictatorship }

		x = 2
		y = 1
		relative_position_id = GER_return_of_the_kaiser_ww

		cost = 5

		available = {
			has_war = no
		} 

		bypass = {
			has_war = yes
		}

		dynamic = yes

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			add_equipment_to_stockpile = { 
				type = convoy_1
				amount = 50
				producer = ROOT
			}

			add_equipment_to_stockpile = {
				type = train_equipment
				amount = 25
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_war_preparations_tt
			effect_tooltip = {
				add_timed_idea = {
					idea = GER_strengthened_supply_lines_ns
					days = 730
				}
			}

			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_all_for_the_front
		icon = GFX_focus_GER_all_for_the_front
		prerequisite = { focus = GER_prepare_for_the_next_naval_blockade } 

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

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_MANPOWER }

		completion_reward = {
			add_ideas = GER_all_for_the_front_idea
		}
	}

	focus = {
		id = GER_expatriate_the_communists_ww
		icon = GFX_goal_anti_comintern_pact

		prerequisite = { focus = GER_return_of_the_kaiser_ww focus = GER_military_dictatorship }

		available = {
			is_subject = no
			has_government = neutrality
			NOT = { has_war_with = FRA }
			FRA = { NOT = { has_government = fascism }}	
		}

		cancel_if_invalid = yes

		x = 4
		y = 1
		relative_position_id = GER_return_of_the_kaiser_ww

		cost = 5
		ai_will_do = {
			factor = 0.5
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			add_timed_idea = {
				idea = GER_expatriate_the_communists
				days = 720
			}
			add_named_threat = { threat = 3 name = GER_expatriate_the_communists }

			custom_effect_tooltip = generic_skip_one_line_tt

			FRA = { 
				add_timed_idea = {
					idea = GER_communist_refugees
					days = 720
				}
				country_event = { id = wtt_germany.17 }
			}

			IF = {
				limit = {
					has_idea = GER_expatriated_communists_return_home_ns
				}
				remove_ideas = GER_expatriated_communists_return_home_ns	
			}
			IF = {
				limit = {
					has_idea = GER_expatriated_communists_return_home_supressed_ns
				}
				remove_ideas = GER_expatriated_communists_return_home_supressed_ns
			}

			hidden_effect = {
				if = {
					limit = {
						NOT = { has_dlc = "La Resistance" }
						AND = {
							has_global_flag = spanish_civil_war
							NOT = { has_global_flag = scw_over }
						}
					}
					random_other_country = {
						limit = {
							original_tag = SPR
							has_government = communism
						}
						country_event = { id = wtt_germany.2 days = 1 }
					}
				}
				if = {
					limit = {
						has_dlc = "La Resistance"
						AND = {
							has_global_flag = spanish_civil_war
							NOT = { has_global_flag = scw_over }
						}
					}
					SPD = {
						country_event = { id = wtt_germany.2 days = 1 }
					}
				}
			}
			
		}
	}

	focus = {
		id = GER_demand_the_return_of_southern_jutland
		icon = GFX_focus_generic_invade_denmark

		prerequisite = { focus = GER_return_of_the_kaiser_ww focus = GER_military_dictatorship }

		x = 8
		y = 1
		relative_position_id = GER_return_of_the_kaiser_ww

		cost = 5

		available = {
			is_subject = no
			has_civil_war = no
		}

		bypass = {
				964 = {	#56 - Nordslesvig
					OR = {
						is_fully_controlled_by = ROOT
						controller = { has_war_with = ROOT }
						controller = { is_ally_with = ROOT }
					}
				}
		}

		will_lead_to_war_with = DEN

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			add_named_threat = { threat = 2 name = GER_demand_the_return_of_southern_jutland }
			
			add_state_claim = 964	#56 - Nordslesvig

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					964 = {	#56 - Nordslesvig
						is_controlled_by = DEN
					}
				}
				DEN = {
					country_event = {
						id = wuw_GER_diplomacy.57
						days = 2
						random_days = 2
					}	
				}
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					add_political_power = 25
					add_popularity = {
						ideology = ROOT
						popularity = 0.05
					}	

					custom_effect_tooltip = generic_skip_one_line_tt
					
					964 = {	#56 - Nordslesvig
						transfer_state_to = ROOT
						add_core_of = ROOT
					}
				}
			}
			else_if = {
				limit = {
					964 = {	#56 - Nordslesvig
						controller = {
							NOT = {
								is_subject_of = ROOT
							}
						}
					}
				}
				964 = {		#56 - Nordslesvig
					controller = {
						country_event = {
							id = wuw_GER_diplomacy.60
							days = 2
							random_days = 2
						}
					}
				}
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					add_political_power = 25
					add_popularity = {
						ideology = ROOT
						popularity = 0.05
					}	

					custom_effect_tooltip = generic_skip_one_line_tt
					
					964 = {		#56 - Nordslesvig
						transfer_state_to = ROOT
						add_core_of = ROOT
					}
				}
			}			
			else = {
				964 = {		#56 - Nordslesvig
					controller = {
						country_event = {
							id = wuw_GER_diplomacy.63
							hours = 1
						}
					}
				}
				effect_tooltip = {
					964 = {		#56 - Nordslesvig
						transfer_state_to = ROOT
						add_core_of = ROOT
					}
				}
			}
		}
	}

	#####################
	#####################
	#### REALPOLITIK ####
	#####################
	#####################

	focus = {
		id = GER_realpolitik

		icon = GFX_focus_GER_realpolitik

		prerequisite = { focus = GER_the_monarchy_compromise_ww focus = GER_revive_the_kaiserreich_ww }

		x = 1
		y = 5
		relative_position_id = GER_the_monarchy_compromise_ww

		cost = 2

		available = {
			is_subject = no
			NOT = {
				has_country_leader = {
					ruling_only = yes
					character = GER_august_von_mackensen
				}		
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {

			add_political_power = 50

			IF = {
				limit = {
					has_dlc = "La Resistance"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				hidden_effect = {
					GER_wilhelm_canaris = {
						remove_trait = {
							slot = political_advisor
							trait = head_of_the_abwehr
						}
					}
				}
				GER_wilhelm_canaris = {
	 				add_trait = { 
	 					slot = political_advisor
	 					trait = head_of_the_abwehr_improved
	 				}
	 			}
	 			hidden_effect = {
					GER_hans_oster = {
						remove_trait = {
							slot = political_advisor
							trait = anti_fascist_agent
						}
					}
				}
				GER_hans_oster = {
	 				add_trait = { 
	 					slot = political_advisor
	 					trait = intelligence_service_deputy
	 				}
	 			}
			}

		}
	}

	focus = {
		id = GER_mitteleuropa
		icon = GFX_focus_GER_mitteleuropa
		prerequisite = { focus = GER_realpolitik }

		x = -9
		y = 1
		relative_position_id = GER_realpolitik
		cost = 2
		available = {
			is_subject = no
			OR = {
				is_faction_leader = yes
				is_in_faction = no
			}
		}

		bypass = {
			is_faction_leader = yes
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {

			if = {
				limit = {
					is_in_faction = no
				}
				custom_effect_tooltip = GER_central_european_alliance_tt
			}
			effect_tooltip = {
				create_faction_from_template = faction_template_GER_mitteleuropa_alliance
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			hidden_effect = {
				if = {
					limit = {
						is_in_faction = no
					}
					create_faction_from_template = faction_template_GER_mitteleuropa_alliance
				}
			}

			custom_effect_tooltip = GER_mitteleuropa_tt

		}
	}

	focus = {
		id = GER_the_austrian_question

		icon = GFX_focus_GER_the_austrian_question

		prerequisite = { focus = GER_mitteleuropa }

		mutually_exclusive = { focus = GER_brothers_in_arms }

		x = 1
		y = 1
		relative_position_id = GER_mitteleuropa

		cost = 10

		available = {
			is_subject = no
			is_faction_leader = yes
			NOT = { has_war_with = AUS }
			AUS = {
				OR = {
					is_in_faction_with = ROOT
					is_in_faction = no
				}
				OR = {
					is_subject_of = ROOT
					is_subject = no
				}
				OR = {
					has_government = ROOT
					has_country_flag = AUS_is_more_likely_to_accept_being_brothers_in_arms_flag
				}
			}
		}

		dynamic = yes

		bypass = {
			AUS = { 
				OR = {
					exists = no
					has_war_with = ROOT
					AND = {
						is_in_faction = yes
						NOT = { is_in_faction_with = ROOT }
					}
					AND = {
						is_subject = yes
						NOT = { is_subject_of = ROOT }
					}
				}
			}
		}

		will_lead_to_war_with = AUS

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			AUS = {
				country_event = {
					id = wuw_GER_realpolitik.36
					hours = 6
					random_hours = 12
				}	
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {

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

				custom_effect_tooltip =  generic_skip_one_line_tt
				
				AUS = {
					every_core_state = {		
						add_core_of = ROOT
					}
				}

				AUS = {
					IF = {
						limit = {
							has_completed_focus = AUS_bring_generals_out_of_retirement
						}
						AUS_wilhelm_gebauer = {
							set_nationality = ROOT
						}
					}
					
					AUS_ludwig_von_eimannsberger = {
						set_nationality = ROOT
					}

					AUS_anton_kienbauer = {
						set_nationality = ROOT
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					HUN = {
						exists = yes
						is_subject = no
						is_in_faction = no
						OR = {
							has_government = neutrality
							has_government = democratic
							has_government = fascism
						}
					}
				}
				HUN = {
					country_event = {
						id = wuw_GER_realpolitik.39
						days = 2
						random_days = 3
					}	
				}
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {

					every_state = {
						limit = {
							OR = {
								state = 664
								state = 73
								state = 76
								state = 84
								state = 83
								state = 82
								state = 45
								state = 1086
							}
						}
						add_claim_by = HUN
					}

					HUN = {
						set_cosmetic_tag = HUN_GREATER
					}

					custom_effect_tooltip = generic_skip_one_line_tt

					every_controlled_state = {
						limit = {
							OR = {
								state = 664
								state = 73
								state = 76
								state = 84
								state = 83
								state = 82
								state = 45
								state = 1086
							}
							is_owned_by = ROOT
						}
						transfer_state_to = HUN
						add_core_of = HUN
					}

					ROOT = {
						add_to_faction = HUN
					}
				}
			}
		}
	}

	focus = {
		id = GER_align_czechoslovakia
		icon = GFX_focus_generic_befriend_czechoslovakia
		prerequisite = { focus = GER_the_austrian_question focus = GER_brothers_in_arms }
		mutually_exclusive = { focus = GER_carve_up_czechoslovakia }

		x = 0
		y = 1
		relative_position_id = GER_the_austrian_question
		cost = 5

		available = {
			is_subject = no
			is_faction_leader = yes
			CZE = {
				exists = yes
				is_in_faction = no
				is_subject = no
			}
		}

		bypass = {
			CZE = {
				OR = {
					is_in_faction = yes
					exists = no
					is_subject_of = ROOT
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			
			CZE = {
				country_event = {
					id = wuw_GER_realpolitik.1
					hours = 6
					random_hours = 6
				}		
			}
		}
	}

	focus = {
		id = GER_sway_the_balkans
		icon = GFX_focus_generic_balkan_diplomacy
		prerequisite = { focus = GER_align_czechoslovakia }

		x = 0
		y = 1
		relative_position_id = GER_align_czechoslovakia
		cost = 5
		available = {
			is_subject = no
			is_faction_leader = yes
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {

			custom_effect_tooltip = GER_sway_the_balkans_tt

		}
	}

	focus = {
		id = GER_establish_a_customs_union
		icon = GFX_focus_GER_customs_union
		prerequisite = { focus = GER_align_czechoslovakia }

		x = 2
		y = 1
		relative_position_id = GER_align_czechoslovakia
		cost = 5
		available = {
			is_subject = no
			is_faction_leader = yes
			any_other_country = {
				is_in_faction_with = ROOT
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			add_ideas = GER_mitteleuropa_customs_union_member
			custom_effect_tooltip = GER_pool_technical_know_how_tt
			hidden_effect = {
				every_other_country = {
					limit = { is_in_faction_with = GER }
					add_ideas = GER_mitteleuropa_customs_union_member
				}
			}
		}
	}

	focus = {
		id = GER_integrated_economies
		icon = GFX_focus_GER_integrated_economies
		prerequisite = { focus = GER_establish_a_customs_union }
		prerequisite = { focus = GER_mitteleuropa_cooperation_sphere }

		x = 0
		y = 2
		relative_position_id = GER_establish_a_customs_union

		cost = 5

		available = {
			is_subject = no
			is_faction_leader = yes
			any_other_country = {
				is_in_faction_with = ROOT
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			swap_ideas = {
				remove_idea = GER_mitteleuropa_customs_union_member
				add_idea = GER_mitteleuropa_customs_union_member_upgraded
			}	

			IF = {
				limit = {
					NOT = {
						any_other_country = {
							is_in_faction_with = ROOT
						}
					}
				}
				custom_effect_tooltip = GER_integrated_economies_tt
				custom_effect_tooltip = if_they_accept_tt
				custom_effect_tooltip = they_will_gain_tt
				show_ideas_tooltip = GER_mitteleuropa_integrated_customs_union_member
				custom_effect_tooltip = generic_skip_one_line_tt
			} 
			ELSE = {
				every_other_country = {
					limit = { 
						is_in_faction_with = GER 
						has_idea = GER_mitteleuropa_customs_union_member
					}
					set_country_flag = GER_has_sent_invitation_for_integration_once_already_flag #So that this/these countries don't show up in the Integrated Economies Decisions aswell
					country_event = {
						id = wuw_GER_realpolitik.33
						hours = 6
						random_hours = 12
					}	
				}
				custom_effect_tooltip = if_they_accept_tt
				
				custom_effect_tooltip = they_will_gain_tt
				show_ideas_tooltip = GER_mitteleuropa_integrated_customs_union_member
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			
			custom_effect_tooltip = GER_allied_customs_union_integration_request_tt

		}
	}

	focus = {
		id = GER_european_confederation
		icon = GFX_focus_GER_european_confederation
		prerequisite = { focus = GER_integrated_economies }

		x = 0
		y = 1
		relative_position_id = GER_integrated_economies

		cost = 10

		available = {
			is_subject = no
			is_faction_leader = yes
			any_other_country = {
				is_in_faction_with = ROOT
			}
			64 = {
				is_fully_controlled_by = ROOT
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			add_political_power = 150

			custom_effect_tooltip = generic_skip_one_line_tt

			swap_ideas = {
				remove_idea = GER_mitteleuropa_customs_union_member_upgraded
				add_idea = GER_mitteleuropa_customs_union_member_upgraded_2
			}

			custom_effect_tooltip = GER_allied_economic_integration_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_allied_civilian_administration_integration_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = {
				decision = form_european_union
				show_effect_tooltip = no
			}	

			IF = {
				limit = {
					has_dlc = "Gotterdammerung"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = GER_build_volkshalle_landmark_tt
				hidden_effect = {
					64 = {
						remove_building = {
						    type = landmark_berlin_reichstag
						    level = 1
						    province = 6521
						}
						add_building_construction = {
						    type = landmark_berlin_volkshalle
						    level = 1
						    instant_build = yes
						    province = 6521
						}
					}
				}
			}
		}
	}

	focus = {
		id = GER_brothers_in_arms

		icon = GFX_focus_GER_brothers_in_arms

		prerequisite = { focus = GER_mitteleuropa }

		mutually_exclusive = { focus = GER_the_austrian_question }

		x = -1
		y = 1
		relative_position_id = GER_mitteleuropa

		cost = 10

		available = {
			is_subject = no
			is_faction_leader = yes
			NOT = { has_war_with = AUS }
			AUS = {
				OR = {
					is_ally_with = ROOT
					is_in_faction = no
				}
				OR = {
					has_government = ROOT
					has_country_flag = AUS_is_more_likely_to_accept_being_brothers_in_arms_flag
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {

			AUS = {
				country_event = {
					id = wuw_GER_realpolitik.42
					hours = 6
					random_hours = 12
				}	
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {

				add_to_faction = AUS

				IF = {
					limit = {
						AUS = {
							NOT = {
								has_cosmetic_tag = HUN_EMPIRE
							}
						}
					}
					AUS = {
						set_cosmetic_tag = AUS_kingdom_of_austria
					}
				}

				every_state = {
					limit = {
						OR = {
							state = 102
							state = 853
							state = 103
							state = 104
							state = 804
							state = 109
							state = 45
							state = 83
							state = 76
							state = 84
							state = 764
							state = 82
							state = 848
							state = 153
							state = 152
							state = 4
							state = 1086
							state = 1054
							state = 69
							state = 9
							state = 75
							state = 74
							state = 72
							state = 70
							state = 664
							state = 71
							state = 73
							state = 155
							state = 1104
							state = 43
							state = 913
							state = 154
						}
					}
					add_claim_by = AUS
				}

				custom_effect_tooltip = generic_skip_one_line_tt

				every_state = {
					limit = {
						OR = {
							state = 102
							state = 853
							state = 103
							state = 104
							state = 804
							state = 109
							state = 45
							state = 83
							state = 76
							state = 84
							state = 764
							state = 82
							state = 848
							state = 153
							state = 152
							state = 4
							state = 1086
							state = 1054
							state = 69
							state = 9
							state = 75
							state = 74
							state = 72
							state = 70
							state = 664
							state = 71
							state = 73
							state = 155
							state = 1104
							state = 43
							state = 913
							state = 154
						}
						is_owned_by = ROOT
					}
					transfer_state_to = AUS
					add_core_of = AUS
				}

			}

		}
	}

	focus = {
		id = GER_carve_up_czechoslovakia
		icon = GFX_focus_generic_attack_czechoslovakia
		prerequisite = { focus = GER_the_austrian_question focus = GER_brothers_in_arms }
		mutually_exclusive = { focus = GER_align_czechoslovakia }

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

		available = {
			is_subject = no
			OR = {
				has_government = neutrality
				has_government = fascism
			}
			NOT = {
				is_in_faction_with = CZE
				has_war_with = CZE
				OR = {
					has_subject = CZE
					any_allied_country = {
						has_subject = CZE
					}
				}
			}
			NOT = { has_war_with = CZE }
			OR = { #Can't be in a faction with both AUS and HUN since they both can receive land
				AND = {
					is_in_faction_with = AUS
					NOT = { is_in_faction_with = HUN }
				}
				AND = {
					is_in_faction_with = HUN
					NOT = { is_in_faction_with = AUS }
				}
			}
		}

		bypass = {
			OR = {
				has_war_with = CZE
				has_subject = CZE
				any_allied_country = {
					has_subject = CZE
				}
				is_in_faction_with = CZE
				AND = {
					69 = {
						OR = {
							controller = { has_war_with = ROOT }
							state_is_fully_controlled_by_ROOT_subject_or_faction_member = yes
						}
					}
					9 = {
						OR = {
							controller = { has_war_with = ROOT }
							state_is_fully_controlled_by_ROOT_subject_or_faction_member = yes
						}
					}
					75 = {
						OR = {
							controller = { has_war_with = ROOT }
							state_is_fully_controlled_by_ROOT_subject_or_faction_member = yes
						}
					}
					74 = {
						OR = {
							controller = { has_war_with = ROOT }
							state_is_fully_controlled_by_ROOT_subject_or_faction_member = yes
						}
					}
					1078 = {	#56 - State Mismatch: 972 in Vanilla = 1078 here
						OR = {
							controller = { has_war_with = ROOT }
							state_is_fully_controlled_by_ROOT_subject_or_faction_member = yes
						}
					}
				}
			}
		}

		will_lead_to_war_with = CZE

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			every_state = {
				limit = {
					OR = {
						state = 69
						state = 74
						state = 1078	#56 - State Mismatch: 972 in Vanilla = 1078 here
					}
					controller = {
						NOT = {
							is_subject_of = ROOT
							is_in_faction_with = ROOT
							is_guaranteed_by = ROOT
							has_war_with = ROOT
						}
					}
				}
				add_core_of = ROOT
			}

			IF = {
				limit = {
					OR = {
						is_in_faction_with = AUS
						is_in_faction_with = HUN
					}
					CZE = {
						exists = yes
					}
				}
				if = {
					limit = {
						is_in_faction_with = AUS
					}
					AUS = {
						country_event = {
							id = wuw_GER_realpolitik.45
							hours = 12
							random_hours = 24
						}
					}
				}
				else = {
					HUN = {
						country_event = {
							id = wuw_GER_realpolitik.45
							hours = 12
							random_hours = 24
						}
					}
				}
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					GER_czechoslovakia_modify_mefo_bills_or_economy_of_conquest = yes
					CZE = {
						every_controlled_state = {
							limit = {
								OR = {
									state = 69
									state = 9
									state = 75
									state = 74
									state = 1078	#56 - State Mismatch: 972 in Vanilla = 1078 here
								}
							}
							transfer_state_to = ROOT
						}
					}

					IF = {
						limit = {
							POL = {
								OR = {
									exists = no
									AND = {
										exists = yes
										has_war_with = ROOT
									}
								}
							}
						}
						IF = {
							limit = {
								is_in_faction_with = HUN
							}
							CZE = {
								every_controlled_state = {
									limit = {
										OR = {
											state = 70
											state = 664
											state = 72
											state = 71
											state = 73
											state = 996	#56 - Uzhorod Addition
										}
									}
									transfer_state_to = HUN
									add_core_of = HUN
								}
							}
						}
						ELSE_IF = {
							limit = {
								is_in_faction_with = AUS
							}
							CZE = {
								every_controlled_state = {
									limit = {
										OR = {
											state = 70
											state = 664
											state = 72
											state = 71
											state = 73
											state = 996	#56 - Uzhorod Addition
										}
									}
									transfer_state_to = AUS
									add_core_of = AUS
								}
							}
						}
					}
					else_if = {
						limit = {
							POL = {
								exists = yes
								NOT = {
									has_war_with = ROOT
								}
							}
						}
						IF = {
							limit = {
								is_in_faction_with = HUN
							}
							CZE = {
								every_controlled_state = {
									limit = {
										OR = {
											state = 70
											state = 664
											#state = 72
											state = 71
											state = 73
											state = 996	#56 - Uzhorod Addition
										}
									}
									transfer_state_to = HUN
									add_core_of = HUN
								}
							}
						}
						ELSE_IF = {
							limit = {
								is_in_faction_with = AUS
							}
							CZE = {
								every_controlled_state = {
									limit = {
										OR = {
											state = 70
											state = 664
											#state = 72
											state = 71
											state = 73
											state = 996	#56 - Uzhorod Addition
										}
									}
									transfer_state_to = HUN
									add_core_of = HUN
								}
							}
						}
						POL = {
							transfer_state = 72
							add_state_core = 72
							POL = {
								country_event = { hours = 6 id = germany.52 }
							}
						}
					}
				}
			}
			ELSE = {
				every_state = {
					limit = {
						OR = {
							state = 69
							state = 9
							state = 75
							state = 74
							state = 1078	#56 - State Mismatch: 972 in Vanilla = 1078 here
						}
						controller = {
							NOT = {
								is_subject_of = ROOT
								is_in_faction_with = ROOT
								is_guaranteed_by = ROOT
								has_war_with = ROOT
							}
						}
					}
					add_claim_by = ROOT
				}
				every_other_country = {
					limit = {
						OR = {
							owns_state = 70
							owns_state = 664
							owns_state = 72
							owns_state = 71
							owns_state = 73
							owns_state = 69
							owns_state = 9
							owns_state = 75
							owns_state = 74
							owns_state = 1078	#56 - State Mismatch: 972 in Vanilla = 1078 here
							owns_state = 996	#56 - Uzhorod Addition
						}
						NOT = {
							is_subject_of = ROOT
							is_in_faction_with = ROOT
							is_guaranteed_by = ROOT
							has_war_with = ROOT
							has_a_german_trade_idea = yes
						}
					}
					ROOT = {
						create_wargoal = {
							type = take_claimed_state
							target = PREV
						}	
					}
				}
			}
			add_named_threat = { threat = 5 name = GER_carve_up_czechoslovakia }
		}
	}

	focus = {
		id = GER_rekindle_imperial_sentiment_ww
		icon = GFX_focus_proclaim_the_restauration_of_Austria_Hungary
		prerequisite = { focus = GER_brothers_in_arms }

		x = -2
		y = 1
		relative_position_id = GER_brothers_in_arms
		cost = 5
		available = {
			is_faction_leader = yes
			has_government = neutrality
			NOT = { has_war_with = AUS }
			NOT = { has_war_with = HUN }
			NOT = { has_war_with = CZE }
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			if = {
				limit = {
					AUS = { exists = yes }
				}
				AUS = {
					add_timed_idea = { idea = GER_rekindle_imperial_sentiment days = 1095 }
				}
			}
			if = {
				limit = {
					HUN = { exists = yes }
				}
				HUN = {
					add_timed_idea = { idea = GER_rekindle_imperial_sentiment days = 1095 }
				}
			}
			if = {
				limit = {
					CZE = { exists = yes }
				}
				CZE = {
					add_timed_idea = { idea = GER_rekindle_imperial_sentiment days = 1095 }
				}
			}
			custom_effect_tooltip = GER_rekindle_imperial_sentiment_tt_2
		}
	}

	focus = {
		id = GER_the_first_berlin_award
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = GER_carve_up_czechoslovakia }

		x = -2
		y = 1
		relative_position_id = GER_carve_up_czechoslovakia

		cost = 5

		available = {
			is_subject = no
			OR = {
				has_government = neutrality
				has_government = fascism
			}
			NOT = {
				is_in_faction_with = CZE
				has_war_with = CZE
				OR = {
					has_subject = CZE
					any_allied_country = {
						has_subject = CZE
					}
				}
			}
			NOT = { has_war_with = CZE }
			OR = { #Can't be in a faction with both AUS and HUN since they both can receive land
				AND = {
					is_in_faction_with = AUS
					NOT = { is_in_faction_with = HUN }
				}
				AND = {
					is_in_faction_with = HUN
					NOT = { is_in_faction_with = AUS }
				}
			}
		}

		bypass = {
			OR = {
				AND = {
					owns_state = 88
					owns_state = 89
					owns_state = 762
					owns_state = 91
				}
				AUS = {
					AND = {
						owns_state = 88
						owns_state = 89
						owns_state = 91
					}
				}
				HUN = {
					AND = {
						owns_state = 88
						owns_state = 89
						owns_state = 91
					}
				}
				NOT = { 
					OR = {
						is_in_faction_with = AUS 
						is_in_faction_with = HUN 
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			IF = {
				limit = {
					762 = {
						NOT = {
							is_owned_by = ROOT
							owner = {
								is_ally_with = ROOT
							}
						}
					}
				}
				762 = {
					add_claim_by = ROOT
				}
			}

			IF = {
				limit = {
					is_in_faction_with = HUN 
				}
				every_state = {
					limit = {
						OR = {
							state = 88
							state = 89
							state = 91
						}
						NOT = {
							OR = {
								is_claimed_by = HUN
								is_core_of = HUN
								is_owned_by = HUN
							}
						}
					}
					add_claim_by = HUN
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			ELSE_IF = {
				limit = {
					is_in_faction_with = AUS
				}
				every_state = {
					limit = {
						OR = {
							state = 88
							state = 89
							state = 91
						}
						NOT = {
							OR = {
								is_claimed_by = AUS
								is_core_of = AUS
								is_owned_by = AUS
							}
						}
					}
					add_claim_by = AUS
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			every_country = {
				limit = {
					AND = {
						OR = {
							AND = {
								owns_state = 88
								controls_state = 88
							}
							AND = {
								owns_state = 89
								controls_state = 89
							}
							AND = {
								owns_state = 91
								controls_state = 91
							}
						}
						NOT = {
							OR = {
								has_war_with = ROOT
								original_tag = ROOT
								is_subject_of = ROOT
							}
						}
					}
				}
				country_event = {
					id = wuw_GER_realpolitik.51
					days = 1
					random_days = 2
				}
			}
			custom_effect_tooltip = if_they_accept_tt 
			effect_tooltip = {
				IF = {
					limit = {
						is_in_faction_with = HUN
					}
					custom_effect_tooltip = GER_the_first_berlin_award_hun_tt
					every_state = {
						limit = {
							OR = {
								state = 88
								state = 89
								state = 91
							}
							NOT = {
								OR = {
									is_claimed_by = HUN
									is_core_of = HUN
									is_owned_by = HUN
								}
							}
						}
						transfer_state_to = HUN
					}
				}
				ELSE = {
					custom_effect_tooltip = GER_the_first_berlin_award_aus_tt
					every_state = {
						limit = {
							OR = {
								state = 88
								state = 89
								state = 91
							}
							NOT = {
								OR = {
									is_claimed_by = AUS
									is_core_of = AUS
									is_owned_by = AUS
								}
							}
						}
						transfer_state_to = AUS
					}
				}
			}

		}
	}

	focus = {
		id = GER_the_second_berlin_award
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = GER_the_first_berlin_award }

		x = 0
		y = 2
		relative_position_id = GER_the_first_berlin_award
		cost = 5
		available = {
			is_subject = no
			OR = {
				AND = {
					is_in_faction_with = AUS
					HUN = { exists = no }
				}
				AND = {
					is_in_faction_with = HUN
					AUS = { exists = no }
				}
			}
		}

		bypass = {
			OR = {
				AND = {
					owns_state = 45
					owns_state = 764
					owns_state = 82
					owns_state = 83
					owns_state = 84
					owns_state = 76
				}
				AUS = {
					AND = {
						owns_state = 45
						owns_state = 764
						owns_state = 82
						owns_state = 83
						owns_state = 84
						owns_state = 76
					}
				}
				HUN = {
					AND = {
						owns_state = 45
						owns_state = 764
						owns_state = 82
						owns_state = 83
						owns_state = 84
						owns_state = 76
					}
				}
				NOT = { 
					OR = {
						is_in_faction_with = AUS 
						is_in_faction_with = HUN 
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			IF = {
				limit = {
					is_in_faction_with = HUN 
				}
				every_state = {
					limit = {
						OR = {
							state = 45
							state = 764
							state = 82
							state = 83
							state = 84
							state = 76
						}
						NOT = {
							OR = {
								is_claimed_by = HUN
								is_core_of = HUN
								is_owned_by = HUN
							}
						}
					}
					add_claim_by = HUN
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			ELSE_IF = {
				limit = {
					is_in_faction_with = AUS
				}
				every_state = {
					limit = {
						OR = {
							state = 45
							state = 764
							state = 82
							state = 83
							state = 84
							state = 76
						}
						NOT = {
							OR = {
								is_claimed_by = AUS
								is_core_of = AUS
								is_owned_by = AUS
							}
						}
					}
					add_claim_by = AUS
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			every_country = {
				limit = {
					AND = {
						NOT = {
							original_tag = AUS
							original_tag = HUN
						}
						OR = {
							AND = {
								owns_state = 45
								controls_state = 45
							}
							AND = {
								owns_state = 764
								controls_state = 764
							}
							AND = {
								owns_state = 82
								controls_state = 82
							}
							AND = {
								owns_state = 83
								controls_state = 83
							}
							AND = {
								owns_state = 84
								controls_state = 84
							}
							AND = {
								owns_state = 76
								controls_state = 76
							}
						}
						NOT = {
							OR = {
								has_war_with = ROOT
								original_tag = ROOT
								is_subject_of = ROOT
							}
						}
					}
				}
				country_event = {
					id = wuw_GER_realpolitik.54
					days = 1
					random_days = 2
				}
			}
			custom_effect_tooltip = if_they_accept_tt 
			effect_tooltip = {
				IF = {
					limit = {
						is_in_faction_with = HUN
					}
					custom_effect_tooltip = GER_the_first_berlin_award_hun_tt
					every_state = {
						limit = {
							OR = {
								state = 45
								state = 764
								state = 82
								state = 83
								state = 84
								state = 76
							}
							NOT = {
								OR = {
									is_claimed_by = HUN
									is_core_of = HUN
									is_owned_by = HUN
								}
							}
						}
						transfer_state_to = HUN
					}
				}
				ELSE = {
					custom_effect_tooltip = GER_the_first_berlin_award_aus_tt
					every_state = {
						limit = {
							OR = {
								state = 45
								state = 764
								state = 82
								state = 83
								state = 84
								state = 76
							}
							NOT = {
								OR = {
									is_claimed_by = AUS
									is_core_of = AUS
									is_owned_by = AUS
								}
							}
						}
						transfer_state_to = AUS
					}
				}
			}

		}
	}

	focus = {
		id = GER_mitteleuropa_cooperation_sphere
		icon = GFX_goal_generic_scientific_exchange
		prerequisite = { focus = GER_carve_up_czechoslovakia focus = GER_align_czechoslovakia }

		x = -1
		y = 2
		relative_position_id = GER_align_czechoslovakia
		
		cost = 5
		available = {
			is_subject = no
			num_faction_members > 1
		}

		bypass = {
			
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH }

		completion_reward = {

			add_political_power = 50

			custom_effect_tooltip = generic_skip_one_line_tt

			add_to_tech_sharing_group = ger_mitteleuropa_research
			every_other_country = {
				limit = { 
					is_ally_with = ROOT
				}
				add_to_tech_sharing_group = ger_mitteleuropa_research 
			}
		}
	}

	focus = {
		id = GER_trade_agreements
		icon = GFX_goal_generic_positive_trade_relations_gold
		prerequisite = { focus = GER_mitteleuropa_cooperation_sphere }

		x = 0
		y = 1
		relative_position_id = GER_mitteleuropa_cooperation_sphere
		cost = 5

		available = {
			is_subject = no
			is_faction_leader = yes
			num_faction_members > 1	
		}

		search_filters = { FOCUS_FILTER_INTERNATIONAL_TRADE }

		completion_reward = {

			IF = {
				limit = {
					NOT = {
						any_other_country = {
							is_in_faction_with = ROOT
						}
					}
				}
				custom_effect_tooltip = GER_trade_agreements_tt
				show_ideas_tooltip = GER_german_trade_ns
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			ELSE = {
				every_other_country = {
					limit = { 
						is_in_faction_with = GER 
					}
					set_country_flag = GER_trade_agreement_event_flag #This flag prevents countries that receive the event below from showing up in the Decision
					country_event = {
						id = wuw_GER_realpolitik.26
						hours = 6
						random_hours = 12
					}
				}
				custom_effect_tooltip = if_they_accept_tt
				
				custom_effect_tooltip = they_will_gain_tt
				show_ideas_tooltip = GER_german_trade_ns
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			custom_effect_tooltip = GER_allied_trade_tt
		}
	}

	focus = {
		id = GER_prepare_italian_coup_ww

		icon = GFX_goal_generic_military_deal

		prerequisite = { focus = GER_the_second_berlin_award }

		mutually_exclusive = { focus = GER_conquer_italy focus = GER_align_italy }

		dynamic = yes

		available = {
			is_subject = no
			NOT = { has_war_with = ITA }
			ITA = {
				has_government = fascism
			}
		}

		cancel_if_invalid = yes

		x = -2
		y = 1
		relative_position_id = GER_the_second_berlin_award

		cost = 5

		ai_will_do = {
			factor = 10
		}

		select_effect = {
			ITA = {
				country_event = {
				    id = wtt_germany.1006
				    days = 1
				    random = 2
				}
			}
		}
		
		completion_reward = {
			ITA = {
				country_event = { 
					id = wtt_germany.8 
					hours = 4
				}
			}
			custom_effect_tooltip = GER_prepare_italian_coup_tt
			effect_tooltip = {
				ITA = {
					add_timed_idea = { 
						idea = GER_preparing_ITA_coup 
						days = 1095 
					}
				}
			}
		}
	}

	focus = {
		id = GER_assassinate_mussolini_ww

		icon = GFX_focus_ger_assassinate_mussolini

		prerequisite = { focus = GER_prepare_italian_coup_ww }

		dynamic = yes

		available = {
			is_subject = no
			NOT = { has_war_with = ITA }
			ITA = { has_country_leader = { ruling_only = yes character = ITA_benito_mussolini } }
			NOT = {	ITA = {	has_completed_focus = ITA_banda_carita } }
			custom_trigger_tooltip = {
				tooltip = GER_italy_declined_assassination_tt
				NOT = {
					has_country_flag = GER_italy_declined_assassination_of_mussolini_flag
				}
			}
		}

		cancel_if_invalid = yes

		x = 0
		y = 1
		relative_position_id = GER_prepare_italian_coup_ww

		cost = 10

		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {
			ITA = {
				country_event = { 
					id = wtt_germany.11 
					hours = 4
				}
				add_ai_strategy = {
					type = befriend
					id = GER
					value = 100
				}
			}
			add_ai_strategy = {
				type = befriend
				id = ITA
				value = 100
			}
			effect_tooltip = {
				ITA = {
					set_politics = { ruling_party = neutrality elections_allowed = no }
					add_popularity = { ideology = neutrality popularity = 0.1 }
					effect_tooltip = {
						create_country_leader = {
							name = "Vittorio Emanuele III"
							desc = "POLITICS_VITTORIO_EMANUELE_III_DESC"
							picture = "GFX_portrait_italy_vittorio_emanuele_iii"
							expire = "1965.1.1"
							ideology = despotism
							traits = {
								the_soldier_king
							}
						}
					}
					swap_ideas = {
						remove_idea = GER_preparing_ITA_coup
						add_idea = GER_preparing_ITA_coup2
					}
					GER = {
						add_to_faction = ITA
						country_event = { id = wtt_germany.12 }
					}
				}
			}
		}
	}

	focus = {
		id = GER_conquer_italy
		icon = GFX_focus_attack_italy
		prerequisite = { focus = GER_the_second_berlin_award focus = GER_trade_agreements }
		mutually_exclusive = { focus = GER_align_italy focus = GER_prepare_italian_coup_ww }

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

		available = {
			is_subject = no
			NOT = {
				ITA = {
					OR = {
						is_in_faction_with = ROOT
						is_subject_of = ROOT
					}
				}
			}
		}

		will_lead_to_war_with = ITA

		bypass = {
			ITA = {
				OR = {
					exists = no
					has_war_with = ROOT
				}
			}
			
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			add_state_claim = 39
			add_state_claim = 850
			add_state_claim = 852
			add_state_claim = 736

			custom_effect_tooltip = generic_skip_one_line_tt 
			
			create_wargoal = {
				type = annex_everything
				target = ITA
				expire = 0
			}	

			mark_focus_tree_layout_dirty = yes

		}
	}

	focus = {
		id = GER_restore_the_holy_roman_empire
		icon = GFX_focus_POL_habsburg
		prerequisite = { focus = GER_conquer_italy focus = GER_prepare_italian_coup_ww }

		x = 0
		y = 2
		relative_position_id = GER_conquer_italy

		allow_branch = {
			has_dlc = "Gotterdammerung"
			has_game_rule = {
				rule = GER_focus_tree_selection
				option = STANDARD_TREE
			}
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = GER_remilitarize_the_rhineland
				}
			}
			OR = {
				has_country_leader = { 
					ruling_only = yes 
					character = GER_victoria 
				}
				has_completed_focus = GER_conquer_italy
			}
		}

		cost = 10

		available = {
			is_subject = no
			64 = {
				is_fully_controlled_by = ROOT
			}
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL }

		completion_reward = {

			unlock_decision_tooltip = {
				decision = form_hre
				show_effect_tooltip = no
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ideas = GER_holy_roman_empire_of_the_german_nation_idea

			IF = {
				limit = {
					has_dlc = "Gotterdammerung"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = GER_build_volkshalle_landmark_tt
				hidden_effect = {
					64 = {
						remove_building = {
						    type = landmark_berlin_reichstag
						    level = 1
						    province = 6521
						}
						add_building_construction = {
						    type = landmark_berlin_volkshalle
						    level = 1
						    instant_build = yes
						    province = 6521
						}
					}
				}
			}
		}
	}

	focus = {
		id = GER_align_italy
		icon = GFX_focus_befriend_italy
		prerequisite = { focus = GER_trade_agreements }
		mutually_exclusive = { focus = GER_conquer_italy focus = GER_prepare_italian_coup_ww }

		x = 0
		y = 1
		relative_position_id = GER_trade_agreements

		cost = 10

		available = {
			is_subject = no
			is_faction_leader = yes
			ITA = {
				exists = yes
				is_in_faction = no
				is_subject = no
				NOT = {
					has_war_with = ROOT
				}
			}
		}

		bypass = {
			ITA = {
				OR = {
					exists = no
					is_ally_with = ROOT
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			
			ITA = {
				country_event = {
					id = wuw_GER_realpolitik.1
					hours = 6
					random_hours = 6
				}		
			}

		}
	}

	focus = {
		id = GER_german_hegemony_in_the_middle_east

		icon = {
			GFX_focus_GER_german_hegemony_in_the_middle_east_demcoratic = {
				has_government = democratic
			}
			GFX_focus_GER_german_hegemony_in_the_middle_east_neutrality = yes
		}

		prerequisite = { focus = GER_conquer_italy focus = GER_european_confederation focus = GER_align_italy focus = GER_prepare_italian_coup_ww }
		mutually_exclusive = { focus = GER_bring_turkey_into_the_fold }

		x = -1
		y = 1
		relative_position_id = GER_align_italy

		cost = 10

		available = {
			is_subject = no
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		will_lead_to_war_with = TUR	#56

		completion_reward = {

			IF = {
				limit = {
					has_government = neutrality
				}
				add_country_leader_trait = GER_sword_of_islam_trait
			}

			IF = {
				limit = {
					TUR = {
						exists = yes
						NOT = { is_ally_with = ROOT }
						NOT = { is_guaranteed_by = ROOT }
						NOT = { has_non_aggression_pact_with = ROOT }	
					}
				}
				create_wargoal = {
					type = puppet_wargoal_focus
					target = TUR
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			every_other_country = {
				limit = {
					any_controlled_state = {
						OR = {
							region = 129
							region = 28
							region = 232
							region = 237
							region = 196
							region = 236
							region = 238
							region = 240
							region = 116
							region = 239
							region = 241
						}
					}
					capital_scope = {
						NOT = {
							OR = {
								region = 129
								region = 28
								region = 232
								region = 237
								region = 196
								region = 236
								region = 238
								region = 240
								region = 116
								region = 239
								region = 241
							}
						}
					}
					NOT = { is_in_faction_with = ROOT }
					NOT = { is_guaranteed_by = ROOT }
					NOT = { has_non_aggression_pact_with = ROOT }	
					NOT = {
						GER = {
							has_wargoal_against = PREV
						}
					}
				}
				ROOT = {
					create_wargoal = {
						type = liberate_wargoal
						target = PREV
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_sway_the_middle_east_decisions_tt

		}
	}

	focus = {
		id = GER_bring_turkey_into_the_fold
		
		prerequisite = { focus = GER_conquer_italy focus = GER_european_confederation focus = GER_align_italy focus = GER_prepare_italian_coup_ww }
		mutually_exclusive = { focus = GER_german_hegemony_in_the_middle_east }

		icon = {
			GFX_focus_TUR_pivot_to_the_past = {
				has_government = neutrality
			}
			GFX_focus_generic_befriend_turkey = yes
		}

		x = 1
		y = 1 
		relative_position_id = GER_align_italy

		cost = 5

		available = {
			is_subject = no
			is_faction_leader = yes
			NOT = { has_war_with = TUR }
			TUR = {
				is_subject = no
			}
		}

		dynamic = yes

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {

			TUR = {
				country_event = {
					id = wuw_GER_realpolitik.23
					hours = 6
					random_hours = 12
				}	
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				IF = {
					limit = {
						has_government = neutrality
					}

					add_to_faction = TUR

					TUR = {
						set_cosmetic_tag = OTT_UNIFIED
						add_ideas = GER_german_trade_ns
					}

					custom_effect_tooltip = generic_skip_one_line_tt

					every_state = {
						limit = {
							OR = {
								state = 676
								state = 675
								state = 291
								state = 680
								state = 677
								state = 799
								state = 554
								state = 553
								state = 455
								state = 454
								state = 855
								state = 679
								state = 856
								state = 293
								state = 453
								state = 966
								state = 1016
								state = 949
								state = 1017
								state = 1022
								state = 1021
								state = 1049
								state = 1048
								state = 1047
								state = 1046
								state = 1045
							}
						}
						add_claim_by = TUR
					}

				}
				ELSE = {

					add_to_faction = TUR

					TUR = {
						add_ideas = GER_german_trade_ns
					}

					custom_effect_tooltip = generic_skip_one_line_tt

					every_state = {
						limit = {
							OR = {
								state = 676
								state = 675
								state = 291
								state = 680
								state = 677
								state = 799
								state = 554
								state = 553
								state = 455
								state = 454
								state = 855
								state = 679
								state = 856
								state = 293
								state = 453
							}
						}
						add_claim_by = TUR
					}

				}
			}

		}
	}
	
	focus = {
		id = GER_see_to_the_eastern_front_ww
		icon = GFX_focus_GER_the_eastern_border #GFX_focus_ger_bulwark_against_bolshevism 
		prerequisite = { focus = GER_realpolitik }
		mutually_exclusive = { focus = GER_restore_the_brest_litovsk_borders }
		x = -2
		y = 1
		relative_position_id = GER_realpolitik
		cost = 5

		available = {
			is_subject = no
			OR = {
				is_in_faction = no
				is_faction_leader = yes
			}
			OR = {
				EST = {
					exists = yes
					is_subject = no
					NOT = {
						is_in_faction_with = SOV
						has_war_with = ROOT
					}
				}
				LAT = {
					exists = yes
					is_subject = no
					NOT = {
						is_in_faction_with = SOV
						has_war_with = ROOT
					}
				}
				LIT = {
					exists = yes
					is_subject = no
					NOT = {
						is_in_faction_with = SOV
						has_war_with = ROOT
					}
				}
				POL = {
					exists = yes
					is_subject = no
					NOT = {
						is_in_faction_with = SOV
						has_war_with = ROOT
					}
				}
			}
		}

		dynamic = yes

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {

			add_political_power = 75
			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			every_country = {
				limit = {
					exists = yes
					NOT = {
						has_war_with = ROOT
						is_subject_of = SOV
						is_in_faction_with = SOV
					}
					OR = {
						original_tag = POL
						original_tag = EST
						original_tag = LAT
						original_tag = LIT
						original_tag = UBD
						original_tag = BLR
					}
				}
				add_opinion_modifier = {
					target = ROOT
					modifier = guardian_against_the_eastern_threat
				}	
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			add_named_threat = { threat = 2 name = GER_the_eastern_threat }
			SOV = { country_event = { id = wtt_germany.19 days = 4 } }

			custom_effect_tooltip = generic_skip_one_line_tt

			hidden_effect = { news_event = { id = wtt_news.21 days = 2 } }
			IF = {
				limit = {
					SOV = {
						has_government = communism
					}
					ROOT = {
						has_government = democratic
					}
				}
				every_other_country = {
					limit = {
						any_owned_state = { is_on_continent = europe }
						NOT = {
							original_tag = ENG
							original_tag = FRA
							original_tag = SWI
							original_tag = ITA
							original_tag = IRE
							original_tag = TUR
							original_tag = ALB
							original_tag = SPR
							original_tag = POR
							original_tag = GRE
							has_government = communism
							has_government = fascism
						}
					}
					country_event = { 
						id = wtt_germany.24 
						days = 1
					}
					custom_effect_tooltip = if_they_accept_tt
					effect_tooltip = {
						add_timed_idea = { idea = GER_the_great_red_menace days = 1095 }
					}
					
					add_ai_strategy = {
						type = befriend
						id = "GER"			
						value = 200
					}
					add_ai_strategy = {
						type = befriend
						id = "ENG"			
						value = -100
					}

				}
			}
			hidden_effect = {
				SOV = { 
					add_opinion_modifier = { target = GER modifier = embargo } 
				}
			}
			
		}

	}

	focus = {
		id = GER_safeguard_the_baltic_ww
		icon = GFX_focus_generic_baltic_entente
		prerequisite = { focus = GER_see_to_the_eastern_front_ww }
		mutually_exclusive = { focus = GER_tributes_for_guarantees }
		x = 3
		y = 1
		relative_position_id = GER_see_to_the_eastern_front_ww
		cost = 5
		available = {
			is_subject = no
			OR = {
				EST = {
					has_war = no
					is_subject = no
					NOT = { is_in_faction_with = SOV }
				}
				LAT = {
					has_war = no
					is_subject = no
					NOT = { is_in_faction_with = SOV }
				}
				LIT = {
					has_war = no
					is_subject = no
					NOT = { is_in_faction_with = SOV }
				}
			}
		}
		bypass = {
			OR = {
				EST = {
					OR = {
						exists = no
						is_guaranteed_by = ROOT
						is_in_faction_with = ROOT
						is_subject = yes
						has_war = yes
						is_in_faction_with = SOV
					}
				}
			}
			OR = {
				LAT = {
					OR = {
						exists = no
						is_guaranteed_by = ROOT
						is_in_faction_with = ROOT
						is_subject = yes
						has_war = yes
						is_in_faction_with = SOV
					}
				}
			}
			OR = {
				LIT = {
					OR = {
						exists = no
						is_guaranteed_by = ROOT
						is_in_faction_with = ROOT
						is_subject = yes
						has_war = yes
						is_in_faction_with = SOV
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			
			add_political_power = 75
			add_war_support = 0.03

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = { 
					country_exists = EST
					EST = { 
						has_war = no
						is_subject = no
					}
				}
				EST = {
					if = {
						limit = {
							SOU = {
								OR = {
									has_government = communism
									has_government = fascism
								}
							}
						}
						add_timed_idea = {
							idea = GER_safeguard_the_baltic_ww
							days = 720
						}
					}
					add_ai_strategy = {
						type = befriend
						id = "GER"			
						value = 200
					}
					add_ai_strategy = {
						type = alliance
						id = "GER"			
						value = 200
					}
				}
				give_guarantee = EST
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			if = {
				limit = { 
					country_exists = LAT
					LAT = { 
						has_war = no
						is_subject = no
					}
				}
				LAT = {
					if = {
						limit = {
							SOU = {
								OR = {
									has_government = communism
									has_government = fascism
								}
							}
						}
						add_timed_idea = {
							idea = GER_safeguard_the_baltic_ww
							days = 720
						}
					}
					add_ai_strategy = {
						type = befriend
						id = "GER"			
						value = 200
					}
					add_ai_strategy = {
						type = alliance
						id = "GER"			
						value = 200
					}
				}
				give_guarantee = LAT
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			if = {
				limit = { 
					country_exists = LIT
					LIT = { 
						has_war = no
						is_subject = no
					}
				}
				LIT = {
					if = {
						limit = {
							SOU = {
								OR = {
									has_government = communism
									has_government = fascism
								}
							}
						}
						add_timed_idea = {
							idea = GER_safeguard_the_baltic_ww
							days = 720
						}
					}
					add_ai_strategy = {
						type = befriend
						id = "GER"			
						value = 200
					}
					add_ai_strategy = {
						type = alliance
						id = "GER"			
						value = 200
					}
				}
				give_guarantee = LIT
				custom_effect_tooltip = generic_skip_one_line_tt
			}
		}
	}

	focus = {
		id = GER_tributes_for_guarantees
		icon = GFX_focus_SOV_baltic_security
		prerequisite = { focus = GER_see_to_the_eastern_front_ww }
		mutually_exclusive = { focus = GER_safeguard_the_baltic_ww }
		x = 1
		y = 1
		relative_position_id = GER_see_to_the_eastern_front_ww
		cost = 10
		available = {
			is_subject = no
			OR = {
				EST = {
					has_war = no
					has_civil_war = no
					is_subject = no
					NOT = { is_in_faction_with = SOV }
				}
				LAT = {
					has_war = no
					has_civil_war = no
					is_subject = no
					NOT = { is_in_faction_with = SOV }
				}
				LIT = {
					has_war = no
					is_subject = no
					NOT = { is_in_faction_with = SOV }
				}
			}
		}
		bypass = {
			EST = {
				OR = {
					exists = no
					is_guaranteed_by = ROOT
					is_in_faction_with = ROOT
					is_subject = yes
					has_war = yes
					has_civil_war = yes
					is_in_faction_with = SOV
				}
			}
			LAT = {
				OR = {
					exists = no
					is_guaranteed_by = ROOT
					is_in_faction_with = ROOT
					is_subject = yes
					has_war = yes
					has_civil_war = yes
					is_in_faction_with = SOV
				}
			}
			LAT = {
				OR = {
					exists = no
					is_guaranteed_by = ROOT
					is_in_faction_with = ROOT
					is_subject = yes
					has_war = yes
					has_civil_war = yes
					is_in_faction_with = SOV
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION FOCUS_FILTER_INDUSTRY FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			add_war_support = 0.03
			
			every_country = {
				limit = {
					OR = {
						original_tag = LIT
						original_tag = LAT
						original_tag = EST
					}
					NOT = {
						OR = {
							has_war_with = ROOT
							is_in_faction_with = SOV
						}
					}
					is_subject = no
					exists = yes
				}
				country_event = {
					id = wuw_GER_diplomacy.64
					hours = 6
					random_hours = 12
				}	

				custom_effect_tooltip = generic_skip_one_line_tt
				
				effect_tooltip = {
					custom_effect_tooltip = tributes_from_lithuania_tt
					IF = {
						limit = {
							LIT = {
								owns_state = 188
							}
						}
						188 = {
							transfer_state_to = ROOT
							add_core_of = ROOT
						}
					}
					ELSE = {
						LIT = {
							add_ideas = GER_paying_tributes_to_germany_idea
						}
					}
					LIT = {	add_ideas = anti_soviet_pact }
					give_guarantee = LIT

					ROOT = {
						GER_lower_CGFF_small = yes
					}

					custom_effect_tooltip = generic_skip_one_line_tt

					custom_effect_tooltip = tributes_from_latvia_or_estonia_tt
					every_country = {
						limit = {
							OR = {
								original_tag = EST
								original_tag = LAT
							}
						}
						add_ideas = GER_paying_tributes_to_germany_idea
						add_ideas = anti_soviet_pact
					}

					custom_effect_tooltip = generic_skip_one_line_tt

					custom_effect_tooltip = we_will_gain_tt
					give_guarantee = EST
					give_guarantee = LAT

					ROOT = {
						GER_lower_CGFF_big = yes
					}

					custom_effect_tooltip = generic_skip_one_line_tt

					add_timed_idea = {
						idea = GER_recieving_payments_for_protection_fake_idea
						days = 180
					}	
					custom_effect_tooltip = GER_will_also_recieve_trade_and_civs_tt

					IF = {
						limit = {
							ROOT = {
								NOT = {
									has_idea = anti_soviet_pact
								}
							}
						}
						custom_effect_tooltip = generic_skip_one_line_tt
						ROOT = {
							add_ideas = anti_soviet_pact 
						}
					}
					
				}
			}
		}
	}

	focus = {
		id = GER_danzig_for_guarantees_ww
		icon = GFX_focus_generic_polish_deal

		prerequisite = { focus = GER_see_to_the_eastern_front_ww }

		mutually_exclusive = { focus = GER_safeguard_poland }

		x = -1
		y = 1
		relative_position_id = GER_see_to_the_eastern_front_ww

		cost = 10

		available = {
			is_subject = no
			NOT = { is_in_faction_with = POL }
			POL = { 
				has_war = no
				has_civil_war = no
				is_subject = no
				NOT = {
					is_in_faction_with = SOV
				}
			}
		}

		bypass = {
			OR = {
				POL = {
					OR = {
						exists = no
						is_guaranteed_by = ROOT
						is_in_faction_with = ROOT
						is_subject = yes
						has_war = yes
						is_in_faction_with = SOV
					}
				}
				AND = {
					owns_state = 85
					owns_state = 86
					owns_state = 762
					owns_state = 807
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			add_war_support = 0.03

			POL = { country_event = { id = wtt_germany.14 } }
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				transfer_state = 85  
				transfer_state = 807 
				transfer_state = 86 
				transfer_state = 762 
				
				ROOT = {
					add_ideas = anti_soviet_pact 
				}
				give_guarantee = POL

				custom_effect_tooltip = generic_skip_one_line_tt

				GER_lower_CGFF_big = yes

				custom_effect_tooltip = generic_skip_one_line_tt
				POL = {
					add_ideas = anti_soviet_pact
					add_opinion_modifier = { target = GER modifier = danzig_for_guarantees }
				}
			}

		}
	}

	focus = {
		id = GER_safeguard_poland
		icon = GFX_goal_generic_defence
		prerequisite = { focus = GER_see_to_the_eastern_front_ww }
		mutually_exclusive = { focus = GER_danzig_for_guarantees_ww }
		x = -3
		y = 1
		relative_position_id = GER_see_to_the_eastern_front_ww
		cost = 5
		available = {
			is_subject = no
			NOT = { is_in_faction_with = POL }
			POL = { 
				has_war = no
				has_civil_war = no
			}
		}
		bypass = {
			OR = {
				POL = {
					OR = {
						exists = no
						is_guaranteed_by = ROOT
						is_in_faction_with = ROOT
						is_subject = yes
						has_war = yes
						is_in_faction_with = SOV
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {

			add_political_power = 50
			add_war_support = 0.02

			custom_effect_tooltip = generic_skip_one_line_tt

			POL = {	
				add_timed_idea = {
					idea = GER_safeguard_poland_idea
					days = 720
				}
				add_ai_strategy = {
					type = befriend
					id = "GER"			
					value = 200
				}
				add_ai_strategy = {
					type = alliance
					id = "GER"			
					value = 200
				}
			}
			give_guarantee = POL

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_safeguard_poland_tt

		}
	}

	focus = {
		id = GER_build_the_eastern_bulwark
		icon = GFX_focus_SWE_hedgehog_defense
		prerequisite = { focus = GER_safeguard_the_baltic_ww focus = GER_tributes_for_guarantees focus = GER_danzig_for_guarantees_ww focus = GER_safeguard_poland }

		x = 1
		y = 1
		relative_position_id = GER_safeguard_poland
		cost = 5
		available = {
			any_other_country = {
				OR = {
					is_guaranteed_by = ROOT
					is_in_faction_with = ROOT
				}
				is_neighbor_of = SOV
			}
		}

		dynamic = yes

		search_filters = {}

		completion_reward = {

			custom_effect_tooltip = GER_build_the_eastern_bulwark_tt
			hidden_effect = {
				every_state = {
					limit = {
						OR = {
							is_owned_and_controlled_by = ROOT
							any_country = {
								is_guaranteed_by = ROOT
								owns_state = PREV
								controls_state = PREV
							}
							any_country = {
								is_in_faction_with = ROOT
								owns_state = PREV
								controls_state = PREV
							}
							any_country = {
								is_subject_of = ROOT
								owns_state = PREV
								controls_state = PREV
							}
						}
					}
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province =  {
							all_provinces = yes
							limit_to_border = yes
							limit_to_border_country = SOV
							level < 3
						}
					}	
				}
			}

			custom_effect_tooltip =  generic_skip_one_line_tt
			
			IF = {
				limit = {
					has_war_with = SOV
				}
				add_timed_idea = {
					idea = GER_the_eastern_bulwark_ns
					days = 365
				}
				set_global_flag = GER_eastern_bulwark_already_triggered_flag
			}
			ELSE = {
				custom_effect_tooltip = GER_build_the_eastern_bulwark_ns_tt
				effect_tooltip = {
					add_timed_idea = {
						idea = GER_the_eastern_bulwark_ns
						days = 365
					}	
				}
			}

		}
	}

	focus = {
		id = GER_liberate_oppressed_people
		icon = GFX_focus_SWE_refuge_from_war
		prerequisite = { focus = GER_safeguard_the_baltic_ww focus = GER_tributes_for_guarantees focus = GER_danzig_for_guarantees_ww focus = GER_safeguard_poland }

		dynamic = yes

		x = 3 
		y = 1
		relative_position_id = GER_safeguard_poland
		cost = 5
		available = {
			is_subject = no
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {

			add_political_power = 50

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_liberate_oppressed_people_tt
			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					AND = {
						218 = {
							NOT = {
								is_core_of = DON
							}
						}
						245 = {
							NOT = {
								is_core_of = DON
							}
						}
						238 = {
							NOT = {
								is_core_of = DON
							}
						}
					}
				}
				custom_effect_tooltip = GER_liberate_oppressed_people_cossacks_tt
				DON = {
					add_state_core = 218
					add_state_core = 245
					add_state_core = 238
				}
			}
			IF = {
				limit = {
					AND = {
						234 = {
							NOT = {
								is_core_of = KUB
							}
						}
						233 = {
							NOT = {
								is_core_of = KUB
							}
						}
						235 = {
							NOT = {
								is_core_of = KUB
							}
						}
					}
				}
				KUB = {
					add_state_core = 234
					add_state_core = 233
					add_state_core = 235
				}
			}

		}
	}

	focus = {
		id = GER_offer_military_production_support
		icon = GFX_focus_generic_license_production
		prerequisite = { focus = GER_safeguard_the_baltic_ww focus = GER_tributes_for_guarantees focus = GER_danzig_for_guarantees_ww focus = GER_safeguard_poland }

		x = 5
		y = 1
		relative_position_id = GER_safeguard_poland
		cost = 5
		
		available = {
			any_country = {
				OR = {
					original_tag = LIT
					original_tag = LAT
					original_tag = POL
					original_tag = EST
					original_tag = UBD
					original_tag = BLR
					original_tag = KSH
					original_tag = SIL
					original_tag = UKR
				}
				OR = {
					is_guaranteed_by = ROOT
					is_in_faction_with = ROOT
				}
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

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

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					NOT = {
						any_country = {
							OR = {
								original_tag = LIT
								original_tag = LAT
								original_tag = POL
								original_tag = EST
								original_tag = UBD
								original_tag = BLR
								original_tag = KSH
								original_tag = SIL
								original_tag = UKR
							}
							OR = {
								is_guaranteed_by = ROOT
								is_in_faction_with = ROOT
							}
						}
					}
				}
				custom_effect_tooltip = GER_offer_military_production_support_tt
				show_ideas_tooltip = GER_FIN_industrial_support
			}

			every_country = {
				limit = {
					OR = {
						original_tag = LIT
						original_tag = LAT
						original_tag = POL
						original_tag = EST
						original_tag = UBD
						original_tag = BLR
						original_tag = KSH
						original_tag = SIL
						original_tag = UKR
					}
					exists = yes
					OR = {
						is_guaranteed_by = ROOT
						is_in_faction_with = ROOT
					}
				}
				add_timed_idea = {
					idea = GER_FIN_industrial_support
					days = 730
				}	
			}

		}
	}

	focus = {
		id = GER_ally_white_russian_forces
		icon = GFX_focus_SOV_the_true_tsars
		prerequisite = { focus = GER_offer_military_production_support focus = GER_liberate_oppressed_people focus = GER_build_the_eastern_bulwark }

		x = 2
		y = 2
		relative_position_id = GER_liberate_oppressed_people
		cost = 10
		available = {
			SOV = {
				has_government = communism
				has_civil_war = no
			}
		}

		bypass = {
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_MANPOWER }

		completion_reward = {

			IF = {
				limit = {
					SOV = {
						has_government = communism
						has_civil_war = no
					}
					DON = {
						exists = no
					}
					KUB = {
						exists = no
					}
				}
				custom_effect_tooltip = GER_andrey_shckuro_and_pyotr_krasnov_join_tt
				hidden_effect = {
					every_possible_country = {
						limit = {
							has_character = SOV_andrey_shkuro
						}
						SOV_andrey_shkuro = {
							clr_character_flag = SOV_exiled_flag
							clr_character_flag = SOV_exiled_army_leader
						}
						set_nationality = {
						    target_country = ROOT
						    character = SOV_andrey_shkuro
						}
					}
					every_possible_country = {
						limit = {
							has_character = SOV_pyotr_krasnov
						}
						SOV_pyotr_krasnov = {
							clr_character_flag = SOV_exiled_flag
							clr_character_flag = SOV_exiled_army_leader
						}
						set_nationality = {
						    target_country = ROOT
						    character = SOV_pyotr_krasnov
						}
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_manpower = 15000
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}	

			custom_effect_tooltip = GER_white_russian_exiles_divisions_recruitment_tt

			hidden_effect = {
				delete_unit_template_and_units = {
					division_template = "Kosaken-Kavallerie-Division"
					disband = yes #if yes, will refund equipment/manpower.
				}
				delete_unit_template_and_units = {
					division_template = "Russische Befreiungsarmee"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Kosaken-Kavallerie-Division"	
					division_names_group = GER_CAV_01
					template_counter = 106 # The Cossack Regiment Symbol 
					regiments = {
						cavalry = { x = 0 y = 0 }
						cavalry = { x = 0 y = 1 }
						cavalry = { x = 0 y = 2 }
						cavalry = { x = 1 y = 0 }
						cavalry = { x = 1 y = 1 }
						cavalry = { x = 1 y = 2 }
					}
					support = {
						recon = { x = 0 y = 0 }  
						artillery = { x = 0 y = 1 }  
					}
				}

				division_template = {
					name = "Russische Befreiungsarmee"	
					division_names_group = GER_INF_01
					template_counter = 49 # The Griffin 
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
						infantry = { x = 0 y = 3 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 1 y = 2 }
						infantry = { x = 1 y = 3 }
						artillery_brigade = { x = 2 y = 0 }
						artillery_brigade = { x = 2 y = 1 }
					}
					support = {
						engineer = { x = 0 y = 0 }  
						artillery = { x = 0 y = 1 }  
						anti_tank = { x = 0 y = 2 }  
					}
				}

				random_state = { 
					limit = {
						is_fully_controlled_by = ROOT
						is_owned_by = ROOT
						is_core_of = ROOT
					}
					create_unit = {
					    division = "name = \"Kosaken-Kavallerie-Division 'Don-Wolga'\" division_template = \"Kosaken-Kavallerie-Division\" start_experience_factor = 0.3 start_equipment_factor = 0.7"
					    owner = ROOT
					}
					create_unit = {
					    division = "name = \"Kosaken-Kavallerie-Division 'Kuban'\" division_template = \"Kosaken-Kavallerie-Division\" start_experience_factor = 0.3 start_equipment_factor = 0.8"
					    owner = ROOT
					}
				}
				random_state = { 
					limit = {
						is_fully_controlled_by = ROOT
						is_owned_by = ROOT
						is_core_of = ROOT
					}
					create_unit = {
					    division = "name = \"Russische Befreiungsarmee 'Moskau'\" division_template = \"Russische Befreiungsarmee\" start_experience_factor = 0.3 start_equipment_factor = 0.9"
					    owner = ROOT
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = GER_white_russian_advisors
		}
	}

	focus = {
		id = GER_hold_joint_military_drills
		icon = GFX_focus_SWE_varnplikt
		prerequisite = { focus = GER_offer_military_production_support focus = GER_liberate_oppressed_people focus = GER_build_the_eastern_bulwark }

		dynamic = yes

		x = 0
		y = 3
		relative_position_id = GER_liberate_oppressed_people
		cost = 10

		available = {
			any_other_country = {
				OR = {
					is_guaranteed_by = ROOT
					is_in_faction_with = ROOT
				}
			}
		}

		bypass = {
			
		}

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_AIR_XP FOCUS_FILTER_ARMY_XP FOCUS_FILTER_NAVY_XP }

		completion_reward = {

			custom_effect_tooltip = GER_hold_joint_military_drills_tt
			every_country = {
				limit = {
					exists = yes
					OR = {
						is_in_faction_with = ROOT
						is_guaranteed_by = ROOT
						is_subject_of = ROOT
						original_tag = ROOT
					}
					OR = {
						original_tag = POL
						original_tag = LIT
						original_tag = LAT
						original_tag = EST
						original_tag = BLR
						original_tag = UKR
						original_tag = CZE
						original_tag = SLO
						original_tag = MOL
						original_tag = ROM
						original_tag = HUN
						original_tag = TRA
						original_tag = CRI
						original_tag = GEO
						original_tag = ARM
						original_tag = AZR
						original_tag = VGE
						original_tag = KAL
						original_tag = DAG
						original_tag = CIN
						original_tag = NOA
						original_tag = KBK
						original_tag = ABK
						original_tag = BUL
						original_tag = SIL
						original_tag = KSH
						original_tag = KAR
						original_tag = FIN
						original_tag = TUR
						original_tag = CHU
						original_tag = MEL
						original_tag = TAT
						original_tag = UDM
						original_tag = BSK
						original_tag = UBD
						original_tag = NEN
						original_tag = KOM
						original_tag = SMI
						tag = ROOT
					}
				}
				add_timed_idea = {
					idea = GER_joint_military_drills_idea
					days = 90
				}	
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					has_completed_focus = GER_safeguard_poland
					POL = {
						OR = {
							is_in_faction_with = ROOT
							is_guaranteed_by = ROOT
						}
					}
				}
				army_experience = 25
				air_experience = 15
			}

		}
	}

	focus = {
		id = GER_extend_mitteleuropas_bounderies
		icon = GFX_focus_GER_extend_mitteleuropa

		prerequisite = { focus = GER_establish_a_customs_union }
		prerequisite = { focus = GER_offer_military_production_support focus = GER_liberate_oppressed_people focus = GER_build_the_eastern_bulwark }

		x = 2
		y = 1
		relative_position_id = GER_establish_a_customs_union

		cost = 5

		available = {
			any_country = {
				OR = {
					original_tag = FIN
					original_tag = LIT
					original_tag = LAT
					original_tag = POL
					original_tag = EST
					original_tag = UBD
					original_tag = BLR
					original_tag = KSH
					original_tag = SIL
					original_tag = UKR
					original_tag = KAR
				}
				is_guaranteed_by = ROOT
				is_in_faction = no
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {

			custom_effect_tooltip = GER_extend_mitteleuropas_bounderies_tt
			every_country = {
				limit = {
					OR = {
						original_tag = FIN
						original_tag = LIT
						original_tag = LAT
						original_tag = POL
						original_tag = EST
						original_tag = UBD
						original_tag = BLR
						original_tag = KSH
						original_tag = SIL
						original_tag = UKR
						original_tag = KAR
					}
					is_guaranteed_by = ROOT
					is_in_faction = no
				}
				country_event = {
					id = wuw_GER_realpolitik.1
					hours = 6
					random_hours = 6
				}
			}

		}

	}

	focus = {
		id = GER_reach_out_to_scandinavia
		icon = GFX_focus_generic_scandinavia_flags

		prerequisite = { focus = GER_extend_mitteleuropas_bounderies }

		available = {
			is_subject = no
			is_faction_leader = yes
			OR = {
				NOR = {
					is_subject = no
					is_in_faction = no
					NOT = {
						has_war_with = ROOT
						OR = {
							has_government = communism
							has_government = fascism
						}
					}
				}
				SWE = {
					is_subject = no
					is_in_faction = no
					NOT = {
						has_war_with = ROOT
						OR = {
							has_government = communism
							has_government = fascism
						}
					}
				}
				DEN = {
					is_subject = no
					is_in_faction = no
					NOT = {
						has_war_with = ROOT
						OR = {
							has_government = communism
							has_government = fascism
						}
					}
				}
			}
		}
		bypass = {
			
		}

		cancel_if_invalid = yes

		x = 0
		y = 2
		relative_position_id = GER_extend_mitteleuropas_bounderies

		cost = 10

		search_filters = { FOCUS_FILTER_POLITICAL }

		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {
			custom_effect_tooltip = invite_non_fascist_communist_only_TT
			if = {
				limit = {
					NOR = {
						is_in_faction = no
						NOT = {
							has_war_with = ROOT
							OR = {
								has_government = communism
								has_government = fascism
							}
						}
						is_subject = no
					}
				}
				add_ai_strategy = {
					type = befriend
					id = NOR
					value = 50
				}
				NOR = {
					country_event = { 
						id = wuw_GER_realpolitik.1 
						hours = 12
					}
				}
			}
			if = {
				limit = {
					SWE = {
						is_in_faction = no
						NOT = {
							has_war_with = ROOT
							OR = {
								has_government = communism
								has_government = fascism
							}
						}
						is_subject = no
					}
				}
				add_ai_strategy = {
					type = befriend
					id = SWE
					value = 50
				}
				SWE = {
					country_event = { 
						id = wuw_GER_realpolitik.1 
						hours = 12
					}
				}
			}
			if = {
				limit = {
					DEN = {
						is_in_faction = no
						NOT = {
							has_war_with = ROOT
							OR = {
								has_government = communism
								has_government = fascism
							}
						}
						is_subject = no
					}
				}
				add_ai_strategy = {
					type = befriend
					id = DEN
					value = 50
				}
				DEN = {
					country_event = { 
						id = wuw_GER_realpolitik.1 
						hours = 12
					}
				}
			}
		}
	}

	focus = {
		id = GER_support_the_finns_ww

		icon = GFX_focus_invite_finland

		prerequisite = { focus = GER_safeguard_the_baltic_ww focus = GER_tributes_for_guarantees focus = GER_memel_ultimatum }

		dynamic = yes

		x = 1
		y = 2
		relative_position_id = GER_safeguard_the_baltic_ww

		cost = 5

		available = {
			is_subject = no
			NOT = { has_war_with = FIN }
			FIN = {
				NOT = { has_government = communism }
				OR = {
					is_subject = no
					is_ally_with = GER
					is_in_faction = no
				}
			}
		}

		bypass = {
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			if = {
				limit = {
					FIN = {
						has_war = no
						NOT = { 
							OR = {
								is_in_faction_with = ROOT
								is_guaranteed_by = ROOT
							}
						}
						is_subject = no
					}
				}
				diplomatic_relation = {
					country = FIN
					relation = guarantee
					active = yes
				}
			}

			add_ai_strategy = {
				type = support
				id = FIN			
				value = 200
			}

			add_ai_strategy = {
				type = befriend
				id = FIN
				value = 50
			}

			IF = {
				limit = {
					SOV = {
						has_government = communism
					}
				}
				FIN = {	
					add_timed_idea = {
						idea = GER_safeguard_finland_idea
						days = 730
					}
					
				}
			}
			add_timed_idea = {
				idea = GER_FIN_industrial_support
				days = 730
			}
			add_ai_strategy = {
				type = befriend
				id = "GER"			
				value = 200
			}
			add_ai_strategy = {
				type = alliance
				id = "GER"			
				value = 200
			}
		}
	}

	focus = {
		id = GER_restore_the_brest_litovsk_borders
		icon = GFX_focus_GER_brest_litovsk_borders
		prerequisite = { focus = GER_realpolitik }
		mutually_exclusive = { focus = GER_see_to_the_eastern_front_ww }
		x = 4
		y = 1
		relative_position_id = GER_realpolitik
		cost = 5
		available = {
			is_subject = no
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {

			add_threat = 2

			custom_effect_tooltip = generic_skip_one_line_tt

			add_political_power = 50
			add_war_support = 0.05
			add_popularity = {
				ideology = ROOT
				popularity = 0.05
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			every_country = {
				limit = {
					OR = {	
						original_tag = EST
						original_tag = LAT
						original_tag = LIT
						original_tag = POL

					}
				}
				add_opinion_modifier = {
					target = ROOT
					modifier = existential_threat
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			every_country = {
				limit = {
					original_tag = SOV
				}
				add_opinion_modifier = {
					target = ROOT
					modifier = GER_seeks_to_restore_brest_litovsk_worse
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			every_country = {
				limit = {
					NOT = { is_ally_with = ROOT }
					OR = {	
						original_tag = ENG
						original_tag = FRA
						original_tag = ROM
					}
				}
				add_opinion_modifier = {
					target = ROOT
					modifier = GER_seeks_to_restore_brest_litovsk
				}
			}
		}
	}

	focus = {
		id = GER_memel_ultimatum
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = GER_restore_the_brest_litovsk_borders }

		x = -1
		y = 1
		relative_position_id = GER_restore_the_brest_litovsk_borders

		cost = 5

		available = {
			is_subject = no
			has_army_manpower = { size > 599999 }
			NOT = {
				188 = {
					is_controlled_by = ROOT
					OWNER = {
						is_ally_with = ROOT
					}
					controller = {
						is_ally_with = ROOT
					}
				}
			}
		}

		bypass = {
			188 = {
				is_controlled_by = ROOT
				OWNER = {
					is_ally_with = ROOT
				}
				controller = {
					is_ally_with = ROOT
				}
			}
		}

		will_lead_to_war_with = LIT

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			add_named_threat = { threat = 2 name = GER_demand_memel_threat }

			188 = { #Memel
				add_claim_by = GER
				controller = {
					country_event = { 
						id = baltic.4 
						days = 1
						random_days = 3
					}
				}
			}
		}
	}
	
	focus = {
		id = GER_demand_lithuanian_integration
		icon = GFX_focus_generic_subjugation
		prerequisite = { focus = GER_memel_ultimatum }

		x = 0
		y = 1
		relative_position_id = GER_memel_ultimatum

		cost = 10

		available = {
			is_subject = no
			has_army_manpower = { size > 799999 }
			LIT = {
				exists = yes
				has_civil_war = no
				is_subject = no
				NOT = { has_war_with = ROOT }
			}
		}

		bypass = {
			LIT = {
				OR = {
					exists = no
					is_subject = yes
					has_war_with = ROOT
				}
			}
		}

		will_lead_to_war_with = LIT

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			add_named_threat = { threat = 5 name = GER_demand_lithuanian_integration }
			country_event = {
				id = wuw_GER_realpolitik.5
			}	
			custom_effect_tooltip = one_of_the_options_tt
			event_option_tooltip = wuw_GER_realpolitik.5.a
			custom_effect_tooltip = one_of_the_options_tt
			event_option_tooltip = wuw_GER_realpolitik.5.b

			if = {
				limit = {
					OR = {
						has_dynamic_modifier = { modifier = GER_mefo_bills_modifier }
						has_dynamic_modifier = { modifier = GER_economy_of_conquest_modifier }	
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = if_they_accept_tt
				custom_effect_tooltip = lithuania_mefo_bills_tt
			}
		}
	}

	focus = {
		id = GER_restore_eastern_imperial_possessions
		icon = GFX_focus_GER_restore_eastern_imperial_possessions
		prerequisite = { focus = GER_restore_the_brest_litovsk_borders }

		x = 1
		y = 1
		relative_position_id = GER_restore_the_brest_litovsk_borders
		cost = 10
		available = {
			is_subject = no
			has_army_manpower = { size > 849999 }
			NOT = {
				is_in_faction_with = POL
				has_war_with = POL
			}
			POL = {
				is_subject = no
				exists = yes
				85 = {
					controller = {
						OR = {
							original_tag = POL
							is_subject_of = POL
						}
					}
				}
				owns_state = 807
				owns_state = 86
				owns_state = 762
			}
		}

		bypass = {
			OR = {
				has_war_with = POL
				is_in_faction_with = POL
				POL = { is_subject = yes }
			}
		}

		will_lead_to_war_with = POL

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			# Claims
			85 = { add_claim_by = GER } #Danzig
			807 = { add_claim_by = GER } #Gdnyia
			86 = { add_claim_by = GER } #Poznan
			762 = { add_claim_by = GER } #Katovice

			custom_effect_tooltip = generic_skip_one_line_tt

			add_named_threat = { threat = 5 name = GER_restore_eastern_imperial_possessions }

			POL = {
				country_event = {
					id = wuw_GER_realpolitik.17
					hours = 12
					random_hours = 24
				}
			}	
			custom_effect_tooltip = if_they_accept_tt 
			effect_tooltip = {
				transfer_state = 85
				add_state_core = 85
				transfer_state = 807
				add_state_core = 807
				transfer_state = 86
				add_state_core = 86
				transfer_state = 762
				add_state_core = 762
			}

		}
	}

	focus = {
		id = GER_demand_further_polish_concessions
		icon = GFX_focus_GER_further_demands_for_polish_territory
		prerequisite = { focus = GER_restore_eastern_imperial_possessions }

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

		available = {
			is_subject = no
			has_army_manpower = { size > 849999 }
			NOT = {
				is_in_faction_with = POL
				has_war_with = POL
			}
			POL = {
				is_subject = no
				exists = yes
				OR = {
					owns_state = 87
					owns_state = 98
					owns_state = 97
					owns_state = 934
				}
			}
		}

		bypass = {
			OR = {
				has_war_with = POL
				is_in_faction_with = POL
				POL = { is_subject = yes }
				has_country_flag = GER_kaiserreich_decided_not_to_attack_poland
			}
		}

		will_lead_to_war_with = POL

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			# Claims
			87 = { add_claim_by = GER } #Lodz
			98 = { add_claim_by = GER } #Plock
			97 = { add_claim_by = GER } #Byalistock
			934 = { add_claim_by = GER } #Suwalki

			custom_effect_tooltip = generic_skip_one_line_tt

			add_named_threat = { threat = 5 name = GER_demand_further_polish_concessions }

			POL = {
				country_event = {
					id = wuw_GER_realpolitik.20
					hours = 12
					random_hours = 24
				}
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				transfer_state = 87
				add_state_core = 87
				transfer_state = 98
				add_state_core = 98
				transfer_state = 97
				add_state_core = 97
				transfer_state = 934
				add_state_core = 934
			}
		}
	}

	focus = {
		id = GER_incorporate_the_polish_rump_state
		icon = GFX_focus_generic_attack_poland
		prerequisite = { focus = GER_demand_further_polish_concessions }
		prerequisite = { focus = GER_establish_eastern_grand_duchies }

		x = 1
		y = 2
		relative_position_id = GER_demand_further_polish_concessions
		cost = 10

		available = {
			is_subject = no
			POL = {
				exists = yes
				OR = {
					is_subject_of = ROOT
					NOT = { is_in_faction_with = ROOT }
				}
			}
		}

		will_lead_to_war_with = POL

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			IF = {
				limit = {
					POL = {
						is_subject_of = ROOT
					}
				}
				POL = {
					country_event = {
						id = wuw_GER_realpolitik.16
						hours = 2
					}	
				}
				custom_effect_tooltip = if_they_accept_tt
				ROOT = {
					annex_country = {
						target = POL
						transfer_troops = yes
					}
				}
				GER_lower_CGFF_small = yes
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			ELSE = {
				create_wargoal = {
					type = annex_everything
					target = POL
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			IF = {
				limit = {
					any_country = {
						NOT = {
							original_tag = ROOT
							original_tag = POL
							is_ally_with = ROOT
						}
						OR = {
							owns_state = 10
							owns_state = 90
							owns_state = 92
							owns_state = 88
							owns_state = 97
							owns_state = 94
							owns_state = 95
						}
					}
				}
				every_other_country = {
					limit = {
						NOT = {
							original_tag = POL
							is_in_faction_with = ROOT
							is_subject_of = ROOT
						}
					}
					ROOT = {
						create_wargoal = {
							type = take_state_focus
							target = PREV
						}	
					}
				}
			}
		}
	}

	focus = {
		id = GER_establish_eastern_grand_duchies
		icon = GFX_focus_GER_eastern_grand_duchies
		prerequisite = { focus = GER_demand_further_polish_concessions focus = GER_demand_lithuanian_integration }

		x = 1
		y = 1
		relative_position_id = GER_demand_lithuanian_integration
		cost = 5
		available = {
			is_subject = no
		}

		dynamic = yes

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_MILITARY_CHARACTER } 

		completion_reward = {

			IF = {
				limit = {
					GEO = {
						exists = no
					}
				}
				country_event = {
					id = wuw_GER_legions.1
					hours = 0
				}	
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			unlock_decision_tooltip = GER_found_a_baltic_german_state_decision
			unlock_decision_tooltip = GER_restore_the_ukrainian_state_decision
			unlock_decision_tooltip = GER_establish_a_belarusian_state_decision
			unlock_decision_tooltip = GER_found_a_transcacuasian_satellite_state_decision
		}
	}
	
	focus = {
		id = GER_subduing_the_baltic_states
		icon = GFX_focus_GER_subduing_the_baltic_states
		prerequisite = { focus = GER_establish_eastern_grand_duchies }

		x = 0
		y = 2
		relative_position_id = GER_establish_eastern_grand_duchies

		cost = 10

		available = {
			is_subject = no
			OR = {
				NOT = {
					EST = {
						is_in_faction_with = ROOT
					}
				}
				NOT = {
					LAT = {
						is_in_faction_with = ROOT
					}
				}
			}
		}

		will_lead_to_war_with = EST
		will_lead_to_war_with = LAT

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_MANPOWER }

		completion_reward = {

			hidden_effect = {
				IF = {
					limit = {
						POL = {
							exists = no
							NOT = {	has_completed_focus = POL_restore_bermontians }
						}
					}
					POL = {
						set_nationality = {
						    target_country = ROOT
						    character = POL_rudinger_von_der_goltz
						}
					}
				}
			}
			custom_effect_tooltip = GER_subduing_the_baltic_states_tt
			hidden_effect = {
				delete_unit_template_and_units = {
					division_template = "Baltische Landeswehr"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Baltische Landeswehr"	
					division_names_group = GER_INF_01
					template_counter = 101 # The Stormtroopers Symbol 
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 1 y = 2 }
					}
					support = {
						engineer = { x = 0 y = 0 }  
						artillery = { x = 0 y = 1 }  
					}
				}

				random_state = { 
					limit = {
						is_fully_controlled_by = ROOT
						is_owned_by = ROOT
						is_core_of = ROOT
					}
					create_unit = {
					    division = "name = \"Baltische Landeswehr 'Reval'\" division_template = \"Baltische Landeswehr\" start_experience_factor = 0.3 start_equipment_factor = 0.9"
					    owner = ROOT
					}
					create_unit = {
					    division = "name = \"Baltische Landeswehr 'Dyna'\" division_template = \"Baltische Landeswehr\" start_experience_factor = 0.3 start_equipment_factor = 0.9"
					    owner = ROOT
					}
					create_unit = {
					    division = "name = \"Baltische Landeswehr 'Wilna'\" division_template = \"Baltische Landeswehr\" start_experience_factor = 0.2 start_equipment_factor = 0.9"
					    owner = ROOT
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			every_other_country = {
				limit = {
					any_controlled_state = {
						OR = {
							is_core_of = EST
							is_core_of = LAT
						}
					}
				}
				display_individual_scopes = yes
				every_controlled_state = {
					limit = {
						OR = {
							is_core_of = EST
							is_core_of = LAT
						}
					}
					add_to_array = {
						array = PREV.GER_baltic_target_states_array
						value = THIS
					}
				}
				ROOT = {
					create_wargoal = {
						type = take_state_focus
						target = PREV
						generator = PREV.GER_baltic_target_states_array
					}
				}
			}
		}
	}

	focus = {
		id = GER_puppet_finland
		icon = GFX_focus_generic_invade_finland
		prerequisite = { focus = GER_support_the_finns_ww }
		prerequisite = { focus = GER_establish_eastern_grand_duchies }

		dynamic = yes

		x = 0
		y = 1
		relative_position_id = GER_support_the_finns_ww
		cost = 10
		available = {
			is_subject = no
			FIN = {
				exists = yes
				is_subject = no
				has_war = no
				is_in_faction = no
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			IF = {
				limit = {
					has_government = neutrality
				}
				FIN = {
					country_event = {
						id = wuw_GER_realpolitik.10
						hours = 12
						random_hours = 24
					}	
				}
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					puppet = FIN
					custom_effect_tooltip = generic_skip_one_line_tt
					FIN = {
						add_country_leader_role = {
							character =  FIN_prince_wolfgang_von_hesse
							promote_leader = yes
							country_leader = {
								ideology = despotism
								expire = "1965.1.1.1"
								traits = { }
							}
						}

						set_party_name = {
							ideology = neutrality
							long_name = FIN_neutrality_party_monarchist_long
							name = FIN_neutrality_party_monarchist
						}

						add_popularity = {
							ideology = neutrality
							popularity = 0.1
						}

						IF = {
							limit = {
								has_completed_focus = FIN_greater_finland
							}
							set_cosmetic_tag = FIN_greater_kingdom_of_finland
						}
						ELSE = {
							set_cosmetic_tag = FIN_kingdom_of_finland
						}
					} 
					ROOT = {
						GER_lower_CGFF_small = yes
					}
				}
			}
			ELSE = {
				FIN = {
					country_event = {
						id = wuw_GER_realpolitik.13
						hours = 12
						random_hours = 24
					}	
				}
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					add_political_power = 75

					puppet = FIN
					ROOT = {
						GER_lower_CGFF_small = yes
					}
				}
			}

		}
	}

	focus = {
		id = GER_strike_eastward
		icon = GFX_focus_ger_strike_at_the_source
		prerequisite = { focus = GER_subduing_the_baltic_states focus = GER_hold_joint_military_drills }

		x = -3
		y = 1
		relative_position_id = GER_subduing_the_baltic_states
		cost = 10

		available = {
			is_subject = no
			has_army_manpower = { size > 999999 }

			custom_trigger_tooltip = {
			 	tooltip = GER_strike_eastward_eq_trigger_tt
			 	check_variable = { num_equipment_in_armies_k@infantry_equipment > 100 }
			}

			SOV = {
				exists = yes  
				NOT = {
					has_war_with = ROOT
					is_subject_of = ROOT
				}
			}
		}

		bypass = {
			SOV = {
				OR = {
					is_subject_of = ROOT
					exists = no
				}
			}
		}

		dynamic = yes

		will_lead_to_war_with = SOV

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			add_timed_idea = {
				idea = GER_striking_the_sleeping_bear
				days = 365
			}	

			custom_effect_tooltip = generic_skip_one_line_tt
			
			create_wargoal = {
				type = annex_everything
				target = SOV
				expire = 0
			} 

			if = {
				limit = {
					has_dlc = "Gotterdammerung"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = GER_unlocks_kremlin_raid_tt
			}

			add_ai_strategy = { 
				type = conquer	
				id = SOV
				value = 250
			}

			add_ai_strategy = {
				type = antagonize
				id = SOV
				value = 250
			}

		}
	}

	focus = {
		id = GER_end_european_communism
		icon = GFX_focus_GER_end_european_communism
		prerequisite = { focus = GER_strike_eastward }

		x = 0
		y = 1
		relative_position_id = GER_strike_eastward
		cost = 10
		available = {
			any_country = {
				capital_scope = { is_on_continent = europe }
				has_government = communism
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		will_lead_to_war_with = SOV	#56

		completion_reward = {
			custom_effect_tooltip = GER_war_against_european_communism_tt
			every_other_country = {
				limit = {
					OR = {
						is_in_faction_with = ROOT
						is_guaranteed_by = ROOT
						has_non_aggression_pact_with = ROOT
					}
					has_government = communism
				}
				if = {
					limit = {
						ROOT = { is_faction_leader = yes }
					}
					ROOT = { remove_from_faction = PREV }
				}
				else_if = {
					limit = {
						is_faction_leader = yes
					}
					ROOT = { leave_faction = yes }
				}
				if = {
					limit = {
						ROOT = {
							has_guaranteed = PREV
						}
					}
					ROOT = {
						diplomatic_relation = {
						    country = PREV
						    relation = guarantee
						    active = no
						}
					}
				}
				if = {
					limit = {
						has_non_aggression_pact_with = ROOT
					}
					ROOT = {
						diplomatic_relation = {
						    country = PREV
						    relation = non_aggression_pact
						    active = no
						}
					}
				}
				ROOT = {
					create_wargoal = {
						type = puppet_wargoal_focus
						target = PREV
					}
				}
			}
			every_other_country = {
				limit = {
					capital_scope = { is_on_continent = europe }
					has_government = communism
					NOT = { is_in_faction_with = ROOT }
					NOT = { is_guaranteed_by = ROOT }
					NOT = { has_non_aggression_pact_with = ROOT }	
				}
				ROOT = {
					create_wargoal = {
						type = puppet_wargoal_focus
						target = PREV
					}
				}
			}
		}
	}
	
	focus = {
		id = GER_reject_the_locarno_treaty
		icon = GFX_focus_AUS_disregard_the_treaties
		prerequisite = { focus = GER_realpolitik }
		prerequisite = { focus = GER_demand_the_return_of_southern_jutland }
		mutually_exclusive = { focus = GER_carte_blanche_for_alsace_and_french_colonies_ww }

		x = 0
		y = 4
		relative_position_id = GER_demand_the_return_of_southern_jutland
		cost = 10

		available = {
			is_subject = no
			has_army_manpower = { size > 949999 }
			28 = {
				NOT = {
					controller = {
						is_in_faction_with = ROOT
						has_war_with = ROOT
					}
					owner = {
						is_in_faction_with = ROOT
					}
				}
			}
		}

		bypass = {
			28 = {
				OR = {
					controller = {
						has_war_with = ROOT
					}
					is_controlled_by = ROOT
				}
			}
		}

		will_lead_to_war_with = FRA
		will_lead_to_war_with = ALS	#56

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			add_war_support = 0.05

			add_named_threat = { threat = 5 name = GER_reject_the_locarno_treaty }

			add_state_claim = 28
			28 = {
				controller = {
					ROOT = {
						create_wargoal = {
							type = take_claimed_state
							target = PREV
							expire = 0
						}
					}
				}
			}
		}
	}

	focus = {
		id = GER_backdoor_negotiations
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = GER_reject_the_locarno_treaty }
		mutually_exclusive = { focus = GER_schlieffen_once_more_ww focus = GER_bypass_maginot_in_the_south_ww }
		x = -2
		y = 1
		relative_position_id = GER_reject_the_locarno_treaty
		cost = 10
		available = {
			is_subject = no
			OR = {
				has_war_with = FRA
				has_wargoal_against = FRA
			}
			OR = {
				AND = {
					NOT = {
						has_war_with = BEL
						has_wargoal_against = BEL
						has_completed_focus = GER_carve_up_congo
					}
					BEL = {
						exists = yes
						is_subject = no
						is_in_faction = no
					}
				}
				AND =  {
					NOT = {
						has_war_with = HOL
						has_wargoal_against = HOL
						has_completed_focus = GER_our_place_in_the_sun_ww
					}
					HOL = {
						exists = yes
						is_subject = no
						is_in_faction = no
					}
				}
			}
		}

		bypass = {
			OR = {
				is_in_faction_with = BEL
				is_in_faction_with = HOL
				AND = {
					OR = {
						has_war_with = BEL
						BEL = { exists = no }
						BEL = { is_in_faction = yes }
						BEL = {
							is_subject = yes
							NOT = {
								is_subject_of = ROOT
							}
						}
					}
					OR = {
						has_war_with = HOL
						HOL = { exists = no }
						HOL = { is_in_faction = yes }
						HOL = {
							is_subject = yes
							NOT = {
								is_subject_of = ROOT
							}
						}
					}
				}
				FRA = { 
					OR = {
						exists = no 
						is_ally_with = ROOT 
					}
				}
			}
		}

		will_lead_to_war_with = BEL
		will_lead_to_war_with = HOL

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_POLITICAL }

		completion_reward = {

			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = {
				decision = GER_invite_HOL_to_attack_BEL_decision
				show_effect_tooltip = no
			}	
			unlock_decision_tooltip = {
				decision = GER_invite_BEL_to_attack_HOL_decision
				show_effect_tooltip = no
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_backdoor_negotiations_tt

		}
	}

	focus = {
		id = GER_schlieffen_once_more_ww
		icon = GFX_focus_GER_schlieffen_once_more
		prerequisite = { focus = GER_reject_the_locarno_treaty }
		mutually_exclusive = { focus = GER_backdoor_negotiations focus = GER_bypass_maginot_in_the_south_ww }
		x = 0
		y = 1
		relative_position_id = GER_reject_the_locarno_treaty
		cost = 4
		available = {
			is_subject = no
			has_war_with = FRA
			NOT = {
				is_in_faction_with = BEL
			}
			NOT = {
				is_in_faction_with = LUX
			}
		}

		bypass = {
			OR = {
				AND = {
					OR = {
						has_war_with = BEL
						is_in_faction_with = BEL
						BEL = { exists = no }
					}
					OR = {
						has_war_with = LUX
						is_in_faction_with = LUX
						LUX = { exists = no }
					}
				}
				FRA = {
					OR = {
						exists = no 
						is_ally_with = ROOT 
					}
				}
			}
		}

		will_lead_to_war_with = BEL
		will_lead_to_war_with = LUX

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			IF = { # Luxembourg
				limit = {
					8 = {
						NOT = {
							is_claimed_by = ROOT
							controller = {
								is_in_faction_with = ROOT
							}
						}
					}
				}
				8 = {
					add_claim_by = ROOT
				}
			}
			IF = { # Ardennes
				limit = {
					1095 = {
						NOT = {
							is_claimed_by = ROOT
							controller = {
								is_in_faction_with = ROOT
							}
						}
					}
				}
				1095 = {
					add_claim_by = ROOT
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_timed_idea = {
				idea = GER_the_new_schlieffen_plan
				days = 180
			}	

			custom_effect_tooltip = generic_skip_one_line_tt
			
			create_wargoal = {
				type = take_claimed_state
				target = BEL
				expire = 0
			}

			create_wargoal = {
				type = annex_everything
				target = LUX
				expire = 0
			}

			if = {	#56 - Since they are possible lowlands tags, releasing them could theoretically cheese a German AI
				limit = {
					WLL = {
						exists = yes
						NOT = { 
							is_ally_with = ROOT
							has_war_with = ROOT
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = WLL
					expire = 0
				}
			}
			if = {	#56 - Since they are possible lowlands tags, releasing them could theoretically cheese a German AI
				limit = {
					FLA = {
						exists = yes
						NOT = { 
							is_ally_with = ROOT
							has_war_with = ROOT
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = FLA
					expire = 0
				}
			}
		}
	}

	focus = {
		id = GER_bypass_maginot_in_the_south_ww
		icon = GFX_focus_attack_switzerland

		prerequisite = { focus = GER_reject_the_locarno_treaty focus = GER_carte_blanche_for_alsace_and_french_colonies_ww }

		mutually_exclusive = { focus = GER_backdoor_negotiations focus = GER_schlieffen_once_more_ww }

		x = 2
		y = 1
		relative_position_id = GER_reject_the_locarno_treaty

		cost = 4

		available = {
			is_subject = no
			NOT = { has_war_with = SWI }
			OR = {
				has_war_with = FRA
				has_wargoal_against = FRA
			}
			SWI = {
				NOT = {
					is_in_faction_with = ROOT
					is_guaranteed_by = ROOT
					has_non_aggression_pact_with = ROOT
				}
			}
		}

		bypass = {
			OR = {
				SWI = {
					OR = {
						exists = no
						is_ally_with = ROOT
						has_war_with = ROOT
						is_guaranteed_by = ROOT
						has_non_aggression_pact_with = ROOT
					}
				}
				FRA = {
					OR = {
						exists = no 
						is_ally_with = ROOT 
					}
				}
			}
		}

		will_lead_to_war_with = SWI

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			
			create_wargoal = {
				type = annex_everything
				target = SWI
				expire = 0
			}

			add_state_claim = 845
			add_state_claim = 3
			add_state_claim = 151
			add_state_claim = 847
			IF = {
				limit = {
					ITA = {
						OR = {
							is_in_faction_with = ROOT
							is_subject_of = ROOT
						}
					}
				}
				ITA = {
					add_state_claim = 846
				}
			}
			ELSE = {
				add_state_claim = 846
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_timed_idea = {
				idea = GER_operation_tannenbaum_ns
				days = 180
			}
		}
	}

	focus = {
		id = GER_reinstate_imperial_possessions_ww
		icon = GFX_focus_GER_reinstate_imperial_possessions
		prerequisite = { focus = GER_backdoor_negotiations focus = GER_schlieffen_once_more_ww focus = GER_bypass_maginot_in_the_south_ww }

		x = 1
		y = 1
		relative_position_id = GER_backdoor_negotiations

		cost = 5

		available = {
			is_subject = no
			has_full_control_of_state = 28
			OR = {
				FRA = { has_capitulated = yes }
				FRA = { is_subject_of = GER }
				NOT = {
					any_country_with_original_tag = {
						original_tag_to_check = FRA
						exists = yes
					}
				}
				owns_state = 28
			}
		}

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {
			
			add_state_core = 28
			if = {
				limit = {
					NOT = { owns_state = 28 }
				}
				transfer_state = 28
			}
			if = {
				limit = {
					FRA = {
						exists = yes
					}	
				}
				FRA = {
					country_event = { id = wtt_germany.63 }
				}
			}

		}
	}

	focus = {
		id = GER_establish_western_grand_duchies
		icon = GFX_focus_GER_western_grand_duchies
		prerequisite = { focus = GER_backdoor_negotiations focus = GER_schlieffen_once_more_ww focus = GER_bypass_maginot_in_the_south_ww }

		dynamic = yes

		x = 3
		y = 1
		relative_position_id = GER_backdoor_negotiations
		cost = 5
		available = {
			is_subject = no
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {

			add_political_power = 75

			custom_effect_tooltip = generic_skip_one_line_tt 
			
			unlock_decision_tooltip = GER_establish_greater_flanders_decision
			unlock_decision_tooltip = GER_establish_greater_brittany_decision
			unlock_decision_tooltip = GER_establish_wales_decision
			unlock_decision_tooltip = GER_establish_scotland_decision

		}
	}

	focus = {
		id = GER_integrate_western_german_speakers
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = GER_establish_western_grand_duchies focus = GER_reinstate_imperial_possessions_ww }

		x = 1
		y = 1
		relative_position_id = GER_reinstate_imperial_possessions_ww

		cost = 5

		available = {
			is_subject = no
			has_full_control_of_state = 8
		}

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {
			
			add_state_core = 8
			set_province_name = {
				id = 6583
				name = 6583_german_unification_lux_name
			}
			8 = {
				set_state_name = 8_lux_name
				add_extra_state_shared_building_slots = 4
			}
			IF = {
				limit = {
					NOT = {
						is_in_faction_with = BEL
						1095 = {
							is_controlled_by = ROOT
						}
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = GER_core_ardennes_tt
				add_state_core = 1095
				effect_tooltip = {
					1095 = {
						add_extra_state_shared_building_slots = 2
					}
				}
			}
			else_if = {
				limit = {
					NOT = {
						is_in_faction_with = BEL
					}
					1095 = {
						is_controlled_by = ROOT
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				add_state_core = 1095
				1095 = {
					add_extra_state_shared_building_slots = 2
				}
			}
			IF = {
				limit = {
					NOT = {
						is_in_faction_with = SWI
						OR = {
							3 = {
								is_controlled_by = ROOT
							}
							847 = {
								is_controlled_by = ROOT
							}
							151 = {
								is_controlled_by = ROOT
							}
						}
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = GER_core_german_switzerland_tt
				add_state_core = 3
				add_state_core = 847
				add_state_core = 151
			}
			else_if = {
				limit = {
					NOT = {
						is_in_faction_with = SWI

					}
					OR = {
						3 = {
							is_controlled_by = ROOT
						}
						847 = {
							is_controlled_by = ROOT
						}
						151 = {
							is_controlled_by = ROOT
						}
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				add_state_core = 3
				add_state_core = 847
				add_state_core = 151
			}
			IF = {
				limit = {
					NOT = {
						is_in_faction_with = ITA
						39 = {
							is_controlled_by = ROOT
						}
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = GER_core_alto_adige_tt
				add_state_core = 39
				effect_tooltip = {
					39 = {
						add_extra_state_shared_building_slots = 2
					}
				}
			}
			else_if = {
				limit = {
					NOT = {
						is_in_faction_with = ITA
					}
					39 = {
						is_controlled_by = ROOT
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				add_state_core = 39
				39 = {
					add_extra_state_shared_building_slots = 2
				}
			}
		}
	}

	#####################
	#####################
	#### WELTPOLITIK ####
	#####################
	#####################

	focus = {
		id = GER_weltpolitik
		icon = GFX_focus_GER_weltpolitik
		prerequisite = { focus = GER_monarchist_sentiment }

		x = 17
		y = 1
		relative_position_id = GER_monarchist_sentiment

		cost = 5

		available = {
			is_subject = no
			NOT = {
				has_country_leader = {
					ruling_only = yes
					character = GER_august_von_mackensen
				}		
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_MANPOWER }

		completion_reward = {
			add_political_power = 25
			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_revive_the_schutztruppe_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			hidden_effect = {
				remove_trait = {
				    character = GER_adolf_friedrich_von_mecklenburg
				    slot = political_advisor
				    trait = GER_minister_of_the_colonies
				}
			}
			add_trait = { 
			    character = GER_adolf_friedrich_von_mecklenburg
			    slot = political_advisor
			    trait = GER_minister_of_the_colonies_2
			}

			hidden_effect = {
				delete_unit_template_and_units = {
					division_template = "Afrikanische Schutztruppe"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Afrikanische Schutztruppe"	
					division_names_group = GER_MIL_02
					template_counter = 98
					is_locked = yes
					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 }
					}
					support = {
					}
					override_model = GER_infantry_alt_1_entity
				}

				delete_unit_template_and_units = {
					division_template = "Askari Schutztruppe"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Askari Schutztruppe"	
					division_names_group = GER_MIL_02
					template_counter = 67
					is_locked = yes
					regiments = {
						militia = { x = 0 y = 0 }
						militia = { x = 0 y = 1 }
						militia = { x = 1 y = 0 }
						militia = { x = 1 y = 1 }
					}
					support = {
					}
					override_model = GER_infantry_alt_2_entity
				}

				delete_unit_template_and_units = {
					division_template = "Asiatische Schutztruppe"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Asiatische Schutztruppe"	
					division_names_group = GER_MIL_02
					template_counter = 99
					is_locked = yes
					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 }
					}
					support = {
					}
					override_model = GER_infantry_alt_3_entity
				}

				IF = {
					limit = {
						has_dlc = "Battle for the Bosporus"
					}
					set_technology = { 
						camelry = 1 
						popup = no
					}
				}
			}
		}
	}
	
	focus = {
		id = GER_accept_british_naval_dominance_ww
		icon = GFX_focus_ger_accept_british_naval_dominance
		prerequisite = { focus = GER_weltpolitik }
		mutually_exclusive = { focus = GER_the_second_naval_race }
		x = -3
		y = 1
		relative_position_id = GER_weltpolitik
		cost = 5
		available = {
			has_added_tension_amount < 25
			NOT = {
				has_war_with = ENG
				ENG = { has_government = communism }
			}
			ENG = { is_subject = no }
		}

		continue_if_invalid = yes

		cancel = {
			has_war_with = ENG
		}

		bypass = {
			ENG = {
				is_ally_with = ROOT
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			ENG = {
				add_opinion_modifier = {
					target = ROOT
					modifier = GER_accept_british_naval_dominance_opinion
				}
			}
			add_ideas = GER_redirecting_naval_production 
		}
	}

	focus = {
		id = GER_carve_up_congo
		icon = GFX_focus_GER_carve_up_congo
		prerequisite = { focus = GER_accept_british_naval_dominance_ww }

		x = 0
		y = 1
		relative_position_id = GER_accept_british_naval_dominance_ww
		cost = 10
		available = {
			is_subject = no
			has_added_tension_amount > 4
			has_added_tension_amount < 25
			NOT = {
				has_war_with = ENG
			}
			ENG = { is_subject = no }
			NOT = {
				COG = {
					has_idea = GER_german_trade_ns
				}
				has_war_with = COG
			}
		}

		bypass = {
			OR = {
				COG = {	has_idea = GER_german_trade_ns }
				has_war_with = COG
				AND = {
					295 = { state_is_fully_controlled_by_ROOT_subject_or_faction_member = yes }
					538 = { state_is_fully_controlled_by_ROOT_subject_or_faction_member = yes }
					718 = { state_is_fully_controlled_by_ROOT_subject_or_faction_member = yes }
					888 = { state_is_fully_controlled_by_ROOT_subject_or_faction_member = yes }
					890 = { state_is_fully_controlled_by_ROOT_subject_or_faction_member = yes }
					768 = { state_is_fully_controlled_by_ROOT_subject_or_faction_member = yes }
					769 = { state_is_fully_controlled_by_ROOT_subject_or_faction_member = yes }
					889 = { state_is_fully_controlled_by_ROOT_subject_or_faction_member = yes }
				}
			}
		}

		will_lead_to_war_with = COG
		will_lead_to_war_with = BEL

		continue_if_invalid = yes

		cancel = {
			OR = {
				has_war_with = ENG
				has_war_with = COG
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			# RT56 RP - adds if else for congo being a player, else is RT56
			if = {
				limit = { COG = { is_ai = no } }
				ROOT = {
					create_wargoal = {
						type = take_state_focus
						target = COG
						generator = { 295 538 718 890 768 769 }
						expire = 180
					}
				}
				ENG = {
					create_wargoal = {
						type = take_state_focus
						target = COG
						generator = { 888 889 }
						expire = 180
					}
				}
			}
			else = {
				ENG = {
					country_event = {
						id = wuw_GER_weltpolitik.4
						hours = 12
						random_hours = 24
					}	
				}
				add_named_threat = { threat = 5 name = GER_carve_up_congo }
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {

					every_state = {
						limit = {
							OR = {
								state = 888
								state = 889
							}
							OR = {
								is_fully_controlled_by = BEL
								is_fully_controlled_by = COG
							}
						}
						transfer_state_to = ENG
					}
				
					every_state = {
						limit = {
							OR = {
								state = 295
								state = 538
								state = 718
								state = 890
								state = 768
								state = 769
							}
							OR = {
								is_fully_controlled_by = BEL
								is_fully_controlled_by = COG
							}
						}
						transfer_state_to = GER
					}
					
				}
			}
		}
	}

	focus = {
		id = GER_anglo_germanic_defense_pact
		icon = GFX_focus_chi_british_cooperation
		prerequisite = { focus = GER_carve_up_congo }

		x = 0
		y = 2
		relative_position_id = GER_carve_up_congo
		cost = 10
		available = {
			has_added_tension_amount < 25
			is_subject = no
			ENG = { 
				exists = yes
				is_subject = no
				NOT = {
					has_war_with = GER
				}
			}
		}

		continue_if_invalid = yes

		cancel = {
			has_war_with = ENG
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {

			ENG = {
				country_event = {
					id =  wuw_GER_mutual_guarantees.1
					hours = 12
					random_hours = 24
				}	
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				give_guarantee = ENG
				ENG = {
					give_guarantee = ROOT
				}
				ROOT = {
					add_opinion_modifier = {
						target = ENG
						modifier = GER_signed_the_anglo_german_defence_pact_opm
					}	
				}
				ENG = {
					add_opinion_modifier = {
						target = ROOT
						modifier = GER_signed_the_anglo_german_defence_pact_opm
					}	
				}
			}
			
		}
	}

	focus = {
		id = GER_anglo_germanic_cooperation_program
		icon = GFX_focus_generic_naval_discipline
		prerequisite = { focus = GER_anglo_germanic_defense_pact }

		x = -1
		y = 1
		relative_position_id = GER_anglo_germanic_defense_pact
		cost = 10
		available = {
			has_added_tension_amount < 25
			ENG = { 
				exists = yes
				is_subject = no
				NOT = {
					has_war_with = GER
				}
			}
		}

		search_filters = { FOCUS_FILTER_NAVY_XP FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			navy_experience = 25

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = GER_anglo_germanic_cooperation_program
				bonus = 0.75
				uses = 2
				category = mio_cat_tech_all_capital_ship_and_modules
				category = mio_cat_tech_all_carrier_and_modules
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			ENG = {
				country_event = {
					id = wuw_GER_diplomacy.50
					hours = 12
					random_hours = 24
				}
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				add_to_tech_sharing_group = GER_anglo_german_naval_development_group
				ENG = {
					add_to_tech_sharing_group = GER_anglo_german_naval_development_group
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				if = {
					limit = {
						has_idea = GER_redirecting_naval_production
					}
					swap_ideas = {
						remove_idea = GER_redirecting_naval_production
						add_idea = GER_redirecting_naval_production_2
					}	
				}	
			}
		}
	}

	focus = {
		id = GER_carte_blanche_for_alsace_and_french_colonies_ww
		icon = GFX_focus_attack_france

		prerequisite = { focus = GER_anglo_germanic_defense_pact }

		mutually_exclusive = { focus = GER_reject_the_locarno_treaty }

		x = -3
		y = 2
		relative_position_id = GER_anglo_germanic_defense_pact

		cost = 10

		available = {
			is_subject = no
			has_added_tension_amount > 10
			NOT = {
				has_completed_focus = GER_re_ratify_the_locarno_treaty
				has_wargoal_against = ENG
				is_justifying_wargoal_against = ENG
				has_war_with = ENG
			}
			FRA = {
				NOT = { is_in_faction_with = ENG }
				OR = {
					has_war_with = ENG
					has_government = fascism
					has_government = communism
				}
			}
			ENG = {
				NOT = {
					has_government = communism
				}
			}
		}

		will_lead_to_war_with = FRA

		search_filters = {  FOCUS_FILTER_ANNEXATION FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {

			every_other_country = {
				limit = {
					NOT = { is_ally_with = ROOT }
					NOT = { is_ally_with = ENG } #We don't want to accidentally drag ENG into a war
					OR = {
						controls_state = 28
						controls_state = 773
						controls_state = 777
						controls_state = 461
						controls_state = 462
					}
				}
				display_individual_scopes = yes
				every_controlled_state = {
					limit = {
						OR = {
							state = 28
							state = 773
							state = 777
							state = 461
							state = 462
						}
					}
					add_to_array = {
						array = PREV.GER_french_possessions
						value = THIS
					}
					
					add_claim_by = ROOT
				}
				ROOT = {
					create_wargoal = {
						type = take_state_focus
						target = PREV
						generator = PREV.GER_french_possessions
					}
				}
			}

			add_ai_strategy = {
				type = conquer
				id = FRA
				value = 100
			}

			add_ai_strategy = {
				type = antagonize
				id = FRA
				value = 100
			}

		}
	}

	focus = {
		id = GER_petition_for_the_return_of_old_colonies
		icon = GFX_focus_generic_concessions
		prerequisite = { focus = GER_anglo_germanic_defense_pact }

		x = 0
		y = 2
		relative_position_id = GER_anglo_germanic_defense_pact
		cost = 10
		available = {
			has_added_tension_amount < 25
			is_subject = no
			NOT = {
				has_wargoal_against = ENG
				has_war_with = ENG
			}
			NOT = {
				ENG = {
					has_government = fascism
					has_government = communism
				}
			}
			ENG = {
				has_opinion = {
					target = ROOT
					value > 50
				}	
			}
			any_state = {
				is_owned_and_controlled_by = ENG
				OR = {
					state = 773
					state = 777
					state = 546
					state = 768
					state = 769
					state = 895
					state = 894
					state = 541
					state = 893
					state = 743
					state = 647
					state = 1096
					state = 737
					state = 684
					state = 633
					state = 1138
					state = 646
					state = 726
					state = 725
				}
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			ENG = {
				country_event = {
					id = wuw_GER_weltpolitik.12
					hours = 12
					random_hours = 24
				}	
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				every_state = {
					limit = {
						OR = {
							is_owned_and_controlled_by = ENG
							is_owned_and_controlled_by = SAF
							is_owned_and_controlled_by = NZL
							is_owned_and_controlled_by = AST
						}
						OR = {
							state = 773
							state = 777
							state = 546
							state = 768
							state = 769
							state = 895
							state = 894
							state = 541
							state = 893
							state = 743
							state = 647
							state = 1096
							state = 737
							state = 684
							state = 633
							state = 1138
							state = 646
							state = 726
							state = 725
						}
					}
					transfer_state_to = ROOT
				}
			}

		}
	}

	focus = {
		id = GER_unify_west_africa
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = GER_petition_for_the_return_of_old_colonies }

		x = -1
		y = 1
		relative_position_id = GER_petition_for_the_return_of_old_colonies
		cost = 10
		available = {
			has_added_tension_amount > 10
			OR = {
				has_full_control_of_state = 295
				has_full_control_of_state = 888
				has_full_control_of_state = 894
				has_full_control_of_state = 895
			}
			any_other_country = {
				OR = {
					has_full_control_of_state = 540
					has_full_control_of_state = 892
					has_full_control_of_state = 891
				}
				NOT = {
					has_war_with = ROOT
					is_in_faction_with = ROOT
					is_in_faction_with = ENG
				}
			}
		}

		will_lead_to_war_with = POR
		will_lead_to_war_with = ANG

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			
			add_named_threat = { threat = 3 name = GER_unify_west_africa }

			every_other_country = {
				limit = {
					NOT = {
						original_tag = ENG
						is_in_faction_with = ENG
						is_in_faction_with = ROOT
					}
					OR = {
						has_full_control_of_state = 540
						has_full_control_of_state = 892
						has_full_control_of_state = 891
					}
				}
				country_event = {
					id = wuw_GER_weltpolitik.19
					days = 2
					random_days = 3
				}
			}
			
		}
	}

	focus = {
		id = GER_expand_pacific_holdings
		icon = GFX_focus_GER_expand_pacific_holdings
		prerequisite = { focus = GER_petition_for_the_return_of_old_colonies }
		mutually_exclusive = { focus = GER_divide_and_conquer focus = GER_our_place_in_the_sun_ww }
		x = 0
		y = 2
		relative_position_id = GER_petition_for_the_return_of_old_colonies
		cost = 10
		available = {
			is_subject = no
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		will_lead_to_war_with = SIA	#56
		will_lead_to_war_with = VIN	#56
		will_lead_to_war_with = LAO	#56
		will_lead_to_war_with = CAM	#56
		will_lead_to_war_with = YUN	#56
		will_lead_to_war_with = GXC	#56
		will_lead_to_war_with = INS	#56
		will_lead_to_war_with = TAH	#56
		will_lead_to_war_with = PNG	#56
		will_lead_to_war_with = FRI	#56
		will_lead_to_war_with = FRA	#56

		completion_reward = {

			add_named_threat = { threat = 5 name = GER_expand_pacific_holdings }

			every_state = {
				limit = {
					OR = {
						state = 734 # Tonga
						state = 635 # New Caledonia
						state = 1141
						state = 641 # Tahiti
						state = 636 # Fiji
						state = 726 # Samoa
						state = 1088 # American Samoa
						state = 1089 # Niue
						state = 721 # Timor-Leste
						state = 667 # Lesser Sunda Islands
						state = 1127 # Bali
						state = 1142 # Dutch Timor
						state = 335 # Java
						state = 1126 # Batavia
						state = 672 # Sumatra
						state = 738 # Aru Islands
						state = 669 # Western Papua
						state = 1137 # Southern Western Papua
						state = 668 # The Moluccas
						state = 724 # Northern Malay
						state = 1134 # Bangkok
						state = 868 # Isan
						state = 869 # Lanna
						state = 741 # Cambodia
						state = 286 # Southern Indochina
						state = 670 # Laos
						state = 671 # Tonkin
						state = 325 # Yunnan
						state = 599 # Guangxi
						state = 594 # Nanning
						state = 591 # Hainan
						state = 728 # Guangzhouwan
						state = 592 # Guangzhou
						state = 593 # Guangdong
						state = 729 # Macau
						state = 743 # Qingdao
					}
					NOT = {
						is_claimed_by = ROOT
						is_core_of = ROOT
						is_owned_by = ROOT
						controller = {
							OR = {
								has_a_german_trade_idea = yes
								is_in_faction_with = ROOT
								is_guaranteed_by = ROOT
							}
						}
					}
					NOT = {
						is_owned_by = ENG
						is_controlled_by = ENG
						controller = {
							is_ally_with = ENG
						}
					}
				}
				add_claim_by = ROOT
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			every_country = {
				limit = {
					OR = {
						original_tag = SIA
						original_tag = VIN
						original_tag = LAO
						original_tag = CAM
						original_tag = YUN
						original_tag = GXC
						original_tag = INS
						original_tag = TAH
						original_tag = PNG
					}
					NOT = {
						is_subject_of = ENG
						is_in_faction_with = ENG
						is_in_faction_with = ROOT
						is_guaranteed_by = ROOT
						has_a_german_trade_idea = yes
					}
				}
				ROOT = {
					create_wargoal = {
						type = annex_everything
						target = PREV
					}	
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					NOT = {
						is_in_faction_with = FRA
						has_guaranteed = FRA
					}
					FRA = {
						has_a_german_trade_idea = no
						OR = {
							owns_state = 734 # Nendo 
							owns_state = 635 # New Caledonia
							owns_state = 1141 # New Hebrides
							owns_state = 641 # Tahiti
							owns_state = 728 # Guangzhouwan
							owns_state = 741 # Cambodia
							owns_state = 286 # Southern Indochina
							owns_state = 670 # Laos
							owns_state = 671 # Tonkin
						}
					}
				}
				ROOT = {
					create_wargoal = {
						type = take_claimed_state
						target = FRA
					}	
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			IF = {
				limit = {
					NOT = {
						is_in_faction_with = POR
						has_guaranteed = POR
					}
					POR = {
						has_a_german_trade_idea = no
						OR = {
							owns_state = 729 # Macau
							owns_state = 721 # Timor-Leste
						}
					}
				}
				ROOT = {
					create_wargoal = {
						type = take_claimed_state
						target = POR
					}	
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			IF = {
				limit = {
					NOT = {
						is_in_faction_with = HOL
						has_guaranteed = HOL
					}
					HOL = {
						has_a_german_trade_idea = no
						OR = {
							owns_state = 667 # Lesser Sunda Islands
							owns_state = 1127 # Bali
							owns_state = 1142 # Dutch Timor
							owns_state = 335 # Java
							owns_state = 1126 # Batavia
							owns_state = 672 # Sumatra
							owns_state = 738 # Aru Islands
							owns_state = 669 # Western Papua
							owns_state = 1137 # Southern West Papua
							owns_state = 668 # The Moluccas
						}
					}
				}
				ROOT = {
					create_wargoal = {
						type = take_claimed_state
						target = HOL
					}	
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
		}
	}

	focus = {
		id = GER_closer_sino_germanic_relations
		icon = GFX_focus_chi_cooperation_with_the_nationalists
		prerequisite = { focus = GER_accept_british_naval_dominance_ww focus = GER_the_second_naval_race }

		dynamic = yes

		x = 3
		y = 2
		relative_position_id = GER_accept_british_naval_dominance_ww

		cost = 5

		available = {
			is_subject = no
			event_target:WTT_current_china_leader = { 
				exists = yes
				is_subject = no 
				NOT = { has_war_with = ROOT }
				NOT = { has_government = communism }
				custom_trigger_tooltip = {
					tooltip = GER_alone_or_peace_faction_tt
					is_alone_or_in_faction_at_peace_with_GER = yes
				}
			}	
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {

			event_target:WTT_current_china_leader = {
				set_country_flag = GER_befriended_by_germany_flag
				country_event = { id = wuw_GER_diplomacy.29 hours = 6 }
			}

			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				add_ideas = GER_ger_chi_trade_ns
				event_target:WTT_current_china_leader = {
					add_offsite_building = { type = arms_factory level = 2 }
					add_opinion_modifier = { target = GER modifier = ger_chi_diplomacy_focus }
					add_ideas = GER_chi_ger_trade_ns
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP = {
				add_opinion_modifier = { target = GER modifier = supported_the_chinese }
			}
		}
	}

	focus = {
		id = GER_industrial_investments
		icon = GFX_focus_generic_public_works
		prerequisite = { focus = GER_closer_sino_germanic_relations }

		x = -1
		y = 1
		relative_position_id = GER_closer_sino_germanic_relations
		cost = 5
		available = {
			has_global_flag = CHI_has_accepted_german_overtures
			event_target:WTT_current_china_leader = {
				NOT = {
					has_government = communism
					has_war_with = ROOT
				}
			}
		}

		dynamic = yes

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_INTERNATIONAL_TRADE }

		completion_reward = {

			event_target:WTT_current_china_leader = {
				country_event = { 
					id = wuw_GER_chinese_diplomacy.2 
					hours = 18
					random_hours = 48 
				}
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				event_target:WTT_current_china_leader = {
					swap_ideas = {
						remove_idea = GER_chi_ger_trade_ns
						add_idea = GER_chi_ger_trade_ns_2
					}	
					add_timed_idea = {
						idea = GER_aid_in_industrialization
						days = 365
					}	
				}
			}
			
		}
	}

	focus = {
		id = GER_launch_sino_germanic_joint_research_program
		icon = GFX_goal_generic_scientific_exchange
		prerequisite = { focus = GER_industrial_investments }

		x = 0
		y = 1
		relative_position_id = GER_industrial_investments
		cost = 5
		available = {
			has_global_flag = CHI_has_accepted_german_overtures
			event_target:WTT_current_china_leader = {
				NOT = {
					has_government = communism
					has_war_with = ROOT
				}
			}
		}

		dynamic = yes

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {

			event_target:WTT_current_china_leader = {
				country_event = { 
					id = wuw_GER_chinese_diplomacy.5
					hours = 18
					random_hours = 48 
				}
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				add_political_power = 100
				add_to_tech_sharing_group = ger_chi_research

				custom_effect_tooltip = generic_skip_one_line_tt

				event_target:WTT_current_china_leader = {
					add_timed_idea = {
						idea = GER_investments_into_sino_german_research_cooperation_idea
						days = 360
					}		
					add_to_tech_sharing_group = ger_chi_research 
				}
			}
		}
	}

	focus = {
		id = GER_send_military_aid
		icon = GFX_focus_generic_combined_arms
		prerequisite = { focus = GER_closer_sino_germanic_relations }

		x = 1
		y = 1
		relative_position_id = GER_closer_sino_germanic_relations
		cost = 5

		available = {
			has_global_flag = CHI_has_accepted_german_overtures
			event_target:WTT_current_china_leader = {
				NOT = {
					has_government = communism
					has_war_with = ROOT
				}
			}
		}

		dynamic = yes

		search_filters = { FOCUS_FILTER_INTERNATIONAL_TRADE }

		completion_reward = {

			event_target:WTT_current_china_leader = {
				country_event = { 
					id = wuw_GER_chinese_diplomacy.1 
					hours = 18
					random_hours = 48 
				}
			}
			effect_tooltip = {
				event_target:WTT_current_china_leader = {
					add_equipment_to_stockpile = { 
						type = infantry_equipment
						amount = 2500
						producer = GER
					}
					add_equipment_to_stockpile = { 
						type = support_equipment
						amount = 250
						producer = GER
					}	
					add_equipment_to_stockpile = { 
						type = artillery_equipment
						amount = 100
						producer = GER
					}

					custom_effect_tooltip = generic_skip_one_line_tt

					add_timed_idea = {
						idea = GER_aid_in_military_industrialization
						days = 365
					}	

					IF = {
						limit = {
							has_dlc = "Arms Against Tyranny"
						}
						custom_effect_tooltip = generic_skip_one_line_tt

						add_equipment_subsidy = {
							cic = 1000
							equipment_type = small_plane_airframe
							seller_tags = { GER } 
						}
						add_equipment_subsidy = {
							cic = 1000
							equipment_type = infantry_equipment
							seller_tags = { GER } 
						}
						add_equipment_subsidy = {
							cic = 1000
							equipment_type = motorized_equipment
							seller_tags = { GER } 
						}
						add_equipment_subsidy = {
							cic = 1000
							equipment_type = artillery_equipment
							seller_tags = { GER } 
						}
					}
				}
			}
		}
	}

	focus = {
		id = GER_send_volunteers 
		icon = GFX_focus_generic_little_entente
		prerequisite = { focus = GER_send_military_aid } 

		x = 0
		y = 1
		relative_position_id = GER_send_military_aid
		cost = 5

		available = {
			has_global_flag = CHI_has_accepted_german_overtures
			event_target:WTT_current_china_leader = {
				NOT = {
					has_government = communism
					has_war_with = ROOT
				}
			}
		}

		dynamic = yes

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_AIR_XP }

		completion_reward = {

			add_timed_idea = {
				idea = GER_fernostliche_legion_ns
				days = 545
			}

			add_ai_strategy = { 
				type = send_volunteers_desire	
				id = CHI
				value = 250
			}	
		}
	}

	focus = {
		id = GER_request_the_return_of_qingdao

		icon = GFX_focus_GER_request_the_return_of_qingdao

		prerequisite = { focus = GER_industrial_investments focus = GER_send_military_aid }

		x = 1
		y = 2
		relative_position_id = GER_industrial_investments

		cost = 5

		available = {
			is_subject = no
			has_global_flag = CHI_has_accepted_german_overtures
			event_target:WTT_current_china_leader = {
				NOT = {
					has_war_with = ROOT
				}
				743 = {
					is_owned_and_controlled_by = PREV
				}
				OR = {
					is_subject = no
					is_subject_of = ROOT
				}
			}
		}

		dynamic = yes

		bypass = {
			event_target:WTT_current_china_leader = {
				743 = {
					NOT = {
						is_owned_and_controlled_by = PREV
					}
				}
			}
		}

		cancel = {
			event_target:WTT_current_china_leader = {
				has_war_with = ROOT
				743 = {
					NOT = {
						is_owned_and_controlled_by = PREV
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			event_target:WTT_current_china_leader = {
				country_event = { 
					id = wtt_germany.38 
					days = 1 
				}
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				transfer_state = 743
			}
		}
	}

	focus = {
		id = GER_the_sino_germanic_pact
		icon = GFX_focus_GER_the_proud_eagle_and_the_rising_dragon
		prerequisite = { focus = GER_request_the_return_of_qingdao }
		
		x = 0
		y = 1
		relative_position_id = GER_request_the_return_of_qingdao
		cost = 5
		available = {
			is_subject = no
			is_faction_leader = yes
			has_global_flag = CHI_has_accepted_german_overtures
			event_target:WTT_current_china_leader = {
				NOT = {
					has_government = communism
					has_war_with = ROOT
				}
				is_in_faction = no
				is_subject = no
			}
		}

		dynamic = yes

		cancel = {	
			event_target:WTT_current_china_leader = {
				OR = {
					has_war_with = ROOT
					is_subject = yes
					is_in_faction = yes
				}
			}
		}

		bypass = {
			event_target:WTT_current_china_leader = {
				is_in_faction = yes
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {

			event_target:WTT_current_china_leader = {
				country_event = {
					id = wuw_GER_realpolitik.1
					hours = 6
					random_hours = 12
				}		
			}
		}
	}

	focus = {
		id = GER_divide_and_conquer
		icon = GFX_focus_GER_divide_and_conquer
		prerequisite = { focus = GER_the_sino_germanic_pact }

		mutually_exclusive = { focus = GER_expand_pacific_holdings focus = GER_our_place_in_the_sun_ww }

		x = 0
		y = 1
		relative_position_id = GER_the_sino_germanic_pact
		cost = 10
		available = {
			is_subject = no
			has_global_flag = CHI_has_accepted_german_overtures
			event_target:WTT_current_china_leader = {
				is_subject = no
				NOT = {
					has_war_with = ROOT
				}
				is_in_faction_with = ROOT
			}
		}

		cancel = {
			event_target:WTT_current_china_leader = {
				OR = {
					has_war_with = ROOT
					is_subject = yes
					NOT = { is_in_faction_with = ROOT }
				}
			}
		} 

		dynamic = yes

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_named_threat = { threat = 5 name = GER_spheres_of_influence }
			
			event_target:WTT_current_china_leader = {
				country_event = {
					id = wuw_GER_weltpolitik.16
					hours = 12
				}
			}

			custom_effect_tooltip = if_they_accept_tt

			custom_effect_tooltip = GER_asian_spheres_of_influence_tt
		}
	}

	focus = {
		id = GER_the_second_naval_race
		icon = GFX_goal_generic_occupy_states_coastal
		prerequisite = { focus = GER_weltpolitik }
		mutually_exclusive = { focus = GER_accept_british_naval_dominance_ww }
		x = 3
		y = 1
		relative_position_id = GER_weltpolitik
		cost = 5
		available = {
			is_subject = no
			NOT = {
				is_ally_with = ENG
			}
			any_core_state = {
				is_coastal = yes
				is_fully_controlled_by = ROOT
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			add_named_threat = { threat = 5 name = GER_the_second_naval_race }

			custom_effect_tooltip = generic_skip_one_line_tt

			ENG = {
				add_opinion_modifier = {
					target = ROOT
					modifier = GER_our_place_in_the_sun
				}
			}
			FRA = {
				add_opinion_modifier = {
					target = ROOT
					modifier = GER_our_place_in_the_sun
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

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

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_industrial_capacity_dockyard = 0.05
				tooltip = industrial_capacity_dockyard_tt
			}
		}
	}
	focus = {
		id = GER_rebuild_the_high_seas_fleet_ww
		icon = GFX_focus_generic_refit_civilian_ships
		prerequisite = { focus = GER_the_second_naval_race }

		x = 0
		y = 1
		relative_position_id = GER_the_second_naval_race
		cost = 10
		available = {
			is_subject = no
			any_core_state = {
				is_coastal = yes
			}
		}

		search_filters = { FOCUS_FILTER_NAVY_XP FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			navy_experience = 25

			custom_effect_tooltip = generic_skip_one_line_tt

			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_rebuild_the_high_seas_fleet_ww
				bonus = 0.5
				uses = 1
				category = bb_tech
			}

			add_breakthrough_progress = {
				specialization = specialization_naval
				value = 0.5
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt

			add_ideas = GER_rebuild_the_high_seas_fleet

		}
	}

	focus = {
		id = GER_break_anglo_french_colonial_hegemony_ww
		icon = GFX_focus_ger_break_anglo_french_colonial_hegemony
		prerequisite = { focus = GER_rebuild_the_high_seas_fleet_ww }

		x = 0
		y = 2
		relative_position_id = GER_rebuild_the_high_seas_fleet_ww

		cost = 10

		available = {
			is_subject = no
			if = {
				limit = {
					has_completed_focus = GER_franco_germanic_pact
				}
				NOT = { is_in_faction_with = ENG }
			}
			else = {
				NOT = { is_in_faction_with = ENG }
				NOT = { is_in_faction_with = FRA }
			}
		}

		will_lead_to_war_with = ENG
		will_lead_to_war_with = FRA
		will_lead_to_war_with = BEL
		will_lead_to_war_with = COG
		will_lead_to_war_with = CMR
		will_lead_to_war_with = TOG
		will_lead_to_war_with = NMB
		will_lead_to_war_with = SAF
		will_lead_to_war_with = TZN
		will_lead_to_war_with = RWA
		will_lead_to_war_with = BRD

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			
			IF = {
				limit = {
					ENG = {
						NOT = {
							has_completed_focus = ENG_decolonization
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = ENG
					expire = 0
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			IF = {
				limit = {
					NOT = {
						has_completed_focus = GER_revive_the_kaiserreich_ww
					}
				}
				custom_effect_tooltip = GER_break_anglo_french_colonial_hegemony_ww_tt
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			IF = {
				limit = {
					NOT = {
						has_completed_focus = GER_franco_germanic_pact
					}
				}
				create_wargoal = {
					type = annex_everything
					target = FRA
					expire = 0
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			
			if = {
				limit = {
					BEL = {
						OR = {
							owns_state = 768
							owns_state = 769
						}
					}
				}
				create_wargoal = {
					type = take_state_focus
					target = BEL
					expire = 0
					generator = { 768 769 }
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			else_if = {
				limit = {
					COG = {
						OR = {
							owns_state = 768
							owns_state = 769
						}
					}
				}
				create_wargoal = {
					type = take_state_focus
					target = COG
					expire = 0
					generator = { 768 769 }
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			if = {
				limit = {
					NOT = {
						SAF = {
							is_subject_of = ENG
						}
					}
				}
				create_wargoal = {
					type = take_state_focus
					target = SAF
					expire = 0
					generator = { 541 }
				}
			}
			if = {
				limit = {
					country_exists = NMB
				}
				create_wargoal = {
					type = take_state_focus
					target = NMB
					expire = 0
					generator = { 541 }
				}
			}
			if = {
				limit = {
					country_exists = CMR
				}
				create_wargoal = {
					type = take_state_focus
					target = CMR
					expire = 0
					generator = { 773 }
				}
			}
			if = {
				limit = {
					country_exists = TOG
				}
				create_wargoal = {
					type = take_state_focus
					target = TOG
					expire = 0
					generator = { 777 }
				}
			}
			if = {
				limit = {
					country_exists = TZN
				}
				create_wargoal = {
					type = take_state_focus
					target = TZN
					expire = 0
					generator = { 549 }
				}
			}
			if = {
				limit = {
					country_exists = RWA
				}
				create_wargoal = {
					type = take_state_focus
					target = RWA
					expire = 0
					generator = { 768 }
				}
			}
			if = {
				limit = {
					country_exists = BRD
				}
				create_wargoal = {
					type = take_state_focus
					target = BRD
					expire = 0
					generator = { 769 }
				}
			}
			add_state_claim = 1096
			add_state_claim = 725
			add_state_claim = 726
			add_state_claim = 773
			add_state_claim = 541
			add_state_claim = 546
			add_state_claim = 737
			add_state_claim = 1138
			add_state_claim = 684
			add_state_claim = 633
			add_state_claim = 646
			add_state_claim = 647
			add_state_claim = 726
			add_state_claim = 777
			add_state_claim = 768
			add_state_claim = 769
		}
	}

	focus = {
		id = GER_asian_allies
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = GER_break_anglo_french_colonial_hegemony_ww }

		x = 1
		y = 1
		relative_position_id = GER_break_anglo_french_colonial_hegemony_ww
		cost = 5
		available = {
			is_subject = no
			is_faction_leader = yes
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {

			custom_effect_tooltip = GER_asian_allies_faction_tt
			every_other_country = {
				limit = {
					OR = {
						# East and Central Asian countries that Germany doesn't lay claim to
						original_tag = SIA
						original_tag = VIN
						original_tag = CAM
						original_tag = LAO
						original_tag = BRM
						original_tag = RAJ
						original_tag = PAK
						original_tag = BHU
						original_tag = NEP
						original_tag = TIB
						original_tag = BAN
						original_tag = AFG
						original_tag = PER
						original_tag = TMS
						original_tag = TAJ
						original_tag = BUK
						original_tag = KHI
						original_tag = UZB
						original_tag = KKP
						original_tag = KYR
						original_tag = KAZ
						original_tag = ALT
						original_tag = SIK
						original_tag = MON
						original_tag = TAN
						original_tag = BYA
						original_tag = KOR
					}
					exists = yes
					is_subject = no
					is_in_faction = no
					is_major = no
					OR = {
						has_government = neutrality
						has_government = democratic
					}
				}
				country_event = {
					id = wuw_GER_realpolitik.1
					hours = 6
					random_hours = 12
				}		
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_asian_allies_tt
		}
	}

	focus = {
		id = GER_our_place_in_the_sun_ww
		icon = GFX_focus_GER_our_place_in_the_sun
		prerequisite = { focus = GER_break_anglo_french_colonial_hegemony_ww }
		mutually_exclusive = { focus = GER_divide_and_conquer focus = GER_expand_pacific_holdings }
		x = 0
		y = 4
		relative_position_id = GER_break_anglo_french_colonial_hegemony_ww
		cost = 10
		available = {
			is_subject = no
		}

		dynamic = yes

		search_filters = { FOCUS_FILTER_ANNEXATION }
		will_lead_to_war_with = RAJ	#56
		will_lead_to_war_with = PAK	#56
		will_lead_to_war_with = BRM	#56
		will_lead_to_war_with = SIA	#56
		will_lead_to_war_with = AST	#56
		will_lead_to_war_with = NZL	#56
		will_lead_to_war_with = BRM	#56
		will_lead_to_war_with = SIA	#56
		will_lead_to_war_with = MAL	#56
		will_lead_to_war_with = INS	#56
		will_lead_to_war_with = BAN	#56
		will_lead_to_war_with = PNG	#56
		will_lead_to_war_with = SOL	#56
		will_lead_to_war_with = SRL	#56
		will_lead_to_war_with = MLD	#56
		will_lead_to_war_with = SAM	#56
		will_lead_to_war_with = FIJ	#56
		will_lead_to_war_with = GUM	#56
		will_lead_to_war_with = PHI	#56
		will_lead_to_war_with = HAW	#56
		will_lead_to_war_with = RAP	#56

		completion_reward = {

			every_state = {
				limit = {
					NOT = {
						OR = {
							is_claimed_by = ROOT
							is_core_of = ROOT
							is_owned_by = ROOT
						}
					}
					OR = {
						# Claimed Nations and Regions
						is_core_of = INS
						is_core_of = MAL
						is_core_of = RAJ
						is_core_of = PAK
						is_core_of = BAN
						is_core_of = BRM
						is_core_of = TAH
						is_core_of = AST
						is_core_of = NZL
						is_core_of = SAM
						is_core_of = PNG
						is_core_of = SIA
						is_core_of = VIN
						is_core_of = LAO
						is_core_of = CAM
						is_core_of = PHI
						is_core_of = GUM
						is_core_of = FSM
						is_core_of = HAW
						is_core_of = SOL
						is_core_of = FIJ
						is_core_of = RAP
						is_core_of = SRL
						is_core_of = MLD

						#Islands
						state = 712 # Cocos
						state = 711 # Christmas
						state = 710 # Diego Garcia
						state = 709 # Seychelles
						state = 707 # Mauritius
						state = 713 # Kerguelen
						state = 706 # Reunion
					}
				}
				add_claim_by = ROOT
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					RAJ = {
						exists = yes 
						NOT = {
							is_in_faction_with = ROOT
						}
						NOT = {
							OR = {
								has_idea = GER_german_trade_subject_ns
								has_idea = GER_german_trade_ns
							}
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = RAJ
					expire = 0
				}	
			}
			IF = {
				limit = {
					PAK = {
						exists = yes 
						NOT = {
							is_in_faction_with = ROOT
						}
						NOT = {
							OR = {
								has_idea = GER_german_trade_subject_ns
								has_idea = GER_german_trade_ns
							}
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = PAK
					expire = 0
				}	
			}
			IF = {
				limit = {
					BRM = {
						exists = yes 
						NOT = {
							is_in_faction_with = ROOT
						}
						NOT = {
							OR = {
								has_idea = GER_german_trade_subject_ns
								has_idea = GER_german_trade_ns
							}
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = BRM
					expire = 0
				}	
			}
			IF = {
				limit = {
					SIA = {
						exists = yes 
						NOT = {
							is_in_faction_with = ROOT
						}
						NOT = {
							OR = {
								has_idea = GER_german_trade_subject_ns
								has_idea = GER_german_trade_ns
							}
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = SIA
					expire = 0
				}	
			}
			IF = {
				limit = {
					AST = {
						exists = yes 
						NOT = {
							is_in_faction_with = ROOT
						}
						NOT = {
							OR = {
								has_idea = GER_german_trade_subject_ns
								has_idea = GER_german_trade_ns
							}
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = AST
					expire = 0
				}	
			}
			IF = {
				limit = {
					NZL = {
						exists = yes 
						NOT = {
							is_in_faction_with = ROOT
						}
						NOT = {
							OR = {
								has_idea = GER_german_trade_subject_ns
								has_idea = GER_german_trade_ns
							}
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = NZL
					expire = 0
				}	
			}
			IF = {
				limit = {
					MAL = {
						exists = yes 
						NOT = {
							is_in_faction_with = ROOT
						}
						NOT = {
							OR = {
								has_idea = GER_german_trade_subject_ns
								has_idea = GER_german_trade_ns
							}
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = MAL
					expire = 0
				}	
			}
			IF = {
				limit = {
					INS = {
						exists = yes 
						NOT = {
							is_in_faction_with = ROOT
						}
						NOT = {
							OR = {
								has_idea = GER_german_trade_subject_ns
								has_idea = GER_german_trade_ns
							}
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = INS
					expire = 0
				}	
			}
			IF = {
				limit = {
					BAN = {
						exists = yes 
						NOT = {
							is_in_faction_with = ROOT
						}
						NOT = {
							OR = {
								has_idea = GER_german_trade_subject_ns
								has_idea = GER_german_trade_ns
							}
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = BAN
					expire = 0
				}	
			}
			IF = {
				limit = {
					PNG = {
						exists = yes 
						NOT = {
							is_in_faction_with = ROOT
						}
						NOT = {
							OR = {
								has_idea = GER_german_trade_subject_ns
								has_idea = GER_german_trade_ns
							}
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = PNG
					expire = 0
				}	
			}
			IF = {
				limit = {
					SOL = {
						exists = yes 
						NOT = {
							is_in_faction_with = ROOT
						}
						NOT = {
							OR = {
								has_idea = GER_german_trade_subject_ns
								has_idea = GER_german_trade_ns
							}
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = SOL
					expire = 0
				}	
			}
			IF = {
				limit = {
					SRL = {
						exists = yes 
						NOT = {
							is_in_faction_with = ROOT
						}
						NOT = {
							OR = {
								has_idea = GER_german_trade_subject_ns
								has_idea = GER_german_trade_ns
							}
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = SRL
					expire = 0
				}	
			}
			IF = {
				limit = {
					MLD = {
						exists = yes 
						NOT = {
							is_in_faction_with = ROOT
						}
						NOT = {
							OR = {
								has_idea = GER_german_trade_subject_ns
								has_idea = GER_german_trade_ns
							}
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = MLD
					expire = 0
				}	
			}
			IF = {
				limit = {
					SAM = {
						exists = yes 
						NOT = {
							is_in_faction_with = ROOT
						}
						NOT = {
							OR = {
								has_idea = GER_german_trade_subject_ns
								has_idea = GER_german_trade_ns
							}
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = SAM
					expire = 0
				}	
			}
			IF = {
				limit = {
					FIJ = {
						exists = yes 
						NOT = {
							is_in_faction_with = ROOT
						}
						NOT = {
							OR = {
								has_idea = GER_german_trade_subject_ns
								has_idea = GER_german_trade_ns
							}
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = FIJ
					expire = 0
				}	
			}
			IF = {
				limit = {
					GUM = {
						exists = yes 
						NOT = {
							is_in_faction_with = ROOT
						}
						NOT = {
							OR = {
								has_idea = GER_german_trade_subject_ns
								has_idea = GER_german_trade_ns
							}
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = GUM
					expire = 0
				}	
			}
			IF = {
				limit = {
					PHI = {
						exists = yes 
						NOT = {
							is_in_faction_with = ROOT
						}
						NOT = {
							OR = {
								has_idea = GER_german_trade_subject_ns
								has_idea = GER_german_trade_ns
							}
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = PHI
					expire = 0
				}	
			}
			IF = {
				limit = {
					HAW = {
						exists = yes 
						NOT = {
							is_in_faction_with = ROOT
						}
						NOT = {
							OR = {
								has_idea = GER_german_trade_subject_ns
								has_idea = GER_german_trade_ns
							}
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = HAW
					expire = 0
				}	
			}
			IF = {
				limit = {
					RAP = {
						exists = yes 
						NOT = {
							is_in_faction_with = ROOT
						}
						NOT = {
							OR = {
								has_idea = GER_german_trade_subject_ns
								has_idea = GER_german_trade_ns
							}
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = RAP
					expire = 0
				}	
			}

		}
	}

	focus = {
		id = GER_expand_african_reach
		icon = GFX_focus_GER_schutztruppe
		prerequisite = { focus = GER_break_anglo_french_colonial_hegemony_ww }

		x = 2
		y = 2
		relative_position_id = GER_break_anglo_french_colonial_hegemony_ww

		cost = 5

		available = {
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			add_state_claim = 539
			add_state_claim = 772
			add_state_claim = 660
			add_state_claim = 774
			add_state_claim = 771
			add_state_claim = 770
			add_state_claim = 1097
			add_state_claim = 545
			add_state_claim = 901
			add_state_claim = 900
			add_state_claim = 902
			add_state_claim = 558
			add_state_claim = 776
			add_state_claim = 274
			add_state_claim = 548
		}
	}

	focus = {
		id = GER_african_allies
		icon = GFX_focus_generic_africa_liberation
		prerequisite = { focus = GER_expand_african_reach }

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

		available = {
			is_subject = no
			is_faction_leader = yes
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {

			custom_effect_tooltip = GER_african_allies_faction_tt
			every_other_country = {
				limit = {
					exists = yes
					is_subject = no
					is_in_faction = no
					OR = {
						has_government = neutrality
						has_government = democratic
					}
					capital_scope = {	
						is_on_continent = africa
					}
				}
				country_event = {
					id = wuw_GER_realpolitik.1
					hours = 6
					random_hours = 12
				}		
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_african_allies_tt
		}
	}

	focus = {
		id = GER_realize_mittelafrika
		icon = GFX_focus_GER_realize_mittelafrika
		prerequisite = { focus = GER_expand_african_reach }

		x = 0
		y = 2
		relative_position_id = GER_expand_african_reach
		cost = 10
		available = {
			is_subject = no
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		will_lead_to_war_with = FRA
		will_lead_to_war_with = ENG
		will_lead_to_war_with = SPR
		will_lead_to_war_with = POR
		will_lead_to_war_with = COG
		will_lead_to_war_with = BEL
		will_lead_to_war_with = SAF
		will_lead_to_war_with = ETH

		completion_reward = {

			add_named_threat = { threat = 5 name = GER_realize_mittelafrika }

			every_country = {
				limit = {
					NOT = {
						is_ally_with = ROOT
						is_guaranteed_by = ROOT
						has_war_with = ROOT
						has_a_german_trade_idea = yes
					}
					OR = {
						owns_state = 904
						owns_state = 547
						owns_state = 905
						owns_state = 903
						owns_state = 897
						owns_state = 896
						owns_state = 544
						owns_state = 891
						owns_state = 892
						owns_state = 540
						owns_state = 796
						owns_state = 295
						owns_state = 888
						owns_state = 889
						owns_state = 890
						owns_state = 718
						owns_state = 538
						owns_state = 708
						owns_state = 543
						owns_state = 542
						owns_state = 268
						owns_state = 297
						owns_state = 705
						owns_state = 781
						owns_state = 778
						owns_state = 779
						owns_state = 780
						owns_state = 700
						owns_state = 298
						owns_state = 296
					}
				}
				ROOT = {
					create_wargoal = {
						type = take_claimed_state
						target = PREV
					}	
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_realize_mittelafrika_tt

			hidden_effect = {
				add_state_claim = 904
				add_state_claim = 547
				add_state_claim = 905
				add_state_claim = 903
				add_state_claim = 897
				add_state_claim = 896
				add_state_claim = 544
				add_state_claim = 891
				add_state_claim = 892
				add_state_claim = 540
				add_state_claim = 796
				add_state_claim = 295
				add_state_claim = 888
				add_state_claim = 889
				add_state_claim = 890
				add_state_claim = 718
				add_state_claim = 538
			}

			add_state_claim = 708
			add_state_claim = 543
			add_state_claim = 542
			add_state_claim = 268
			add_state_claim = 297
			add_state_claim = 705
			add_state_claim = 781
			add_state_claim = 778
			add_state_claim = 779
			add_state_claim = 780
			add_state_claim = 700
			add_state_claim = 298
			add_state_claim = 296

		}
	}



	 #######  ##       ########      #######  ########  ########   #######   ######  ########    ##     ## #### ######## ##       ######## ########  
	##     ## ##       ##     ##    ##     ## ##     ## ##     ## ##     ## ##    ## ##          ##     ##  ##     ##    ##       ##       ##     ## 
	##     ## ##       ##     ##    ##     ## ##     ## ##     ## ##     ## ##       ##          ##     ##  ##     ##    ##       ##       ##     ## 
	##     ## ##       ##     ##    ##     ## ########  ########  ##     ##  ######  ######      #########  ##     ##    ##       ######   ########  
	##     ## ##       ##     ##    ##     ## ##        ##        ##     ##       ## ##          ##     ##  ##     ##    ##       ##       ##   ##   
	##     ## ##       ##     ##    ##     ## ##        ##        ##     ## ##    ## ##          ##     ##  ##     ##    ##       ##       ##    ##  
	 #######  ######## ########      #######  ##        ##         #######   ######  ########    ##     ## ####    ##    ######## ######## ##     ##
	#### THE OLD OPPOSE HITLER BRANCHES #### ~(>_<~) 

	focus = {
		id = GER_oppose_hitler
		icon = GFX_focus_ger_oppose_hitler

		allow_branch = {
			always = no
			NOT = {
				has_dlc = "Gotterdammerung" 
			} 

			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = GER_remilitarize_the_rhineland
				}
			}

		}

		available = {
			is_subject = no
			has_government = fascism
		}

		x = 34
		y = 0

		relative_position_id = GER_remilitarize_the_rhineland

		offset = {
			x = -42
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_oppose_hitler
			}
		}
		offset = {
			x = -8
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_reestablish_free_elections
			}
		}

		offset = {
			x = -1
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_revive_the_kaiserreich
			}
		}

		mutually_exclusive = { focus = GER_remilitarize_the_rhineland }

		cost = 10

		ai_will_do = {
			factor = 7
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {

			hidden_effect = { #offset from fascist reasons on 00_on_actions
				add_ai_strategy = {
				   type = alliance
				   id = POL
				   value = 2000
				}
				POL = {
					add_ai_strategy = {
					   type = alliance
					   id = GER
					   value = 2000
					}
				}
			}

			custom_effect_tooltip = GER_oppose_hitler_civil_war

			effect_tooltip = {
				GER_remove_mefo_bills = yes
			}

			42 = { set_demilitarized_zone = no } #RHINELAND
			51 = { set_demilitarized_zone = no } #MOSSELLAND
			922 = { set_demilitarized_zone = no } #FRANKFURT
			923 = { set_demilitarized_zone = no } #BADEN
			989 = { set_demilitarized_zone = no } #OSTRHINELAND
			1053 = { set_demilitarized_zone = no } #SAARLAND

			custom_effect_tooltip = generic_skip_one_line_tt

			add_political_power = 120
			add_named_threat = { threat = 5 name = GER_oppose_hitler }

			country_event = { id = wtt_germany.1 }

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

		}
	}

	focus = {
		id = GER_secure_the_new_state
		icon = GFX_focus_generic_support_the_left_right
		prerequisite = { focus = GER_oppose_hitler }
		available = {
			is_subject = no
			has_war = no
			NOT = {
				any_country_with_original_tag = {
					original_tag_to_check = GER
					has_government = fascism
				}
			}
		}
		x = 0
		y = 2
		relative_position_id = GER_oppose_hitler
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_stability = 0.1
			add_political_power = 120
			add_timed_idea = {
				idea = GER_clamp_down_on_fascism
				days = 720
			}
		}
	}

	focus = {
		id = GER_revive_the_kaiserreich
		icon = GFX_focus_ger_revive_kaiserreich
		prerequisite = { focus = GER_secure_the_new_state }
		mutually_exclusive = { focus = GER_reestablish_free_elections }
		bypass = {
			has_country_flag = GER_mackensen_dead
			NOT = { has_government = democratic }
		}

		allow_branch = {
			always = no
			NOT = { has_dlc = "Gotterdammerung" } 
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					OR = {
						has_completed_focus = GER_remilitarize_the_rhineland
						has_completed_focus = GER_reestablish_free_elections
						has_completed_focus = GER_die_letzte_verschwoerung
					}
				}
			}
		}

		offset = {
			x = 1
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_revive_the_kaiserreich
			}
		}

		available = {
			is_subject = no
		}
		x = -1
		y = 1
		relative_position_id = GER_secure_the_new_state
		cost = 10
		ai_will_do = {
			factor = 3
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_ideas = GER_revive_the_kaiserreich
			custom_effect_tooltip = GER_revive_the_kaiserreich_tt
			hidden_effect = { set_cosmetic_tag = GER_german_empire }
			set_party_name = { ideology = neutrality long_name = GER_neutrality_party_kaiserreich_long name = GER_neutrality_party_kaiserreich }
			set_rule = { can_send_volunteers = yes }
			add_named_threat = { threat = 5 name = GER_revive_the_kaiserreich }
			hidden_effect = {
				if = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
			}
		}
	}

	focus = {
		id = GER_rebuild_the_nation
		icon = GFX_goal_generic_construction2
		prerequisite = { focus = GER_revive_the_kaiserreich focus = GER_reestablish_free_elections }

		allow_branch = {
			always = no
			NOT = { has_dlc = "Gotterdammerung" }
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = GER_remilitarize_the_rhineland
				}
			}
		}

		available = {
		}
		x = 1
		y = 1
		relative_position_id = GER_revive_the_kaiserreich
		cost = 10
		ai_will_do = {
			factor = 9
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_timed_idea = { idea = GER_rebuild_the_nation days = 365 }
			add_ideas = GER_national_revitalization
		}
	}

	focus = {
		id = GER_fan_the_prussian_militarism
		icon = GFX_focus_generic_military_mission
		prerequisite = { focus = GER_rebuild_the_nation }
		available = {
		}
		x = -1
		y = 1
		relative_position_id = GER_rebuild_the_nation
		cost = 5
		ai_will_do = {
			factor = 8
		}
		search_filters = { FOCUS_FILTER_MANPOWER }
		completion_reward = {
			if = {
				limit = {
					NOT = {
						has_idea = GER_national_revitalization
						has_idea = GER_national_revitalization3
					}
				}
				effect_tooltip = {
					swap_ideas = {
						remove_idea = GER_national_revitalization
						add_idea = GER_national_revitalization2
					}
				}
			}
			if = {
				limit = {
					has_idea = GER_national_revitalization
				}
				swap_ideas = {
					remove_idea =GER_national_revitalization
					add_idea = GER_national_revitalization2
				}
			}
			if = {
				limit = {
					has_idea = GER_national_revitalization3
				}
				swap_ideas = {
					remove_idea = GER_national_revitalization3
					add_idea = GER_national_revitalization4
				}
			}
		}
	}

	focus = {
		id = GER_a_new_and_better_germany
		icon = GFX_goal_generic_construction
		prerequisite = { focus = GER_rebuild_the_nation }
		available = {
		}
		x = 1
		y = 1
		relative_position_id = GER_rebuild_the_nation
		cost = 5
		ai_will_do = {
			factor = 8
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			if = {
				limit = {
					NOT = {
						has_idea = GER_national_revitalization
						has_idea = GER_national_revitalization2
					}
				}
				effect_tooltip = {
					swap_ideas = {
						remove_idea = GER_national_revitalization
						add_idea = GER_national_revitalization3
					}
				}
			}
			if = {
				limit = {
					has_idea = GER_national_revitalization
				}
				swap_ideas = {
					remove_idea = GER_national_revitalization
					add_idea = GER_national_revitalization3
				}
			}
			if = {
				limit = {
					has_idea = GER_national_revitalization2
				}
				swap_ideas = {
					remove_idea = GER_national_revitalization2
					add_idea = GER_national_revitalization4
				}
			}
		}
	}

	focus = {
		id = GER_bulwark_against_bolshevism
		icon = GFX_focus_ger_bulwark_against_bolshevism
		prerequisite = { focus = GER_fan_the_prussian_militarism }
		prerequisite = { focus = GER_a_new_and_better_germany }
		available = {
			is_subject = no
		}
		x = 1
		y = 1
		relative_position_id = GER_fan_the_prussian_militarism
		cost = 10
		ai_will_do = {
			factor = 5
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = GER_bulwark_against_bolshevism
			custom_effect_tooltip = GER_bulwark_against_bolshevism_tt
			SOV = { 
				add_opinion_modifier = { target = GER modifier = embargo } 
			}
		}
	}

	focus = {
		id = GER_return_of_the_kaiser
		icon = GFX_focus_ger_return_of_the_kaiser
		prerequisite = { focus = GER_revive_the_kaiserreich }
		available = {
			is_subject = no
			neutrality > 0.4
			has_country_leader = { ruling_only = yes character = GER_august_von_mackensen }
			HOL = {
				exists = yes
				NOT = { has_war_with = ROOT }
			}
		}
		bypass = {
			has_country_flag = GER_mackensen_dead
			NOT = { has_government = democratic }
		}
		x = -2
		y = 1
		relative_position_id = GER_revive_the_kaiserreich
		cost = 5
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {
			add_named_threat = { threat = 5 name = GER_return_of_the_kaiser }
			HOL = {
				country_event = { 
					id = wtt_germany.3 
					hours = 6
				}
			}
		}
	}

	focus = {
		id = GER_focus_on_the_true_enemy
		icon = GFX_goal_generic_occupy_states_coastal
		prerequisite = { focus = GER_return_of_the_kaiser }
		#prerequisite = { focus = GER_naval_effort }
		mutually_exclusive = { focus = GER_expatriate_the_communists }
		available = {
			is_subject = no
		}
		x = -6
		y = 1
		relative_position_id = GER_return_of_the_kaiser
		cost = 10
		ai_will_do = {
			factor = 3
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			add_war_support = 0.05
			add_named_threat = { threat = 5 name = GER_focus_on_the_true_enemy }
			swap_ideas = {
				remove_idea = GER_revive_the_kaiserreich
				add_idea = GER_revive_the_kaiserreich2
			}
		}
	}

	focus = {
		id = GER_rebuild_the_high_seas_fleet
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = GER_focus_on_the_true_enemy }
		mutually_exclusive = { focus = GER_accept_british_naval_dominance }
		#mutually_exclusive = { focus = GER_plan_z focus = GER_u_boat_effort focus = GER_accept_british_naval_dominance }
		available = {
			is_subject = no
		}
		x = 0
		y = 2
		relative_position_id = GER_focus_on_the_true_enemy
		cost = 10
		ai_will_do = {
			factor = 1
		}
		complete_tooltip = {
			navy_experience = 50
			every_state = {
				limit = { has_state_flag = GER_rebuild_the_high_seas_fleet_dockyards }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = bc_bonus
				bonus = 1.0
				uses = 1
				category = bc_tech
			}
			add_tech_bonus = {
				name = bb_bonus
				bonus = 1.0
				uses = 1
				category = bb_tech
				category = shbb_tech
			}
			add_ideas = GER_rebuild_the_high_seas_fleet
		}
		
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }
		completion_reward = {
			navy_experience = 50
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					free_building_slots = {
						building = dockyard
						size > 2
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_rebuild_the_high_seas_fleet_dockyards
			}
			add_tech_bonus = {
				name = bc_bonus
				bonus = 1.0
				uses = 1
				category = bc_tech
			}
			add_tech_bonus = {
				name = bb_bonus
				bonus = 1.0
				uses = 1
				category = bb_tech
				category = shbb_tech
			}
			add_ideas = GER_rebuild_the_high_seas_fleet
		}
	}

	focus = {
		id = GER_our_place_in_the_sun
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = GER_rebuild_the_high_seas_fleet }
		available = {
			is_subject = no
		}
		x = 0
		y = 1
		relative_position_id = GER_rebuild_the_high_seas_fleet
		cost = 5
		ai_will_do = {
			factor = 1
		}
		dynamic = yes
		search_filters = { FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			add_war_support = 0.05
			ENG = {
				add_opinion_modifier = {
					target = ROOT
					modifier = GER_our_place_in_the_sun
				}
			}
			FRA = {
				add_opinion_modifier = {
					target = ROOT
					modifier = GER_our_place_in_the_sun
				}
			}
			add_named_threat = { threat = 5 name = GER_our_place_in_the_sun }
			if = {
				limit = {
					743 = { is_controlled_by = event_target:WTT_current_china_leader }
					NOT = {
						has_war_with = event_target:WTT_current_china_leader
					}
				}
				event_target:WTT_current_china_leader = { country_event = { id = wtt_germany.38 days = 1 } }
			}
			if = {
				limit = {
					743 = { is_controlled_by = JAP }
					NOT = {
						has_war_with = JAP
					}
				}
				JAP = { country_event = { id = wtt_germany.43 days = 1 } }
			}
		}
	}

	focus = {
		id = GER_pride_of_the_modern_germany
		icon = GFX_goal_generic_navy_battleship
		prerequisite = { focus = GER_our_place_in_the_sun }
		available = {
			is_subject = no
		}
		x = 0
		y = 1
		relative_position_id = GER_our_place_in_the_sun
		cost = 10
		ai_will_do = {
			factor = 9
		}
		
		complete_tooltip = {
			navy_experience = 50
			every_state = {
				limit = { has_state_flag = GER_rebuild_the_high_seas_fleet_dockyards }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = GER_pride_of_the_modern_germany
				bonus = 1.0
				ahead_reduction = 2
				uses = 1
				category = bc_tech
				category = bb_tech
				category = shbb_tech
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }
		completion_reward = {
			navy_experience = 50
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					free_building_slots = {
						building = dockyard
						size > 2
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_pride_of_the_modern_germany_dockyards
			}
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					free_building_slots = {
						building = dockyard
						size > 2
						include_locked = yes
					}
					NOT = { has_state_flag = GER_pride_of_the_modern_germany_dockyards }
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_pride_of_the_modern_germany_dockyards
			}
			add_tech_bonus = {
				name = GER_pride_of_the_modern_germany
				bonus = 1.0
				ahead_reduction = 2
				uses = 1
				category = bc_tech
				category = bb_tech
				category = shbb_tech
			}
		}
	}

	focus = {
		id = GER_prepare_for_the_next_blockade
		icon = GFX_goal_generic_consumer_goods
		prerequisite = { focus = GER_our_place_in_the_sun }
		available = {
			is_subject = no
		}
		x = -1
		y = 2
		relative_position_id = GER_our_place_in_the_sun
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_stability = 0.05
			add_ideas = GER_prepare_for_the_next_blockade
		}
	}

	focus = {
		id = GER_break_the_anglo_french_colonial_hegemony
		icon = GFX_focus_ger_break_anglo_french_colonial_hegemony
		prerequisite = { focus = GER_prepare_for_the_next_blockade }
		available = {
			is_subject = no
			NOT = { is_ally_with = ENG }
			NOT = { is_ally_with = FRA }
			NOT = { ENG = { has_completed_focus = ENG_decolonization } }
		}
		cancel_if_invalid = yes
		will_lead_to_war_with = ENG
		will_lead_to_war_with = FRA
		will_lead_to_war_with = BEL	#56
		will_lead_to_war_with = SAF	#56
		will_lead_to_war_with = NMB	#56
		will_lead_to_war_with = CMR	#56
		will_lead_to_war_with = TOG	#56
		will_lead_to_war_with = TZN	#56
		will_lead_to_war_with = RWA	#56
		will_lead_to_war_with = BRD	#56
		x = 0
		y = 1
		relative_position_id = GER_prepare_for_the_next_blockade
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = ENG
				expire = 0
			}
			create_wargoal = {
				type = annex_everything
				target = FRA
				expire = 0
			}
			if = {
				limit = {
					BEL = {
						OR = {
							owns_state = 768
							owns_state = 769
						}
					}
				}
				create_wargoal = {
					type = take_state_focus
					target = BEL
					expire = 0
					generator = { 768 769 }
				}
			}
			if = {
				limit = {
					NOT = {
						SAF = {
							is_subject_of = ENG
						}
					}
				}
				create_wargoal = {
					type = take_state_focus
					target = SAF
					expire = 0
					generator = { 541 }
				}
			}
			if = {
				limit = {
					country_exists = NMB
				}
				create_wargoal = {
					type = take_state_focus
					target = NMB
					expire = 0
					generator = { 541 }
				}
			}
			if = {
				limit = {
					country_exists = CMR
				}
				create_wargoal = {
					type = take_state_focus
					target = CMR
					expire = 0
					generator = { 773 }
				}
			}
			if = {
				limit = {
					country_exists = TOG
				}
				create_wargoal = {
					type = take_state_focus
					target = TOG
					expire = 0
					generator = { 777 }
				}
			}
			if = {
				limit = {
					country_exists = TZN
				}
				create_wargoal = {
					type = take_state_focus
					target = TZN
					expire = 0
					generator = { 549 }
				}
			}
			if = {
				limit = {
					country_exists = RWA
				}
				create_wargoal = {
					type = take_state_focus
					target = RWA
					expire = 0
					generator = { 768 }
				}
			}
			if = {
				limit = {
					country_exists = BRD
				}
				create_wargoal = {
					type = take_state_focus
					target = BRD
					expire = 0
					generator = { 769 }
				}
			}
			add_state_claim = 1096
			add_state_claim = 725
			add_state_claim = 726
			add_state_claim = 773
			add_state_claim = 541
			add_state_claim = 546
			add_state_claim = 737
			add_state_claim = 1138
			add_state_claim = 684
			add_state_claim = 633
			add_state_claim = 646
			add_state_claim = 647
			add_state_claim = 726
			add_state_claim = 777
			add_state_claim = 768
			add_state_claim = 769
		}
	}

	focus = {
		id = GER_schlieffen_once_more # Schlieffen 2.0!
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = GER_break_the_anglo_french_colonial_hegemony }
		available = {
			is_subject = no
			OR = {
				has_war_with = FRA
				AND = {
					has_war_with = ENG
					has_global_flag = flag_franco_british_union
				}
			}
			NOT = { is_ally_with = BEL }
			NOT = { is_ally_with = LUX }
		}
		bypass = {
			NOT = { country_exists = BEL }
			NOT = { country_exists = LUX }
		}
		cancel_if_invalid = yes
		will_lead_to_war_with = BEL
		will_lead_to_war_with = LUX
		will_lead_to_war_with = WLL	#56
		will_lead_to_war_with = FLA	#56
		x = 0
		y = 1
		relative_position_id = GER_break_the_anglo_french_colonial_hegemony
		cost = 4
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = BEL
				expire = 0
			}
			create_wargoal = {
				type = annex_everything
				target = LUX
				expire = 0
			}
			if = {	#56 - Since they are possible lowlands tags, releasing them could theoretically cheese a German AI
				limit = {
					WLL = {
						exists = yes
						NOT = { 
							is_ally_with = ROOT
							has_war_with = ROOT
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = WLL
					expire = 0
				}
			}
			if = {	#56 - Since they are possible lowlands tags, releasing them could theoretically cheese a German AI
				limit = {
					FLA = {
						exists = yes
						NOT = { 
							is_ally_with = ROOT
							has_war_with = ROOT
						}
					}
				}
				create_wargoal = {
					type = annex_everything
					target = FLA
					expire = 0
				}
			}
		}
	}

	focus = {
		id = GER_the_central_powers
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = GER_our_place_in_the_sun }
		available = {
			is_subject = no
		}
		bypass = {
			is_in_faction = yes
		}
		x = 1
		y = 2
		relative_position_id = GER_our_place_in_the_sun
		cost = 5
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {
			set_rule = { can_create_factions = yes }
			if = {
				limit = {
					is_in_faction = no
				}
				create_faction_from_template = {
					template = faction_template_GER_mitteleuropa_alliance
					name = GER_central_powers_faction
					icon = GFX_faction_logo_generic_13
				}
			}

			if = {
				limit = {
					ITA = { 
						is_subject = no
						is_in_faction = no
						has_government = neutrality
						NOT = { has_war_with = GER }
					}					
				}
				ITA = { country_event = { id = generic.5 } }
			}
			if = {
				limit = {
					HUN = { 
						is_subject = no
						is_in_faction = no
						has_government = neutrality
						NOT = { has_war_with = GER }
					}					
					NOT = { country_exists = AUS }
				}
				HUN = { country_event = { id = generic.5 } }
			}
			if = {
				limit = {
					AUS = { 
						exists = yes
						is_subject = no
						is_in_faction = no
						has_government = neutrality
						NOT = { has_war_with = GER }
					}		
					NOT = { country_exists = HUN }			
				}
				AUS = { country_event = { id = generic.5 } }
			}
			if = {
                limit = {
                    BUL = { 
                        exists = yes
                        is_subject = no
                        is_in_faction = no
                        has_government = neutrality
                        NOT = { has_war_with = GER }
                    }
                }
                BUL = { country_event = { id = generic.5 } }
            }
		}
	}

	focus = {
		id = GER_prepare_italian_coup
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = GER_the_central_powers }
		available = {
			is_subject = no
			NOT = { has_war_with = ITA }
			ITA = {
				has_government = fascism
			}
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_the_central_powers
		cost = 10
		ai_will_do = {
			factor = 10
		}

		select_effect = {
			ITA = {
				country_event = {
				    id = wtt_germany.1006
				    days = 1
				    random = 2
				}
			}
		}
		
		completion_reward = {
			ITA = {
				country_event = { id = wtt_germany.8 }
			}
			custom_effect_tooltip = GER_prepare_italian_coup_tt
			effect_tooltip = {
				ITA = {
					add_timed_idea = { idea = GER_preparing_ITA_coup days = 1095 }
				}
			}
		}
	}

	focus = {
		id = GER_assassinate_mussolini
		icon = GFX_focus_ger_assassinate_mussolini
		prerequisite = { focus = GER_prepare_italian_coup }
		available = {
			is_subject = no
			NOT = { has_war_with = ITA }
			ITA = { has_country_leader = { ruling_only = yes character = ITA_benito_mussolini } }
			NOT = {	ITA = {	has_completed_focus = ITA_banda_carita } }
			custom_trigger_tooltip = {
				tooltip = GER_italy_declined_assassination_tt
				NOT = {
					has_country_flag = GER_italy_declined_assassination_of_mussolini_flag
				}
			}
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_prepare_italian_coup
		cost = 10
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {
			ITA = {
				country_event = { id = wtt_germany.11 }
			}
			effect_tooltip = {
				ITA = {
					set_politics = { ruling_party = neutrality elections_allowed = no }
					add_popularity = { ideology = neutrality popularity = 0.1 }
					effect_tooltip = {
						create_country_leader = {
							name = "Vittorio Emanuele III"
							desc = "POLITICS_VITTORIO_EMANUELE_III_DESC"
							picture = "GFX_portrait_italy_vittorio_emanuele_iii"
							expire = "1965.1.1"
							ideology = despotism
							traits = {
								the_soldier_king
							}
						}
					}
					swap_ideas = {
						remove_idea = GER_preparing_ITA_coup
						add_idea = GER_preparing_ITA_coup2
					}
					GER = {
						add_to_faction = ITA
						country_event = { id = wtt_germany.12 }
					}
				}
			}
		}
	}

	focus = {
		id = GER_rekindle_imperial_sentiment
		icon = GFX_focus_proclaim_the_restauration_of_Austria_Hungary
		prerequisite = { focus = GER_the_central_powers }
		available = {
			is_subject = no
			NOT = { has_war_with = AUS }
			NOT = { has_war_with = HUN }
			NOT = { has_war_with = CZE }
		}
		bypass = {
			HUN = {
				is_in_faction_with = ROOT
				has_completed_focus = HUN_proclaim_the_restoration_of_austria_hungary
			}
		}
		cancel_if_invalid = yes
		x = 2
		y = 1
		relative_position_id = GER_the_central_powers
		cost = 10
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {
			if = {
				limit = {
					AUS = { exists = yes }
				}
				AUS = {
					add_timed_idea = { idea = GER_rekindle_imperial_sentiment days = 1095 }
				}
			}
			if = {
				limit = {
					HUN = { exists = yes }
				}
				HUN = {
					add_timed_idea = { idea = GER_rekindle_imperial_sentiment days = 1095 }
				}
			}
			if = {
				limit = {
					CZE = { exists = yes }
				}
				CZE = {
					add_timed_idea = { idea = GER_rekindle_imperial_sentiment days = 1095 }
				}
			}
			custom_effect_tooltip = GER_rekindle_imperial_sentiment_tt
		}
	}

	focus = {
		id = GER_expatriate_the_communists
		icon = GFX_goal_anti_comintern_pact
		prerequisite = { focus = GER_return_of_the_kaiser }
		mutually_exclusive = { focus = GER_focus_on_the_true_enemy }
		available = {
			is_subject = no
			NOT = { has_war_with = FRA }
		}
		cancel_if_invalid = yes
		x = -2
		y = 1
		relative_position_id = GER_return_of_the_kaiser
		cost = 10
		ai_will_do = {
			factor = 0.5
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			add_war_support = 0.05
			add_timed_idea = {
				idea = GER_expatriate_the_communists
				days = 720
			}
			add_named_threat = { threat = 5 name = GER_expatriate_the_communists }
			FRA = { 
				add_timed_idea = {
					idea = GER_communist_refugees
					days = 720
				}
				country_event = { id = wtt_germany.17 }
			}
			hidden_effect = {
				if = {
					limit = {
						NOT = { has_dlc = "La Resistance" }
						AND = {
							has_global_flag = spanish_civil_war
							NOT = { has_global_flag = scw_over }
						}
					}
					random_other_country = {
						limit = {
							original_tag = SPR
							has_government = communism
						}
						country_event = { id = wtt_germany.2 days = 1 }
					}
				}
				if = {
					limit = {
						has_dlc = "La Resistance"
						AND = {
							has_global_flag = spanish_civil_war
							NOT = { has_global_flag = scw_over }
						}
					}
					SPD = {
						country_event = { id = wtt_germany.2 days = 1 }
					}
				}
			}
		}
	}

	focus = {
		id = GER_accept_british_naval_dominance
		icon = GFX_focus_ger_accept_british_naval_dominance
		prerequisite = { focus = GER_expatriate_the_communists }
		mutually_exclusive = { focus = GER_rebuild_the_high_seas_fleet }
		#mutually_exclusive = { focus = GER_plan_z focus = GER_u_boat_effort focus = GER_rebuild_the_high_seas_fleet }
		available = {
			is_subject = no
			NOT = { has_war_with = ENG }
		}
		cancel_if_invalid = yes
		x = 0
		y = 2
		relative_position_id = GER_expatriate_the_communists
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			ENG = {
				add_opinion_modifier = {
					target = ROOT
					modifier = GER_accept_british_naval_dominance_opinion
				}
			}
			add_ideas = GER_redirecting_naval_production
		}
	}

	focus = {
		id = GER_ally_the_shade
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = GER_accept_british_naval_dominance }
		available = {
			is_subject = no
			NOT = { has_war_with = ENG }
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_accept_british_naval_dominance
		cost = 10
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {
			ENG = {
				country_event = { 
					id = generic.2 
					hours = 2
				}
				add_ai_strategy = {
					type = befriend
					id = GER			
					value = 1000
				}
				add_ai_strategy = {
					type = alliance
					id = GER			
					value = 200
				}	
			}
		}
	}

	focus = {
		id = GER_carte_blanche_for_alsace_and_french_colonies
		icon = GFX_goal_generic_territory_or_war
		prerequisite = { focus = GER_ally_the_shade }
		will_lead_to_war_with = FRA
		available = {
			is_subject = no
			FRA = { has_government = communism }
			NOT = { is_in_faction_with = FRA }
		}
		cancel_if_invalid = yes
		x = 0
		y = 2
		relative_position_id = GER_ally_the_shade
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = FRA
				expire = 0
			}
			add_state_claim = 28
			add_state_claim = 773
			add_state_claim = 777
		}
	}

	focus = {
		id = GER_bypass_maginot_in_the_south
		icon = GFX_focus_attack_switzerland
		prerequisite = { focus = GER_carte_blanche_for_alsace_and_french_colonies }
		available = {
			is_subject = no
			has_war_with = FRA
			NOT = { is_in_faction_with = SWI }
		}
		bypass = {
			NOT = { country_exists = SWI }
		}
		cancel_if_invalid = yes
		will_lead_to_war_with = SWI
		x = 0
		y = 2
		relative_position_id = GER_carte_blanche_for_alsace_and_french_colonies
		cost = 4
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = SWI
				expire = 0
			}
		}
	}

	focus = {
		id = GER_reinstate_imperial_possessions
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = GER_schlieffen_once_more focus = GER_bypass_maginot_in_the_south }
		available = {
			is_subject = no
			has_full_control_of_state = 28
			OR = {
				FRA = { has_capitulated = yes }
				FRA = { is_subject_of = GER }
				NOT = {
					any_country_with_original_tag = {
						original_tag_to_check = FRA
						exists = yes
					}
				}
				owns_state = 28
			}
		}
		bypass = {
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_schlieffen_once_more
		cost = 10
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {
			add_state_core = 28
			if = {
				limit = {
					NOT = { owns_state = 28 }
				}
				transfer_state = 28
			}
			28 = { set_state_name = "Elsass-Lothringen" }
			set_province_name = { id = 9503 name = "Strassburg" }
			set_province_name = { id = 678 name = "Mulhausen" }
			if = {
				limit = {
					FRA = {
						exists = yes
					}	
				}
				FRA = {
					country_event = { id = wtt_germany.63 }
				}
			}
		}
	}

	focus = {
		id = GER_see_to_the_eastern_front
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = GER_return_of_the_kaiser }
		available = { 
			is_subject = no
			has_full_control_of_state = 5
		}

		bypass = {
			any_country = {
				owns_state = 188
				is_in_faction_with = GER
			}	
		}
		
		cancel_if_invalid = yes
		x = 0
		y = 2
		relative_position_id = GER_return_of_the_kaiser
		cost = 10
		ai_will_do = {
			factor = 5
		}


		completion_reward = {
			188 = { add_claim_by = GER }
			add_named_threat = { threat = 4 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
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 5
				}
				5 = {
					custom_effect_tooltip = GER_see_to_the_eastern_front_tt
					hidden_effect = {
						add_building_construction = {
							type = bunker
							level = 2
							province = 9327
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 11386
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 9372
							instant_build = yes
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 763
				}
				763 = {
					custom_effect_tooltip = GER_see_to_the_eastern_front_tt2
					hidden_effect = {
						add_building_construction = {
							type = bunker
							level = 2
							province = 11265
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 348
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 281
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 3384
							instant_build = yes
						}
					}
				}
			}
		}
	}

	focus = {
		id = GER_danzig_for_guarantees
		icon = GFX_focus_POL_clamp_down_on_danzig
		prerequisite = { focus = GER_see_to_the_eastern_front }
		prerequisite = { focus = GER_bulwark_against_bolshevism }
		available = { 
			is_subject = no
			NOT = { has_war_with = POL }
			NOT = { is_in_faction_with = POL }
			POL = { has_civil_war = no }
		}
		bypass = {
			OR = {
				AND = {
					POL = { has_war = yes }
					POL = { has_civil_war = no }
					NOT = { has_war_with = POL }
				}
				AND = {
					POL = { is_subject = yes }
					NOT = { POL = { is_subject_of = GER } }
				}
				POL = { exists = no }
				AND = {
					owns_state = 85
					owns_state = 86
					owns_state = 762
					owns_state = 807
				}
			}
		}
		cancel_if_invalid = yes
		x = 2
		y = 2
		relative_position_id = GER_see_to_the_eastern_front
		cost = 10
		ai_will_do = {
			factor = 5
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			POL = { country_event = { id = wtt_germany.14 } }
		}
	}

	focus = {
		id = GER_safeguard_the_baltic
		icon = GFX_goal_generic_defence
		prerequisite = { focus = GER_see_to_the_eastern_front }
		available = {
			is_subject = no
			NOT = { has_war_with = EST }
			NOT = { has_war_with = LAT }
			NOT = { has_war_with = LIT }
		}
		bypass = {
			OR = {
				has_guaranteed = EST
				NOT = { country_exists = EST }
				AND = {
					EST = { has_war = yes }
					NOT = { has_war_with = EST }
				}
				AND = {
					EST = { is_subject = yes }
					NOT = { EST = { is_subject_of = GER } }
				}
			}
			OR = {
				has_guaranteed = LAT
				NOT = { country_exists = LAT }
				AND = {
					LAT = { has_war = yes }
					NOT = { has_war_with = LAT }
				}
				AND = {
					LAT = { is_subject = yes }
					NOT = { LAT = { is_subject_of = GER } }
				}
			}
			OR = {
				has_guaranteed = LIT
				NOT = { country_exists = LIT }
				AND = {
					LIT = { has_war = yes }
					NOT = { has_war_with = LIT }
				}
				AND = {
					LIT = { is_subject = yes }
					NOT = { LIT = { is_subject_of = GER } }
				}
			}
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_see_to_the_eastern_front
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {
			if = {
				limit = { country_exists = EST }
				EST = {	
					add_timed_idea = {
						idea = GER_safeguard_the_baltic
						days = 720
					}
					add_ai_strategy = {
						type = befriend
						id = "GER"			
						value = 200
					}
					add_ai_strategy = {
						type = alliance
						id = "GER"			
						value = 200
					}
				}

				if = { 
					limit = { NOT = { is_subject_of = ROOT } }
					give_guarantee = EST
				}
			}
			if = {
				limit = { country_exists = LAT }
				LAT = {
					add_timed_idea = {
						idea = GER_safeguard_the_baltic
						days = 720
					}
					add_ai_strategy = {
						type = befriend
						id = "GER"			
						value = 200
					}
					add_ai_strategy = {
						type = alliance
						id = "GER"			
						value = 200
					}
				}

				if = { 
					limit = { NOT = { is_subject_of = ROOT } }
					give_guarantee = LAT
				}
			}
			if = {
				limit = { country_exists = LIT }
				LIT = {
					add_timed_idea = {
						idea = GER_safeguard_the_baltic
						days = 720
					}
					add_ai_strategy = {
						type = befriend
						id = "GER"			
						value = 200
					}
					add_ai_strategy = {
						type = alliance
						id = "GER"			
						value = 200
					}
				}

				if = { 
					limit = { NOT = { is_subject_of = ROOT } }
					give_guarantee = LIT
				}
			}
		}
	}

	focus = {
		id = GER_support_the_finns
		icon = GFX_focus_FIN_a_cry_for_help_2
		prerequisite = { focus = GER_safeguard_the_baltic }
		
		available = {
			is_subject = no
			NOT = { has_war_with = FIN }
			FIN = {
				NOT = { has_government = communism }
				OR = {
					is_ally_with = GER
					is_in_faction = no
				}
			}
		}

		bypass = {
			OR = {
				FIN = { exists = no }
				FIN = { has_government = communism }
				AND = {
					FIN = { is_subject = yes }
					NOT = { FIN = { is_subject_of = GER } }
				}
				AND = { #Using AND for tooltip purposes only
					FIN = { is_in_faction = yes }
					FIN = { NOT = { is_in_faction_with = GER } }
				}
			}
		}

		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_safeguard_the_baltic
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {
			if = {
				limit = {
					FIN = {
						has_war = no
					}
				}
				diplomatic_relation = {
					country = FIN
					relation = guarantee
					active = yes
				}
			}
			add_ai_strategy = {
				type = support
				id = "FIN"			
				value = 200
			}
			FIN = {
				add_timed_idea = {
					idea = GER_FIN_industrial_support
					days = 730
				}
				add_ai_strategy = {
					type = befriend
					id = "GER"			
					value = 200
				}
				add_ai_strategy = {
					type = alliance
					id = "GER"			
					value = 200
				}
			}
		}
	}

	focus = {
		id = GER_anti_comintern_pact_unaligned
		icon = GFX_goal_anti_comintern_pact
		prerequisite = { focus = GER_support_the_finns }
		prerequisite = { focus = GER_danzig_for_guarantees }
		x = 1
		y = 1
		relative_position_id = GER_support_the_finns
		cost = 10
		available = {
			is_subject = no
			NOT = { has_government = communism }
			NOT = { is_in_faction_with = SOV }
		}
		bypass = {
			SOV = {
				NOT = {
					has_government = communism
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			SOV = { add_opinion_modifier = { target = ROOT modifier = pact_against_us } }
			add_named_threat = { threat = 2 name = GER_anti_comintern_pact_unaligned }
			every_other_country = {
				limit = {
					NOT = { tag = GER }
					NOT = { has_war_with = GER }
					NOT = { is_in_faction_with = SOV }
					is_subject = no
					OR = {
						capital_scope = {
								is_on_continent = europe
						}
						AND = {
							capital_scope = {
									is_on_continent = asia
							}
							is_neighbor_of = SOV
						}
						num_of_factories > 30
					}
					OR = {
						has_government = neutrality 
						AND = {
							is_neighbor_of = SOV
							NOT = { has_government = communism }
						}
					}
				}
				country_event = germany.5
			}
		}
	}

	focus = {
		id = GER_anti_soviet_pact_unaligned
		icon = GFX_goal_anti_comintern_pact
		prerequisite = { focus = GER_anti_comintern_pact_unaligned }
		available = {
			is_subject = no
			has_army_manpower = { size > 849999 } #ca 90 div
		}
		bypass = {
			SOV = {
				NOT = {
					has_government = communism
				}
			}
		}
		x = 0
		y = 1
		relative_position_id = GER_anti_comintern_pact_unaligned
		cost = 10
		ai_will_do = {
			factor = 2.5	
		}
		completion_reward = {
			hidden_effect = {
				SOV = { remove_opinion_modifier = { target = ROOT modifier = pact_against_us } }
				add_ideas = anti_soviet_pact
			}
			SOV = { add_opinion_modifier = { target = ROOT modifier = worse_pact_against_us } }
			custom_effect_tooltip = GER_anti_soviet_pact_tt_3
			custom_effect_tooltip = GER_anti_soviet_pact_tt
			custom_effect_tooltip = GER_anti_soviet_pact_tt_2
			every_other_country = {
				limit = {
					has_opinion_modifier = anti_comintern_pact_opinion
					is_subject = no
					NOT = { tag = GER }
					NOT = { has_war_with = GER }
					NOT = { has_idea = anti_soviet_pact }
				}
				country_event = germany.83
			}
			hidden_effect = {
				news_event = { id = wtt_news.20 hours = 6 }
			}
		}
	}

	focus = {
		id = GER_tackle_the_communist_threat
		icon = GFX_goal_generic_war_with_comintern
		prerequisite = { focus = GER_anti_soviet_pact_unaligned focus = GER_carte_blanche_for_alsace_and_french_colonies }
		available = {
			is_subject = no
			SOV = {
				has_government = communism
				has_war = yes
			}
			NOT = { is_in_faction_with = SOV }
		}
		bypass = {
			OR = {
				has_war_with = SOV
				NOT = { country_exists = SOV }
			}
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_anti_soviet_pact_unaligned
		cost = 10
		ai_will_do = {
			factor = 1
		}
		will_lead_to_war_with = SOV	#56
		
		completion_reward = {
			if = {
				limit = {
					NOT = { is_in_faction = yes }
				}
				create_faction_from_template = {
					template = faction_template_anti_communist
					name = GER_anti_communist_bloc
					icon = GFX_faction_logo_generic_10
				}
			}
			create_wargoal = {
				type = annex_everything
				target = SOV
				expire = 0
			}
		}
	}

	focus = {
		id = GER_the_iberian_problem
		icon = GFX_focus_generic_attack_communist_spain
		prerequisite = { focus = GER_tackle_the_communist_threat }
		available = {
			is_subject = no
			any_country = {
				original_tag = SPR
				has_government = communism
				NOT = { has_war_with = ROOT }
			}
		}
		x = 0
		y = 1
		relative_position_id = GER_tackle_the_communist_threat
		cost = 10
		ai_will_do = {
			factor = 1
		}
		will_lead_to_war_with = SPR	#56
		will_lead_to_war_with = SPD	#56
		will_lead_to_war_with = SPC	#56
		
		completion_reward = {
			custom_effect_tooltip = GER_spain_wargoal_tt
			hidden_effect = {
				random_other_country = {
					limit = {
						original_tag = SPR
						has_government = communism
					}
					GER = {
						create_wargoal = {
							type = annex_everything
							target = PREV
							expire = 0
						}
					}
				}
			}
		}
	}

	focus = {
		id = GER_reestablish_free_elections
		icon = GFX_goal_support_democracy
		prerequisite = { focus = GER_secure_the_new_state }
		mutually_exclusive = { focus = GER_revive_the_kaiserreich }
	
		allow_branch = {
			always = no
			NOT = { has_dlc = "Gotterdammerung" } 
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					OR = {
						has_completed_focus = GER_remilitarize_the_rhineland
						has_completed_focus = GER_revive_the_kaiserreich
						has_completed_focus = GER_die_letzte_verschwoerung
					}
				}
			}
		}

		offset = {
			x = -1
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_reestablish_free_elections
			}
		}
	
		available = {
			is_subject = no
		}
		cancel_if_invalid = yes
		x = 1
		y = 1
		relative_position_id = GER_secure_the_new_state
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_timed_idea = {
				idea = GER_reestablish_free_elections
				days = 720
			}
			set_party_name = { ideology = neutrality long_name = GER_neutrality_party_kaiserreich_long name = GER_neutrality_party_kaiserreich }
			hidden_effect = {
				if = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
			}
		}
	}

	focus = {
		id = GER_the_monarchy_compromise
		icon = GFX_goal_tfv_strengthen_commonwealth_ties
		prerequisite = { focus = GER_reestablish_free_elections }
		available = {
			is_subject = no
			democratic > 0.4
		}
		cancel_if_invalid = yes
		x = 2
		y = 1
		relative_position_id = GER_reestablish_free_elections
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_popularity = { ideology = democratic popularity = 0.1 }
			set_politics = { ruling_party = democratic elections_allowed = yes }
			add_ideas = { GER_wilhelm_iii }
			add_stability = 0.05
			hidden_effect = {
				set_cosmetic_tag = GER_german_monarchy
			}
		}
	}

	focus = {
		id = GER_the_great_red_menace
		icon = GFX_focus_ger_great_red_menace
		prerequisite = { focus = GER_the_monarchy_compromise }
		available = {
			is_subject = no
			has_war = no
			SOV = { 
				NOT = {
					has_government = democratic 
				}
			}
			has_added_tension_amount < 15
		}
		cancel_if_invalid = yes
		x = 0
		y = 2
		relative_position_id = GER_the_monarchy_compromise
		cost = 10
		ai_will_do = {
			factor = 8
		}
		
		completion_reward = {
			add_named_threat = { threat = 10 name = GER_the_great_red_menace }
			SOV = { country_event = { id = wtt_germany.19 days = 1 } }
			hidden_effect = { news_event = { id = wtt_news.21 hours = 6 } }
			every_other_country = {
				limit = {
					any_owned_state = { is_on_continent = europe }
					NOT = {
						tag = ENG
						tag = FRA
						tag = SWI
						tag = ITA
						tag = IRE
						tag = TUR
						tag = ALB
						original_tag = SPR
						tag = POR
						tag = GRE
						has_government = communism
						has_government = fascism
					}
				}
				country_event = { id = wtt_germany.24 }
				add_timed_idea = { idea = GER_the_great_red_menace days = 1095 }
				add_ai_strategy = {
					type = befriend
					id = "GER"			
					value = 200
				}
				add_ai_strategy = {
					type = befriend
					id = "ENG"			
					value = -200
				}
			}
			SOV = { 
				add_opinion_modifier = { target = GER modifier = embargo } 
			}
		}
	}

	focus = {
		id = GER_central_european_alliance
		icon = GFX_goal_generic_national_unity
		prerequisite = { focus = GER_the_great_red_menace }
		prerequisite = { focus = GER_bulwark_against_bolshevism }
		available = {
			is_subject = no
			has_war = no
		}

		bypass = {
			is_faction_leader = yes
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_the_great_red_menace
		cost = 10
		ai_will_do = {
			factor = 5
		}
		
		completion_reward = {
			custom_effect_tooltip = GER_central_european_alliance_tt
			effect_tooltip = {
				create_faction_from_template = {
					template = faction_template_GER_mitteleuropa_alliance
					name = GER_central_european_alliance
					icon = GFX_faction_logo_generic_2
				}
			}
			hidden_effect = {
				if = {
					limit = {
						is_in_faction = no
					}
					create_faction_from_template = {
						template = faction_template_GER_mitteleuropa_alliance
						name = GER_central_european_alliance
						icon = GFX_faction_logo_generic_2
					}
				}
			}
			every_country = {
				limit = {
					has_idea = GER_the_great_red_menace
					has_idea = neutrality_idea
				}
				remove_ideas = neutrality_idea
			}
			SOV = { country_event = { id = wtt_germany.20 days = 1 } }
			hidden_effect = {
				news_event = { id = wtt_news.22 hours = 6 }
				if = {
					limit = {
						FRA = { has_government = communism }
					}
					random_other_country = {
						limit = {
							original_tag = SPR
							has_government = communism
						}
						add_ai_strategy = {
							type = befriend
							id = "FRA"			
							value = 200
						}
						add_ai_strategy = {
							type = alliance
							id = "FRA"			
							value = 200
						}
					}
				}
				if = {
					limit = {
						SOV = { has_government = communism }
					}
					random_other_country = {
						limit = {
							original_tag = SPR
							has_government = communism
							NOT = { has_completed_focus = SPR_hinder_nkvd_interference }
						}
						add_ai_strategy = {
							type = befriend
							id = "SOV"			
							value = 200
						}
						add_ai_strategy = {
							type = alliance
							id = "SOV"			
							value = 200
						}
					}
				}
				if = {
					limit = {
						FRA = { has_government = fascism }
					}
					random_other_country = {
						limit = {
							original_tag = SPR
							has_government = fascism
						}
						add_ai_strategy = {
							type = befriend
							id = "FRA"			
							value = 200
						}
						add_ai_strategy = {
							type = alliance
							id = "FRA"			
							value = 200
						}
					}
				}
				if = {
					limit = {
						SOV = { has_government = fascism } #futureproofing
					}
					random_other_country = {
						limit = {
							original_tag = SPR
							has_government = fascism
						}
						add_ai_strategy = {
							type = befriend
							id = "SOV"			
							value = 200
						}
						add_ai_strategy = {
							type = alliance
							id = "SOV"			
							value = 200
						}
					}
				}
				# Making England less likely to guarantee European nations.
				ENG = {
					GER_democratic_nations_ai_strategies = yes
				}
			}
		}
	}

	focus = {
		id = GER_danubian_membership
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = GER_central_european_alliance }
		available = {
			is_subject = no
			is_faction_leader = yes
			NOT = { has_war_with = AUS }
			NOT = { has_war_with = CZE }
			NOT = { has_war_with = HUN }
		}
		bypass = {
			OR = {
				NOT = { country_exists = AUS }
				AUS = { is_subject = yes }
				is_in_faction_with = AUS
			}
			OR = {
				NOT = { country_exists = CZE }
				CZE = { is_subject = yes }
				is_in_faction_with = HUN
			}
			OR = {
				NOT = { country_exists = HUN }
				HUN = { is_subject = yes }
				is_in_faction_with = HUN
			}

		}
		cancel_if_invalid = yes
		x = -2
		y = 1
		relative_position_id = GER_central_european_alliance
		cost = 10
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {
			custom_effect_tooltip = invite_non_fascist_communist_only_TT
			if = {
				limit = {
					AUS = {
						NOT = {
							has_government = communism
							has_government = fascism
						}
						exists = yes
						is_subject = no
					}
					
				}
				AUS = {
					country_event = { id = generic.5 }
				}
			}
			if = {
				limit = {
					CZE = {
						NOT = {
							has_government = communism
							has_government = fascism
						}
						exists = yes
						is_subject = no
					}					
				}
				CZE = {
					country_event = { id = generic.5 }
				}
			}
			if = {
				limit = {
					HUN = {
						NOT = {
							has_government = communism
							has_government = fascism
						}
						exists = yes
						is_subject = no
					}
					
				}
				HUN = {
					country_event = { id = generic.5 }
				}
			}
		}
	}

	focus = {
		id = GER_danubian_expansion
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = GER_danubian_membership }
		available = {
			is_subject = no
			is_faction_leader = yes
			NOT = { has_war_with = YUG }
			NOT = { has_war_with = ROM }
		}
		bypass = {
			OR = {
				NOT = { country_exists = YUG }
				YUG = { is_subject = yes }
				is_in_faction_with = YUG
			}
			OR = {
				NOT = { country_exists = ROM }
				ROM = { is_subject = yes }
				is_in_faction_with = ROM
			}
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_danubian_membership
		cost = 10
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {
			custom_effect_tooltip = invite_non_fascist_communist_only_TT
			if = {
				limit = {
					YUG = {
						NOT = {
							has_government = communism
							has_government = fascism
						}
						is_in_faction = no
						exists = yes
						is_subject = no
					}
				}
				YUG = {
					country_event = { id = generic.5 }
				}
			}
			if = {
				limit = {
					ROM = {
						NOT = {
							has_government = communism
							has_government = fascism
						}
						is_in_faction = no
						exists = yes
						is_subject = no
					}
				}
				ROM = {
					country_event = { id = generic.5 }
				}
			}
		}
	}

	focus = {
		id = GER_no_balkan_communism
		icon = GFX_goal_anti_comintern_pact
		prerequisite = { focus = GER_danubian_expansion }
		available = {
			is_subject = no
			OR = {
				any_country_with_original_tag = {
					original_tag_to_check = HUN
					has_government = communism 
				}
				any_country_with_original_tag = {
					original_tag_to_check = ROM
					has_government = communism 
				}
				any_country_with_original_tag = {
					original_tag_to_check = YUG
					has_government = communism 
				}
				any_country_with_original_tag = {
					original_tag_to_check = BUL
					has_government = communism 
				}
			}
		}
		x = 0
		y = 1
		relative_position_id = GER_danubian_expansion
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {
			custom_effect_tooltip = GER_no_balkan_communism_tt
			if = {
				limit = {
					any_country_with_original_tag = {
						original_tag_to_check = HUN
						has_government = communism 
					}
				}
				custom_effect_tooltip = GER_no_balkan_communism_HUN_tt
				hidden_effect = {
					random_other_country = {
						limit = {
							original_tag = HUN
							has_government = communism
						}
						GER = {
							create_wargoal = {
								type = topple_government
								target = PREV
								expire = 0
							}
						}
					}
				}
			}
			if = {
				limit = {
					any_country_with_original_tag = {
						original_tag_to_check = ROM
						has_government = communism 
					}
				}
				custom_effect_tooltip = GER_no_balkan_communism_ROM_tt
				hidden_effect = {
					random_other_country = {
						limit = {
							original_tag = ROM
							has_government = communism
						}
						GER = {
							create_wargoal = {
								type = topple_government
								target = PREV
								expire = 0
							}
						}
					}
				}
			}
			if = {
				limit = {
					any_country_with_original_tag = {
						original_tag_to_check = YUG
						has_government = communism 
					}
				}
				custom_effect_tooltip = GER_no_balkan_communism_YUG_tt
				hidden_effect = {
					random_other_country = {
						limit = {
							original_tag = YUG
							has_government = communism
						}
						GER = {
							create_wargoal = {
								type = topple_government
								target = PREV
								expire = 0
							}
						}
					}
				}
			}
			if = {
				limit = {
					any_country_with_original_tag = {
						original_tag_to_check = BUL
						has_government = communism 
					}
				}
				custom_effect_tooltip = GER_no_balkan_communism_BUL_tt
				hidden_effect = {
					random_other_country = {
						limit = {
							original_tag = BUL
							has_government = communism
						}
						GER = {
							create_wargoal = {
								type = topple_government
								target = PREV
								expire = 0
							}
						}
					}
				}
			}
		}
	}

	focus = {
		id = GER_low_countries_membership
		icon = GFX_focus_generic_influence_benelux
		prerequisite = { focus = GER_central_european_alliance }
		available = {
			is_subject = no
			is_faction_leader = yes
			NOT = { has_war_with = HOL }
			NOT = { has_war_with = BEL }
			NOT = { has_war_with = LUX }
		}
		bypass = {
			OR = {
				NOT = { country_exists = HOL }
				HOL = { is_subject = yes }
				is_in_faction_with = HOL
			}
			OR = {
				NOT = { country_exists = BEL }
				BEL = { is_subject = yes }
				is_in_faction_with = BEL
			}
			OR = {
				NOT = { country_exists = LUX }
				LUX = { is_subject = yes }
				is_in_faction_with = LUX
			}
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_central_european_alliance
		cost = 10
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {
			custom_effect_tooltip = invite_non_fascist_communist_only_TT
			if = {
				limit = {
					HOL = {
						NOT = {
							has_government = communism
							has_government = fascism
						}
						is_subject = no
					}
				}
				HOL = {
					country_event = { id = generic.5 }
				}
			}
			if = {
				limit = {
					BEL = {
						NOT = {
							has_government = communism
							has_government = fascism
						}
						is_subject = no
					}
				}
				BEL = {
					country_event = { id = generic.5 }
				}
			}
			if = {
				limit = {
					LUX = {
						NOT = {
							has_government = communism
							has_government = fascism
						}
						is_subject = no
					}
				}
				LUX = {
					country_event = { id = generic.5 }
				}
			}
		}
	}

	focus = {
		id = GER_no_reds_in_western_europe
		icon = GFX_goal_anti_comintern_pact
		prerequisite = { focus = GER_low_countries_membership }
		available = {
			is_subject = no
			OR = {
				any_country_with_original_tag = {
					original_tag_to_check = FRA
					has_government = communism 
				}
				any_country_with_original_tag = {
					original_tag_to_check = HOL
					has_government = communism 
				}
				any_country_with_original_tag = {
					original_tag_to_check = BEL
					has_government = communism 
				}
				any_country_with_original_tag = {
					original_tag_to_check = LUX
					has_government = communism 
				}
			}
		}
		x = 0
		y = 1
		relative_position_id = GER_low_countries_membership
		cost = 10
		ai_will_do = {
			factor = 1
		}
		will_lead_to_war_with = FRA	#56
		will_lead_to_war_with = HOL	#56
		will_lead_to_war_with = BEL	#56
		will_lead_to_war_with = LUX	#56
		
		completion_reward = {
			custom_effect_tooltip = GER_no_reds_in_western_europe_tt
			if = {
				limit = {
					any_country_with_original_tag = {
						original_tag_to_check = FRA
						has_government = communism 
					}
				}
				custom_effect_tooltip = GER_no_reds_in_western_europe_FRA_tt
				hidden_effect = {
					random_other_country = {
						limit = {
							original_tag = FRA
							has_government = communism
						}
						GER = {
							create_wargoal = {
								type = topple_government
								target = PREV
								expire = 0
							}
						}
					}
				}
			}
			if = {
				limit = {
					any_country_with_original_tag = {
						original_tag_to_check = HOL
						has_government = communism 
					}
				}
				custom_effect_tooltip = GER_no_reds_in_western_europe_HOL_tt
				hidden_effect = {
					random_other_country = {
						limit = {
							original_tag = HOL
							has_government = communism
						}
						GER = {
							create_wargoal = {
								type = topple_government
								target = PREV
								expire = 0
							}
						}
					}
				}
			}
			if = {
				limit = {
					any_country_with_original_tag = {
						original_tag_to_check = BEL
						has_government = communism 
					}
				}
				custom_effect_tooltip = GER_no_reds_in_western_europe_BEL_tt
				hidden_effect = {
					random_other_country = {
						limit = {
							original_tag = BEL
							has_government = communism
						}
						GER = {
							create_wargoal = {
								type = topple_government
								target = PREV
								expire = 0
							}
						}
					}
				}
			}
			if = {
				limit = {
					any_country_with_original_tag = {
						original_tag_to_check = LUX
						has_government = communism 
					}
				}
				custom_effect_tooltip = GER_no_reds_in_western_europe_LUX_tt
				hidden_effect = {
					random_other_country = {
						limit = {
							original_tag = LUX
							has_government = communism
						}
						GER = {
							create_wargoal = {
								type = topple_government
								target = PREV
								expire = 0
							}
						}
					}
				}
			}
		}
	}

	focus = {
		id = GER_scandinavian_membership
		icon = GFX_focus_generic_scandinavia_flags
		prerequisite = { focus = GER_central_european_alliance }
		available = {
			is_subject = no
			is_faction_leader = yes
			NOT = { has_war_with = NOR }
			NOT = { has_war_with = SWE }
			NOT = { has_war_with = DEN }
		}
		bypass = {
			OR = {
				NOT = { country_exists = NOR }
				NOR = { is_subject = yes }
				is_in_faction_with = NOR
			}
			OR = {
				NOT = { country_exists = SWE }
				SWE = { is_subject = yes }
				is_in_faction_with = SWE
			}
			OR = {
				NOT = { country_exists = DEN }
				DEN = { is_subject = yes }
				is_in_faction_with = DEN
			}
		}
		cancel_if_invalid = yes
		x = 3
		y = 1
		relative_position_id = GER_central_european_alliance
		cost = 10
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {
			custom_effect_tooltip = invite_non_fascist_communist_only_TT
			if = {
				limit = {
					NOR = {
						NOT = {
							has_government = communism
							has_government = fascism
						}
						is_subject = no
					}
				}
				NOR = {
					country_event = { id = generic.5 }
				}
			}
			if = {
				limit = {
					SWE = {
						NOT = {
							has_government = communism
							has_government = fascism
						}
						is_subject = no
					}
				}
				SWE = {
					country_event = { id = generic.5 }
				}
			}
			if = {
				limit = {
					DEN = {
						NOT = {
							has_government = communism
							has_government = fascism
						}
						is_subject = no
					}
				}
				DEN = {
					country_event = { id = generic.5 }
				}
			}
		}
	}

	focus = {
		id = GER_baltic_membership
		icon = GFX_focus_generic_baltic_entente
		prerequisite = { focus = GER_scandinavian_membership }
		available = {
			is_subject = no
			is_faction_leader = yes
			NOT = { has_war_with = EST }
			NOT = { has_war_with = LAT }
			NOT = { has_war_with = LIT }
			SOV = {
				OR = {
					NOT = { has_war_with = EST }
					NOT = { has_war_with = LAT }
					NOT = { has_war_with = LIT }
				}
			}
		}
		bypass = {
			EST = {
				OR = {
					is_in_faction_with = ROOT
					is_in_faction_with = SOV
					exists = no
					has_war_with = SOV
					is_subject = yes
				}
			}
			LAT = {
				OR = {
					is_in_faction_with = ROOT
					is_in_faction_with = SOV
					exists = no
					has_war_with = SOV
					is_subject = yes
				}
			}
			LIT = {
				OR = {
					is_in_faction_with = ROOT
					is_in_faction_with = SOV
					exists = no
					has_war_with = SOV
					is_subject = yes
				}
			}
		}
		cancel_if_invalid = yes
		x = -2
		y = 2
		relative_position_id = GER_scandinavian_membership
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {
			add_named_threat = { threat = 5 name = GER_baltic_membership }
			custom_effect_tooltip = invite_non_fascist_communist_only_TT
			if = {
				limit = {
					EST = {
						NOT = {
							has_government = communism
							has_government = fascism
						}
						is_subject = no
					}
				}
				EST = {
					country_event = { id = generic.5 }
					add_ai_strategy = {
						type = alliance
						id = "GER"			
						value = 200
					}	
				}
			}
			if = {
				limit = {
					LAT = {
						NOT = {
							has_government = communism
							has_government = fascism
						}
						is_subject = no
					}
				}
				LAT = {
					country_event = { id = generic.5 }
					add_ai_strategy = {
						type = alliance
						id = "GER"			
						value = 200
					}	
				}
			}
			if = {
				limit = {
					LIT = {
						NOT = {
							has_government = communism
							has_government = fascism
						}
						is_subject = no
					}
				}
				LIT = {
					country_event = { id = generic.5 }
					add_ai_strategy = {
						type = alliance
						id = "GER"			
						value = 200
					}	
				}
			}
			SOV = { country_event = { id = wtt_germany.21 } }
			POL = {
				add_ai_strategy = {
					type = alliance
					id = "ENG"			
					value = -500
				}	
			}
			FIN = {
				add_ai_strategy = {
					type = alliance
					id = "ENG"			
					value = -500
				}	
			}
		}
	}

	focus = {
		id = GER_polish_membership
		icon = GFX_focus_generic_polish_deal
		prerequisite = { focus = GER_scandinavian_membership }
		available = {
			is_subject = no
			is_faction_leader = yes
			NOT = { has_war_with = POL }
			SOV = { NOT = { has_war_with = POL } }
		}
		bypass = {
			OR = {
				is_in_faction_with = POL
				NOT = { country_exists = POL }
				POL = { is_subject = yes }
				SOV = { 
					OR = {
						is_in_faction_with = POL
						has_war_with = POL
					}
				}
			}
		}
		cancel_if_invalid = yes
		x = 0
		y = 2
		relative_position_id = GER_scandinavian_membership
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {
			add_named_threat = { threat = 5 name = GER_polish_membership }
			custom_effect_tooltip = invite_non_fascist_communist_only_TT
			if = {
				limit = {
					POL = {
						NOT = {
							has_government = communism
							has_government = fascism
						}
						is_subject = no
					}
				}
				POL = {
					country_event = { id = generic.5 }
					add_ai_strategy = {
						type = alliance
						id = "GER"			
						value = 200
					}	
				}
			}
			SOV = { country_event = { id = wtt_germany.22 } }
			EST = {
				add_ai_strategy = {
					type = alliance
					id = "ENG"			
					value = -500
				}	
			}
			LAT = {
				add_ai_strategy = {
					type = alliance
					id = "ENG"			
					value = -500
				}	
			}
			LIT = {
				add_ai_strategy = {
					type = alliance
					id = "ENG"			
					value = -500
				}	
			}
			FIN = {
				add_ai_strategy = {
					type = alliance
					id = "ENG"			
					value = -500
				}	
			}
		}
	}

	focus = {
		id = GER_finnish_membership
		icon = GFX_focus_invite_finland
		prerequisite = { focus = GER_scandinavian_membership }
		available = {
			is_subject = no
			is_faction_leader = yes
			NOT = { has_war_with = FIN }
			SOV = { NOT = { has_war_with = FIN } }
		}
		bypass = {
			OR = {
				is_in_faction_with = FIN
				NOT = { country_exists = FIN }
				is_subject = yes
				SOV = { 
					OR = { 
						is_in_faction_with = FIN
						has_war_with = FIN
					}
				}
			}
		}
		cancel_if_invalid = yes
		x = 2
		y = 2
		relative_position_id = GER_scandinavian_membership
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {
			add_named_threat = { threat = 5 name = GER_finnish_membership }
			custom_effect_tooltip = invite_non_fascist_communist_only_TT
			if = {
				limit = {
					FIN = {
						NOT = {
							has_government = communism
							has_government = fascism
						}
						is_subject = no
					}
				}
				FIN = {
					country_event = { id = generic.5 }
					add_ai_strategy = {
						type = alliance
						id = "GER"			
						value = 200
					}	
				}
			}
			SOV = { country_event = { id = wtt_germany.23 } }
			EST = {
				add_ai_strategy = {
					type = alliance
					id = "ENG"			
					value = -500
				}	
			}
			LAT = {
				add_ai_strategy = {
					type = alliance
					id = "ENG"			
					value = -500
				}	
			}
			LIT = {
				add_ai_strategy = {
					type = alliance
					id = "ENG"			
					value = -500
				}	
			}
			POL = {
				add_ai_strategy = {
					type = alliance
					id = "ENG"			
					value = -500
				}	
			}
		}
	}

	focus = {
		id = GER_strike_at_the_source
		icon = GFX_focus_ger_strike_at_the_source
		prerequisite = { focus = GER_baltic_membership }
		prerequisite = { focus = GER_polish_membership }
		prerequisite = { focus = GER_finnish_membership }
		available = {
			is_subject = no
			SOV = {
				has_government = communism
			}
			NOT = { is_in_faction_with = SOV }
		}
		bypass = {
			OR = {
				has_war_with = SOV
				NOT = { country_exists = SOV }
			}
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_polish_membership
		cost = 10
		ai_will_do = {
			factor = 1
		}
		will_lead_to_war_with = SOV	#56
		
		completion_reward = {
			create_wargoal = {
				type = topple_government
				target = SOV
				expire = 0
			}
			if = {
				limit = {
					FRA = { has_government = communism }
				}
				add_ai_strategy = {
					type = antagonize
					id = GER
					value = 200
				}
			}
		}
	}

	focus = {
		id = GER_reverse_the_brain_drain
		icon = GFX_focus_research
		prerequisite = { focus = GER_the_monarchy_compromise }
		available = {
			is_subject = no
		}
		x = 2
		y = 1
		relative_position_id = GER_the_monarchy_compromise
		cost = 10
		ai_will_do = {
			factor = 5
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = GER_shared_rd_programs
		icon = GFX_goal_tfv_generic_tech_sharing
		prerequisite = { focus = GER_reverse_the_brain_drain }
		prerequisite = { focus = GER_central_european_alliance }
		available = {
			is_subject = no
		}
		x = 7
		y = 1
		relative_position_id = GER_central_european_alliance
		cost = 5
		ai_will_do = {
			factor = 3
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_to_tech_sharing_group = ger_dem_research
			every_other_country = {
				limit = { is_in_faction_with = GER }
				add_to_tech_sharing_group = ger_dem_research 
			}
		}
	}

	focus = {
		id = GER_the_mannheim_project
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = GER_shared_rd_programs }
		prerequisite = { focus = GER_scandinavian_membership }
		available = {
			is_subject = no
			is_in_faction_with = NOR
		}
		x = -1
		y = 1
		relative_position_id = GER_shared_rd_programs
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			custom_effect_tooltip = GER_the_mannheim_project_tt
			if = {
				limit = {
					NOT = { has_tech = atomic_research }
				}
				add_tech_bonus = {
					name = GER_the_mannheim_project
					bonus = 1.0
					ahead_reduction = 2
					technology = atomic_research
				}
			}
			else_if = {
				limit = {
					NOT = { is_special_project_completed = sp:sp_nuclear_reactor }
				}
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.75
				}
			}
			else_if = {
				limit = {
					has_tech = nuclear_reactor
				}
				random_owned_controlled_state = {
					limit = {
						nuclear_reactor < 1
					}

					prioritize = { 55 }
					add_building_construction = {
						type = nuclear_reactor
						level = 1
						instant_build = yes
					}
				}
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.5
				}
			}
			else = {
				random_owned_controlled_state = {
					limit = {
						nuclear_reactor_heavy_water < 1
					}

					prioritize = { 55 }
					add_building_construction = {
						type = nuclear_reactor_heavy_water
						level = 1
						instant_build = yes
					}
				}
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.5
				}
			}			
		}
	}

	focus = {
		id = GER_pool_technical_know_how
		icon = GFX_goal_generic_production
		prerequisite = { focus = GER_shared_rd_programs }
		available = {
			is_subject = no
		}
		x = 1
		y = 1
		relative_position_id = GER_shared_rd_programs
		cost = 10
		ai_will_do = {
			factor = 3
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = GER_pool_technical_know_how
			custom_effect_tooltip = GER_pool_technical_know_how_tt
			hidden_effect = {
				every_other_country = {
					limit = { is_in_faction_with = GER }
					add_ideas = GER_pool_technical_know_how
				}
			}
		}
	}
### NEW GERMAN CONTET R56
	focus = {
		id = GER_die_letzte_verschwoerung
		icon = GFX_focus_generic_whispers 
		cost = 5


		x = 131
		y = 0

		offset = {
			trigger = { has_completed_focus = GER_die_letzte_verschwoerung }
			x = -46
		}
		offset = {
			x = -8
			trigger = {
				has_completed_focus = GER_shake_off_the_fascist_yoke
			}
		}
		offset = {
			x = -5
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				OR = {
					has_completed_focus = GER_the_abwehrs_germany
					has_completed_focus = GER_a_martial_state
				}
			}

		}
		offset = {
			x = -13
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_found_the_german_interim_government
			}

		}
		offset = {
			x = -2
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_offer_goerdeler_reconciliation
			}

		}
		offset = {
			x = -21
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_found_the_new_german_state
			}

		}
		mutually_exclusive = {
			focus = GER_remilitarize_the_rhineland
		}
		allow_branch = {
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		select_effect = {
			country_event = {
				id = new_ger.154
				days = 3
			}
		}
		available = {
		}
		ai_will_do = {
			factor = 8
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
		completion_reward = {
			add_stability = -0.15
			GER_carl_friedrich_goerdeler = {
				add_country_leader_role = {
					promote_leader = yes
					country_leader = {
						ideology = despotism
						expire = 1965.1.1
						traits = { economist GER_mayor_of_leipzig desperate_gambit } 
					}
				}
			}
			set_variable = { GER_civil_war_size = 1}
			set_variable = { NRAF_seats = 25 }
			set_variable = { DNVP_seats = 60 }
			set_variable = { DVP_seats = 15 }
			set_variable = { DSTP_seats = 20 }
			set_variable = { Zentrum_seats = 65 }
			set_variable = { SPD_seats = 70 }
			set_variable = { KPD_seats = 25 }
			set_variable = { GER_mil_inf = 7 }
			set_variable = { GER_mil_opinion = 10}
			add_political_power = 50
			custom_effect_tooltip = GER_goerdeler_takeover_tt
			custom_effect_tooltip = GER_walkure_warning_tt
			unlock_decision_category_tooltip = GER_operation_valkyre_category
			mark_focus_tree_layout_dirty = yes
			hidden_effect = {
				country_event = {
					id = new_ger.155
					days = 5
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_STABILITY}

	}
	focus = {
		id = GER_international_brigades
		icon = GFX_focus_generic_spur_communist_revolutions
		cost = 4
		prerequisite = {
			focus = GER_die_letzte_verschwoerung
		}
		relative_position_id = GER_die_letzte_verschwoerung
		x = -11
		y = 1
		ai_will_do = {
			factor = 10
		}
		offset = {
			x = 9
			trigger = {
				has_completed_focus = GER_shake_off_the_fascist_yoke
			}
		}
		offset = {
			x = 13
			trigger = {
				OR = {
					has_completed_focus = GER_found_the_new_german_state
					has_completed_focus = GER_found_the_german_interim_government
				}
			}
		}
		available = { has_civil_war = yes has_idea = GER_communist_refugees }
		completion_reward = {
			add_ideas = GER_international_brigades_idea
			custom_effect_tooltip = generic_skip_one_line_tt
			add_to_variable = { SPD_seats = 5}
			custom_effect_tooltip = GER_SPD_5_tt
			add_to_variable = {KPD_seats = 5}
			custom_effect_tooltip = GER_KPD_5_tt
			add_to_variable = { GER_mil_inf = -1}
			custom_effect_tooltip = GER_mil_inf-1_tt
		}
		search_filters = {
			FOCUS_FILTER_MANPOWER FOCUS_FILTER_ARMY_XP FOCUS_FILTER_POLITICAL
		}
	}
	focus = {
		id = GER_clamp_down_on_the_ruhr
		icon = GFX_focus_GER_legacy_of_the_spartacus_league
		cost = 3
		prerequisite = {
			focus = GER_die_letzte_verschwoerung
		}
		relative_position_id = GER_die_letzte_verschwoerung
		allow_branch = {
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_found_the_german_interim_government }
				NOT = { has_completed_focus = GER_found_the_new_german_state }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		x = -9
		y = 1
		offset = {
			x = 9
			trigger = {
				has_completed_focus = GER_shake_off_the_fascist_yoke
			}
		}
		ai_will_do = {
			factor = 10
		}
		available = {
			NOT = { 
				has_completed_focus = GER_found_the_german_interim_government
			}
			NOT = { has_completed_focus = GER_found_the_new_german_state}
			has_civil_war = yes
			OR = {
				controls_state = 989
				controls_state = 57
			}
			has_country_flag = GER_comintern_kpd_funding_flag
		}
		completion_reward = {
			set_variable = { GER_kpd_civil_war_size = 20 }
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_rev_20_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			989 = {
				set_state_flag = GER_state_kpd_controlled
			}
			57 = {
				set_state_flag = GER_state_kpd_controlled
			}
			custom_effect_tooltip = GER_kpd_inital_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_clamp_down_on_the_ruhr_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = GER_kpd_secure_state
			unlock_decision_tooltip = GER_free_thalmann
			unlock_decision_tooltip = GER_smuggle_arms_decision
			set_country_flag = GER_volksarmee_flag
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER
		}
	}
	focus = {
		id = GER_a_greater_appeal_to_moscow
		icon = GFX_focus_GER_alliance_with_the_ussr
		cost = 7.2
		prerequisite = {
			focus = GER_clamp_down_on_the_ruhr
		}
		relative_position_id = GER_clamp_down_on_the_ruhr
		x = 1
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			NOT = { has_country_flag = GER_crazy_commie_germany}
			any_controlled_state = { is_coastal = yes}
			has_government = communism
			has_civil_war = yes
			has_country_flag = GER_commie_vols
			SOV = {
				IF = {
					limit = { has_global_flag = sov_old_focus_tree}
					has_completed_focus = SOV_great_purge
				}
				else = { has_completed_focus = SOV_the_centre }
			}
			NOT = {
				has_idea = GER_battle_of_essen
			}
			hidden_trigger = {
				NOT = { has_country_flag = GER_crazy_commie_germany}
			}
		}
		allow_branch = {
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			NOT = { has_country_flag = GER_crazy_commie_germany}
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_found_the_german_interim_government }
				NOT = { has_completed_focus = GER_found_the_new_german_state }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		completion_reward = {
			custom_effect_tooltip = GER_sov_join_war2_tt
			SOV = { country_event = new_ger.32 }
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
	}
	focus = {
		id = GER_appeal_for_autonomy
		icon = GFX_goal_generic_communism
		cost = 5
		prerequisite = {
			focus = GER_a_greater_appeal_to_moscow
		}
		mutually_exclusive = { focus = GER_strengthen_soviet_political_support}
		relative_position_id = GER_a_greater_appeal_to_moscow
		x = 1
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			has_civil_war = no
			is_subject_of = SOV
		}
		completion_reward = {
			SOV = { country_event = new_ger.39}
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
		will_lead_to_war_with = SOV
	}
	focus = {
		id = GER_strengthen_soviet_political_support
		icon = GFX_focus_SOV_the_supreme_soviet
		cost = 7.2
		prerequisite = {
			focus = GER_a_greater_appeal_to_moscow
		}
		mutually_exclusive = { focus = GER_appeal_for_autonomy }
		relative_position_id = GER_a_greater_appeal_to_moscow
		x = -1
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			has_civil_war = no
			is_subject_of = SOV
		}
		completion_reward = {
			add_ideas = GER_soviet_political_support
			add_political_power = 25
			custom_effect_tooltip = generic_skip_one_line_tt
			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 = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_country_leader_trait = stalins_puppet
			set_country_flag = GER_request_soviet_political_support_flag

		}
		search_filters = {
			FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY
		}
	}
	focus = {
		id = GER_glorify_stalins_image
		icon = GFX_focus_SOV_father_of_nations
		cost = 10
		prerequisite = {
			focus = GER_strengthen_soviet_political_support
		}
		relative_position_id = GER_strengthen_soviet_political_support
		x = 0
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			has_civil_war = no
			is_subject_of = SOV
			has_government = communism
			has_country_flag = {
				flag = GER_request_soviet_political_support_flag
				days > 100
			}
			custom_trigger_tooltip = {
				tooltip = GER_request_soviet_political_support_flag_days
				
				has_country_flag = {
					flag = GER_request_soviet_political_support_flag
					days > 100
				}
			}

		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_soviet_political_support
				add_idea = GER_soviet_political_support_2
			}
			add_country_leader_trait = HUN_ardent_stalinist
		}
		search_filters = {
			FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL
		}
	}
	focus = {
		id = GER_shake_off_the_fascist_yoke_dummy
		icon = GFX_goal_GER_shake_off_the_fascist_yoke
		cost = 3
		allow_branch = { 
			has_completed_focus = GER_shake_off_the_fascist_yoke 
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
		}
		relative_position_id = GER_clamp_down_on_the_ruhr
		x = 4
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
		}
		completion_reward = {
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL
		}
	}
	focus = {
		id = GER_shake_off_the_fascist_yoke
		icon = GFX_goal_GER_shake_off_the_fascist_yoke
		cost = 3
		prerequisite = {
			focus = GER_clamp_down_on_the_ruhr
		}
		relative_position_id = GER_clamp_down_on_the_ruhr
		x = 4
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			IF = {
				limit = { has_country_flag = GER_authoritarian_civil_war_flag }
				NOT = { has_country_flag = GER_authoritarian_civil_war_flag }
			}
			has_civil_war = yes
			NOT = { has_active_mission = GER_save_thalmann }

		}
		completion_reward = {
			country_event = new_ger.29
			mark_focus_tree_layout_dirty = yes
			custom_effect_tooltip = GER_more_focuses_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_shake_off_the_fascist_yoke_2_tt
			hidden_effect = { complete_national_focus = GER_shake_off_the_fascist_yoke_dummy}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = wilhelm_pieck
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL
		}
	}
	focus = {
		id = GER_the_revolution_secured
		icon = GFX_goal_ger_kpd_victory
		cost = 2
		prerequisite = {
			focus = GER_shake_off_the_fascist_yoke
		}
		relative_position_id = GER_shake_off_the_fascist_yoke
		x = 0
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			has_civil_war = no
		}
		completion_reward = {
			add_stability = 0.075
			add_political_power = 25
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}
			hidden_effect = { unlock_national_focus = GER_kpd_in_coalition }
			set_country_flag = GER_move_to_secure_the_revolution_flag
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = GER_restore_prosperity_for_german_workers
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY
		}
	}
	focus = {
		id = GER_our_own_lennin
		icon = GFX_focus_SOV_the_path_of_marxism_leninism
		cost = 7.2
		prerequisite = {
			focus = GER_the_revolution_secured
		}
		relative_position_id = GER_the_revolution_secured
		x = -1
		y = 1
		ai_will_do = {
			factor = 10
		}
		allow_branch = {
			NOT = { has_country_flag = GER_crazy_commie_germany }
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_found_the_german_interim_government }
				NOT = { has_completed_focus = GER_found_the_new_german_state }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		available = {
			NOT = { has_country_flag = GER_crazy_commie_germany}
			has_government = communism
			has_civil_war = no
			NOT = { 
				has_completed_focus = GER_towards_a_party_state
			}
			NOT = { 
				has_country_leader = {
					character = GER_walter_ulbricht
					ruling_only = yes
				}
			}
			has_country_flag = {
				flag = GER_move_to_secure_the_revolution_flag
				days > 50
			}
			custom_trigger_tooltip = {
				tooltip = GER_move_to_secure_the_revolution_flag_days
				
				has_country_flag = {
					flag = GER_move_to_secure_the_revolution_flag
					days > 50
				}
			}
		}
		completion_reward = {
			set_cosmetic_tag = GER_kpd_soviet
			add_country_leader_trait = GER_german_lennin
			clr_country_flag = GER_move_to_secure_the_revolution_flag
			set_country_flag = GER_move_to_secure_the_revolution_flag
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT
		}
	}
	focus = {
		id = GER_whip_the_party_into_line
		icon = GFX_focus_SOV_the_supreme_soviet
		cost = 3
		prerequisite = {
			focus = GER_our_own_lennin
		}
		prerequisite = {
			focus = GER_the_berlin_trials
		}
		relative_position_id = GER_our_own_lennin
		x = 1
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			has_government = communism
			has_country_flag = {
				flag = GER_move_to_secure_the_revolution_flag
				days > 50
			}
			custom_trigger_tooltip = {
				tooltip = GER_move_to_secure_the_revolution_flag_days
				
				has_country_flag = {
					flag = GER_move_to_secure_the_revolution_flag
					days > 50
				}
			}
		}
		completion_reward = {
			add_ideas = GER_kpd_whipped_into_line
			clr_country_flag = GER_move_to_secure_the_revolution_flag
			set_country_flag = GER_move_to_secure_the_revolution_flag
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY
		}
	}
	focus = {
		id = GER_unite_the_working_class
		icon = GFX_focus_SOV_organization_centralization_discipline
		cost = 7.2
		prerequisite = {
			focus = GER_our_own_lennin
		}
		relative_position_id = GER_our_own_lennin
		x = -1
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			has_stability > 0.7
			has_country_leader_with_trait = GER_german_lennin
			has_government = communism
			has_country_flag = {
				flag = GER_move_to_secure_the_revolution_flag
				days > 70
			}
			custom_trigger_tooltip = {
				tooltip = GER_move_to_secure_the_revolution_flag_days
				
				has_country_flag = {
					flag = GER_move_to_secure_the_revolution_flag
					days > 70
				}
			}
		}
		completion_reward = {
			add_country_leader_trait = GER_unifier_of_the_classes_c
			clr_country_flag = GER_move_to_secure_the_revolution_flag
			set_country_flag = GER_move_to_secure_the_revolution_flag
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY
		}
	}
	focus = {
		id = GER_thalmanns_cult_of_personality
		icon = GFX_goal_ger_father_of_nations
		cost = 10
		prerequisite = {
			focus = GER_whip_the_party_into_line
		}
		prerequisite = { focus =  GER_unite_the_working_class }
		relative_position_id = GER_our_own_lennin
		x = 0
		y = 2
		ai_will_do = {
			factor = 10
		}
		available = {
			has_country_leader = {
				character = GER_ernst_thalmann
				ruling_only = yes
			}
			has_country_flag = {
				flag = GER_move_to_secure_the_revolution_flag
				days > 100
			}
			custom_trigger_tooltip = {
				tooltip = GER_move_to_secure_the_revolution_flag_days
				
				has_country_flag = {
					flag = GER_move_to_secure_the_revolution_flag
					days > 100
				}
			}
		}
		completion_reward = {
			set_power_balance = {
				id = GER_thalmanns_cult_of_personality_bop
				set_default = yes
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_power_balance_modifier = {
				modifier = GER_the_cult_breaks_down
				id = GER_thalmanns_cult_of_personality_bop
			}
			clr_country_flag = GER_move_to_secure_the_revolution_flag
			set_country_flag = GER_move_to_secure_the_revolution_flag
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_thalmanns_bop_tt
		}
		search_filters = {
			FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT
		}
	}
	focus = {
		id = GER_the_berlin_trials
		icon = GFX_focus_SOV_the_last_purge
		cost = 10
		prerequisite = {
			focus = GER_the_revolution_secured
		}
		relative_position_id = GER_the_revolution_secured
		x = 1
		y = 1
		ai_will_do = {
			factor = 10
		}
		offset = {
			trigger = { has_country_flag = GER_crazy_commie_germany}
			x = -2
		}
		select_effect = {
			IF = {
				limit = { NOT = { has_country_flag = GER_crazy_commie_germany}}
				country_event = {
					id = new_ger.44
					days = 20
				}
				country_event = {
					id = new_ger.45
					days = 40
				}
				country_event = {
					id = new_ger.46
					days = 50
				}
			}
			else = {
				country_event = {
					id = new_ger.48
					days = 20
				}
				country_event = {
					id = new_ger.49
					days = 40
				}
			}
		}
		available = {
			has_civil_war = no
			has_government = communism
			has_country_flag = {
				flag = GER_move_to_secure_the_revolution_flag
				days > 14
			}
			custom_trigger_tooltip = {
				tooltip = GER_move_to_secure_the_revolution_flag_days
				
				has_country_flag = {
					flag = GER_move_to_secure_the_revolution_flag
					days > 14
				}
			}
		}
		
		completion_reward = {
			effect_tooltip = {
				IF = {
					limit = { has_idea = GER_factionalism}
					remove_ideas = GER_factionalism
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			country_event = new_ger.47
			clr_country_flag = GER_move_to_secure_the_revolution_flag
			set_country_flag = GER_move_to_secure_the_revolution_flag
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL_CHARACTER
		}
	}
	focus = {
		id = GER_officialize_the_volksarmee
		icon = GFX_goal_ger_nva
		cost = 5
		prerequisite = {
			focus = GER_shake_off_the_fascist_yoke
		}
		relative_position_id = GER_shake_off_the_fascist_yoke
		x = 2
		y = 1
		ai_will_do = {
			factor = 10
		}
		offset = { 
			trigger = { 
				has_completed_focus = GER_shake_off_the_fascist_yoke
			}
			x = 23
			y = 1
		}
		offset = {
			trigger = { has_country_flag = GER_crazy_commie_germany }
			x = -6
		}
		available = {
			NOT = { has_completed_focus = GER_uplift_the_antifa}
			has_country_flag = {
				flag = GER_volksarmee_flag
				days > 35
			}
			custom_trigger_tooltip = {
				tooltip = GER_volksarmee_flag_days
				
				has_country_flag = {
					flag = GER_volksarmee_flag
					days > 35
				}
			}
		}
		completion_reward = {
			army_experience = 35
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = swap_to_volksarmee_tt
			add_to_variable = {
				GER_military_army_org_factor = 0.025
				tooltip = army_org_factor_tt
			}
			add_to_variable = {
				tooltip = army_morale_factor_tt
				GER_military_army_morale_factor = 0.025
			}
			add_to_variable = {
				GER_military_mobilization_speed = 0.1
				tooltip = mobilization_speed_tt
			}
			
			add_to_variable = {
				GER_military_minimum_training_level = -0.1
				tooltip = minimum_training_level_tt
			}
			
			add_to_variable = {
				GER_military_command_power_gain_mult = 0.1
				tooltip = command_power_gain_mult_tt
			}
			

			clr_country_flag = GER_volksarmee_flag
			set_country_flag = GER_volksarmee_flag
		}
		search_filters = {
			FOCUS_FILTER_MANPOWER 
		}
	}
	focus = {
		id = GER_political_commissars_focus
		icon = GFX_goal_generic_communist_officer
		cost = 7.2
		prerequisite = {
			focus = GER_shake_off_the_fascist_yoke
		}
		offset = { 
			trigger = { 
				has_completed_focus = GER_shake_off_the_fascist_yoke
			}
			x = 23
			y = 1
		}
		offset = {
			trigger = { has_country_flag = GER_crazy_commie_germany }
			x = -6
		}
		relative_position_id = GER_shake_off_the_fascist_yoke
		x = 4
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			has_civil_war = no
			has_country_flag = {
				flag = GER_volksarmee_flag
				days > 35
			}
			custom_trigger_tooltip = {
				tooltip = GER_volksarmee_flag_days
				
				has_country_flag = {
					flag = GER_volksarmee_flag
					days > 35
				}
			}
		}
		completion_reward = {
			add_popularity = {
				ideology = communism
				popularity = 0.03
			}
			add_war_support = 0.05
			add_command_power = 15

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_army_modifier = yes
			add_to_variable = { GER_military_army_morale_factor = 0.1 tooltip = army_morale_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 }
			clr_country_flag = GER_volksarmee_flag
			set_country_flag = GER_volksarmee_flag
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT
		}
	}
	focus = {
		id = GER_as_with_the_sa_so_with_the_antifa
		icon = GFX_goal_generic_flames_of_rebellion
		cost = 5
		prerequisite = {
			focus = GER_officialize_the_volksarmee
		}
		prerequisite = { focus = GER_political_commissars_focus }
		relative_position_id = GER_officialize_the_volksarmee
		x = 1
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			has_civil_war = no
			has_country_flag = {
				flag = GER_volksarmee_flag
				days > 45
			}
			custom_trigger_tooltip = {
				tooltip = GER_volksarmee_flag_days
				
				has_country_flag = {
					flag = GER_volksarmee_flag
					days > 45
				}
			}
		}
		completion_reward = {
			add_political_power = 25
			add_command_power = -50
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = GER_battle_the_sa
			custom_effect_tooltip = generic_skip_one_line_tt
			country_event = new_ger.164
			custom_effect_tooltip = report_reward
			event_option_tooltip = new_ger.164.a
			custom_effect_tooltip = alternative_diplomatic_reward
			event_option_tooltip = new_ger.164.b
			custom_effect_tooltip = alternative_diplomatic_reward
			event_option_tooltip = new_ger.164.c
			clr_country_flag = GER_volksarmee_flag
			set_country_flag = GER_volksarmee_flag
		}
		search_filters = {
			FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL
		}
	}
	focus = {
		id = GER_ready_the_army_for_the_external_threat
		icon = GFX_goal_generic_revolutionary_guards
		cost = 10
		prerequisite = { focus = GER_as_with_the_sa_so_with_the_antifa}
		relative_position_id = GER_as_with_the_sa_so_with_the_antifa
		x = 1
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			has_war_with_major = no
			has_government = communism
			has_country_flag = {
				flag = GER_volksarmee_flag
				days > 70
			}
			custom_trigger_tooltip = {
				tooltip = GER_volksarmee_flag_days
				
				has_country_flag = {
					flag = GER_volksarmee_flag
					days > 70
				}
			}
		}
		completion_reward = {
			GER_modify_army_modifier = yes
			add_to_variable = {
				GER_military_initiative_factor = 0.05
				tooltip = initiative_factor_tt
			}
			add_to_variable = {
				GER_military_planning_speed = 0.1
				tooltip = planning_speed_factor_tt
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_timed_idea = {
				idea = GER_readied_for_the_external_threat
				days = 365
			}
			IF = {
				limit = { has_country_flag = GER_ppl_are_alive}
				unlock_decision_tooltip = GER_rehab_officiers_idea
			}
			clr_country_flag = GER_volksarmee_flag
			set_country_flag = GER_volksarmee_flag
		}
		search_filters = {
		}
	}
	focus = {
		id = GER_foster_a_progress_cult
		icon = GFX_socialist_science
		cost = 5
		prerequisite = { focus = GER_as_with_the_sa_so_with_the_antifa}
		relative_position_id = GER_as_with_the_sa_so_with_the_antifa
		x = -1
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			has_government = communism
			has_country_flag = {
				flag = GER_volksarmee_flag
				days > 70
			}
			custom_trigger_tooltip = {
				tooltip = GER_volksarmee_flag_days
				
				has_country_flag = {
					flag = GER_volksarmee_flag
					days > 70
				}
			}
		}
		completion_reward = {
			add_ideas = GER_progress_cult_idea
			add_political_power = 50
			add_popularity = {
				ideology = communism
				popularity = 0.10
			}
			clr_country_flag = GER_volksarmee_flag
			set_country_flag = GER_volksarmee_flag
		}
		search_filters = {
			FOCUS_FILTER_RESEARCH FOCUS_FILTER_POLITICAL
		}
	}
	focus = {
		id = GER_import_soviet_sciences
		icon = GFX_focus_generic_socialist_science
		cost = 5
		prerequisite = { focus = GER_foster_a_progress_cult}
		relative_position_id = GER_foster_a_progress_cult
		mutually_exclusive = { focus = GER_return_to_german_brilliance }
		x = -1
		y = 1
		available = {
			has_government = communism
			has_country_flag = {
				flag = GER_volksarmee_flag
				days > 70
			}
			custom_trigger_tooltip = {
				tooltip = GER_volksarmee_flag_days
				
				has_country_flag = {
					flag = GER_volksarmee_flag
					days > 70
				}
			}
		}
		completion_reward = {
			add_tech_bonus = {
				name = GER_soviet_scientists
				bonus = 0.5
				category = armor
			}
			add_tech_bonus = {
				name = GER_soviet_scientists
				bonus = 0.75
				category = construction_tech
			}
			clr_country_flag = GER_volksarmee_flag
			set_country_flag = GER_volksarmee_flag
		}
		search_filters = {
			FOCUS_FILTER_RESEARCH
		}
	}
	focus = {
		id = GER_return_to_german_brilliance
		icon = GFX_focus_wonderweapons
		cost = 5
		prerequisite = { focus = GER_foster_a_progress_cult}
		relative_position_id = GER_foster_a_progress_cult
		mutually_exclusive = { focus = GER_import_soviet_sciences }
		x = 1
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			has_government = communism
			has_country_flag = {
				flag = GER_volksarmee_flag
				days > 70
			}
			custom_trigger_tooltip = {
				tooltip = GER_volksarmee_flag_days
				
				has_country_flag = {
					flag = GER_volksarmee_flag
					days > 70
				}
			}
		}
		completion_reward = {
			add_tech_bonus = {
				name = GER_return_to_german_brilliance
				bonus = 0.5
				category = artillery
			}
			add_tech_bonus = {
				name = GER_return_to_german_brilliance
				bonus = 0.75
				category = nuclear
			}
			clr_country_flag = GER_volksarmee_flag
			set_country_flag = GER_volksarmee_flag
		}
		search_filters = {
			FOCUS_FILTER_RESEARCH FOCUS_FILTER_POLITICAL
		}
	}
	focus = {
		id = GER_organize_workers_councils
		icon = GFX_SOV_socialist_realism_ccp_2d_sov_compatibility
		cost = 5
		prerequisite = {
			focus = GER_the_revolution_secured
		}
		relative_position_id = GER_the_revolution_secured
		x = -3
		y = 1
		ai_will_do = {
			factor = 10
		}
		allow_branch = {
			has_country_flag = GER_crazy_commie_germany
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
		}
		available = {
			has_civil_war = no
		}
		completion_reward = {
			add_ideas = GER_council_communism_idea
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY 
		}
	}
	focus = {
		id = GER_return_the_exiles
		icon = GFX_goal_tripartite_pact
		cost = 4
		prerequisite = {
			focus = GER_the_revolution_secured
		}
		relative_position_id = GER_the_revolution_secured
		x = 1
		y = 1
		ai_will_do = {
			factor = 10
		}
		allow_branch = {
			has_country_flag = GER_crazy_commie_germany
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
		}
		available = {
			has_government = communism
		}
		completion_reward = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = heinrich_brandler
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_otto_ruhle
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_august_thalheimer
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_paul_frolich
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL_CHARACTER
		}
	}
	focus = {
		id = GER_consolidate_the_party_leadership
		icon = GFX_focus_GER_the_peoples_victory
		cost = 5
		prerequisite = {
			focus = GER_return_the_exiles
		}
		prerequisite = { focus = GER_the_berlin_trials}
		relative_position_id = GER_return_the_exiles
		x = -1
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			has_country_leader = {
				character = GER_leftist_provisional_gov
				ruling_only = yes
			}
		}
		completion_reward = {
			country_event = new_ger.43
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER
		}
	}
	focus = {
		id = GER_consolidate_the_new_system
		icon = GFX_focus_generic_communist_industry
		cost = 7.2
		prerequisite = {
			focus = GER_organize_workers_councils
		}
		relative_position_id = GER_organize_workers_councils
		x = 0
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
		}
		completion_reward = {
			set_cosmetic_tag = GER_council
			swap_ideas = {
				remove_idea = GER_council_communism_idea
				add_idea = GER_workers_councils
			}
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY
		}
	}
	focus = {
		id = GER_the_national_congress_of_councils
		icon = GFX_focus_SOV_the_supreme_soviet
		cost = 7.2
		prerequisite = {
			focus = GER_consolidate_the_new_system
		}
		prerequisite = { focus = GER_consolidate_the_party_leadership }
		relative_position_id = GER_consolidate_the_new_system
		x = 2
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			has_civil_war = no
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_workers_councils
				add_idea = GER_workers_councils_2
			}
			country_event = new_ger.42
		}
		search_filters = {
			FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY
		}
	}
	focus = {
		id = GER_towards_european_revolution
		icon = GFX_focus_ger_great_red_menace
		cost = 7.2
		prerequisite = { focus = GER_consolidate_the_new_system }
		prerequisite = { focus = GER_consolidate_the_party_leadership }
		relative_position_id = GER_consolidate_the_new_system
		x = 0
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			has_civil_war = no
		}
		completion_reward = {
			every_other_country = {
				limit = {
					capital_scope = { is_on_continent = europe }
				}
				send_embargo = ROOT
			}
			every_state = {
				limit = { is_on_continent = europe NOT = { is_core_of = ROOT }}
				add_claim_by = ROOT
			}
			add_country_leader_trait = GER_herald_of_the_revolution
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_ANNEXATION
		}
	}
	focus = {
		id = GER_ready_the_political_sturcture
		icon = GFX_goal_support_fourth_int
		cost = 7.2
		prerequisite = { focus = GER_towards_european_revolution }
		prerequisite = { focus = GER_the_national_congress_of_councils }
		relative_position_id = GER_towards_european_revolution
		x = 1
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			IF = {
				limit = {
					has_dlc = "No Compromise, No Surrender"
				}
				has_faction_template = faction_template_GER_crazy_commie_germany
			}
			NOT = { has_idea = GER_restructuring_the_system}
		}
		completion_reward = {
			add_ideas = GER_administration_for_all_europe
			add_political_power = 100
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY
		}
	}
	focus = {
		id = GER_international_pro_european_propaganda
		icon = GFX_focus_propaganda_soviet
		cost = 5
		prerequisite = { focus = GER_towards_european_revolution }
		relative_position_id = GER_towards_european_revolution
		x = -1
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
		}
		completion_reward = {
			swap_ruler_traits = {
				remove = GER_herald_of_the_revolution
				add = GER_herald_of_the_revolution_2
			}
		}
		search_filters = {
			FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL_CHARACTER
		}
	}
	focus = {
		id = GER_declare_the_ecr
		icon = GFX_focus_GER_hegemony_over_europe
		cost = 7.2
		prerequisite = { focus = GER_ready_the_political_sturcture }
		prerequisite = { focus = GER_international_pro_european_propaganda}
		relative_position_id = GER_ready_the_political_sturcture
		x = -1
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			IF = {
				limit = {
					has_dlc = "No Compromise, No Surrender"
				}
				has_faction_template = faction_template_GER_crazy_commie_germany
			}
			has_civil_war = no
			num_of_controlled_states > 45
		}
		completion_reward = {
			set_cosmetic_tag = GER_council_eur
			unlock_decision_tooltip = GER_integrate_european_state
		}
		search_filters = {
			FOCUS_FILTER_ANNEXATION
		}
	}
	focus = {
		id = GER_globalize_the_revolution
		icon = GFX_focus_SOV_international_union_of_soviet_republics
		cost = 10
		prerequisite = { focus = GER_the_national_congress_of_councils}
		prerequisite = { focus = GER_declare_the_ecr }
		relative_position_id = GER_declare_the_ecr
		x = 2
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			IF = {
				limit = {
					has_dlc = "No Compromise, No Surrender"
				}
				has_faction_template = faction_template_GER_crazy_commie_germany
			}
			num_of_controlled_states > 200
		}
		completion_reward = {
			set_cosmetic_tag = GER_council_world
			every_state = {
				limit = {
					NOT = {
						OR = {
							is_core_of = ROOT
							is_claimed_by = ROOT
						}
					}
				}
				add_claim_by = ROOT
			}
			every_other_country = {
				send_embargo = ROOT
			}
			custom_effect_tooltip = GER_globalize_the_revolution_tt
		}
		search_filters = {
			FOCUS_FILTER_ANNEXATION
		}
	}
	focus = {
		id = GER_radicalize_german_workers
		icon = GFX_focus_SOV_builder_of_the_red_army
		cost = 3
		prerequisite = {
			focus = GER_clamp_down_on_the_ruhr
		}
		relative_position_id = GER_clamp_down_on_the_ruhr
		x = -1
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			NOT = { has_government = communism }
			has_civil_war = yes
		}
		completion_reward = {
			custom_effect_tooltip = GER_rev_15_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			add_to_variable = { GER_kpd_civil_war_size = 15 }
			add_popularity = {
				ideology = communism
				popularity = 0.075
			}
			add_war_support = 0.05
			add_stability = -0.05
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = unlocks_GER_popular_front_with_the_leftists_which_grants_tt
			effect_tooltip = {
				add_stability = -0.05
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = GER_popular_front_with_the_leftists_tt
				custom_effect_tooltip = generic_skip_one_line_tt
				add_ideas = GER_factionalism
			}
		}
		search_filters = {
			FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL
		}
	}
	focus = {
		id = GER_secure_control_over_the_brigades
		icon = GFX_focus_SWE_refuge_for_revolutionaries
		cost = 3
		prerequisite = {
			focus = GER_radicalize_german_workers
		}
		prerequisite = {
			focus = GER_international_brigades
		}
		relative_position_id = GER_radicalize_german_workers
		x = -1
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			has_civil_war = yes
		}
		completion_reward = {
			custom_effect_tooltip = GER_international_brigades_tt
		}
	}
	focus = {
		id = GER_rally_the_nation
		icon = GFX_focus_spr_the_anti_fascist_workers_revolution
		prerequisite = {
			focus = GER_oppose_hitler_ww
			focus = GER_die_letzte_verschwoerung
		}

		x = -13
		y = 1
		relative_position_id = GER_die_letzte_verschwoerung
		cost = 3
		available = {
			has_civil_war = yes
		}
		bypass_effect = {
			set_country_flag = GER_rally_the_nation_tree_flag
		}
		bypass = {
			NOT = {
					has_government = fascism
			}
			OR = {
				has_government = communism
				has_completed_focus = GER_found_the_german_interim_government
				has_completed_focus = GER_found_the_new_german_state
				has_completed_focus = GER_shake_off_the_fascist_yoke
			}
		}

		offset = {
			x = 7
			trigger = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = STANDARD_TREE
				}
			}
		}
		offset = {
			x = -52
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_oppose_hitler_ww
			}
		}
		offset = {
			x = -8
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_monarchist_sentiment
			}
		}
		offset = {
			x = -11
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_start_the_proletarian_revolution
			}
		}
		offset = {
			x = 9
			trigger = {
				has_completed_focus = GER_shake_off_the_fascist_yoke
			}
		}
		offset = {
			x = 51
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_found_the_new_german_state
			}

		}
		offset = {
			x = -3
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_the_abwehrs_germany
			}

		}
		offset = {
			x = -5
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_a_martial_state
			}

		}
		offset = {
			x = 18
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_found_the_german_interim_government
			}

		}
		offset = {
			x = -29
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_a_dictated_parliament
			}

		}
		offset = {
			x = -3
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				OR = {
					has_completed_focus = GER_move_towards_autocracy
					has_completed_focus = GER_offer_goerdeler_reconciliation
				}
			}

		}
		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {

			add_popularity = {
				ideology = fascism
				popularity = -0.05
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_timed_idea = {
				idea = GER_rally_the_nation_ns
				days = 365
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			country_event = { 
				id = wuw_GER_civil_war.3
			}
			custom_effect_tooltip = GER_rally_the_nation_tt

			custom_effect_tooltip = report_reward
			event_option_tooltip = wuw_GER_civil_war.3.a
			custom_effect_tooltip = alternative_diplomatic_reward
			event_option_tooltip = wuw_GER_civil_war.3.b
			set_country_flag = GER_rally_the_nation_tree_flag
		}
	} 

	focus = {
		id = GER_GER_fate_of_nazism
		icon = GFX_focus_generic_anti_fascist_diplomacy
		prerequisite = { focus = GER_rally_the_nation }

		x = -1
		y = 1
		relative_position_id = GER_rally_the_nation
		cost = 5
		available = {
			has_country_flag = {
				flag = GER_rally_the_nation_tree_flag
				days > 20
			}
			custom_trigger_tooltip = {
				tooltip = GER_rally_the_nation_days_tt
				
				has_country_flag = {
					flag = GER_rally_the_nation_tree_flag
					days > 20
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

		completion_reward = {

			country_event = new_ger.163
			custom_effect_tooltip = report_reward
			event_option_tooltip = new_ger.163.a
			
			custom_effect_tooltip = GER_fate_of_nazism_tt
			event_option_tooltip = new_ger.163.b
			clr_country_flag = GER_rally_the_nation_tree_flag
			set_country_flag = GER_rally_the_nation_tree_flag
		}
	}

	focus = {
		id = GER_rebuild_the_nation_ww
		icon = GFX_goal_generic_construction2
		prerequisite = { focus = GER_rally_the_nation }

		x = 1
		y = 1
		relative_position_id = GER_rally_the_nation
		cost = 5
		available = {
			has_country_flag = {
				flag = GER_rally_the_nation_tree_flag
				days > 50
			}
			custom_trigger_tooltip = {
				tooltip = GER_rally_the_nation_days_tt
				
				has_country_flag = {
					flag = GER_rally_the_nation_tree_flag
					days > 50
				}
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_timed_idea = {
				idea = GER_recover_from_the_civil_war_ns
				days = 365
			}
			clr_country_flag = GER_rally_the_nation_tree_flag
			set_country_flag = GER_rally_the_nation_tree_flag
		}
	}

	focus = {
		id = GER_revitalize_the_nation
		icon = GFX_focus_generic_public_works
		prerequisite = { focus = GER_GER_fate_of_nazism focus = GER_rebuild_the_nation_ww }

		x = 1
		y = 1
		relative_position_id = GER_GER_fate_of_nazism
		
		cost = 7.2

		available = {
			has_civil_war = no
			has_country_flag = {
				flag = GER_rally_the_nation_tree_flag
				days > 100
			}
			custom_trigger_tooltip = {
				tooltip = GER_rally_the_nation_days_tt
				
				has_country_flag = {
					flag = GER_rally_the_nation_tree_flag
					days > 100
				}
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }

		completion_reward = {

			add_stability = 0.05

			custom_effect_tooltip = GER_rebuild_the_nation_ww_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			add_timed_idea = {
				idea = GER_national_revitalization_ns
				days = 545
			}
			
			if = {
				limit = { 
					has_dynamic_modifier = { modifier = GER_mefo_bills_modifier }
				}				
				custom_effect_tooltip = GER_modify_mefo_bills_modifier_tt
				add_to_variable = { 
					GER_industrial_consumer_goods_factor = -0.1
					tooltip = consumer_goods_factor_tt
				}
			}

			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_end_the_german_brain_drain
		icon = GFX_focus_generic_university_3
		prerequisite = { focus = GER_revitalize_the_nation }

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

		search_filters = { FOCUS_FILTER_RESEARCH }

		allow_branch = {
			has_dlc = "Gotterdammerung"
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		completion_reward = {
			random_scientist = {
				limit = {
					has_scientist_level = {
						specialization = specialization_nuclear
						level > 0
					}
				}
				add_scientist_level = {
					specialization = specialization_nuclear
					level = 1
				}
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_research_speed_factor = 0.05
				tooltip = research_speed_factor_tt 
			}
			
			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
			}
		}
	}
	focus = {
		id = GER_r56_pool_technical_know_how
		icon = GFX_goal_generic_scientific_exchange
		prerequisite = { focus = GER_end_the_german_brain_drain }

		x = 1
		y = 1
		relative_position_id = GER_end_the_german_brain_drain
		cost = 10
		available = {
			is_faction_leader = yes
			num_faction_members > 4
			any_allied_country = {
				is_major = yes
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
 
		completion_reward = {

			add_ideas = GER_pool_technical_know_how
			
			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_pool_technical_know_how_tt
			hidden_effect = {
				every_other_country = {
					limit = { is_in_faction_with = GER }
					add_ideas = GER_pool_technical_know_how
				}
			}

		}
	}
	focus = {
		id = GER_r56_shared_r_and_d_programs
		icon = GFX_goal_tfv_generic_tech_sharing
		prerequisite = { focus = GER_end_the_german_brain_drain }

		x = -1
		y = 1
		relative_position_id = GER_end_the_german_brain_drain

		cost = 10

		available = {
			is_faction_leader = yes
		}

		bypass = {
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			if = {
				limit = {
					num_faction_members > 1
				}
				for_each_scope_loop = {
					array = ROOT.allies
					add_to_variable = { GER.GER_rnd_programs_modifier_allies_count = 1 }
					log = "[This.GetName] was added to the RnD Program§"
				}

				set_temp_variable = { temp_targets_index = GER_rnd_programs_modifier_allies_count }

				while_loop_effect = {
					limit = {
						check_variable = { temp_targets_index > 0 }
						check_variable = { 
							var = GER_rnd_programs_modifier_research_speed_factor
							value = 0.1
							compare = less_than_or_equals
						}
					}
					add_to_variable = { GER_rnd_programs_modifier_research_speed_factor = 0.01 }
					subtract_from_temp_variable = { temp_targets_index = 1 }
				}

				hidden_effect = { #This is necessary since Germany is already accounted for when setting all of this up
					subtract_from_variable = { GER.GER_rnd_programs_modifier_research_speed_factor = 0.01 }
				}
			}
			add_dynamic_modifier = { modifier = GER_rnd_programs_modifier }
			custom_effect_tooltip = GER_shared_rd_programs_ww_tt
			
		}
	}
	focus = {
		id = GER_r56_mannheim_project
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = GER_r56_pool_technical_know_how }
		prerequisite = { focus = GER_r56_shared_r_and_d_programs }

		dynamic = yes

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

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {

			add_breakthrough_progress = {
				specialization = specialization_nuclear
				value = 0.5
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_add_or_modify_wunderwaffen = yes
			add_to_variable = { 
				GER_wunderwaffen_production_speed_nuclear_facility_factor = 0.15
				tooltip = production_speed_nuclear_facility_factor_tt
			}
			add_to_variable = { 
				GER_wunderwaffen_production_speed_nuclear_reactor_factor = 0.1
				tooltip = production_speed_nuclear_reactor_factor_tt
			}
			add_to_variable = { 
				GER_wunderwaffen_sp_commercial_nuclear_reactor_speed_factor = 0.1
				tooltip = sp_commercial_nuclear_reactor_speed_factor_tt
			}
			add_to_variable = { 
				GER_wunderwaffen_sp_nuclear_reactor_speed_factor = 0.1
				tooltip = sp_nuclear_reactor_speed_factor_tt
			}
		}
	}

	focus = {
		id = GER_found_the_german_interim_government
		icon = GFX_goal_GER_restore_weimar
		cost = 5
		prerequisite = { focus = GER_die_letzte_verschwoerung}
		dynamic = yes
		x = 0
		y = 1

		relative_position_id = GER_die_letzte_verschwoerung

		mutually_exclusive = {
			focus = GER_found_the_new_german_state
		}
		allow_branch = { 
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			NOT = { has_completed_focus = GER_pass_the_beck_constiution}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {	
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_found_the_new_german_state }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		available = {
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke }
			has_civil_war = no
			NOT = { has_country_flag = GER_sideline_goerdeler_flag}
			has_country_flag = GER_operation_valkyre_flag 
		}
		ai_will_do = {
		}
		completion_reward = {
			hidden_effect = {
				
				set_party_name = {
					ideology = fascism
					long_name = GER_nraf_long
					name = GER_nraf_party_name
				}
			}
			IF = {
				limit = { has_country_flag = GER_secure_freikorps_remnants_flag}
				country_event = new_ger.111
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			set_party_name = { 
				ideology = neutrality
				long_name = GER_beck_goerdler_long
				name = GER_beck_goerdler
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = {
					NOT = {
						has_country_flag = GER_secure_freikorps_remnants_flag
					}
				}
				custom_effect_tooltip = GER_prov_rep_focus_tt
				custom_effect_tooltip = generic_skip_one_line_tt
				add_popularity = {
					ideology = democratic
					popularity = 0.1
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				set_cosmetic_tag = GER_rep
				custom_effect_tooltip = generic_skip_one_line_tt
				add_ideas = GER_president_beck
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = GER_election_cycle_tt
			}
			else = {
				set_cosmetic_tag = GER_prov_gov
				custom_effect_tooltip = generic_skip_one_line_tt
				add_ideas = GER_prov_gov_idea
				custom_effect_tooltip = generic_skip_one_line_tt
				add_ideas = GER_president_beck
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = GER_election_cycle_tt
			}
			mark_focus_tree_layout_dirty = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }

	}
	focus = {
		id = GER_hold_new_elections
		icon = GFX_goal_generic_election
		cost = 5
		prerequisite = { focus = GER_declare_the_presidential_republic focus = GER_found_the_german_interim_government}

		x = 0
		y = 8

		relative_position_id = GER_found_the_german_interim_government

		mutually_exclusive = {
		}
		offset = {
			x = 3
			y = -2
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_offer_goerdeler_reconciliation

			}

		}
		offset = {
			x = -8
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_found_the_new_german_state
			}

		}
		offset = {
			x = 5
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_the_abwehrs_germany
			}

		}
		offset = {
			y = -2
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_found_the_german_interim_government
			}

		}
		available = {
			IF = {
				limit = {
					NOT = {
						OR = {
							has_completed_focus = GER_found_the_german_interim_government
							has_completed_focus = GER_found_the_new_german_state
						}
					}
				}
				custom_trigger_tooltip = {
					tooltip = GER_hold_new_elections_tt
				}
			}
			IF = {
				limit = {
					NOT = { has_completed_focus = GER_found_the_german_interim_government }
				}
				64 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 64
						}
					}
				}
				54 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 54
						}

					}
				}
				63 = {
					NOT = {
						
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 63
						}
					}
				}
				922 = {
					NOT = {
						
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 922
						}
					}
				}
				52 = {
					NOT = {
						
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 52
						}
					}
				}
				51 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 51
						}
					}
				}
				64 = {
					NOT = {
						
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 64
						}
					}
				}
				65 = {
					NOT = {
						
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 65
						}
					}
				}
				60 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 60
						}
					}
				}
				57 = {
					NOT = {
						
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 57
						}
					}
				}
				58 = {
					NOT = {
						
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 58
						}
					}
				}
				989 = {
					NOT = {
						
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 989
						}
					}
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = {
					is_ai = yes
				}
				set_variable = { NRAF_seats = 10 }
				set_variable = { DNVP_seats = 90 }
				set_variable = { DSTP_seats = 10 }
				set_variable = { Zentrum_seats = 70 }
				set_variable = { SPD_seats = 35 }
				set_variable = { KPD_seats = 10 }
			}
			GER_undo_gov = yes
			GER_set_seats = yes
			set_country_flag = GER_no_gov
			GER_set_parliament = yes
			create_pie_chart = yes
			set_country_flag = {
				flag = GER_no_elections_pls_flag
				days = 50
				value = 1
			}
			hold_election = ROOT
			country_event = new_ger.26

		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = GER_nraf_in_coalition
		icon = GFX_goal_ger_nraf_victory
		cost = 0
		prerequisite = { focus = GER_hold_new_elections }

		x = -40
		y = 1

		relative_position_id = GER_hold_new_elections

		mutually_exclusive = {
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
		}
		ai_will_do = {
		}
		allow_branch = {
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			NOT = { has_completed_focus = GER_pass_the_beck_constiution}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {	
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_demokratieschutzgesetz }
				NOT = { has_completed_focus = GER_found_the_new_german_state }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		offset = {
			trigger = {	
				NOT = {
					has_country_flag = GER_dvu_formed
					has_completed_focus = GER_a_martial_state
				}
			}
			x = 5
		}
		offset = {
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_country_flag = GER_NRAF_lutze
			}
			x = 5
		}
		offset = {
			x = 4
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_country_flag = GER_dvu_formed
				has_completed_focus = GER_goerdelers_new_party
				NOT = { has_country_flag = GER_adenauer_leadership}
			}
		}
		offset = {
			x = 3
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				OR = {
					has_completed_focus = GER_hugenburgs_legacy
					has_completed_focus = GER_goerdelers_new_party
				}
			}
		}
		offset = {
			x = 5
			trigger = {
				has_country_flag = GER_dvu_formed
			}
		}
		completion_reward = {
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = GER_democratic_opposition
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = GER_conflict_with_the_elites
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = {
					check_variable = {
						var = GER_chosen_gov_leader
						value = 1
						compare = equals
					}
					NOT = { has_country_flag = GER_NRAF_lutze }
				}
				IF = {
					limit = { 
						NOT = { has_government = fascism }
					}
					set_politics = {
						ruling_party = fascism
						elections_allowed = yes
					}
				}
				else_if = {
					limit = { has_elections = no }
					set_politics = {
						ruling_party = ROOT
						elections_allowed = yes
					}
				}
				set_party_name = {
					ideology = fascism
					long_name = GER_nraf_long
					name = GER_nraf_party_name
				}
				promote_character = {
					character = GER_otto_strasser
					ideology = strasserism
				}
				IF = {
					limit = {
						NOT = { has_country_flag = GER_NRAF_strasser}
					}
					add_trait = {
						character = GER_otto_strasser
						ideology = strasserism
						trait = GER_power_vacuum
					}
				}
				
			}
			IF = {
				limit = {
					check_variable = {
						var = GER_chosen_gov_leader
						value = 1
						compare = equals
					}
					has_country_flag = GER_NRAF_lutze
				}
				IF = {
					limit = { 
						NOT = { has_government = fascism }
					}
					set_politics = {
						ruling_party = fascism
						elections_allowed = yes
					}
				}
				else_if = {
					limit = { has_elections = no }
					set_politics = {
						ruling_party = ROOT
						elections_allowed = yes
					}
				}
				set_party_name = {
					ideology = fascism
					long_name = GER_nraf_long
					name = GER_nraf_party_name
				}
				promote_character = {
					character = GER_viktor_lutze
					ideology = strasserism
				}
			}
			IF = {
				limit = { has_completed_focus = GER_a_powerful_state}
				add_ideas = GER_powerful_state
			}
			else = {
				IF = {
					limit = { has_completed_focus = GER_radicalize_rearmament_efforts}
					add_ideas = GER_rapid_reamarmament
				}
				IF = {
					limit = { has_completed_focus = GER_centralize_the_state}
					add_ideas = GER_centralized_state
				}
			}
			IF = {
				limit = { has_completed_focus = GER_embrace_true_national_socialism}
				add_ideas = GER_black_front_influence_2
			}
			else_if = {
				limit = { has_completed_focus = GER_expand_black_front_influence}
				add_ideas = GER_black_front_influence
			}
			IF = {
				limit = { has_completed_focus = GER_limited_federalist_reforms }
				add_ideas = GER_workers_and_peasant_councils_2
			}
			else_if = { 
				limit = { has_completed_focus = GER_build_up_worker_and_peasant_councils}
				add_ideas = GER_workers_and_peasant_councils
			}
			IF = {
				limit = { has_completed_focus = GER_inspire_fear_of_the_liberals}
				add_ideas = GER_anti_liberal_fearmongering
			}
			IF = {
				limit = { has_completed_focus = GER_consolidate_socialist_reforms}
				add_ideas = GER_the_economic_revolution_2
			}
			else_if = {
				limit = { has_completed_focus = GER_bring_about_the_second_revolution}
				add_ideas = GER_the_economic_revolution
			}
			add_to_variable = { GER_mil_opinion = -1 }
			custom_effect_tooltip = GER_mil_opinion_-1_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = { has_character = GER_otto_strasser }
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = GER_otto_strasser
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER}
	}
	focus = {
		id = GER_deal_with_inner_party_opposition
		icon = GFX_goal_generic_seperation
		cost = 4
		prerequisite = { focus = GER_nraf_in_coalition }

		x = 0
		y = 1

		relative_position_id = GER_nraf_in_coalition

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
		}
		bypass = {
			AND = {
				NOT = { has_country_flag = GER_a_disturbing_deal_sa_flag }
				has_country_flag = GER_NRAF_strasser
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = { has_country_flag = GER_a_disturbing_deal_sa_flag}
				unlock_decision_category_tooltip = GER_dealing_with_the_opposition
			}
			IF = {
				limit = {
					NOT = {
						has_country_flag = GER_NRAF_strasser
						has_country_flag = GER_NRAF_lutze
					}
				}
				country_event = new_ger.127
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}
	}
	focus = {
		id = GER_limited_reconciliation
		icon = GFX_goal_generic_peaceful_diplomacy
		cost = 5
		prerequisite = { focus = GER_deal_with_inner_party_opposition }

		x = 7
		y = 1

		relative_position_id = GER_deal_with_inner_party_opposition

		mutually_exclusive = {
			focus = GER_radicalize_german_nationalism
		}

		available = {
			has_country_flag = GER_NRAF_strasser
			
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
		}
		bypass = {
		}
		ai_will_do = {
		}
		completion_reward = {
			add_political_power = 25
			add_stability = 0.05
		}
		allow_branch = {
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			NOT = { has_completed_focus = GER_pass_the_beck_constiution}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {	
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_demokratieschutzgesetz }
				NOT = { has_completed_focus = GER_found_the_new_german_state }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
				NOT = { has_country_flag = GER_NRAF_lutze }
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_expand_black_front_influence
		icon = GFX_goal_GER_fascist_worker
		cost = 5
		prerequisite = { focus = GER_deal_with_inner_party_opposition }

		x = 5
		y = 1

		relative_position_id = GER_deal_with_inner_party_opposition

		mutually_exclusive = {
		}

		available = {
			has_country_flag = GER_NRAF_strasser
			
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
		}
		bypass = {
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_black_front_influence
			r56_ger_nraf_35 = yes
		}
		allow_branch = {
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			NOT = { has_completed_focus = GER_pass_the_beck_constiution}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {	
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_demokratieschutzgesetz }
				NOT = { has_completed_focus = GER_found_the_new_german_state }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
				NOT = { has_country_flag = GER_NRAF_lutze }
			}
		}
		search_filters = {FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY FOCUS_FILTER_MANPOWER FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_build_up_worker_and_peasant_councils
		icon = GFX_focus_ITA_generic_fascist_workers
		cost = 8
		prerequisite = { focus = GER_deal_with_inner_party_opposition }

		x = 3
		y = 1

		relative_position_id = GER_deal_with_inner_party_opposition

		mutually_exclusive = {
		}

		available = {
			has_country_flag = GER_NRAF_strasser
			
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
		}
		bypass = {
		}
		ai_will_do = {
		}
		allow_branch = {
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			NOT = { has_completed_focus = GER_pass_the_beck_constiution}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {	
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_demokratieschutzgesetz }
				NOT = { has_completed_focus = GER_found_the_new_german_state }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
				NOT = { has_country_flag = GER_NRAF_lutze }
			}
		}
		completion_reward = {
			add_ideas = GER_workers_and_peasant_councils
			r56_ger_nraf_50 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY}
	}
	focus = {
		id = GER_limited_federalist_reforms
		icon = GFX_focus_POL_agrarian_reform
		cost = 5
		prerequisite = { focus = GER_build_up_worker_and_peasant_councils }

		x = 0
		y = 2

		relative_position_id = GER_build_up_worker_and_peasant_councils

		mutually_exclusive = {
		}

		available = {
			NOT = { has_completed_focus = GER_the_second_gleichschaltung}
			
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
			NOT = { 
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}}
		}
		bypass = {
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_workers_and_peasant_councils
				add_idea = GER_workers_and_peasant_councils_2
			}
			r56_ger_nraf_70 = yes
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY}
	}
	focus = {
		id = GER_embrace_true_national_socialism
		icon = GFX_focus_ger_reichskommisariats
		cost = 10
		prerequisite = { focus = GER_build_up_worker_and_peasant_councils }
		prerequisite = { focus = GER_expand_black_front_influence}

		x = 1
		y = 1

		relative_position_id = GER_build_up_worker_and_peasant_councils

		mutually_exclusive = {
		}

		available = {
			has_country_leader	= {
				character = GER_otto_strasser
				ruling_only = yes
			}
			
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
		}
		bypass = {
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_black_front_influence
				add_idea = GER_black_front_influence_2
			}
			add_country_leader_trait = GER_embodiment_of_national_socialism
			r56_ger_nraf_70 = yes
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER}
	}
	focus = {
		id = GER_maintian_strict_anti_marxism
		icon = GFX_focus_GER_end_european_communism
		cost = 3
		prerequisite = { focus = GER_nraf_in_coalition }

		x = -3
		y = 1

		relative_position_id = GER_nraf_in_coalition

		mutually_exclusive = {
		}

		available = {
			OR = {
				has_country_flag = GER_NRAF_lutze
				has_country_flag = GER_NRAF_strasser
			}
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
		}
		bypass = {
		}
		ai_will_do = {
		}
		offset = {
			x = 1
			trigger = {
				NOT = { has_country_flag = GER_NRAF_lutze}
			}
		}
		completion_reward = {
			country_event = new_ger.123

			custom_effect_tooltip = report_reward
			IF = {
				limit = {
					
					OR = {
						has_completed_focus = GER_kpd_in_coalition
						has_country_flag = GER_NRAF_strasser
					}
				}
				event_option_tooltip = new_ger.123.a
				custom_effect_tooltip = alternative_diplomatic_reward
			}
			event_option_tooltip = new_ger.123.b
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
	}
	focus = {
		id = GER_inspire_fear_of_the_liberals
		icon = GFX_goal_generic_censorship
		cost = 6
		prerequisite = { focus = GER_deal_with_inner_party_opposition}

		x = 1
		y = 1

		relative_position_id = GER_deal_with_inner_party_opposition

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
		}
		bypass = {
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_anti_liberal_fearmongering
			add_to_variable = { NRAF_seats = 5}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_NRAF_5_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = unlocks_GER_anti_liberal_fearmongering_decision_which_grants
			effect_tooltip = {
			
				add_stability = -0.05
				add_to_variable = { NRAF_seats = 10 }
				custom_effect_tooltip = GER_NRAF_10_tt
				IF = {
					limit = { NOT = { has_country_flag = GER_dvu_formed}}
					add_to_variable = { DNVP_seats = 5 }
					custom_effect_tooltip = GER_DNVP_5_tt
				}
				add_to_variable = { KPD_seats = 5 }
				custom_effect_tooltip = GER_KPD_5_tt
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			r56_ger_nraf_35 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = GER_the_national_salvation_law
		icon = GFX_goal_generic_fascist_bills
		cost = 5
		prerequisite = { focus = GER_inspire_fear_of_the_liberals}

		x = 0
		y = 2

		relative_position_id = GER_inspire_fear_of_the_liberals

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
		}
		bypass = {
		}
		ai_will_do = {
		}
		completion_reward = {
			add_to_variable = { GER_nsl_support = NRAF_seats_f}
			custom_effect_tooltip = GER_nsl_unlock_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_dictatorship_election_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			r56_ger_nraf_35 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_turn_the_opposition_into_regional_issues
		icon = GFX_goal_generic_trial
		cost = 10
		prerequisite = { focus = GER_the_national_salvation_law}
		prerequisite = { focus = GER_limited_federalist_reforms }

		x = 2
		y = 1

		relative_position_id = GER_the_national_salvation_law

		mutually_exclusive = {
		}

		available = {
			has_country_flag = GER_nsl_passed
		}
		bypass = {
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_democratic_opposition_2
				add_idea = GER_democratic_opposition_3
			}
			add_stability = 0.025
			IF = {
				limit = { has_dynamic_modifier = { modifier = GER_coalition_cost_modifier }}
				remove_dynamic_modifier = {
					modifier = GER_coalition_cost_modifier
				}
			}
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
				}
				uncomplete_national_focus = {
					focus = GER_dnvp_in_coalition
					uncomplete_children = no
					refund_political_power = no
				}
			}
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
				}
				uncomplete_national_focus = {
					focus = GER_kpd_in_coalition
					uncomplete_children = no
					refund_political_power = no
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}
	}
	focus = {
		id = GER_end_political_parties
		icon = GFX_goal_GER_ban_parties
		cost = 5
		prerequisite = { focus = GER_turn_the_opposition_into_regional_issues}
		prerequisite = { focus = GER_destroy_the_elites}

		x = 0
		y = 1

		relative_position_id = GER_turn_the_opposition_into_regional_issues

		mutually_exclusive = {
		}

		available = {
			NOT = { has_completed_focus = GER_hail_the_new_fuhrer}
			has_country_leader = {
				character = GER_otto_strasser
				ruling_only = yes
			}
		}
		bypass = {
		}
		ai_will_do = {
		}
		completion_reward = {
			add_political_power = 50
			add_popularity = {
				ideology = fascism
				popularity = -0.1
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = GER_democratic_opposition_3
				add_idea = GER_no_political_parties
			}
			set_party_name = {
				ideology = fascism
				name = GER_strasser_party
				long_name = GER_strasser_party
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}
	}
	focus = {
		id = GER_the_president_for_life
		icon = GFX_goal_GER_strasserism_eagle
		cost = 10
		prerequisite = { focus = GER_end_political_parties}

		x = 0
		y = 1

		relative_position_id = GER_end_political_parties

		mutually_exclusive = {
			focus = GER_hail_the_new_fuhrer
		}

		available = {
			has_country_leader = {
				character = GER_otto_strasser
				ruling_only = yes
			}
		}
		bypass = {
		}
		ai_will_do = {
		}
		completion_reward = {
			add_political_power = 50
			add_country_leader_trait = GER_president_for_life
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = GER_destroy_the_elites
		icon = GFX_goal_our_fate_is_our_own
		cost = 5
		prerequisite = { focus = GER_the_national_salvation_law}

		x = 0
		y = 1

		relative_position_id = GER_the_national_salvation_law

		mutually_exclusive = {
		}

		available = {
			has_country_flag = GER_nsl_passed
		}
		bypass = {
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = {
					has_idea = GER_wilhelm_iv_b
				}
				remove_ideas = GER_wilhelm_iv_b
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_2_b}
				remove_ideas = GER_wilhelm_iv_2_b
			}
			remove_ideas = GER_conflict_with_the_elites
		}
		search_filters = { FOCUS_FILTER_INDUSTRY}
	}
	focus = {
		id = GER_the_second_gleichschaltung
		icon = GFX_goal_generic_interal_instability
		cost = 10
		prerequisite = { focus = GER_the_national_salvation_law}

		x = -2
		y = 1

		relative_position_id = GER_the_national_salvation_law

		mutually_exclusive = {
		}

		available = {
			has_country_flag = GER_nsl_passed
			NOT = { has_completed_focus = GER_limited_federalist_reforms}
		}
		bypass = {
		}
		ai_will_do = {
		}
		completion_reward = {
			remove_ideas = GER_democratic_opposition_2
			custom_effect_tooltip = generic_skip_one_line_tt
			add_timed_idea = {
				idea = GER_democratic_opposition 
				days = 150
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_political_power = 50
			IF = {
				limit = { has_dynamic_modifier = { modifier = GER_coalition_cost_modifier }}
				remove_dynamic_modifier = {
					modifier = GER_coalition_cost_modifier
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
				}
				uncomplete_national_focus = {
					focus = GER_dnvp_in_coalition
					uncomplete_children = no
					refund_political_power = no
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
				}
				uncomplete_national_focus = {
					focus = GER_kpd_in_coalition
					uncomplete_children = no
					refund_political_power = no
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}
	}
	focus = {
		id = GER_declare_the_volksreich
		icon = GFX_goal_military_agreement_germany
		cost = 8
		prerequisite = { focus = GER_destroy_the_elites}
		prerequisite = { focus = GER_the_second_gleichschaltung focus = GER_turn_the_opposition_into_regional_issues}

		x = 0
		y = 1

		relative_position_id = GER_destroy_the_elites

		mutually_exclusive = {
		}

		available = {
			has_government = fascism
			OR = {
				has_country_leader = {
					character = GER_otto_strasser
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_viktor_lutze
					ruling_only = yes
				}
			}
		}
		bypass = {
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = { has_idea = GER_president_beck}
				remove_ideas = GER_president_beck
			}
			IF = {
				limit = { has_idea = GER_president_beck_2}
				remove_ideas = GER_president_beck_2
			}
			IF = {
				limit = {
					has_country_leader = {
						character = GER_viktor_lutze
						ruling_only = yes
					}
				}
				set_cosmetic_tag = GER_strasserite_state
			}
			else = {
				set_cosmetic_tag = GER_r56_strasserite_state
			}
			add_country_leader_trait = GER_man_of_the_volk
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_WAR_SUPPORT}
	}
	focus = {
		id = GER_hail_the_new_fuhrer
		icon = GFX_goal_GER_fuehrer
		cost = 10
		prerequisite = { focus = GER_declare_the_volksreich}

		x = 0
		y = 1

		relative_position_id = GER_declare_the_volksreich

		mutually_exclusive = {
			focus = GER_the_president_for_life
		}

		available = {
			NOT = { has_completed_focus = GER_end_political_parties}
			has_government = fascism
			OR = {
				has_country_leader = {
					character = GER_otto_strasser
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_viktor_lutze
					ruling_only = yes
				}
			}
		}
		bypass = {
		}
		ai_will_do = {
		}
		completion_reward = {
			add_popularity = {
				ideology = fascism
				popularity = 0.1
			}
			add_political_power = 50
			add_stability = 0.05
			custom_effect_tooltip = generic_skip_one_line_tt
			add_country_leader_trait = GER_der_fuhrer_fuhrerprinzip
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}
	}
	focus = {
		id = GER_bring_about_the_second_revolution
		icon = GFX_goal_GER_pres_for_life
		cost = 7.2
		prerequisite = { focus = GER_deal_with_inner_party_opposition}

		x = -1
		y = 1

		relative_position_id = GER_deal_with_inner_party_opposition

		mutually_exclusive = {
		}

		available = {
			NOT = { 
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			} }
			NOT = { 
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			} }
			
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
			NOT = {
				OR = {
					has_completed_focus = GER_liberalize_the_economy
					has_completed_focus = GER_limited_social_reform
				}
			}
		}
		bypass = {
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = {
					NOT = { has_completed_focus = GER_towards_a_workers_democracy}
				}
				complete_national_focus = GER_towards_a_workers_democracy
			}
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = GER_the_economic_revolution
			custom_effect_tooltip = generic_skip_one_line_tt
			r56_ger_nraf_70 = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY}
	}
	focus = {
		id = GER_crush_bourgeoise_captialism
		icon = GFX_focus_GER_wage_war_on_capitalism
		cost = 7.2
		prerequisite = { focus = GER_bring_about_the_second_revolution}

		x = 1
		y = 1

		relative_position_id = GER_bring_about_the_second_revolution

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
			has_country_flag = GER_nsl_passed
		}
		bypass = {
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_the_death_of_capitalism
			r56_ger_nraf_70 = yes
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_consolidate_socialist_reforms
		icon = GFX_social_welfare
		cost = 7.2
		prerequisite = { focus = GER_bring_about_the_second_revolution}

		x = -1
		y = 1

		relative_position_id = GER_bring_about_the_second_revolution

		mutually_exclusive = {
		}

		available = {
			OR = {
				has_completed_focus = GER_support_the_workers
				has_completed_focus = GER_a_planned_economy
			}
			
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
		}
		bypass = {
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_the_economic_revolution
				add_idea = GER_the_economic_revolution_2
			}
			add_political_power = 50
			r56_ger_nraf_70 = yes
		}
		search_filters = { FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = GER_a_true_volksgemeinschaft
		icon = GFX_goal_GER_deutsche_arbeitsfront
		cost = 10
		prerequisite = { focus = GER_consolidate_socialist_reforms }
		prerequisite = { focus = GER_crush_bourgeoise_captialism}

		x = 1
		y = 1

		relative_position_id = GER_consolidate_socialist_reforms

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
			OR = {
				has_country_leader = {
					character = GER_otto_strasser
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_viktor_lutze
					ruling_only = yes
				}
			}
		}
		bypass = {
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_the_economic_revolution_2
				add_idea = GER_volksgemeinschaft
			}
			add_country_leader_trait = GER_unifier_of_the_classes
			r56_ger_nraf_70 = yes
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY}
	}
	focus = {
		id = GER_fufill_the_legacy_of_rohm
		icon = GFX_goal_GER_rohm
		cost = 10
		prerequisite = { focus = GER_consolidate_socialist_reforms }
		prerequisite = { focus = GER_a_powerful_state }
		prerequisite = { focus = GER_crush_bourgeoise_captialism}

		x = -1
		y = 1

		relative_position_id = GER_consolidate_socialist_reforms

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
			OR = {
				has_country_leader = {
					character = GER_otto_strasser
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_viktor_lutze
					ruling_only = yes
				}
			}
		}
		bypass = {
		}
		ai_will_do = {
		}
		completion_reward = {
			add_political_power = 75
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_country_leader_trait = GER_heir_of_rohm
		}
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_radicalize_rearmament_efforts
		icon = GFX_goal_generic_munitions_factories
		cost = 8
		prerequisite = { focus = GER_deal_with_inner_party_opposition }

		x = -3
		y = 1

		relative_position_id = GER_deal_with_inner_party_opposition

		mutually_exclusive = {
		}

		available = {
			has_country_flag = GER_NRAF_lutze
			
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
		}
		allow_branch = {
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			NOT = { has_completed_focus = GER_pass_the_beck_constiution}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {	
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_demokratieschutzgesetz }
				NOT = { has_completed_focus = GER_found_the_new_german_state }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
				NOT = { has_country_flag = GER_NRAF_strasser }
			}
		}
		bypass = {
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_rapid_reamarmament
			r56_ger_nraf_50 = yes
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_INDUSTRY}
	}
	focus = {
		id = GER_centralize_the_state
		icon = GFX_goal_GER_sa_strasserism
		cost = 10
		prerequisite = { focus = GER_deal_with_inner_party_opposition }

		x = -5
		y = 1

		relative_position_id = GER_deal_with_inner_party_opposition

		mutually_exclusive = {
		}

		available = {
			has_country_flag = GER_NRAF_lutze
			
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
		}
		bypass = {
		}
		ai_will_do = {
		}
		allow_branch = {
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			NOT = { has_completed_focus = GER_pass_the_beck_constiution}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {	
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_demokratieschutzgesetz }
				NOT = { has_completed_focus = GER_found_the_new_german_state }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
				NOT = { has_country_flag = GER_NRAF_strasser }
			}
		}
		completion_reward = {
			add_ideas = GER_centralized_state
			r56_ger_nraf_70 = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_a_powerful_state
		icon = GFX_goal_spr_recruitment_drive
		cost = 10
		prerequisite = { focus = GER_centralize_the_state }
		prerequisite = { focus = GER_radicalize_rearmament_efforts }

		x = 1
		y = 1

		relative_position_id = GER_centralize_the_state

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
		}
		bypass = {
		}
		ai_will_do = {
		}
		completion_reward = {
			remove_ideas = GER_centralized_state
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = GER_rapid_reamarmament
				add_idea = GER_powerful_state
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			r56_ger_nraf_70 = yes
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY}
	}
	focus = {
		id = GER_dnvp_in_coalition
		icon = GFX_goal_ger_dnvp_victory
		cost = 0
		prerequisite = { focus = GER_hold_new_elections }
		prerequisite = { focus = GER_pass_the_beck_constiution_copy}

		x = -23
		y = 1

		relative_position_id = GER_hold_new_elections

		mutually_exclusive = {
		}

		available = {
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
		}
		ai_will_do = {
		}
		offset = {
			x = 5
			trigger = {
				has_country_flag = GER_dvu_formed
			}
		}
		offset = {
			x = 4
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_country_flag = GER_dvu_formed
				has_completed_focus = GER_goerdelers_new_party
				NOT = { has_country_flag = GER_adenauer_leadership}
			}
		}
		allow_branch = { 
			NOT = { has_country_flag = GER_dvu_formed }
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {	
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_move_towards_autocracy }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		offset = {
			trigger = {	
				NOT = {
					has_country_flag = GER_dvu_formed
					has_completed_focus = GER_a_martial_state
				}
			}
			x = 5
		}
		offset = {
			trigger = { 
				
				IF = {
					limit = {		
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					has_completed_focus = GER_a_martial_state
				}
				else = { has_completed_focus = GER_pass_the_beck_constiution }
			}
			x = 40
			y = -1
		}
		offset = {
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_a_martial_state
			}
			x = -15
		}
		completion_reward = {
			add_popularity = {
				ideology = fascism
				popularity = 0.03
			}
			add_popularity = {
				ideology = neutrality
				popularity = 0.03
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			hidden_effect = {
				IF = {
					limit = {
						NOT = {
							has_country_flag = GER_randomflag_1989
						}
					}
					country_event = {
						id = new_ger.12
						days = 35
					}
					set_country_flag = GER_randomflag1989
				}
			}
			IF = {
				limit = {
					check_variable = {
						var = GER_chosen_gov_leader
						value = 1.5
						compare = equals
					}
					NOT = { has_country_flag = GER_hugenberg_leadership }
				}
				IF = {
					limit = { 
						NOT = { has_government = neutrality}
					}
					set_politics = {
						ruling_party = neutrality
						elections_allowed = yes
					}
				}
				else_if = {
					limit = { has_elections = no }
					set_politics = {
						ruling_party = ROOT
						elections_allowed = yes
					}
				}
				set_party_name = {
					ideology = neutrality
					long_name = GER_dnvp_long
					name = GER_dnvp_short
				}
				promote_character = {
					character = GER_carl_friedrich_goerdeler
					ideology = despotism
				}
				set_country_leader_ideology = conservatism_n
			}
			IF = {
				limit = {
					check_variable = {
						var = GER_chosen_gov_leader
						value = 1.5
						compare = equals
					}
					has_country_flag = GER_hugenberg_leadership
				}
				IF = {
					limit = { 
						NOT = { has_government = fascism}
					}
					set_politics = {
						ruling_party = fascism
						elections_allowed = yes
					}
				}
				else_if = {
					limit = { has_elections = no }
					set_politics = {
						ruling_party = ROOT
						elections_allowed = yes
					}
				}
				set_party_name = {
					ideology = fascism
					long_name = GER_dnvp_long
					name = GER_dnvp_short
				}
				promote_character = {
					character = GER_alfred_hugenberg
					ideology = ultranationalism
				}
			}
			IF = {
				limit = { has_completed_focus = GER_engrain_antiurbanism}
				add_ideas = GER_agrarian_focus2
			}
			else_if = {
				limit = { has_completed_focus = GER_proper_agrarian_policy }
				add_ideas = GER_agrarian_focus
			}
			IF = {
				limit = { has_completed_focus = GER_the_spirit_of_blut_and_boden}
				add_ideas = GER_blut_and_boden
			}
			else_if = {
				limit = { has_completed_focus = GER_a_time_for_protectionism }
				add_ideas = GER_staunch_protectionism
			}
			IF = {
				limit = {has_completed_focus = GER_restore_the_old_estates}
				add_ideas = GER_great_junker_estates
			}
			else_if = {
				limit = { has_completed_focus = GER_alliance_with_the_junkers }
				add_ideas = GER_junker_support
			}
			IF = {
				limit = {has_completed_focus = GER_an_era_of_german_wealth}
				add_ideas = GER_national_economic_coordination_idea
				uncomplete_national_focus = {
					focus = GER_an_era_of_german_wealth
					uncomplete_children = no
					refund_political_power = no
				}
			}
			else_if = {
				limit = { has_completed_focus = GER_national_economic_coordination}
				add_ideas = GER_national_economic_coordination_idea
			}
			else_if = {
				limit = { has_completed_focus = GER_sensible_fiscal_policy}
				add_ideas = GER_sensible_fiscal_policy_idea
			}
			IF = {
				limit = { has_completed_focus = GER_a_new_era_of_german_science}
				uncomplete_national_focus = {
					focus = GER_a_new_era_of_german_science
					uncomplete_children = no
					refund_political_power = no
				}
				add_ideas = GER_jewish_scientists_returning
			}
			else_if = {
				limit = { has_completed_focus = GER_bring_back_einstein }
				add_ideas = GER_jewish_scientists_returning
			}
			IF = {
				limit = {
					NOT = { has_completed_focus = GER_goerdelers_new_party }
				}
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = GER_alfred_hugenberg
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			IF = {
				limit = {
					NOT = { has_completed_focus = GER_hugenburgs_legacy }
				}
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = GER_carl_friedrich_goerdeler
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_theodor_duesterberg
			hidden_effect = {
				remove_country_leader_trait = desperate_gambit
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER}

	}
	focus = {
		id = GER_hugenburgs_legacy
		icon = GFX_goal_GER_entrench_honor_in_society
		cost = 0
		prerequisite = { focus = GER_dvu_in_coalition focus = GER_dnvp_in_coalition }
		mutually_exclusive = { focus = GER_goerdelers_new_party}

		x = -2
		y = 1

		relative_position_id = GER_dnvp_in_coalition

		mutually_exclusive = {
		}

		available = {
			custom_trigger_tooltip = {
				has_completed_focus = GER_hugenburgs_legacy
				tooltip = GER_hugenburgs_legacy_tt
			}
		}
		ai_will_do = {
		}
		allow_branch = { 
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {	
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_goerdelers_new_party }
				NOT = { has_completed_focus = GER_move_towards_autocracy }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		offset = {
			x = 3
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				OR = {
					has_completed_focus = GER_hugenburgs_legacy
					has_completed_focus = GER_goerdelers_new_party
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_WAR_SUPPORT}
		completion_reward = {
			set_country_flag = GER_hugenberg_leadership
			IF = {
				limit = {
					OR = {
						check_variable = {
							var = GER_chosen_gov_leader
							value = 1.5
							compare = equals
						}
						check_variable = {
							var = GER_chosen_gov_leader
							value = 2
							compare = equals
						}
					}
				}
				set_politics = {
					ruling_party = fascism
					elections_allowed = yes
				}
				IF = {
					limit = {
						check_variable = {
							var = GER_chosen_gov_leader
							value = 2
							compare = equals
						}
					}
					set_party_name = {
						ideology = fascism
						long_name = GER_dvu_long
						name = GER_dvu_short
					}
					promote_character = {
						character = GER_alfred_hugenberg
						ideology = ultranationalism
					}
				}
				else = {
					
					set_party_name = {
						ideology = fascism
						long_name = GER_dnvp_long
						name = GER_dnvp_short
					}
				}
				promote_character = {
					character = GER_alfred_hugenberg
					ideology = ultranationalism
				}
			}
			add_war_support = 0.05
			add_popularity = {
				ideology = fascism
				popularity = 0.075
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_alfred_hugenberg
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_stability = 0.5 }
				custom_effect_tooltip = GER_DVU_stab_0.5_tt
				add_to_variable = { DVU_bop = -0.5 }
				custom_effect_tooltip = GER_DVU_bop_-0.5_tt
			}
			mark_focus_tree_layout_dirty = yes
		}

	}
	focus = {
		id = GER_proper_agrarian_policy
		icon = GFX_goal_generic_wheat
		cost = 5
		prerequisite = { focus = GER_hugenburgs_legacy }

		x = 0
		y = 1

		relative_position_id = GER_hugenburgs_legacy

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_agrarian_focus
			r56_ger_dnvp_35 = yes
		}
		search_filters = {FOCUS_FILTER_INDUSTRY}
	}
	focus = {
		id = GER_a_time_for_protectionism
		icon = GFX_focus_GER_customs_union
		cost = 8
		prerequisite = { focus = GER_proper_agrarian_policy }

		x = 1
		y = 1

		relative_position_id = GER_proper_agrarian_policy

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_staunch_protectionism
			IF = {
				limit = {
					has_idea = free_trade
				}
				swap_ideas = {
					remove_idea = free_trade
					add_idea = export_focus
				}
			}
			else_if = {
				limit = {
					has_idea = export_focus
				}
				swap_ideas = {
					remove_idea = export_focus
					add_idea = limited_exports
				}
			}
			r56_ger_dnvp_50 = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY}

	}
	focus = {
		id = GER_engrain_antiurbanism
		icon = GFX_goal_generic_promote_ruralism
		cost = 5
		prerequisite = { focus = GER_proper_agrarian_policy }

		x = 0
		y = 2

		relative_position_id = GER_proper_agrarian_policy

		mutually_exclusive = {
		}

		available = {
			NOT = { has_completed_focus = GER_increase_municipal_autonomy}
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_agrarian_focus
				add_idea = GER_agrarian_focus2
			}
			r56_ger_dnvp_35 = yes
			IF = {
				limit = {
					controls_state = 64
					controls_state = 53
					controls_state = 998
				}
				64 = { add_manpower = -50000}
				53 = { add_manpower = 30000}
				998 = { add_manpower = 20000}
			}
			IF = {
				limit = {
					controls_state = 989
					controls_state = 63
					controls_state = 5
				}
				989 = { add_manpower = -50000}
				63 = { add_manpower = 30000}
				5 = { add_manpower = 20000}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_MANPOWER}
	}
	focus = {
		id = GER_the_spirit_of_blut_and_boden
		icon = GFX_goal_GER_farmer
		cost = 5
		prerequisite = { focus = GER_a_time_for_protectionism }

		x = 0
		y = 2

		relative_position_id = GER_a_time_for_protectionism

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_staunch_protectionism
				add_idea = GER_blut_and_boden
			}
			add_war_support = 0.05
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
				}
				add_to_variable = { DVU_seats = 5 }
				custom_effect_tooltip = GER_DVU_5_tt
			}
			else = {
				add_to_variable = { DNVP_seats = 5 }
				custom_effect_tooltip = GER_DNVP_5_tt
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			r56_ger_dnvp_35 = yes
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_wilhelm_von_gayl
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_INDUSTRY}

	}
	focus = {
		id = GER_alliance_with_the_junkers
		icon = GFX_goal_GER_junkers
		cost = 6
		prerequisite = { focus = GER_proper_agrarian_policy }

		x = -1
		y = 1

		relative_position_id = GER_proper_agrarian_policy

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_junker_support
			r56_ger_dnvp_35 = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY}
	}
	focus = {
		id = GER_restore_the_old_estates
		icon = GFX_goal_GER_junker_farm
		cost = 6
		prerequisite = { focus = GER_alliance_with_the_junkers}

		x = 0
		y = 2

		relative_position_id = GER_alliance_with_the_junkers

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_junker_support
				add_idea = GER_great_junker_estates
			}
			r56_ger_dnvp_35 = yes
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = GER_germany_glorious_as_it_once_was
		icon = GFX_focus_GER_glory_to_the_imperial_army
		cost = 10
		prerequisite = { focus = GER_engrain_antiurbanism}
		prerequisite = { focus = GER_restore_the_old_estates}
		prerequisite = { focus = GER_the_spirit_of_blut_and_boden}

		x = 0
		y = 2

		relative_position_id = GER_engrain_antiurbanism

		mutually_exclusive = {
		}

		available = {
			OR = {
				has_country_leader = {
					character = GER_alfred_hugenberg
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_ludwig_beck
					ruling_only = yes
				}
			}
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_country_leader_trait = GER_harbringer_of_normalcy
			add_stability = 0.05
			add_political_power = 100
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
				}
				add_to_variable = { DVU_seats = 5 }
				custom_effect_tooltip = GER_DVU_5_tt
			}
			else = {
				add_to_variable = { DNVP_seats = 5 }
				custom_effect_tooltip = GER_DNVP_5_tt
			}
			r56_ger_dnvp_70 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY}
	}
	focus = {
		id = GER_highten_nationalist_rethoric
		icon = GFX_focus_GER_further_demands_for_polish_territory
		cost = 5
		prerequisite = { focus = GER_dnvp_in_coalition focus = GER_nraf_in_coalition focus = GER_dvu_in_coalition }

		x = -7
		y = 1

		relative_position_id = GER_dnvp_in_coalition

		mutually_exclusive = {
		}

		available = {
			OR = {
				
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		offset = {
			x = 3
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				OR = {
					has_completed_focus = GER_hugenburgs_legacy
					has_completed_focus = GER_goerdelers_new_party
				}
			}
		}
		completion_reward = {
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
				}
				add_to_variable = { DNVP_seats = 10 }
				custom_effect_tooltip = GER_DNVP_10_tt
			}
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
				}
				add_to_variable = { NRAF_seats = 10 }
				custom_effect_tooltip = GER_NRAF_10_tt
			}
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
				}
				add_to_variable = { DVU_seats = 10 }
				custom_effect_tooltip = GER_DVU_10_tt
				add_to_variable = { DVU_stability = -0.5 }
				custom_effect_tooltip = GER_DVU_stab_-0.5_tt
				add_to_variable = { DVU_bop = -0.5 }
				custom_effect_tooltip = GER_DVU_bop_-0.5_tt
			}
			add_stability = -0.05
			add_war_support = 0.05
			add_political_power = 50
			r56_ger_nraf_20 = yes
			r56_ger_dnvp_20 = yes
			r56_ger_dvu_20 = yes
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_positive_christianty
		icon = GFX_goal_GER_gott_mit_uns
		cost = 5
		prerequisite = { focus = GER_nraf_in_coalition focus = GER_dnvp_in_coalition }

		x = 12
		y = 1

		relative_position_id = GER_nraf_in_coalition

		offset = {
			trigger = { 
				OR = {
					has_completed_focus = GER_pass_the_beck_constiution
					AND = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
						has_completed_focus = GER_a_martial_state
					}
				}
			}
			x = 40
			y = -1
		}
		offset = {
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_a_martial_state
			}
			x = -15
		}
		offset = {
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_country_flag = GER_NRAF_lutze
			}
			x = -5
		}
		mutually_exclusive = {
		}

		available = {
			OR = {
				
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
				AND = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
					has_completed_focus = GER_hugenburgs_legacy
				}
			}
			NOT = { has_completed_focus = GER_embrace_secularism }
			NOT = { has_completed_focus = GER_undo_the_secularization_of_germany}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_positive_christianty_idea
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
				}
				add_to_variable = { DNVP_seats = 5 }
				custom_effect_tooltip = GER_DNVP_5_tt
			}
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
				}
				add_to_variable = { NRAF_seats = 5 }
				custom_effect_tooltip = GER_NRAF_5_tt
			}
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
				}
				add_to_variable = { DVU_seats = 5 }
				custom_effect_tooltip = GER_DVU_5_tt
			}
			r56_ger_nraf_35 = yes
			r56_ger_dnvp_35 = yes
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_hanns_kerrl
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_rehabilitate_mueller
		icon = GFX_goal_SPR_establish_traditional_cortes
		cost = 5
		prerequisite = { focus = GER_positive_christianty }

		x = -1
		y = 1

		relative_position_id = GER_positive_christianty

		mutually_exclusive = {
		}

		available = {
			OR = {
				
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
				AND = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
					has_completed_focus = GER_hugenburgs_legacy
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_ludwig_mueller
			r56_ger_nraf_20 = yes
			r56_ger_dnvp_20 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER }
	}
	focus = {
		id = GER_manipulate_the_churches
		icon = GFX_goal_QUE_clerical_fascism
		cost = 7.2
		prerequisite = { focus = GER_positive_christianty }

		x = 1
		y = 1

		relative_position_id = GER_positive_christianty

		mutually_exclusive = {
		}

		available = {
			OR = {
				
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
				AND = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
					has_completed_focus = GER_hugenburgs_legacy
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_political_power = 25
			swap_ideas = {
				remove_idea = GER_positive_christianty_idea
				add_idea = GER_positive_christianty_2
			}
			hidden_effect = {
				country_event = {
					id = new_ger.23
					days = 30
				}
			}
			r56_ger_nraf_50 = yes
			r56_ger_dnvp_50 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }

	}
	focus = {
		id = GER_ensure_a_loyal_clergyship
		icon = GFX_goal_christianity_and_state
		cost = 7.2
		prerequisite = { focus = GER_rehabilitate_mueller }
		prerequisite = { focus = GER_manipulate_the_churches}

		x = -1
		y = 1

		relative_position_id = GER_manipulate_the_churches

		mutually_exclusive = {
		}

		available = {
			OR = {
				
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
				AND = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
					has_completed_focus = GER_hugenburgs_legacy
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
				}
				add_to_variable = { DNVP_seats = 10 }
				custom_effect_tooltip = GER_DNVP_10_tt
			}
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
				}
				add_to_variable = { NRAF_seats = 10 }
				custom_effect_tooltip = GER_NRAF_10_tt
			}
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
				}
				add_to_variable = { DVU_seats = 10 }
				custom_effect_tooltip = GER_DVU_10_tt
				add_to_variable = { DVU_bop = -0.5 }
				custom_effect_tooltip = GER_DVU_bop_-0.5_tt
			}
			swap_ideas = {
				remove_idea = GER_positive_christianty_2
				add_idea = GER_positive_christianty_3
			}
			r56_ger_nraf_50 = yes
			r56_ger_dnvp_50 = yes
		}
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_a_patriotic_german_church
		icon = GFX_goal_CHL_hispanic_pan_nationalism
		cost = 10
		prerequisite = { focus = GER_ensure_a_loyal_clergyship }

		x = 0
		y = 1

		relative_position_id = GER_ensure_a_loyal_clergyship

		mutually_exclusive = {
		}

		available = {
			has_war_with_major = yes
			OR = {
				
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
				AND = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
					has_completed_focus = GER_hugenburgs_legacy
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_positive_christianty_3
				add_idea = GER_positive_christianty_4
			}
			IF = {
				limit = { has_country_flag = GER_catholic_autonomy_flag}
				every_state = {
					limit = {
						OR = {
							state = 53
							state = 52
							state = 923
							state = 67
							state = 54
							state = 51
							state = 57
						}
					}
					remove_dynamic_modifier = {
						modifier = GER_catholic_autonomy
					}
				}
				clr_country_flag = GER_catholic_autonomy_flag
			}
			r56_ger_nraf_50 = yes
			r56_ger_dnvp_60 = yes
		}
		search_filters = {FOCUS_FILTER_WAR_SUPPORT}
	}
	focus = {
		id = GER_an_eye_towards_the_east
		icon = GFX_focus_GER_eastern_grand_duchies
		cost = 7.2
		prerequisite = { focus = GER_highten_nationalist_rethoric}

		x = 0
		y = 2

		relative_position_id = GER_highten_nationalist_rethoric

		mutually_exclusive = {
		}

		available = {
			has_completed_focus = GER_reaffirm_territorial_claims
			OR = {
				
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
				AND = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
					has_completed_focus = GER_hugenburgs_legacy
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_political_power = 50
			add_stability = -0.025
			add_war_support = 0.05
			custom_effect_tooltip = generic_skip_one_line_tt
			every_state = {
				limit = {
					OR = {
						state = 190
						state = 811
						state = 809
						state = 808
						state = 810
						state = 12
						state = 13
						state = 812
						state = 191
						state = 813
						state = 209
					}
				}
				add_claim_by = ROOT
			}
			IF = {
				limit = {
					has_non_aggression_pact_with = LAT
				}
				diplomatic_relation = {
					country = LAT
					relation = non_aggression_pact
					active = no
				}
			}
			IF = {
				limit = {
					has_non_aggression_pact_with = EST
				}
				diplomatic_relation = {
					country = EST
					relation = non_aggression_pact
					active = no
				}
			}
			IF = {
				limit = {
					has_non_aggression_pact_with = SOV
				}
				diplomatic_relation = {
					country = SOV
					relation = non_aggression_pact
					active = no
				}
			}
			r56_ger_nraf_20 = yes
			r56_ger_dnvp_20 = yes
			unlock_decision_tooltip = GER_a_deal_with_the_russian_state
			add_threat = 4
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_strike_the_baltic
		icon = GFX_goal_GER_strike_the_baltic
		cost = 7.2
		prerequisite = { focus = GER_an_eye_towards_the_east }

		x = -2
		y = 1

		relative_position_id = GER_an_eye_towards_the_east

		mutually_exclusive = {
		}

		available = {
			OR = {
				
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
				AND = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
					has_completed_focus = GER_hugenburgs_legacy
				}
			}
		}
		ai_will_do = {
		}
		bypass = {
			NOT = {	
				any_country = {
					NOT = {
						has_war_with = ROOT
						original_tag = ROOT
					}	
					any_owned_state = {			
						OR = {
							state = 190
							state = 811
							state = 809
							state = 808
							state = 810
							state = 12
							state = 13
							state = 812
							state = 191
							state = 813
							state = 209
						}
					}
				}
			}
		}
		completion_reward = {
			every_country = {
				limit = {
					NOT = {
						has_war_with = ROOT
						original_tag = ROOT
					}	
					any_owned_state = {			
						OR = {
							state = 190
							state = 811
							state = 809
							state = 808
							state = 810
							state = 12
							state = 13
							state = 812
							state = 191
							state = 813
							state = 209
						}
					}
				}
				country_event = new_ger.19
			}
			r56_ger_nraf_50 = yes
			r56_ger_dnvp_50 = yes
		}
		will_lead_to_war_with = EST
		will_lead_to_war_with = LAT
		will_lead_to_war_with = SOV
		search_filters = { FOCUS_FILTER_ANNEXATION}

	}
	focus = {
		id = GER_integrate_our_new_lands
		icon = GFX_goal_GER_great_black_menace
		cost = 5
		prerequisite = { focus = GER_an_eye_towards_the_east}

		x = 0
		y = 1

		relative_position_id = GER_an_eye_towards_the_east

		mutually_exclusive = {
		}

		available = {
			OR = {
				
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
				AND = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
					has_completed_focus = GER_hugenburgs_legacy
				}
			}
			count_triggers = {
				amount = 3
				controls_state = 812
				controls_state = 191
				controls_state = 813
				controls_state = 209
				controls_state = 13
				controls_state = 12
				controls_state = 810
				controls_state = 809
				controls_state = 808
				controls_state = 811
				controls_state = 190
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			custom_effect_tooltip = GER_colonizing_the_easst_2_tt
			unlock_decision_category_tooltip = GER_colonizing_the_east
			r56_ger_nraf_20 = yes
			r56_ger_dnvp_20 = yes
		}
		search_filters = { FOCUS_FILTER_ANNEXATION}

	}
	focus = {
		id = GER_ensure_permanent_food_security
		icon = GFX_goal_agrarian_reform
		cost = 10
		prerequisite = { focus = GER_integrate_our_new_lands }

		x = 0
		y = 1

		relative_position_id = GER_integrate_our_new_lands

		mutually_exclusive = {
		}

		available = {
			count_triggers = {
				amount = 7
				812 = {
					AND = {
						is_core_of = ROOT
						is_owned_and_controlled_by = ROOT
					}
				}
				191 = {
					AND = {
						is_core_of = ROOT
						is_owned_and_controlled_by = ROOT
					}
				}
				813 = {
					AND = {
						is_core_of = ROOT
						is_owned_and_controlled_by = ROOT
					}
				}
				209= {
					AND = {
						is_core_of = ROOT
						is_owned_and_controlled_by = ROOT
					}
				}
				13 = {
					AND = {
						is_core_of = ROOT
						is_owned_and_controlled_by = ROOT
					}
				}
				12 = {
					AND = {
						is_core_of = ROOT
						is_owned_and_controlled_by = ROOT
					}
				}
				810 = {
					AND = {
						is_core_of = ROOT
						is_owned_and_controlled_by = ROOT
					}
				}
				809 = {
					AND = {
						is_core_of = ROOT
						is_owned_and_controlled_by = ROOT
					}
				}
				808 = {
					AND = {
						is_core_of = ROOT
						is_owned_and_controlled_by = ROOT
					}
				}
				811 = {
					AND = {
						is_core_of = ROOT
						is_owned_and_controlled_by = ROOT
					}
				}
				190 = {
					AND = {
						is_core_of = ROOT
						is_owned_and_controlled_by = ROOT
					}
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_ensured_food_supply
			custom_effect_tooltip = GER_permanent_food_security_tt
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY}

	}
	focus = {
		id = GER_radicalize_german_nationalism
		icon = GFX_focus_generic_fascist_propaganda
		cost = 5
		prerequisite = { focus = GER_highten_nationalist_rethoric}

		x = -1
		y = 1

		relative_position_id = GER_highten_nationalist_rethoric

		mutually_exclusive = {
			focus = GER_limited_reconciliation
		}

		available = {
			NOT = { has_completed_focus = GER_the_fight_against_german_antisemitism }
			OR = { 
				
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
				}
				add_to_variable = { DNVP_seats = 10 }
				custom_effect_tooltip = GER_DNVP_10_tt
			}
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
				}
				add_to_variable = { NRAF_seats = 10 }
				custom_effect_tooltip = GER_NRAF_10_tt
			}
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
				}
				add_to_variable = { DVU_seats = 10 }
				custom_effect_tooltip = GER_DVU_10_tt
				add_to_variable = { DVU_stability = -0.5 }
				custom_effect_tooltip = GER_DVU_stab_-0.5_tt
				add_to_variable = { DVU_bop = -0.5 }
				custom_effect_tooltip = GER_DVU_bop_-0.5_tt
			}
			add_stability = -0.1
			add_political_power = 100
			add_manpower = -1000
			r56_ger_nraf_20 = yes
			r56_ger_dnvp_20 = yes
			r56_ger_dvu_20 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_dvu_in_coalition
		icon = GFX_goal_ger_cvu_victory
		cost = 10
		dynamic = yes
		prerequisite = { focus = GER_hold_new_elections }

		x = -14
		y = 1

		relative_position_id = GER_hold_new_elections

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
		}
		ai_will_do = {
		}
		allow_branch = { 
			has_country_flag = GER_dvu_formed
			OR = {
				AND = {
					NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
					NOT = { has_completed_focus = GER_pass_the_beck_constiution}
					OR = {
						has_game_rule = {
							rule = GER_focus_tree_selection
							option = R56_TREE
						}
						AND = {
							has_game_rule = {
								rule = GER_focus_tree_selection
								option = STANDARD_TREE
							}
							NOT = { 
								has_dlc = "Gotterdammerung"
							}
						}
					}
					IF = {
						limit = {	
							has_game_rule = {
								rule = obsolete_focus_branches_visibility
								option = HIDE
							}
						}
						NOT = { has_completed_focus = GER_found_the_new_german_state }
						NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
					}
				}
				AND = {
					NOT = { has_completed_focus = GER_pass_the_beck_constiution}
					NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke }
					OR = {
						has_game_rule = {
							rule = GER_focus_tree_selection
							option = R56_TREE
						}
						AND = {
							has_game_rule = {
								rule = GER_focus_tree_selection
								option = STANDARD_TREE
							}
							NOT = { 
								has_dlc = "Gotterdammerung"
							}
						}
					}
					IF = {
						limit = {		
							has_game_rule = {
								rule = obsolete_focus_branches_visibility
								option = HIDE
							}
						}
						NOT = { has_completed_focus = GER_found_the_german_interim_government }
						NOT = { has_completed_focus = GER_a_martial_state}
						NOT = { has_completed_focus = GER_move_towards_autocracy }
						NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
					}
				}
			}
		}
		offset = {
			x = 5
			trigger = {
				has_country_flag = GER_dvu_formed
			}
		}
		offset = {
			x = 4
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_country_flag = GER_dvu_formed
				has_completed_focus = GER_goerdelers_new_party
				NOT = { has_country_flag = GER_adenauer_leadership}
			}
		}
		completion_reward = {
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = {
					NOT = { has_completed_focus = GER_end_the_party_rift}
				}
				add_ideas = GER_dvu_rift
			}
			hidden_effect = {
				IF = {
					limit = {
						NOT = {
							has_country_flag = GER_randomflag_1989
						}
					}
					country_event = {
						id = new_ger.12
						days = 35
					}
					set_country_flag = GER_randomflag1989
				}
			}
			IF = {
				limit = {
					check_variable = {
						var = GER_chosen_gov_leader
						value = 2
						compare = equals
					}
					NOT = { has_country_flag = GER_hugenberg_leadership }
					NOT = { has_country_flag = GER_dvu_stegerwald }
					NOT = { has_country_flag = GER_dvu_adenauer }
				}
				IF = {
					limit = { 
						NOT = { has_government =neutrality}
					}
					set_politics = {
						ruling_party = neutrality
						elections_allowed = yes
					}
				}
				else_if = {
					limit = { has_elections = no }
					set_politics = {
						ruling_party = ROOT
						elections_allowed = yes
					}
				}
				IF = {
					limit = { NOT = { has_country_flag = GER_the_fullness_of_german_conservatism_flag }}
					set_party_name = {
						ideology = neutrality
						long_name = GER_cvu_long
						name = GER_cvu_short
					}
				}
				else = {
					set_party_name = {
						ideology = neutrality
						long_name = GER_dckp_long
						name = GER_dckp_short
					}
				}
				promote_character = {
					character = GER_carl_friedrich_goerdeler
					ideology = despotism
				}
				set_country_leader_ideology = conservatism_n
			}
			IF = {
				limit = {
					check_variable = {
						var = GER_chosen_gov_leader
						value = 2
						compare = equals
					}
					has_country_flag = GER_dvu_stegerwald
				}
				IF = {
					limit = { 
						NOT = { has_government =neutrality}
					}
					set_politics = {
						ruling_party = neutrality
						elections_allowed = yes
					}
				}
				else_if = {
					limit = { has_elections = no }
					set_politics = {
						ruling_party = ROOT
						elections_allowed = yes
					}
				}
				IF = {
					limit = { NOT = { has_completed_focus = GER_the_democratic_hegemon_of_germany}}
					set_party_name = {
						ideology = neutrality
						long_name = GER_cvu_long
						name = GER_cvu_short
					}
				}
				else = {
					set_party_name = {
						ideology = neutrality
						long_name = GER_dcp_long
						name = GER_dcp_short
					}
				}
				promote_character = {
					character = GER_adam_stegerwald
					ideology = conservatism_n
				}
			}
			IF = {
				limit = {
					check_variable = {
						var = GER_chosen_gov_leader
						value = 2
						compare = equals
					}
					has_country_flag = GER_dvu_adenauer
				}
				IF = {
					limit = { 
						NOT = { has_government = democratic}
					}
					set_politics = {
						ruling_party = democratic
						elections_allowed = yes
					}
				}
				else_if = {
					limit = { has_elections = no }
					set_politics = {
						ruling_party = ROOT
						elections_allowed = yes
					}
				}
				IF = {
					limit = { NOT = { has_completed_focus = GER_the_democratic_hegemon_of_germany}}
					set_party_name = {
						ideology = democratic
						long_name = GER_cvu_long
						name = GER_cvu_short
					}
				}
				else = {
					set_party_name = {
						ideology = democratic
						long_name = GER_dcp_long
						name = GER_dcp_short
					}
				}
				promote_character = {
					character = GER_konrad_adenauer
					ideology = conservatism
				}
			}
			IF = {
				limit = {
					check_variable = {
						var = GER_chosen_gov_leader
						value = 2
						compare = equals
					}
					has_country_flag = GER_hugenberg_leadership
				}
				IF = {
					limit = { 
						NOT = { has_government = fascism}
					}
					set_politics = {
						ruling_party = fascism
						elections_allowed = yes
					}
				}
				else_if = {
					limit = { has_elections = no }
					set_politics = {
						ruling_party = ROOT
						elections_allowed = yes
					}
				}
				set_party_name = {
					ideology = neutrality
					long_name = GER_cvu_long
					name = GER_cvu_short
				}
				promote_character = {
					character = GER_alfred_hugenberg
					ideology = ultranationalism
				}
			}
			IF = {
				limit = { has_completed_focus = GER_engrain_antiurbanism}
				add_ideas = GER_agrarian_focus2
			}
			else_if = {
				limit = { has_completed_focus = GER_proper_agrarian_policy }
				add_ideas = GER_agrarian_focus
			}
			IF = {
				limit = { has_completed_focus = GER_the_spirit_of_blut_and_boden}
				add_ideas = GER_blut_and_boden
			}
			else_if = {
				limit = { has_completed_focus = GER_a_time_for_protectionism }
				add_ideas = GER_staunch_protectionism
			}
			IF = {
				limit = {has_completed_focus = GER_restore_the_old_estates}
				add_ideas = GER_great_junker_estates
			}
			else_if = {
				limit = { has_completed_focus = GER_alliance_with_the_junkers }
				add_ideas = GER_junker_support
			}
			IF = {
				limit = {has_completed_focus = GER_an_era_of_german_wealth}
				add_ideas = GER_national_economic_coordination_idea
				uncomplete_national_focus = {
					focus = GER_an_era_of_german_wealth
					uncomplete_children = no
					refund_political_power = no
				}
			}
			else_if = {
				limit = { has_completed_focus = GER_national_economic_coordination}
				add_ideas = GER_national_economic_coordination_idea
			}
			else_if = {
				limit = { has_completed_focus = GER_sensible_fiscal_policy}
				add_ideas = GER_sensible_fiscal_policy_idea
			}
			IF = {
				limit = { has_completed_focus = GER_a_new_era_of_german_science}
				uncomplete_national_focus = {
					focus = GER_a_new_era_of_german_science
					uncomplete_children = no
					refund_political_power = no
				}
				add_ideas = GER_jewish_scientists_returning
			}
			else_if = {
				limit = { has_completed_focus = GER_bring_back_einstein }
				add_ideas = GER_jewish_scientists_returning
			}
			IF = {
				limit = { has_completed_focus = GER_foster_german_democracy }
				add_ideas = GER_christianity_consolidated
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_konrad_adenauer
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_adam_stegerwald
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_jacob_kaiser
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_fritz_schaffer
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_max_buchner
			hidden_effect = {
				remove_country_leader_trait = desperate_gambit
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER}
	}
	focus = {
		id = GER_goerdelers_new_party
		icon = GFX_focus_GER_german_hegemony_in_the_middle_east_neutrality
		cost = 0
		prerequisite = { focus = GER_dnvp_in_coalition focus = GER_dvu_in_coalition }
		mutually_exclusive = { focus = GER_hugenburgs_legacy }
		x = 2
		y = 1

		relative_position_id = GER_dnvp_in_coalition

		mutually_exclusive = {
		}

		available = {
			custom_trigger_tooltip = {
				has_completed_focus = GER_goerdelers_new_party
				tooltip = GER_goerdelers_new_party_tt
			}
		}
		ai_will_do = {
		}
		allow_branch = { 
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {	
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_hugenburgs_legacy }
				NOT = { has_completed_focus = GER_move_towards_autocracy }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		completion_reward = {
			add_stability = 0.05
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
			add_political_power = 50
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
				}
				add_to_variable = { DVU_seats = 10 }
				custom_effect_tooltip = GER_DVU_10_tt
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_stability = 0.5 }
				custom_effect_tooltip = GER_DVU_stab_0.5_tt
				add_to_variable = { DVU_bop = -0.5 }
				custom_effect_tooltip = GER_DVU_bop_-0.5_tt
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_gottfried_reinhold_treviranus
			mark_focus_tree_layout_dirty = yes
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_fight_for_dvu_stability
		icon = GFX_focus_generic_self_management
		cost = 5
		dynamic = yes
		prerequisite = { focus = GER_dvu_in_coalition }
		x = 1
		y = 1

		relative_position_id = GER_dvu_in_coalition

		mutually_exclusive = {
			focus = GER_utilize_the_zentrum_freeze
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			unlock_decision_tooltip = GER_cooperative_congress
			unlock_decision_tooltip = GER_active_stabilization_measures
			unlock_decision_tooltip = GER_pro_dvu_bribes
			r56_ger_dvu_35 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}
	}
	focus = {
		id = GER_utilize_the_zentrum_freeze
		icon = GFX_focus_AFG_work_with_german_inteligence
		cost = 5
		prerequisite = { focus = GER_dvu_in_coalition }
		x = -1
		y = 1

		relative_position_id = GER_dvu_in_coalition

		mutually_exclusive = {
			focus = GER_fight_for_dvu_stability
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
			has_completed_focus = GER_hugenburgs_legacy
			custom_trigger_tooltip = {
				tooltip = GER_dvu_bop_-2_tt		
				check_variable = {
					var = DVU_bop
					value = -2
					compare = less_than_or_equals
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_days_mission_timeout = {
				mission = GER_the_zentrum_abandons_hugenberg
				days = 40
			}
			add_to_variable = { DVU_stability = -1 }
			custom_effect_tooltip = GER_DVU_stab_-1_tt
			custom_effect_tooltip = GER_dnvp_big_share_tt
		}
		search_filters = { FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_knock_stegerwald_down_a_peg
		icon = GFX_focus_NOR_lurk_in_the_shadows
		cost = 5
		prerequisite = { focus = GER_utilize_the_zentrum_freeze }
		x = 0
		y = 1

		relative_position_id = GER_utilize_the_zentrum_freeze

		mutually_exclusive = {
		}

		available = {
			has_country_flag = GER_stegerwald_leadership
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			custom_effect_tooltip = GER_dnvp_big_share_tt
			GER_collapse_dvu = yes
			custom_effect_tooltip = generic_skip_one_line_tt
			clr_country_flag = GER_stegerwald_leadership
			set_country_flag = GER_adenauer_leadership
			complete_national_focus = GER_adenauers_chance
			GER_undo_gov = yes
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_undo_gov_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			uncomplete_national_focus = {
				focus = GER_the_party_under_stegerwald
				uncomplete_children = yes
				refund_political_power = no
			}
			set_country_flag = {
				flag = GER_mad_zentrum
				value = 1
				days = 250
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_end_the_party_rift
		icon = GFX_goal_generic_improve_relations
		cost = 7
		prerequisite = { focus = GER_fight_for_dvu_stability }
		x = 0
		y = 1

		relative_position_id = GER_fight_for_dvu_stability

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
			custom_trigger_tooltip = {
				tooltip = GER_dvu_stable_tooltip
				check_variable = {
					var = DVU_stability
					value = 5
					compare = greater_than_or_equals
				}
			}
			has_country_flag = GER_dvu_rule_secured
		}
		ai_will_do = {
		}
		completion_reward = {
			remove_ideas = GER_dvu_rift
			r56_ger_dvu_70 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}

	}
	focus = {
		id = GER_the_fullness_of_german_conservatism
		icon = GFX_goal_GER_flag_german_empire
		cost = 10
		prerequisite = { focus = GER_end_the_party_rift }
		mutually_exclusive = { focus = GER_the_democratic_hegemon_of_germany}
		x = -1
		y = 1

		relative_position_id = GER_end_the_party_rift

		mutually_exclusive = {
		}

		available = {
			OR = {
				has_country_leader = {
					character = GER_carl_friedrich_goerdeler
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_adam_stegerwald
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_konrad_adenauer
					ruling_only = yes
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			country_event = new_ger.130
			custom_effect_tooltip = report_reward
			event_option_tooltip = new_ger.130.a
			custom_effect_tooltip = alternative_diplomatic_reward
			event_option_tooltip = new_ger.130.b
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT}
	}
	focus = {
		id = GER_the_democratic_hegemon_of_germany
		icon = GFX_goal_GER_the_christian_hegemon
		cost = 5
		prerequisite = { focus = GER_end_the_party_rift }
		mutually_exclusive = { focus = GER_the_fullness_of_german_conservatism}
		x = 1
		y = 1

		relative_position_id =GER_end_the_party_rift

		mutually_exclusive = {
		}

		available = {
			OR = {
				has_completed_focus = GER_intertwine_the_state_and_the_church
				has_completed_focus = GER_upkeep_german_order
			}
			has_completed_focus = GER_goerdelers_new_party
			OR = {
				has_country_leader = {
					character = GER_adam_stegerwald
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_konrad_adenauer
					ruling_only = yes
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_popularity = { 
				ideology = ROOT
				popularity = 0.1
			}
			IF = {
				limit = { has_government = neutrality }
				set_party_name = {
					ideology = neutrality
					long_name = GER_dcp_long
					name = GER_dcp_short
				}
			}
			else = {
				set_party_name = {
					ideology = democratic
					long_name = GER_dcp_long
					name = GER_dcp_short
				}
			}
			add_to_variable = { DVU_seats = 15}
			add_to_variable = { DSTP_seats = -5 }
			custom_effect_tooltip = GER_DVU_15_tt
			custom_effect_tooltip = GER_DSTP_-5_tt
			add_to_variable = { pie_chart_dirty = 1 }
			r56_ger_dvu_70 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_foster_german_democracy
		icon = GFX_goal_GER_anti_bolshevist_bloc
		cost = 10
		prerequisite = { focus = GER_the_democratic_hegemon_of_germany }
		x = 0
		y = 1

		relative_position_id = GER_the_democratic_hegemon_of_germany

		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_christianity_consolidated
			r56_ger_dvu_50 = yes
		}
		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_expand_pro_state_propaganda
		icon = GFX_focus_GER_all_for_the_front
		cost = 5
		prerequisite = { focus = GER_the_fullness_of_german_conservatism }
		x = 0
		y = 1

		relative_position_id = GER_the_fullness_of_german_conservatism

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_political_power = 50
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = unlock_GER_pro_state_propaganda_which_grants
			effect_tooltip = {
				add_to_variable = { DVU_seats = 15 }
				custom_effect_tooltip = GER_DVU_15_tt
				IF = {
					limit = { 
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}}
					add_to_variable = { NRAF_seats =5 }
					custom_effect_tooltip = GER_NRAF_5_tt
				}
				IF = {
					limit = { 
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}}
					add_to_variable = { DSTP_seats =5 }
					custom_effect_tooltip = GER_DSTP_5_tt
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			r56_ger_dvu_35 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_sensible_fiscal_policy
		icon = GFX_focus_generic_currency_reforms
		cost = 5
		prerequisite = { focus = GER_goerdelers_new_party }
		x = 1
		y = 1

		relative_position_id = GER_goerdelers_new_party

		mutually_exclusive = {
		}

		available = {
			OR = { 
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		bypass = {
		}
		completion_reward = {
			custom_effect_tooltip = GER_sensible_fiscal_policy_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = GER_sensible_fiscal_policy_idea
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_stability = 0.25 }
				custom_effect_tooltip = GER_DVU_stab_0.25_tt
				add_to_variable = { DVU_bop = -0.25 }
				custom_effect_tooltip = GER_DVU_bop_-0.25_tt
			}
			
			r56_ger_dnvp_70 = yes
			
			r56_ger_dvu_70 = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY}

	}
	focus = {
		id = GER_the_fight_against_german_antisemitism
		icon = GFX_focus_attack_germany
		cost = 4
		prerequisite = { focus = GER_goerdelers_new_party }
		x = -1
		y = 1

		relative_position_id = GER_goerdelers_new_party

		mutually_exclusive = {
		}

		available = {
			NOT = { has_completed_focus = GER_radicalize_german_nationalism}
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		bypass = {
			
		}
		completion_reward = {
			add_timed_idea = {
				idea = GER_the_fight_against_antisemitism
				days = 400
			}
			IF = {
				limit = { has_idea = sour_loser}
				remove_ideas = sour_loser
				custom_effect_tooltip = generic_skip_one_line_tt
				set_rule = {
					can_create_factions = yes
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_seats = -5 }
				custom_effect_tooltip = GER_DVU_-5_tt
			}
			else = {
				add_to_variable = { DNVP_seats = -10 }
				custom_effect_tooltip = GER_DNVP_-10_tt
			}
			r56_ger_dnvp_20 = yes
			r56_ger_dvu_20 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_bring_back_einstein
		icon = GFX_goal_generic_double_research
		cost = 8
		prerequisite = { focus = GER_the_fight_against_german_antisemitism}
		x = 0
		y = 1

		relative_position_id = GER_the_fight_against_german_antisemitism

		mutually_exclusive = {
		}

		available = {
			NOT = { has_idea = GER_the_fight_against_antisemitism }
			64 = {
				NOT = {
					has_dynamic_modifier = {
						modifier = GER_sa_state_modifier
						scope = 64
					}
				}
			}
			54 = {
				NOT = {
					has_dynamic_modifier = {
						modifier = GER_sa_state_modifier
						scope = 54
					}

				}
			}
			63 = {
				NOT = {
					
					has_dynamic_modifier = {
						modifier = GER_sa_state_modifier
						scope = 63
					}
				}
			}
			922 = {
				NOT = {
					
					has_dynamic_modifier = {
						modifier = GER_sa_state_modifier
						scope = 922
					}
				}
			}
			52 = {
				NOT = {
					
					has_dynamic_modifier = {
						modifier = GER_sa_state_modifier
						scope = 52
					}
				}
			}
			51 = {
				NOT = {
					has_dynamic_modifier = {
						modifier = GER_sa_state_modifier
						scope = 51
					}
				}
			}
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		bypass = {
		}
		completion_reward = {
			add_ideas = GER_jewish_scientists_returning
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
				}
				add_to_variable = { DVU_seats = -5 }
				custom_effect_tooltip = GER_DVU_-5_tt
			}
			else = {
				add_to_variable = { DNVP_seats = -10 }
				custom_effect_tooltip = GER_DNVP_-10_tt
			}
			IF = {
				limit = {
					ISR = { NOT = { has_idea = ISR_president_einstein}}
				}
				
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = GER_albert_einstein
			}
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				add_to_variable = { DVU_stability = -0.25 }
				custom_effect_tooltip = GER_DVU_stab_-0.25_tt
				add_to_variable = { DVU_bop = -0.1 }
				custom_effect_tooltip = GER_DVU_bop_-0.1_tt
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			r56_ger_dnvp_35 = yes
			r56_ger_dvu_35 = yes
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_POLITICAL_CHARACTER}
	}
	focus = {
		id = GER_a_new_era_of_german_science
		icon = GFX_goal_research_silver_cooperation
		cost = 10
		prerequisite = { focus = GER_bring_back_einstein}
		x = 0
		y = 1

		relative_position_id = GER_bring_back_einstein

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_carl_friedrich_goerdeler
				ruling_only = yes
			}
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		bypass = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_jewish_scientists_returning
				add_idea = GER_a_scientists_era
			}
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_stability = 0.1 }
				custom_effect_tooltip = GER_DVU_stab_0.1_tt
				add_to_variable = { DVU_bop = -0.25 }
				custom_effect_tooltip = GER_DVU_bop_-0.25_tt
			}
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_stability = 0.1 }
				custom_effect_tooltip = GER_DVU_stab_0.1_tt
				add_to_variable = { DVU_bop = -0.25 }
				custom_effect_tooltip = GER_DVU_bop_-0.25_tt
			}
			r56_ger_dnvp_70 = yes
			r56_ger_dvu_70 = yes
		}
		search_filters = {FOCUS_FILTER_STABILITY FOCUS_FILTER_RESEARCH}

	}
	focus = {
		id = GER_national_economic_coordination
		icon = GFX_goal_generic_price_controls
		cost = 7.2
		prerequisite = { focus = GER_sensible_fiscal_policy }
		x = 0
		y = 1

		relative_position_id = GER_sensible_fiscal_policy

		mutually_exclusive = {
		}

		available = {
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		bypass = {
		}
		completion_reward = {
			IF = {
				limit = {
					NOT = {
						OR = {
							has_idea = war_economy
							has_idea = totaler_krieg_economy
							has_idea = tot_economic_mobilisation
						}
					}
				}
				upgrade_economy_law = yes
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			swap_ideas = {
				remove_idea = GER_sensible_fiscal_policy_idea
				add_idea = GER_national_economic_coordination_idea
			}
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_stability = -0.1 }
				custom_effect_tooltip = GER_DVU_stab_-0.1_tt
				add_to_variable = { DVU_bop = -0.25 }
				custom_effect_tooltip = GER_DVU_bop_-0.25_tt
			}
			r56_ger_dnvp_50 = yes
			r56_ger_dvu_50 = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_an_era_of_german_wealth
		icon = GFX_focus_GER_wirtschaftswunder
		cost = 6
		prerequisite = { focus = GER_national_economic_coordination }
		x = 0
		y = 1

		relative_position_id = GER_national_economic_coordination

		mutually_exclusive = {
		}

		available = {
			has_completed_focus = GER_achieve_secure_long_term_economic_growth
			OR = {
				has_country_leader = {
					character = GER_carl_friedrich_goerdeler
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_theodor_heuss
					ruling_only = yes
				}
			}
			OR = { 
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		bypass = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_national_economic_coordination_idea
				add_idea = GER_era_of_german_wealth_idea
			}
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
				}
				add_to_variable = { DVU_seats = 10 }
				custom_effect_tooltip = GER_DVU_10_tt
			}
			else = {
				add_to_variable = { DNVP_seats = 10 }
				custom_effect_tooltip = GER_DNVP_10_tt
			}
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_stability = 0.1 }
				custom_effect_tooltip = GER_DVU_stab_0.1_tt
				add_to_variable = { DVU_bop = -0.25 }
				custom_effect_tooltip = GER_DVU_bop_-0.25_tt
			}
			r56_ger_dnvp_35 = yes
			r56_ger_dvu_35 = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY}

	}
	focus = {
		id = GER_the_legacy_of_the_sozialistengesetze
		icon = GFX_goal_generic_destroy_socdem
		cost = 5
		prerequisite = { focus = GER_nraf_in_coalition focus = GER_dvu_in_coalition focus = GER_dnvp_in_coalition }

		x = -13
		y = 1

		relative_position_id = GER_dvu_in_coalition

		mutually_exclusive = {
		}
		offset = {
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				OR = {
					has_completed_focus = GER_hugenburgs_legacy
					has_completed_focus = GER_goerdelers_new_party
				}
			}
			x = 3
		}
		offset = {
			trigger = {	
				has_country_flag = GER_dvu_formed
			}
			x = -5
		}

		allow_branch = { 
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			NOT = { has_completed_focus = GER_pass_the_beck_constiution}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {
					
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_a_martial_state }
				NOT = { has_completed_focus = GER_move_towards_autocracy }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		available = {
			OR = { 
				
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
			}
			OR = {
				NOT = { 
					has_country_flag = GER_comintern_kpd_funding_flag
				}
				AND = {
					custom_trigger_tooltip = {
						tooltip = GER_nraf_gov_tt
						has_completed_focus = GER_nraf_in_coalition
					}
					NOT = {
						custom_trigger_tooltip = {
							tooltip = GER_kpd_gov_tt
							has_completed_focus = GER_kpd_in_coalition
						}
					}

				}
				has_completed_focus = GER_fight_the_apo
			}
		}
		bypass = {
			has_country_flag = GER_spd_banned
		}
		ai_will_do = {
		}
		completion_reward = {
			custom_effect_tooltip = GER_soz_ges_tt
			r56_ger_nraf_35 = yes
			r56_ger_dnvp_35 = yes
			r56_ger_dvu_20 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_readdress_the_kaiserfrage
		icon = GFX_goal_ger_wilhelm_iv
		cost = 9
		prerequisite = { focus = GER_dvu_in_coalition focus = GER_dnvp_in_coalition }

		x = -3
		y = 1
		allow_branch = {
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke }
			NOT = { has_completed_focus = GER_pass_the_beck_constiution }
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {
					
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_a_martial_state }
				NOT = { has_completed_focus = GER_move_towards_autocracy }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		relative_position_id = GER_dvu_in_coalition

		mutually_exclusive = {
		}
		bypass = {
			NOT = { has_idea = GER_prov_gov_idea}
			has_idea = GER_wilhelm_iv
		}
		available = {
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
			}
			NOT = { has_idea = GER_wilhelm_iv }
			NOT = { has_idea = GER_prov_gov_idea}
			IF = {
				limit = { has_idea = GER_president_beck }
				has_idea = GER_president_beck
			}
			else = {
				has_idea = GER_president_beck_2
			}
		}
		ai_will_do = {
		}
		offset = {
			trigger = {	
				NOT = {
					has_country_flag = GER_dvu_formed
					has_completed_focus = GER_a_martial_state
				}
			}
			x = 5
		}
		completion_reward = {
			IF = {
				limit = { has_idea = GER_president_beck }
				swap_ideas = {
					remove_idea = GER_president_beck
					add_idea = GER_wilhelm_iv
				}
			}
			else_if = {
				limit = { has_idea = GER_president_beck_2 }
				swap_ideas = {
					remove_idea = GER_president_beck_2
					add_idea = GER_wilhelm_iv_weak
				}
			}
			set_cosmetic_tag = GER_emp
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_stability = 0.25 }
				custom_effect_tooltip = GER_DVU_stab_0.25_tt
			}
			r56_ger_dnvp_60 = yes
			r56_ger_dvu_60 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER}
	}
	focus = {
		id = GER_expand_the_kaisers_duties_fake
		icon = GFX_focus_ger_revive_kaiserreich
		cost = 8

		x = 0
		y = 1

		relative_position_id = GER_readdress_the_kaiserfrage

		mutually_exclusive = {
		}
		allow_branch = { 
			has_country_flag = GER_dnvp_monarchy_flag 
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
		}
		available = {
			OR = {
				has_country_leader = {
					character = GER_alfred_hugenberg
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_carl_friedrich_goerdeler
					ruling_only = yes
				}
			}
			has_idea = GER_wilhelm_iv
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_wilhelm_iv
				add_idea = GER_wilhelm_iv_2
			}
			add_political_power = 50
			add_popularity = {
				ideology = neutrality
				popularity = 0.075
			}
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
				}
				add_to_variable = { DVU_seats = 5 }
				custom_effect_tooltip = GER_DVU_5_tt
			}
			else = {
				add_to_variable = { DNVP_seats = 10 }
				custom_effect_tooltip = GER_DNVP_10_tt
			}
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_stability = -0.1 }
				custom_effect_tooltip = GER_DVU_stab_-0.1_tt
				add_to_variable = { DVU_bop = -0.25 }
				custom_effect_tooltip = GER_DVU_bop_-0.25_tt
			}
			r56_ger_dnvp_50 = yes
			r56_ger_dvu_50 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_expand_the_kaisers_duties
		icon = GFX_focus_ger_revive_kaiserreich
		cost = 8
		prerequisite = { focus = GER_readdress_the_kaiserfrage}

		x = 0
		y = 1

		relative_position_id = GER_readdress_the_kaiserfrage

		mutually_exclusive = {
		}

		available = {
			NOT = { has_completed_focus = GER_weaken_the_presidents_power }
			OR = {
				has_country_leader = {
					character = GER_alfred_hugenberg
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_carl_friedrich_goerdeler
					ruling_only = yes
				}
			}	
			has_idea = GER_wilhelm_iv
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_wilhelm_iv
				add_idea = GER_wilhelm_iv_2
			}
			add_political_power = 50
			add_popularity = {
				ideology = neutrality
				popularity = 0.075
			}
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
				}
				add_to_variable = { DVU_seats = 5 }
				custom_effect_tooltip = GER_DVU_5_tt
			}
			else = {
				add_to_variable = { DNVP_seats = 10 }
				custom_effect_tooltip = GER_DNVP_10_tt
			}
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_stability = -0.1 }
				custom_effect_tooltip = GER_DVU_stab_-0.1_tt
				add_to_variable = { DVU_bop = -0.25 }
				custom_effect_tooltip = GER_DVU_bop_-0.25_tt
			}
			r56_ger_dnvp_50 = yes
			r56_ger_dvu_50 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_a_second_restoration
		icon = GFX_focus_ger_return_of_the_kaiser
		cost = 10

		x = 1
		y = 1
		prerequisite = { focus = GER_expand_the_kaisers_duties }
		relative_position_id = GER_expand_the_kaisers_duties

		mutually_exclusive = {
		}

		available = {
			OR = {
				has_country_leader = {
					character = GER_alfred_hugenberg
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_carl_friedrich_goerdeler
					ruling_only = yes
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			custom_effect_tooltip = GER_a_second_restoration_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_dictatorship_election_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			set_variable = { GER_kaiserreich_support = DNVP_seats_f}
			add_to_variable = { GER_kaiserreich_support = DVU_seats_f}
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_stability = -0.1 }
				custom_effect_tooltip = GER_DVU_stab_-0.1_tt
				add_to_variable = { DVU_bop = -0.25 }
				custom_effect_tooltip = GER_DVU_bop_-0.25_tt
			}
			r56_ger_dnvp_70 = yes
			r56_ger_dvu_70 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }

	}
	focus = {
		id = GER_a_coup_in_all_but_name
		icon = GFX_goal_GER_personal_leadership
		cost = 10
		prerequisite = { focus = GER_expand_the_kaisers_duties }

		x = -1
		y = 1

		relative_position_id = GER_expand_the_kaisers_duties

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_alfred_hugenberg
				ruling_only = yes
			}
			has_war_with_major = yes
			has_country_flag = GER_elections_halted
		}
		ai_will_do = {
		}
		completion_reward = {
			complete_national_focus = GER_the_kaiser_rises
			hidden_effect = { complete_national_focus = GER_the_kaiser_rises_fake}
			complete_national_focus = GER_a_new_monarch_for_a_new_age
			set_politics = {
				elections_allowed = no
				ruling_party = ROOT
			}
			set_country_flag = GER_dnvp_monarchy_flag
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_stability = -1 }
				custom_effect_tooltip = GER_DVU_stab_-1_tt
				add_to_variable = { DVU_bop = -1 }
				custom_effect_tooltip = GER_DVU_bop_-1_tt
			}
			mark_focus_tree_layout_dirty = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }

	}
	focus = {
		id = GER_zentrum_in_coalition
		icon = GFX_goal_ger_zentrum_victory
		cost = 10
		prerequisite = { focus = GER_hold_new_elections }
		prerequisite = { focus = GER_pass_the_beck_constiution_copy}

		x = -7
		y = 1

		offset = {
			trigger = { 
				IF = {
					limit = {		
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					has_completed_focus = GER_a_martial_state
				}
				else = { has_completed_focus = GER_pass_the_beck_constiution }
			}
			x = 32
			y = -1
		}
		offset = {
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_a_martial_state
			}
			x = -15
		}
		offset = {
			x = 5
			trigger = {
				has_country_flag = GER_dvu_formed
			}
		}
		offset = {
			x = 4
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_country_flag = GER_dvu_formed
				has_completed_focus = GER_goerdelers_new_party
				NOT = { has_country_flag = GER_adenauer_leadership}
			}
		}
		relative_position_id = GER_hold_new_elections

		mutually_exclusive = {
		}

		allow_branch = { 
			NOT = { has_country_flag = GER_dvu_formed}
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {	
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_move_towards_autocracy }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_popularity = {
				ideology = neutrality
				popularity = 0.03
			}
			add_popularity = {
				ideology = democratic
				popularity = 0.03
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = { 
					has_country_flag = GER_adenauer_leadership 
				}
				IF = {
					limit = {
						NOT = { has_completed_focus = GER_rebuild_the_shattered_zentrum}
					}
					add_ideas = GER_fractured_zentrum
				}
				IF = {
					limit = {
						has_completed_focus = GER_consolidate_elite_support
					}
					add_ideas = GER_elite_support
				}
				IF = {
					limit = {
						has_completed_focus = GER_build_germany_from_the_apartment_up
					}
					add_ideas = GER_new_federalism_3
				}
				else_if = {
					limit = { has_completed_focus = GER_increase_municipal_autonomy }
					add_ideas = GER_new_federalism_2
				}
				else_if = {
					limit = {
						has_completed_focus = GER_the_new_federalism
					}
					add_ideas = GER_new_federalism
				}
				IF = {
					limit = { 
						NOT = { has_completed_focus = GER_build_germany_from_the_apartment_up }
						has_completed_focus = GER_federalism_a_hedge_against_radicalism
					}
					add_ideas = GER_hedge_against_radicalism
				}
				IF = {
					limit = {
						has_completed_focus = GER_prioritise_the_rheinland
					}
					uncomplete_national_focus = {
						focus = GER_prioritise_the_rheinland
						uncomplete_children = no
						refund_political_power = no
					}
				}
			}
			IF = {
				limit = {
					OR = { 
						has_country_flag = GER_adenauer_leadership
						has_country_flag = GER_wirth_leadership
					}
				}
				IF = {
					limit = {
						has_completed_focus = GER_a_new_age_of_peace
					}
					add_ideas = GER_christian_democracy_2
				}
				else_if = {
					limit = { 
						has_completed_focus = GER_foster_christian_democracy
					}
					add_ideas = GER_christian_democracy
				}
			}
			IF = {
				limit = {
					has_country_flag = GER_wirth_leadership
				}
				IF = {
					limit = { has_completed_focus = GER_technocracy_with_strong_limits}
					add_ideas = GER_technocracy_with_strong_limits_idea
				}
				else_if = {
					limit = { has_completed_focus = GER_consultations_with_the_experts}
					add_ideas = GER_influence_by_the_experts
				}
				else_if = {
					limit = { has_completed_focus = GER_work_towards_fiscal_stability}
					add_ideas = GER_fiscal_stabilization
				}
				IF = {
					limit = { has_completed_focus = GER_improve_railway_economics}
					add_ideas = GER_improved_railway_economics
				}

			}
			IF = {
				limit = { 
					has_country_flag = GER_stegerwald_leadership
				}
				IF = {
					limit = {
						NOT = { has_completed_focus = GER_bring_about_a_new_social_order} 
						has_completed_focus = GER_politicize_the_trade_unions
					}
					add_ideas = GER_active_catholic_trade_unions
				}
				IF = {
					limit = { has_completed_focus = GER_corporatism_with_catholic_characteristics}
					add_ideas = GER_corporatism_with_catholic_characteristics_idea
				}
				else_if = { 
					limit = { has_completed_focus = GER_bring_about_a_new_social_order}
					add_ideas = GER_catholic_social_order
				}
				else_if = {
					limit = { has_completed_focus = GER_organize_german_labor}
					add_ideas = GER_organized_labor
				}
				IF = {
					limit = { has_completed_focus = GER_help_the_church_permeate_everyday_german_life}
					add_ideas = GER_everyday_christianity
				}
				else_if = {
					limit = { has_completed_focus = GER_intertwine_the_state_and_the_church}
					add_ideas = GER_christianity_in_politics
				}
			}
			IF = {
				limit = {
					check_variable = {
						var = GER_chosen_gov_leader
						value = 3
						compare = equals
					}
					has_country_flag = GER_stegerwald_leadership
				}
				IF = {
					limit = { 
						NOT = { has_government = neutrality}
					}
					set_politics = {
						ruling_party = neutrality
						elections_allowed = yes
					}
				}
				else_if = {
					limit = { has_elections = no }
					set_politics = {
						ruling_party = ROOT
						elections_allowed = yes
					}
				}
				set_party_name = {
					ideology = neutrality
					long_name = GER_zentrum_long
					name = GER_zentrum_short
				}
				promote_character = {
					character = GER_adam_stegerwald
					ideology = conservatism_n
				}
			}
			IF = {
				limit = {
					check_variable = {
						var = GER_chosen_gov_leader
						value = 3
						compare = equals
					}
					has_country_flag = GER_wirth_leadership
				}
				IF = {
					limit = { 
						NOT = { has_government = democratic}
					}
					set_politics = {
						ruling_party = democratic
						elections_allowed = yes
					}
				}
				else_if = {
					limit = { has_elections = no }
					set_politics = {
						ruling_party = ROOT
						elections_allowed = yes
					}
				}
				set_party_name = {
					ideology = democratic
					long_name = GER_zentrum_long
					name = GER_zentrum_short
				}
				promote_character = {
					character = GER_joseph_wirth
					ideology = socialism
				}
			}
			IF = {
				limit = {
					check_variable = {
						var = GER_chosen_gov_leader
						value = 3
						compare = equals
					}
					has_country_flag = GER_adenauer_leadership
				}
				IF = {
					limit = { 
						NOT = { has_government = democratic}
					}
					set_politics = {
						ruling_party = democratic
						elections_allowed = yes
					}
				}
				else_if = {
					limit = { has_elections = no }
					set_politics = {
						ruling_party = ROOT
						elections_allowed = yes
					}
				}
				set_party_name = {
					ideology = democratic
					long_name = GER_zentrum_long
					name = GER_zentrum_short
				}
				promote_character = {
					character = GER_konrad_adenauer
					ideology = conservatism
				}
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_konrad_adenauer
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_adam_stegerwald
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_joseph_wirth
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_jacob_kaiser
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_fritz_schaffer
			IF = {
				limit = { has_country_flag = GER_wirth_leadership }
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = GER_kurt_schumacher
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = GER_wilhelm_lauschner
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER}
	}
	focus = {
		id = GER_the_party_under_stegerwald
		icon = GFX_goal_generic_catholic_education
		cost = 0
		prerequisite = {focus = GER_zentrum_in_coalition focus = GER_dvu_in_coalition}

		x = 0
		y = 1

		relative_position_id = GER_zentrum_in_coalition

		mutually_exclusive = {
		}

		allow_branch = { 
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {	
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = GER_move_towards_autocracy
					has_completed_focus = GER_remilitarize_the_rhineland
					has_country_flag = GER_adenauer_leadership
				}
			}
		}
		available = {
			has_country_flag = GER_stegerwald_leadership
		}
		bypass = {
			has_country_flag = GER_stegerwald_leadership
		}
		ai_will_do = {
		}
		completion_reward = {
		}
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER}

	}
	focus = {
		id = GER_organize_german_labor
		icon = GFX_goal_GER_organize_german_labor
		cost = 7.2
		prerequisite = {focus = GER_the_party_under_stegerwald}

		x = -1
		y = 1

		relative_position_id = GER_the_party_under_stegerwald

		mutually_exclusive = {
		}

		available = {
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_organized_labor
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_stability = -0.25 }
				custom_effect_tooltip = GER_DVU_stab_-0.25_tt
				add_to_variable = { DVU_bop = 0.25 }
				custom_effect_tooltip = GER_DVU_bop_0.25_tt
			}
			IF = {
				limit = {
					has_active_mission = GER_zentrum_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_zentrum_demands_action
					days = 200
				}
			}
			IF = {
				limit = {
					has_active_mission = GER_dvu_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_dvu_demands_action
					days = 200
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY}

	}
	focus = {
		id = GER_politicize_the_trade_unions
		icon = GFX_goal_generic_church_economy
		cost = 7.2
		prerequisite = {focus = GER_the_party_under_stegerwald}

		x = 1
		y = 1

		relative_position_id = GER_the_party_under_stegerwald

		mutually_exclusive = {
		}

		available = {
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_active_catholic_trade_unions
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_stability = -0.25 }
				custom_effect_tooltip = GER_DVU_stab_-0.25_tt
				add_to_variable = { DVU_bop = 0.25 }
				custom_effect_tooltip = GER_DVU_bop_0.25_tt
			}
			IF = {
				limit = {
					has_active_mission = GER_zentrum_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_zentrum_demands_action
					days = 200
				}
			}
			IF = {
				limit = {
					has_active_mission = GER_dvu_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_dvu_demands_action
					days = 200
				}
			}
		}
		search_filters = {FOCUS_FILTER_INDUSTRY}

	}
	focus = {
		id = GER_bring_about_a_new_social_order
		icon = GFX_focus_focus_fra_national_resistance_council
		cost = 7.2
		prerequisite = {focus = GER_politicize_the_trade_unions}
		prerequisite = { focus = GER_organize_german_labor }

		x = -1
		y = 1

		relative_position_id = GER_politicize_the_trade_unions

		mutually_exclusive = {
		}

		available = {
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			remove_ideas = GER_active_catholic_trade_unions
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = GER_organized_labor
				add_idea = GER_catholic_social_order 
			}
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_bop = 0.25 }
				custom_effect_tooltip = GER_DVU_bop_0.25_tt
			}
			IF = {
				limit = {
					has_active_mission = GER_zentrum_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_zentrum_demands_action
					days = 200
				}
			}
			IF = {
				limit = {
					has_active_mission = GER_dvu_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_dvu_demands_action
					days = 200
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }

	}
	focus = {
		id = GER_corporatism_with_catholic_characteristics
		icon = GFX_focus_BEL_christian_corporatism
		cost = 7.2
		prerequisite = {focus = GER_bring_about_a_new_social_order }

		x = 0
		y = 1

		relative_position_id = GER_bring_about_a_new_social_order

		mutually_exclusive = {
		}

		available = {
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_catholic_social_order
				add_idea = GER_corporatism_with_catholic_characteristics_idea
			}
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_seats = 10 }
				custom_effect_tooltip = GER_DVU_10_tt
			}
			else = {
				add_to_variable = { Zentrum_seats = 10 }
				custom_effect_tooltip = GER_zentrum_10_tt
			}
			add_to_variable = { SPD_seats = -10}
			custom_effect_tooltip = GER_SPD_-10_tt
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_bop = 0.25 }
				custom_effect_tooltip = GER_DVU_bop_0.25_tt
			}
			IF = {
				limit = {
					has_active_mission = GER_zentrum_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_zentrum_demands_action
					days = 200
				}
			}
			IF = {
				limit = {
					has_active_mission = GER_dvu_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_dvu_demands_action
					days = 200
				}
			}
		}
		 search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL }

	}
	focus = {
		id = GER_the_end_of_class_warfare
		icon = GFX_focus_CHL_revise_the_social_classes
		cost = 10
		prerequisite = {focus = GER_corporatism_with_catholic_characteristics }

		x = 0
		y = 1

		relative_position_id = GER_corporatism_with_catholic_characteristics

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_adam_stegerwald
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_country_leader_trait = GER_unifier_of_the_classes
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_seats = 10 }
				custom_effect_tooltip = GER_DVU_10_tt
			}
			else = {
				add_to_variable = { Zentrum_seats = 10 }
				custom_effect_tooltip = GER_zentrum_10_tt
			}
			add_to_variable = { SPD_seats = -10}
			custom_effect_tooltip = GER_SPD_-10_tt
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_bop = 0.25 }
				custom_effect_tooltip = GER_DVU_bop_0.25_tt
			}
			IF = {
				limit = {
					has_active_mission = GER_zentrum_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_zentrum_demands_action
					days = 280
				}
			}
			IF = {
				limit = {
					has_active_mission = GER_dvu_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_dvu_demands_action
					days = 280
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_intertwine_the_state_and_the_church
		icon = GFX_focus_FIN_chaplains
		cost = 5
		prerequisite = {focus = GER_bring_about_a_new_social_order }
		prerequisite = { focus = GER_restore_the_state_churches }

		x = -2
		y = 1

		relative_position_id = GER_bring_about_a_new_social_order

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_adam_stegerwald
				ruling_only = yes
			}
			has_country_flag = GER_reichskonkordat_repealed
			OR = {
				custom_trigger_tooltip = {
					has_completed_focus = GER_zentrum_in_coalition
					tooltip = GER_zentrum_gov_tt
				}
				custom_trigger_tooltip = {
					has_completed_focus = GER_dvu_in_coalition
					tooltip = GER_dvu_gov_tt
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_state_churches
				add_idea = GER_christianity_in_politics
			}
			IF = {
				limit = {
					has_active_mission = GER_zentrum_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_zentrum_demands_action
					days = 200
				}
			}
			IF = {
				limit = {
					has_active_mission = GER_dvu_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_dvu_demands_action
					days = 200
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

	}
	focus = {
		id = GER_help_the_church_permeate_everyday_german_life
		icon = GFX_goal_generic_major_alliance
		cost = 7.2
		prerequisite = {focus = GER_intertwine_the_state_and_the_church }

		x = 0
		y = 1

		relative_position_id = GER_intertwine_the_state_and_the_church

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_adam_stegerwald
				ruling_only = yes
			}
			OR = {
				custom_trigger_tooltip = {
					has_completed_focus = GER_zentrum_in_coalition
					tooltip = GER_zentrum_gov_tt
				}
				custom_trigger_tooltip = {
					has_completed_focus = GER_dvu_in_coalition
					tooltip = GER_dvu_gov_tt
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_christianity_in_politics
				add_idea = GER_everyday_christianity
			}
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_stability = -0.25 }
				custom_effect_tooltip = GER_DVU_stab_-0.25_tt
				add_to_variable = { DVU_bop = 0.25 }
				custom_effect_tooltip = GER_DVU_bop_0.25_tt
			}
			IF = {
				limit = {
					has_active_mission = GER_zentrum_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_zentrum_demands_action
					days = 200
				}
			}
		}

	}
	focus = {
		id = GER_wirths_new_zentrum
		icon = GFX_goal_generic_democracy
		cost = 0
		prerequisite = {focus = GER_zentrum_in_coalition }

		x = 5
		y = 1

		relative_position_id = GER_zentrum_in_coalition

		mutually_exclusive = {
		}
		allow_branch = {
			NOT = { 
				has_completed_focus = GER_shake_off_the_fascist_yoke 
				has_completed_focus = GER_pass_the_beck_constiution
				has_country_flag = GER_dvu_formed 
			}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { 
					has_completed_focus = GER_a_martial_state
					has_completed_focus = GER_move_towards_autocracy
					has_completed_focus = GER_remilitarize_the_rhineland 
					has_country_flag = GER_adenauer_leadership
				}
			}
		}

		available = {
			has_country_flag = GER_wirth_leadership
		}
		bypass = {
			has_country_flag = GER_wirth_leadership
		}
		ai_will_do = {
		}
		completion_reward = {
		}
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER }

	}
	focus = {
		id = GER_the_socialist_traitor
		icon = GFX_focus_GER_the_peoples_victory
		cost = 4
		prerequisite = {focus = GER_wirths_new_zentrum }

		x = 0
		y = 2

		relative_position_id = GER_wirths_new_zentrum
		mutually_exclusive = {
		}

		available = {
			NOT = { 
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			} }
			has_country_flag = GER_wirth_leadership
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_to_variable = { GER_gov_seats = -20}
			add_to_variable = { SPD_seats_f = 20 }
			custom_effect_tooltip = GER_SPD_20_f_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			clr_country_flag = GER_wirth_leadership
			set_country_flag = GER_adenauer_leadership
			IF = {
				limit = { NOT = { has_country_flag = GER_dvu_formed}}
				add_to_variable = { Zentrum_seats_f = -20}
				custom_effect_tooltip = GER_zentrum_-20_f_tt
			}
			else = {
				add_to_variable = { DVU_seats_f = -20}
				custom_effect_tooltip = GER_DVU_-20_f_tt
			}
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}
			create_pie_chart = yes
			add_to_variable = { pie_chart_dirty = 1 }
			add_stability = -0.05
			add_political_power = 50
			custom_effect_tooltip = generic_skip_one_line_tt
			complete_national_focus = GER_adenauers_chance
			custom_effect_tooltip = generic_skip_one_line_tt
			GER_undo_gov = yes
			custom_effect_tooltip = GER_undo_gov_tt
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER}

	}
	focus = {
		id = GER_adenauers_chance
		icon = GFX_goal_generic_friendship_with_church
		cost = 0
		prerequisite = {focus = GER_zentrum_in_coalition focus = GER_dvu_in_coalition }

		x = 0
		y = 1

		relative_position_id = GER_the_socialist_traitor
		mutually_exclusive = {
		}

		available = {
			has_country_flag = GER_adenauer_leadership
		}
		ai_will_do = {
		}
		offset = {
			y = 1
			x = -2
			trigger = {
				has_country_flag = GER_dvu_formed
			}
		}
		offset = {
			y = -4
			x = -3
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_country_flag = GER_adenauer_leadership
			}
		}
		offset = {
			y = 1
			x = 1
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				NOT = { has_country_flag = GER_dvu_formed }
				has_country_flag = GER_adenauer_leadership
			}
		}
		allow_branch = {
			NOT = { 
				has_completed_focus = GER_shake_off_the_fascist_yoke 
				has_completed_focus = GER_pass_the_beck_constiution
			}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { 
					AND = {
						has_completed_focus = GER_goerdelers_new_party
						has_country_flag = GER_dvu_formed
						NOT = { has_country_flag = GER_adenauer_leadership }
					}
					AND = {
						has_country_flag = GER_stegerwald_leadership
						has_completed_focus = GER_found_the_german_interim_government
						NOT = { has_country_flag = GER_dvu_formed }
					}
					has_completed_focus = GER_a_martial_state
					has_completed_focus = GER_move_towards_autocracy
					has_completed_focus = GER_remilitarize_the_rhineland 
				}
			}
		}
		completion_reward = {
			IF = {
				limit = { NOT = { has_completed_focus = GER_the_party_under_stegerwald}}
			}
			country_event = {
				id = new_ger.28
				days = 25
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER}

	}
	focus = {
		id = GER_combat_the_reactionary
		icon = GFX_focus_generic_anti_fascist_diplomacy
		cost = 5
		prerequisite = {focus = GER_wirths_new_zentrum focus = GER_adenauers_chance}

		x = -1
		y = 1

		relative_position_id = GER_adenauers_chance
		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
			NOT = { 
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			} }
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = { NOT = { has_completed_focus = GER_demokratieschutzgesetz }}
				add_to_variable = { DNVP_seats = -5 }
				add_to_variable = { NRAF_seats = -5 }
				custom_effect_tooltip = GER_DNVP_-5_tt
				custom_effect_tooltip = GER_NRAF_-5_tt
			}
			else = {
				add_political_power = 35
				add_to_variable = { DNVP_seats = -10 }
				custom_effect_tooltip = GER_DNVP_-10_tt

			}
			add_popularity = {
				ideology = fascism
				popularity = -0.05
			}
			add_stability = 0.05
			IF = {
				limit = {
					has_active_mission = GER_zentrum_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_zentrum_demands_action
					days = 150
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL}

	}
	
	focus = {
		id = GER_foster_christian_democracy
		icon = GFX_goal_generic_secular_catholic
		cost = 5
		prerequisite = {focus = GER_wirths_new_zentrum focus = GER_adenauers_chance}

		x = -3
		y = 1

		relative_position_id = GER_adenauers_chance
		mutually_exclusive = {
		}

		available = {
			has_completed_focus = GER_undo_the_secularization_of_germany
			OR = {
				has_country_leader = {
					character = GER_joseph_wirth
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_konrad_adenauer
					ruling_only = yes
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_christian_democracy
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_stability = -0.1 }
				custom_effect_tooltip = GER_DVU_stab_-0.1_tt
			}
			r56_ger_dvu_70 = yes
			IF = {
				limit = {
					has_active_mission = GER_zentrum_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_zentrum_demands_action
					days = 280
				}
			}

		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}

	}
	focus = {
		id = GER_a_new_age_of_peace
		icon = GFX_focus_generic_diplomatic_treaty
		cost = 7.2
		prerequisite = {focus = GER_combat_the_reactionary }
		prerequisite = { focus = GER_foster_christian_democracy}

		x = -1
		y = 1

		relative_position_id = GER_combat_the_reactionary
		mutually_exclusive = {
		}

		available = {
			has_war = no
			has_completed_focus = GER_undo_the_secularization_of_germany
			OR = {
				has_country_leader = {
					character = GER_konrad_adenauer
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_joseph_wirth
					ruling_only = yes
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_christian_democracy
				add_idea = GER_christian_democracy_2
			}
			IF = {
				limit = { has_idea = sour_loser}
				remove_ideas = sour_loser
				custom_effect_tooltip = generic_skip_one_line_tt
				set_rule = {
					can_create_factions = yes
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_work_towards_fiscal_stability
		icon = GFX_focus_generic_economic_recovery
		cost = 7.2
		prerequisite = {focus = GER_wirths_new_zentrum }

		x = 3
		y = 1

		relative_position_id = GER_wirths_new_zentrum
		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
			has_country_flag = GER_wirth_leadership
			NOT = { has_completed_focus = GER_towards_a_workers_democracy}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_fiscal_stabilization
			IF = {
				limit = {
					has_active_mission = GER_zentrum_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_zentrum_demands_action
					days = 200
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_improve_railway_economics
		icon = GFX_focus_GER_kriegslokomotive
		cost = 7.2
		prerequisite = {focus = GER_work_towards_fiscal_stability }

		x = 1
		y = 1

		relative_position_id = GER_work_towards_fiscal_stability
		mutually_exclusive = {
		}

		available = {
			has_country_flag = GER_wirth_leadership
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_improved_railway_economics
			IF = {
				limit = {
					has_active_mission = GER_zentrum_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_zentrum_demands_action
					days = 200
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY}

	}
	focus = {
		id = GER_consultations_with_the_experts
		icon = GFX_goal_generic_education
		cost = 7.2
		prerequisite = {focus = GER_work_towards_fiscal_stability }

		x = -1
		y = 1

		relative_position_id = GER_work_towards_fiscal_stability
		mutually_exclusive = {
		}

		available = {
			has_country_flag = GER_wirth_leadership
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_political_power = 50
			swap_ideas = {
				remove_idea = GER_fiscal_stabilization
				add_idea = GER_influence_by_the_experts
			}
			IF = {
				limit = {
					has_active_mission = GER_zentrum_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_zentrum_demands_action
					days = 200
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH FOCUS_FILTER_POLITICAL }

	}
	focus = {
		id = GER_technocracy_with_strong_limits
		icon = GFX_goal_research_silver
		cost = 7.2
		prerequisite = {focus = GER_consultations_with_the_experts }
		prerequisite = { focus = GER_improve_railway_economics}

		x = 1
		y = 1

		relative_position_id = GER_consultations_with_the_experts
		mutually_exclusive = {
		}

		available = {
			has_country_flag = GER_wirth_leadership
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_influence_by_the_experts
				add_idea = GER_technocracy_with_strong_limits_idea
			}
			IF = {
				limit = {
					has_active_mission = GER_zentrum_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_zentrum_demands_action
					days = 200
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY}

	}
	focus = {
		id = GER_rebuild_the_shattered_zentrum
		icon = GFX_focus_generic_field_hostpital
		cost = 5
		prerequisite = {focus = GER_adenauers_chance }

		x = 3
		y = 1

		relative_position_id = GER_adenauers_chance
		mutually_exclusive = {
		}

		available = {
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
			}
		}
		bypass = {
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
			}
			NOT = { has_idea = GER_fractured_zentrum}

		}
		ai_will_do = {
		}
		completion_reward = {
			remove_ideas = GER_fractured_zentrum
			add_stability = 0.025
			add_to_variable = { Zentrum_seats = 10 }
			custom_effect_tooltip = GER_zentrum_10_tt
			r56_ger_zentrum_35 = yes
			r56_ger_dvu_35 = yes
		}
		search_filters = {FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_strengthen_the_responsible_elites
		icon = GFX_goal_generic_foreign_diplomacy2
		cost = 7.2
		prerequisite = {focus = GER_adenauers_chance}

		x = 5
		y = 1

		relative_position_id = GER_adenauers_chance
		mutually_exclusive = {
		}

		bypass = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
			has_completed_focus = GER_consolidate_elite_support
		}
		available = {
			NOT = { has_idea = GER_conflict_with_the_elites }
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = { has_country_flag = GER_dvu_formed}
				add_to_variable = { DVU_seats = 5 }
				custom_effect_tooltip = GER_DVU_5_tt
			}
			else = {
				add_to_variable = { Zentrum_seats = 5 }
				custom_effect_tooltip = GER_zentrum_5_tt
			}
		
			add_political_power = 50
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = GER_elite_support
			r56_ger_zentrum_50 = yes
			r56_ger_dvu_50 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY}
	}
	focus = {
		id = GER_upkeep_german_order
		icon = GFX_goal_GER_entrench_honor_in_society
		cost = 10
		prerequisite = {focus = GER_strengthen_the_responsible_elites }
		prerequisite = { focus = GER_rebuild_the_shattered_zentrum}

		x = -1
		y = 1

		relative_position_id = GER_strengthen_the_responsible_elites
		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_konrad_adenauer
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_country_leader_trait = GER_keeper_of_the_german_order
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_bop = 0.25 }
				custom_effect_tooltip = GER_DVU_bop_0.25_tt
			}
			r56_ger_zentrum_50 = yes
			r56_ger_dvu_50 = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY}
	}
	focus = {
		id = GER_the_new_federalism
		icon = GFX_goal_generic_business_bills
		cost = 5
		prerequisite = {focus = GER_adenauers_chance }

		x = 1
		y = 1

		relative_position_id = GER_adenauers_chance
		mutually_exclusive = {
		}

		available = {
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_new_federalism
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_bop = 0.25 }
				custom_effect_tooltip = GER_DVU_bop_0.25_tt
			}
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_stability = -0.1 }
				custom_effect_tooltip = GER_DVU_stab_-0.1_tt
			}
			r56_ger_dvu_70 = yes
			IF = {
				limit = {
					has_active_mission = GER_zentrum_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_zentrum_demands_action
					days = 280
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = GER_increase_municipal_autonomy
		icon = GFX_focus_SWE_hygienic_housing
		cost = 7.2
		prerequisite = {focus = GER_the_new_federalism }

		x = -1
		y = 1

		relative_position_id = GER_the_new_federalism
		mutually_exclusive = {
		}

		available = {
			NOT = { has_completed_focus = GER_engrain_antiurbanism}
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_new_federalism
				add_idea = GER_new_federalism_2
			}
			r56_ger_dvu_50 = yes
			IF = {
				limit = {
					has_active_mission = GER_zentrum_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_zentrum_demands_action
					days = 200
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = GER_federalism_a_hedge_against_radicalism
		icon = GFX_goal_free_trade
		cost = 7.2
		prerequisite = {focus = GER_the_new_federalism }

		x = 1
		y = 1

		relative_position_id = GER_the_new_federalism
		mutually_exclusive = {
		}

		available = {
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_to_variable = { NRAF_seats = -10}
			custom_effect_tooltip = GER_NRAF_-10_tt
			add_to_variable = { KPD_seats = -10}
			custom_effect_tooltip = GER_KPD_-10_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = GER_hedge_against_radicalism
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_stability = -0.1 }
				custom_effect_tooltip = GER_DVU_stab_-0.1_tt
			}
			r56_ger_dvu_50 = yes
			IF = {
				limit = {
					has_active_mission = GER_zentrum_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_zentrum_demands_action
					days = 200
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_build_germany_from_the_apartment_up
		icon = GFX_focus_generic_low_cost_housing
		cost = 7.2
		prerequisite = {focus = GER_federalism_a_hedge_against_radicalism }
		prerequisite = { focus = GER_increase_municipal_autonomy}

		x = -1
		y = 1

		relative_position_id = GER_federalism_a_hedge_against_radicalism
		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_konrad_adenauer
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			remove_ideas = GER_hedge_against_radicalism
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = GER_new_federalism_2
				add_idea = GER_new_federalism_3
			}
			r56_ger_dvu_50 = yes
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = {
					has_active_mission = GER_zentrum_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_zentrum_demands_action
					days = 280
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY}
	}
	focus = {
		id = GER_prioritise_the_rheinland
		icon = GFX_goal_ger_rhineland2
		cost = 8
		prerequisite = {focus = GER_increase_municipal_autonomy}

		x = -1
		y = 1

		relative_position_id = GER_increase_municipal_autonomy
		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_konrad_adenauer
				ruling_only = yes
			}
			controls_state = 51
			controls_state = 989
		}
		ai_will_do = {
		}
		completion_reward = {
			add_stability = -0.05
			IF = {
				limit = { has_country_flag = GER_dvu_formed}
				add_to_variable = { DVU_seats = -5 }
				custom_effect_tooltip = GER_DVU_-5_tt
			}
			else = {
				add_to_variable = { Zentrum_seats = -5 }
				custom_effect_tooltip = GER_zentrum_-5_tt
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			every_state = {
				limit = {
					OR = {
						state = 51
						state = 989
					}
				}
				add_dynamic_modifier = { modifier = GER_prioritized_rheinland }
			}
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_bop = 0.25 }
				custom_effect_tooltip = GER_DVU_bop_0.25_tt
			}
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_stability = -0.1 }
				custom_effect_tooltip = GER_DVU_stab_-0.1_tt
			}
			r56_ger_dvu_20 = yes
			IF = {
				limit = {
					has_active_mission = GER_zentrum_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_zentrum_demands_action
					days = 100
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = GER_undo_the_secularization_of_germany
		icon = GFX_focus_por_concordat
		cost = 5
		prerequisite = { focus = GER_dnvp_in_coalition focus = GER_zentrum_in_coalition focus = GER_dvu_in_coalition}

		x = -2
		y = 1

		relative_position_id = GER_zentrum_in_coalition

		mutually_exclusive = {
		}

		available = {
			NOT = { has_completed_focus = GER_embrace_secularism }
			NOT = { has_completed_focus = GER_positive_christianty}
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		offset = {
			x = -2
			y = 4
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_country_flag = GER_dvu_formed
				has_country_flag = GER_adenauer_leadership
			}
		}
		completion_reward = {
			add_ideas = GER_the_end_of_secularism
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_stability = 0.25 }
				custom_effect_tooltip = GER_DVU_stab_0.25_tt
				add_to_variable = { DVU_bop = 0.1 }
				custom_effect_tooltip = GER_DVU_bop_0.1_tt
			}
			r56_ger_zentrum_35 = yes
			r56_ger_dnvp_20 = yes
			r56_ger_dvu_20 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = GER_apply_the_reichskonkordat_to_the_republic
		icon = GFX_focus_generic_pope
		cost = 5
		prerequisite = { focus = GER_undo_the_secularization_of_germany}

		x = -1
		y = 1

		relative_position_id = GER_undo_the_secularization_of_germany

		mutually_exclusive = {
		}

		available = {
			NOT = { has_government = communism }
		}
		ai_will_do = {
		}
		completion_reward = {
			country_event = new_ger.124

			custom_effect_tooltip = report_reward
			event_option_tooltip = new_ger.124.a
			custom_effect_tooltip = alternative_diplomatic_reward
			event_option_tooltip = new_ger.124.b
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}
	}
	focus = {
		id = GER_restore_the_state_churches
		icon = GFX_focus_SOV_rebuild_the_savior_cathedral
		cost = 10
		prerequisite = { focus = GER_undo_the_secularization_of_germany }
		mutually_exclusive = {}

		x = 0
		y = 2

		relative_position_id = GER_undo_the_secularization_of_germany
		available = {
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		offset = {
			x = 1
			y = -1
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_country_flag = GER_dvu_formed
				has_country_flag = GER_adenauer_leadership
			}
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_the_end_of_secularism
				add_idea = GER_state_churches
			}
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
				}
				add_to_variable = { DVU_seats = 5 }
				custom_effect_tooltip = GER_DVU_5_tt
			}
			else_if = {
				limit = { 
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}}
				add_to_variable = { DNVP_seats = 5 }
				custom_effect_tooltip = GER_DNVP_5_tt
			}
			else = {
				add_to_variable = { Zentrum_seats = 5 }
				custom_effect_tooltip = GER_zentrum_5_tt
			}
			IF = {
				limit = {
					has_country_flag = GER_dvu_formed
				}
				add_to_variable = { DVU_stability = -0.25 }
				custom_effect_tooltip = GER_DVU_stab_-0.25_tt
				add_to_variable = { DVU_bop = 0.1 }
				custom_effect_tooltip = GER_DVU_bop_0.1_tt
			}
			r56_ger_zentrum_50 = yes
			r56_ger_dnvp_35 = yes
			r56_ger_dvu_35 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }

	}
	focus = {
		id = GER_dstp_in_coalition
		icon = GFX_goal_ger_dstp_victory
		cost = 10
		prerequisite = { focus = GER_hold_new_elections }

		x = 6
		y = 1

		relative_position_id = GER_hold_new_elections

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = {
					NOT = { has_completed_focus = GER_end_interanal_factionalism}
				}
				add_ideas = GER_dvp_factionalism
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			IF = {
				limit = {
					has_completed_focus = GER_consolidate_elite_support
				}
				add_ideas = GER_elite_support
			}
			IF = {
				limit = { has_country_flag = GER_fight_trade_unions_flag}
				add_ideas = GER_fighting_trade_unions
			}
			IF = {
				limit = { has_country_flag = GER_middle_class_voter_base_flag }
				add_ideas = GER_middle_class_voter_base
			}
			IF = {
				limit = { has_completed_focus = GER_focus_on_political_education}
				add_ideas = GER_political_education
			}
			IF = {
				limit = {
					check_variable = {
						var = GER_chosen_gov_leader
						value = 4
						compare = equals
					}
					has_completed_focus = GER_a_juggernaught_back_from_the_grave
				}
				add_ideas = GER_the_new_german_establishment_idea_3
			}
			else_if = {
				limit = {has_completed_focus = GER_a_respectable_germany}
				add_ideas = GER_the_new_german_establishment_idea_2
			}
			else_if = {
				limit = { has_completed_focus = GER_the_new_german_establishment}
				add_ideas = GER_the_new_german_establishment_idea
			}
			IF = {
				limit = {
					check_variable = {
						var = GER_chosen_gov_leader
						value = 4
						compare = equals
					}
				}
				IF = {
					limit = { 
						NOT = { has_government = democratic }
					}
					set_politics = {
						ruling_party = democratic
						elections_allowed = yes
					}
				}
				else_if = {
					limit = { has_elections = no }
					set_politics = {
						ruling_party = ROOT
						elections_allowed = yes
					}
				}
				set_party_name = {
					ideology = democratic
					long_name = GER_lvp_long
					name = GER_lvp_short
				}
				promote_character = {
					character = GER_theodor_heuss
					ideology = liberalism
				}
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_theodor_heuss
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER}
	}
	focus = {
		id = GER_consolidate_elite_support
		icon = GFX_focus_generic_military_industry
		cost = 7.2
		prerequisite = { focus = GER_dstp_in_coalition}

		x = 2
		y = 1

		relative_position_id = GER_dstp_in_coalition

		mutually_exclusive = {
		}
		bypass = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
			has_completed_focus = GER_strengthen_the_responsible_elites
		}
		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_to_variable = { DSTP_seats = 5}
			custom_effect_tooltip = GER_DSTP_5_tt
		
			add_political_power = 50
			add_ideas = GER_elite_support
			IF = {
				limit = { has_active_mission = GER_dstp_demands_action}
				add_days_mission_timeout = {
					mission = GER_dstp_demands_action
					days = 200
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = GER_focus_on_political_education
		icon = GFX_goal_generic_german_advisor
		cost = 7.2
		prerequisite = { focus = GER_dstp_in_coalition}

		x = -1
		y = 1

		relative_position_id = GER_dstp_in_coalition

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_political_education
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = { NOT = { has_country_flag = GER_dvu_formed}}
				add_to_variable = { DNVP_seats = -5}
				custom_effect_tooltip = GER_DNVP_-5_tt
			}
			add_to_variable = { NRAF_seats = -5}
			custom_effect_tooltip = GER_NRAF_-5_tt
			IF = {
				limit = { has_active_mission = GER_dstp_demands_action}
				add_days_mission_timeout = {
					mission = GER_dstp_demands_action
					days = 200
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }

	}
	focus = {
		id = GER_a_new_national_anthem
		icon = GFX_goal_GER_flag_germany_democratic
		cost = 7.2
		prerequisite = { focus = GER_focus_on_political_education}

		x = 0
		y = 1

		relative_position_id = GER_focus_on_political_education

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_theodor_heuss
				ruling_only = yes
			}
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_war_support = -0.05
			add_stability = 0.05
			add_political_power = 75
			add_to_variable = { DSTP_seats = 10}
			custom_effect_tooltip = GER_DSTP_10_tt
			IF = {
				limit = { has_active_mission = GER_dstp_demands_action}
				add_days_mission_timeout = {
					mission = GER_dstp_demands_action
					days = 200
				}
			}
			IF = {
				limit = {
					OR = { has_idea = GER_president_beck has_idea = GER_president_beck_2 has_idea = GER_president_canaris has_completed_focus = GER_abandon_the_post_alltogether }
				}
				country_event = new_ger.110
				custom_effect_tooltip = GER_a_new_national_anthem_tt
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = GER_legacy_of_stresemann
		icon = GFX_goal_GER_legacy_of_stresemann
		cost = 5
		prerequisite = { focus = GER_dstp_in_coalition }

		x = -2
		y = 3

		relative_position_id = GER_dstp_in_coalition

		mutually_exclusive = {
			focus = GER_legacy_of_stinn
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_to_variable = { DSTP_seats = 5}
			custom_effect_tooltip = GER_DSTP_5_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			add_trait = {
				character = GER_theodor_heuss
				ideology = liberalism
				trait = GER_stresemanns_heir
			}
			IF = {
				limit = { has_active_mission = GER_dstp_demands_action}
				add_days_mission_timeout = {
					mission = GER_dstp_demands_action
					days = 150
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = { has_idea = sour_loser}
				remove_ideas = sour_loser
				custom_effect_tooltip = generic_skip_one_line_tt
				set_rule = {
					can_create_factions = yes
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

	}
	focus = {
		id = GER_end_interanal_factionalism
		icon = GFX_focus_NOR_empower_sivorg
		cost = 7.2
		prerequisite = { focus = GER_legacy_of_stresemann focus = GER_legacy_of_stinn}

		x = 1
		y = 1

		relative_position_id = GER_legacy_of_stresemann

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
			has_idea = GER_dvp_factionalism
			has_completed_focus = GER_fight_trade_unions
			OR = {
				has_completed_focus = GER_liberalize_the_economy
				has_completed_focus = GER_limited_social_reform
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			remove_ideas = GER_dvp_factionalism
			IF = {
				limit = {
					has_active_mission = GER_dstp_demands_action
				}
				add_days_mission_timeout = {
					mission = GER_dstp_demands_action
					days = 200
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

	}
	focus = {
		id = GER_fight_trade_unions
		icon = GFX_focus_GER_the_four_year_plan
		cost = 7.2
		prerequisite = { focus = GER_consolidate_elite_support}

		x = 1
		y = 1

		relative_position_id = GER_consolidate_elite_support

		mutually_exclusive = {
		}

		available = {
			OR = {
				has_completed_focus = GER_liberalize_the_economy
				has_completed_focus = GER_limited_social_reform
			}
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			country_event = new_ger.128

			custom_effect_tooltip = report_reward
			event_option_tooltip = new_ger.128.a
			custom_effect_tooltip = alternative_diplomatic_reward
			event_option_tooltip = new_ger.128.b
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }

	}
	focus = {
		id = GER_the_new_german_establishment
		icon = GFX_focus_ger_oppose_hitler
		cost = 10
		prerequisite = { focus = GER_consolidate_elite_support}

		x = -1
		y = 1

		relative_position_id = GER_consolidate_elite_support

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_to_variable = { DSTP_seats = 5}
			custom_effect_tooltip = GER_DSTP_5_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = GER_elite_support
				add_idea = GER_the_new_german_establishment_idea
			}
			IF = {
				limit = { has_active_mission = GER_dstp_demands_action}
				custom_effect_tooltip = generic_skip_one_line_tt
				add_days_mission_timeout = {
					mission = GER_dstp_demands_action
					days = 240
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY}
	}
	focus = {
		id = GER_legacy_of_stinn
		icon = GFX_goal_generic_power_plant
		cost = 5
		prerequisite = { focus = GER_the_new_german_establishment }

		x = -1
		y = 1

		relative_position_id = GER_the_new_german_establishment

		mutually_exclusive = {
			focus = GER_legacy_of_stresemann
		}

		available = {
			NOT = { 
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			} }
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_trait = {
				character = GER_theodor_heuss
				ideology = liberalism
				trait = GER_stinns_heir
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = { has_active_mission = GER_dstp_demands_action}
				add_days_mission_timeout = {
					mission = GER_dstp_demands_action
					days = 150
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_gottfried_reinhold_treviranus
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = GER_a_respectable_germany
		icon = GFX_focus_PER_strengthen_the_tudeh
		cost = 7.2
		prerequisite = { focus = GER_the_new_german_establishment}
		x = 1
		y = 1

		relative_position_id = GER_the_new_german_establishment

		mutually_exclusive = {
		}

		available = {
			OR = {
				NOT = { 
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}}
				has_country_leader = {
					character = GER_theodor_heuss
					ruling_only = yes
				}
			}
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_to_variable = { DSTP_seats = 5}
			custom_effect_tooltip = GER_DSTP_5_tt
			add_stability = 0.05
			swap_ideas = {
				remove_idea = GER_the_new_german_establishment_idea
				add_idea = GER_the_new_german_establishment_idea_2
			}
			IF = {
				limit = { has_active_mission = GER_dstp_demands_action}
				add_days_mission_timeout = {
					mission = GER_dstp_demands_action
					days = 200
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }

	}
	focus = {
		id = GER_a_juggernaught_back_from_the_grave
		icon = GFX_focus_GER_defender_of_democracy
		cost = 7.2
		prerequisite = { focus = GER_a_respectable_germany}
		prerequisite = {  focus = GER_fight_trade_unions}
		x = 1
		y = 1

		relative_position_id = GER_a_respectable_germany

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_theodor_heuss
				ruling_only = yes
			}
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_to_variable = { DSTP_seats = 15 }
			custom_effect_tooltip = GER_DSTP_15_tt
			add_to_variable = { SPD_seats = -5 }
			custom_effect_tooltip = GER_SPD_-5_tt
			add_to_variable = { Zentrum_seats = -5 }
			custom_effect_tooltip = GER_zentrum_-5_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = GER_the_new_german_establishment_idea_2
				add_idea = GER_the_new_german_establishment_idea_3
			}
			IF = {
				limit = { has_active_mission = GER_dstp_demands_action}
				add_days_mission_timeout = {
					mission = GER_dstp_demands_action
					days = 200
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }

	}
	focus = {
		id = GER_step_back_into_the_international_community
		icon = GFX_focus_GER_weltpolitik
		cost = 2
		prerequisite = { focus = GER_heed_von_neuraths_concerns focus = GER_die_letzte_verschwoerung}
		x = -23
		y = 2

		relative_position_id = GER_die_letzte_verschwoerung

		offset = {
			x = -7
			y = 5
			trigger = {
				OR = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE_OLD
					}
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					AND = {
						has_completed_focus = GER_remilitarize_the_rhineland
						has_game_rule = {
							rule = GER_focus_tree_selection
							option = R56_TREE
						}
					}
				}
			}
		}
		offset = {
			x = 10
			trigger = {
				has_completed_focus = GER_shake_off_the_fascist_yoke
			}
		}
		offset = {
			x = -15
			y = -3
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_heed_von_neuraths_concerns
			}
		}
		offset = {
			y = -1
			trigger = {
				has_completed_focus = GER_shake_off_the_fascist_yoke
				NOT = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
			}
		}
		offset = {
			x = -3
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_offer_goerdeler_reconciliation
			}

		}
		offset = {
			x = -3
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_move_towards_autocracy
			}

		}
		offset = {
			x = -4
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_the_abwehrs_germany
			}

		}
		offset = {
			x = -5
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_a_martial_state
			}

		}
		offset = {
			x = 29
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_found_the_new_german_state
			}

		}
		offset = {
			x = -16
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_found_the_german_interim_government
			}

		}
		offset = {
			x = -10
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_a_dictated_parliament
			}

		}
		mutually_exclusive = {
		}

		bypass = {
			IF = {
				limit = {
					has_completed_focus = GER_remilitarize_the_rhineland
				}
				hidden_trigger = { always = yes }
			}
			else = {
				hidden_trigger = { always = no }
			}
		}
		available = {
			IF = {
				limit = {
					has_completed_focus = GER_remilitarize_the_rhineland
				}
				hidden_trigger = { always = yes }
			}
			else_if = {
				limit = {
					has_completed_focus = GER_the_abwehrs_germany
				}
				OR = {
					has_completed_focus = GER_the_canaris_wilhelm_pakt
					has_completed_focus = GER_declare_the_presidential_republic
				}
			}
			else_if = {
				limit = {
					has_completed_focus = GER_a_martial_state
				}
				OR = {
					has_completed_focus = GER_pass_the_beck_constiution
					has_completed_focus = GER_a_guided_kaiserreich
					has_completed_focus = GER_the_old_man_still_has_it
				}
			}
			else_if = {
				limit = {
					has_completed_focus = GER_found_the_new_german_state
				}
				OR = {
					has_completed_focus = GER_pass_the_beck_constiution
					has_completed_focus = GER_a_guided_kaiserreich
					has_completed_focus = GER_the_old_man_still_has_it
					has_completed_focus = GER_the_canaris_wilhelm_pakt
					has_completed_focus = GER_declare_the_presidential_republic
				}
			}
			else_if = {
				limit = {
					has_completed_focus = GER_found_the_german_interim_government
				}			
				has_completed_focus = GER_hold_new_elections
				custom_trigger_tooltip = {

					tooltip = GER_gov_tt
					NOT = { has_country_flag = GER_no_gov}

				}
			}
			else_if = {
				limit = {
					has_completed_focus = GER_shake_off_the_fascist_yoke
				}
				has_completed_focus = GER_the_revolution_secured
			}
			else_if = {
				limit = { has_completed_focus = GER_die_letzte_verschwoerung }
				OR = {
					AND = {				
						has_completed_focus = GER_hold_new_elections
						custom_trigger_tooltip = {

							tooltip = GER_gov_tt
							NOT = { has_country_flag = GER_no_gov}

						}
					}
					has_completed_focus = GER_the_revolution_secured
					has_completed_focus = GER_pass_the_beck_constiution
					has_completed_focus = GER_a_guided_kaiserreich
					has_completed_focus = GER_the_old_man_still_has_it
					has_completed_focus = GER_declare_the_presidential_republic
					has_completed_focus = GER_the_canaris_wilhelm_pakt
				}
			}
			else = {
				OR = {
					AND = {				
						has_completed_focus = GER_hold_new_elections
						custom_trigger_tooltip = {

							tooltip = GER_gov_tt
							NOT = { has_country_flag = GER_no_gov}

						}
					}
					has_completed_focus = GER_remilitarize_the_rhineland
					has_completed_focus = GER_the_revolution_secured
					has_completed_focus = GER_pass_the_beck_constiution
					has_completed_focus = GER_a_guided_kaiserreich
					has_completed_focus = GER_the_old_man_still_has_it
					has_completed_focus = GER_declare_the_presidential_republic
					has_completed_focus = GER_the_canaris_wilhelm_pakt
				}
			}
		}
		ai_will_do = {
		}
		bypass_effect = {
		}
		completion_reward = {
			add_political_power = 30
			custom_effect_tooltip = generic_skip_one_line_tt
			remove_ideas = GER_diplomatic_uncertainty
			IF = {
				limit = {
					NOT = {
						has_rule = can_send_volunteers
					}
				}
				set_rule = { 
					can_send_volunteers = yes
				}	
			}
		}
		offset = {
			y = -1
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_die_letzte_verschwoerung
			}

		}
		offset = {
			x = -8
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_found_the_new_german_state
			}

		}
		offset = {
			x = 31
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				OR = {
					has_completed_focus = GER_found_the_german_interim_government
					has_completed_focus = GER_found_the_new_german_state
				}
			}

		}
		search_filters = { FOCUS_FILTER_INTERNATIONAL_TRADE }
	}
	focus = {
		id = GER_reaffirm_territorial_claims
		icon = GFX_goal_GER_great_black_menace
		cost = 7.2
		prerequisite = { focus = GER_step_back_into_the_international_community }
		x = 0
		y = 1

		relative_position_id = GER_step_back_into_the_international_community

		mutually_exclusive = {
		}
		available = {
			has_army_manpower = {
				size > 450000
			}
			IF = {
				limit = { has_completed_focus = GER_shake_off_the_fascist_yoke }
				has_completed_focus = GER_the_berlin_trials
			}
			IF = {
				limit = { 
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			} }
				OR = {
					has_completed_focus = GER_strengthen_german_patriotism
					has_completed_focus = GER_legacy_of_stinn
				}
			}
		}
		completion_reward = {
			add_threat = 5
			add_war_support = 0.05
			add_state_core = 85
			add_state_core = 762
			add_state_core = 965
			add_state_core = 188
			add_state_claim = 807
			add_state_claim = 86
			add_state_claim = 964
			IF = {
				limit = {
					NOT = { has_completed_focus = GER_reapproach_the_west}
				}
				add_state_claim = 28
			}
			custom_effect_tooltip = GER_reaffirm_territorial_claims_tt
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_WAR_SUPPORT }
	}
	focus = {
		id = GER_heavy_handed_foreign_policy
		icon = GFX_focus_ETH_freedom_at_gunpoint
		cost = 3
		prerequisite = { focus = GER_step_back_into_the_international_community }
		x = -3
		y = 1

		relative_position_id = GER_step_back_into_the_international_community

		mutually_exclusive = {
		}
		available = {
			has_government = democratic
			NOT = { has_completed_focus = GER_renegotiate_versailles_new }
			NOT = { has_completed_focus = GER_work_towards_national_demilitarization}
			OR = {
				has_completed_focus = GER_legacy_of_stinn
				has_completed_focus = GER_claim_leadership_of_german_nationalism
			}
		}
		completion_reward = {
			add_threat = 5
			add_ideas = GER_heavy_handed_foreign_policy_idea
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_WAR_SUPPORT }
	}
	focus = {
		id = GER_an_outstreched_arm_towards_the_east
		icon = GFX_focus_chi_mission_to_the_soviet_union
		cost = 3.7
		prerequisite = { focus = GER_step_back_into_the_international_community }
		x = 3
		y = 1

		relative_position_id = GER_step_back_into_the_international_community

		mutually_exclusive = {
		}
		available = {
			NOT = { has_government = fascism}
			NOT = { has_war_with = SOV }
			OR = {
				has_completed_focus = GER_hold_new_elections
				SOV = {
					IF = {
						limit = { has_global_flag = sov_old_focus_tree}
						
						OR = {	#56 - Adding support for old SOV tree
							has_completed_focus = SOV_counter_coup_old
							has_completed_focus = SOV_form_a_fifth_column
						}
					}
					else = { 
						
						has_completed_focus = SOV_beaten_but_not_defeated
					}
				}
			}
		}
		bypass = {
			SOV = {
				IF = {
					limit = { has_global_flag = sov_old_focus_tree}
					
					has_government = communism
				}
				else = { 
					
					has_completed_focus = SOV_the_path_of_marxism_leninism
				}
			}
			has_non_aggression_pact_with = SOV
		}
		completion_reward = {
			unlock_decision_tooltip = GER_intervene_in_russia
			unlock_decision_tooltip = GER_nap_with_russia
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_WAR_SUPPORT }
	}
	focus = {
		id = GER_build_a_pakt_around_berlin
		icon = GFX_goal_generic_major_alliance
		cost = 3.7
		prerequisite = { focus = GER_step_back_into_the_international_community }
		x = -7
		y = 1

		relative_position_id = GER_step_back_into_the_international_community

		mutually_exclusive = {
		}
		available = {
			has_army_manpower = {
				size > 500000
			}
			is_in_faction = no
		}
		bypass = {
			is_faction_leader = yes
		}
		completion_reward = {
			IF = {
				limit = {
					has_government = communism
					has_country_flag = GER_crazy_commie_germany
				}
				create_faction_from_template = faction_template_GER_crazy_commie_germany
			}
			else_if = {
				limit = {
					has_government = communism
				}
				create_faction_from_template = faction_template_GER_normal_commie_germany
				country_event = new_ger.105
			}
			else_if = {
				limit = {
					has_government = democratic
				}
				create_faction_from_template = faction_template_GER_normal_demo_germany
				country_event = new_ger.106
			}
			else = {
				create_faction_from_template = faction_template_military_germany
				country_event = new_ger.107
			}
			add_political_power = 25
			unlock_decision_tooltip = GER_faction_invite_pakt
		}
		search_filters = { FOCUS_FILTER_ALLIANCE FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = GER_encircle_the_entente_powers
		icon = GFX_focus_intervention_spain_nationalists
		cost = 5
		prerequisite = { focus = GER_build_a_pakt_around_berlin focus = GER_heavy_handed_foreign_policy }
		x = 3
		y = 1

		relative_position_id = GER_build_a_pakt_around_berlin

		mutually_exclusive = {
		}
		available = {
			has_completed_focus = GER_rekindle_the_franco_german_rivalry
			is_faction_leader = yes
			OR = {
				SPR = {
					is_in_faction = no
					is_subject = no
					has_civil_war = no
					IF = {
						limit = { has_government = communism}
						ROOT = { 
							has_government = communism
						}
					}
					IF = {
						limit = { has_government = fascism}
						ROOT = { 
							has_government = fascism
						}
					}
					IF = {
						limit = { ROOT = { has_government = fascism }}
						NOT = { has_government = democratic}
					}
					IF = {
						limit = { ROOT = { has_government = communism }}
						NOT = { has_government = neutrality}
					}
				}
				POR = {
					is_in_faction = no
					is_subject = no
					has_civil_war = no
					IF = {
						limit = { has_government = communism}
						ROOT = { 
							has_government = communism
						}
					}
					IF = {
						limit = { has_government = fascism}
						ROOT = { 
							has_government = fascism
						}
					}
					IF = {
						limit = { ROOT = { has_government = fascism }}
						NOT = { has_government = democratic}
					}
					IF = {
						limit = { ROOT = { has_government = communism }}
						NOT = { has_government = neutrality}
					}
				}
			}
		}
		bypass = {
		}
		completion_reward = {
			SPR = {
				IF = {
					limit = {
						is_in_faction = no
						is_subject = no
						has_civil_war = no
						NOT = { has_completed_focus = SPR_regional_defense_council_of_aragon }
						IF = {
							limit = { has_government = communism}
							ROOT = { 
								has_government = communism
							}
						}
						IF = {
							limit = { has_government = fascism}
							ROOT = { 
								has_government = fascism
							}
						}
						IF = {
							limit = { ROOT = { has_government = fascism }}
							NOT = { has_government = democratic}
						}
						IF = {
							limit = { ROOT = { has_government = communism }}
							NOT = { has_government = neutrality}
						}
					}
				}
				country_event = generic.5
			}
			POR = {
				IF = {
					limit = {
						is_in_faction = no
						is_subject = no
						has_civil_war = no
						IF = {
							limit = { has_government = communism}
							ROOT = { 
								has_government = communism
							}
						}
						IF = {
							limit = { has_government = fascism}
							ROOT = { 
								has_government = fascism
							}
						}
						IF = {
							limit = { ROOT = { has_government = fascism }}
							NOT = { has_government = democratic}
						}
						IF = {
							limit = { ROOT = { has_government = communism }}
							NOT = { has_government = neutrality}
						}
					}
				}
				country_event = generic.5
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = GER_a_europe_of_the_fatherlands
		icon = GFX_focus_GER_european_confederation
		cost = 7.2
		prerequisite = { focus = GER_build_a_pakt_around_berlin }
		mutually_exclusive = { focus = GER_a_europe_around_the_reich }
		x = -1
		y = 1

		relative_position_id = GER_build_a_pakt_around_berlin

		mutually_exclusive = {
		}
		available = {
			num_faction_members > 4
			is_faction_leader = yes
		}
		completion_reward = {
			add_faction_goal_slot = {
    			category  = medium_term
    			value = 1 
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_faction_goal = faction_goal_sovereign_europe
			custom_effect_tooltip = upon_completion_tt
			effect_tooltip = {
				add_faction_power_projection = 100
				every_faction_member = {
					limit = {
						original_tag = GER
					}
					add_faction_initiative = 1
				}
				GER = {
					IF = {
						limit = { has_idea = sour_loser}
						remove_ideas = sour_loser
						custom_effect_tooltip = generic_skip_one_line_tt
						set_rule = {
							can_create_factions = yes
						}
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				every_faction_member = { 
					add_ideas = GER_sovereign_europe_idea
					custom_effect_tooltip = GER_europe_industry_tt
					add_political_power = 25
				}
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
	}
	focus = {
		id = GER_towards_a_european_research_sphere
		icon = GFX_goal_generic_scientific_exchange
		cost = 5
		prerequisite = { focus = GER_a_europe_of_the_fatherlands }
		x = 0
		y = 1

		relative_position_id = GER_a_europe_of_the_fatherlands

		mutually_exclusive = {
		}
		available = {
			num_faction_members > 5
			is_faction_leader = yes
		}
		completion_reward = {
			add_to_tech_sharing_group = ger_dem_research
			every_other_country = {
				limit = { is_in_faction_with = GER }
				add_to_tech_sharing_group = ger_dem_research 
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
	}
	focus = {
		id = GER_a_europe_around_the_reich
		icon = GFX_focus_GER_german_hegemony_in_the_middle_east_neutrality
		cost = 7.2
		prerequisite = { focus = GER_build_a_pakt_around_berlin }
		mutually_exclusive = { focus = GER_a_europe_of_the_fatherlands }
		x = 1
		y = 1

		relative_position_id = GER_build_a_pakt_around_berlin

		mutually_exclusive = {
		}
		available = {
			num_faction_members > 4
			is_faction_leader = yes
		}
		completion_reward = {
			add_faction_goal_slot = {
    			category  = medium_term
    			value = 1 
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_faction_goal = faction_goal_centralize_europe
			custom_effect_tooltip = upon_completion_tt
			effect_tooltip = {
				add_faction_power_projection = 100
				every_faction_member = {
					limit = {
						original_tag = GER
					}
					add_faction_initiative = 1
					add_political_power = 50
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				every_faction_member = { 
					limit = {
						NOT = { original_tag = GER}
					}
					add_ideas = GER_europe_around_the_reich_idea
					custom_effect_tooltip = GER_europe_industry_tt
				}
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }

	}
	focus = {
		id = GER_increase_factional_defenses
		icon = GFX_goal_generic_authority
		cost = 5
		prerequisite = { focus = GER_a_europe_around_the_reich focus = GER_a_europe_of_the_fatherlands }
		x = -1
		y = 2

		relative_position_id = GER_a_europe_around_the_reich

		mutually_exclusive = {
		}
		available = {
			num_faction_members > 7
			is_faction_leader = yes
			OR = {
				any_country = {
					has_idea = GER_europe_around_the_reich_idea
				}
				has_idea = GER_sovereign_europe_idea
			}
			has_army_manpower = {
				size > 2000000
			}
		}
		completion_reward = {
			IF = {
				limit = { has_completed_focus = GER_a_europe_around_the_reich}
				add_war_support = 0.1
				custom_effect_tooltip = generic_skip_one_line_tt
				add_ideas = GER_defender_of_europe
			}
			else = {
				custom_effect_tooltip = GER_increase_factional_defenses_tt
				custom_effect_tooltip = generic_skip_one_line_tt
				every_faction_member = {
					add_war_support = 0.05
					IF = {
						limit = {
							has_idea = GER_european_coal_and_steel_community
						}
						swap_ideas = {
							remove_idea = GER_european_coal_and_steel_community
							add_idea = GER_european_coal_and_steel_community_2
						}
					}
					else = {
						swap_ideas = {
							remove_idea = GER_sovereign_europe_idea
							add_idea = GER_sovereign_europe_idea_2
						}
					}
				}

			}
			custom_effect_tooltip = GER_europe_industry_tt
		}
		search_filters = { FOCUS_FILTER_ALLIANCE FOCUS_FILTER_WAR_SUPPORT }

	}
	focus = {
		id = GER_rekindle_the_franco_german_rivalry
		icon = GFX_focus_attack_france
		cost = 5
		mutually_exclusive = { focus = GER_reapproach_the_west }
		prerequisite = { focus = GER_reaffirm_territorial_claims }
		x = 4
		y = 1

		relative_position_id = GER_reaffirm_territorial_claims

		mutually_exclusive = {
		}
		available = {
			is_subject = no
			has_army_manpower = {
				size > 750000
			}
			IF = {
				limit = { 
					OR = { has_government = democratic has_government = communism}
				}
				FRA = { NOT = { has_government = ROOT }}
			}
			IF = {
				limit = { has_completed_focus = GER_shake_off_the_fascist_yoke}
				has_completed_focus = GER_the_berlin_trials
			}
		}
		completion_reward = {
			IF = {
				limit = { has_completed_focus = GER_found_the_german_interim_government}
				add_to_variable = { GER_mil_opinion = 1 }
				custom_effect_tooltip = GER_mil_opinion1_tt
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			add_threat = 5
			send_embargo = FRA
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = GER_franco_german_rivalry
			custom_effect_tooltip = generic_skip_one_line_tt
			FRA = { country_event = new_ger.94 }
			unlock_decision_tooltip = GER_demand_elsass
			IF = {
				limit = {
					BEL = {
						owns_state = 965
						controls_state = 965
					}
					NOT = { has_non_aggression_pact_with = BEL }
					can_declare_war_on = BEL
					BEL = {
						NOT = {
							is_ally_with = ROOT
							has_war_with = ROOT
						}
					}
					OR = {
						has_elections = no
						has_completed_focus = GER_dnvp_in_coalition
						has_completed_focus = GER_nraf_in_coalition
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = GER_unlock_attack_belgium_which_grants_tt
				effect_tooltip = {
					
					add_timed_idea = {
						idea = GER_operation_bonifazius
						days = 25
					}
					custom_effect_tooltip = generic_skip_one_line_tt
					declare_war_on = {
						target = BEL
						type = annex_everything
					}
					IF = {
						limit = {
							NOT = { has_non_aggression_pact_with = LUX }
							can_declare_war_on = LUX
							LUX = {
								exists = yes
								NOT = {
									is_ally_with = ROOT
									has_war_with = ROOT
								}
							}
							NOT = {
								AND = {
									has_government = communism
									LUX = { has_government = communism}
								}
							}
						}
						custom_effect_tooltip = generic_skip_one_line_tt
						country_event = new_ger.177
						custom_effect_tooltip = report_reward
						event_option_tooltip = new_ger.177.a
						custom_effect_tooltip = alternative_diplomatic_reward
						event_option_tooltip = new_ger.177.b
						custom_effect_tooltip = alternative_diplomatic_reward
						event_option_tooltip = new_ger.177.c
						custom_effect_tooltip = generic_skip_one_line_tt
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_WAR_SUPPORT }
	}
	focus = {
		id = GER_reapproach_the_west
		icon = GFX_allies
		cost = 7.2
		mutually_exclusive = { focus = GER_rekindle_the_franco_german_rivalry }
		prerequisite = { focus = GER_step_back_into_the_international_community }
		x = 6
		y = 2

		relative_position_id = GER_step_back_into_the_international_community

		mutually_exclusive = {
		}
		available = {
			NOT = { has_government = fascism}
			has_added_tension_amount < 15
			IF = {
				limit = {
					has_country_flag = GER_FRA_no_reapproachment
				}
				NOT = { has_country_flag = GER_FRA_no_reapproachment}
			}
			IF = {
				limit = { has_country_flag = GER_crazy_commie_germany}
				NOT = { has_country_flag = GER_crazy_commie_germany}
			}
			IF = {
				limit = { has_completed_focus = GER_shake_off_the_fascist_yoke}
				has_completed_focus = GER_the_berlin_trials
			}
			else_if = {
				limit = {
					has_completed_focus = GER_found_the_german_interim_government
				}
				has_completed_focus = GER_military_depoliticization
			}
			else_if = {
				limit = {
					has_completed_focus = GER_the_abwehrs_germany
				}
				OR = {
					has_completed_focus = GER_integrate_the_zentrum
					has_completed_focus = GER_hold_new_elections
				}
			}
			else_if = {
				limit = { has_completed_focus = GER_a_martial_state}
				OR = {
					has_completed_focus = GER_pass_the_beck_constiution
					has_completed_focus = GER_embrace_christian_humanism
				}
			}
		}
		completion_reward = {
			IF = {
				limit = { has_completed_focus = GER_found_the_german_interim_government}
				add_to_variable = { GER_mil_opinion = -2 }
				custom_effect_tooltip = GER_mil_opinion_-2_tt
			}
			FRA = { country_event = new_ger.98}
			ENG = { country_event = new_ger.98}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				diplomatic_relation = {
					country = FRA
					relation = non_aggression_pact
					active = yes
				}
				diplomatic_relation = {
					country = ENG
					relation = non_aggression_pact
					active = yes
				}
				remove_state_claim = 28
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_threat = -3
			add_stability = 0.05
			IF = {
				limit = { has_idea = sour_loser}
				remove_ideas = sour_loser
				custom_effect_tooltip = generic_skip_one_line_tt
				set_rule = {
					can_create_factions = yes
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			unlock_decision_tooltip = GER_join_allies_r56_dec
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_ALLIANCE }
	}
	focus = {
		id = GER_reestablish_colonial_claims
		icon = GFX_focus_GER_mittelafrika
		cost = 10
		prerequisite = { focus = GER_rekindle_the_franco_german_rivalry focus = GER_reapproach_the_west }
		x = 4
		y = 3

		relative_position_id = GER_reaffirm_territorial_claims

		mutually_exclusive = {
			focus = GER_renegotiate_versailles_new
		}
		available = {
			is_subject = no
			NOT = {
				OR = {
					has_government = democratic
					has_government = communism
				}
			}
			IF = {
				limit = {
					has_completed_focus = GER_found_the_german_interim_government
				}
				OR = {
					has_completed_focus = GER_highten_nationalist_rethoric
					has_completed_focus = GER_revive_the_attitude_of_1914
				}
			}
			else_if = {
				limit = {
					has_completed_focus = GER_the_abwehrs_germany
				}
				OR = {
					has_completed_focus = GER_highten_nationalist_rethoric
					has_completed_focus = GER_form_the_league_of_patriots
				}
			}
			else_if = {
				limit = {
					has_completed_focus = GER_a_martial_state
				}
				OR = {
					has_completed_focus = GER_highten_nationalist_rethoric
					has_completed_focus = GER_a_guided_kaiserreich
					has_completed_focus = GER_the_old_man_still_has_it
				}
			}
		}
		completion_reward = {
			add_threat = 5
			unlock_decision_tooltip = GER_offer_to_purchase_colony
			unlock_decision_tooltip = GER_colonial_border_war
			unlock_decision_tooltip = GER_colonial_ultimatum
			add_state_claim = 773
			add_state_claim = 777
			add_state_claim = 546
			add_state_claim = 768
			add_state_claim = 769
			add_state_claim = 895
			add_state_claim = 894
			add_state_claim = 541
			add_state_claim = 893
			add_state_claim = 743
			add_state_claim = 647
			add_state_claim = 1096
			add_state_claim = 737
			add_state_claim = 684
			add_state_claim = 633
			add_state_claim = 1138
			add_state_claim = 646
			add_state_claim = 726
			add_state_claim = 725
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = { has_country_flag = GER_eng_reapproachment }
				ENG = { country_event = wuw_GER_weltpolitik.12}
			}
			IF = { 
				limit = {
					NOT = {
						OR = { 
							has_completed_focus = GER_reapproach_the_west
							has_completed_focus = GER_rekindle_imperial_sentiment
							has_country_flag = GER_eng_reapproachment
						}
					}
				}
				custom_effect_tooltip = GER_reestablish_colonial_claims_tt
				effect_tooltip = { ENG = { country_event = wuw_GER_weltpolitik.12} }
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = {  NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke } }
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = GER_adolf_friedrich_von_mecklenburg
			}
			IF = {
				limit = { has_country_flag = GER_vogel_spd }
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = GER_gerhard_hildebrand
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			unlock_decision_tooltip = recall_von_lettow_vorbeck
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }

	}
	focus = {
		id = GER_clear_the_facist_lair
		icon = GFX_focus_attack_italy
		cost = 7.2
		prerequisite = { focus = GER_rekindle_the_franco_german_rivalry focus = GER_reapproach_the_west }
		x = -1
		y = 1

		relative_position_id = GER_reapproach_the_west


		available = {
			NOT = { has_non_aggression_pact_with = ITA }
			can_declare_war_on = ITA
			ITA = { has_government = fascism}
			NOT = {
				has_government = fascism
			}
			IF = {
				limit = { has_completed_focus = GER_shake_off_the_fascist_yoke}
				OR = {
					has_completed_focus = GER_ready_the_army_for_the_external_threat
					has_completed_focus = GER_revolution_by_every_worker
					has_completed_focus = GER_fight_fascism_in_all_its_forms
				}
			}
			else_if = {
				limit = {
					has_completed_focus = GER_found_the_german_interim_government
				}
				OR = {
					has_completed_focus = GER_revolution_by_every_worker
					has_completed_focus = GER_nie_wieder_ist_jetzt
					has_completed_focus = GER_fight_fascism_in_all_its_forms
					has_completed_focus = GER_the_fight_against_german_antisemitism
				}
			}
			else_if = {
				limit = {
					has_completed_focus = GER_the_abwehrs_germany
				}
				OR = {
					has_completed_focus = GER_nie_wieder_ist_jetzt
					has_completed_focus = GER_the_fight_against_german_antisemitism
				}
			}
			else_if = {
				limit = {
					has_completed_focus = GER_a_martial_state
				}
				OR = {
					has_completed_focus = GER_pass_the_beck_constiution
					has_completed_focus = GER_expand_liberalization_efforts
					has_completed_focus = GER_spread_ideals_of_soldierly_conscience
				}
			}
			any_country = {
				OR = {
					original_tag = ROOT
					is_ally_with = ROOT
				}
				is_neighbor_of = ITA
			}
		}
		completion_reward = {
			add_threat = 3
			create_wargoal = {
				target = ITA
				type = topple_government
			}
			add_popularity = {
				ideology = ITA
				popularity = -0.05
			}
			add_war_support = 0.05
		}
		will_lead_to_war_with = ITA
		search_filters = { FOCUS_FILTER_ANNEXATION}

	}
	focus = {
		id = GER_secure_western_science_funding
		icon = GFX_goal_research_silver
		cost = 7.2
		prerequisite = { focus = GER_reapproach_the_west }
		x = 1
		y = 1

		relative_position_id = GER_reapproach_the_west

		mutually_exclusive = {
		}
		available = {
			has_government = democratic
			any_country = {
				OR = {
					original_tag = ENG
					original_tag = USA
					original_tag = FRA
				}
				has_non_aggression_pact_with = ROOT
				has_government = democratic
			}
		}
		completion_reward = {
			GER_modify_industrial_modifier = yes
			add_to_variable = {
				GER_industrial_consumer_goods_factor = -0.1
				tooltip = consumer_goods_factor_tt
			}
			add_to_variable = {
				GER_industrial_research_speed_factor = 0.025
				tooltip = research_speed_factor_tt
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_renegotiate_versailles_new
		icon = GFX_goal_GER_reconcile_the_west
		cost = 10
		prerequisite = { focus = GER_reapproach_the_west }
		x = 0
		y = 2

		relative_position_id = GER_reapproach_the_west

		mutually_exclusive = {
			focus = GER_reestablish_colonial_claims
		}
		available = {
			is_subject = no
			has_war = no
			has_elections = yes
			NOT = { has_government = fascism }
			has_added_tension_amount < 15
			has_non_aggression_pact_with = FRA
			has_country_flag = GER_FRA_reapproachment
			IF = {
				limit = {
					28 = { is_core_of = ROOT }
				}
				28 = { NOT = { is_core_of = ROOT }}
			}
			OR = { 
				has_completed_focus = GER_a_new_age_of_peace
				has_completed_focus = GER_legacy_of_stresemann
				has_completed_focus = GER_work_towards_national_demilitarization
			}
		}
		completion_reward = {
			IF = {
				limit = { has_completed_focus = GER_found_the_german_interim_government}
				add_to_variable = { GER_mil_opinion = -2 }
				custom_effect_tooltip = GER_mil_opinion_-2_tt
			}
			custom_effect_tooltip = GER_renegotiate_versailles_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = GER_treaty_of_versailles_new
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = {
					NOT = { has_completed_focus = GER_work_towards_national_demilitarization }
				}
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = GER_carl_von_ossietzky
			}

		}
		search_filters = { FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_establish_the_european_coal_and_steel_community
		icon = GFX_focus_generic_the_council_of_europe
		cost = 10
		prerequisite = { focus = GER_renegotiate_versailles_new }
		x = 0
		y = 1

		relative_position_id = GER_renegotiate_versailles_new

		mutually_exclusive = {
		}
		available = {
			is_subject = no
			has_war = no
			FRA = {
				is_subject = no
				has_war = no 
			}
			is_ally_with = FRA
			has_completed_focus = GER_a_europe_of_the_fatherlands
			IF = {
				limit = {
					has_idea = GER_sovereign_europe_idea_2
				}
				has_idea = GER_sovereign_europe_idea_2
			}
			else = {
				has_idea = GER_sovereign_europe_idea
			}
			has_country_flag = {
				flag = GER_end_game_diplo_flag
				days > 150
			}
			custom_trigger_tooltip = {
				tooltip = GER_end_game_diplo_flag_days
				
				has_country_flag = {
					flag = GER_end_game_diplo_flag
					days > 150
				}
			}
		}
		completion_reward = {
			IF = {
				limit = {
					has_idea = GER_sovereign_europe_idea_2
				}
				swap_ideas = {
					remove_idea = GER_sovereign_europe_idea_2
					add_idea = GER_european_coal_and_steel_community_2
				}
			}
			else = {
				swap_ideas = {
					remove_idea = GER_sovereign_europe_idea
					add_idea = GER_european_coal_and_steel_community
				}
			}
			every_country = {
				limit = {
					NOT = { tag = ROOT }
					has_idea = GER_sovereign_europe_idea_2
				}
				swap_ideas = {
					remove_idea = GER_sovereign_europe_idea_2
					add_idea = GER_european_coal_and_steel_community_2
				}
			}
			every_country = {
				limit = {
					NOT = { tag = ROOT }
					has_idea = GER_sovereign_europe_idea
				}
				swap_ideas = {
					remove_idea = GER_sovereign_europe_idea
					add_idea = GER_european_coal_and_steel_community
				}
			}
			custom_effect_tooltip = GER_europe_industry_tt
			clr_country_flag = GER_end_game_diplo_flag
			set_country_flag = GER_end_game_diplo_flag

		}
		search_filters = { FOCUS_FILTER_INDUSTRY }

	}
	focus = {
		id = GER_liberation_for_the_sudetendeutsche
		icon = GFX_focus_generic_attack_czechoslovakia
		cost = 7.2
		prerequisite = { focus = GER_reaffirm_territorial_claims }
		x = 0
		y = 1

		relative_position_id = GER_reaffirm_territorial_claims

		mutually_exclusive = {
		}
		available = {
			has_army_manpower = {
				size > 750000
			}
		}
		completion_reward = {
			add_state_core = 69
			add_state_core = 74
			add_state_core = 1078
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_liberation_for_the_sudendeutsche_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = GER_demand_sudetenland_dec
			unlock_decision_tooltip = GER_request_plebiscite_in_the_sudetenland
			unlock_decision_tooltip = GER_sudetenland_for_guarantees
			unlock_decision_tooltip = GER_enforce_slovak_independence
			IF = {
				limit = { 
					OR = {
						has_elections = yes
						AND = {
							CZE = {
								has_government = communism
							}
							has_government = communism
						}
					}
				}
				unlock_decision_tooltip = GER_push_for_the_creation_of_a_sudetenland_autonomy
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
	focus = {
		id = GER_end_the_austria_debate
		icon = GFX_goal_GER_anschluss
		cost = 7.2
		prerequisite = { focus = GER_reaffirm_territorial_claims }
		x = 2
		y = 1

		relative_position_id = GER_reaffirm_territorial_claims

		mutually_exclusive = {
		}
		available = {
			has_army_manpower = {
				size > 500000
			}
			is_subject = no
		}
		completion_reward = {
			custom_effect_tooltip = GER_end_the_austria_debate_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = GER_use_the_austrian_government_agianst_itself
			unlock_decision_tooltip = GER_march_into_the_ostmark
			unlock_decision_tooltip = GER_the_autonomy_solution
			unlock_decision_tooltip = GER_as_in_the_past_so_in_the_future
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_ALLIANCE }

	}
	focus = {
		id = GER_align_the_balkans
		icon = GFX_focus_generic_balkan_diplomacy
		cost = 8
		prerequisite = { focus = GER_liberation_for_the_sudetendeutsche focus = GER_end_the_austria_debate }
		x = 1
		y = 1

		relative_position_id = GER_end_the_austria_debate

		mutually_exclusive = {
		}
		available = {
			IF = {
				limit = { has_country_flag = GER_crazy_commie_germany}
				NOT = { has_country_flag = GER_crazy_commie_germany}
			}
			OR = {
				4 = {
					controller = {
						OR = { is_subject_of = ROOT tag = ROOT is_ally_with = ROOT}
					}
				}
				69 = {
					controller = {
						OR = { is_subject_of = ROOT tag = ROOT is_ally_with = ROOT}
					}
				}
			}
		}
		completion_reward = {
			custom_effect_tooltip = GER_align_the_balkans_2_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = GER_form_a_croat_state
			unlock_decision_tooltip = GER_form_a_slovene_state
			unlock_decision_tooltip = GER_natural_borders_for_oil_rights
			unlock_decision_tooltip = GER_uphold_yugoslav_claims
			custom_effect_tooltip = GER_align_the_balkans_tt
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_ALLIANCE }

	}
	focus = {
		id = GER_solve_the_danzig_issue
		icon = GFX_goal_GER_danzig_or_war
		cost = 7.2
		prerequisite = { focus = GER_reaffirm_territorial_claims }
		x = -2
		y = 1

		relative_position_id = GER_reaffirm_territorial_claims

		mutually_exclusive = {
		}
		available = {
			is_subject = no
			has_army_manpower = {
				size > 900000
			}
		}
		completion_reward = {
			custom_effect_tooltip = GER_solve_the_danzig_issue_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = GER_the_katowitz_compromise
			unlock_decision_tooltip = GER_seize_danzig
			unlock_decision_tooltip = GER_posen_for_guarantees
			unlock_decision_tooltip = GER_posen_or_war
			IF = {
				limit = {
					has_government = SOV
				}
				unlock_decision_tooltip = GER_paritition_poland
			}
			IF = {
				limit = {
					NOT = { has_government = communism }
					SOV = { has_government = communism}
				}
				unlock_decision_tooltip = GER_save_the_east_from_bolshvism
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }

	}
	focus = {
		id = GER_move_to_restore_brest_litovsk
		icon = GFX_focus_GER_brest_litovsk_borders
		cost = 7.2
		prerequisite = { focus = GER_solve_the_danzig_issue }
		mutually_exclusive = { focus = GER_a_human_face_for_europe}
		x = -1
		y = 1

		relative_position_id = GER_solve_the_danzig_issue

		mutually_exclusive = {
		}
		available = {
			IF = {
				limit = { has_country_flag = GER_crazy_commie_germany}
				NOT = { has_country_flag = GER_crazy_commie_germany}
			}
			NOT = { has_completed_focus = GER_remilitarize_the_rhineland has_completed_focus = GER_renegotiate_versailles_new }
			is_subject = no
			has_army_manpower = {
				size > 950000
			}
			OR = {
				has_government = fascism
				has_elections = no
			}
			NOT = { has_government = communism }
			NOT = { has_completed_focus = GER_spd_in_coalition }
		}
		completion_reward = {
			custom_effect_tooltip = GER_move_to_restore_brest_litovsk_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = GER_puppet_demands
			unlock_decision_tooltip = GER_restore_the_lithuanian_monarchy_decision
			unlock_decision_tooltip = GER_restore_the_ukrainian_state_2_decision
			unlock_decision_tooltip = GER_found_a_baltic_german_state_2_decision
			unlock_decision_tooltip = GER_establish_a_belarusian_state_2_decision
			unlock_decision_tooltip = GER_found_a_transcacuasian_satellite_state_2_decision
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
	focus = {
		id = GER_a_human_face_for_europe
		icon = GFX_focus_SWE_refuge_from_war
		cost = 5
		prerequisite = { focus = GER_build_a_pakt_around_berlin }
		mutually_exclusive = { focus = GER_move_to_restore_brest_litovsk}
		x = 2
		y = 2

		relative_position_id = GER_build_a_pakt_around_berlin

		mutually_exclusive = {
		}
		available = {
			IF = {
				limit = { has_country_flag = GER_crazy_commie_germany}
				NOT = { has_country_flag = GER_crazy_commie_germany}
			}
			is_subject = no
			NOT = { has_government = fascism }
			IF = {
				limit = { has_completed_focus = GER_shake_off_the_fascist_yoke }
				NOT = { has_completed_focus = GER_peace_in_the_east}
			}
		}
		completion_reward = {
			custom_effect_tooltip = GER_a_human_face_for_europe_tt
			unlock_decision_tooltip = GER_protect_eastern_europe
			add_stability = 0.025
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
	}
	focus = {
		id = GER_vanquish_the_eastern_threat
		icon = GFX_goal_soviet_threat
		cost = 7.2
		prerequisite = { focus = GER_a_human_face_for_europe focus = GER_move_to_restore_brest_litovsk}
		x = 1
		y = 1
		dynamic = yes

		relative_position_id = GER_a_human_face_for_europe

		mutually_exclusive = {
		}
		available = {
			NOT = { has_non_aggression_pact_with = SOV}
			can_declare_war_on = SOV
			any_country = {
				OR = {
					original_tag = ROOT
					is_ally_with = ROOT
				}
				is_neighbor_of = SOV
			}
			IF = {
				limit = {
					NOT = {
						OR = {
							has_government = fascism
							has_government = communism
						}
					}
				}
				SOV = {
					OR = {
						has_government = fascism
						has_government = communism
					}
				}
			}
			else_if = {
				limit = { 
					has_government = fascism
				}
				SOV = { has_government = communism}
			}
			else = { 
				SOV = { has_government = fascism }
			}
			IF = {
				limit = {
					has_completed_focus = GER_found_the_german_interim_government
				}
				OR = {
					has_completed_focus = GER_an_eye_towards_the_east
					has_completed_focus = GER_nie_wieder_ist_jetzt
					has_completed_focus = GER_radicalize_german_nationalism
					has_completed_focus = GER_combat_the_reactionary
					has_completed_focus = GER_claim_leadership_of_german_nationalism
					has_completed_focus = GER_fight_fascism_in_all_its_forms
				}
			}
			else_if = {
				limit = { has_completed_focus = GER_shake_off_the_fascist_yoke}
				OR = {
					has_completed_focus = GER_ready_the_army_for_the_external_threat
					has_completed_focus = GER_revolution_by_every_worker
				}
				has_completed_focus = GER_fight_fascism_in_all_its_forms
			}
			else_if = {
				limit = { has_completed_focus = GER_the_abwehrs_germany}
				OR = {
					has_completed_focus = GER_radicalize_german_nationalism
					has_completed_focus = GER_an_eye_towards_the_east
					has_completed_focus = GER_combat_the_reactionary
					has_completed_focus = GER_an_irresistable_moral_guide
				}
			}
			else_if = {
				limit = { has_completed_focus = GER_a_martial_state}
				OR = {
					has_completed_focus = GER_radicalize_german_nationalism
					has_completed_focus = GER_restore_discipline_in_the_military
					has_completed_focus = GER_expand_liberalization_efforts
					has_completed_focus = GER_restore_the_fahneneid
				}
			}
		}
		will_lead_to_war_with = SOV
		completion_reward = {
			add_threat = 4
			create_wargoal = {
				target = SOV
				type = topple_government
			}
			add_popularity = {
				ideology = SOV
				popularity = -0.05
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_timed_idea = {
				idea = GER_operation_barbarossa
				days = 100
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
	focus = {
		id = GER_germans_everywhere_united
		icon = GFX_goal_GER_european_reich
		cost = 10
		prerequisite = { focus = GER_liberation_for_the_sudetendeutsche }
		prerequisite = { focus = GER_solve_the_danzig_issue }
		prerequisite = { focus = GER_end_the_austria_debate }
		x = 0
		y = 2

		relative_position_id = GER_liberation_for_the_sudetendeutsche

		mutually_exclusive = {
		}
		available = {
			IF = {
				limit = { has_country_flag = GER_crazy_commie_germany}
				NOT = { has_country_flag = GER_crazy_commie_germany}
			}
			all_core_state = {
				is_owned_and_controlled_by = ROOT
			}
			all_state = {
				OR = {
					AND = {
						NOT = { state = 848 }
						NOT = { state = 153 }
						NOT = { state = 152 }
						NOT = { state = 1054 }
						NOT = { state = 4 }
						NOT = { state = 1086 }
					}
					is_owned_and_controlled_by = ROOT
				}
			}
		}
		completion_reward = {
			add_political_power = 75
			add_stability = 0.05
			custom_effect_tooltip = generic_skip_one_line_tt
			add_country_leader_trait = GER_unifier_of_all_germans
			IF = {
				limit = { has_idea = sour_loser}
				remove_ideas = sour_loser
				custom_effect_tooltip = generic_skip_one_line_tt
				set_rule = {
					can_create_factions = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

	}
	focus = {
		id = GER_open_the_asia_department
		icon = GFX_focus_GER_expand_pacific_holdings
		cost = 10
		prerequisite = { focus = GER_reestablish_colonial_claims focus = GER_germans_everywhere_united focus = GER_increase_factional_defenses focus = GER_vanquish_the_eastern_threat }
		x = 3
		y = 1

		relative_position_id = GER_germans_everywhere_united

		mutually_exclusive = {
		}
		available = {
			IF = {
				limit = { has_country_flag = GER_crazy_commie_germany}
				NOT = { has_country_flag = GER_crazy_commie_germany}
			}
			is_subject = no
			IF = {
				limit = {
					NOT = { has_completed_focus = GER_die_letzte_verschwoerung}
				}
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland}
			}
			has_country_flag = {
				flag = GER_end_game_diplo_flag
				days > 150
			}
			custom_trigger_tooltip = {
				tooltip = GER_end_game_diplo_flag_days
				
				has_country_flag = {
					flag = GER_end_game_diplo_flag
					days > 150
				}
			}
		}
		completion_reward = {
			unlock_decision_tooltip = GER_befriend_japan_decision
			unlock_decision_tooltip = GER_befriend_china_decision
			custom_effect_tooltip = GER_open_the_asia_department_tt
			clr_country_flag = GER_end_game_diplo_flag
			set_country_flag = GER_end_game_diplo_flag
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

	}
	focus = {
		id = GER_approach_the_anglosphere
		icon = GFX_focus_GER_our_place_in_the_sun
		cost = 10
		prerequisite = { focus = GER_reestablish_colonial_claims focus = GER_germans_everywhere_united focus = GER_increase_factional_defenses focus = GER_vanquish_the_eastern_threat }
		x = -1
		y = 1

		relative_position_id = GER_germans_everywhere_united

		mutually_exclusive = {
		}
		available = {
			IF = {
				limit = { has_country_flag = GER_crazy_commie_germany}
				NOT = { has_country_flag = GER_crazy_commie_germany}
			}
			is_subject = no
			has_country_flag = {
				flag = GER_end_game_diplo_flag
				days > 150
			}
			custom_trigger_tooltip = {
				tooltip = GER_end_game_diplo_flag_days
				
				has_country_flag = {
					flag = GER_end_game_diplo_flag
					days > 150
				}
			}
		}
		completion_reward = {
			custom_effect_tooltip = GER_approach_the_anglosphere_tt
			clr_country_flag = GER_end_game_diplo_flag
			set_country_flag = GER_end_game_diplo_flag
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

	}
	focus = {
		id = GER_open_up_a_latin_connection
		icon = GFX_focus_GER_divide_and_conquer
		cost = 10
		prerequisite = { focus = GER_reestablish_colonial_claims focus = GER_germans_everywhere_united focus = GER_increase_factional_defenses focus = GER_vanquish_the_eastern_threat }
		x = -5
		y = 1

		relative_position_id = GER_germans_everywhere_united

		mutually_exclusive = {
		}
		available = {
			IF = {
				limit = { has_country_flag = GER_crazy_commie_germany}
				NOT = { has_country_flag = GER_crazy_commie_germany}
			}
			is_subject = no
			has_country_flag = {
				flag = GER_end_game_diplo_flag
				days > 150
			}
			custom_trigger_tooltip = {
				tooltip = GER_end_game_diplo_flag_days
				
				has_country_flag = {
					flag = GER_end_game_diplo_flag
					days > 150
				}
			}
		}
		completion_reward = {
			custom_effect_tooltip = GER_open_up_a_latin_connection_tt
			clr_country_flag = GER_end_game_diplo_flag
			set_country_flag = GER_end_game_diplo_flag
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

	}
	focus = {
		id = GER_liberalize_the_economy
		icon = GFX_goal_generic_business_bills
		cost = 5
		prerequisite = { focus = GER_abolish_price_controls }
		prerequisite = { focus = GER_industrial_expansion }

		x = -5
		y = 1

		relative_position_id = GER_workers_rights

		mutually_exclusive = {
			focus = GER_limited_social_reform
			focus = GER_towards_a_workers_democracy
		}

		available = {
			NOT = { has_country_flag = GER_economic_reform_ongoing }
			has_civil_war = no
			IF = {
				limit = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE
					}
				}
				OR = {
					IF = {
						limit = {
							NOT = {
								has_completed_focus = GER_a_martial_state
								has_completed_focus = GER_move_towards_autocracy
							}
						}
						
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
						IF = {
							limit = { has_country_flag = GER_dvu_formed }
							AND = {
								has_completed_focus = GER_sensible_fiscal_policy
								
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
							}
						}
						else = {
							AND = {
								has_completed_focus = GER_sensible_fiscal_policy
								
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
							}
						}
					}
					IF = {
						limit = { 
							NOT = {
								has_completed_focus = GER_hold_new_elections
								has_completed_focus = GER_found_the_german_interim_government
							}
						}
						AND = {
							has_completed_focus = GER_found_the_new_german_state
							NOT = { has_completed_focus = GER_hold_new_elections }
						}
					}
				}
			}
			else = {
				OR = {
					has_completed_focus = GER_replace_reichsmark
					has_completed_focus = GER_prioritize_civilian_industry
				}
			}
		}
		ai_will_do = {
		}
		allow_branch = {
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE_OLD
				}
			}
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		completion_reward = {
			set_country_flag = {
				flag = GER_economic_reform_ongoing
				value = 1
				days = 50
			}
			IF = {
				limit = { NOT = { has_country_flag = GER_no_cheese_slots}}
				set_country_flag = GER_no_cheese_slots
				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 = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
				if = {
					limit = {
						998 = { # R56
							is_owned_and_controlled_by = ROOT
						}
					}
					998 = { add_extra_state_shared_building_slots = 1 } # R56
				}
				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

			IF = {
				limit = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_eco_scripted
						}
					}
				}
				custom_effect_tooltip = GER_liberalize_the_economy_tt
				hidden_effect = {
					remove_dynamic_modifier = { modifier = GER_recovering_economy_modifier }
					add_dynamic_modifier = { modifier = GER_eco_scripted }
				}
			}
			else = {
				custom_effect_tooltip = GER_liberalize_the_economy_2_tt
			}

			add_to_variable = { 
				GER_industrial_consumer_goods_factor = -0.175
				tooltip = consumer_goods_factor_tt
			}

			#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 = 1
			#	add_building_construction = {
			#		type = industrial_complex
			#		level = 1
			#		instant_build = yes
			#	}
			#}
			#custom_effect_tooltip = generic_skip_one_line_tt
			#add_ideas = GER_the_path_towards_economic_liberalism
			custom_effect_tooltip = generic_skip_one_line_tt 
			unlock_decision_tooltip = GER_industrial_subsidies
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_ludwig_erhard
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}
	}
	focus = {
		id = GER_move_towards_full_deregulation
		icon = GFX_goal_generic_growing_economy
		cost = 7.2
		prerequisite = { focus = GER_liberalize_the_economy }

		x = -2
		y = 1

		relative_position_id = GER_liberalize_the_economy

		mutually_exclusive = {
			focus = GER_maintain_state_influence_on_the_economy
		}
		

		available = {
			NOT = { has_country_flag = GER_economic_reform_ongoing }
			IF = {
				limit = { 
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE
					}
				}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
			}
			else = {
				OR = {
					has_completed_focus = GER_replace_reichsmark
					has_completed_focus = GER_prioritize_civilian_industry
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			set_country_flag = {
				flag = GER_economic_reform_ongoing
				value = 1
				days = 50
			}
			
			IF = {
				limit = { NOT = { has_country_flag = GER_no_cheese_single}}
				set_country_flag = GER_no_cheese_single
				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 = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
				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 = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_consumer_goods_expected_value = -0.05
				tooltip = GER_move_towards_full_deregulation_tt
			}
			add_to_variable = { 
				GER_industrial_research_speed_factor = 0.05
				tooltip = research_speed_factor_tt
			}
			add_to_variable = {
				GER_industrial_production_speed_buildings_factor = 0.025
				tooltip = production_speed_buildings_factor_tt
			}
			add_to_variable = { 
				GER_industrial_conversion_cost_civ_to_mil_factor = 0.25
				tooltip = conversion_cost_civ_to_mil_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_speed_arms_factory_factor = -0.1
				tooltip = production_speed_arms_factory_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_speed_industrial_complex_factor = 0.1
				tooltip = production_speed_industrial_complex_factor_tt
			}
		#	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
		#		}
		#	}
		#	custom_effect_tooltip = generic_skip_one_line_tt
		#	add_ideas = GER_deregulated_economy_law
		#	custom_effect_tooltip = generic_skip_one_line_tt
		#	remove_ideas = GER_the_path_towards_economic_liberalism
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}
	}
	focus = {
		id = GER_maintain_state_influence_on_the_economy
		icon = GFX_goal_GER_two_sided_economics
		cost = 7.2
		prerequisite = { focus = GER_liberalize_the_economy }

		x = 0
		y = 1

		relative_position_id = GER_liberalize_the_economy

		mutually_exclusive = {
			focus = GER_move_towards_full_deregulation
		}

		available = {
			NOT = { has_country_flag = GER_economic_reform_ongoing }
			IF = {
				limit = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE
					}
				}
				OR = {
					IF = {
						limit = {
							NOT = {
								has_completed_focus = GER_a_martial_state
								has_completed_focus = GER_move_towards_autocracy
							}
						}
						
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
						IF = {
							limit = { has_country_flag = GER_dvu_formed }
							AND = {
								has_completed_focus = GER_sensible_fiscal_policy
								
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
							}
						}
						else = {
							AND = {
								has_completed_focus = GER_sensible_fiscal_policy
								
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
							}
						}
					}
					IF = {
						limit = { 
							NOT = {
								has_completed_focus = GER_hold_new_elections
								has_completed_focus = GER_found_the_german_interim_government
							}
						}
						AND = {
							has_completed_focus = GER_found_the_new_german_state
							NOT = { has_completed_focus = GER_hold_new_elections }
						}
					}
				}
			}
			else = {
				OR = {
					has_completed_focus = GER_replace_reichsmark
					has_completed_focus = GER_prioritize_civilian_industry
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			set_country_flag = {
				flag = GER_economic_reform_ongoing
				value = 1
				days = 50
			}
		#	swap_ideas = {
		#		remove_idea= GER_the_path_towards_economic_liberalism
		#		add_idea = GER_state_guided_liberalism
		#	}
		#	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 = 1
		#			instant_build = yes
		#		}
		#		add_building_construction = {
		#			type = arms_factory
		#			level = 1
		#			instant_build = yes
		#		}
		#	}
		#	IF = {
		#		limit = { 
		#			has_completed_focus = GER_sensible_fiscal_policy
		#			has_active_mission = GER_dvu_demands_action
		#		}
		#		add_days_mission_timeout = {
		#			mission = GER_dvu_demands_action
		#			days = 280
		#		}
		#	}
			IF = {
				limit = { NOT = { has_country_flag = GER_no_cheese_single}}
				set_country_flag = GER_no_cheese_single
				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 = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
				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 = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					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_production_speed_buildings_factor = 0.1
				tooltip = production_speed_buildings_factor_tt
			}
			add_to_variable = { 
				GER_industrial_research_speed_factor = 0.05
				tooltip = research_speed_factor_tt
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY}
	}
	focus = {
		id = GER_enact_drastic_tax_cuts
		icon = GFX_goal_generic_banking
		cost = 7.2
		prerequisite = { focus = GER_move_towards_full_deregulation }
		x = 0
		y = 1

		relative_position_id = GER_move_towards_full_deregulation

		mutually_exclusive = {
		}

		available = {
			NOT = { has_country_flag = GER_economic_reform_ongoing }
			IF = {
				limit = { 
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE
					}
				}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
			}
			else = {
				OR = {
					has_completed_focus = GER_replace_reichsmark
					has_completed_focus = GER_prioritize_civilian_industry
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			set_country_flag = {
				flag = GER_economic_reform_ongoing
				value = 1
				days = 50
			}

			IF = {
				limit = { NOT = { has_country_flag = GER_no_cheese_double}}
				set_country_flag = GER_no_cheese_double
				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 = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
				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_wirtschaftswunder
				bonus = 1
				uses = 1
				category = industry
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_an_economy_without_a_state_tt
			add_to_variable = { 
				GER_industrial_consumer_goods_expected_value = -0.05
				tooltip = GER_move_towards_full_deregulation_tt
			}
			add_to_variable = { 
				GER_industrial_research_speed_factor = 0.05
				tooltip = research_speed_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_speed_buildings_factor = 0.05
				tooltip = production_speed_buildings_factor_tt
			}
			add_to_variable = { 
				GER_industrial_conversion_cost_civ_to_mil_factor = 0.1
				tooltip = conversion_cost_civ_to_mil_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_speed_industrial_complex_factor = 0.15
				tooltip = production_speed_industrial_complex_factor_tt
			}
			
		#	swap_ideas = {
		#		remove_idea = GER_deregulated_economy_law
		#		add_idea = GER_an_economy_without_a_state_law
		#	}
		#	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
		#		}
		#	}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH}
	}
	focus = {
		id = GER_state_economy_simbiosis
		icon = GFX_goal_generic_state_economy
		cost = 7.2
		prerequisite = { focus = GER_maintain_state_influence_on_the_economy }
		x = 0
		y = 1

		relative_position_id = GER_maintain_state_influence_on_the_economy

		mutually_exclusive = {
		}

		available = {
			NOT = { has_country_flag = GER_economic_reform_ongoing }
			IF = {
				limit = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE
					}
				}
				OR = {
					IF = {
						limit = {
							NOT = {
								has_completed_focus = GER_a_martial_state
								has_completed_focus = GER_move_towards_autocracy
							}
						}
						
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
						IF = {
							limit = { has_country_flag = GER_dvu_formed }
							AND = {
								has_completed_focus = GER_sensible_fiscal_policy
								
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
							}
						}
						else = {
							AND = {
								has_completed_focus = GER_sensible_fiscal_policy
								
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
							}
						}
					}
					IF = {
						limit = { 
							NOT = {
								has_completed_focus = GER_hold_new_elections
								has_completed_focus = GER_found_the_german_interim_government
							}
						}
						AND = {
							has_completed_focus = GER_found_the_new_german_state
							NOT = { has_completed_focus = GER_hold_new_elections }
						}
					}
				}
			}
			else = {
				OR = {
					has_completed_focus = GER_replace_reichsmark
					has_completed_focus = GER_prioritize_civilian_industry
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			set_country_flag = {
				flag = GER_economic_reform_ongoing
				value = 1
				days = 50
			}

			IF = {
				limit = { NOT = { has_country_flag = GER_no_cheese_double}}
				set_country_flag = GER_no_cheese_double
				every_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
						free_building_slots = {
							building = industrial_complex
							size > 0
							include_locked = yes
						}
					}
					random_select_amount = 4
					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_wirtschaftswunder
				bonus = 1
				uses = 1
				category = industry
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_state_economy_simbiosis_tt
			add_to_variable = { 
				GER_industrial_conversion_cost_civ_to_mil_factor = -0.1 # R56
				tooltip = conversion_cost_civ_to_mil_factor_tt
			}
			add_to_variable = { 
				GER_industrial_research_speed_factor = 0.05 # R56
				tooltip = research_speed_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
			}
		#	swap_ideas = {
		#		remove_idea= GER_state_guided_liberalism
		#		add_idea = GER_state_economy_simbiosis_idea
		#	}
		#	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 = 1
		#			instant_build = yes
		#		}
		#		add_building_construction = {
		#			type = arms_factory
		#			level = 1
		#			instant_build = yes
		#		}
		#	}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = GER_achieve_secure_long_term_economic_growth
		icon = GFX_goal_stock_exchange
		cost = 10
		prerequisite = { focus = GER_help_the_worker_through_his_company focus = GER_state_economy_simbiosis focus = GER_enact_drastic_tax_cuts}

		x = 0
		y = 1

		relative_position_id = GER_state_economy_simbiosis

		mutually_exclusive = {
		}

		available = {
			NOT = { has_country_flag = GER_economic_reform_ongoing }
			IF = {
				limit = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE
					}
				}
				OR = {
					IF = {
						limit = {
							NOT = {
								has_completed_focus = GER_a_martial_state
								has_completed_focus = GER_move_towards_autocracy
							}
						}
						
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
						IF = {
							limit = { has_country_flag = GER_dvu_formed }
							AND = {
								has_completed_focus = GER_sensible_fiscal_policy
								
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
							}
						}
						else = {
							AND = {
								has_completed_focus = GER_sensible_fiscal_policy
								
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
							}
						}
					}
					IF = {
						limit = { 
							NOT = {
								has_completed_focus = GER_hold_new_elections
								has_completed_focus = GER_found_the_german_interim_government
							}
						}
						AND = {
							has_completed_focus = GER_found_the_new_german_state
							NOT = { has_completed_focus = GER_hold_new_elections }
						}
					}
				}
			}
			else = {
				OR = {
					has_completed_focus = GER_replace_reichsmark
					has_completed_focus = GER_prioritize_civilian_industry
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			set_country_flag = {
				flag = GER_economic_reform_ongoing
				value = 1
				days = 50
			}
			IF = {
				limit = { NOT = { has_country_flag = GER_no_cheese_expansion}}
				set_country_flag = GER_no_cheese_expansion
				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 = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
				if = {
					limit = {
						59 = { #Hannover
							is_owned_and_controlled_by = ROOT
						}
					}
					59 = { set_state_category = metropolis }
				}
				if = {
					limit = {
						923 = { #Baden # R56
							is_owned_and_controlled_by = ROOT
						}
					}
					923 = { set_state_category = metropolis } # R56
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_consumer_goods_factor = -0.05
				tooltip = consumer_goods_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_speed_buildings_factor = 0.075
				tooltip = production_speed_buildings_factor_tt
			}
		#	IF = {
		#		limit = {
		#			has_country_flag = GER_div_step_1
		#			NOT = { has_country_flag = GER_eco_1 }
		#		}
		#		set_country_flag = GER_diversified_protfolio_flag
		#	}
		#	else = {
		#		set_country_flag = GER_div_step_1
		#		set_country_flag = GER_eco_1
		#	}
		#	add_research_slot = 1
		#	custom_effect_tooltip = generic_skip_one_line_tt
		#	IF = {
		#		limit = { has_completed_focus = GER_move_towards_full_deregulation}
		#		swap_ideas = { 
		#			remove_idea = GER_an_economy_without_a_state_law
		#			add_idea = GER_an_economy_without_a_state_law_2
		#		}
		#	}
		#	else_if = {
		#		limit = { NOT = { has_completed_focus = GER_limited_social_reform} }
		#		swap_ideas = {
		#			remove_idea= GER_state_economy_simbiosis_idea
		#			add_idea = GER_state_economy_simbiosis_idea_2
		#		}
		#	}
		#	else = {
		#		swap_ideas = {
		#			remove_idea = GER_trickle_down_economics
		#			add_idea = GER_trickle_down_economics_2
		#		}
		#	}
		#	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 = 3
		#		add_building_construction = {
		#			type = industrial_complex
		#			level = 3
		#			instant_build = yes
		#		}
		#	}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = GER_spd_in_coalition
		icon = GFX_goal_ger_spd_victory
		cost = 10
		prerequisite = { focus = GER_hold_new_elections }

		x = 19
		y = 1

		relative_position_id = GER_hold_new_elections

		mutually_exclusive = {
		}

		available = {
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
		}
		ai_will_do = {
		}
		allow_branch = { 
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_country_flag = GER_spd_banned}
			}
			OR = {
				AND = {
					NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
					NOT = { has_completed_focus = GER_pass_the_beck_constiution}
					OR = {
						has_game_rule = {
							rule = GER_focus_tree_selection
							option = R56_TREE
						}
						AND = {
							has_game_rule = {
								rule = GER_focus_tree_selection
								option = STANDARD_TREE
							}
							NOT = { 
								has_dlc = "Gotterdammerung"
							}
						}
					}
					IF = {
						limit = {	
							has_game_rule = {
								rule = obsolete_focus_branches_visibility
								option = HIDE
							}
						}
						NOT = { has_completed_focus = GER_found_the_new_german_state }
						NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
					}
				}
				AND = {
					NOT = { has_completed_focus = GER_pass_the_beck_constiution}
					NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke }
					OR = {
						has_game_rule = {
							rule = GER_focus_tree_selection
							option = R56_TREE
						}
						AND = {
							has_game_rule = {
								rule = GER_focus_tree_selection
								option = STANDARD_TREE
							}
							NOT = { 
								has_dlc = "Gotterdammerung"
							}
						}
					}
					IF = {
						limit = {		
							has_game_rule = {
								rule = obsolete_focus_branches_visibility
								option = HIDE
							}
						}
						NOT = { has_completed_focus = GER_found_the_german_interim_government }
						NOT = { has_completed_focus = GER_a_martial_state}
						NOT = { has_completed_focus = GER_move_towards_autocracy }
						NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
					}
				}
			}
		}
		offset = {
			x = -3
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				NOT = { has_country_flag = GER_spd_banned }
				OR = {
					has_country_flag = GER_kurt_spd
					has_country_flag = GER_vogel_spd
				}
			}
		}
		completion_reward = {
			add_popularity = {
				ideology = communism
				popularity = 0.03
			}
			add_popularity = {
				ideology = democratic
				popularity = 0.03
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = { has_completed_focus = GER_unite_against_fascism}
				add_ideas = GER_anti_fascist_bulwark
			}
			IF = {
				limit = { has_completed_focus = GER_reform_the_institutions}
				add_ideas = GER_spd_beaurocracy_2
			}
			else_if = {
				limit = { has_completed_focus = GER_strengthen_the_spd_beurocracy}
				add_ideas = GER_spd_beaurocracy
			}
			IF = {
				limit = {
					has_completed_focus = GER_peace_with_our_new_identity
					has_country_flag = GER_SPD_EUR
				}
				add_ideas = GER_encouraged_european_unity_2
			}
			else_if = {
				limit = { has_country_flag = GER_SPD_EUR}
				add_ideas = GER_encouraged_european_unity
			}
			IF = {
				limit = { has_completed_focus = GER_claim_leadership_of_german_nationalism}
				add_ideas = GER_leaders_of_german_patriotism
			}
			else_if = {
				limit = { has_country_flag = GER_SPD_GER has_completed_focus = GER_peace_with_our_new_identity}
				add_ideas = GER_strengthened_patriotism_2
			}
			else_if = {
				limit = { has_country_flag = GER_SPD_GER }
				add_ideas = GER_strengthened_patriotism
			}
			IF = {
				limit = { has_completed_focus = GER_no_compromise_on_socialist_ideals}
				add_ideas = GER_cater_to_the_masses_3
			}
			else_if = { 
				limit = { has_completed_focus = GER_build_a_mass_movement}
				add_ideas = GER_cater_to_the_masses_2
			}
			else_if = {
				limit = { has_completed_focus = GER_cater_to_the_masses }
				add_ideas = GER_cater_to_the_masses_1
			}
			IF = {
				limit = {
					NOT = {
						OR = { 
							has_completed_focus = GER_cater_to_the_masses
							has_completed_focus = GER_strengthen_the_spd_beurocracy
						}
					}
				}
				add_ideas = GER_labor_beurocracy_divide
			}
			else_if = {
				limit = {
					NOT = {
						OR = {
							has_completed_focus = GER_build_a_mass_movement
							has_completed_focus = GER_unite_the_party
						}
					}
				}
				add_ideas = GER_labor_beurocracy_divide_2
			}
			else_if = {
				limit = {
					NOT = {
						OR = {
							has_completed_focus = GER_no_compromise_on_socialist_ideals
							has_completed_focus = GER_unite_the_party
						}
					}
				}
				add_ideas = GER_labor_beurocracy_divide_3
			}
			IF = {
				limit = {
					check_variable = {
						var = GER_chosen_gov_leader
						value = 5
						compare = equals
					}
					NOT = { has_completed_focus = GER_no_compromise_on_socialist_ideals }
				}
				add_to_variable = { GER_mil_opinion = -2 }
				custom_effect_tooltip = GER_mil_opinion_-2_tt
				IF = {
					limit = { 
						NOT = { has_country_flag = GER_democratize_the_civil_service_flag}
					}
					add_ideas = GER_hostile_civil_service
				}
				IF = {
					limit = { 
						NOT = { has_government = democratic}
					}
					set_politics = {
						ruling_party = democratic
						elections_allowed = yes
					}
				}
				set_party_name = {
					ideology = democratic
					long_name = GER_spd_long
					name = SPD_short_name
				}
				IF = {
					limit = { has_country_flag = GER_carlo_spd}
					promote_character = {
						character = GER_carlo_mierendorff
						ideology = socialism
					}
				}
				else_if = {
					limit = { has_country_flag = GER_kurt_spd}
					promote_character = {
						character = GER_kurt_schumacher
						ideology = socialism
					}
				}
				else_if = {
					limit = { has_country_flag = GER_vogel_spd }

					promote_character = {
						character = GER_hans_vogel
						ideology = socialism
					}
				
				}
				else = {
					promote_character = {
						character = GER_otto_wels
						ideology = socialism
					}

				}
			}
			else_if = {
				limit = {
					check_variable = {
						var = GER_chosen_gov_leader
						value = 5
						compare = equals
					}
					has_completed_focus = GER_no_compromise_on_socialist_ideals
				}
				IF = {
					limit = { 
						NOT = { has_country_flag = GER_democratize_the_civil_service_flag}
					}
					add_ideas = GER_hostile_civil_service
				}
				IF = {
					limit = { 
						NOT = { has_government = communism}
					}
					set_politics = {
						ruling_party = communism
						elections_allowed = yes
					}
				}
				set_party_name = {
					ideology = communism
					long_name = GER_spd_long
					name = SPD_short_name
				}
				IF = {
					limit = { has_country_flag = GER_carlo_spd}
					promote_character = {
						character = GER_carlo_mierendorff
						ideology = democratic_socialism
					}
				}
				else_if = {
					limit = { has_country_flag = GER_kurt_spd}
					promote_character = {
						character = GER_kurt_schumacher
						ideology = democratic_socialism
					}
				}
				else_if = {
					limit = { has_country_flag = GER_vogel_spd }

					promote_character = {
						character = GER_hans_vogel
						ideology = democratic_socialism
					}
				
				}
				else = {
					promote_character = {
						character = GER_otto_wels
						ideology = democratic_socialism
					}

				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_to_variable = { GER_mil_opinion = -1 }
			custom_effect_tooltip = GER_mil_opinion_-1_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = { NOT = { has_completed_focus = GER_choose_an_heir_for_wels }}
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = GER_otto_wels
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_hans_vogel
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_kurt_schumacher
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_carlo_mierendorff
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_wilhelm_lauschner
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }
	}
	focus = {
		id = GER_limited_social_reform
		icon = GFX_goal_generic_socdem
		cost = 5
		prerequisite = { focus = GER_workers_rights focus = GER_industrial_expansion }

		x = -1
		y = 1

		relative_position_id = GER_workers_rights

		mutually_exclusive = {
			focus = GER_liberalize_the_economy
			focus = GER_towards_a_workers_democracy
		}

		available = {
			NOT = { has_country_flag = GER_economic_reform_ongoing }
			has_civil_war = no
			IF = {
				limit = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE
					}
				}
				OR = {
					IF = {
						limit = {
							NOT = {
								has_completed_focus = GER_a_martial_state
								has_completed_focus = GER_move_towards_autocracy
							}
						}
						
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
						
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
						
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
						
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
						
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
					}
					IF = {
						limit = { 
							NOT = {
								has_completed_focus = GER_hold_new_elections
								has_completed_focus = GER_found_the_german_interim_government
							}
						}
						AND = {
							has_completed_focus = GER_found_the_new_german_state
							NOT = { has_completed_focus = GER_hold_new_elections }
						}
					}
				}
			}
			else = {
				or = {
					has_completed_focus = GER_replace_reichsmark
					has_completed_focus = GER_restore_the_empire
				}
			}
		}
		ai_will_do = {
		}
		allow_branch = {
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE_OLD
				}
			}
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		completion_reward = {
			set_country_flag = {
				flag = GER_economic_reform_ongoing
				value = 1
				days = 50
			}

			IF = {
				limit = { NOT = { has_country_flag = GER_no_cheese_slots}}
				set_country_flag = GER_no_cheese_slots
				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 = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
				if = {
					limit = {
						998 = { # R56
							is_owned_and_controlled_by = ROOT
						}
					}
					998 = { add_extra_state_shared_building_slots = 1 } # R56
				}
				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

			IF = {
				limit = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_eco_scripted
						}
					}
				}
				custom_effect_tooltip = GER_limited_social_reform_tt
				hidden_effect = {
					remove_dynamic_modifier = { modifier = GER_recovering_economy_modifier }
					add_dynamic_modifier = { modifier = GER_eco_scripted }
				}
			}
			else = {
				custom_effect_tooltip = GER_limited_social_reform_2_tt
			}
			add_to_variable = {
				GER_industrial_stability_factor = 0.05
				tooltip = stability_factor_tt
			}
			add_to_variable = { 
				GER_industrial_consumer_goods_factor = -0.1
				tooltip = consumer_goods_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
			}
		#	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 = 1
		#		add_building_construction = {
		#			type = industrial_complex
		#			level = 1
		#			instant_build = yes
		#		}
		#	}
		#	custom_effect_tooltip = generic_skip_one_line_tt
		#	add_ideas = GER_limited_social_reform_idea
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }

	}
	focus = {
		id = GER_support_the_industries
		icon = GFX_goal_generic_peaceful_diplomacy
		cost = 7.2
		prerequisite = { focus = GER_limited_social_reform }

		x = -2
		y = 1

		relative_position_id = GER_limited_social_reform

		mutually_exclusive = {
			focus = GER_support_the_workers
			focus = GER_support_the_families
		}

		available = {
			NOT = { has_country_flag = GER_economic_reform_ongoing }
			IF = {
				limit = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE
					}
				}
				OR = {
					IF = {
						limit = {
							NOT = {
								has_completed_focus = GER_a_martial_state
								has_completed_focus = GER_move_towards_autocracy
							}
						}
						
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
						IF = {
							limit = { has_country_flag = GER_dvu_formed }
							AND = {
								has_completed_focus = GER_sensible_fiscal_policy
								
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
							}
						}
						else = {
							AND = {
								has_completed_focus = GER_sensible_fiscal_policy
								
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
							}
						}
					}
					IF = {
						limit = { 
							NOT = {
								has_completed_focus = GER_hold_new_elections
								has_completed_focus = GER_found_the_german_interim_government
							}
						}
						AND = {
							has_completed_focus = GER_found_the_new_german_state
							NOT = { has_completed_focus = GER_hold_new_elections }
						}
					}
				}
			}
			else = {
				OR = {
					has_completed_focus = GER_replace_reichsmark
					has_completed_focus = GER_restore_the_empire
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			set_country_flag = {
				flag = GER_economic_reform_ongoing
				value = 1
				days = 50
			}
			IF = {
				limit = { NOT = { has_country_flag = GER_no_cheese_single}}
				set_country_flag = GER_no_cheese_single
				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 = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
				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 = 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
			
			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_research_speed_factor = 0.05
				tooltip = research_speed_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
			}
		#	swap_ideas = {
		#		remove_idea = GER_limited_social_reform_idea
		#		add_idea = GER_reform_through_the_industries
		#	}
		#	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 = 1
		#		add_building_construction = {
		#			type = industrial_complex
		#			level = 1
		#			instant_build = yes
		#		}
		#	}
		#	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 = 1
		#		add_building_construction = {
		#			type = arms_factory
		#			level = 1
		#			instant_build = yes
		#		}
		#	}
			custom_effect_tooltip = generic_skip_one_line_tt 
			unlock_decision_tooltip = GER_industrial_subsidies
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_ludwig_erhard
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }

	}
	focus = {
		id = GER_support_the_workers
		icon = GFX_goal_generic_dictatorship_of_proletariat
		cost = 7.2
		prerequisite = { focus = GER_limited_social_reform focus = GER_towards_a_workers_democracy }

		x = 2
		y = 1

		relative_position_id = GER_limited_social_reform

		mutually_exclusive = {
			focus = GER_support_the_families
			focus = GER_support_the_industries
			focus = GER_a_planned_economy
		}

		available = {
			NOT = { has_country_flag = GER_economic_reform_ongoing }
			IF = {
				limit = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE
					}
				}
				OR = {
					
					custom_trigger_tooltip = {
						tooltip = GER_nraf_gov_tt
						has_completed_focus = GER_nraf_in_coalition
					}
							
					custom_trigger_tooltip = {
						has_completed_focus = GER_kpd_in_coalition
						tooltip = GER_kpd_gov_tt
					}
							
					custom_trigger_tooltip = {
						has_completed_focus = GER_spd_in_coalition
						tooltip = GER_spd_gov_tt
					}
				}
			}
			else = {
				OR = {
					has_completed_focus = GER_replace_reichsmark
					has_completed_focus = GER_collectivize_industry
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			set_country_flag = {
				flag = GER_economic_reform_ongoing
				value = 1
				days = 50
			}
			
			IF = {
				limit = { NOT = { has_country_flag = GER_no_cheese_expansion}}
				set_country_flag = GER_no_cheese_expansion
				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 = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
				if = {
					limit = {
						59 = { #Hannover
							is_owned_and_controlled_by = ROOT
						}
					}
					59 = { set_state_category = metropolis }
				}
				if = {
					limit = {
						923 = { #Baden # R56
							is_owned_and_controlled_by = ROOT
						}
					}
					923 = { set_state_category = metropolis } # R56
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_war_support_factor = 0.05
				tooltip = war_support_factor_tt
			}
			add_to_variable = { 
				GER_industrial_consumer_goods_factor = 0.05
				tooltip = consumer_goods_factor_tt
			}
			add_to_variable = { 
				GER_industrial_industrial_capacity_factory = 0.075
				tooltip = industrial_capacity_factory_tt
			}
			add_to_variable = { 
				GER_industrial_industrial_capacity_dockyard = 0.075
				tooltip = industrial_capacity_dockyard_tt
			}
			add_to_variable = { 
				GER_industrial_production_speed_buildings_factor = 0.05
				tooltip = production_speed_buildings_factor_tt
			}
			#IF = {
			#	limit = { has_completed_focus = GER_towards_a_workers_democracy}
			#	swap_ideas = {
			#		remove_idea = GER_worker_oriented_state
			#		add_idea = GER_worker_oriented_state_2
			#	}
			#}
			#else = {
			#	swap_ideas = {
			#		remove_idea = GER_limited_social_reform_idea
			#		add_idea = GER_worker_oriented_reform
			#	}
			#}
			#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
			#	}
			#}
			#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 = arms_factory
			#		level = 2
			#		instant_build = yes
			#	}
			#}
			custom_effect_tooltip = generic_skip_one_line_tt 
			unlock_decision_tooltip = GER_public_works
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_WAR_SUPPORT}

	}
	focus = {
		id = GER_support_the_families
		icon = GFX_focus_generic_population_growth
		cost = 7.2
		prerequisite = { focus = GER_limited_social_reform }

		x = 0
		y = 1

		relative_position_id = GER_limited_social_reform

		mutually_exclusive = {
			focus = GER_support_the_workers
			focus = GER_support_the_industries
		}

		available = {
			NOT = { has_country_flag = GER_economic_reform_ongoing }
			IF = {
				limit = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE
					}
				}
				OR = {
					IF = {
						limit = {
							NOT = {
								has_completed_focus = GER_a_martial_state
								has_completed_focus = GER_move_towards_autocracy
							}
						}
						
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
						
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
						
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
					}
					
					IF = {
						limit = { 
							NOT = {
								has_completed_focus = GER_hold_new_elections
								has_completed_focus = GER_found_the_german_interim_government
							}
						}
						AND = {
							has_completed_focus = GER_found_the_new_german_state
							NOT = { has_completed_focus = GER_hold_new_elections }
						}
					}
				}
			}
			else = {
				OR = { 
					has_completed_focus = GER_replace_reichsmark
					has_completed_focus = GER_restore_the_empire
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			set_country_flag = {
				flag = GER_economic_reform_ongoing
				value = 1
				days = 50
			}
			
			IF = {
				limit = { NOT = { has_country_flag = GER_no_cheese_expansion}}
				set_country_flag = GER_no_cheese_expansion
				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 = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
				if = {
					limit = {
						59 = { #Hannover
							is_owned_and_controlled_by = ROOT
						}
					}
					59 = { set_state_category = metropolis }
				}
				if = {
					limit = {
						923 = { #Baden # R56
							is_owned_and_controlled_by = ROOT
						}
					}
					923 = { set_state_category = metropolis } # R56
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_political_power_factor = 0.05
				tooltip = political_power_factor_tt
			}
			add_to_variable = { 
				GER_industrial_monthly_population = 0.1
				tooltip = monthly_population_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
			}
			#swap_ideas = {
			#	remove_idea = GER_limited_social_reform_idea
			#	add_idea = GER_reform_for_the_families
			#}
			#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 = 1
			#	add_building_construction = {
			#		type = industrial_complex
			#		level = 1
			#		instant_build = yes
			#	}
			#}
			#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 = 1
			#	add_building_construction = {
			#		type = industrial_complex
			#		level = 1
			#		instant_build = yes
			#	}
			#}
			custom_effect_tooltip = generic_skip_one_line_tt 
			unlock_decision_tooltip = GER_marriage_loans
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_ludwig_erhard
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }

	}
	focus = {
		id = GER_help_the_worker_through_his_company
		icon = GFX_goal_generic_housing
		cost = 7.2
		prerequisite = { focus = GER_support_the_industries}
		x = 0
		y = 1

		relative_position_id = GER_support_the_industries

		mutually_exclusive = {
		}

		available = {
			NOT = { has_country_flag = GER_economic_reform_ongoing }
			IF = {
				limit = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE
					}
				}
				OR = {
					IF = {
						limit = {
							NOT = {
								has_completed_focus = GER_a_martial_state
								has_completed_focus = GER_move_towards_autocracy
							}
						}
						
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
						IF = {
							limit = { has_country_flag = GER_dvu_formed }
							AND = {
								has_completed_focus = GER_sensible_fiscal_policy
								
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
							}
						}
						else = {
							AND = {
								has_completed_focus = GER_sensible_fiscal_policy
								
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
							}
						}
					}
					IF = {
						limit = { 
							NOT = {
								has_completed_focus = GER_hold_new_elections
								has_completed_focus = GER_found_the_german_interim_government
							}
						}
						AND = {
							has_completed_focus = GER_found_the_new_german_state
							NOT = { has_completed_focus = GER_hold_new_elections }
						}
					}
				}
			}
			else = {
				OR = {
					has_completed_focus = GER_replace_reichsmark
					has_completed_focus = GER_restore_the_empire
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			set_country_flag = {
				flag = GER_economic_reform_ongoing
				value = 1
				days = 50
			}

			IF = {
				limit = { NOT = { has_country_flag = GER_no_cheese_double}}
				set_country_flag = GER_no_cheese_double
				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 = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
				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_wirtschaftswunder
				bonus = 1
				uses = 1
				category = industry
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_trickle_down_economics_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_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_consumer_goods_factor = -0.05
				tooltip = consumer_goods_factor_tt
			}
		#	swap_ideas = {
		#		remove_idea = GER_reform_through_the_industries
		#		add_idea = GER_trickle_down_economics
		#	}
		#	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 = 1
		#			instant_build = yes
		#		}
		#		add_building_construction = {
		#			type = arms_factory
		#			level = 1
		#			instant_build = yes
		#		}
		#	}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }

	}
	focus = {
		id = GER_build_defense_industry_r56
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = GER_currency_reforms }

		x = -6
		y = 1
		relative_position_id = GER_currency_reforms
		cost = 10
		available = {
			has_civil_war = no
			OR = {
				has_war_with_major = yes
				threat > 0.4
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
		allow_branch = {
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE_OLD
				}
			}
		}
		completion_reward = {
			add_war_support = 0.025
			add_threat = 1
			custom_effect_tooltip = generic_skip_one_line_tt
			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_speed_arms_factory_factor = 0.1
				tooltip = production_speed_arms_factory_factor_tt
			}
			add_to_variable = { 
				GER_industrial_conversion_cost_civ_to_mil_factor = -0.1
				tooltip = conversion_cost_civ_to_mil_factor_tt
			}
		}
	}
	
	focus = {
		id = GER_tie_the_aristocracy_into_the_nsdap
		icon = GFX_goal_generic_aristocratic_cooperation
		prerequisite = { focus = GER_currency_reforms }

		x = -3
		y = 1
		relative_position_id = GER_currency_reforms
		cost = 5
		available = {
			has_completed_focus = GER_heed_von_neuraths_concerns
			NOT = { has_country_flag = GER_economic_reform_ongoing }
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
		allow_branch = {
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE_OLD
				}
			}
		}
		completion_reward = {
			set_country_flag = {
				flag = GER_economic_reform_ongoing
				value = 1
				days = 50
			}
			IF = {
				limit = { NOT = { has_country_flag = GER_no_cheese_slots}}
				set_country_flag = GER_no_cheese_slots
				if = {
					limit = {
						998 = { # R56
							is_owned_and_controlled_by = ROOT
						}
					}
					998 = { add_extra_state_shared_building_slots = 1 } # R56
				}
				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_political_power_factor = 0.05
				tooltip = political_power_factor_tt
			}
			add_to_variable = { 
				GER_industrial_fascism_drift = 0.05
				tooltip = fascism_drift_tt
			}
			add_to_variable = { 
				GER_industrial_consumer_goods_factor = -0.05
				tooltip = consumer_goods_factor_tt
			}
		}
	}
	focus = {
		id = GER_stabilize_the_heavy_industry
		icon = GFX_goal_generic_strenght_through_industry
		prerequisite = { focus = GER_build_defense_industry_r56 focus = GER_tie_the_aristocracy_into_the_nsdap }

		x = -1
		y = 1
		relative_position_id = GER_tie_the_aristocracy_into_the_nsdap
		cost = 7.2
		available = {
			NOT = { has_country_flag = GER_economic_reform_ongoing }
			has_completed_focus = GER_remilitarize_the_rhineland 
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
		allow_branch = {
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE_OLD
				}
			}
		}
		completion_reward = {
			set_country_flag = {
				flag = GER_economic_reform_ongoing
				value = 1
				days = 50
			}
			IF = {
				limit = { NOT = { has_country_flag = GER_no_cheese_expansion}}
				set_country_flag = GER_no_cheese_expansion
				if = {
					limit = {
						59 = { #Hannover
							is_owned_and_controlled_by = ROOT
						}
					}
					59 = { set_state_category = metropolis }
				}
				if = {
					limit = {
						923 = { #Baden # R56
							is_owned_and_controlled_by = ROOT
						}
					}
					923 = { set_state_category = metropolis } # R56
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_eco_scripted
						}
					}
				}
				custom_effect_tooltip = GER_stabilize_the_heavy_industry_tt
				hidden_effect = {
					remove_dynamic_modifier = { modifier = GER_recovering_economy_modifier }
					add_dynamic_modifier = { modifier = GER_eco_scripted }
				}
			}
			else = {
				custom_effect_tooltip = GER_stabilize_the_heavy_industry_2_tt
			}

			add_to_variable = { 
				GER_industrial_consumer_goods_factor = -0.1
				tooltip = consumer_goods_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_speed_buildings_factor = 0.025
				tooltip = production_speed_buildings_factor_tt
			}
		}
	}
	focus = {
		id = GER_war_fueled_economy_building
		icon = GFX_goal_polish_wartime_industry
		prerequisite = { focus = GER_war_production_r56 }
		prerequisite = { focus = GER_stabilize_the_heavy_industry }

		x = -2
		y = 1
		relative_position_id = GER_stabilize_the_heavy_industry
		cost = 10
		available = {
			has_war_with_major = yes
			NOT = { has_country_flag = GER_economic_reform_ongoing }
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
		allow_branch = {
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE_OLD
				}
			}
		}
		completion_reward = {
			set_country_flag = {
				flag = GER_economic_reform_ongoing
				value = 1
				days = 50
			}
			IF = {
				limit = { NOT = { has_country_flag = GER_no_cheese_double}}
				set_country_flag = GER_no_cheese_double
				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_war_support_factor = 0.05
				tooltip = war_support_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
			}
			add_to_variable = { 
				GER_industrial_production_factory_max_efficiency_factor = 0.05
				tooltip = production_factory_max_efficiency_factor_tt
			}
		}
	}
	focus = {
		id = GER_secure_a_full_economic_recovery
		icon = GFX_focus_generic_economic_recovery
		prerequisite = { focus = GER_stabilize_the_heavy_industry }

		x = 0
		y = 1
		relative_position_id = GER_stabilize_the_heavy_industry
		cost = 10
		available = {
			NOT = { has_country_flag = GER_economic_reform_ongoing }
			has_completed_focus = GER_develop_heraeus_facilities
			
			industrial_complex > 59
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
		allow_branch = {
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE_OLD
				}
			}
		}
		completion_reward = {
			set_country_flag = {
				flag = GER_economic_reform_ongoing
				value = 1
				days = 50
			}

			IF = {
				limit = { NOT = { has_country_flag = GER_no_cheese_double}}
				set_country_flag = GER_no_cheese_double
				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_wirtschaftswunder
				bonus = 1
				uses = 1
				category = industry
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			
			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_production_speed_buildings_factor = 0.1
				tooltip = production_speed_buildings_factor_tt
			}
			add_to_variable = { 
				GER_industrial_research_speed_factor = 0.05
				tooltip = research_speed_factor_tt
			}
		}
	}
	focus = {
		id = GER_war_production_r56
		icon = GFX_focus_generic_mass_production
		prerequisite = { focus = GER_build_defense_industry_r56 }

		x = 0
		y = 1
		relative_position_id = GER_build_defense_industry_r56
		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_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_fight_employment_discrimination
		icon = GFX_goal_generic_balanced_budget
		cost = 7.2
		prerequisite = {  focus = GER_support_the_workers}

		x = 0
		y = 1

		relative_position_id = GER_support_the_workers

		mutually_exclusive = {
		}

		available = {
			NOT = { has_country_flag = GER_economic_reform_ongoing }
			IF = {
				limit = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE
					}
				}
				OR = {
					
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
				}
			}
			else = {
				OR = {
					has_completed_focus = GER_replace_reichsmark
					has_completed_focus = GER_collectivize_industry
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			set_country_flag = {
				flag = GER_economic_reform_ongoing
				value = 1
				days = 50
			}

			IF = {
				limit = { NOT = { has_country_flag = GER_no_cheese_double}}
				set_country_flag = GER_no_cheese_double
				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 = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
				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_wirtschaftswunder
				bonus = 1
				uses = 1
				category = industry
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = { has_completed_focus = GER_towards_a_workers_democracy}
				GER_modify_industrial_modifier = yes
			}
			else = {
				custom_effect_tooltip = GER_work_eco_tt
			}
			add_to_variable = { 
				GER_industrial_consumer_goods_factor = 0.05
				tooltip = consumer_goods_factor_tt
			}
			add_to_variable = { 
				GER_industrial_industrial_capacity_factory = 0.075
				tooltip = industrial_capacity_factory_tt
			}
			add_to_variable = { 
				GER_industrial_industrial_capacity_dockyard = 0.075
				tooltip = industrial_capacity_dockyard_tt
			}
			add_to_variable = { 
				GER_industrial_production_speed_buildings_factor = 0.05
				tooltip = production_speed_buildings_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_factory_start_efficiency_factor = 0.1
				tooltip = production_factory_start_efficiency_factor_tt
			}
		#	IF = {
		#		limit = { has_completed_focus = GER_towards_a_workers_democracy}
		#		swap_ideas = {
		#			remove_idea = GER_worker_oriented_state_3
		#			add_idea = GER_worker_oriented_state_4
		#		}
		#	}
		#	else = {
		#		swap_ideas = {
		#			remove_idea = GER_worker_orientered_economy
		#			add_idea = GER_worker_orientered_economy_2
		#		}
		#	}
#		#	r56_ger_nraf_35 = yes
#		#	r56_ger_kpd_35 = yes
#		#	r56_ger_spd_35 = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }

	}
	focus = {
		id = GER_socialism_with_german_characteristics
		icon = GFX_focus_GER_establish_volkskommissariats
		cost = 10
		prerequisite = { focus = GER_fight_employment_discrimination focus = GER_set_prices_in_stone}
		x = 1
		y = 1
		mutually_exclusive = { focus = GER_become_the_model_social_market_economy }
		relative_position_id = GER_fight_employment_discrimination

		available = {
			NOT = { has_country_flag = GER_economic_reform_ongoing }
			IF = {
				limit = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE
					}
				}
				IF = {
					limit = { has_completed_focus = GER_a_planned_economy }
					NOT = {
						has_tech = dispersed_industry
					}
				}
				OR = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
					
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
					AND = {
						
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
						has_completed_focus = GER_no_compromise_on_socialist_ideals
					}
				}
			}
			else = {
				has_completed_focus = GER_collectivize_industry
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			set_country_flag = {
				flag = GER_economic_reform_ongoing
				value = 1
				days = 50
			}
			IF = {
				limit = { NOT = { has_country_flag = GER_no_cheese_double}}
				set_country_flag = GER_no_cheese_double
				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 = 1
						instant_build = yes
					}
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
				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 = 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

			If = {
				limit = { has_completed_focus = GER_limited_social_reform}
				custom_effect_tooltip = GER_ger_soc_2_tt
			}
			else = {
				custom_effect_tooltip = GER_ger_soc_tt
			}
			add_to_variable = {
				GER_industrial_army_intel_to_others = -5
				tooltip = army_intel_to_others_tt
			}
			add_to_variable = {
				GER_industrial_civilian_intel_to_others = -5
				tooltip = civilian_intel_to_others_tt
			}
			add_to_variable = {
				GER_industrial_equipment_conversion_speed = 0.05
				tooltip = equipment_conversion_speed_tt
			}
			add_to_variable = { 
				GER_industrial_production_speed_arms_factory_factor = 0.075
				tooltip = production_speed_arms_factory_factor_tt
			}
		#	IF = {
		#		limit = {
		#			has_country_flag = GER_div_step_1
		#			NOT = { has_country_flag = GER_eco_2 }
		#		}
		#		set_country_flag = GER_diversified_protfolio_flag
		#	}
		#	else = {
		#		set_country_flag = GER_div_step_1
		#		set_country_flag = GER_eco_2
		#	}
		#	add_research_slot = 1
		#	custom_effect_tooltip = generic_skip_one_line_tt
		#	remove_ideas = GER_state_run_unions_idea
		#	custom_effect_tooltip = generic_skip_one_line_tt
		#	remove_ideas = GER_state_jobs
		#	custom_effect_tooltip = generic_skip_one_line_tt
		#	IF = {
		#		limit = { has_completed_focus = GER_support_the_workers}
		#		swap_ideas = {
		#			remove_idea = GER_worker_oriented_state_4 
		#			add_idea = GER_worker_oriented_state_5
		#		}
		#	}
		#	else = {
		#		swap_ideas = {
		#			remove_idea = GER_planned_economy_3
		#			add_idea = GER_planned_economy_4
		#		}
		#	}
		#	random_owned_state = {
		#		limit = {
		#			is_controlled_by = ROOT
		#			free_building_slots = {
		#				building = industrial_complex
		#				size > 3
		#				include_locked = yes
		#			}
		#		}
		#		add_extra_state_shared_building_slots = 4
		#		add_building_construction = {
		#			type = industrial_complex
		#			level = 2
		#			instant_build = yes
		#		}
		#		add_building_construction = {
		#			type = arms_factory
		#			level = 2
		#			instant_build = yes
		#		}
		#	}
#			#r56_ger_nraf_50 = yes
#			#r56_ger_kpd_50 = yes
#			#IF = {
#			#	limit = { has_completed_focus = GER_no_compromise_on_socialist_ideals}
#			#	r56_ger_spd_50 = yes
#			#}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }

	}
	focus = {
		id = GER_strengthen_the_bedrock_of_the_family
		icon = GFX_goal_christianity_and_state
		cost = 7.2
		prerequisite = { focus = GER_support_the_families }

		x = 0
		y = 1

		relative_position_id = GER_support_the_families

		mutually_exclusive = {
		}

		available = {
			NOT = { has_country_flag = GER_economic_reform_ongoing }
			OR = {
				IF = {
					limit = {
						NOT = {
							has_completed_focus = GER_a_martial_state
							has_completed_focus = GER_move_towards_autocracy
						}
					}
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
				}
			
				IF = {
					limit = { 
						NOT = {
							has_completed_focus = GER_hold_new_elections
							has_completed_focus = GER_found_the_german_interim_government
						}
					}
					AND = {
						has_completed_focus = GER_found_the_new_german_state
						NOT = { has_completed_focus = GER_hold_new_elections }
					}
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			set_country_flag = {
				flag = GER_economic_reform_ongoing
				value = 1
				days = 50
			}

			IF = {
				limit = { NOT = { has_country_flag = GER_no_cheese_double}}
				set_country_flag = GER_no_cheese_double
				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 = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
				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_wirtschaftswunder
				bonus = 1
				uses = 1
				category = industry
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = GER_fam_eco_tt
			add_to_variable = { 
				GER_industrial_political_power_factor = 0.025
				tooltip = political_power_factor_tt
			}
			add_to_variable = { 
				GER_industrial_monthly_population = 0.2
				tooltip = monthly_population_tt
			}
			add_to_variable = { 
				GER_industrial_consumer_goods_factor = -0.05
				tooltip = consumer_goods_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_research_speed_factor = 0.025
				tooltip = research_speed_factor_tt
			}
			add_to_variable = { 
				GER_industrial_industrial_capacity_factory = 0.04
				tooltip = industrial_capacity_factory_tt
			}
			add_to_variable = { 
				GER_industrial_industrial_capacity_dockyard = 0.04
				tooltip = industrial_capacity_dockyard_tt
			}
		#	swap_ideas = {
		#		remove_idea = GER_family_centered_economy
		#		add_idea = GER_family_centered_economy_2
		#	}
		#	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 = 1
		#			instant_build = yes
		#		}
		#		add_building_construction = {
		#			type = arms_factory
		#			level = 1
		#			instant_build = yes
		#		}
		#	}
		#	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
		#		}
		#	}
#		#	r56_ger_dnvp_35 = yes
#		#	r56_ger_dvu_35 = yes 
#		#	r56_ger_zentrum_35 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }

	}
	focus = {
		id = GER_become_the_model_social_market_economy
		icon = GFX_goal_generic_communist_economy
		cost = 10
		prerequisite = { focus = GER_strengthen_the_bedrock_of_the_family focus = GER_fight_employment_discrimination }
		mutually_exclusive = { focus = GER_socialism_with_german_characteristics }
		x = 1
		y = 1

		relative_position_id = GER_strengthen_the_bedrock_of_the_family


		available = {
			NOT = { has_country_flag = GER_economic_reform_ongoing }
			IF = {
				limit = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE
					}
				}
				OR = {
					IF = {
						limit = {
							NOT = {
								has_completed_focus = GER_a_martial_state
								has_completed_focus = GER_move_towards_autocracy
							}
						}
						
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
						
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
						
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
						
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
					}
		
					IF = {
						limit = { 
							NOT = {
								has_completed_focus = GER_hold_new_elections
								has_completed_focus = GER_found_the_german_interim_government
							}
						}
						AND = {
							has_completed_focus = GER_found_the_new_german_state
							NOT = { has_completed_focus = GER_hold_new_elections }
						}
					}
				}
			}
			else = {
				OR = { 
					has_completed_focus = GER_replace_reichsmark
					has_completed_focus = GER_restore_the_empire
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			set_country_flag = {
				flag = GER_economic_reform_ongoing
				value = 1
				days = 50
			}
			IF = {
				limit = { NOT = { has_country_flag = GER_no_cheese_single}}
				set_country_flag = GER_no_cheese_single
				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 = 1
						instant_build = yes
					}
					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 > 1
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = { has_completed_focus = GER_towards_a_workers_democracy }
				custom_effect_tooltip = GER_work_eco_2_tt
			}
			else = { GER_modify_industrial_modifier = yes }
			add_to_variable = { 
				GER_industrial_stability_factor = 0.05
				tooltip = stability_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_speed_buildings_factor = 0.05
				tooltip = production_speed_buildings_factor_tt
			}
			add_to_variable = { 
				GER_industrial_industrial_capacity_factory = 0.025
				tooltip = industrial_capacity_factory_tt
			}
			add_to_variable = { 
				GER_industrial_industrial_capacity_dockyard = 0.025
				tooltip = industrial_capacity_dockyard_tt
			}
		#	IF = {
		#		limit = {
		#			has_country_flag = GER_div_step_1
		#			NOT = { has_country_flag = GER_eco_3 }
		#		}
		#		set_country_flag = GER_diversified_protfolio_flag
		#	}
		#	else = {
		#		set_country_flag = GER_div_step_1
		#		set_country_flag = GER_eco_3
		#	}
		#	add_research_slot = 1
		#	custom_effect_tooltip = generic_skip_one_line_tt
		#	remove_ideas = GER_strengthened_unions
		#	custom_effect_tooltip = generic_skip_one_line_tt
		#	remove_ideas = GER_unemployment_ensurance_idea
		#	custom_effect_tooltip = generic_skip_one_line_tt
		#	IF = {
		#		limit = { NOT = { has_completed_focus = GER_support_the_workers}}
		#		swap_ideas = {
		#			remove_idea = GER_family_centered_economy_2
		#			add_idea = GER_family_based_social_market_economy
		#		}
		#	}
		#	else = {
		#		swap_ideas = {
		#			remove_idea = GER_worker_orientered_economy_2
		#			add_idea = GER_worker_based_social_market_economy
		#		}
		#	}
		#	random_owned_state = {
		#		limit = {
		#			is_controlled_by = ROOT
		#			free_building_slots = {
		#				building = industrial_complex
		#				size > 3
		#				include_locked = yes
		#			}
		#		}
		#		add_extra_state_shared_building_slots = 4
		#		add_building_construction = {
		#			type = industrial_complex
		#			level = 2
		#			instant_build = yes
		#		}
		#		add_building_construction = {
		#			type = arms_factory
		#			level = 2
		#			instant_build = yes
		#		}
		#	}
#			r56_ger_dnvp_35 = yes
#			r56_ger_dvu_35 = yes
#			r56_ger_zentrum_35 = yes
#			r56_ger_spd_35 = yes
			
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }

	}
	focus = {
		id = GER_kpd_in_coalition
		icon = GFX_goal_ger_kpd_victory
		cost = 2
		prerequisite = { focus = GER_hold_new_elections focus = GER_shake_off_the_fascist_yoke_dummy }
		dynamic = yes
		x = 40
		y = 1

		relative_position_id = GER_hold_new_elections

		mutually_exclusive = {
		}
		available = {
			IF = {
				limit = { has_completed_focus = GER_shake_off_the_fascist_yoke}
				has_civil_war = no
			}
			else = { 
					
				custom_trigger_tooltip = {
					has_completed_focus = GER_kpd_in_coalition
					tooltip = GER_kpd_gov_tt
				}

			}
		}
		offset = {
			trigger = { has_completed_focus = GER_shake_off_the_fascist_yoke }
			x = -36
			y = -7
		}
		offset = {
			x = -4
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				NOT = { has_country_flag = GER_spd_banned }
				has_country_flag = GER_carlo_spd
			}
		}
		offset = {
			x = -8
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				NOT = { has_country_flag = GER_spd_banned }
				has_country_flag = GER_kurt_spd
			}
		}
		offset = {
			x = -6
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				NOT = { has_country_flag = GER_spd_banned }
				has_country_flag = GER_vogel_spd
			}
		}
		ai_will_do = {
		}
		allow_branch = {
			NOT = { has_completed_focus = GER_pass_the_beck_constiution}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {
	
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_demokratieschutzgesetz}
				NOT = { has_country_flag = GER_spd_banned}
				NOT = { has_country_flag = GER_kpd_banned }
				NOT = { has_completed_focus = GER_found_the_new_german_state}
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}

		}
		completion_reward = {
			IF = {
				limit = { NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}}
				add_popularity = {
					ideology = communism
					popularity = 0.05
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			
			IF = {
				limit = { has_completed_focus = GER_peace_in_the_east}
				add_ideas = GER_focus_towards_the_west
			}
			IF = {
				limit = {
					has_country_flag = GER_within
				}
				add_ideas = GER_stasi_4
			}
			else_if = {
				limit = { has_country_flag = GER_without }
				add_ideas = GER_stasi_3
			}
			else_if = { 
				limit = { has_completed_focus = GER_expand_recruitment}
				add_ideas = GER_stasi_2
			}
			else_if = {
				limit = { has_completed_focus = GER_form_the_stasi_new}
				add_ideas = GER_stasi
			}
			IF = {
				limit = {
					has_completed_focus = GER_legalize_the_kjvd
				}
				add_ideas = GER_kjvd
			}
			IF = {
				limit = { has_completed_focus = GER_fight_fascism_in_all_its_forms}
				add_ideas = GER_revolutionary_culture_5
			}
			else_if = {
				limit = { has_country_flag = GER_no_conciliators }
				add_ideas = GER_revolutionary_culture_4
			}
			IF = {
				limit = { has_country_flag = GER_coniliators_flag}
				add_ideas = GER_revolutionary_culture_3
				add_ideas = GER_anti_fascist_bulwark
			}
			else_if = {
				limit = { has_completed_focus = GER_deal_with_the_conciliators has_country_flag = GER_coniliators_flag}
				add_ideas = GER_revolutionary_culture_2
			}
			IF = {
				limit = { 
					has_completed_focus = GER_revolution_in_german_culture
					NOT = {
						has_completed_focus = GER_fight_fascism_in_all_its_forms
					}
				}
				add_ideas = GER_revolutionary_culture
			}
			IF = {
				limit = {
					check_variable = {
						var = GER_chosen_gov_leader
						value = 7
						compare = equals
					}
				}
				IF = {
					limit = { 
						NOT = { has_government =communism}
					}
					set_politics = {
						ruling_party = communism
						elections_allowed = yes
					}
				}
				else_if = {
					limit = { has_elections = no }
					set_politics = {
						ruling_party = ROOT
						elections_allowed = yes
					}
				}
				set_party_name = {
					ideology = communism
					long_name = GER_kpd_long
					name = GER_kpd_short
				}
				IF = {
					limit = { has_country_flag = GER_pieck_kpd }
					promote_character = {
						character = GER_wilhelm_pieck
						ideology = stalinism
					}
				}
				else_if = {
					limit = { has_country_flag = GER_ulbricht_kpd }
					promote_character = {
						character = GER_walter_ulbricht
						ideology = stalinism
					}
				}
				else = {
					promote_character = {
						character = GER_ernst_thalmann
						ideology = stalinism
					}
				}
			}
			add_to_variable = { GER_mil_opinion = -2 }
			custom_effect_tooltip = GER_mil_opinion_-2_tt
			}
			else = {	
				add_stability = 0.075
				add_political_power = 25
				add_popularity = {
					ideology = communism
					popularity = 0.05
				}
				hidden_effect = { unlock_national_focus = GER_the_revolution_secured }
			}
			IF = {
				limit = { NOT = { has_country_flag = GER_crazy_commie_germany}}
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = ernst_thalmann
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = GER_walter_ulbricht
			}
			IF = {
				limit = { NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke }}
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = wilhelm_pieck
			}
			IF = {
				limit = { has_country_flag = GER_coniliators_flag }
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = GER_carlo_mierendorff
			}
			set_country_flag = GER_move_to_secure_the_revolution_flag
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }
	}
	focus = {
		id = GER_embrace_secularism
		icon = GFX_focus_ARG_state_atheism
		cost = 5
		prerequisite = { focus = GER_spd_in_coalition focus = GER_kpd_in_coalition}

		x = -11
		y = 1

		offset = { 
			trigger = { 
				has_completed_focus = GER_shake_off_the_fascist_yoke
			}
			x = 14
		}
		relative_position_id = GER_kpd_in_coalition

		mutually_exclusive = {
		}

		available = {
			NOT = { has_completed_focus = GER_undo_the_secularization_of_germany }
			NOT = { has_completed_focus = GER_positive_christianty}
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_towards_secularism
			add_to_variable = { SPD_seats = -5 }
			custom_effect_tooltip = GER_SPD_-5_tt
			r56_ger_spd_20 = yes
			r56_ger_kpd_20 = yes
			hidden_effect = {
				country_event = {
					id = new_ger.129
					days = 35
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = GER_guarantee_religious_freedom
		icon = GFX_focus_YUG_guarantee_religious_liberties
		cost = 5
		prerequisite = { focus = GER_embrace_secularism}

		x = -1
		y = 1

		relative_position_id = GER_embrace_secularism

		mutually_exclusive = {
			focus = GER_towards_state_atheism
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
		}
		ai_will_do = {
		}
		allow_branch = { 
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			NOT = { has_completed_focus = GER_pass_the_beck_constiution}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_a_martial_state}
				NOT = { has_completed_focus = GER_move_towards_autocracy }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
				NOT = { has_country_flag = GER_spd_banned }
			}
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_towards_secularism
				add_idea = GER_religious_freedom
			}
			r56_ger_spd_35 = yes
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }

	}
	focus = {
		id = GER_enforce_a_secularized_curriculum
		icon = GFX_focus_NOR_moscows_education_centers
		cost = 8
		prerequisite = { focus = GER_guarantee_religious_freedom focus = GER_towards_state_atheism}

		x = 1
		y = 1

		offset = {
			x = -1
			trigger = {
				has_completed_focus = GER_shake_off_the_fascist_yoke
			}
		}
		relative_position_id = GER_guarantee_religious_freedom

		mutually_exclusive = {
		}

		available = {
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_secularized_curriculum
			r56_ger_spd_20 = yes
			r56_ger_kpd_20 = yes
		}
		search_filters = {FOCUS_FILTER_RESEARCH }

	}
	focus = {
		id = GER_towards_state_atheism
		icon = GFX_focus_BRA_state_atheism
		cost = 7.2
		prerequisite = { focus = GER_embrace_secularism}

		x = 1
		y = 1
		offset = {
			x = -1
			trigger = {
				has_completed_focus = GER_shake_off_the_fascist_yoke
			}
		}
		relative_position_id = GER_embrace_secularism

		mutually_exclusive = {
			focus = GER_guarantee_religious_freedom
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_towards_secularism
				add_idea = GER_state_atheism
			}
			IF = {
				limit = { 
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}}
				add_to_variable = { KPD_seats = -10 }
				custom_effect_tooltip = GER_KPD_-10_tt
			}
			IF = {
				limit = { 
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}}
				add_to_variable = { SPD_seats = -10 }
				custom_effect_tooltip = GER_SPD_-10_tt
			}
			IF = {
				limit = { 
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}}
				add_to_variable = { NRAF_seats = -10 }
				custom_effect_tooltip = GER_NRAF_-10_tt
			}
			IF = {
				limit = { has_country_flag = GER_catholic_autonomy_flag}
				every_state = {
					limit = {
						OR = {
							state = 53
							state = 52
							state = 923
							state = 67
							state = 54
							state = 51
							state = 57
						}
					}
					remove_dynamic_modifier = {
						modifier = GER_catholic_autonomy
					}
				}
				clr_country_flag = GER_catholic_autonomy_flag
			}
			r56_ger_kpd_50 = yes
		}

	}
	focus = {
		id = GER_watch_the_churches
		icon = GFX_goal_generic_communist_secret_police
		cost = 7.2
		prerequisite = { focus = GER_towards_state_atheism }
		prerequisite = { focus = GER_fully_rebuild_the_secret_police focus = GER_form_the_stasi_new}

		x = 2
		y = 1

		relative_position_id = GER_towards_state_atheism

		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_state_atheism
				add_idea = GER_state_atheism_2
			}
			r56_ger_kpd_50 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ESPIONAGE FOCUS_FILTER_STABILITY FOCUS_FILTER_MANPOWER}

	}
	focus = {
		id = GER_demand_state_approval_for_clergy
		icon = GFX_goal_generic_catholic_education
		cost = 10
		prerequisite = { focus = GER_watch_the_churches }

		x = 0
		y = 1

		relative_position_id = GER_watch_the_churches

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_state_atheism_2
				add_idea = GER_state_atheism_3
			}
			r56_ger_kpd_50 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ESPIONAGE FOCUS_FILTER_STABILITY FOCUS_FILTER_MANPOWER}


	}
	focus = {
		id = GER_introduce_the_jugendweihe
		icon = GFX_focus_GER_legacy_of_the_spartacus_league
		cost = 5
		prerequisite = { focus = GER_enforce_a_secularized_curriculum }
		prerequisite = { focus = GER_towards_state_atheism }

		x = 1
		y = 1

		relative_position_id = GER_enforce_a_secularized_curriculum

		mutually_exclusive = {
		}

		available = {
			has_completed_focus = GER_mandatory_membership
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_mandatory_kjvd_membership
				add_idea = GER_mandatory_kjvd_membership_2
			}
			r56_ger_kpd_35 = yes
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = GER_ensure_the_gradual_withering_away_of_religion
		icon = GFX_goal_generic_crusade
		cost = 10
		prerequisite = { focus = GER_introduce_the_jugendweihe}
		prerequisite = { focus = GER_demand_state_approval_for_clergy}

		x = 1
		y = 1

		relative_position_id = GER_introduce_the_jugendweihe

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			hidden_effect = {
				remove_ideas = GER_state_atheism_3
				add_timed_idea = {
					idea = GER_state_atheism_4
					days = 60
				}
			}
			effect_tooltip = {
				swap_ideas = {
					remove_idea = GER_state_atheism_3
					add_idea = GER_state_atheism_4
				}
			}
			custom_effect_tooltip = GER_withering_tooltip_tt
			show_ideas_tooltip = GER_state_atheism_13
			r56_ger_kpd_70 = yes
		}
		search_filters = {FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_STABILITY}

	}
	focus = {
		id = GER_redistribute_wealth
		icon = GFX_goal_generic_banking_legislation
		cost = 2.9
		prerequisite = { focus = GER_nraf_in_coalition focus = GER_spd_in_coalition focus = GER_kpd_in_coalition}

		x = -17
		y = 1
		offset = { 
			trigger = { 
				has_completed_focus = GER_shake_off_the_fascist_yoke
			}
			x = 22
		}
		offset = {
			x = -8
			trigger = { 
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_country_flag = GER_spd_banned
			}
		}
		offset = {
			x = 3
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				NOT = { has_country_flag = GER_spd_banned }
				OR = {
					has_country_flag = GER_kurt_spd
					has_country_flag = GER_vogel_spd
				}
			}
		}
		offset = {
			x = -2
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				NOT = { has_country_flag = GER_spd_banned }
				has_country_flag = GER_carlo_spd
			}
		}
		relative_position_id = GER_kpd_in_coalition

		mutually_exclusive = {
		}

		available = {
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
				
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_timed_idea = {
				days = 180
				idea = GER_redistributing_assets
			}
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 80
				}
			} 
			IF = {
				limit = { has_active_mission = GER_kpd_demands_action}
				add_days_mission_timeout = {
					mission = GER_kpd_demands_action
					days = 80
				}
			} 
			IF = {
				limit = { has_active_mission = GER_nraf_demands_action}
				add_days_mission_timeout = {
					mission = GER_nraf_demands_action
					days = 80
				}
			} 
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = GER_land_reform
		icon = GFX_goal_generic_wheat
		cost = 7.2
		prerequisite = { focus = GER_redistribute_wealth}

		x = 0
		y = 1

		relative_position_id = GER_redistribute_wealth

		mutually_exclusive = {
		}

		available = {
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
				
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			random_owned_state = {
				limit = {
					is_controlled_by = ROOT
					is_core_of = ROOT
					industrial_complex > 1
				}
				remove_building = {
					type = industrial_complex 
					level = 1
				}
				add_extra_state_shared_building_slots = 2
			}
			random_owned_state = {
				limit = {
					is_controlled_by = ROOT
					is_core_of = ROOT
					industrial_complex > 1
				}
				remove_building = {
					type = industrial_complex 
					level = 1
				}
				add_extra_state_shared_building_slots = 2
			}
			random_owned_state = {
				limit = {
					is_controlled_by = ROOT
					is_core_of = ROOT
					industrial_complex > 1
				}
				remove_building = {
					type = industrial_complex 
					level = 1
				}
				add_extra_state_shared_building_slots = 2
			}
			random_owned_state = {
				limit = {
					is_controlled_by = ROOT
					is_core_of = ROOT
					industrial_complex > 1
				}
				remove_building = {
					type = industrial_complex 
					level = 1
				}
				add_extra_state_shared_building_slots = 2
			}
			random_owned_state = {
				limit = {
					is_controlled_by = ROOT
					is_core_of = ROOT
					industrial_complex > 1
				}
				remove_building = {
					type = industrial_complex 
					level = 1
				}
				add_extra_state_shared_building_slots = 2
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_stability = -0.05
			add_political_power = 25
			add_popularity = {
				ideology = ROOT
				popularity = 0.05
			}
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 150
				}
			} 
			IF = {
				limit = { has_active_mission = GER_kpd_demands_action}
				add_days_mission_timeout = {
					mission = GER_kpd_demands_action
					days = 150
				}
			} 
			IF = {
				limit = { has_active_mission = GER_nraf_demands_action}
				add_days_mission_timeout = {
					mission = GER_nraf_demands_action
					days = 150
				}
			} 
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = GER_towards_a_workers_democracy
		icon = GFX_goal_workers_support
		cost = 5
		prerequisite = { focus = GER_workers_rights}

		x = 2
		y = 1

		relative_position_id = GER_workers_rights

		mutually_exclusive = {
			focus = GER_limited_social_reform
			focus = GER_liberalize_the_economy
		}

		allow_branch = {
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE_OLD
				}
			}
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		available = {
			NOT = { has_country_flag = GER_economic_reform_ongoing }
			has_civil_war = no
			IF = {
				limit = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE
					}
				}
				NOT = { 
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			} }
				OR = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
					
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
					AND = {
						
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
						has_completed_focus = GER_no_compromise_on_socialist_ideals
					}
				}
			}
			else = {
				has_completed_focus = GER_collectivize_industry
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			set_country_flag = {
				flag = GER_economic_reform_ongoing
				value = 1
				days = 50
			}

			IF = {
				limit = { NOT = { has_country_flag = GER_no_cheese_slots}}
				set_country_flag = GER_no_cheese_slots
				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 = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
				if = {
					limit = {
						998 = { # R56
							is_owned_and_controlled_by = ROOT
						}
					}
					998 = { add_extra_state_shared_building_slots = 1 } # R56
				}
				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

			IF = {
				limit = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_eco_scripted
						}
					}
				}
				custom_effect_tooltip = GER_towards_a_workers_democracy_tt
				hidden_effect = {
					remove_dynamic_modifier = { modifier = GER_recovering_economy_modifier }
					add_dynamic_modifier = { modifier = GER_eco_scripted }
				}
			}
			else = {
				custom_effect_tooltip = GER_towards_a_workers_democracy_2_tt
			}
			add_to_variable = { 
				GER_industrial_war_support_factor = 0.05
				tooltip = war_support_factor_tt
			}
			add_to_variable = { 
				GER_industrial_consumer_goods_factor = -0.075
				tooltip = consumer_goods_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
			}
			#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
			#add_ideas = GER_worker_oriented_state
			custom_effect_tooltip = generic_skip_one_line_tt 
			unlock_decision_tooltip = GER_public_works
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }

	}
	focus = {
		id = GER_a_planned_economy
		icon = GFX_goal_communist_factory
		cost = 10
		prerequisite = { focus = GER_towards_a_workers_democracy }

		x = 1
		y = 1

		relative_position_id = GER_towards_a_workers_democracy

		mutually_exclusive = {
			focus = GER_support_the_workers
		}

		available = {
			NOT = { has_country_flag = GER_economic_reform_ongoing }
			NOT = {
				has_tech = dispersed_industry
			}
			IF = {
				limit = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE
					}
				}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
			}
			else = { has_completed_focus = GER_collectivize_industry }
		}
		ai_will_do = {
		}
		completion_reward = {
			set_country_flag = {
				flag = GER_economic_reform_ongoing
				value = 1
				days = 50
			}
			
			IF = {
				limit = { NOT = { has_country_flag = GER_no_cheese_expansion}}
				set_country_flag = GER_no_cheese_expansion
				if = {
					limit = {
						59 = { #Hannover
							is_owned_and_controlled_by = ROOT
						}
					}
					59 = { set_state_category = metropolis }
				}
				if = {
					limit = {
						923 = { #Baden # R56
							is_owned_and_controlled_by = ROOT
						}
					}
					923 = { set_state_category = metropolis } # R56
				}
				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 = 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
			
			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_consumer_goods_factor = -0.05
				tooltip = consumer_goods_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_factory_max_efficiency_factor = 0.075
				tooltip = production_factory_max_efficiency_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_factory_efficiency_gain_factor = -0.1
				tooltip = production_factory_efficiency_gain_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_factory_start_efficiency_factor = -0.075
				tooltip = production_factory_start_efficiency_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_speed_buildings_factor = 0.05
				tooltip = production_speed_buildings_factor_tt
			}
			#swap_ideas = {
			#	remove_idea = GER_worker_oriented_state
			#	add_idea = GER_planned_economy
			#}
			#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
			#	}
			#}
			#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 = arms_factory
			#		level = 2
			#		instant_build = yes
			#	}
			#}
#			r56_ger_kpd_70 = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = GER_set_prices_in_stone
		icon = GFX_goal_generic_communal_statistical_commission
		cost = 10
		prerequisite = { focus = GER_a_planned_economy }

		x = 0
		y = 1

		relative_position_id = GER_a_planned_economy

		mutually_exclusive = {
		}

		available = {
			NOT = { has_country_flag = GER_economic_reform_ongoing }
			NOT = {
				has_tech = dispersed_industry
			}
			IF = {
				limit = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = R56_TREE
					}
				}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
			}
			else = { has_completed_focus = GER_collectivize_industry}
		}
		ai_will_do = {
		}
		completion_reward = {
			set_country_flag = {
				flag = GER_economic_reform_ongoing
				value = 1
				days = 50
			}

			IF = {
				limit = { NOT = { has_country_flag = GER_no_cheese_double}}
				set_country_flag = GER_no_cheese_double
				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 = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
				every_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
						free_building_slots = {
							building = arms_factory
							size > 0
							include_locked = yes
						}
					}
					random_select_amount = 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_wirtschaftswunder
				bonus = 1
				uses = 1
				category = industry
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_consumer_goods_factor = -0.05
				tooltip = consumer_goods_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_factory_max_efficiency_factor = 0.125
				tooltip = production_factory_max_efficiency_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_factory_efficiency_gain_factor = -0.15
				tooltip = production_factory_efficiency_gain_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_factory_start_efficiency_factor = -0.075
				tooltip = production_factory_start_efficiency_factor_tt
			}
			add_to_variable = { 
				GER_industrial_production_speed_buildings_factor = 0.05
				tooltip = production_speed_buildings_factor_tt
			}
		#	swap_ideas = {
		#		remove_idea = GER_planned_economy_2
		#		add_idea = GER_planned_economy_3
		#	}
		#	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 = 1
		#			instant_build = yes
		#		}
		#		add_building_construction = {
		#			type = arms_factory
		#			level = 1
		#			instant_build = yes
		#		}
		#	}
#		#	r56_ger_kpd_70 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }

	}
	focus = {
		id = GER_utilize_pro_democratic_propaganda
		icon = GFX_goal_generic_war_of_words
		cost = 5
		prerequisite = { focus = GER_spd_in_coalition focus = GER_dstp_in_coalition focus = GER_zentrum_in_coalition}

		x = -7
		y = 1

		relative_position_id = GER_spd_in_coalition
		allow_branch = { 
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			NOT = { has_completed_focus = GER_pass_the_beck_constiution}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_a_martial_state}
				NOT = { has_completed_focus = GER_move_towards_autocracy }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		mutually_exclusive = {
		}
		offset = {
			x = 3
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				NOT = { has_country_flag = GER_spd_banned }
				OR = {
					has_country_flag = GER_kurt_spd
					has_country_flag = GER_vogel_spd
				}
			}
		}
		available = {
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
				AND = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
					OR = {
						has_country_flag = GER_wirth_leadership
						has_country_flag = GER_adenauer_leadership
					}
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			custom_effect_tooltip = unlock_GER_pro_democratic_propaganda_which_grants
			effect_tooltip = {
				add_to_variable = { SPD_seats = 10 }
				custom_effect_tooltip = GER_SPD_10_tt
				IF = {
					limit = { NOT = { has_country_flag = GER_dvu_formed}}
					add_to_variable = { Zentrum_seats = 10 }
					custom_effect_tooltip = GER_zentrum_10_tt
				}
				add_to_variable = { DSTP_seats = 10 }
				custom_effect_tooltip = GER_DSTP_10_tt
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = { has_active_mission = GER_dstp_demands_action}
				add_days_mission_timeout = {
					mission = GER_dstp_demands_action
					days = 100
				}
			}
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 100
				}
			}
			IF = {
				limit = { 
					has_active_mission = GER_zentrum_demands_action
					OR = {
						has_country_flag = GER_wirth_leadership
						has_country_flag = GER_adenauer_leadership
					}
				}
				add_days_mission_timeout = {
					mission = GER_zentrum_demands_action
					days = 100
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }

	}
	focus = {
		id = GER_weaken_the_presidents_power
		icon = GFX_goal_generic_internal_democracy
		cost = 10
		prerequisite = { focus = GER_utilize_pro_democratic_propaganda }

		x = -1
		y = 1

		relative_position_id = GER_utilize_pro_democratic_propaganda

		mutually_exclusive = {
		}
		available = {
			NOT = { 
				has_completed_focus = GER_expand_the_kaisers_duties
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
			}
			NOT = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
			}
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
				AND = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
					has_country_flag = GER_adenauer_leadership
				}
			}
			OR = {
				has_idea = GER_president_beck
				has_idea = GER_wilhelm_iv
			}
			IF = {
				limit = {
					has_idea = GER_wilhelm_iv
				}
				has_completed_focus = GER_demokratieschutzgesetz
				has_completed_focus = GER_ban_internal_operations
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = {
					has_idea = GER_wilhelm_iv
				}
				swap_ideas = {
					remove_idea = GER_wilhelm_iv
					add_idea = GER_wilhelm_iv_weak
				}
			}
			else = {
				swap_ideas = {
					remove_idea = GER_president_beck
					add_idea = GER_president_beck_2
				}
			}
			set_country_flag = {
				flag = GER_president_weakened
				days = 250
				value = 1
			}
			custom_effect_tooltip = GER_weaken_the_presidents_power_tt
			IF = {
				limit = { has_active_mission = GER_dstp_demands_action}
				add_days_mission_timeout = {
					mission = GER_dstp_demands_action
					days = 200
				}
			}
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 200
				}
			}
			IF = {
				limit = { 
					has_active_mission = GER_zentrum_demands_action
					has_country_flag = GER_wirth_leadership
					
				}
				add_days_mission_timeout = {
					mission = GER_zentrum_demands_action
					days = 200
				}
			}
			
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }

	}
	focus = {
		id = GER_abandon_the_post_alltogether
		icon = GFX_goal_generic_parliament
		cost = 10
		prerequisite = { focus = GER_weaken_the_presidents_power }

		x = 0
		y = 1

		relative_position_id = GER_weaken_the_presidents_power

		mutually_exclusive = {
		}
		available = {
			NOT = { has_country_flag = GER_president_weakened}
			has_idea = GER_president_beck_2
			NOT = { 
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
			}
			NOT = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
			}
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dstp_in_coalition
				tooltip = GER_dstp_gov_tt
			}
				AND = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_zentrum_in_coalition
				tooltip = GER_zentrum_gov_tt
			}
					has_country_flag = GER_adenauer_leadership
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			remove_ideas = GER_president_beck_2
			IF = {
				limit = { has_active_mission = GER_dstp_demands_action}
				add_days_mission_timeout = {
					mission = GER_dstp_demands_action
					days = 200
				}
			}
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 200
				}
			}
			IF = {
				limit = { 
					has_active_mission = GER_zentrum_demands_action
					has_country_flag = GER_wirth_leadership
					
				}
				add_days_mission_timeout = {
					mission = GER_zentrum_demands_action
					days = 200
				}
			}
			
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER}

	}
	focus = {
		id = GER_rebuild_the_prussian_bastion
		icon = GFX_goal_GER_rebuild_the_prussian_bastion
		cost = 5
		prerequisite = { focus = GER_utilize_pro_democratic_propaganda }

		x = 1
		y = 1

		relative_position_id = GER_utilize_pro_democratic_propaganda

		mutually_exclusive = {
		}
		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			every_state = {
				limit = {
					OR = {
						state = 51
						state = 998
						state = 58
						state = 62
						state = 59 
						state = 989
						state = 57
						state = 55
						state = 85
						state = 64
						state = 68
						state = 63
						state = 66
						state = 67
						state = 5
						state = 763
						state = 807
						state = 86
						state = 762
						state = 965
					}
				}
				add_core_of = PRE
			}
			unlock_decision_category_tooltip = GER_rebuilding_the_prussian_bastion
			custom_effect_tooltip = GER_rebuild_the_prussian_bastion_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 150
				}
			} 
			
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }

	}
	focus = {
		id = GER_choose_an_heir_for_wels
		icon = GFX_goal_generic_improve_relations
		cost = 4
		prerequisite = { focus = GER_spd_in_coalition }

		x = 0
		y = 2

		relative_position_id = GER_spd_in_coalition

		mutually_exclusive = {
		}
		bypass = {
		}
		bypass_effect = {
			
			set_country_flag = GER_vogel_spd
			custom_effect_tooltip = GER_vogel_spd_tt
			IF = {
				limit = {
					check_variable = {
						var = GER_chosen_gov_leader
						value = 5
						compare = equals
					}
				}
				promote_character = {
					character = GER_hans_vogel
					ideology = socialism
				}
			}
		}
		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			country_event = new_ger.15
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 120
				}
			} 
		}
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER }

	}
	focus = {
		id = GER_strengthen_german_patriotism
		icon = GFX_focus_ger_oppose_hitler
		cost = 7.2
		prerequisite = { focus = GER_choose_an_heir_for_wels }

		x = 2
		y = 1

		relative_position_id = GER_choose_an_heir_for_wels

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			country_event = new_ger.131
			custom_effect_tooltip = GER_carlo_spd_if
			event_option_tooltip = new_ger.131.a
			custom_effect_tooltip = GER_not_carlo_spd_if
			event_option_tooltip = new_ger.131.b
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL }

	}
	focus = {
		id = GER_peace_with_our_new_identity
		icon = GFX_goal_generic_peaceful_diplomacy
		cost = 5
		prerequisite = { focus = GER_strengthen_german_patriotism }

		x = 0
		y = 1

		relative_position_id = GER_strengthen_german_patriotism

		mutually_exclusive = {
		}

		available = {
			NOT = { has_idea = GER_culutre_timer }
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = {
					has_country_flag = GER_SPD_GER
				}
				swap_ideas = {
					remove_idea = GER_strengthened_patriotism
					add_idea = GER_strengthened_patriotism_2
				}
			}
			else = {
				swap_ideas = {
					remove_idea = GER_encouraged_european_unity
					add_idea = GER_encouraged_european_unity_2
				}
			}
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 150
				}
			} 
			IF = {
				limit = { has_idea = sour_loser}
				remove_ideas = sour_loser
				custom_effect_tooltip = generic_skip_one_line_tt
				set_rule = {
					can_create_factions = yes
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY }

	}
	focus = {
		id = GER_legalize_the_remaining_communist_parties
		icon = GFX_goal_ger_kpd
		cost = 5
		prerequisite = { focus = GER_choose_an_heir_for_wels }

		x = 4
		y = 2

		relative_position_id = GER_choose_an_heir_for_wels

		mutually_exclusive = {
		}
		bypass = {
			has_country_flag = GER_comintern_kpd_funding_flag
		}
		available = {
			NOT = { has_completed_focus = GER_demokratieschutzgesetz}
			NOT = { has_country_flag = GER_kpd_banned }
			has_country_flag = GER_carlo_spd
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
		}
		ai_will_do = {
		}
		allow_branch = { 
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_country_flag = GER_kurt_spd}
				NOT = { has_country_flag = GER_vogel_spd}
				NOT = { has_country_flag = GER_spd_banned }
			}
			OR = {
				AND = {
					NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
					NOT = { has_completed_focus = GER_pass_the_beck_constiution}
					OR = {
						has_game_rule = {
							rule = GER_focus_tree_selection
							option = R56_TREE
						}
						AND = {
							has_game_rule = {
								rule = GER_focus_tree_selection
								option = STANDARD_TREE
							}
							NOT = { 
								has_dlc = "Gotterdammerung"
							}
						}
					}
					IF = {
						limit = {	
							has_game_rule = {
								rule = obsolete_focus_branches_visibility
								option = HIDE
							}
						}
						NOT = { has_completed_focus = GER_found_the_new_german_state }
						NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
					}
				}
				AND = {
					NOT = { has_completed_focus = GER_pass_the_beck_constiution}
					NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke }
					OR = {
						has_game_rule = {
							rule = GER_focus_tree_selection
							option = R56_TREE
						}
						AND = {
							has_game_rule = {
								rule = GER_focus_tree_selection
								option = STANDARD_TREE
							}
							NOT = { 
								has_dlc = "Gotterdammerung"
							}
						}
					}
					IF = {
						limit = {		
							has_game_rule = {
								rule = obsolete_focus_branches_visibility
								option = HIDE
							}
						}
						NOT = { has_completed_focus = GER_found_the_german_interim_government }
						NOT = { has_completed_focus = GER_a_martial_state}
						NOT = { has_completed_focus = GER_move_towards_autocracy }
						NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
					}
				}
			}
		}
		completion_reward = {
			custom_effect_tooltip = GER_legalize_kpd_tt
			add_stability = -0.05
			add_to_variable = { SPD_seats = -10 }
			custom_effect_tooltip = GER_SPD_-10_tt
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 100
				}
			} 
		}
		search_filters = { FOCUS_FILTER_POLITICAL }

	}
	focus = {
		id = GER_legitimize_the_left
		icon = GFX_goal_generic_council_communism
		cost = 5
		prerequisite = { focus = GER_legalize_the_remaining_communist_parties }

		x = -1
		y = 1

		relative_position_id = GER_legalize_the_remaining_communist_parties

		mutually_exclusive = {
		}

		available = {
			NOT = { has_completed_focus = GER_demokratieschutzgesetz}
				NOT = { has_country_flag = GER_kpd_banned }
			has_country_flag = GER_carlo_spd
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_to_variable = { SPD_seats = 5 }
			custom_effect_tooltip = GER_SPD_5_tt
			add_to_variable = { KPD_seats = 5 }
			custom_effect_tooltip = GER_KPD_5_tt
			add_political_power = 100
			add_stability = 0.025
			add_popularity = {
				ideology = communism
				popularity = 0.1
			}
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 150
				}
			} 
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}

	}
	focus = {
		id = GER_campaign_as_a_popular_front
		icon = GFX_focus_generic_social_democracy
		cost = 5
		prerequisite = { focus = GER_legalize_the_remaining_communist_parties }

		x = 1
		y = 1

		relative_position_id = GER_legalize_the_remaining_communist_parties

		mutually_exclusive = {
		}

		available = {
			NOT = { has_completed_focus = GER_demokratieschutzgesetz}
				NOT = { has_country_flag = GER_kpd_banned }
			has_country_flag = GER_carlo_spd
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			custom_effect_tooltip = unlock_GER_popular_frong_campaign_which_grants_tt
			effect_tooltip = {
				add_to_variable = { SPD_seats = 15 }
				custom_effect_tooltip = GER_SPD_15_tt
				add_to_variable = { KPD_seats = 15 }
				custom_effect_tooltip = GER_KPD_15_tt
				add_stability = -0.03
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 150
				}
			} 
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = GER_unite_against_fascism
		icon = GFX_goal_GER_take_advantage_of_political_turmoil
		cost = 10
		prerequisite = { focus = GER_legitimize_the_left }
		prerequisite = { focus = GER_campaign_as_a_popular_front}

		x = 1
		y = 1

		relative_position_id = GER_legitimize_the_left

		mutually_exclusive = {
		}

		available = {
			NOT = { 
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}}
			NOT = { 
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}}
			has_country_flag = GER_carlo_spd
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
		}
		ai_will_do = {
		}
		bypass = { AND = { has_country_flag = GER_coniliators_flag has_completed_focus = GER_fight_fascism_in_all_its_forms } }
		completion_reward = {
			add_ideas = GER_anti_fascist_bulwark
			custom_effect_tooltip = generic_skip_one_line_tt
			add_to_variable = { NRAF_seats = -10}
			custom_effect_tooltip = GER_NRAF_-10_tt
			IF = { 
				limit = { has_country_flag = GER_dvu_formed}
				add_to_variable = { DVU_seats = -5 }
				custom_effect_tooltip = GER_DVU_-5_tt
			}
			else = {
				add_to_variable = { DNVP_seats = -5 }
				custom_effect_tooltip = GER_DNVP_-5_tt
			}
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 200
				}
			} 
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT}
	}
	focus = {
		id = GER_work_towards_national_demilitarization
		icon = GFX_focus_NOR_broken_gun_policies
		cost = 7.2
		prerequisite = { focus = GER_choose_an_heir_for_wels }

		x = -3
		y = 1

		relative_position_id = GER_choose_an_heir_for_wels

		mutually_exclusive = {
			focus = GER_purge_the_military_of_reactionaries
		}

		available = {
			NOT = { has_country_flag = GER_kurt_spd }
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
			has_war = no
		}
		ai_will_do = {
		}
		allow_branch = { 
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_country_flag = GER_spd_banned }
				NOT = { has_country_flag = GER_kurt_spd}
			}
			OR = {
				AND = {
					NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
					NOT = { has_completed_focus = GER_pass_the_beck_constiution}
					OR = {
						has_game_rule = {
							rule = GER_focus_tree_selection
							option = R56_TREE
						}
						AND = {
							has_game_rule = {
								rule = GER_focus_tree_selection
								option = STANDARD_TREE
							}
							NOT = { 
								has_dlc = "Gotterdammerung"
							}
						}
					}
					IF = {
						limit = {	
							has_game_rule = {
								rule = obsolete_focus_branches_visibility
								option = HIDE
							}
						}
						NOT = { has_completed_focus = GER_found_the_new_german_state }
						NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
					}
				}
				AND = {
					NOT = { has_completed_focus = GER_pass_the_beck_constiution}
					NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke }
					OR = {
						has_game_rule = {
							rule = GER_focus_tree_selection
							option = R56_TREE
						}
						AND = {
							has_game_rule = {
								rule = GER_focus_tree_selection
								option = STANDARD_TREE
							}
							NOT = { 
								has_dlc = "Gotterdammerung"
							}
						}
					}
					IF = {
						limit = {		
							has_game_rule = {
								rule = obsolete_focus_branches_visibility
								option = HIDE
							}
						}
						NOT = { has_completed_focus = GER_found_the_german_interim_government }
						NOT = { has_completed_focus = GER_a_martial_state}
						NOT = { has_completed_focus = GER_move_towards_autocracy }
						NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
					}
				}
			}
		}
		completion_reward = {
			add_to_variable = { GER_mil_inf = -1 }
			custom_effect_tooltip = GER_mil_inf-1_tt
			add_to_variable = { GER_mil_opinion = -2}
			custom_effect_tooltip = GER_mil_opinion_-2_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = GER_national_demilitarization
			custom_effect_tooltip = GER_cancel_in_major_war_tt
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 200
				}
			}
			IF = {
				limit = {
					NOT = { has_completed_focus = GER_renegotiate_versailles_new }
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = GER_carl_von_ossietzky
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_purge_the_military_of_reactionaries
		icon = GFX_goal_focus_communist_army
		cost = 5
		prerequisite = { focus = GER_choose_an_heir_for_wels }

		x = -1
		y = 1

		relative_position_id = GER_choose_an_heir_for_wels

		mutually_exclusive = {
			focus = GER_work_towards_national_demilitarization
		}
		bypass = {
			has_completed_focus = GER_ban_internal_operations
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_to_variable = { GER_mil_inf = -2 }
			custom_effect_tooltip = GER_mil_inf-2_tt
			add_to_variable = { GER_mil_opinion = -0.5}
			custom_effect_tooltip = GER_mil_opinion_-0.5_tt
			army_experience = -100
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 150
				}
			} 
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = GER_revive_the_attitude_of_1914
		icon = GFX_focus_GER_glory_to_the_imperial_army
		cost = 5
		prerequisite = { focus = GER_purge_the_military_of_reactionaries }
		prerequisite = { focus = GER_strengthen_german_patriotism}

		x = 1
		y = 1

		relative_position_id = GER_purge_the_military_of_reactionaries

		mutually_exclusive = {
		}

		available = {
			has_country_flag = GER_SPD_GER
			has_war_with_major = yes
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_timed_idea = {
				idea = GER_attitude_of_1914
				days = 150
			}
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 150
				}
			} 
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT }
	}
	focus = {
		id = GER_claim_leadership_of_german_nationalism
		icon = GFX_focus_GER_german_hegemony_in_the_middle_east_neutrality
		cost = 10
		prerequisite = { focus = GER_revive_the_attitude_of_1914 }
		prerequisite = { focus = GER_peace_with_our_new_identity }

		x = 1
		y = 1

		relative_position_id = GER_revive_the_attitude_of_1914

		mutually_exclusive = {
		}

		available = {
			NOT = { has_idea = GER_attitude_of_1914 }
			has_country_leader = {
				character = GER_kurt_schumacher
				ruling_only = yes
			}
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_strengthened_patriotism_2
				add_idea = GER_leaders_of_german_patriotism
			}
			add_country_leader_trait = GER_figure_of_german_nationalism
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 280
				}
			} 
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_strengthen_the_spd_beurocracy
		icon = GFX_goal_ger_spd
		cost = 10
		prerequisite = { focus = GER_choose_an_heir_for_wels }

		x = 7
		y = 1

		relative_position_id = GER_choose_an_heir_for_wels

		mutually_exclusive = {
		}

		available = {
			has_country_flag = GER_vogel_spd
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
		}
		ai_will_do = {
		}
		offset = {
			x = -2
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				NOT = { has_country_flag = GER_spd_banned }
				has_country_flag = GER_vogel_spd
			}
		}
		allow_branch = { 
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_country_flag = GER_kurt_spd}
				NOT = { has_country_flag = GER_carlo_spd}
				NOT = { has_country_flag = GER_spd_banned }
			}
			OR = {
				AND = {
					NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
					NOT = { has_completed_focus = GER_pass_the_beck_constiution}
					OR = {
						has_game_rule = {
							rule = GER_focus_tree_selection
							option = R56_TREE
						}
						AND = {
							has_game_rule = {
								rule = GER_focus_tree_selection
								option = STANDARD_TREE
							}
							NOT = { 
								has_dlc = "Gotterdammerung"
							}
						}
					}
					IF = {
						limit = {	
							has_game_rule = {
								rule = obsolete_focus_branches_visibility
								option = HIDE
							}
						}
						NOT = { has_completed_focus = GER_found_the_new_german_state }
						NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
					}
				}
				AND = {
					NOT = { has_completed_focus = GER_pass_the_beck_constiution}
					NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke }
					OR = {
						has_game_rule = {
							rule = GER_focus_tree_selection
							option = R56_TREE
						}
						AND = {
							has_game_rule = {
								rule = GER_focus_tree_selection
								option = STANDARD_TREE
							}
							NOT = { 
								has_dlc = "Gotterdammerung"
							}
						}
					}
					IF = {
						limit = {		
							has_game_rule = {
								rule = obsolete_focus_branches_visibility
								option = HIDE
							}
						}
						NOT = { has_completed_focus = GER_found_the_german_interim_government }
						NOT = { has_completed_focus = GER_a_martial_state}
						NOT = { has_completed_focus = GER_move_towards_autocracy }
						NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
					}
				}
			}
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_labor_beurocracy_divide
				add_idea = GER_labor_beurocracy_divide_2
			}
			add_ideas = GER_spd_beaurocracy
			add_political_power = 50
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 280
				}
			} 
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = GER_reach_out_to_the_remaining_parliamentarians
			effect_tooltip = {
				add_to_variable = { SPD_seats_f = 25 }
				custom_effect_tooltip = GER_SPD_25_f_tt
				add_to_variable = { DSTP_seats_f = -5 }
				custom_effect_tooltip = GER_DSTP_-5_f_tt
				IF = {
					limit = { NOT = { has_country_flag = GER_dvu_formed}}
					add_to_variable = { Zentrum_seats_f = -20}
					custom_effect_tooltip = GER_zentrum_-20_f_tt
				}
				else = {
					add_to_variable = { DVU_seats_f = -20}
					custom_effect_tooltip = GER_DVU_-20_f_tt
				}
				create_pie_chart = yes
				add_to_variable = { pie_chart_dirty = 1 }
				IF = {
					limit = { has_country_flag = GER_wirth_leadership}
					set_country_flag = GER_adenauer_leadership
					clr_country_flag = GER_wirth_leadership
					unlock_national_focus = GER_the_socialist_traitor
					complete_national_focus = GER_adenauers_chance

				}
				add_political_power = 75
			}
			custom_effect_tooltip = GER_strengthen_the_spd_beurocracy_tt
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_INDUSTRY}

	}
	focus = {
		id = GER_unite_the_party
		icon = GFX_focus_por_workers_of_iberia
		cost = 5
		prerequisite = { focus = GER_strengthen_the_spd_beurocracy }

		x = -1
		y = 1

		relative_position_id = GER_strengthen_the_spd_beurocracy

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			remove_ideas = GER_labor_beurocracy_divide_2
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 150
				}
			} 
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

	}
	focus = {
		id = GER_reform_the_institutions
		icon = GFX_focus_AUS_lawmaking_leniency
		cost = 10
		prerequisite = { focus = GER_strengthen_the_spd_beurocracy }

		x = 1
		y = 1

		relative_position_id = GER_strengthen_the_spd_beurocracy

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_spd_beaurocracy
				add_idea = GER_spd_beaurocracy_2
			}
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 280
				}
			} 
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY FOCUS_FILTER_WAR_SUPPORT}
	}
	focus = {
		id = GER_rehabilitate_the_red_tsar
		icon = GFX_goal_GER_a_second_red_tsar
		cost = 10
		prerequisite = { focus = GER_reform_the_institutions }
		prerequisite = { focus = GER_unite_the_party }

		x = -1
		y = 1

		relative_position_id = GER_reform_the_institutions

		mutually_exclusive = {
		}

		available = {
			has_idea = GER_democracy_entrenched_in_prussia
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			activate_advisor = GER_carl_severing
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 280
				}
			} 
		}
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER }
	}
	focus = {
		id = GER_cater_to_the_masses
		icon = GFX_goal_ger_left_spd
		cost = 10
		prerequisite = { focus = GER_choose_an_heir_for_wels }

		x = -6
		y = 1

		relative_position_id = GER_choose_an_heir_for_wels

		mutually_exclusive = {
		}

		available = {
			NOT = { has_completed_focus = GER_demokratieschutzgesetz}
				NOT = { has_country_flag = GER_kpd_banned }
			NOT = { has_country_flag = GER_vogel_spd }
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
		}
		ai_will_do = {
		}
		offset = {
			x = 3
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				NOT = { has_country_flag = GER_spd_banned }
				has_country_flag = GER_kurt_spd
			}
		}
		allow_branch = { 
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_country_flag = GER_vogel_spd}
				NOT = { has_country_flag = GER_spd_banned }
			}
			OR = {
				AND = {
					NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
					NOT = { has_completed_focus = GER_pass_the_beck_constiution}
					OR = {
						has_game_rule = {
							rule = GER_focus_tree_selection
							option = R56_TREE
						}
						AND = {
							has_game_rule = {
								rule = GER_focus_tree_selection
								option = STANDARD_TREE
							}
							NOT = { 
								has_dlc = "Gotterdammerung"
							}
						}
					}
					IF = {
						limit = {	
							has_game_rule = {
								rule = obsolete_focus_branches_visibility
								option = HIDE
							}
						}
						NOT = { has_completed_focus = GER_found_the_new_german_state }
						NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
					}
				}
				AND = {
					NOT = { has_completed_focus = GER_pass_the_beck_constiution}
					NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke }
					OR = {
						has_game_rule = {
							rule = GER_focus_tree_selection
							option = R56_TREE
						}
						AND = {
							has_game_rule = {
								rule = GER_focus_tree_selection
								option = STANDARD_TREE
							}
							NOT = { 
								has_dlc = "Gotterdammerung"
							}
						}
					}
					IF = {
						limit = {		
							has_game_rule = {
								rule = obsolete_focus_branches_visibility
								option = HIDE
							}
						}
						NOT = { has_completed_focus = GER_found_the_german_interim_government }
						NOT = { has_completed_focus = GER_a_martial_state}
						NOT = { has_completed_focus = GER_move_towards_autocracy }
						NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
					}
				}
			}
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_labor_beurocracy_divide
				add_idea = GER_labor_beurocracy_divide_2
			}
			add_ideas = GER_cater_to_the_masses_1
			add_political_power = 50
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 280
				}
			} 
		}
		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = GER_build_a_mass_movement
		icon = GFX_goal_communist_revolt
		cost = 10
		prerequisite = { focus = GER_cater_to_the_masses }

		x = 0
		y = 1

		relative_position_id = GER_cater_to_the_masses

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_labor_beurocracy_divide_2
				add_idea = GER_labor_beurocracy_divide_3
			}
			swap_ideas = {
				remove_idea = GER_cater_to_the_masses_1
				add_idea = GER_cater_to_the_masses_2
			}
			add_to_variable = { SPD_seats = 15 }
			custom_effect_tooltip = GER_SPD_15_tt
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 280
				}
			} 
		}
		search_filters = {
			FOCUS_FILTER_INDUSTRY
			FOCUS_FILTER_POLITICAL
			FOCUS_FILTER_MANPOWER
			FOCUS_FILTER_STABILITY
		}

	}
	focus = {
		id = GER_no_compromise_on_socialist_ideals
		icon = GFX_goal_generic_karl_marx
		cost = 10
		prerequisite = { focus = GER_build_a_mass_movement }

		x = 0
		y = 1

		relative_position_id = GER_build_a_mass_movement

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
			OR = {
				has_country_leader = {
					character = GER_carlo_mierendorff
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_kurt_schumacher
					ruling_only = yes
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			remove_ideas = GER_labor_beurocracy_divide_3
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = GER_cater_to_the_masses_2
				add_idea = GER_cater_to_the_masses_3
			}
			custom_effect_tooltip = GER_commie_spd_tt
			IF = {
				limit = {
					check_variable = {
						var = GER_chosen_gov_leader
						value = 5
						compare = equals
					}
				}
				add_to_variable = { GER_mil_opinion = -1 }
				custom_effect_tooltip = GER_mil_opinion_-1_tt
				IF = {
					limit = { 
						NOT = { has_government = communism}
					}
					set_politics = {
						ruling_party = communism
						elections_allowed = yes
					}
				}
				set_party_name = {
					ideology = communism
					long_name = GER_spd_long
					name = SPD_short_name
				}
				IF = {
					limit = { has_country_flag = GER_carlo_spd}
					promote_character = {
						character = GER_carlo_mierendorff
						ideology = democratic_socialism
					}
				}
				else_if = {
					limit = { has_country_flag = GER_kurt_spd}
					promote_character = {
						character = GER_kurt_schumacher
						ideology = democratic_socialism
					}
				}
				else_if = {
					limit = { has_country_flag = GER_vogel_spd }

					promote_character = {
						character = GER_hans_vogel
						ideology = democratic_socialism
					}
				
				}
				else = {
					promote_character = {
						character = GER_otto_wels
						ideology = democratic_socialism
					}

				}
			}
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 280
				}
			} 
		}
		search_filters = { 
			FOCUS_FILTER_INDUSTRY 
			FOCUS_FILTER_STABILITY
			FOCUS_FILTER_POLITICAL
		}
	}
	focus = {
		id = GER_towards_mierendorffs_vision
		icon = GFX_goal_generic_red_freedom
		cost = 10
		prerequisite = { focus = GER_no_compromise_on_socialist_ideals }
		prerequisite = { focus = GER_work_towards_a_demilitarized_europe}

		x = 2
		y = 1

		relative_position_id = GER_no_compromise_on_socialist_ideals

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
			has_country_leader = {
				character = GER_carlo_mierendorff
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_country_leader_trait = GER_socialist_visionary
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 280
				}
			} 
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY}

	}
	focus = {
		id = GER_divert_military_funding
		icon = GFX_focus_AUS_raid_military_storages
		cost = 7.2
		prerequisite = { focus = GER_work_towards_national_demilitarization }

		x = -1
		y = 1

		relative_position_id = GER_work_towards_national_demilitarization

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
			has_idea = GER_national_demilitarization
			has_war = no
		}
		ai_will_do = {
		}
		completion_reward = {
			add_to_variable = { GER_mil_inf = -1 }
			custom_effect_tooltip = GER_mil_inf-1_tt
			add_to_variable = { GER_mil_opinion = -1}
			custom_effect_tooltip = GER_mil_opinion_-1_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = GER_national_demilitarization
				add_idea = GER_sacked_military_funds
			}
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 280
				}
			} 
		}
		search_filters = { 
			FOCUS_FILTER_POLITICAL
			FOCUS_FILTER_INDUSTRY
		}

	}
	focus = {
		id = GER_end_conscription
		icon = GFX_goal_MAN_confront_gorillas
		cost = 7.2
		prerequisite = { focus = GER_work_towards_national_demilitarization }

		x = 1
		y = 1

		relative_position_id = GER_work_towards_national_demilitarization

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
			OR = {
				has_idea = GER_national_demilitarization
				has_idea = GER_sacked_military_funds
			}
			has_war = no
		}
		ai_will_do = {
		}
		completion_reward = {
			add_to_variable = { GER_mil_inf = -1 }
			custom_effect_tooltip = GER_mil_inf-1_tt
			add_to_variable = { GER_mil_opinion = -1}
			custom_effect_tooltip = GER_mil_opinion_-1_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = GER_no_conscription
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = volunteer_only
			custom_effect_tooltip = generic_skip_one_line_tt
			add_to_variable = { SPD_seats = 10 }
			custom_effect_tooltip = GER_SPD_10_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_end_conscription_tt
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 280
				}
			} 
		}
		search_filters = { 
			FOCUS_FILTER_STABILITY
			FOCUS_FILTER_RESEARCH
			FOCUS_FILTER_MANPOWER
		}
	}
	focus = {
		id = GER_work_towards_a_demilitarized_europe
		icon = GFX_focus_generic_the_council_of_europe
		cost = 10
		prerequisite = { focus = GER_divert_military_funding }
		prerequisite = { focus = GER_end_conscription}

		x = 1
		y = 1

		relative_position_id = GER_divert_military_funding

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
			has_idea = GER_sacked_military_funds
			has_war = no
		}
		ai_will_do = {
		}
		completion_reward = {
			every_country = {
				limit = {
					NOT = { has_war_with = ROOT }
					capital_scope = { is_on_continent = europe }
					NOT = { tag = ROOT }
				}
				country_event = new_ger.16
			}
			IF = {
				limit = { has_active_mission = GER_spd_demands_action}
				add_days_mission_timeout = {
					mission = GER_spd_demands_action
					days = 280
				}
			} 
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
	}
	focus = {
		id = GER_reapproachment_with_moscow
		icon = GFX_focus_GER_SOV_treaty
		cost = 5
		prerequisite = { focus = GER_kpd_in_coalition}

		x = 0
		y = 1

		offset = { 
			trigger = { 
				has_completed_focus = GER_shake_off_the_fascist_yoke
			}
			x = 13
		}
		relative_position_id = GER_kpd_in_coalition

		mutually_exclusive = {
		}

		allow_branch = {
			NOT = { has_country_flag = GER_crazy_commie_germany }
			NOT = { has_completed_focus = GER_pass_the_beck_constiution}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {
	
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_found_the_new_german_state}
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
				NOT = { has_completed_focus = GER_demokratieschutzgesetz }
				NOT = { has_country_flag = GER_kpd_banned }
			}
		}
		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
			NOT = {
				has_war_with = SOV
				SOV = {
					has_government = neutrality
					has_government = fascism
				}
			}
		}

		bypass = {
			OR = {
				is_in_faction_with = SOV
				has_non_aggression_pact_with = SOV
				AND = {
					is_guaranteed_by = SOV
					has_guaranteed = SOV
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			SOV = {
				country_event = {
					id = wuw_GER_diplomacy.90
					hours = 12
				}
			}

			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				add_opinion_modifier = {
					target = SOV
					modifier = medium_increase 
				}
			}
			SOV = {
				event_option_tooltip = wuw_GER_diplomacy.90.a
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }

	}
	focus = {
		id = GER_deal_with_the_officier_corps
		icon = GFX_goal_control_army
		cost = 10
		prerequisite = { focus = GER_kpd_in_coalition focus = GER_nraf_in_coalition}

		x = 10
		y = 1

		relative_position_id = GER_kpd_in_coalition

		mutually_exclusive = {
		}
		offset = {
			trigger = { has_country_flag = GER_crazy_commie_germany }
			x = -6
		}
		offset = {
			x = -12
			trigger = {
				OR = {
					has_completed_focus = GER_demokratieschutzgesetz
					has_country_flag = GER_kpd_banned
				}
			}
		}
		offset = {
			x = -16
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_country_flag = GER_spd_banned
			}
		}
		offset = { 
			trigger = { 
				has_completed_focus = GER_shake_off_the_fascist_yoke
			}
			x = 13
		}
		available = {
			OR = {
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
				
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
			}
			NOT = { 
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}}
			has_completed_focus = GER_wehrhafte_demokratie

			custom_trigger_tooltip = {
				tooltip = GER_mil_inf_less_than_3_tt	
				check_variable = {
					var = GER_mil_inf
					value = 3
					compare = less_than_or_equals
				}
			}
		}
		ai_will_do = {
		}
		bypass = {
			has_completed_focus = GER_shake_off_the_fascist_yoke
		}
		completion_reward = {
			IF = {
				limit = {
					has_active_mission = GER_impending_military_coup
				}
				custom_effect_tooltip = GER_no_impending_military_coup_tt
			}
			IF = {
				limit = {
					GER_ludwig_beck = { is_hired_as_advisor = yes}
				}
				set_can_be_fired_in_advisor_role = {
					character = GER_ludwig_beck
					value = yes
				}
				
				remove_trait = {
					character = GER_ludwig_beck
					slot = army_chief
					trait = GER_authoritarian_conservative
				}
			}
			IF = { 
				limit= { 
					NOT = { 
						has_completed_focus = GER_military_depoliticization
					} 
				}
				unlock_national_focus = GER_military_depoliticization
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_to_variable = { GER_mil_opinion = -2.5 }
			custom_effect_tooltip = GER_mil_opinion-2.5_tt
			add_to_variable = { GER_mil_inf = -2 }
			custom_effect_tooltip = GER_mil_inf-2_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			add_political_power = 50
			add_war_support = -0.1
			custom_effect_tooltip = generic_skip_one_line_tt
			add_timed_idea = {
				idea = GER_gutted_officier_corps
				days = 200
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			r56_ger_nraf_70 = yes
			r56_ger_kpd_70 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_uplift_the_antifa
		icon = GFX_goal_extensive_conscription_communism
		cost = 7.2
		prerequisite = { focus = GER_deal_with_the_officier_corps}

		x = 1
		y = 1

		relative_position_id = GER_deal_with_the_officier_corps

		mutually_exclusive = {
			focus = GER_uplift_the_black_front
			focus = GER_uplift_the_sa
		}

		available = {
			NOT = { has_completed_focus = GER_officialize_the_volksarmee }
			NOT = { has_country_flag = GER_kpd_banned }
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			set_can_be_fired_in_advisor_role = {
				character = GER_viktor_lutze
				value = yes
			}
			division_template = {
				name = "Antifaschistische Aktion"
				is_locked = yes
				priority = 0
				regiments = {
					militia = { x = 0 y = 0 }
					militia = { x = 0 y = 1 }
					militia = { x = 0 y = 2 }
					militia = { x = 0 y = 3 }
					militia = { x = 1 y = 0 }
					militia = { x = 1 y = 1 }
					militia = { x = 1 y = 2 }
					militia = { x = 1 y = 3 }
					militia = { x = 2 y = 0 }
					militia = { x = 2 y = 1 }
					militia = { x = 2 y = 2 }
					militia = { x = 2 y = 3 }
					militia = { x = 3 y = 0 }
					militia = { x = 3 y = 1 }
					militia = { x = 3 y = 2 }
					militia = { x = 3 y = 3 }
				}
			}
			unlock_decision_tooltip = GER_recruit_antifa
			unlock_decision_tooltip = GER_battle_the_sa
			r56_ger_kpd_70 = yes
		}

	}
	focus = {
		id = GER_uplift_the_black_front
		icon = GFX_goal_generic_into_fire
		cost = 7.2
		prerequisite = { focus = GER_nraf_in_coalition focus = GER_deal_with_the_officier_corps}

		x = -1
		y = 1

		relative_position_id = GER_deal_with_the_officier_corps

		mutually_exclusive = {
			focus = GER_uplift_the_antifa
			focus = GER_uplift_the_sa
		}

		available = {
			OR = {
				has_completed_focus = GER_deal_with_the_officier_corps
				has_completed_focus = GER_dnvp_in_coalition
				has_completed_focus = GER_dvu_in_coalition
			}
			has_completed_focus = GER_expand_black_front_influence
			NOT = { has_completed_focus = GER_demokratieschutzgesetz}
			NOT = {
				custom_trigger_tooltip = {
					has_completed_focus = GER_kpd_in_coalition
					tooltip = GER_kpd_gov_tt
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			set_can_be_fired_in_advisor_role = {
				character = GER_viktor_lutze
				value = yes
			}
			division_template = {
				name = "Schwarze Front"
				is_locked = yes
				priority = 0
				regiments = {
					militia = { x = 0 y = 0 }
					militia = { x = 0 y = 1 }
					militia = { x = 0 y = 2 }
					militia = { x = 0 y = 3 }
					militia = { x = 1 y = 0 }
					militia = { x = 1 y = 1 }
					militia = { x = 1 y = 2 }
					militia = { x = 1 y = 3 }
				}
			}
			unlock_decision_tooltip = GER_recruit_black_front
			unlock_decision_tooltip = GER_battle_the_antifa
			unlock_decision_tooltip = GER_battle_the_sa
			r56_ger_nraf_70 = yes
		}

	}
	focus = {
		id = GER_uplift_the_sa
		icon = GFX_goal_extensive_conscription_fascism
		cost = 7.2
		prerequisite = { focus = GER_nraf_in_coalition focus = GER_deal_with_the_officier_corps}

		x = -3
		y = 1

		relative_position_id = GER_deal_with_the_officier_corps

		mutually_exclusive = {
			focus = GER_uplift_the_antifa
			focus = GER_uplift_the_black_front
		}

		available = {
			OR = {
				has_completed_focus = GER_deal_with_the_officier_corps
				has_completed_focus = GER_dnvp_in_coalition
				has_completed_focus = GER_dvu_in_coalition
			}
			has_country_flag = GER_NRAF_lutze
			NOT = { has_completed_focus = GER_demokratieschutzgesetz}
			
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			unlock_decision_tooltip = GER_recruit_sa
			unlock_decision_tooltip = GER_battle_the_antifa
			r56_ger_nraf_70 = yes
		}

	}
	focus = {
		id = GER_phase_out_the_standing_army
		icon = GFX_focus_GER_subdue_the_wehrmacht
		cost = 10
		prerequisite = { focus = GER_uplift_the_sa focus = GER_uplift_the_antifa focus = GER_uplift_the_black_front}

		x = 2
		y = 1

		relative_position_id = GER_uplift_the_sa

		mutually_exclusive = {
		}

		available = {
			NOT = { has_completed_focus = GER_dnvp_in_coalition has_completed_focus = GER_dvu_in_coalition}
			has_elections = no
			OR = {
				has_government = fascism
				has_government = communism
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			country_lock_all_division_template = yes
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = GER_phased_out_standing_army 
			custom_effect_tooltip = generic_skip_one_line_tt
			every_country_division = {
				limit = { 
					NOT = {
						division_has_majority_template = militia
					}
				}
				destroy_unit = yes
			}
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER}
	}
	focus = {
		id = GER_revolution_by_every_worker
		icon = GFX_focus_GER_the_peoples_victory
		cost = 7.2
		prerequisite = { focus = GER_phase_out_the_standing_army }

		x = 0
		y = 1

		relative_position_id = GER_phase_out_the_standing_army
		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_phased_out_standing_army
				add_idea = GER_revolution_over_military
			}
			custom_effect_tooltip = GER_revolution_by_every_worker_tt
		}
		search_filters = { FOCUS_FILTER_MANPOWER}

	}
	focus = {
		id = GER_undermine_german_democracy
		icon = GFX_focus_generic_strike_at_democracy2
		cost = 7.2
		prerequisite = { focus = GER_kpd_in_coalition}

		x = 3
		y = 1

		relative_position_id = GER_kpd_in_coalition

		allow_branch = {
			NOT = { has_country_flag = GER_crazy_commie_germany }
			NOT = { has_completed_focus = GER_pass_the_beck_constiution}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {
	
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_found_the_new_german_state}
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
				NOT = { has_completed_focus = GER_demokratieschutzgesetz }
				NOT = { has_country_flag = GER_kpd_banned }
			}
		}
		mutually_exclusive = {
		}
		bypass = {
			has_completed_focus = GER_the_revolution_secured
		}
		offset = { 
			trigger = { 
				has_completed_focus = GER_shake_off_the_fascist_yoke
			}
			x = 13
		}
		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_stability = -0.05
			add_popularity = {
				ideology = democratic
				popularity = -0.1
			}
			IF = {
				limit = { has_country_flag = GER_dvu_formed }
				add_to_variable = { DVU_seats = -10 }
				custom_effect_tooltip = GER_DVU_-10_tt
			}
			else = {
				add_to_variable = { Zentrum_seats = -10 }
				custom_effect_tooltip = GER_zentrum_-10_tt
			}
			add_to_variable = { SPD_seats = -10 }
			custom_effect_tooltip = GER_SPD_-10_tt
			add_to_variable = { DSTP_seats = -5 }
			custom_effect_tooltip = GER_DSTP_-5_tt
			r56_ger_kpd_20 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_radicalize_the_workers
		icon = GFX_goal_generic_uprising
		cost = 5
		prerequisite = { focus = GER_kpd_in_coalition}

		x = 5
		y = 1

		relative_position_id = GER_kpd_in_coalition

		offset = { 
			trigger = { 
				has_completed_focus = GER_shake_off_the_fascist_yoke
			}
			x = 13
		}
		mutually_exclusive = {
		}

		bypass = {
			has_completed_focus = GER_the_revolution_secured
		}
		allow_branch = {
			NOT = { has_country_flag = GER_crazy_commie_germany }
			NOT = { has_completed_focus = GER_pass_the_beck_constiution}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {
	
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_found_the_new_german_state}
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
				NOT = { has_completed_focus = GER_demokratieschutzgesetz }
				NOT = { has_country_flag = GER_kpd_banned }
			}
		}
		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_political_power = 50
			add_stability = -0.15
			add_to_variable = { KPD_seats = 15 }
			custom_effect_tooltip = GER_KPD_15_tt
			add_popularity = {
				ideology = communism
				popularity = 0.1
			}
			r56_ger_kpd_20 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_collapse_our_institutions
		icon = GFX_goal_generic_backstab
		cost = 10
		prerequisite = { focus = GER_radicalize_the_workers}
		prerequisite = { focus = GER_undermine_german_democracy}
		x = 0
		y = 1

		relative_position_id = GER_radicalize_the_workers

		mutually_exclusive = {
			focus = GER_learn_from_the_enabling_act
		}

		available = {
			has_government = communism
			OR = {
				has_country_leader = {
					character = GER_ernst_thalmann
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_walter_ulbricht
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_wilhelm_pieck
					ruling_only = yes
				}
			}
		}
		ai_will_do = {
		}
		bypass = {
			has_completed_focus = GER_the_revolution_secured
		}
		completion_reward = {
			set_politics = {
				ruling_party = ROOT
				elections_allowed = no
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			uncomplete_national_focus = {
				focus = GER_spd_in_coalition
				uncomplete_children = no
				refund_political_power = no
			}
			uncomplete_national_focus = {
				focus = GER_nraf_in_coalition
				uncomplete_children = no
				refund_political_power = no
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			start_civil_war = {
				ideology = neutrality
				size = 0.4
				keep_all_characters = yes
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = { has_idea = GER_president_beck}
				remove_ideas = GER_president_beck
			}
			IF = {
				limit = { has_idea = GER_president_beck_2}
				remove_ideas = GER_president_beck_2
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_learn_from_the_enabling_act
		icon = GFX_goal_generic_election_rigged
		cost = 8
		prerequisite = { focus = GER_radicalize_the_workers focus = GER_undermine_german_democracy}

		x = -2
		y = 1

		relative_position_id = GER_radicalize_the_workers

		mutually_exclusive = {
			focus = GER_collapse_our_institutions
		}

		available = {
			OR = {
				has_country_leader = {
					character = GER_ernst_thalmann
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_walter_ulbricht
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_wilhelm_pieck
					ruling_only = yes
				}
			}
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke }
		}
		ai_will_do = {
		}
		completion_reward = {
			set_variable = { GER_kpd_support = KPD_seats_f }
			custom_effect_tooltip = GER_learn_from_the_enabling_act_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_dictatorship_election_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			r56_ger_kpd_50 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_towards_a_party_state
		icon = GFX_focus_GER_integrate_volkskommissariats
		cost = 7.2
		prerequisite = { focus = GER_learn_from_the_enabling_act focus = GER_collapse_our_institutions}

		x = 1
		y = 1

		relative_position_id = GER_learn_from_the_enabling_act

		mutually_exclusive = {
		}

		available = {
			NOT = { has_country_flag = GER_crazy_commie_germany}
			OR = {
				has_completed_focus = GER_collapse_our_institutions
				has_country_flag = GER_commies_enabled
			}
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
			NOT = { 
				has_completed_focus = GER_our_own_lennin
			}
			IF = {
				limit = { has_completed_focus = GER_shake_off_the_fascist_yoke}
				NOT = { 
					has_country_leader = {
						character = GER_ernst_thalmann
						ruling_only = yes
					}
				}
			}
			else = {
				OR = {
					NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke }
					NOT = {
						has_country_leader = {
							character = GER_ernst_thalmann
							ruling_only = yes
						}
					}
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_party_state
			IF = {
				limit = { has_idea = GER_president_beck}
				remove_ideas = GER_president_beck
			}
			else_if = {
				limit = { has_idea = GER_president_beck_2}
				remove_ideas = GER_president_beck_2
			}
			IF = {
				limit = {
					has_idea = GER_wilhelm_iv
				}
				remove_ideas = GER_wilhelm_iv
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_2}
				remove_ideas = GER_wilhelm_iv_2
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

	}
	focus = {
		id = GER_form_the_sed
		icon = GFX_goal_GER_SED
		cost = 10
		prerequisite = { focus = GER_towards_a_party_state}

		x = 1
		y = 1

		relative_position_id = GER_towards_a_party_state

		mutually_exclusive = {
		}

		available = {
			NOT = { has_idea = GER_reactionary_protests}
		}
		ai_will_do = {
		}
		completion_reward = {
			set_party_name = { 
				ideology = communism
				long_name = GER_sed_long
				name = GER_sed_short
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = {
					
			custom_trigger_tooltip = {
				has_completed_focus = GER_spd_in_coalition
				tooltip = GER_spd_gov_tt
			}
				}
				country_event = new_ger.122
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			add_to_variable = { KPD_seats = SPD_seats}
			add_to_variable = { KPD_seats = -10 }
			add_to_variable = { KPD_seats_f = SPD_seats_f}
			set_variable = { SPD_seats = 0}
			set_variable = { SPD_seats_f = 0}
			custom_effect_tooltip = GER_form_sed_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			add_political_power = 25
			add_stability = 0.05
			GER_set_parliament = yes
			create_pie_chart = yes
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = GER_party_state
				add_idea = GER_party_state_2
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_ban_the_reactionaries
		icon = GFX_goal_generic_hit_the_superstructure
		cost = 8
		prerequisite = { focus = GER_towards_a_party_state}

		x = -1
		y = 1

		relative_position_id = GER_towards_a_party_state

		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = { 
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			} }
				uncomplete_national_focus = {
					focus = GER_nraf_in_coalition
					uncomplete_children = yes
					refund_political_power = no
				}

			}
			IF = {
				limit = { has_completed_focus = GER_form_the_sed }
				add_timed_idea = {
					idea = GER_reactionary_protests
					days = 250
				}
			}
			else = {
				add_timed_idea = {
					idea = GER_reactionary_protests
					days = 180
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_ban_nraf_tt
			set_variable = { NRAF_seats = 0 }
			set_variable = { NRAF_seats_f = 0 }
			IF = {
				limit = { NOT = {has_country_flag = GER_dvu_formed}}
				custom_effect_tooltip = GER_ban_dnvp_tt
				set_variable = { DNVP_seats = 0 }
				set_variable = { DNVP_seats_f = 0 }
				custom_effect_tooltip = GER_ban_zentrum_tt
				set_variable = { Zentrum_seats = 0 }
				set_variable = { Zentrum_seats_f = 0 }
			}
			else = {
				custom_effect_tooltip = GER_ban_dvu_tt
				set_variable = { DVU_seats = 0 }
				set_variable = { DVU_seats_f = 0 }

			}
			custom_effect_tooltip = GER_ban_dstp_tt
			set_variable = { DSTP_seats = 0 }
			set_variable = { DSTP_seats_f = 0 }
			GER_set_parliament = yes
			create_pie_chart = yes
			custom_effect_tooltip = generic_skip_one_line_tt
			add_stability = -0.15
			add_political_power = -100
		}
		search_filters = { FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_the_will_of_the_people_unopposed
		icon = GFX_focus_GER_establish_volkskommissariats
		cost = 10
		prerequisite = { focus = GER_form_the_sed}
		prerequisite = { focus = GER_ban_the_reactionaries}

		x = -1
		y = 1

		relative_position_id = GER_form_the_sed

		mutually_exclusive = {
		}

		available = {
			NOT = { has_idea = GER_reactionary_protests}
		}
		ai_will_do = {
		}
		completion_reward = {
			set_cosmetic_tag = GER_kpd_gdr
			swap_ideas = {
				remove_idea = GER_party_state_2
				add_idea = GER_party_state_3
			}
			add_country_leader_trait = stalin_heart_of_steel
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

	}
	focus = {
		id = GER_revolution_in_german_culture
		icon = GFX_goal_generic_communist_pride
		cost = 5
		prerequisite = { focus = GER_kpd_in_coalition}

		x = -4
		y = 1

		offset = { 
			trigger = { 
				has_completed_focus = GER_shake_off_the_fascist_yoke
			}
			x = 13
		}
		relative_position_id = GER_kpd_in_coalition

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_revolutionary_culture
			add_to_variable = { KPD_seats = 5 }
			custom_effect_tooltip = GER_KPD_5_tt
			r56_ger_kpd_35 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH }

	}
	focus = {
		id = GER_deal_with_the_conciliators
		icon = GFX_focus_generic_social_democracy
		cost = 8
		prerequisite = { focus = GER_revolution_in_german_culture}

		x = 0
		y = 1

		relative_position_id = GER_revolution_in_german_culture

		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			country_event = new_ger.125

			custom_effect_tooltip = report_reward
			event_option_tooltip = new_ger.125.a
			custom_effect_tooltip = alternative_diplomatic_reward
			event_option_tooltip = new_ger.125.b
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_fight_fascism_in_all_its_forms
		icon = GFX_goal_cuba_diminish_american_influence
		cost = 7.2
		prerequisite = { focus = GER_deal_with_the_conciliators}

		x = 0
		y = 1

		relative_position_id = GER_deal_with_the_conciliators

		mutually_exclusive = {
		}

		available = {
			IF = {
				limit = {
					NOT = { has_country_flag = GER_coniliators_flag }
				}
				NOT = { 
					custom_trigger_tooltip = {
						has_completed_focus = GER_spd_in_coalition
						tooltip = GER_spd_gov_tt
					} 
				}
			}
			else = {
				custom_trigger_tooltip = {
					has_completed_focus = GER_spd_in_coalition
					tooltip = GER_spd_gov_tt
				} 
			}
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = {
					NOT = { has_country_flag = GER_coniliators_flag }
				}
				custom_effect_tooltip = GER_no_conciliators_tt
				swap_ideas = {
					remove_idea = GER_revolutionary_culture_4
					add_idea = GER_revolutionary_culture_5
				}
				add_to_variable = { NRAF_seats = -5}
				custom_effect_tooltip = GER_NRAF_-5_tt
				IF = { 
					limit = { has_country_flag = GER_dvu_formed}
					add_to_variable = { DVU_seats = -5 }
					custom_effect_tooltip = GER_DVU_-5_tt
				}
				else = {
					add_to_variable = { DNVP_seats = -5 }
					custom_effect_tooltip = GER_DNVP_-5_tt
				}
				add_to_variable = { SPD_seats = -5}
				custom_effect_tooltip = GER_SPD_-5_tt
				r56_ger_kpd_70 = yes
			}
			IF = {
				limit = { NOT = { has_country_flag = GER_no_conciliators }}
				custom_effect_tooltip = GER_conciliators_tt
				IF = {
					limit = { NOT = { has_idea = GER_anti_fascist_bulwark}}
					add_ideas = GER_anti_fascist_bulwark
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				add_to_variable = { NRAF_seats = -10}
				custom_effect_tooltip = GER_NRAF_-10_tt
				IF = { 
					limit = { has_country_flag = GER_dvu_formed}
					add_to_variable = { DVU_seats = -5 }
					custom_effect_tooltip = GER_DVU_-5_tt
				}
				else = {
					add_to_variable = { DNVP_seats = -5 }
					custom_effect_tooltip = GER_DNVP_-5_tt
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				swap_ideas = {
					remove_idea = GER_revolutionary_culture_2
					add_idea = GER_revolutionary_culture_3
				}
				r56_ger_kpd_35 = yes
				r56_ger_spd_35 = yes
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT}
	}
	focus = {
		id = GER_form_the_stasi_new
		icon = GFX_focus_GER_form_the_stasi
		cost = 8
		prerequisite = { focus = GER_revolution_in_german_culture}

		x = -2
		y = 1

		relative_position_id = GER_revolution_in_german_culture

		mutually_exclusive = {
			focus = GER_fully_rebuild_the_secret_police
		}

		available = {
			GER_wilhelm_canaris = { is_hired_as_advisor = no}
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = { has_dlc = "La Resistance" }

				IF = {
					limit = { has_intelligence_agency = no }

					create_intelligence_agency = {
						name = "Stasi"
						icon = GFX_intelligence_agency_logo_GER_stasi
					}
				}
				ELSE = {
					gain_random_agency_upgrade = yes
				}


				custom_effect_tooltip = generic_skip_one_line_tt

				add_ideas = GER_stasi
			}

			ELSE = {

				remove_dynamic_modifier = { #for tooltip reasons this appears twice
					modifier = GER_communist_intel_modifier
				}

				custom_effect_tooltip = generic_skip_one_line_tt

				add_dynamic_modifier = {
					modifier = GER_stasi_modifier
				}

				add_to_variable = { GER_communist_intel_decryption_factor = 0.2 tooltip = decryption_factor_tt }
				add_to_variable = { GER_communist_intel_stability_factor = -0.05 tooltip = stability_factor_tt }
			}

 			custom_effect_tooltip = generic_skip_one_line_tt

			GER_wilhelm_zaisser = {
				remove_trait = {
					slot = political_advisor
					trait = GER_intelligence_coordinator
				}
			}
			GER_wilhelm_zaisser = {
 				add_trait = { 
 					slot = political_advisor
 					trait = GER_secretary_of_state_security
 				}
 			}
			r56_ger_kpd_70 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_ESPIONAGE}

	}
	focus = {
		id = GER_expand_recruitment
		icon = GFX_focus_SWI_embrace_rote_drei
		cost = 7.2
		prerequisite = { focus = GER_form_the_stasi_new}

		x = 0
		y = 1

		relative_position_id = GER_form_the_stasi_new

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_stasi
				add_idea = GER_stasi_2
			}
			IF = {
				limit = { has_dlc = "La Resistance"}

				create_operative_leader = {
					name = GER_erich_mielke
					bypass_recruitment = no 
					traits = { operative_commando operative_escape_artist operative_master_interrogator }
					available_to_spy_master = yes  
					GFX = GFX_portrait_GER_erich_mielke
					gender = male
				}

				create_operative_leader = {
					name = GER_marie_luise_hammerstein
					bypass_recruitment = no 
					traits = { operative_natural_orator }
					available_to_spy_master = yes 
					nationalities = { GER SOU } 
					GFX = GFX_portrait_GER_marie_luise_hammerstein
					gender = female
				}

				create_operative_leader = {
					name = GER_rudolf_herrnstadt
					bypass_recruitment = no 
					traits = { operative_linguist }
					available_to_spy_master = yes 
					nationalities = { GER SOU } 
					GFX = GFX_portrait_GER_rudolf_herrnstadt
					gender = male
				}

				create_operative_leader = {
					name = GER_ernst_wollweber
					bypass_recruitment = no 
					traits = { operative_tough }
					available_to_spy_master = yes 
					nationalities = { GER SOU } 
					GFX = GFX_portrait_GER_ernst_wollweber
					gender = male
				}
			}
			r56_ger_kpd_50 = yes
		}
		search_filters = { FOCUS_FILTER_ESPIONAGE }

	}
	focus = {
		id = GER_the_state_safe_from_within
		icon = GFX_goal_generic_election_chaos
		cost = 7.2
		prerequisite = { focus = GER_expand_recruitment}

		x = 0
		y = 1

		relative_position_id = GER_expand_recruitment

		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			country_event = new_ger.126

			custom_effect_tooltip = report_reward
			event_option_tooltip = new_ger.126.a
			custom_effect_tooltip = alternative_diplomatic_reward
			event_option_tooltip = new_ger.126.b
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_ESPIONAGE}

	}
	focus = {
		id = GER_undermine_international_fascism
		icon = GFX_goal_fascism_banned
		cost = 5
		prerequisite = { focus = GER_the_state_safe_from_within}

		x = 0
		y = 1

		relative_position_id = GER_the_state_safe_from_within

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
		
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				custom_effect_tooltip = GER_undermine_international_fascism_tt
			}
			r56_ger_kpd_70 = yes
		}
		search_filters = { FOCUS_FILTER_ESPIONAGE}

	}
	focus = {
		id = GER_legalize_the_kjvd
		icon = GFX_goal_generic_partisans
		cost = 7.2
		prerequisite = { focus = GER_kpd_in_coalition}

		x = -2
		y = 1

		offset = { 
			trigger = { 
				has_completed_focus = GER_shake_off_the_fascist_yoke
			}
			x = 13
		}
		relative_position_id = GER_kpd_in_coalition

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_kjvd
			r56_ger_kpd_70 = yes
		}
		search_filters = { FOCUS_FILTER_MANPOWER }

	}
	focus = {
		id = GER_revive_gestapo_remnants
		icon = GFX_goal_generic_secret_police
		cost = 7.2
		prerequisite = { focus = GER_dvu_in_coalition focus = GER_nraf_in_coalition focus = GER_dnvp_in_coalition}

		x = -8
		y = 1

		relative_position_id = GER_kpd_in_coalition

		mutually_exclusive = {
		}
		bypass = {
		
		}
		offset = {
			x = -15
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_country_flag = GER_spd_banned
			}
		}
		allow_branch = {
			NOT = { has_completed_focus = GER_pass_the_beck_constiution}
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_a_martial_state}
				NOT = { has_completed_focus = GER_move_towards_autocracy }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		available = {
			GER_wilhelm_canaris = { is_hired_as_advisor = yes }
			OR = {
				
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dvu_in_coalition
				tooltip = GER_dvu_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_expanded_abwehr
			r56_ger_nraf_35 = yes
			r56_ger_dnvp_35 = yes
		}
		search_filters = { FOCUS_FILTER_ESPIONAGE}

	}
	focus = {
		id = GER_fully_rebuild_the_secret_police
		icon = GFX_goal_crush_resistance
		cost = 7.2
		prerequisite = { focus = GER_revive_gestapo_remnants}

		x = 0
		y = 1

		relative_position_id = GER_revive_gestapo_remnants

		mutually_exclusive = {
			focus = GER_form_the_stasi_new
		}

		available = {
			GER_wilhelm_canaris = { is_hired_as_advisor = yes }
			OR = {
				
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			}
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_dnvp_in_coalition
				tooltip = GER_dnvp_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_expanded_abwehr
				add_idea = GER_sonderabteilung
			}
			r56_ger_nraf_35 = yes
			r56_ger_dnvp_35 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ESPIONAGE}

	}
	focus = {
		id = GER_industrial_collectivization
		icon = GFX_goal_generic_commie_investments
		cost = 5
		prerequisite = { focus = GER_kpd_in_coalition}

		x = -6
		y = 1

		offset = { 
			trigger = { 
				has_completed_focus = GER_shake_off_the_fascist_yoke
			}
			x = 13
		}
		relative_position_id = GER_kpd_in_coalition

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			every_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				random_select_amount = 3
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			add_stability = -0.075
			
			r56_ger_kpd_70 = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY}

	}
	focus = {
		id = GER_mandatory_membership
		icon = GFX_goal_communist_latin_america
		cost = 10
		prerequisite = { focus = GER_legalize_the_kjvd}
		prerequisite = { focus = GER_revolution_in_german_culture}
		x = 0
		y = 1

		relative_position_id = GER_legalize_the_kjvd

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_kjvd
				add_idea = GER_mandatory_kjvd_membership
			}
			add_stability = -0.05
			add_to_variable = { KPD_seats = 10 }
			custom_effect_tooltip = GER_KPD_10_tt
			r56_ger_kpd_70 = yes
		}
		search_filters = { FOCUS_FILTER_MANPOWER}

	}
	focus = {
		id = GER_honor_the_legacy_of_marx
		icon = GFX_goal_generic_marxist_enlightenment
		cost = 10
		prerequisite = { focus = GER_mandatory_membership focus = GER_deal_with_the_conciliators}
		x = 0
		y = 1

		relative_position_id = GER_mandatory_membership

		mutually_exclusive = {
		}

		available = {
			is_subject = no
			has_elections = no
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
			OR = {
				has_country_leader = {
					character = GER_ernst_thalmann
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_wilhelm_pieck
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_walter_ulbricht
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_ruth_fischer
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_arkadi_maslow
					ruling_only = yes
				}
			}
		}
		completion_reward = {
			add_political_power = 50
			add_stability = 0.1
			custom_effect_tooltip = generic_skip_one_line_tt
			add_country_leader_trait = successor_of_marx
		}
		search_filters = { FOCUS_FILTER_MANPOWER}

	}
	focus = {
		id = GER_construct_the_karl_marx_cultural_instutute
		icon = GFX_goal_generic_communist_government2
		cost = 5
		prerequisite = { focus = GER_fight_fascism_in_all_its_forms }
		prerequisite = { focus = GER_honor_the_legacy_of_marx}
		x = -1
		y = 1

		relative_position_id = GER_honor_the_legacy_of_marx

		mutually_exclusive = {
		}

		available = {
			num_of_factories > 150
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
		}
		completion_reward = {
			add_popularity = {
				ideology = communism
				popularity = 0.075
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			42 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = landmark_karl_marx_cultural_center
					level = 1
					instant_build = yes
					province = 11470
				}
			}
			custom_effect_tooltip = GER_karl_marx_cultural_institute_tt
			
		}
		search_filters = { FOCUS_FILTER_MANPOWER}

	}
	focus = {
		id = GER_peace_in_the_east
		icon = GFX_goal_sov_east_vs_west
		cost = 5
		prerequisite = { focus = GER_reapproachment_with_moscow}

		x = 0
		y = 1

		relative_position_id = GER_reapproachment_with_moscow

		mutually_exclusive = {
		}

		available = {
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
			has_non_aggression_pact_with = SOV
			NOT = {
				has_war_with = SOV
				SOV = {
					has_government = neutrality
					has_government = fascism
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_focus_towards_the_west
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT}
	}
	focus = {
		id = GER_industrial_cooperation_2
		icon = GFX_goal_generic_soviet_construction
		prerequisite = { focus = GER_peace_in_the_east }

		x = 0
		y = 1
		relative_position_id = GER_peace_in_the_east
		cost = 5
		available = {
			has_non_aggression_pact_with = SOV
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
			NOT = {
				has_war_with = SOV
				SOV = {
					has_government = neutrality
					has_government = fascism
				}
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			SOV = {
				country_event = {
					id = wuw_GER_diplomacy.95
					hours = 12
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = GER_tech_sharing_2
		icon = GFX_focus_generic_socialist_science
		prerequisite = { focus = GER_industrial_cooperation_2 }

		x = -1
		y = 1
		relative_position_id = GER_industrial_cooperation_2
		cost = 5
		available = {
			has_non_aggression_pact_with = SOV
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
			NOT = {
				has_war_with = SOV
				SOV = {
					has_government = neutrality
					has_government = fascism
				}
			}
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {

			SOV = {
				country_event = {
					id = wuw_GER_diplomacy.98
					hours = 12
				}
			}

			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				add_to_tech_sharing_group = GER_SOV_industrial_development_group
				SOV = {
					add_to_tech_sharing_group = GER_SOV_industrial_development_group
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = GER_resource_trade_2
		icon = GFX_goal_generic_positive_trade_relations
		prerequisite = { focus = GER_industrial_cooperation_2 }

		x = 1
		y = 1
		relative_position_id = GER_industrial_cooperation_2
		cost = 5
		available = {
			has_non_aggression_pact_with = SOV
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
			NOT = {
				has_war_with = SOV
				SOV = {
					has_government = neutrality
					has_government = fascism
				}
			}
		}

		search_filters = { FOCUS_FILTER_INTERNATIONAL_TRADE }

		completion_reward = {

			SOV = {
				country_event = {
					id = wuw_GER_diplomacy.1
					hours = 6
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY}
	}
	focus = {
		id = GER_german_entry_into_the_comintern
		icon = GFX_goal_GER_soviet_alliance
		cost = 3
		prerequisite = { focus = GER_peace_in_the_east}

		x = 2
		y = 1

		relative_position_id = GER_peace_in_the_east

		mutually_exclusive = {
		}

		available = {
			SOV = {
				is_faction_leader = yes
				has_non_aggression_pact_with = ROOT
				IF = {
					limit = { has_global_flag = sov_old_focus_tree}
					has_completed_focus = SOV_great_purge
				}
				else = { has_completed_focus = SOV_the_centre}
				has_government = communism
			}
			has_government = communism
			is_subject = no
			
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
			OR = {
				has_country_leader = {
					character = GER_ernst_thalmann
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_wilhelm_pieck
					ruling_only = yes
				}
				has_country_leader = {
					character = GER_walter_ulbricht
					ruling_only = yes
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			
			add_country_leader_trait = connections_to_moscow
			custom_effect_tooltip = r56_newline
			SOV = {
				country_event = {
					id = r56.ger.53
					hours = 8
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_ALLIANCE}

	}
	focus = {
		id = GER_found_the_new_german_state
		icon = GFX_goal_GER_german_state
		cost = 5

		x = 14
		y = 1
		offset = {
			x = -14
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_found_the_new_german_state
			}

		}
		prerequisite = { focus = GER_die_letzte_verschwoerung }
		mutually_exclusive = {
			focus = GER_found_the_german_interim_government
		}
		allow_branch = { 
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
				NOT = { has_completed_focus = GER_found_the_german_interim_government }
			}
		}
		relative_position_id = GER_die_letzte_verschwoerung

		mutually_exclusive = {
		}

		available = {
			has_civil_war = no
			has_country_flag = GER_sideline_goerdeler_flag
			has_country_flag = GER_operation_valkyre_flag 
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke }
		}
		ai_will_do = {
		}
		completion_reward = {
			hidden_effect = {
				
				remove_trait = {
					character = GER_carl_friedrich_goerdeler
					ideology = military_junta
					trait = desperate_gambit
				}
			}
			IF = {
				limit = { has_country_flag = GER_secure_freikorps_remnants_flag}
				country_event = new_ger.111
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			set_party_name = { 
				ideology = neutrality
				long_name = GER_ubergang_long
				name = GER_ubergang_short
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = GER_democratic_resistance
			custom_effect_tooltip = generic_skip_one_line_tt
			add_political_power = 100
			add_stability = 0.05
			custom_effect_tooltip = generic_skip_one_line_tt
			set_power_balance = {
				id = GER_beck_canaris_struggle
				set_default = yes
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			activate_mission = GER_time_is_running_out
			activate_mission = GER_the_hohenzollern_mission 
			mark_focus_tree_layout_dirty = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = GER_the_abwehrs_germany
		icon = GFX_goal_GER_abwehr
		cost = 10

		x = -5
		y = 1
		offset = {
			x = 5
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_the_abwehrs_germany
			}

		}
		prerequisite = { focus = GER_found_the_new_german_state }
		mutually_exclusive = { focus = GER_a_martial_state }

		relative_position_id = GER_found_the_new_german_state
		allow_branch = { 
			NOT = { has_completed_focus = GER_pass_the_beck_constiution}
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke }
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_found_the_german_interim_government }
				NOT = { has_completed_focus = GER_a_martial_state}
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		mutually_exclusive = {
		}

		available = {
			custom_trigger_tooltip = {
				has_completed_focus = GER_the_abwehrs_germany
				tooltip = GER_the_abwehrs_germany_focus_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			hidden_effect = {
				IF = {
					limit = {
						NOT = {
							OR = {
								has_country_flag = GER_wilhelm_ii_kaiser_flag
								has_country_flag = GER_wilhelm_abdicated
							}
						}
					}
					country_event = {
						id = new_ger.52
						days = 35
					}
				}
			}
			set_party_name = { 
				ideology = neutrality
				long_name = GER_canaris_long
				name = GER_ubergang_short
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			GER_wilhelm_canaris = {
				add_country_leader_role = {
					promote_leader = yes
					country_leader = {
						ideology = despotism
						expire = 1965.1.1
						traits = { head_of_the_abwehr} 
					}
				}
			}
			add_ideas = GER_becks_lingering_opposition
			swap_ideas = {
				remove_idea = GER_lack_of_civilian_government
				add_idea = GER_lack_of_civilian_government_2
			}
			IF = {
				limit = {
					power_balance_value = {
						id = GER_beck_canaris_struggle
						value < -0.89
					}
				}
				add_ideas = GER_abwehr_power_4
			}
			else_if = {
				limit = {
					power_balance_value = {
						id = GER_beck_canaris_struggle
						value < -0.59
					}
				}
				add_ideas = GER_abwehr_power_3
			}
			else_if = {
				limit = {
					power_balance_value = {
						id = GER_beck_canaris_struggle
						value < -0.29
					}
				}
				add_ideas = GER_abwehr_power_2
			}
			else = {
				add_ideas = GER_abwehr_power
			}
			hidden_effect = {
				remove_power_balance = {
					id = GER_beck_canaris_struggle
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_the_abwehrs_germany_tt
			mark_focus_tree_layout_dirty = yes
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_hans_oster
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ESPIONAGE }

	}
	focus = {
		id = GER_move_towards_autocracy
		icon = GFX_goal_GER_open_the_german_political_sphere
		cost = 5

		x = 3
		y = 1
		prerequisite = { focus = GER_the_abwehrs_germany }
		relative_position_id = GER_the_abwehrs_germany
		mutually_exclusive = { focus = GER_offer_goerdeler_reconciliation }

		mutually_exclusive = {
		}

		offset = {
			x = -3
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_move_towards_autocracy
			}

		}
		allow_branch = { 
			NOT = { has_completed_focus = GER_pass_the_beck_constiution}
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke }
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_found_the_german_interim_government }
				NOT = { has_completed_focus = GER_a_martial_state}
				NOT = { has_completed_focus = GER_offer_goerdeler_reconciliation }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			add_country_leader_trait = GER_authoritarian_conservative
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
			add_war_support = 0.025
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = GER_lack_of_civilian_government_2
				add_idea = GER_lack_of_civilian_government_3
			}
			mark_focus_tree_layout_dirty = yes
			IF = {
				limit = { has_completed_focus = GER_loose_the_abwehr_on_the_opposition}
				unlock_decision_tooltip = GER_arrest_demo_leaders
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

	}
	focus = {
		id = GER_the_canaris_wilhelm_pakt
		icon = GFX_goal_GER_kaiser_deal
		cost = 5

		x = -1
		y = 1
		prerequisite = { focus = GER_move_towards_autocracy }
		relative_position_id = GER_move_towards_autocracy

		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			add_stability = 0.05
			add_political_power = 75
			set_cosmetic_tag = GER_emp
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = GER_wilhelm_iv
			IF = {
				limit = { GER_wilhelm_iv = { is_hired_as_advisor = yes }}
				remove_advisor_role = {
					character = GER_wilhelm_iv
					slot = political_advisor
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

	}
	focus = {
		id = GER_politicize_the_abwehr
		icon = GFX_goal_generic_espionage
		cost = 5

		x = 1
		y = 1
		prerequisite = { focus = GER_move_towards_autocracy }
		relative_position_id = GER_move_towards_autocracy

		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = { has_idea = GER_abwehr_power_4 }
				swap_ideas = {
					remove_idea = GER_abwehr_power_4
					add_idea = GER_pol_abwehr_4
				}
			}
			else_if = {
				limit = { has_idea = GER_abwehr_power_3 }
				swap_ideas = {
					remove_idea = GER_abwehr_power_3
					add_idea = GER_pol_abwehr_3
				}
			}
			else_if = {
				limit = { has_idea = GER_abwehr_power_2 }
				swap_ideas = {
					remove_idea = GER_abwehr_power_2
					add_idea = GER_pol_abwehr_2
				}
			}
			else= {
				swap_ideas = {
					remove_idea = GER_abwehr_power
					add_idea = GER_pol_abwehr
				}
			}
			IF = {
				limit = { has_completed_focus = GER_loose_the_abwehr_on_the_opposition}
				unlock_decision_tooltip = GER_arrest_demo_leaders_2
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }

	}
	focus = {
		id = GER_forge_an_alliance_with_the_church
		icon = GFX_focus_generic_diplomatic_treaty
		cost = 7.2

		x = -3
		y = 1
		prerequisite = { focus = GER_move_towards_autocracy }
		relative_position_id = GER_move_towards_autocracy

		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_the_return_of_german_christianity
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
			add_political_power = 25
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

	}
	focus = {
		id = GER_form_the_league_of_patriots
		icon = GFX_goal_GER_vdp
		cost = 7.2

		x = 1
		y = 1
		prerequisite = { focus = GER_forge_an_alliance_with_the_church }
		prerequisite = { focus = GER_politicize_the_abwehr }
		relative_position_id = GER_forge_an_alliance_with_the_church

		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			set_party_name = {
				ideology = neutrality
				long_name = GER_vdp_long
				name = GER_vdp_short
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_dynamic_modifier = { modifier = GER_vdp}
			set_country_leader_ideology = conservatism_n
			custom_effect_tooltip = generic_skip_one_line_tt
			remove_ideas = GER_lack_of_civilian_government_3
			set_country_flag = GER_vdp_flag
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT}
	}
	focus = {
		id = GER_integrate_the_dnvp
		icon = GFX_goal_ger_dnvp_victory
		cost = 5

		x = 2
		y = 1
		prerequisite = { focus = GER_form_the_league_of_patriots }
		relative_position_id = GER_form_the_league_of_patriots

		mutually_exclusive = {
		}

		available = {
			has_country_flag = {
				flag = GER_vdp_flag
				days > 70
			}
			custom_trigger_tooltip = {
				tooltip = GER_vdp_flag_days
				
				has_country_flag = {
					flag = GER_vdp_flag
					days > 70
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_to_variable = { GER_vdp_pp_factor = -0.075}
			add_to_variable = { GER_vdp_core_stats_factor = 0.05 }
			add_to_variable = { GER_vdp_ws_weekly_factor = 0.002 }
			add_to_variable = { GER_vdp_conscription_factor = 0.025}
			custom_effect_tooltip = GER_vdp_pp-7.5_conscription2.5_ws_weekly0.2_core_attck5
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = unlock_GER_vdp_dnvp_which_grants
			effect_tooltip = {
				add_to_variable = { GER_vdp_core_stats_factor = 0.075 }
				add_to_variable = { GER_vdp_ws_weekly_factor = 0.002}
				custom_effect_tooltip = GER_vdp_ws_weekly0.2_core_attack7.5
			}
			clr_country_flag = GER_vdp_flag
			set_country_flag = GER_vdp_flag
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_wilhelm_von_gayl
			show_ideas_tooltip = GER_alfred_hugenberg
			show_ideas_tooltip = GER_theodor_duesterberg
			show_ideas_tooltip = GER_max_buchner
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }

	}
	focus = {
		id = GER_integrate_the_monarchists
		icon = GFX_goal_generic_royal_industry
		cost = 5

		x = 0
		y = 1
		prerequisite = { focus = GER_form_the_league_of_patriots }
		relative_position_id = GER_form_the_league_of_patriots

		mutually_exclusive = {
		}

		available = {
			has_country_flag = {
				flag = GER_vdp_flag
				days > 70
			}
			custom_trigger_tooltip = {
				tooltip = GER_vdp_flag_days
				
				has_country_flag = {
					flag = GER_vdp_flag
					days > 70
				}
			}
			has_completed_focus = GER_the_canaris_wilhelm_pakt
		}
		ai_will_do = {
		}
		completion_reward = {
			add_to_variable = { GER_vdp_pp_factor = -0.075}
			add_to_variable = { GER_vdp_mil_speed_factor = 0.05 }
			add_to_variable = { GER_vdp_neutrality_factor = 0.02 }
			add_to_variable = { GER_vdp_conscription_factor = 0.025}
			custom_effect_tooltip = GER_vdp_pp-7.5_conscription2.5_mil5_neutrality0.02
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = unlock_GER_vdp_mon_which_grants
			effect_tooltip = {
				add_to_variable = { GER_vdp_mil_speed_factor = 0.075 }
				add_to_variable = { GER_vdp_neutrality_factor = 0.02}
				custom_effect_tooltip = GER_vdp_mil7.5_neutrality0.02
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = unlock_GER_vdp_kaiser_empowerment_which_grants
			effect_tooltip = {
				complete_national_focus = GER_the_kaiser_rises
				complete_national_focus = GER_a_new_monarch_for_a_new_age
			}
			clr_country_flag = GER_vdp_flag
			set_country_flag = GER_vdp_flag
		}
		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY }

	}
	focus = {
		id = GER_unite_the_bearocratic_colossus
		icon = GFX_goal_generic_foreign_diplomacy2
		cost = 7.2

		x = 0
		y = 1
		prerequisite = { focus = GER_integrate_the_monarchists }
		prerequisite = { focus = GER_integrate_the_zentrum }
		prerequisite = { focus = GER_integrate_the_dnvp }
		relative_position_id = GER_integrate_the_monarchists

		mutually_exclusive = {
		}

		available = {
			has_country_flag = {
				flag = GER_vdp_flag
				days > 100
			}
			custom_trigger_tooltip = {
				tooltip = GER_vdp_flag_days
				
				has_country_flag = {
					flag = GER_vdp_flag
					days > 100
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_to_variable = { GER_vdp_party_stab_factor = 0.05}
			add_to_variable = { GER_vdp_pp_factor = 0.225}
			add_to_variable = { GER_vdp_stab_factor = 0.025 }
			add_to_variable = { GER_vdp_ws_factor = 0.05 }
			add_to_variable = { GER_vdp_conscription_factor = 0.025}
			custom_effect_tooltip = GER_vdp_party_stab5_pp22.5_conscription2.5_ws5_stab2.5
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_unite_the_bearocratic_colossus_tt
			clr_country_flag = GER_vdp_flag
			set_country_flag = GER_vdp_flag
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER}
	}
	focus = {
		id = GER_implement_state_religion
		icon = GFX_goal_christianity_and_state
		cost = 5

		x = -1
		y = 1
		prerequisite = { focus = GER_forge_an_alliance_with_the_church }
		relative_position_id = GER_forge_an_alliance_with_the_church

		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_the_return_of_german_christianity
				add_idea = GER_state_churches
			}
			add_popularity = {
				ideology = neutrality
				popularity = 0.075
			}
			add_stability = 0.05
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_integrate_the_zentrum
		icon = GFX_goal_ger_zentrum_victory
		cost = 5

		x = 0
		y = 1
		prerequisite = { focus = GER_implement_state_religion }
		prerequisite = { focus = GER_form_the_league_of_patriots }
		relative_position_id = GER_implement_state_religion

		mutually_exclusive = {
		}

		available = {
			has_country_flag = {
				flag = GER_vdp_flag
				days > 70
			}
			custom_trigger_tooltip = {
				tooltip = GER_vdp_flag_days
				
				has_country_flag = {
					flag = GER_vdp_flag
					days > 70
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_to_variable = { GER_vdp_pp_factor = -0.05}
			add_to_variable = { GER_vdp_stab_factor = 0.075 }
			add_to_variable = { GER_vdp_consumer_factor = -0.15 }
			add_to_variable = { GER_vdp_conscription_factor = 0.025}
			custom_effect_tooltip = GER_vdp_pp-5_conscription2.5_stab7.5_consumers-15
			custom_effect_tooltip = unlock_GER_vdp_zentrum_which_grants
			effect_tooltip = {
				add_to_variable = { GER_vdp_consumer_factor = -0.15}
				custom_effect_tooltip = GER_vdp_consumer-15
				add_stability = 0.05
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			show_ideas_tooltip = GER_konrad_adenauer
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_adam_stegerwald
			clr_country_flag = GER_vdp_flag
			set_country_flag = GER_vdp_flag
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY FOCUS_FILTER_MANPOWER}

	}
	focus = {
		id = GER_offer_goerdeler_reconciliation
		icon = GFX_goal_generic_peaceful_diplomacy
		cost = 5

		x = -3
		y = 1
		offset = {
			x = 3
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_offer_goerdeler_reconciliation
			}

		}
		prerequisite = { focus = GER_the_abwehrs_germany }
		mutually_exclusive = { focus = GER_move_towards_autocracy }

		relative_position_id = GER_the_abwehrs_germany

		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		allow_branch = { 
			NOT = { has_completed_focus = GER_pass_the_beck_constiution}
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke }
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_found_the_german_interim_government }
				NOT = { has_completed_focus = GER_a_martial_state}
				NOT = { has_completed_focus = GER_move_towards_autocracy }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		completion_reward = {
			add_stability = 0.05
			add_political_power = 75
			add_popularity = {
				ideology = neutrality 
				popularity = 0.05
			}
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = GER_democratic_resistance
				add_idea = GER_democratic_resistance_2
			}
			swap_ideas = {
				remove_idea = GER_lack_of_civilian_government_2
				add_idea = GER_lack_of_civilian_government_3
			}
			mark_focus_tree_layout_dirty = yes
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_carl_friedrich_goerdeler
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL_CHARACTER}
	}
	focus = {
		id = GER_install_a_loyal_army_chief
		icon = GFX_goal_GER_fahneneid
		cost = 5

		x = 1
		y = 1
		prerequisite = { focus = GER_offer_goerdeler_reconciliation }
		relative_position_id = GER_offer_goerdeler_reconciliation

		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			hidden_effect = {
				remove_ideas = GER_becks_lingering_opposition
				add_timed_idea = {
					idea = GER_becks_lingering_opposition_2
					days = 365
				}
				set_can_be_fired_in_advisor_role = {
					character = GER_ludwig_beck
					value = yes
				}
				remove_trait = {
					character = GER_ludwig_beck
					slot = army_chief
					trait = GER_authoritarian_conservative
				}

			}
			add_trait = {
				character = GER_erwin_von_witzleben
				slot = army_chief
				trait = GER_political_appointment
			}
			set_can_be_fired_in_advisor_role = {
				character = GER_erwin_von_witzleben
				value = no
			}
			activate_advisor = GER_erwin_von_witzleben
			custom_effect_tooltip = GER_install_a_loyal_army_chief_tt
			effect_tooltip = {
				swap_ideas = {
					remove_idea = GER_becks_lingering_opposition
					add_idea = GER_becks_lingering_opposition_2
				}
			}

		}
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_loose_the_abwehr_on_the_opposition
		icon = GFX_goal_generic_stamp_extremists
		cost = 5

		x = 5
		y = 1
		offset = {
			x = -3
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				OR = {
					has_completed_focus = GER_offer_goerdeler_reconciliation
					has_completed_focus = GER_move_towards_autocracy
				}
			}

		}
		prerequisite = { focus = GER_the_abwehrs_germany }
		relative_position_id = GER_the_abwehrs_germany

		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			unlock_decision_category_tooltip = GER_abwehr_cat
			add_command_power = 25
			add_political_power = 25
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_an_iron_fist_on_the_state
		icon = GFX_goal_centralize_power
		cost = 7.2

		x = 0
		y = 2
		prerequisite = { focus = GER_loose_the_abwehr_on_the_opposition}
		prerequisite = { focus = GER_politicize_the_abwehr }
		relative_position_id = GER_loose_the_abwehr_on_the_opposition

		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_under_the_abwehrs_iron_first
			IF = {
				limit = { has_country_flag = GER_catholic_autonomy_flag}
				every_state = {
					limit = {
						has_dynamic_modifier = { modifier = GER_catholic_autonomy }
					}
					remove_dynamic_modifier = {
						modifier = GER_catholic_autonomy
					}
				}
				clr_country_flag = GER_catholic_autonomy_flag
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ESPIONAGE FOCUS_FILTER_WAR_SUPPORT}
	}
	focus = {
		id = GER_an_irresistable_moral_guide
		icon = GFX_goal_fascism_banned
		cost = 7.2

		x = 0
		y = 2
		prerequisite = { focus = GER_an_iron_fist_on_the_state }
		relative_position_id = GER_an_iron_fist_on_the_state

		mutually_exclusive = {
		}

		available = {
			IF = {
				limit = {
					64 = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 64
						}
					}
				}
				64 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 64
						}
					}
				}
			}
			IF = {
				limit = {
					65 = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 65
						}
					}
				}
				65 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 65
						}
					}
				}
			}
			IF = {
				limit = {
					60 = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 60
						}
					}
				}
				60 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 60
						}
					}
				}
			}
			IF = {
				limit = {
					57 = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 57
						}
					}
				}
				57 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 57
						}
					}
				}
			}
			IF = {
				limit = {
					58 = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 58
						}
					}
				}
				58 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 58
						}
					}
				}
			}
			IF = {
				limit = {
					989 = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 989
						}
					}
				}
				989 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 989
						}
					}
				}
			}
			IF = {
				limit = {
					64 = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 64
						}
					}
				}
				64 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 64
						}
					}
				}
			}
			IF = {
				limit = {
					54 = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 54
						}
					}
				}
				54 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 54
						}
					}
				}
			}
			IF = {
				limit = {
					63 = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 63
						}
					}
				}
				63 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 63
						}
					}
				}
			}
			IF = {
				limit = {
					922 = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 922
						}
					}
				}
				922 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 922
						}
					}
				}
			}
			IF = {
				limit = {
					52 = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 52
						}
					}
				}
				52 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 52
						}
					}
				}
			}
			IF = {
				limit = {
					51 = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 51
						}
					}
				}
				51 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 51
						}
					}
				}
			}
			has_country_leader = {
				character = GER_wilhelm_canaris
				ruling_only = yes
			}
			has_stability > 0.7
		}
		ai_will_do = {
		}
		completion_reward = {
			add_country_leader_trait = GER_moral_compass_of_the_nation
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = {
					NOT = { has_idea = r56i_laws_social_hierarchy }
				}
				add_ideas = r56i_laws_social_hierarchy
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY}

	}
	focus = {
		id = GER_all_under_the_grey_emminence
		icon = GFX_goal_generic_grey_in_the_shadows
		cost = 10

		x = 2
		y = 1
		prerequisite = { focus = GER_unite_the_bearocratic_colossus }
		prerequisite = { focus = GER_an_irresistable_moral_guide }
		relative_position_id = GER_unite_the_bearocratic_colossus

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_wilhelm_canaris
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_country_leader_trait = GER_the_grey_eminence
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ESPIONAGE}

	}
	focus = {
		id = GER_deal_with_resistance_in_the_heer
		icon = GFX_goal_generic_break_army
		cost = 5

		x = 1
		y = 1
		prerequisite = { focus = GER_an_iron_fist_on_the_state }
		relative_position_id = GER_an_iron_fist_on_the_state

		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_becks_lingering_opposition
				add_idea = GER_becks_lingering_opposition_2
			}
			custom_effect_tooltip = unlock_GER_force_beck_ino_retirement_which_grants
			effect_tooltip = {
				remove_ideas = GER_becks_lingering_opposition_2
				retire_character = GER_ludwig_beck
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_form_the_presidency
		icon = GFX_focus_GER_german_hegemony_in_the_middle_east_neutrality
		cost = 5
		dynamic = yes
		x = -1
		y = 1
		prerequisite = { focus = GER_offer_goerdeler_reconciliation }
		relative_position_id = GER_offer_goerdeler_reconciliation

		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = {
					has_country_flag = GER_wilhelm_iv_supports_canaris
				}
				add_ideas = GER_wilhelm_iv
			}
			else = {
				add_ideas = GER_president_canaris
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			remove_ideas = GER_lack_of_civilian_government_3
			IF = {
				limit = { GER_wilhelm_iv = { is_hired_as_advisor = yes }}
				custom_effect_tooltip = generic_skip_one_line_tt
				remove_advisor_role = {
					character = GER_wilhelm_iv
					slot = political_advisor
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}
	}
	focus = {
		id = GER_declare_the_presidential_republic
		icon = GFX_goal_GER_declare_the_presidential_republic
		cost = 7.2
		dynamic = yes
		x = 1
		y = 1
		prerequisite = { focus = GER_form_the_presidency }
		prerequisite = { focus = GER_install_a_loyal_army_chief }
		relative_position_id = GER_form_the_presidency

		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = {
					has_country_flag = GER_wilhelm_iv_supports_canaris
				}
				set_cosmetic_tag = GER_emp
			}
			else = {
				set_cosmetic_tag = GER_pres_gov
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			remove_ideas = GER_democratic_resistance_2
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = GER_canaris_constitution
			custom_effect_tooltip = generic_skip_one_line_tt
			country_event = new_ger.53
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_invest_in_the_naval_pet_project
		icon = GFX_goal_generic_navy_battleship
		cost = 5
		x = 0
		y = 3
		prerequisite = { focus = GER_declare_the_presidential_republic focus = GER_unite_the_bearocratic_colossus }
		relative_position_id = GER_declare_the_presidential_republic

		mutually_exclusive = {
		}
		offset = {
			trigger = { 
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_found_the_new_german_state
			}
			x = 1
		}
		offset = {
			trigger = { 
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_offer_goerdeler_reconciliation
			}
			x = 2
			y = -2
		}
		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			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 = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
			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
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_tighten_naval_intelligence
		icon = GFX_goal_generic_navy_cruiser
		cost = 5
		x = 1
		y = 1
		prerequisite = { focus = GER_invest_in_the_naval_pet_project }
		relative_position_id = GER_invest_in_the_naval_pet_project

		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			upgrade_intelligence_agency = upgrade_naval_department
			custom_effect_tooltip = generic_skip_one_line_tt
			GER_modify_navy_modifier = yes
			add_to_variable = {
				var = GER_military_navy_intel_factor
				value = 0.1
				tooltip = navy_intel_factor_tt
			}
			add_to_variable = {
				var = GER_military_navy_intel_to_others
				value = -10
				tooltip = navy_intel_to_others_tt
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_seize_direct_control
		icon = GFX_goal_generic_navigate_the_seas
		cost = 5
		x = -1
		y = 1
		prerequisite = { focus = GER_invest_in_the_naval_pet_project }
		relative_position_id = GER_invest_in_the_naval_pet_project

		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		offset = {
			trigger = { 
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_found_the_new_german_state
				NOT = {
					OR = {
						has_completed_focus = GER_move_towards_autocracy
						has_completed_focus = GER_offer_goerdeler_reconciliation
					}
				}
			}
			x = 4
		}
		completion_reward = {
			navy_experience = 100
			custom_effect_tooltip = generic_skip_one_line_tt

			set_character_name = {
				character = GER_wilhelm_canaris
				name = GER_admiral_wilhelm_canaris
			}
			custom_effect_tooltip = GER_rename_canaris_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			add_naval_commander_role = {
				character = GER_wilhelm_canaris
				traits = { politically_connected spotter navy_career_officer submarine_captain }
				skill = 4
				attack_skill = 3
				defense_skill = 2
				maneuvering_skill = 4
				coordination_skill = 7
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_a_martial_state
		icon = GFX_goal_GER_fahneneid
		cost = 10

		x = 5
		y = 1
		prerequisite = { focus = GER_found_the_new_german_state }
		mutually_exclusive = { focus = GER_the_abwehrs_germany}
		relative_position_id = GER_found_the_new_german_state

		mutually_exclusive = {
		}

		offset = {
			x = -5
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_a_martial_state
			}

		}
		available = {
			custom_trigger_tooltip = {
				has_completed_focus = GER_a_martial_state
				tooltip = GER_a_martial_state_focus_tt
			}
		}
		ai_will_do = {
		}
		allow_branch = { 
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_found_the_german_interim_government }
				NOT = { has_completed_focus = GER_the_abwehrs_germany}
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		completion_reward = {
			hidden_effect = {
				set_politics = {
					ruling_party = neutrality
					elections_allowed = no
				}
				IF = {
					limit = {
						NOT = {
							OR = {
								has_country_flag = GER_wilhelm_ii_kaiser_flag
								has_country_flag = GER_wilhelm_abdicated
							}
						}
					}
					country_event = {
						id = new_ger.52
						days = 35
					}
				}
			}
			set_party_name = { 
				ideology = neutrality
				long_name = GER_beck_long
				name = GER_ubergang_short
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_timed_idea = {
				idea = GER_angered_abwehr
				days = 365
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = GER_lack_of_civilian_government
				add_idea = GER_lack_of_civilian_government_2
			}
			IF = {
				limit = {
					power_balance_value = {
						id = GER_beck_canaris_struggle
						value > 0.89
					}
				}
				add_ideas = GER_army_power_4
			}
			else_if = {
				limit = {
					power_balance_value = {
						id = GER_beck_canaris_struggle
						value > 0.59
					}
				}
				add_ideas = GER_army_power_3
			}
			else_if = {
				limit = {
					power_balance_value = {
						id = GER_beck_canaris_struggle
						value > 0.29
					}
				}
				add_ideas = GER_army_power_2
			}
			else = {
				add_ideas = GER_army_power
			}
			hidden_effect = {
				remove_power_balance = {
					id = GER_beck_canaris_struggle
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_a_martial_state_tt
			clr_country_flag = GER_dvu_formed
			mark_focus_tree_layout_dirty = yes
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_wilhelm_von_gayl
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_restore_legality_to_germany
		icon = GFX_goal_arrests
		cost = 7.2

		x = -3
		y = 1
		prerequisite = { focus = GER_a_martial_state}
		relative_position_id = GER_a_martial_state

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_ludwig_beck
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_stability = 0.075
			add_popularity = {
				ideology = democratic 
				popularity = 0.05
			}
			add_popularity = {
				ideology = neutrality
				popularity = 0.1
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = {
					has_idea = GER_democratic_resistance_2
				}
				remove_ideas = GER_democratic_resistance_2
			}
			else = {
				swap_ideas = {
					remove_idea = GER_democratic_resistance
					add_idea = GER_democratic_resistance_2
				}
			}
			add_political_power = 50
			unlock_decision_category_tooltip = GER_beck_dealing_with_militia_cat
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = GER_an_era_of_honor
		icon = GFX_goal_GER_entrench_honor_in_society
		cost = 7.2

		x = 0
		y = 1
		prerequisite = { focus = GER_restore_legality_to_germany}
		relative_position_id = GER_restore_legality_to_germany

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_ludwig_beck
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_country_leader_trait = GER_a_man_of_honor
			IF = {
				limit = { has_idea = sour_loser}
				remove_ideas = sour_loser
				custom_effect_tooltip = generic_skip_one_line_tt
				set_rule = {
					can_create_factions = yes
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY}
	}
	focus = {
		id = GER_pass_the_beck_constiution_copy
		icon = GFX_goal_GER_constitution
		cost = 10

		x = 1
		y = 1
		relative_position_id = GER_an_era_of_honor

		mutually_exclusive = {
		}
		offset = {
			y = 3
			x = -1
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_a_martial_state
			}
			
		}

		allow_branch = { 
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				has_completed_focus = GER_a_martial_state
			}
			else = { has_completed_focus = GER_pass_the_beck_constiution }
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
		}

		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_beck_constitution
			custom_effect_tooltip = generic_skip_one_line_tt
			remove_ideas = GER_lack_of_civilian_government_3
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_national_focus = GER_dnvp_in_coalition
			unlock_national_focus = GER_zentrum_in_coalition
			custom_effect_tooltip = generic_skip_one_line_tt
			clr_country_flag = GER_adenauer_leadership
			clr_country_flag = GER_wirth_leadership
			set_country_flag = GER_stegerwald_leadership
			custom_effect_tooltip = GER_pass_the_beck_constiution_tt
			mark_focus_tree_layout_dirty = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_pass_the_beck_constiution
		icon = GFX_goal_GER_constitution
		cost = 10

		x = 0
		y = 0
		prerequisite = { focus = GER_an_era_of_honor}
		prerequisite = { focus = GER_a_dictated_parliament focus = GER_a_guided_kaiserreich}
		relative_position_id = GER_pass_the_beck_constiution_copy

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_ludwig_beck
				ruling_only = yes
			}
			OR = { 
				has_completed_focus = GER_a_dictated_parliament
				has_completed_focus = GER_prepare_the_new_era
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			set_party_name = { 
				ideology = neutrality
				long_name = GER_dnvp_zen_long
				name = GER_dnvp_zen_short
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = GER_beck_constitution
			custom_effect_tooltip = generic_skip_one_line_tt
			
			IF = {
				limit = { has_idea = GER_democratic_resistance_2}
				remove_ideas = GER_democratic_resistance_2
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_national_focus = GER_dnvp_in_coalition
			unlock_national_focus = GER_zentrum_in_coalition
			custom_effect_tooltip = generic_skip_one_line_tt
			clr_country_flag = GER_adenauer_leadership
			clr_country_flag = GER_wirth_leadership
			set_country_flag = GER_stegerwald_leadership
			custom_effect_tooltip = GER_pass_the_beck_constiution_tt
			mark_focus_tree_layout_dirty = yes
			hidden_effect = {
				country_event = {
					id = new_ger.50
					days = 10
				}
			}
			set_country_leader_ideology = conservatism_n
			hidden_effect = {unlock_national_focus = GER_pass_the_beck_constiution_copy}
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_move_towards_responsible_governance
		icon = GFX_goal_generic_freedom
		cost = 7.2

		x = 0
		y = 1
		prerequisite = { focus = GER_a_martial_state}
		relative_position_id = GER_a_martial_state

		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = { has_idea = GER_lack_of_civilian_government_2}
				swap_ideas = {
					remove_idea = GER_lack_of_civilian_government_2
					add_idea = GER_lack_of_civilian_government_3
				}
			}
			else = {
				remove_ideas = GER_lack_of_civilian_government_3
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = GER_responsible_government
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = { has_country_flag = GER_catholic_autonomy_flag}
				every_state = {
					limit = {
						OR = {
							state = 53
							state = 52
							state = 923
							state = 67
							state = 54
							state = 51
							state = 57
						}
					}
					remove_dynamic_modifier = {
						modifier = GER_catholic_autonomy
					}
				}
				clr_country_flag = GER_catholic_autonomy_flag
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}
	}
	focus = {
		id = GER_a_guided_kaiserreich
		icon = GFX_goal_GER_puppet_kaiser
		cost = 10

		x = 1
		y = 1
		prerequisite = { focus = GER_move_towards_responsible_governance}
		relative_position_id = GER_move_towards_responsible_governance

		mutually_exclusive = {
			focus = GER_a_dictated_parliament
		}
		bypass = { has_completed_focus = GER_the_kaiser_rises}
		allow_branch = { 
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_found_the_german_interim_government }
				NOT = { has_completed_focus = GER_a_dictated_parliament }
				NOT = { has_completed_focus = GER_the_abwehrs_germany}
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		available = {
			
			IF = {
				limit = {
					has_country_leader = {
						character = GER_wilhelm_ii
						ruling_only = yes
					}
				}
				NOT = { 
					has_country_leader = {
							character = GER_wilhelm_ii
							ruling_only = yes
					}
				}
			}
			else_if = {
				limit = {
					has_idea = GER_wilhelm_ii_idea_new
				}
				NOT = { has_idea = GER_wilhelm_ii_idea_new }
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_ii_2 }
				NOT = { has_idea = GER_wilhelm_ii_2 }
			}
			else = {
				NOT = { has_idea = GER_wilhelm_ii_3 }
			}
			NOT = { 
				has_country_leader = {
					character = GER_wilhelm_iii
					ruling_only = yes
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			custom_effect_tooltip = GER_louis_ferdinand_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			set_country_leader_ideology = constitutional_monarchy
			unlock_national_focus = GER_the_kaiser_rises
			hidden_effect = { unlock_national_focus = GER_the_kaiser_rises_fake}
			IF = {
				limit = { has_country_flag = GER_wilhelm_iv_supports_canaris}
				country_event = new_ger.112
			}
			else = {
				complete_national_focus = GER_a_new_monarch_for_a_new_age
			}
			IF = {
				limit = { GER_wilhelm_iv = { is_hired_as_advisor = yes }}
				remove_advisor_role = {
					character = GER_wilhelm_iv
					slot = political_advisor
				}
			}
			set_cosmetic_tag = GER_emp
		}
		search_filters = { FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_a_dictated_parliament
		icon = GFX_focus_ARG_keep_it_in_the_party
		cost = 10

		x = -1
		y = 1
		prerequisite = { focus = GER_move_towards_responsible_governance}
		relative_position_id = GER_move_towards_responsible_governance
		mutually_exclusive = { focus = GER_a_guided_kaiserreich }

		mutually_exclusive = {
		}

		offset = {
			x = 1
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_a_dictated_parliament
			}

		}
		available = {
			NOT = { has_completed_focus = GER_the_kaiser_rises}
			NOT = { has_country_flag = GER_wilhelm_iv_supports_beck }
			GER_wilhelm_ii = { is_hired_as_advisor = no }
			GER_wilhelm_iv = { is_hired_as_advisor = no }
		}
		ai_will_do = {
		}
		completion_reward = {
			set_cosmetic_tag = GER_beck_tag
			swap_ideas = {
				remove_idea = GER_responsible_government
				add_idea = GER_responsible_government_2
			}
			remove_ideas = GER_lack_of_civilian_government_2
			custom_effect_tooltip = generic_skip_one_line_tt
			set_country_leader_ideology = controlled_democracy
			add_country_leader_trait = GER_president_of_germany
			mark_focus_tree_layout_dirty = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}

	}
	focus = {
		id = GER_a_guiding_hand_in_politics
		icon = GFX_focus_SWI_establish_pro_helvetia
		cost = 7.2

		x = -1
		y = 1
		prerequisite = { focus = GER_a_dictated_parliament focus = GER_a_guided_kaiserreich}
		relative_position_id = GER_a_guided_kaiserreich

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_ludwig_beck
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			GER_ludwig_beck = {
				swap_country_leader_traits = {
					remove = GER_authoritarian_conservative
					add = GER_guider_of_the_reich
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_military_led_state_building
		icon = GFX_focus_GER_appease_the_wehrmacht
		cost = 7.2

		x = -1
		y = 1
		prerequisite = { focus = GER_a_guiding_hand_in_politics}
		relative_position_id = GER_a_guiding_hand_in_politics

		mutually_exclusive = {
			focus = GER_consolidate_the_kaiserreich
		}

		available = {
			has_country_leader = {
				character = GER_ludwig_beck
				ruling_only = yes
			}
			IF = {
				limit = { has_idea = GER_wilhelm_iv_2 }
				has_idea = GER_wilhelm_iv_2
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_2_b }
				has_idea = GER_wilhelm_iv_2_b
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_3 }
				has_idea = GER_wilhelm_iv_3
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_4 }
				has_idea = GER_wilhelm_iv_4
			}
			else = {
				has_idea = GER_wilhelm_iv_5
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_responsible_government
				add_idea = GER_military_led_state_building_idea
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_consolidate_the_kaiserreich
		icon = GFX_focus_ger_revive_kaiserreich
		cost = 7.2

		x = 1
		y = 1
		prerequisite = { focus = GER_a_guiding_hand_in_politics}
		prerequisite = { focus = GER_embrace_christian_humanism}
		relative_position_id = GER_a_guiding_hand_in_politics

		mutually_exclusive = {
			focus = GER_military_led_state_building
		}

		available = {
			has_country_leader = {
				character = GER_ludwig_beck
				ruling_only = yes
			}
			IF = {
				limit = { has_idea = GER_wilhelm_iv_2 }
				has_idea = GER_wilhelm_iv_2
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_2_b }
				has_idea = GER_wilhelm_iv_2_b
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_3 }
				has_idea = GER_wilhelm_iv_3
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_4 }
				has_idea = GER_wilhelm_iv_4
			}
			else = {
				has_idea = GER_wilhelm_iv_5
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_political_power = 50
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = GER_responsible_government
				add_idea = GER_responsible_government_3
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_power_to_the_aristocracy
		icon = GFX_goal_generic_aristocratic_cooperation
		cost = 7.2

		x = 1
		y = 1
		prerequisite = { focus = GER_consolidate_the_kaiserreich}
		relative_position_id = GER_consolidate_the_kaiserreich

		available = {
			has_country_leader = {
				character = GER_ludwig_beck
				ruling_only = yes
			}
			has_stability > 0.8
			IF = {
				limit = { has_idea = GER_wilhelm_iv_2 }
				has_idea = GER_wilhelm_iv_2
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_2_b }
				has_idea = GER_wilhelm_iv_2_b
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_3 }
				has_idea = GER_wilhelm_iv_3
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_4 }
				has_idea = GER_wilhelm_iv_4
			}
			else = {
				has_idea = GER_wilhelm_iv_5
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_responsible_government_3
				add_idea = GER_responsible_government_4
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				random_select_amount = 3
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_militarize_socity
		icon = GFX_focus_generic_army_modernizations
		cost = 7.2

		x = -1
		y = 1
		prerequisite = { focus = GER_military_led_state_building focus = GER_consolidate_the_kaiserreich}
		relative_position_id = GER_consolidate_the_kaiserreich

		available = {
			has_country_leader = {
				character = GER_ludwig_beck
				ruling_only = yes
			}
			has_idea = GER_stahlhelm_bund_der_frontsoldaten
			IF = {
				limit = { has_idea = GER_wilhelm_iv_2 }
				has_idea = GER_wilhelm_iv_2
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_2_b }
				has_idea = GER_wilhelm_iv_2_b
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_3 }
				has_idea = GER_wilhelm_iv_3
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_4 }
				has_idea = GER_wilhelm_iv_4
			}
			else = {
				has_idea = GER_wilhelm_iv_5
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_stahlhelm_bund_der_frontsoldaten
				add_idea = GER_militarized_society
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_expand_the_reichsverweserschaft
		icon = GFX_goal_generic_army_mobilization
		cost = 7.2

		x = -1
		y = 1
		prerequisite = { focus = GER_military_led_state_building}
		relative_position_id = GER_military_led_state_building

		available = {
			OR = {
				threat > 0.5
				has_war_with_major = yes
			}
			has_country_leader = {
				character = GER_ludwig_beck
				ruling_only = yes
			}
			neutrality > 0.75
			IF = {
				limit = { has_idea = GER_wilhelm_iv_2 }
				has_idea = GER_wilhelm_iv_2
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_2_b }
				has_idea = GER_wilhelm_iv_2_b
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_3 }
				has_idea = GER_wilhelm_iv_3
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_4 }
				has_idea = GER_wilhelm_iv_4
			}
			else = {
				has_idea = GER_wilhelm_iv_5
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_country_leader_trait = GER_reichsverweser
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = r56i_laws_security_order
		}
		search_filters = { FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_entrench_the_gilded_cage
		icon = GFX_goal_generic_jail_democracy
		cost = 7.2

		x = 1
		y = 1
		prerequisite = { focus = GER_expand_the_reichsverweserschaft}
		prerequisite = { focus = GER_militarize_socity }
		relative_position_id = GER_expand_the_reichsverweserschaft

		available = {
			has_country_leader = {
				character = GER_ludwig_beck
				ruling_only = yes
			}
			IF = {
				limit = { has_idea = GER_wilhelm_iv_2 }
				has_idea = GER_wilhelm_iv_2
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_2_b }
				has_idea = GER_wilhelm_iv_2_b
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_3 }
				has_idea = GER_wilhelm_iv_3
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_4 }
				has_idea = GER_wilhelm_iv_4
			}
			else = {
				has_idea = GER_wilhelm_iv_5
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_stability = 0.1
			add_political_power = 100
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = GER_wilhelm_iv_5
				add_idea = GER_wilhelm_iv_6
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_the_compromise_for_national_order
		icon = GFX_focus_ger_return_of_the_kaiser
		cost = 10

		x = -1
		y = 1
		prerequisite = { focus = GER_power_to_the_aristocracy}
		prerequisite = { focus = GER_militarize_socity }
		relative_position_id = GER_power_to_the_aristocracy

		available = {
			has_war_with_major = no
			has_country_leader = {
				character = GER_ludwig_beck
				ruling_only = yes
			}
			IF = {
				limit = { has_idea = GER_wilhelm_iv_2 }
				has_idea = GER_wilhelm_iv_2
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_2_b }
				has_idea = GER_wilhelm_iv_2_b
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_3 }
				has_idea = GER_wilhelm_iv_3
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_4 }
				has_idea = GER_wilhelm_iv_4
			}
			else = {
				has_idea = GER_wilhelm_iv_5
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_stability = 0.1
			add_political_power = 100
			custom_effect_tooltip = generic_skip_one_line_tt
			GER_wilhelm_iv = {
				add_country_leader_role = {
					country_leader = {
						expire = "1965.1.1"
						ideology = constitutional_monarchy
						traits = {GER_moral_soldierly_patriot GER_expanded_duties GER_humanist_monarchist_nonaligned}
					}
					promote_leader = yes
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			
			activate_advisor = ludwig_beck
			set_can_be_fired_in_advisor_role = {
				character = GER_ludwig_beck
				value = no
			}
			hidden_effect = {
				IF = {
					limit = { has_completed_focus = GER_an_era_of_honor}
					add_trait = {
						character = GER_ludwig_beck
						slot = army_chief
						trait = GER_a_man_of_honor
					}
				}
				add_trait = {
					character = GER_ludwig_beck
					slot = army_chief
					trait = GER_guider_of_the_reich
				}
				remove_trait = {
					character = GER_ludwig_beck
					slot = army_chief
					trait = GER_authoritarian_conservative
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_the_kaiser_rises_fake
		icon = GFX_goal_GER_reestablish_the_kaiserreich
		cost = 5

		x = 12
		y = 1

		relative_position_id = GER_found_the_new_german_state

		mutually_exclusive = {
		}
		offset = {
			trigger = { has_country_flag = GER_dnvp_monarchy_flag }
			x = -41
			y = 12
		}
		offset = {
			x = -3
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				OR = {
					has_completed_focus = GER_offer_goerdeler_reconciliation
					has_completed_focus = GER_move_towards_autocracy
				}
			}

		}
		offset = {
			x = -4
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_the_abwehrs_germany
			}

		}
		offset = {
			x = -5
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_a_martial_state
			}

		}

		offset = {
			x = 3
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_country_flag = GER_dnvp_monarchy_flag
			}

		}
		prerequisite = { focus = GER_expand_the_kaisers_duties_fake }
		allow_branch = {
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				OR = {
					NOT = { has_completed_focus = GER_found_the_german_interim_government }
					has_country_flag = GER_dnvp_monarchy_flag
				}
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
				NOT = { has_completed_focus = GER_a_dictated_parliament }
			}
		}
		available = {
			hidden_trigger = { always = no }
			OR = {
				custom_trigger_tooltip = {
					tooltip =  GER_restored_kaiserreich_tt
					has_country_flag = GER_dnvp_monarchy_flag
				}
				has_completed_focus = GER_a_coup_in_all_but_name
				has_completed_focus = GER_a_guided_kaiserreich
				custom_trigger_tooltip = {
					tooltip =  GER_restored_kaiserreich_canaris_tt
					has_completed_focus = GER_the_kaiser_rises
				}
				custom_trigger_tooltip = {
					tooltip = GER_the_old_man_still_has_it_tt
					has_completed_focus = GER_the_kaiser_rises
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			custom_effect_tooltip = GER_the_kaiser_rises_tt
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_the_kaiser_rises
		icon = GFX_goal_GER_reestablish_the_kaiserreich
		cost = 5

		x = 0
		y = 0
		prerequisite = { focus = GER_found_the_new_german_state }

		relative_position_id = GER_the_kaiser_rises_fake
		mutually_exclusive = {
		}

		allow_branch = {
			NOT = { has_country_flag = GER_dnvp_monarchy_flag}
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_found_the_german_interim_government }
				NOT = { has_completed_focus = GER_a_dictated_parliament }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		available = {
			hidden_trigger = { always = no }
			OR = {
				custom_trigger_tooltip = {
					tooltip = GER_the_old_man_still_has_it_tt
					has_completed_focus = GER_the_kaiser_rises
				}
				custom_trigger_tooltip = {
					tooltip =  GER_restored_kaiserreich_tt
					has_country_flag = GER_dnvp_monarchy_flag
				}
				custom_trigger_tooltip = {
					tooltip =  GER_restored_kaiserreich_canaris_tt
					has_completed_focus = GER_the_kaiser_rises
				}
				has_completed_focus = GER_a_coup_in_all_but_name
				has_completed_focus = GER_a_guided_kaiserreich
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			custom_effect_tooltip = GER_the_kaiser_rises_tt
			hidden_effect = { complete_national_focus = GER_the_kaiser_rises_fake }
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_a_new_monarch_for_a_new_age
		icon = GFX_goal_ger_wilhelm_iv
		cost = 0

		x = -3
		y = 1
		prerequisite = { focus = GER_the_kaiser_rises_fake }

		relative_position_id = GER_the_kaiser_rises_fake

		offset = {
			trigger = { has_country_flag = GER_dnvp_monarchy_flag }
			x = 3
		}
		offset = {
			x = 3
			trigger = {	
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_the_abwehrs_germany
			}

		}
		mutually_exclusive = {
		}

		available = {
			custom_trigger_tooltip = {
				has_completed_focus = GER_a_new_monarch_for_a_new_age
				tooltip = GER_a_new_monarch_for_a_new_age_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = { has_country_flag = GER_louis_ferdinand_flag }
				add_ideas = GER_louis_ferdinand_2
			}
			else_if = {
				limit = {
					has_idea = GER_wilhelm_iv
				}
				swap_ideas = {
					remove_idea = GER_wilhelm_iv
					add_idea = GER_wilhelm_iv_2
				}
			}
			else = {
				add_ideas = GER_wilhelm_iv_2
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER}
	}
	focus = {
		id = GER_cleanse_the_kaiser_wilhelm_institute
		icon = GFX_goal_generic_double_research
		cost = 10

		x = 6
		y = 1
		prerequisite = { focus = GER_the_kaiser_rises_fake }

		relative_position_id = GER_the_kaiser_rises_fake

		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		offset = {
			x = -10
			y = 1
			trigger = {
				has_country_flag = GER_dnvp_monarchy_flag
			}
		}
		completion_reward = {
			64 = {
				add_building_construction = {
					type = landmark_kaiser_wilhelm_institutes
					level = 1
					instant_build = yes
					province = 6521
				}
			}
			custom_effect_tooltip = GER_kaiser_wilhelm_institute_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			random_owned_controlled_state = {
				prioritize = { 64 }
				limit = {
					is_core_of = 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
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER}
	}
	focus = {
		id = GER_r56_glorious_mechanical_mechanations
		icon = GFX_focus_GER_wunderwaffe

		x = 1
		y = 1
		prerequisite = { focus = GER_cleanse_the_kaiser_wilhelm_institute }

		relative_position_id = GER_cleanse_the_kaiser_wilhelm_institute
		cost = 5
		available = {
		}
 
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_breakthrough_progress = {
				specialization = specialization_land
				value = 0.25
			}
			add_breakthrough_progress = {
				specialization = specialization_naval
				value = 0.25
			}

			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
			}

			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
				}
			}

		}
	}
	focus = {
		id = GER_bring_the_kaiserreich_back_to_the_forefront_of_development
		icon = GFX_focus_generic_university_2

		x = -1
		y = 1
		prerequisite = { focus = GER_cleanse_the_kaiser_wilhelm_institute }

		relative_position_id = GER_cleanse_the_kaiser_wilhelm_institute
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

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

			custom_effect_tooltip = generic_skip_one_line_tt

			GER_modify_industrial_modifier = yes
			add_to_variable = { 
				GER_industrial_research_speed_factor = 0.05
				tooltip = research_speed_factor_tt 
			}
		}
	}
	focus = {
		id = GER_modernize_the_monarchy
		icon = GFX_goal_constitutional_monarchy
		cost = 7.2

		x = -1
		y = 1
		prerequisite = { focus = GER_a_new_monarch_for_a_new_age }

		relative_position_id = GER_a_new_monarch_for_a_new_age

		mutually_exclusive = {
			focus = GER_a_patriotic_monarchy
		}

		offset = {
			trigger = { has_country_flag = GER_dnvp_monarchy_flag }
			x = -1
		}
		available = {
			IF = {
				limit = { has_idea = GER_louis_ferdinand_2 }
				has_idea = GER_louis_ferdinand_2
			}
			else_if = {
				limit = { has_idea = GER_louis_ferdinand_3 }
				has_idea = GER_louis_ferdinand_3
			}
			else_if = {
				limit = { has_idea = GER_louis_ferdinand_4 }
				has_idea = GER_louis_ferdinand_4
			}
			else = {
				has_idea = GER_louis_ferdinand_5
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_louis_ferdinand_2
				add_idea = GER_louis_ferdinand_3
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH}
	}
	focus = {
		id = GER_a_patriotic_monarchy
		icon = GFX_goal_GER_vdp
		cost = 7.2

		x = 1
		y = 1
		prerequisite = { focus = GER_a_new_monarch_for_a_new_age }

		relative_position_id = GER_a_new_monarch_for_a_new_age

		mutually_exclusive = {
			focus = GER_modernize_the_monarchy
		}

		offset = {
			trigger = { has_country_flag = GER_dnvp_monarchy_flag }
			x = -1
		}
		available = {
			IF = {
				limit = { has_idea = GER_wilhelm_iv_2 }
				has_idea = GER_wilhelm_iv_2
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_2_b }
				has_idea = GER_wilhelm_iv_2_b
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_3 }
				has_idea = GER_wilhelm_iv_3
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_4 }
				has_idea = GER_wilhelm_iv_4
			}
			else = {
				has_idea = GER_wilhelm_iv_5
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_wilhelm_iv_2
				add_idea = GER_wilhelm_iv_3
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH}
	}
	focus = {
		id = GER_embrace_christian_humanism
		icon = GFX_goal_generic_friendship_with_church
		cost = 5

		x = 1
		y = 1
		prerequisite = { focus = GER_a_patriotic_monarchy focus = GER_modernize_the_monarchy }

		relative_position_id = GER_modernize_the_monarchy

		mutually_exclusive = {
		}

		available = {
			OR = {
				IF = {
					limit = { has_idea = GER_wilhelm_iv_2 }
					has_idea = GER_wilhelm_iv_2
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_iv_2_b }
					has_idea = GER_wilhelm_iv_2_b
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_iv_3 }
					has_idea = GER_wilhelm_iv_3
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_iv_4 }
					has_idea = GER_wilhelm_iv_4
				}
				else = {
					has_idea = GER_wilhelm_iv_5
				}
				IF = {
					limit = { has_idea = GER_louis_ferdinand_2 }
					has_idea = GER_louis_ferdinand_2
				}
				else_if = {
					limit = { has_idea = GER_louis_ferdinand_3 }
					has_idea = GER_louis_ferdinand_3
				}
				else_if = {
					limit = { has_idea = GER_louis_ferdinand_4 }
					has_idea = GER_louis_ferdinand_4
				}
				else = {
					has_idea = GER_louis_ferdinand_5
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = { has_country_flag = GER_louis_ferdinand_flag }
				swap_ideas = {
					remove_idea = GER_louis_ferdinand_3
					add_idea = GER_louis_ferdinand_4
				}
			}
			else = {
				swap_ideas = {
					remove_idea = GER_wilhelm_iv_3
					add_idea = GER_wilhelm_iv_4
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY}
	}
	focus = {
		id = GER_spread_ideals_of_soldierly_conscience
		icon = GFX_goal_GER_army_mon
		cost = 7.2

		x = 1
		y = 1
		prerequisite = { focus = GER_embrace_christian_humanism }
		prerequisite = { focus = GER_restore_discipline_in_the_military}

		relative_position_id = GER_embrace_christian_humanism

		mutually_exclusive = {
			focus = GER_expand_liberalization_efforts
		}

		available = {
			IF = {
				limit = { has_idea = GER_wilhelm_iv_2 }
				has_idea = GER_wilhelm_iv_2
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_2_b }
				has_idea = GER_wilhelm_iv_2_b
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_3 }
				has_idea = GER_wilhelm_iv_3
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_iv_4 }
				has_idea = GER_wilhelm_iv_4
			}
			else = {
				has_idea = GER_wilhelm_iv_5
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_wilhelm_iv_4
				add_idea = GER_wilhelm_iv_5
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = unlock_GER_expand_control_over_the_wehrmacht_which_grants
			effect_tooltip = {
					
				add_mastery = {
					amount = 150
					track = infantry
				}
				add_command_power = 50
				add_war_support = 0.05
				custom_effect_tooltip = generic_skip_one_line_tt
				GER_wilhelm_iv = {
					add_field_marshal_role = {					
						traits = { infantry_leader politically_connected infantry_officer war_hero promising caring_leader }
						skill=2
						attack_skill=3
						defense_skill=1
						planning_skill=2
						logistics_skill=2
					}
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = unlock_GER_reforge_the_stahlhelm_which_grants
			effect_tooltip = {
				add_manpower = 5000
				add_ideas = GER_stahlhelm_bund_der_frontsoldaten
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = GER_theodor_duesterberg
			}
		}
	}
	focus = {
		id = GER_expand_liberalization_efforts
		icon = GFX_goal_democracy_people
		cost = 5

		x = -1
		y = 1
		mutually_exclusive = { focus = GER_spread_ideals_of_soldierly_conscience}
		prerequisite = { focus = GER_embrace_christian_humanism }
		prerequisite = { focus = GER_a_guiding_hand_in_politics }

		relative_position_id = GER_embrace_christian_humanism
		mutually_exclusive = {
		}
		allow_branch = {
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			NOT = { has_country_flag = GER_dnvp_monarchy_flag}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_a_dictated_parliament }
				NOT = { has_completed_focus = GER_the_abwehrs_germany }
				OR = {
					NOT = { has_completed_focus = GER_found_the_german_interim_government }
					has_country_flag = GER_dnvp_monarchy_flag
				}
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}

		available = {
			IF = {
				limit = { has_idea = GER_louis_ferdinand_2 }
				has_idea = GER_louis_ferdinand_2
			}
			else_if = {
				limit = { has_idea = GER_louis_ferdinand_3 }
				has_idea = GER_louis_ferdinand_3
			}
			else_if = {
				limit = { has_idea = GER_louis_ferdinand_4 }
				has_idea = GER_louis_ferdinand_4
			}
			else = {
				has_idea = GER_louis_ferdinand_5
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}
			add_timed_idea = {
				idea = GER_liberalization_efforts 
				days = 365
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_prepare_the_new_era
		icon = GFX_focus_GER_monarchy_compromise
		cost = 10

		x = 2
		y = 1
		prerequisite = { focus = GER_expand_liberalization_efforts }
		prerequisite = { focus = GER_an_old_germany_for_a_new_age }

		relative_position_id = GER_expand_liberalization_efforts
		mutually_exclusive = {
		}

		available = {
			NOT = { has_idea = GER_liberalization_efforts}
			IF = {
				limit = { has_idea = GER_louis_ferdinand_2 }
				has_idea = GER_louis_ferdinand_2
			}
			else_if = {
				limit = { has_idea = GER_louis_ferdinand_3 }
				has_idea = GER_louis_ferdinand_3
			}
			else_if = {
				limit = { has_idea = GER_louis_ferdinand_4 }
				has_idea = GER_louis_ferdinand_4
			}
			else = {
				has_idea = GER_louis_ferdinand_5
			}
			democratic > 0.3
		}
		ai_will_do = {
		}
		completion_reward = {
			add_stability = 0.1
			add_political_power = 50
			add_popularity = {
				ideology = ROOT
				popularity = 0.1
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			remove_ideas = GER_democratic_resistance_2
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}
	}
	focus = {
		id = GER_the_old_man_still_has_it
		icon = GFX_goal_GER_wilhelm_ii
		cost = 0

		x = 3
		y = 1
		prerequisite = { focus = GER_the_kaiser_rises }

		relative_position_id = GER_the_kaiser_rises

		mutually_exclusive = {
		}

		allow_branch = {
			NOT = { has_country_flag = GER_dnvp_monarchy_flag}
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_found_the_german_interim_government }
				NOT = { has_completed_focus = GER_a_dictated_parliament }
				NOT = { has_completed_focus = GER_the_abwehrs_germany}
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
			}
		}
		available = {
			custom_trigger_tooltip = {
				has_completed_focus = GER_the_old_man_still_has_it
				tooltip = GER_the_old_man_still_has_it_tt
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_wilhelm_ii_idea_new
			IF = {
				limit = { 
					GER_wilhelm_ii = { is_hired_as_advisor = yes }
				}
				deactivate_advisor = GER_wilhelm_ii
			}
			remove_advisor_role = {
				character = GER_wilhelm_ii
				slot = political_advisor
			}
			set_country_flag = GER_louis_ferdinand_flag
		}
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER}
	}
	focus = {
		id = GER_embark_on_the_quest_to_absolutism
		icon = GFX_focus_GRE_monarchist_fervour
		cost = 7.2

		x = 0
		y = 1
		prerequisite = { focus = GER_the_old_man_still_has_it }

		relative_position_id = GER_the_old_man_still_has_it
		select_effect = {
			country_event = {
				id = new_ger.54
				days = 3
			}
		}
		mutually_exclusive = {
		}

		available = {
			NOT = { has_country_flag = GER_no_aboslutism }
			IF = {
				limit = {
					has_country_leader = {
						character = GER_wilhelm_ii
						ruling_only = yes
					}
				}
				has_country_leader = {
						character = GER_wilhelm_ii
						ruling_only = yes
				}
			}
			else_if = {
				limit = {
					has_idea = GER_wilhelm_ii_idea_new
				}
				has_idea = GER_wilhelm_ii_idea_new
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_ii_2 }
				has_idea = GER_wilhelm_ii_2
			}
			else = {
				has_idea = GER_wilhelm_ii_3
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			set_power_balance = {
				id = GER_wilhelm_ii_bop
				set_default = yes
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_rely_on_divine_right
		icon = GFX_focus_mex_restore_the_army_of_christ
		cost = 10

		x = 0
		y = 1
		prerequisite = { focus = GER_embark_on_the_quest_to_absolutism }

		relative_position_id = GER_embark_on_the_quest_to_absolutism

		mutually_exclusive = {
		}

		available = {
			power_balance_value = {
				id = GER_wilhelm_ii_bop
				value < -0.2
			}
			IF = {
				limit = {
					has_country_leader = {
						character = GER_wilhelm_ii
						ruling_only = yes
					}
				}
				has_country_leader = {
						character = GER_wilhelm_ii
						ruling_only = yes
				}
			}
			else_if = {
				limit = {
					has_idea = GER_wilhelm_ii_idea_new
				}
				has_idea = GER_wilhelm_ii_idea_new
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_ii_2 }
				has_idea = GER_wilhelm_ii_2
			}
			else = {
				has_idea = GER_wilhelm_ii_3
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = {
					has_idea = GER_democratic_resistance_2
				}
				remove_ideas = GER_democratic_resistance_2
			}
			else = {
				swap_ideas = {
					remove_idea = GER_democratic_resistance
					add_idea = GER_democratic_resistance_2
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_power_balance_value = {
				id = GER_wilhelm_ii_bop
				value = -0.03
				tooltip_side = GER_wilhelm_ii_side_new
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = GER_wilhelm_ii_idea_new
				add_idea = GER_wilhelm_ii_2
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT}
	}
	focus = {
		id = GER_reconcile_the_crown_prince
		icon = GFX_goal_GER_wilhelm_iii
		cost = 4

		x = 5
		y = 1
		prerequisite = { focus = GER_embark_on_the_quest_to_absolutism }

		relative_position_id = GER_embark_on_the_quest_to_absolutism

		mutually_exclusive = {
		}

		available = {
			has_country_flag = GER_wilhelm_ii_iv_rift
			IF = {
				limit = {
					has_country_leader = {
						character = GER_wilhelm_ii
						ruling_only = yes
					}
				}
				has_country_leader = {
						character = GER_wilhelm_ii
						ruling_only = yes
				}
			}
			else_if = {
				limit = {
					has_idea = GER_wilhelm_ii_idea_new
				}
				has_idea = GER_wilhelm_ii_idea_new
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_ii_2 }
				has_idea = GER_wilhelm_ii_2
			}
			else = {
				has_idea = GER_wilhelm_ii_3
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_power_balance_value = {
				id = GER_wilhelm_ii_bop
				value = -0.04
				tooltip_side = GER_wilhelm_ii_side_new
			}
			custom_effect_tooltip = GER_wilhelm_iii_kaiser_tt
		}
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER}
	}
	focus = {
		id = GER_reach_out_to_old_allies
		icon = GFX_goal_GER_reach_out_to_old_allies
		cost = 8

		x = -1
		y = 1
		prerequisite = { focus = GER_reconcile_the_crown_prince }
		mutually_exclusive = { focus = GER_work_with_the_aristocracy }

		relative_position_id = GER_reconcile_the_crown_prince

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_wilhelm_iii
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			hidden_effect = {
				random_list = {
					80 = {
						set_country_flag = model_survived
					}
					20 = { } # No effect
				}
				random_list = {
					60 = {
						set_country_flag = kruger_survived
					}
					40 = { } # No effect
				}
				random_list = {
					90 = {
						set_country_flag = hausser_survived
					}
					10 = { } # No effect
				}
				random_list = {
					75 = {
						set_country_flag = dietrich_survived
					}
					25 = { } # No effect
				}
			}
			add_stability = -0.05
			add_popularity = { ideology = fascism popularity = 0.05 }
			custom_effect_tooltip = reinstate_nazi_leadership_TT
			set_country_flag = GER_reinstated_nazi_leadership
			if = {  #I'm leaving these guys in the old system for now because it would be a lot of trouble to make them work properly and need not sure if it's worth it right now.
				limit = {
					has_country_flag = model_survived
				}
				create_field_marshal = {
					name = GER_walter_model
					picture = GFX_portrait_GER_walter_model
					traits = { defensive_doctrine brilliant_strategist trait_cautious }
					skill = 3
					id = 10
					attack_skill = 2
					defense_skill = 4
					planning_skill = 2
					logistics_skill = 2
				}
				clr_country_flag = model_survived
			}
			if = {
				limit = {
					has_country_flag = kruger_survived
				}
				create_corps_commander = {
					name = "Walter Krüger"
					picture = GFX_portrait_Walter_Kruger
					traits = { panzer_leader trait_reckless }
					skill = 3
					id = 15
					attack_skill = 3
					defense_skill = 3
					planning_skill = 1
					logistics_skill = 3
				}
				clr_country_flag = kruger_survived
			}
			if = {
				limit = {
					has_country_flag = hausser_survived
				}
				create_corps_commander = {
					name = "Paul Hausser"
					picture = GFX_portrait_Paul_Hausser
					traits = {  armor_officer }
					skill = 4
					id = 20
					attack_skill = 3
					defense_skill = 3
					planning_skill = 4
					logistics_skill = 3
				}
				clr_country_flag = hausser_survived
			}
			if = {
				limit = {
					has_country_flag = dietrich_survived
				}
				create_corps_commander = {
					name = "Sepp Dietrich"
					picture = GFX_portrait_Sepp_Dietrich
					traits = { armor_officer brilliant_strategist trait_reckless }
					skill = 4
					id = 24
					attack_skill = 3
					defense_skill = 3
					planning_skill = 5
					logistics_skill = 4
				}
				clr_country_flag = dietrich_survived
			}
			GER_wilhelm_iii = {
				swap_country_leader_traits = {
					remove = GER_ties_to_the_nazis
					add = GER_ties_to_the_nazis_3
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = GER_work_with_the_aristocracy
		icon = GFX_goal_GER_junkers
		cost = 5

		x = 1
		y = 1
		prerequisite = { focus = GER_reconcile_the_crown_prince }
		mutually_exclusive = { focus = GER_reach_out_to_old_allies}

		relative_position_id = GER_reconcile_the_crown_prince

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_wilhelm_iii
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_aristocratic_support
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY}
	}
	focus = {
		id = GER_bring_back_the_old_heirarchy
		icon = GFX_goal_generic_eagle
		cost = 7.2
		x = 1
		y = 1
		prerequisite = { focus = GER_work_with_the_aristocracy }

		relative_position_id = GER_work_with_the_aristocracy

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_wilhelm_iii
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_aristocratic_support
				add_idea = GER_aristocratic_support_2 
			}
			add_ideas = r56i_laws_social_hierarchy
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY}
	}
	focus = {
		id = GER_distance_from_past_mistakes
		icon = GFX_goal_GER_distance_from_past_mistakes
		cost = 7.2

		x = 3
		y = 1
		prerequisite = { focus = GER_work_with_the_aristocracy }

		relative_position_id = GER_work_with_the_aristocracy

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_wilhelm_iii
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			GER_wilhelm_iii = {
				swap_country_leader_traits = {
					remove = GER_ties_to_the_nazis
					add = GER_ties_to_the_nazis_2
				}
			}
			add_popularity = { 
				ideology = fascism
				popularity = -0.1
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_full_rehabilitation
		icon = GFX_goal_GER_secure_the_armys_support
		cost = 8.7

		x = 0
		y = 2
		prerequisite = { focus = GER_distance_from_past_mistakes }
		prerequisite = { focus = GER_a_germany_of_the_elites}

		relative_position_id = GER_distance_from_past_mistakes

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_wilhelm_iii
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			remove_country_leader_trait = GER_ties_to_the_nazis_2
			add_stability = 0.05
			add_popularity = { 
				ideology = fascism
				popularity = -0.1
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}
	}
	focus = {
		id = GER_a_germany_of_the_elites
		icon = GFX_focus_GER_all_for_the_front
		cost = 10

		x = 0
		y = 1
		prerequisite = { focus = GER_bring_back_the_old_heirarchy }

		relative_position_id = GER_bring_back_the_old_heirarchy

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_wilhelm_iii
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_aristocratic_support_2
				add_idea = GER_a_germany_of_the_elites_idea
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY}
	}
	focus = {
		id = GER_noble_advisors
		icon = GFX_focus_generic_monarchy_2
		cost = 7.2

		x = 0
		y = 1
		prerequisite = { focus = GER_a_germany_of_the_elites }

		relative_position_id = GER_a_germany_of_the_elites

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_wilhelm_iii
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			GER_modify_army_modifier = yes
			add_to_variable = { 
				GER_military_army_org_factor = 0.05
				tooltip = army_org_factor_tt
			}	
			add_to_variable = { 
				GER_military_army_morale_factor = 0.05
				tooltip = army_morale_factor_tt
			}
			add_to_variable = { 
				GER_military_planning_speed = -0.2
				tooltip = planning_speed_factor_tt
			}
			add_to_variable = {
				GER_military_land_doctrine_cost_factor = 0.25
				tooltip = land_doctrine_cost_factor_tt
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			if = {
				limit = {
					has_character = GER_wilhelm_iii
				}
				GER_wilhelm_iii = {
					gain_xp = 1000
				}
			}
			if = {
				limit = {
					has_character = GER_eitel_friedrich_von_prussia
				}
				GER_eitel_friedrich_von_prussia = {
					gain_xp = 1000
				}
			}
			if = {
				limit = {
					has_character = GER_rupprecht_i
				}
				GER_rupprecht_i = {
					gain_xp = 1000
				}
			}
		}
		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER }
	}
	focus = {
		id = GER_offer_concessions_to_the_elites
		icon = GFX_goal_generic_aristocratic_cooperation
		cost = 5

		x = 1
		y = 1
		prerequisite = { focus = GER_distance_from_past_mistakes }

		relative_position_id = GER_distance_from_past_mistakes

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_wilhelm_iii
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			custom_effect_tooltip = GER_offer_concessions_to_the_elites_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = GER_aristocratic_military_funding
			unlock_decision_tooltip = GER_elite_propaganda_campaign
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT}
	}
	focus = {
		id = GER_secure_the_armys_support
		icon = GFX_goal_GER_personal_leadership
		cost = 7.2

		x = -1
		y = 1
		prerequisite = { focus = GER_work_with_the_aristocracy focus = GER_reach_out_to_old_allies}

		relative_position_id = GER_work_with_the_aristocracy

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_wilhelm_iii
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_neoabsolutist_restoration
				add_idea = GER_neoabsolutist_restoration_2
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_natural_leadership_for_the_best_men
		icon = GFX_goal_GER_natural_leadership_for_the_best_man
		cost = 10

		x = 0
		y = 2
		prerequisite = { focus = GER_secure_the_armys_support }
		prerequisite = { focus = GER_radicalize_the_army focus = GER_espouse_voelkish_nationalism focus = GER_a_germany_of_the_elites }

		relative_position_id = GER_secure_the_armys_support

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_wilhelm_iii
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			effect_tooltip = {
				GER_wilhelm_iii = {
					add_field_marshal_role = {					
						traits = { old_guard politically_connected infantry_officer }
						skill=3
						attack_skill=4
						defense_skill=3
						planning_skill=1
						logistics_skill=2
					}
				}
			}
			swap_ideas = {
				remove_idea = GER_neoabsolutist_restoration_2
				add_idea = GER_neoabsolutist_restoration_3
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_country_leader_trait = GER_natural_leadership 
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_build_a_cult_of_personality
		icon = GFX_goal_GER_build_a_cult_of_personality
		cost = 10 
		x = -2
		y = 1
		prerequisite = { focus = GER_reach_out_to_old_allies }
		prerequisite = { focus = GER_restore_the_fahneneid}

		relative_position_id = GER_reach_out_to_old_allies

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_wilhelm_iii
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			GER_wilhelm_iii = {
				swap_country_leader_traits = {
					remove = GER_ties_to_the_nazis_3
					add = GER_cult_of_personality
				}
			}
			add_ideas = r56i_laws_leadership_cult
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_espouse_voelkish_nationalism
		icon = GFX_goal_GER_open_the_german_political_sphere
		cost = 7.2

		x = -1
		y = 1
		prerequisite = { focus = GER_build_a_cult_of_personality }

		relative_position_id = GER_build_a_cult_of_personality

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_wilhelm_iii
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			GER_wilhelm_iii = {
				swap_country_leader_traits = {
					remove = GER_cult_of_personality
					add = GER_center_of_the_voelkish_cult
				}
			}
			IF = {
				limit = { has_country_flag = GER_catholic_autonomy_flag}
				every_state = {
					limit = {
						OR = {
							state = 53
							state = 52
							state = 923
							state = 67
							state = 54
							state = 51
							state = 57
						}
					}
					remove_dynamic_modifier = {
						modifier = GER_catholic_autonomy
					}
				}
				clr_country_flag = GER_catholic_autonomy_flag
			}
		}
		search_filters = { FOCUS_FILTER_MANPOWER }
	}
	focus = {
		id = GER_radicalize_the_army
		icon = GFX_goal_GER_radicalize_the_army
		cost = 7.2

		x = 1
		y = 1
		prerequisite = { focus = GER_build_a_cult_of_personality }
		prerequisite = { focus = GER_secure_the_armys_support }

		relative_position_id = GER_build_a_cult_of_personality

		mutually_exclusive = {
		}

		available = {
			has_country_leader = {
				character = GER_wilhelm_iii
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_radicalized_army
		}
	}
	focus = {
		id = GER_towards_national_militarization
		icon = GFX_focus_generic_monarchist_workers
		cost = 10

		x = 2
		y = 1
		prerequisite = { focus = GER_espouse_voelkish_nationalism }
		prerequisite = { focus = GER_radicalize_the_army }

		relative_position_id = GER_espouse_voelkish_nationalism

		mutually_exclusive = {
		}

		available = {
			has_war_support > 0.9
			OR = {
				has_war = yes
				threat > 0.75
			}
			has_country_leader = {
				character = GER_wilhelm_iii
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_war_support = 0.05
			add_manpower = 20000
			custom_effect_tooltip = generic_skip_one_line_tt
			GER_modify_army_modifier = yes
			add_to_variable = {
				GER_military_mobilization_speed = 0.1
				tooltip = mobilization_speed_tt
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			GER_modify_industrial_modifier = yes
			add_to_variable = {
				GER_industrial_production_speed_arms_factory_factor = 0.1
				tooltip = production_speed_arms_factory_factor_tt
			}
			add_to_variable = {
				GER_industrial_production_lack_of_resource_penalty_factor = -0.2
				tooltip = production_lack_of_resource_penalty_factor_tt
			}
		}
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }
	}
	focus = {
		id = GER_coopt_the_sa
		icon = GFX_focus_SWE_revoke_militia_law
		cost = 10

		x = -2
		y = 1
		prerequisite = { focus = GER_espouse_voelkish_nationalism }

		relative_position_id = GER_espouse_voelkish_nationalism

		mutually_exclusive = {
		}

		available = {
			fascism > 0.5
			OR = {
				64 = {
					has_dynamic_modifier = {
						modifier = GER_sa_state_modifier
						scope = 64
					}
				}
				54 = {
					has_dynamic_modifier = {
						modifier = GER_sa_state_modifier
						scope = 54
					}
				}
				63 = {
					has_dynamic_modifier = {
						modifier = GER_sa_state_modifier
						scope = 63
					}
				}
				922 = {
					has_dynamic_modifier = {
						modifier = GER_sa_state_modifier
						scope = 922
					}
				}
				52 = {
					has_dynamic_modifier = {
						modifier = GER_sa_state_modifier
						scope = 52
					}
				}
				51 = {
					has_dynamic_modifier = {
						modifier = GER_sa_state_modifier
						scope = 51
					}
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_popularity = {
				ideology = fascism
				popularity = 0.1
			}
			add_stability = 0.1
			add_political_power = 100
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = {
					64 = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 64
						}
					}
				}
				64 = {
					remove_dynamic_modifier = {
						modifier = GER_sa_state_modifier
						scope = 64
					}
					add_dynamic_modifier = {
						modifier = GER_sa_state_modifier_upgraded
					}
				}
			}
			IF = {
				limit = {
					54 = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 54
						}
					}
				}
				54 = {
					remove_dynamic_modifier = {
						modifier = GER_sa_state_modifier
						scope = 54
					}
					add_dynamic_modifier = {
						modifier = GER_sa_state_modifier_upgraded
					}
				}
			}
			IF = {
				limit = {
					63 = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 63
						}
					}
				}
				63 = {
					remove_dynamic_modifier = {
						modifier = GER_sa_state_modifier
						scope = 63
					}
					add_dynamic_modifier = {
						modifier = GER_sa_state_modifier_upgraded
					}
				}
			}
			IF = {
				limit = {
					922 = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 922
						}
					}
				}
				922 = {
					remove_dynamic_modifier = {
						modifier = GER_sa_state_modifier
						scope = 922
					}
					add_dynamic_modifier = {
						modifier = GER_sa_state_modifier_upgraded
					}
				}
			}
			IF = {
				limit = {
					52 = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 52
						}
					}
				}
				52 = {
					remove_dynamic_modifier = {
						modifier = GER_sa_state_modifier
						scope = 52
					}
					add_dynamic_modifier = {
						modifier = GER_sa_state_modifier_upgraded
					}
				}
			}
			IF = {
				limit = {
					51 = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 51
						}
					}
				}
				51 = {
					remove_dynamic_modifier = {
						modifier = GER_sa_state_modifier
						scope = 51
					}
					add_dynamic_modifier = {
						modifier = GER_sa_state_modifier_upgraded
					}
				}
			}
		}
		search_filters = {FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_achieve_national_renewal
		icon = GFX_goal_GER_achieve_national_renewal
		cost = 10

		x = 0
		y = 1
		prerequisite = { focus = GER_espouse_voelkish_nationalism }
		prerequisite = { focus = GER_radicalize_the_army }

		relative_position_id = GER_espouse_voelkish_nationalism

		mutually_exclusive = {
		}

		available = {
			fascism > 0.35
			has_country_leader = {
				character = GER_wilhelm_iii
				ruling_only = yes
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			GER_wilhelm_iii = {
				swap_country_leader_traits = {
					remove = GER_center_of_the_voelkish_cult
					add = GER_center_of_the_voelkish_cult_2
				}
			}
			add_ideas = GER_national_renewal
			custom_effect_tooltip = generic_skip_one_line_tt
			set_politics = {
				ruling_party = fascism
				elections_allowed = no
			}
			hidden_effect = {
				GER_wilhelm_iii = {
					add_country_leader_role = {
						country_leader = {
							expire = "1965.1.1"
							ideology = ultranationalism
							traits = {
								GER_center_of_the_voelkish_cult_2
							}
						}
						promote_leader = yes
					}
				}
				IF = {
					limit = { has_completed_focus = GER_natural_leadership_for_the_best_men}
					add_country_leader_trait = GER_natural_leadership
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			set_party_name = {
				ideology = fascism
				name = GER_hh_party
				long_name = GER_hh_party
			}
		}
		search_filters = {FOCUS_FILTER_STABILITY FOCUS_FILTER_MANPOWER FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_control_the_press
		icon = GFX_goal_generic_censorship
		cost = 7.2

		x = 2
		y = 1
		prerequisite = { focus = GER_embark_on_the_quest_to_absolutism }

		relative_position_id = GER_embark_on_the_quest_to_absolutism

		mutually_exclusive = {
		}

		available = {
			power_balance_value = {
				id = GER_wilhelm_ii_bop
				value < 0.35
			}
			IF = {
				limit = {
					has_idea = GER_wilhelm_ii_idea_new
				}
				has_idea = GER_wilhelm_ii_idea_new
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_ii_2 }
				has_idea = GER_wilhelm_ii_2
			}
			else = {
				has_idea = GER_wilhelm_ii_3
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_political_power = 25
			custom_effect_tooltip = generic_skip_one_line_tt
			add_power_balance_value = {
				id = GER_wilhelm_ii_bop
				value = -0.1
				tooltip_side = GER_wilhelm_ii_side_new
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = unlock_pro_kaiser_propaganda_which_grants
			effect_tooltip = {
				add_power_balance_value = {
					id = GER_wilhelm_ii_bop
					value = -0.05
					tooltip_side = GER_wilhelm_ii_side_new
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = unlock_slander_beck_which_grants
			effect_tooltip = {
				add_power_balance_value = {
					id = GER_wilhelm_ii_bop
					value = -0.05
					tooltip_side = GER_wilhelm_ii_side_new
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = GER_restore_the_fahneneid
		icon = GFX_focus_GER_prussian_legacy
		cost = 7.2

		x = -1
		y = 1
		prerequisite = { focus = GER_rely_on_divine_right}

		relative_position_id = GER_control_the_press

		mutually_exclusive = {
		}

		available = {
			power_balance_value = {
				id = GER_wilhelm_ii_bop
				value < -0.3
			}
			IF = {
				limit = {
					has_country_leader = {
						character = GER_wilhelm_ii
						ruling_only = yes
					}
				}
				has_country_leader = {
						character = GER_wilhelm_ii
						ruling_only = yes
				}
			}
			else_if = {
				limit = {
					has_country_leader = {
						character = GER_wilhelm_iii
						ruling_only = yes
					}
				}
				has_country_leader = {
						character = GER_wilhelm_iii
						ruling_only = yes
				}
			}
			else_if = {
				limit = {
					has_idea = GER_wilhelm_ii_idea_new
				}
				has_idea = GER_wilhelm_ii_idea_new
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_ii_2 }
				has_idea = GER_wilhelm_ii_2
			}
			else = {
				has_idea = GER_wilhelm_ii_3
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_fahneneid
			custom_effect_tooltip = generic_skip_one_line_tt
			add_power_balance_value = {
				id = GER_wilhelm_ii_bop
				value = -0.05
				tooltip_side = GER_wilhelm_ii_side_new
			}
		}
	}
	focus = {
		id = GER_extol_prussian_virtue
		icon = GFX_goal_GER_flag_german_empire
		cost = 9

		x = 3
		y = 1
		prerequisite = { focus = GER_the_old_man_still_has_it focus = GER_a_new_monarch_for_a_new_age}

		relative_position_id = GER_a_new_monarch_for_a_new_age

		offset = {
			trigger = { has_country_flag = GER_dnvp_monarchy_flag }
			x = -1
		}
		mutually_exclusive = {
		}

		available = {
			OR = {
				
				IF = {
					limit = {
						has_country_leader = {
							character = GER_wilhelm_ii
							ruling_only = yes
						}
					}
					has_country_leader = {
							character = GER_wilhelm_ii
							ruling_only = yes
					}
				}
				else_if = {
					limit = {
						has_country_leader = {
							character = GER_wilhelm_iii
							ruling_only = yes
						}
					}
					has_country_leader = {
							character = GER_wilhelm_iii
							ruling_only = yes
					}
				}
				else_if = {
					limit = {
						has_idea = GER_wilhelm_ii_idea_new
					}
					has_idea = GER_wilhelm_ii_idea_new
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_ii_2 }
					has_idea = GER_wilhelm_ii_2
				}
				else = {
					has_idea = GER_wilhelm_ii_3
				}

				IF = {
					limit = { has_idea = GER_wilhelm_iv_2 }
					has_idea = GER_wilhelm_iv_2
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_iv_2_b }
					has_idea = GER_wilhelm_iv_2_b
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_iv_3 }
					has_idea = GER_wilhelm_iv_3
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_iv_4 }
					has_idea = GER_wilhelm_iv_4
				}
				else = {
					has_idea = GER_wilhelm_iv_5
				}
				IF = {
					limit = { has_idea = GER_louis_ferdinand_2 }
					has_idea = GER_louis_ferdinand_2
				}
				else_if = {
					limit = { has_idea = GER_louis_ferdinand_3 }
					has_idea = GER_louis_ferdinand_3
				}
				else_if = {
					limit = { has_idea = GER_louis_ferdinand_4 }
					has_idea = GER_louis_ferdinand_4
				}
				else = {
					has_idea = GER_louis_ferdinand_5
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_prussian_virtues
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = {
					
					has_power_balance = {
						id = GER_wilhelm_ii_bop
					}
				}
				add_power_balance_value = {
					id = GER_wilhelm_ii_bop
					value = -0.02
					tooltip_side = GER_wilhelm_ii_side_new
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = { has_idea = GER_lack_of_civilian_government_3}
				remove_ideas = GER_lack_of_civilian_government_3
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY}
	}
	focus = {
		id = GER_restore_discipline_in_the_military
		icon = GFX_goal_GER_restore_military_discipline
		cost = 8

		x = 0
		y = 1
		prerequisite = { focus = GER_extol_prussian_virtue}

		relative_position_id = GER_extol_prussian_virtue
		mutually_exclusive = {
		}

		available = {
			OR = {
				
				IF = {
					limit = {
						has_country_leader = {
							character = GER_wilhelm_ii
							ruling_only = yes
						}
					}
					has_country_leader = {
							character = GER_wilhelm_ii
							ruling_only = yes
					}
				}
				else_if = {
					limit = {
						has_country_leader = {
							character = GER_wilhelm_iii
							ruling_only = yes
						}
					}
					has_country_leader = {
							character = GER_wilhelm_iii
							ruling_only = yes
					}
				}
				else_if = {
					limit = {
						has_idea = GER_wilhelm_ii_idea_new
					}
					has_idea = GER_wilhelm_ii_idea_new
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_ii_2 }
					has_idea = GER_wilhelm_ii_2
				}
				else = {
					has_idea = GER_wilhelm_ii_3
				}

				IF = {
					limit = { has_idea = GER_wilhelm_iv_2 }
					has_idea = GER_wilhelm_iv_2
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_iv_2_b }
					has_idea = GER_wilhelm_iv_2_b
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_iv_3 }
					has_idea = GER_wilhelm_iv_3
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_iv_4 }
					has_idea = GER_wilhelm_iv_4
				}
				else = {
					has_idea = GER_wilhelm_iv_5
				}
				IF = {
					limit = { has_idea = GER_louis_ferdinand_2 }
					has_idea = GER_louis_ferdinand_2
				}
				else_if = {
					limit = { has_idea = GER_louis_ferdinand_3 }
					has_idea = GER_louis_ferdinand_3
				}
				else_if = {
					limit = { has_idea = GER_louis_ferdinand_4 }
					has_idea = GER_louis_ferdinand_4
				}
				else = {
					has_idea = GER_louis_ferdinand_5
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_prussian_virtues
				add_idea = GER_prussian_virtues_4
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = {
					
					has_power_balance = {
						id = GER_wilhelm_ii_bop
					}
				}
				add_power_balance_value = {
					id = GER_wilhelm_ii_bop
					value = -0.02
					tooltip_side = GER_wilhelm_ii_side_new
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = r56i_laws_war_historical
			custom_effect_tooltip = generic_skip_one_line_tt
			GER_modify_army_modifier = yes
			add_to_variable = { 
				GER_military_army_artillery_defence_factor = 0.05
				tooltip = army_artillery_defence_factor_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = werner_von_fritsch_army_chief
		}
	}
	focus = {
		id = GER_remove_fatherlandless_fellows_from_power
		icon = GFX_goal_generic_backstab
		cost = 10

		x = 2
		y = 1
		prerequisite = { focus = GER_rely_on_divine_right}
		prerequisite = { focus = GER_restore_discipline_in_the_military}


		relative_position_id = GER_restore_discipline_in_the_military

		mutually_exclusive = {
		}

		available = {
			power_balance_value = {
				id = GER_wilhelm_ii_bop
				value < -0.9
			}
			IF = {
				limit = {
					has_country_leader = {
						character = GER_wilhelm_ii
						ruling_only = yes
					}
				}
				has_country_leader = {
						character = GER_wilhelm_ii
						ruling_only = yes
				}
			}
			else_if = {
				limit = {
					has_idea = GER_wilhelm_ii_idea_new
				}
				has_idea = GER_wilhelm_ii_idea_new
			}
			else_if = {
				limit = { has_idea = GER_wilhelm_ii_2 }
				has_idea = GER_wilhelm_ii_2
			}
			else = {
				has_idea = GER_wilhelm_ii_3
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			remove_power_balance = {
				id = GER_wilhelm_ii_bop
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			hidden_effect = { remove_ideas = GER_wilhelm_ii_3 }
			GER_wilhelm_ii = {
				add_country_leader_role = {
					country_leader = {
						expire = "1965.1.1"
						ideology = absolute_monarchism
						traits = {
							GER_divine_right
							GER_aged_monarch
						}
					}
					promote_leader = yes
				}
			}
			set_party_name = { ideology = neutrality long_name = GER_hh_party name = GER_hh_party }

			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = GER_neoabsolutist_restoration
			custom_effect_tooltip = generic_skip_one_line_tt
			effect_tooltip = { retire_character = GER_ludwig_beck }
			IF = {
				limit = {
					has_idea = GER_democratic_resistance
				}
				remove_ideas = GER_democratic_resistance
			}
			else_if = {
				limit = {
					has_idea = GER_democratic_resistance_2
				}
				
				remove_ideas = GER_democratic_resistance_2
			}
			hidden_effect = {
				remove_ideas = GER_wilhelm_ii_3
				remove_ideas = GER_wilhelm_ii_2
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER}
	}
	focus = {
		id = GER_an_old_germany_for_a_new_age
		icon = GFX_goal_GER_kaiser_deal
		cost = 7.2

		x = 0
		y = 1
		prerequisite = { focus = GER_restore_discipline_in_the_military }

		relative_position_id = GER_restore_discipline_in_the_military
		mutually_exclusive = {
		}

		available = {
			OR = {
				
				IF = {
					limit = {
						has_country_leader = {
							character = GER_wilhelm_ii
							ruling_only = yes
						}
					}
					has_country_leader = {
							character = GER_wilhelm_ii
							ruling_only = yes
					}
				}
				else_if = {
					limit = {
						has_country_leader = {
							character = GER_wilhelm_iv
							ruling_only = yes
						}
					}
					has_country_leader = {
							character = GER_wilhelm_iv
							ruling_only = yes
					}
				}
				else_if = {
					limit = {
						has_country_leader = {
							character = GER_wilhelm_iii
							ruling_only = yes
						}
					}
					has_country_leader = {
							character = GER_wilhelm_iii
							ruling_only = yes
					}
				}
				else_if = {
					limit = {
						has_idea = GER_wilhelm_ii_idea_new
					}
					has_idea = GER_wilhelm_ii_idea_new
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_ii_2 }
					has_idea = GER_wilhelm_ii_2
				}
				else = {
					has_idea = GER_wilhelm_ii_3
				}

				IF = {
					limit = { has_idea = GER_wilhelm_iv_2 }
					has_idea = GER_wilhelm_iv_2
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_iv_2_b }
					has_idea = GER_wilhelm_iv_2_b
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_iv_3 }
					has_idea = GER_wilhelm_iv_3
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_iv_4 }
					has_idea = GER_wilhelm_iv_4
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_iv_6 }
					has_idea = GER_wilhelm_iv_6
				}
				else = {
					has_idea = GER_wilhelm_iv_5
				}
				IF = {
					limit = { has_idea = GER_louis_ferdinand_2 }
					has_idea = GER_louis_ferdinand_2
				}
				else_if = {
					limit = { has_idea = GER_louis_ferdinand_3 }
					has_idea = GER_louis_ferdinand_3
				}
				else_if = {
					limit = { has_idea = GER_louis_ferdinand_4 }
					has_idea = GER_louis_ferdinand_4
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = {
					OR = {
						
						IF = {
							limit = {
								has_country_leader = {
									character = GER_wilhelm_ii
									ruling_only = yes
								}
							}
							has_country_leader = {
									character = GER_wilhelm_ii
									ruling_only = yes
							}
						}
						else_if = {
							limit = {
								has_country_leader = {
									character = GER_wilhelm_iii
									ruling_only = yes
								}
							}
							has_country_leader = {
									character = GER_wilhelm_iii
									ruling_only = yes
							}
						}
						else_if = {
							limit = {
								has_idea = GER_wilhelm_ii_idea_new
							}
							has_idea = GER_wilhelm_ii_idea_new
						}
						else_if = {
							limit = { has_idea = GER_wilhelm_ii_2 }
							has_idea = GER_wilhelm_ii_2
						}
						else = {
							has_idea = GER_wilhelm_ii_3
						}
					}
				}
				add_power_balance_value = {
					id = GER_wilhelm_ii_bop
					value = -0.02
					tooltip_side = GER_wilhelm_ii_side_new
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				swap_ideas = {
					remove_idea = GER_prussian_virtues_4
					add_idea = GER_the_new_old_germany
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				add_political_power = 25
				custom_effect_tooltip = generic_skip_one_line_tt
				add_ideas = r56i_laws_social_normal
			}
			else = {
				swap_ideas = {
					remove_idea = GER_prussian_virtues_4
					add_idea = GER_the_purified_and_new_old_germany
				}
				add_ideas = r56i_laws_social_normal

			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_alliance_with_the_united_evangelical_church
		icon = GFX_focus_BEL_christian_corporatism
		cost =10

		x = 1
		y = 1
		prerequisite = { focus = GER_an_old_germany_for_a_new_age focus = GER_remove_fatherlandless_fellows_from_power }

		relative_position_id = GER_an_old_germany_for_a_new_age
		mutually_exclusive = {
		}

		available = {
			has_completed_focus = GER_a_martial_state
			OR = {
				
				IF = {
					limit = {
						has_country_leader = {
							character = GER_wilhelm_ii
							ruling_only = yes
						}
					}
					has_country_leader = {
							character = GER_wilhelm_ii
							ruling_only = yes
					}
				}
				else_if = {
					limit = {
						has_country_leader = {
							character = GER_wilhelm_iii
							ruling_only = yes
						}
					}
					has_country_leader = {
							character = GER_wilhelm_iii
							ruling_only = yes
					}
				}
				else_if = {
					limit = {
						has_country_leader = {
							character = GER_wilhelm_iv
							ruling_only = yes
						}
					}
					has_country_leader = {
							character = GER_wilhelm_iv
							ruling_only = yes
					}
				}
				else_if = {
					limit = {
						has_idea = GER_wilhelm_ii_idea_new
					}
					has_idea = GER_wilhelm_ii_idea_new
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_ii_2 }
					has_idea = GER_wilhelm_ii_2
				}
				else = {
					has_idea = GER_wilhelm_ii_3
				}

				IF = {
					limit = { has_idea = GER_wilhelm_iv_2 }
					has_idea = GER_wilhelm_iv_2
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_iv_2_b }
					has_idea = GER_wilhelm_iv_2_b
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_iv_3 }
					has_idea = GER_wilhelm_iv_3
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_iv_4 }
					has_idea = GER_wilhelm_iv_4
				}
				else_if = {
					limit = {
						has_idea = GER_wilhelm_iv_6
					}
					has_idea = GER_wilhelm_iv_6
				}
				else = {
					has_idea = GER_wilhelm_iv_5
				}
			}
		}
		allow_branch = {
			NOT = { has_completed_focus = GER_shake_off_the_fascist_yoke}
			OR = {
				has_game_rule = {
					rule = GER_focus_tree_selection
					option = R56_TREE
				}
				AND = {
					has_game_rule = {
						rule = GER_focus_tree_selection
						option = STANDARD_TREE
					}
					NOT = { 
						has_dlc = "Gotterdammerung"
					}
				}
			}
			IF = {
				limit = {		
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = GER_found_the_german_interim_government }
				NOT = { has_completed_focus = GER_remilitarize_the_rhineland }
				NOT = { has_completed_focus = GER_a_dictated_parliament }
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = GER_united_evangelical_church
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_end_the_divide_between_state_and_church
		icon = GFX_goal_christianity_and_state
		cost = 10

		x = 0
		y = 1
		prerequisite = {  focus = GER_alliance_with_the_united_evangelical_church }

		relative_position_id = GER_alliance_with_the_united_evangelical_church
		mutually_exclusive = {
		}

		available = {
			OR = {
				
				IF = {
					limit = {
						has_country_leader = {
							character = GER_wilhelm_ii
							ruling_only = yes
						}
					}
					has_country_leader = {
							character = GER_wilhelm_ii
							ruling_only = yes
					}
				}
				else_if = {
					limit = {
						has_country_leader = {
							character = GER_wilhelm_iv
							ruling_only = yes
						}
					}
					has_country_leader = {
							character = GER_wilhelm_iv
							ruling_only = yes
					}
				}
				else_if = {
					limit = {
						has_country_leader = {
							character = GER_wilhelm_iii
							ruling_only = yes
						}
					}
					has_country_leader = {
							character = GER_wilhelm_iii
							ruling_only = yes
					}
				}
				else_if = {
					limit = {
						has_idea = GER_wilhelm_ii_idea_new
					}
					has_idea = GER_wilhelm_ii_idea_new
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_ii_2 }
					has_idea = GER_wilhelm_ii_2
				}
				else = {
					has_idea = GER_wilhelm_ii_3
				}

				IF = {
					limit = { has_idea = GER_wilhelm_iv_2 }
					has_idea = GER_wilhelm_iv_2
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_iv_2_b }
					has_idea = GER_wilhelm_iv_2_b
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_iv_3 }
					has_idea = GER_wilhelm_iv_3
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_iv_4 }
					has_idea = GER_wilhelm_iv_4
				}
				else_if = {
					limit = { has_idea = GER_wilhelm_iv_6 }
					has_idea = GER_wilhelm_iv_6
				}
				else = {
					has_idea = GER_wilhelm_iv_5
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			add_political_power = 100
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = GER_united_evangelical_church
				add_idea = GER_united_evangelical_church_2
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_wehrhafte_demokratie
		icon = GFX_focus_ARG_defense_and_democracy
		cost = 3
		prerequisite = {  focus = GER_found_the_german_interim_government}

		x = 2
		y = 1

		relative_position_id = GER_found_the_german_interim_government

		mutually_exclusive = {
		}

		available = {
			has_completed_focus = GER_hold_new_elections
			custom_trigger_tooltip = {

				tooltip = GER_gov_tt
				NOT = { has_country_flag = GER_no_gov}

			}
			NOT = { has_idea = GER_prov_gov_idea}
			has_elections = yes
		}
		ai_will_do = {
		}
		completion_reward = {
			add_ideas = GER_wehrhafte_demokratie_idea
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_wehrhafte_demokratie_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = GER_counter_the_antifa
			unlock_decision_tooltip = GER_counter_the_sa
			unlock_decision_tooltip = GER_contain_the_military
			unlock_decision_tooltip = GER_cull_freikorps
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}

	}
	focus = {
		id = GER_military_depoliticization
		icon = GFX_focus_GER_subdue_the_wehrmacht
		cost = 5
		prerequisite = { focus = GER_wehrhafte_demokratie }

		x = -1
		y = 1

		relative_position_id = GER_wehrhafte_demokratie

		mutually_exclusive = {
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = GER_mil_inf_less_than_3_tt	
				check_variable = {
					var = GER_mil_inf
					value = 3
					compare = less_than_or_equals
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			set_can_be_fired_in_advisor_role = {
				character = GER_ludwig_beck
				value = yes
			}
			
			remove_trait = {
				character = GER_ludwig_beck
				slot = army_chief
				trait = GER_authoritarian_conservative
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_to_variable = { GER_mil_opinion = -2.5 }
			custom_effect_tooltip = GER_mil_opinion-2.5_tt
			add_political_power = 50
			add_stability = 0.075
			add_war_support = -0.1
		}
		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}

	}
	focus = {
		id = GER_ban_internal_operations
		icon = GFX_focus_RAJ_union_busting
		cost = 5
		prerequisite = { focus = GER_military_depoliticization}

		x = 0
		y = 1

		relative_position_id = GER_military_depoliticization

		mutually_exclusive = {
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = GER_mil_inf_less_than_0_tt
				check_variable = {
					var = GER_mil_inf
					value = 0
					compare = less_than_or_equals
				}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_wehrhafte_demokratie_idea
				add_idea = GER_wehrhafte_demokratie_2
			}
			custom_effect_tooltip = GER_mil_opposition_cease_tt
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}

	}
	focus = {
		id = GER_fight_the_apo
		icon = GFX_goal_GER_ban_sa
		cost = 4
		prerequisite = { focus = GER_wehrhafte_demokratie}

		x = 1
		y = 1

		relative_position_id = GER_wehrhafte_demokratie

		mutually_exclusive = {
		}

		available = {
		}
		ai_will_do = {
		}
		completion_reward = {
			add_to_variable = { NRAF_seats = -5}
			custom_effect_tooltip = GER_NRAF_-5_tt
			add_to_variable = { KPD_seats = -5}
			custom_effect_tooltip = GER_KPD_-5_tt
			IF = {
				limit = {
					GER_viktor_lutze = {
						is_hired_as_advisor  = yes
					}
				}
				GER_viktor_lutze = {
					add_trait = { 
						slot = high_command
						trait = GER_enemy_of_the_state
					}
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_fight_the_apo_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = GER_anti_nraf_propaganda
			unlock_decision_tooltip = GER_drive_out_the_sa
			unlock_decision_tooltip = GER_anti_commie_propaganda
			unlock_decision_tooltip = GER_drive_out_the_antifa
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_hans_oster
		}
		search_filters = { FOCUS_FILTER_POLITICAL}
	}
	focus = {
		id = GER_demokratieschutzgesetz
		icon = GFX_goal_fascism_banned
		cost = 5
		prerequisite = { focus = GER_fight_the_apo}

		x = 0
		y = 1

		relative_position_id = GER_fight_the_apo

		mutually_exclusive = {
		}

		available = {
			IF = {
				limit = {
					64 = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 64
						}
					}
				}
				64 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 64
						}
					}
				}
			}
			IF = {
				limit = {
					65 = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 65
						}
					}
				}
				65 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 65
						}
					}
				}
			}
			IF = {
				limit = {
					60 = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 60
						}
					}
				}
				60 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 60
						}
					}
				}
			}
			IF = {
				limit = {
					57 = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 57
						}
					}
				}
				57 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 57
						}
					}
				}
			}
			IF = {
				limit = {
					58 = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 58
						}
					}
				}
				58 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 58
						}
					}
				}
			}
			IF = {
				limit = {
					989 = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 989
						}
					}
				}
				989 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_antifa_state_modifier
							scope = 989
						}
					}
				}
			}
			IF = {
				limit = {
					64 = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 64
						}
					}
				}
				64 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 64
						}
					}
				}
			}
			IF = {
				limit = {
					54 = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 54
						}
					}
				}
				54 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 54
						}
					}
				}
			}
			IF = {
				limit = {
					63 = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 63
						}
					}
				}
				63 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 63
						}
					}
				}
			}
			IF = {
				limit = {
					922 = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 922
						}
					}
				}
				922 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 922
						}
					}
				}
			}
			IF = {
				limit = {
					52 = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 52
						}
					}
				}
				52 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 52
						}
					}
				}
			}
			IF = {
				limit = {
					51 = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 51
						}
					}
				}
				51 = {
					NOT = {
						has_dynamic_modifier = {
							modifier = GER_sa_state_modifier
							scope = 51
						}
					}
				}
			}
			custom_trigger_tooltip = {
				tooltip = GER_NRAF_less_than_20_tt
				check_variable = {
					var = NRAF_seats
					value = 20
					compare = less_than
				}
			}
			custom_trigger_tooltip = {
				tooltip = GER_KPD_less_than_15_tt
				check_variable = {
					var = KPD_seats
					value = 15
					compare = less_than
				}
			}
			custom_trigger_tooltip = {

				tooltip = GER_gov_tt
				NOT = { has_country_flag = GER_no_gov}

			}
			NOT = { 
				
			custom_trigger_tooltip = {
				tooltip = GER_nraf_gov_tt
				has_completed_focus = GER_nraf_in_coalition
			} 
				
			custom_trigger_tooltip = {
				has_completed_focus = GER_kpd_in_coalition
				tooltip = GER_kpd_gov_tt
			}
			}
		}
		ai_will_do = {
		}
		completion_reward = {
			IF = {
				limit = {
					GER_viktor_lutze = {
						is_hired_as_advisor  = yes
					}
				}
				remove_advisor_role = {
					character = GER_viktor_lutze
					slot = high_command
				}
			}
			IF = {
				limit = { has_country_flag = GER_a_disturbing_deal_sa_flag}
				delete_unit_template_and_units = {
					division_template = "SA"
					disband = no
				}
			}
			set_country_flag = GER_kpd_banned

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_ban_nraf_tt
			IF = {
				limit = { NOT = { has_country_flag = GER_kpd_banned}}
				custom_effect_tooltip = GER_ban_commies_tt
			}
			add_popularity = {
				ideology = fascism
				popularity = -0.1
			}
			IF = {
				limit = { NOT = { has_country_flag = GER_kpd_banned}}
				add_popularity = {
					ideology = communism
					popularity = -0.1
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = GER_ban_nraf_consequences
			divide_variable = { NRAF_seats = -200}
			hidden_effect = {
				add_stability = NRAF_seats
			}
			set_variable = { NRAF_seats = 0}
			set_variable = { NRAF_seats_f = 0 }
			IF = {
				limit = { NOT = { has_country_flag = GER_kpd_banned}}
				custom_effect_tooltip = GER_ban_commies_consequences
				divide_variable = { KPD_seats = -200}
				hidden_effect = {
					add_stability = KPD_seats
				}
				set_variable = { KPD_seats = 0}
				set_variable = { KPD_seats_f = 0 }
			}
			GER_set_parliament = yes
			create_pie_chart = yes
			mark_focus_tree_layout_dirty = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL}

	}
	focus = {
		id = GER_nie_wieder_ist_jetzt
		icon = GFX_focus_GER_tend_to_the_future
		cost = 5
		prerequisite = { focus = GER_demokratieschutzgesetz}
		prerequisite = { focus = GER_ban_internal_operations}

		x = 1
		y = 1

		relative_position_id = GER_ban_internal_operations

		mutually_exclusive = {
		}

		available = {
			has_government = democratic
		}
		ai_will_do = {
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_wehrhafte_demokratie_2
				add_idea = GER_nie_wieder_ist_jetzt_idea
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}

	}

	
#################################################################################################
#### THE OLD OPPOSE HITLER BRANCHES #### ~(>_<~)   made a R56 tree selected instead  - Illya#####
#################################################################################################

	focus = {
		id = GER_kill_hitler
		icon = GFX_goal_ger_kill_hitler
		cost = 10
		allow_branch = {
			has_game_rule = {
				rule = GER_focus_tree_selection
				option = R56_TREE_OLD
			}
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = GER_remilitarize_the_rhineland
				}
			}
		}

		x = 49
		y = 0

		relative_position_id = GER_remilitarize_the_rhineland

		offset = {
			x = -46
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_kill_hitler
			}
		}

		offset = {
			x = -5
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = GER_reestablish_free_elections
			}
		}

		mutually_exclusive = {
			focus = GER_remilitarize_the_rhineland
		}

		available = {
			is_subject = no
			has_war = no
		}

		
		ai_will_do = {
			factor = 8
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}
		completion_reward = {
			country_event = {
				id = germany.71
			}
			add_timed_idea = {
				idea = GER_political_turmoil_idea
				days = 365
			}
			add_popularity = {
				ideology = fascism
				popularity = -0.15
			}
			mark_focus_tree_layout_dirty = yes

			custom_effect_tooltip = r56_newline
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_hans_oster
		}

	}
	focus = {
		id = GER_political_turmoil
		icon = GFX_goal_GER_take_advantage_of_political_turmoil
		cost = 10
		prerequisite = {
			focus = GER_kill_hitler
		}
		available = {
			is_subject = no
			has_war = no
		}
		x = 8
		y = 1
		relative_position_id = GER_kill_hitler

		mutually_exclusive = { focus = GER_rally_the_monarchists }

		available = {
			NOT = { has_completed_focus = GER_anti_comintern_pact }
		}

		ai_will_do = {
			factor = 50
		}
		completion_reward = {
			custom_effect_tooltip = GER_civil_war_tt
			custom_effect_tooltip = r56_newline
			hidden_effect = {
				GER_civil_war_setup_and_preview = yes
			}

			country_event = r56.ger.25
			set_global_flag = r56_german_cw_ongoing
		}
	}
	focus = {
		id = GER_repeal_reichstag_fire_decree
		icon = GFX_goal_ger_kpd
		cost = 10
		prerequisite = {
			focus = GER_political_turmoil
		}
		mutually_exclusive = {
			focus = GER_restore_weimar
		}
		x = -4
		y = 1
		relative_position_id = GER_political_turmoil
		ai_will_do = {
			factor = 50
		}

		available = {
			hidden_trigger = {
				always = no
			}
		}

		completion_reward = {
			add_timed_idea = {
				idea = GER_repeal_reichstag_fire_decree_idea
				days = 730
			}
			custom_effect_tooltip = r56_newline
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = ernst_thalmann
			show_ideas_tooltip = wilhelm_pieck

			hidden_effect = {
				country_event = {
					id = r56.ger.47
					days = 60
					random_days = 60
				}
			}
		}

	}
	focus = {
		id = GER_world_revolution
		icon = GFX_goal_GER_push_the_world_revolution
		cost = 10
		prerequisite = {
			focus = GER_repeal_reichstag_fire_decree
		}
		mutually_exclusive = {
			focus = GER_alliance_with_soviets
		}
		x = -1
		y = 1
		relative_position_id = GER_repeal_reichstag_fire_decree
		ai_will_do = {
			factor = 10
		}
		available = {
			has_civil_war = no
			if = {
				limit = {
					NOT = {
						SOV = {
							OR = {
								is_subject = yes
								has_civil_war = yes
							}
						}
					}
				}
				custom_trigger_tooltip = {
					tooltip = not_too_much_soviet_influence_tt
					check_variable = { GER_commie_soviet_influence < 4 }
				}
			}
		}
		completion_reward = {
			add_ideas = GER_world_revolution_idea
			custom_effect_tooltip = r56_newline

			if = {
				limit = {
					has_idea = heinrich_brandler
				}
				country_event = r56.ger.46
			}
			else = {
				country_event = r56.ger.48
			}
			GER_ernst_thalmann = {
				set_portraits = { #revert to fancy uniform which he doesnt use during the civil war
					civilian = {
						large="gfx/leaders/GER/r56_portrait_GER_ernst_thalmann.dds"
					}
				}
			}

			custom_effect_tooltip = r56_newline
			custom_effect_tooltip = GER_heinrich_brandler_will_lead_country_tt
			custom_effect_tooltip = r56_newline
			delete_unit_template_and_units = {
				division_template = "Rotes Regiment"
				disband = yes
			}
		}
		search_filters = {
			FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL
		}

	}
	focus = {
		id = GER_alliance_with_soviets
		icon = GFX_goal_GER_soviet_alliance
		cost = 10
		prerequisite = {
			focus = GER_repeal_reichstag_fire_decree
		}
		mutually_exclusive = {
			focus = GER_world_revolution
		}
		x = 1
		y = 1
		relative_position_id = GER_repeal_reichstag_fire_decree
		ai_will_do = {
			factor = 10
		}
		available = {
			is_puppet = no
			has_civil_war = no
			SOV = {
				NOT = {
					has_war_with = GER
				}
				is_puppet = no
			}
		}
		completion_reward = {
			set_cosmetic_tag = GER_stalinist
			GER_ernst_thalmann = {
				set_portraits = { #revert to fancy uniform which he doesnt use during the civil war
					civilian = {
						large="gfx/leaders/GER/r56_portrait_GER_ernst_thalmann.dds"
					}
				}
				add_country_leader_trait = connections_to_moscow
			}

			custom_effect_tooltip = r56_newline
			delete_unit_template_and_units = {
				division_template = "Rotes Regiment"
				disband = yes
			}

			custom_effect_tooltip = r56_newline
			SOV = {
				country_event = {
					id = r56.ger.53
					hours = 8
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL
		}

	}
	focus = {
		id = GER_rehabilitate_military
		#icon = GFX_goal_generic_small_arms
		icon = GFX_goal_generic_communist_officer
		cost = 10
		prerequisite = {
			focus = GER_world_revolution
			focus = GER_alliance_with_soviets
		}
		x = 0
		y = 2
		relative_position_id = GER_repeal_reichstag_fire_decree
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_ideas = GER_rehabilitate_military_idea
			custom_effect_tooltip = GER_recruit_officers_com_tt
			hidden_effect = {
				every_possible_country = {
					limit = {
						original_tag = GER
					}
					every_character = {
						limit = {
							NOT = { #anti-communist
								is_character = GER_gerd_von_rundstedt		# high command
								is_character = GER_erwin_von_witzleben		# general
								is_character = GER_erich_von_manstein		# theorist
								is_character = GER_franz_halder				# chief of army
								is_character = GER_albert_kesselring		# chief of airforce
								is_character = GER_hermann_hoth				# general
								is_political_advisor = yes
							}
							GER_civil_war_is_democratic_character = yes
						}
						THIS = {
							set_nationality = ROOT
						}
					}
				}
			}
			
		}
	}
	# focus = {
	# 	id = GER_production_effort
	# 	icon = GFX_focus_GRE_red_economy
	# 	cost = 10
	# 	prerequisite = {
	# 		focus = GER_world_revolution
	# 		focus = GER_alliance_with_soviets
	# 	}
	# 	x = 2
	# 	y = 2
	# 	relative_position_id = GER_repeal_reichstag_fire_decree
	# 	ai_will_do = {
	# 		factor = 10
	# 	}
	# 	completion_reward = {
	# 		add_ideas = GER_production_effort_idea
	# 	}
	# }
	focus = {
		id = GER_restore_weimar
		icon = GFX_goal_GER_restore_weimar
		cost = 10
		prerequisite = {
			focus = GER_political_turmoil
		}
		mutually_exclusive = {
			focus = GER_repeal_reichstag_fire_decree
		}
		x = 4
		y = 1
		relative_position_id = GER_political_turmoil
		ai_will_do = {
			factor = 50
		}

		available = {
			hidden_trigger = {
				always = no
			}
		}

		completion_reward = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_kurt_schumacher
			if = {
				limit = {
					date < 1942.01.01
				}
				create_field_marshal = {
					name = "Werner von Blomberg"
					picture = "r56_portrait_GER_Werner_von_Blomberg.dds"
					traits = {
						infantry_leader
					}
					skill = 3
					attack_skill = 3
					defense_skill = 2
					planning_skill = 2
					logistics_skill = 3
				}
				# create_field_marshal = {
				# 	name = "Werner von Fritsch"
				# 	picture = "r56_portrait_GER_Werner_von_Fritsch.dds"
				# 	traits = {
				# 		infantry_leader skilled_staffer expert_delegator
				# 	}
				# 	skill = 3
				# 	attack_skill = 2
				# 	defense_skill = 3
				# 	planning_skill = 3
				# 	logistics_skill = 2
				# }
			}
		}

	}
	focus = {
		id = GER_establish_bundesrepublik
		icon = GFX_goal_GER_flag_germany_democratic
		cost = 10
		prerequisite = {
			focus = GER_restore_weimar
		}
		x = 0
		y = 1
		relative_position_id = GER_restore_weimar
		ai_will_do = {
			factor = 10
		}
		available = {
			has_civil_war = no
		}
		completion_reward = {
			drop_cosmetic_tag = yes
			add_timed_idea = {
				idea = GER_restore_weimar_idea
				days = 730
			}

			custom_effect_tooltip = r56_newline
			
			hidden_effect = {
				promote_character = {
					character = GER_election_comission
					ideology = conservatism
				}
			}
			hold_election = ROOT
			effect_tooltip = {
				country_event = r56.ger.60
			}

			custom_effect_tooltip = r56_newline
			if = {
				limit = {
					has_country_leader = {
						character = GER_erwin_von_witzleben
						ruling_only = yes	
					}
					amount_taken_ideas = {
						amount > 0
						slots = {
							army_chief
						}
					}
				}
				GER_erwin_von_witzleben={
					promote_leader = yes
					add_unit_leader_trait = offensive_doctrine
					add_trait = {						#vanilla does it now - Fantom
						trait = army_chief_offensive_1
						slot = army_chief
					}
					remove_country_leader_role = {
						ideology = conservatism
					}
				}
			}
			if = {
				limit = {
					has_country_leader = {
						character = GER_erwin_von_witzleben
						ruling_only = yes
					}
					amount_taken_ideas = {
						amount < 1
						slots = {
							army_chief
						}
					}
				}
				GER_erwin_von_witzleben={
					promote_leader = yes
					add_unit_leader_trait = offensive_doctrine
					add_trait = {						#vanilla does it now - Fantom
						trait = army_chief_offensive_1
						slot = army_chief
					}
					remove_country_leader_role = {
						ideology = conservatism
					}
				}
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_theodor_heuss
			show_ideas_tooltip = GER_julius_leber
			
			custom_effect_tooltip = r56_newline
			delete_unit_template_and_units = {
				division_template = "Landsturmregiment"
				disband = yes
			}
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL
		}

	}
	focus = {
		id = GER_post_fascism_recovery
		icon = GFX_goal_generic_production
		cost = 10
		prerequisite = {
			focus = GER_establish_bundesrepublik
		}
		x = -1
		y = 1
		relative_position_id = GER_establish_bundesrepublik
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_timed_idea = {
				idea = GER_post_fascism_recovery_idea
				days = 600
			}
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL
		}

	}
	focus = {
		id = GER_replace_reichsmark
		icon = GFX_goal_generic_positive_trade_relations
		cost = 10
		prerequisite = {
			focus = GER_post_fascism_recovery
		}
		x = 0
		y = 1
		relative_position_id = GER_post_fascism_recovery
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_timed_idea = {
				idea = GER_replace_reichsmark_idea
				days = 600
			}	
		}
		search_filters = {
			FOCUS_FILTER_INDUSTRY
		}
	}

	focus = {
		id = GER_establish_bundeswehr
		icon = GFX_goal_generic_allies_build_infantry
		cost = 10
		prerequisite = {
			focus = GER_establish_bundesrepublik
		}
		relative_position_id = GER_establish_bundesrepublik
		x = 1
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_ideas = GER_establish_bundeswehr_idea
		}

	}
	focus = {
		id = GER_defense_and_deterence
		icon = GFX_goal_generic_military_sphere
		cost = 10
		prerequisite = {
			focus = GER_establish_bundeswehr
		}
		relative_position_id = GER_establish_bundeswehr
		x = 0
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_ideas = GER_defense_and_deterence_idea
		}
		search_filters = {
			FOCUS_FILTER_INDUSTRY
		}

	}
	focus = {
		id = GER_rally_the_monarchists
		icon = GFX_focus_ger_return_of_the_kaiser
		cost = 5
		prerequisite = { focus = GER_kill_hitler }

		x = -7
		y = 1
		relative_position_id = GER_kill_hitler

		mutually_exclusive = {
			focus = GER_political_turmoil
		}
		ai_will_do = {
			factor = 16
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}

		completion_reward = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_alfred_hugenberg
			add_timed_idea = {
				idea = GER_rally_the_monarchists_idea
				days = 365
			}
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL
		}

	}
	focus = {
		id = GER_contact_ludendorff
		icon = GFX_goal_GER_contact_ludendorff
		cost = 5
		available = {
			date < 1937.12.20
			NOT = {
				has_completed_focus = GER_a_new_reich
			}
		}
		prerequisite = {
			focus = GER_rally_the_monarchists
		}
		x = 3
		y = 1
		relative_position_id = GER_rally_the_monarchists
		ai_will_do = {
			factor = 100
		}

		completion_reward = {
			country_event = r56.ger.30
		}
	}
	focus = {
		id = GER_support_freikorps
		icon = GFX_goal_GER_support_the_freikorps
		cost = 10
		prerequisite = {
			focus = GER_rally_the_monarchists
		}
		relative_position_id = GER_rally_the_monarchists
		x = -1
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			custom_effect_tooltip = GER_support_freikorps_tt
			add_ideas = GER_freikorps_idea
		}
		search_filters = {
			FOCUS_FILTER_MANPOWER FOCUS_FILTER_MILITARY_EQUIPMENT
		}

	}
	focus = {
		id = GER_return_of_conservative_exiles
		icon = GFX_focus_ger_oppose_hitler
		cost = 5
		prerequisite = {
			focus = GER_rally_the_monarchists
		}
		x = 1
		y = 1
		relative_position_id = GER_rally_the_monarchists
		ai_will_do = {
			factor = 16
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}
		}

		completion_reward = {
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
			add_political_power = 100
			custom_effect_tooltip = GER_return_of_conservative_exiles_tt
			show_unit_leaders_tooltip = GER_wilhelm_iii
			show_unit_leaders_tooltip = GER_eitel_friedrich_von_prussia
			show_unit_leaders_tooltip = GER_rupprecht_i
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_carl_friedrich_goerdeler
			show_ideas_tooltip = GER_wilhelm_von_gayl
			show_ideas_tooltip = GER_Paul_Lejeune_Jung
			show_ideas_tooltip = GER_theodor_duesterberg
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL
		}

	}
	focus = {
		id = GER_a_new_reich
		icon = GFX_goal_GER_monarchist_revival
		cost = 5
		prerequisite = {
			focus = GER_support_freikorps
		}
		prerequisite = {
			focus = GER_return_of_conservative_exiles
		}
		available = {
			neutrality > 0.2
		}
		x = 1
		y = 1
		relative_position_id = GER_support_freikorps
		ai_will_do = {
			factor = 75
		}
		bypass = {
			has_government = neutrality
		}
		completion_reward = {
			custom_effect_tooltip = GER_oppose_hitler_civil_war
			effect_tooltip = {
				GER_remove_mefo_bills = yes
			}
			every_state = {
				limit = {
					OR = {
						state = 42
						state = 1053
						state = 51
						state = 989
						state = 922
						state = 923
					}
				}
				set_demilitarized_zone = no
			}
			add_named_threat = { threat = 5 name = GER_oppose_hitler }
			country_event = { id = wtt_germany.1 }
		}
		search_filters = {
			FOCUS_FILTER_INDUSTRY FOCUS_FILTER_ANNEXATION FOCUS_FILTER_STABILITY
		}
	}
	focus = {
		id = GER_restore_the_empire
		icon = GFX_goal_GER_flag_german_empire
		cost = 10
		prerequisite = {
			focus = GER_a_new_reich
		}
		prerequisite = {
			#focus = GER_naval_effort2_r56
		}
		# mutually_exclusive = {
		# 	focus = GER_mon_peaceful
		# }
		available = {
			has_government = neutrality
			has_civil_war = no
		}
		relative_position_id = GER_a_new_reich
		x = 0
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			country_event = { id = wtt_germany.4 }
			set_power_balance = {
				id = GER_monarchist_power_balance
				set_default = yes
			}
			add_ideas = GER_imperial_restoration #restored so this is not empty
			if = {
				limit = {
					is_in_faction = no
				}
				create_faction_from_template = {
					template = faction_template_european_dominance_monarchist
					name = GER_central_powers_faction
					icon = GFX_faction_logo_generic_3
				}
			}
			if = {
				limit = {
					is_faction_leader = yes
				}
				create_faction_from_template = {
					template = faction_template_european_dominance_monarchist
					name = GER_central_powers_faction
					icon = GFX_faction_logo_generic_3
				}
			}
			set_rule = {
				can_create_factions = yes
			}
			set_rule = {
				can_send_volunteers = yes
			}
			if = {
				limit = {
					NOT = {
						has_country_leader = {
							character = GER_heinrich_himmler
						}
					}
				}
				hidden_effect = {
					create_country_leader = {
						name = "Heinrich Himmler"
						picture = "Portrait_Germany_Heinrich_Himmler.dds"
						expire = "1965.1.1"
						ideology = nazism
					}
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_ANNEXATION FOCUS_FILTER_STABILITY
		}
	}
	focus = {
		id = GER_restore_the_central_powers
		icon = GFX_goal_GER_central_powers
		cost = 5
		prerequisite = {
			focus = GER_restore_the_empire
		}
		mutually_exclusive = {
			focus = GER_mon_allies_alliance
		}
		relative_position_id = GER_restore_the_empire
		x = -8
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = { #copy from DLC but these are all generic, Id have used the same
			custom_effect_tooltip = GER_central_powers_tt
			if = {
				limit = {
					ITA = { 
						is_subject = no
						is_in_faction = no
						has_government = neutrality
						NOT = { has_war_with = GER }
					}					
				}
				ITA = { country_event = { id = generic.5 } }
			}
			if = {
				limit = {
					HUN = { 
						is_subject = no
						is_in_faction = no
						has_government = neutrality
						NOT = { has_war_with = GER }
						NOT = { has_cosmetic_tag = HUN_EMPIRE } #seperate focus
					}					
					NOT = { country_exists = AUS }
				}
				HUN = { country_event = { id = generic.5 } }
			}
			if = {
				limit = {
					AUS = { 
						exists = yes
						is_subject = no
						is_in_faction = no
						has_government = neutrality
						NOT = { has_war_with = GER }
						NOT = { has_cosmetic_tag = HUN_EMPIRE } #seperate focus
					}		
					NOT = { country_exists = HUN }
				}
				AUS = { country_event = { id = generic.5 } }
			}
			if = {
                limit = {
                    BUL = { 
                        exists = yes
                        is_subject = no
                        is_in_faction = no
                        has_government = neutrality
                        NOT = { has_war_with = GER }
                    }
                }
                BUL = { country_event = { id = generic.5 } }
            }
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
	}
	focus = {
		id = GER_asia_department
		icon = GFX_focus_GER_divide_and_conquer
		relative_position_id = GER_restore_the_central_powers
		prerequisite = { focus = GER_restore_the_central_powers }
		cost = 1
		allow_branch = {
			has_completed_focus = GER_kill_hitler
		}
		x = -3
		y = 1
		offset = {
			trigger = {
				has_completed_focus = GER_kill_hitler
			}
			x = -2
		}
		completion_reward = {
			add_political_power = 25
		}
	}
	focus = {
		id = GER_asia_department_dummy
		text = GER_asia_department
		icon = GFX_focus_GER_divide_and_conquer
		relative_position_id = GER_restore_the_central_powers
		prerequisite = { focus = GER_restore_the_central_powers }
		cost = 1
		allow_branch = {
			has_game_rule = {
				rule = GER_focus_tree_selection
				option = R56_TREE_OLD
			}
			NOT = {
				has_completed_focus = GER_kill_hitler
			}
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = GER_remilitarize_the_rhineland
				}
			}
		}
		x = -3
		y = 1
		completion_reward = {
			custom_effect_tooltip = GER_asia_department_tt
		}
	}
	focus = {
		id = GER_prepare_italian_coup_r56
		text = GER_prepare_italian_coup
		icon = GFX_goal_italian_civil_war
		prerequisite = { focus = GER_restore_the_central_powers }
		available = {
			is_subject = no
			NOT = { has_war_with = ITA }
		}
		x = 0
		y = 2
		relative_position_id = GER_restore_the_central_powers
		cost = 10
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {
			ITA = {
				country_event = { id = wtt_germany.8 }
			}
			custom_effect_tooltip = GER_prepare_italian_coup_tt
			effect_tooltip = {
				ITA = {
					add_timed_idea = { idea = GER_preparing_ITA_coup days = 1095 }
				}
			}
		}
	}

	focus = {
		id = GER_assassinate_mussolini_r56
		text = GER_assassinate_mussolini
		icon = GFX_focus_ger_assassinate_mussolini
		prerequisite = { focus = GER_prepare_italian_coup_r56 }
		available = {
			is_subject = no
			NOT = { has_war_with = ITA }
			ITA = {
				neutrality > 0.35 
				has_country_leader = { ruling_only = yes character = ITA_benito_mussolini }		 
			}
		}

		x = 0
		y = 1
		relative_position_id = GER_prepare_italian_coup_r56
		cost = 10
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {
			ITA = {
				country_event = { id = wtt_germany.11 }
			}
			effect_tooltip = {
				ITA = {
					retire_character = ITA_benito_mussolini
					set_politics = { ruling_party = neutrality elections_allowed = no }
					add_popularity = { ideology = neutrality popularity = 0.15 }
					effect_tooltip = {
						create_country_leader = {
							name = "Victor Emmanuel III"
							picture = "GFX_portrait_italy_victor_emmanuel_iii"
							expire = "1965.1.1"
							ideology = constitutional_monarchy
							traits = {
								the_soldier_king
							}
						}
					}
					swap_ideas = {
						remove_idea = GER_preparing_ITA_coup
						add_idea = GER_preparing_ITA_coup2
					}
					GER = {
						add_to_faction = ITA
						country_event = { id = wtt_germany.12 }
					}
				}
			}
		}
	}
	focus = {
		id = GER_mon_FRA_alliance
		icon = GFX_goal_FRA_legitimists
		cost = 5
		prerequisite = {
			#focus = GER_mon_peaceful
			focus = GER_restore_the_central_powers
		}
		mutually_exclusive = {
			focus = GER_destabilize_france
		}
		available = {
			is_subject = no
			FRA = {
				is_subject = no
				has_government = neutrality
				is_in_faction = no
				NOT = {
					has_completed_focus = FRA_anti_german_front
				}
			}
		}
		relative_position_id = GER_restore_the_central_powers
		x = 3
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			if = {
				limit ={
					is_faction_leader = yes
				}
				FRA = {
					country_event = generic.5
				}
			}
			else_if = {
				limit = {
					FRA = {
						is_faction_leader = yes
					}
				}
				FRA = {
					country_event = generic.2
				}
			}
			else = {
				create_faction_from_template = {
					template = faction_template_european_dominance_monarchist
					name = GER_franco_german_pact_faction
					icon = GFX_faction_logo_generic_3
				}
				FRA = {
					country_event = generic.5
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
	}
	focus = {
		id = GER_sway_spain
		icon = GFX_focus_spa_supremacy_of_the_communion
		cost = 5
		prerequisite = {
			focus = GER_mon_FRA_alliance
		}
		available = {
			is_subject = no
			is_faction_leader = yes
			any_other_country = {
				original_tag = SPR
				is_subject = no
				has_civil_war = no
				has_government = neutrality
				is_in_faction = no
			}
		}
		relative_position_id = GER_mon_FRA_alliance
		x = 0
		y = 2
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			effect_tooltip = {
				SPB = {
					country_event = generic.5
				}
			}
			hidden_effect = {
				every_other_country = {
					limit = {
						original_tag = SPR
						is_subject = no
						has_civil_war = no
						has_government = neutrality
						is_in_faction = no
					}
					country_event = generic.5
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
	}
	focus = {
		id = GER_alliance_with_gustaf
		icon = GFX_goal_generic_befriend_sweden
		cost = 5
		prerequisite = {
			focus = GER_mon_FRA_alliance
			focus = GER_alliance_with_austria_hungary
		}
		available = {
			is_subject = no
			is_faction_leader = yes
			SWE = {
				is_subject = no
				has_government = neutrality
				is_in_faction = no
			}
		}
		relative_position_id = GER_mon_FRA_alliance
		x = -1
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			SWE = {
				country_event = generic.5
			}
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
	}
	focus = {
		id = GER_mon_allies_alliance
		icon = GFX_focus_ger_accept_british_naval_dominance
		cost = 5
		prerequisite = {
			focus = GER_restore_the_empire
		}
		mutually_exclusive = {
			focus = GER_restore_the_central_powers
		}
		available = {
			is_subject = no
			NOT = {
				has_war_with = ENG
				has_completed_focus = GER_plan_z
				has_completed_focus = GER_trade_interdiction
			}
		}
		relative_position_id = GER_restore_the_empire
		x = -2
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			if = {
				limit = {
					has_idea = r56_ger_naval_treaty
				}
				remove_ideas = r56_ger_naval_treaty
			}
			add_ideas = GER_redirecting_naval_production
			ENG = {
				add_opinion_modifier = {
					target = ROOT
					modifier = GER_accept_british_naval_dominance_opinion
				}
				add_ai_strategy = {
					type = befriend
					id = "GER"			
					value = 300
				}
				add_ai_strategy = {
					type = alliance
					id = "GER"			
					value = 100
				}	
			}
		}
	}
	focus = {
		id = GER_destabilize_france
		icon = GFX_focus_focus_fra_liberte_egalite_solidarite
		cost = 5
		prerequisite = {
			focus = GER_mon_allies_alliance
			focus = GER_restore_the_central_powers
		}
		mutually_exclusive = {
			focus = GER_mon_FRA_alliance
		}
		available = {
			is_subject = no
			FRA = {
				exists = yes
				has_idea = FRA_disjointed_government
			}
		}
		bypass = {
			FRA = {
				has_government = communism
			}
		}
		relative_position_id = GER_mon_allies_alliance
		x = -1
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			FRA = {
				add_timed_idea = {
					idea = GER_communist_german_influence
					days = 720
				}
			}
		}
	}
	focus = {
		id = GER_mon_anti_commie_france
		icon = GFX_goal_spr_stab_the_french_in_the_back
		cost = 10
		prerequisite = {
			#focus = GER_restore_the_empire
			focus = GER_mon_allies_alliance
			focus = GER_destabilize_france #central powers also get to attack france but they require this focus and wont ask to enter allies
		}
		available = {
			is_subject = no
			FRA = {
				has_government = communism
			}
			NOT = { is_in_faction_with = FRA }
		}
		relative_position_id = GER_mon_allies_alliance
		x = 0
		y = 2
		ai_will_do = {
			factor = 10
		}
		will_lead_to_war_with = FRA	#56
		completion_reward = {
			if = {
				limit = {
					NOT = {
						has_completed_focus = GER_restore_the_central_powers
						any_other_country = {
							is_subject = no
							is_in_faction_with = ROOT
						}
					}
				}
				ENG = {
					country_event = generic.2
				}
				add_state_claim = 28
				add_state_claim = 773
				add_state_claim = 777
			}
			create_wargoal = {
				type = puppet_wargoal_focus
				target = FRA
			}
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
	}
	focus = {
		id = GER_alliance_with_austria_hungary
		icon = GFX_focus_proclaim_the_restauration_of_Austria_Hungary
		relative_position_id =  GER_restore_the_central_powers
		prerequisite = {
			focus =  GER_restore_the_central_powers
		}
		x = 1
		y = 1
		cost = 5

		available = {
			OR = {
				is_in_faction = no
				is_faction_leader = yes
			}

			is_puppet = no
			OR = {
				AUS = {
					exists = yes
					has_completed_focus = AUS_return_of_habsburgs
					OR = {
						has_government = neutrality
						AND = {
							has_government = democratic
							has_completed_focus = AUS_reform_the_constitution
						}
						
					}
					is_in_faction = no
					NOT = {
						has_war_with = ROOT
					}
					is_subject = no
				}
				HUN = {
					exists = yes
					has_completed_focus = HUN_invite_the_habsburg_prince
					has_government = neutrality
					NOT = {
						has_war_with = ROOT
					}
					is_subject = no
					is_in_faction = no
				}
				
			}
		}
		completion_reward = {
			if = {
				limit = {
					AUS = {
						exists = yes
						has_completed_focus = AUS_return_of_habsburgs
						OR = {
							has_government = neutrality
							AND = {
								has_government = democratic
								has_completed_focus = AUS_reform_the_constitution
							}
							
						}
						is_in_faction = no
						NOT = {
							has_war_with = ROOT
						}
						is_subject = no
					}
				}
				AUS = {
					country_event = generic.5
				}
			}
			else_if = {
				limit = { 
					
					HUN = {
						exists = yes
						has_completed_focus = HUN_invite_the_habsburg_prince
						has_government = neutrality
						NOT = {
							has_war_with = ROOT
						}
						is_subject = no
						is_in_faction = no
					}
				}
				HUN = {
					country_event = generic.5
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE FOCUS_FILTER_POLITICAL
		}
	}
	focus = {
		id = GER_alliance_with_the_ottomans
		icon = GFX_focus_TUR_pivot_to_the_past
		relative_position_id = GER_restore_the_central_powers
		prerequisite = {
			focus = GER_restore_the_central_powers
		}
		x = -1
		y = 1
		cost = 5
		available = {
			OR = {
				is_in_faction = no
				is_faction_leader = yes
			}

			is_puppet = no
			any_other_country = {
				has_government = neutrality
				OR = {
					is_in_faction = no
					is_faction_leader = yes
				}
				NOT = {
					has_war_with = ROOT
				}
				# custom_trigger_tooltip = {
				# 	tooltip = is_AH_tt
				# }
				OR = {
					if = {	#56
						limit = { has_global_flag = tur_bftb_focus_tree }
						has_completed_focus = TUR_return_of_the_sultan
					}
					else = { has_completed_focus = TUR_lift_the_caliphates_exile }
					has_cosmetic_tag = OTT_UNIFIED
				}
			}
		}
		completion_reward = {
			if = {
				limit = {
					is_faction_leader = yes
				}
				random_country = {
					limit = {
						OR = {
							has_completed_focus = TUR_return_of_the_sultan
							has_completed_focus = TUR_lift_the_caliphates_exile	#56
							has_cosmetic_tag = OTT_UNIFIED
						}
					}
					country_event = generic.5
				}
			}
			if = {
				limit = {
					is_faction_leader = no
					any_country = {
						OR = {
							has_completed_focus = TUR_return_of_the_sultan
							has_completed_focus = TUR_lift_the_caliphates_exile	#56
							has_cosmetic_tag = OTT_UNIFIED
						}
					}
				}
				random_country = {
					limit = {
						OR = {
							has_completed_focus = TUR_return_of_the_sultan
							has_completed_focus = TUR_lift_the_caliphates_exile	#56
							has_cosmetic_tag = OTT_UNIFIED
						}
					}
					country_event = generic.2
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE FOCUS_FILTER_POLITICAL
		}
	}

	#some expansion
	focus = {
		id = GER_european_claims
		icon = GFX_goal_GER_great_black_menace
		cost = 10
		prerequisite = {
			focus = GER_restore_the_empire
		}
		relative_position_id = GER_restore_the_empire
		x = 0
		y = 1
		available = {
			is_subject = no
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_war_support = 0.1
			add_state_core = 85
			add_state_core = 86
			add_state_core = 188
			add_state_core = 28
			add_state_core = 762
			add_state_core = 807
			add_state_core = 965
		}
		search_filters = {
			FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ANNEXATION
		}
	}

	focus = {
		id = GER_demand_northern_schleswig_r56
		text = GER_demand_northern_schleswig
		icon = GFX_goal_generic_attack_denmark
		prerequisite = {
			focus = GER_european_claims
		}
		available = {
			is_subject = no
			OR = {
				has_full_control_of_state = 964
				DEN = {
					has_full_control_of_state = 964
				}
			}
		}
		will_lead_to_war_with = DEN
		x = 0
		y = 1
		relative_position_id = GER_european_claims
		cost = 7.16
		ai_will_do = {
			factor = 10
		}

		completion_reward = {
			if = {
				limit = {
					has_full_control_of_state = 964
				}
				add_state_core = 964
				if = {
					limit = {
						NOT = {
							owns_state = 964
						}
					}
					transfer_state = 964
				}
				964 = {
					set_state_name = "Nordschleswig"
				}
				set_province_name = {
					id = 11251 name = "Apenrade"
				}
			}
			else = {
				DEN = {
					country_event = {
						id = wtt_germany.80
						hours = 4
					}
				}
			}
		}
	}

	focus = {
		id = GER_poland_trade
		icon = GFX_goal_DNZ_coat_of_arms
		cost = 10.00

		prerequisite = {
			focus = GER_european_claims
		}
		relative_position_id = GER_european_claims
		x = -1
		y = 3
		ai_will_do = {
			factor = 2.5
		}
		available = {
			is_subject = no
			strength_ratio = {
				tag = SOV
				ratio > 0.75
			}
			POL = {
				exists = yes
				is_subject = no
				has_war = no
				NOT = {
					has_government = communism
				}
			}
		}
		bypass = {
			owns_state = 85 	#Danzig
			owns_state = 807 	#Gdynia
			owns_state = 86 	#Poznan
			owns_state = 762 	#Katowice
		}
		cancel = {
			POL = {
				OR = {
					exists = no
					has_war = yes
				}
			}
		}
		cancel_if_invalid = no
		completion_reward = {
			#custom_effect_tooltip = poland_special_dominion_tt
			POL = {
				country_event = {
					id = r56.ger.17
					hours = 2
					random = 20
				}
			}
		}
	}

	focus = {
		id = GER_interest_in_the_carribean
		icon = GFX_goal_VEN_focus_on_caribbean
		cost = 5
		relative_position_id = GER_restore_the_central_powers
		x = -2
		y = 2
		prerequisite = {
			focus = GER_restore_the_central_powers
		}

		available = {
			is_subject = no
		}
		ai_will_do = {
			factor = 10
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			add_state_claim = 972
			add_state_claim = 694
			add_state_claim = 695
		}
	}
	focus = {
		id = GER_restore_klein_venedig
		icon = GFX_goal_generic_attack_venezuela
		cost = 10
		prerequisite = {
			focus = GER_interest_in_the_carribean
		}
		relative_position_id = GER_interest_in_the_carribean
		x = 0
		y = 1
		available = {
			is_subject = no
			VEN = {
				NOT = {
					is_in_faction_with = ROOT
					is_subject_of = ROOT
				}
			}
		}
		ai_will_do = {
			factor = 10
		}
		will_lead_to_war_with = VEN	#56
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			add_state_claim = 489
			add_state_claim = 307
			add_state_claim = 948
			add_state_claim = 488
			add_state_claim = 687
			add_state_claim = 1073	#Northern Amazonas
			create_wargoal = {
				target = VEN
				expire = 0
				type = annex_everything
			}
		}
	}

	

	focus = {
		id = GER_soviet_invasion
		icon = GFX_goal_SOV_trot_destalinization
		cost = 10.00
		prerequisite = {
			focus = GER_european_claims
		}
		relative_position_id = GER_european_claims
		x = 1
		y = 3
		ai_will_do = {
			factor = 10
		}
		available = {
			r56_script_i_am_sane = yes
			if = {
				limit = {
					is_ai = yes
				}
				is_neighbor_of = SOV
			}
			SOV = {
				exists = yes
				NOT = {
					is_subject_of = ROOT
					is_in_faction_with = ROOT
				}
			}
		}
		bypass = {
			SOV = {
				r56_script_standard_bypass = yes
			}
		}
		will_lead_to_war_with = SOV
		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = SOV
				expire = 0
			}
			add_ideas = GER_eastern_campaign
			SOV = { #declare war on civil war's so it doesnt become on big mess
				if = {
					limit = {
						has_civil_war = yes
					}
					every_other_country = {
						limit = {
							original_tag = SOV
						}
						ROOT = {
							create_wargoal = {
								type = annex_everything
								target = PREV
								expire = 0
							}
						}
					}
				}
			}
			hidden_effect = {#Filling some of the supply gaps the ai will have at this point
				if = {
					limit = {
						difficulty > 1
						GER = {
							is_ai = yes
						}
						NOT = {
							has_dlc = "No Step Back"
						}
					}
					add_fuel = 3500 #yes the ai needs all this shit
					add_manpower = 25000
					add_offsite_building = {
						type = arms_factory level = 3
					}
					add_offsite_building = {
						type = arms_factory level = 3
					}
					add_offsite_building = {
						type = arms_factory level = 3
					}
					add_equipment_to_stockpile = {
						type = infantry_equipment
						amount = 5000
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = light_tank_equipment_1
						amount = 100
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = medium_tank_chassis
						amount = 1000
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = anti_air_equipment
						amount = 500
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = anti_tank_equipment
						amount = 500
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = artillery_equipment
						amount = 500
						producer = GER
					}
					add_equipment_to_stockpile = {#always biggest gap
						type = support_equipment
						amount = 2000 #not a typo
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = motorized_equipment
						amount = 1000
						producer = GER
					}
				}

				if = {
					limit = {
						difficulty > 1
						GER = {
							is_ai = yes
						}

						has_dlc = "No Step Back"

					}
					add_fuel = 3500 #yes the ai needs all this shit
					add_manpower = 25000
					add_offsite_building = {
						type = arms_factory level = 3
					}
					add_offsite_building = {
						type = arms_factory level = 3
					}
					add_offsite_building = {
						type = arms_factory level = 3
					}
					add_equipment_to_stockpile = {
						type = infantry_equipment
						amount = 5075
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = light_tank_chassis_1
						amount = 275
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = medium_tank_chassis
						amount = 250
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = anti_air_equipment
						amount = 175
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = anti_tank_equipment
						amount = 250
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = artillery_equipment
						amount = 225
						producer = GER
					}
					add_equipment_to_stockpile = {#always biggest gap
						type = support_equipment
						amount = 3200 #not a typo
						producer = GER
					}
					add_equipment_to_stockpile = {
						type = motorized_equipment
						amount = 500
						producer = GER
					}
				}
			}
		}
	}

	focus = {
		id = GER_revive_brest_litovsk
		icon = GFX_focus_GER_brest_litovsk_borders
		cost = 5
		prerequisite = {
			focus = GER_poland_trade
			focus = GER_soviet_invasion
		}
		relative_position_id = GER_poland_trade
		x = 1
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			is_subject = no
			has_war_with = SOV
		}
		completion_reward = {
			SOV = {
				country_event = {
					id = ger_brest_litovsk.1
				}
			}
		}
	}
	
	#army/industry
	focus = {
		id = GER_establish_imperial_german_army
		icon = GFX_goal_GER_deutsches_heer
		cost = 5
		prerequisite = {
			focus = GER_restore_the_empire
			#focus = GER_mon_peaceful
		}
		relative_position_id = GER_restore_the_empire
		x = 2
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_ideas = GER_imperial_army_idea
		}

	}
	focus = {
		id = GER_support_landwehr
		icon = GFX_goal_generic_small_arms
		cost = 10
		prerequisite = {
			focus = GER_restore_the_empire
		}
		relative_position_id = GER_establish_imperial_german_army
		x = 2
		y = 0
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_ideas = GER_landwehr_idea
		}
	}

	focus = {
		id = GER_prioritize_civilian_industry
		icon = GFX_goal_generic_construct_civ_factory
		cost = 10
		prerequisite = {
			focus = GER_establish_imperial_german_army
		}
		prerequisite = {
			focus = GER_support_landwehr
		}
		mutually_exclusive = {
			focus = GER_prioritize_military_industry
		}
		relative_position_id = GER_support_landwehr
		x = 0
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			#add_ideas = GER_prioritize_civilian_industry_idea # replaced with bop effect
			unlock_decision_tooltip = GER_bop_prioritize_civilian_industry
			random_owned_controlled_state = {
				prioritize = { 64 }
				limit = {
					is_core_of = 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
				}
			}
			random_owned_controlled_state = {
				prioritize = { 59 }
				limit = {
					is_core_of = 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
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_INDUSTRY
		}

	}
	focus = {
		id = GER_prioritize_military_industry
		icon = GFX_goal_generic_construct_mil_factory
		cost = 10
		prerequisite = {
			focus = GER_establish_imperial_german_army
		}
		prerequisite = {
			focus = GER_support_landwehr
		}
		mutually_exclusive = {
			focus = GER_prioritize_civilian_industry
		}
		relative_position_id = GER_establish_imperial_german_army
		x = 0
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			#add_ideas = GER_prioritize_military_industry_idea # replaced with bop effect
			unlock_decision_tooltip = GER_bop_prioritize_military_industry
			random_owned_controlled_state = {
				prioritize = { 64 }
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				prioritize = { 59 }
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_INDUSTRY
		}

	}
	focus = {
		id = GER_galvanize_german_militarism
		icon = GFX_goal_GER_support_the_freikorps
		cost = 10
		prerequisite = {
			focus = GER_prioritize_military_industry
		}
		relative_position_id = GER_prioritize_military_industry
		x = 0
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			unlock_decision_tooltip = GER_bop_nationalistic_military_parade
			swap_ideas = {
				remove_idea = GER_imperial_army_idea
				add_idea = GER_imperial_army_idea_2
			}
		}
		search_filters = {
			FOCUS_FILTER_MANPOWER
		}
	}

	focus = {
		id = GER_recruit_grenztruppen
		icon = GFX_goal_focus_communist_army
		cost = 5
		prerequisite = {
			focus = GER_rehabilitate_military
		}
		relative_position_id = GER_rehabilitate_military
		x = -2
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_ideas = GER_recruit_grenztruppen_idea
		}
		search_filters = {
			FOCUS_FILTER_MANPOWER
		}

	}
	focus = {
		id = GER_establish_NVA
		icon = GFX_goal_ger_nva
		cost = 8
		prerequisite = {
			focus = GER_rehabilitate_military
		}
		relative_position_id = GER_rehabilitate_military
		x = 0
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_rehabilitate_military_idea
				add_idea = GER_establish_NVA_idea
			}
			#unlock_decision_category_tooltip = GER_NVA_category
		}
		search_filters = {
			FOCUS_FILTER_MANPOWER
		}

	}
	focus = {
		id = GER_collectivize_industry
		icon = GFX_goal_generic_commie_investments
		cost = 8
		prerequisite = {
			focus = GER_alliance_with_soviets
			focus = GER_world_revolution
		}
		relative_position_id = GER_alliance_with_soviets
		x = 1
		y = 2
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_ideas = GER_collectivize_industry_idea
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = GER_Walter_Ulbricht
		}
		search_filters = {
			FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY
		}
	}
	focus = {
		id = GER_progress_cult
		icon = GFX_socialist_science
		cost = 5
		prerequisite = {
			focus = GER_recruit_grenztruppen
		}
		prerequisite = {
			focus = GER_establish_NVA
		}
		prerequisite = {
			focus = GER_collectivize_industry
		}
		relative_position_id = GER_establish_NVA
		x = -5
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_ideas = GER_progress_cult_idea
			add_political_power = 50
			add_popularity = {
				ideology = communism
				popularity = 0.10
			}
		}
		search_filters = {
			FOCUS_FILTER_RESEARCH
		}

	}
	focus = {
		id = GER_soviet_scientists
		#icon = GFX_goal_research_silver_cooperation
		icon = GFX_focus_generic_socialist_science
		cost = 8
		prerequisite = {
			focus = GER_progress_cult
		}
		relative_position_id = GER_progress_cult
		x = 0
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_research_slot = 1
			add_tech_bonus = {
				name = GER_soviet_scientists
				bonus = 0.5
				category = armor
			}
			add_tech_bonus = {
				name = GER_soviet_scientists
				bonus = 0.75
				category = construction_tech
			}
		}
		search_filters = {
			FOCUS_FILTER_RESEARCH
		}
	}
	focus = {
		id = GER_gott_mit_uns
		icon = GFX_goal_GER_wilhelm_ii
		cost = 10
		prerequisite = {
			#focus = GER_support_freikorps
			focus = GER_prioritize_civilian_industry
		}
		relative_position_id = GER_prioritize_civilian_industry
		x = 0
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			unlock_decision_tooltip = GER_bop_rally_in_honour_of_the_kaiser
			add_ideas = GER_gott_idea
		}
		search_filters = {
			FOCUS_FILTER_STABILITY
		}
	}

	focus = {
		id = GER_spread_the_revolution_r56
		text = GER_spread_the_revolution
		icon = GFX_goal_generic_communist_pride
		prerequisite = { focus = GER_establish_NVA }
		available = {
			is_puppet = no
			has_government = communism
		}
		# mutually_exclusive = {
		# 	focus = GER_focus_on_fascist_threat_r56
		# }
		x = -2
		y = 1
		relative_position_id = GER_establish_NVA
		cost = 5
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			add_named_threat = { threat = 1 name = GER_spread_the_revolution }
			#add_country_leader_trait = r56_trait_opposed_to_democracy
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				add_country_leader_trait = triumphant_revolutionary_LaR
			}
			else = {
				add_country_leader_trait = triumphant_revolutionary
			}
		}
	}

	focus = {
		id = GER_increase_influence_over_balkans_r56
		text = GER_increase_influence_over_balkans
		icon = GFX_focus_BUL_free_balkan_states
		prerequisite = { focus = GER_spread_the_revolution_r56 }
		available = {
			is_subject = no
			has_government = communism
		}
		bypass = {
			all_country = {
				OR = {
					original_tag = YUG
					original_tag = ROM
					original_tag = BUL
					original_tag = GRE
				}
				OR = {
					exists = no
					is_in_faction_with = ROOT
				}
			}
		}
		x = -1
		y = 1
		relative_position_id = GER_spread_the_revolution_r56
		cost = 8
		ai_will_do = {
			factor = 3
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
		completion_reward = {
			add_named_threat = { threat = 1 name = GER_increase_influence_over_balkans }
			every_other_country = {
				limit = {
					has_government = communism
					is_in_faction = no
					OR = {
						#original_tag = CZE	#those are not Balkans
						#original_tag = SLO
						#original_tag = AUS
						#original_tag = HUN
						original_tag = YUG
						original_tag = SLV
						original_tag = CRO
						original_tag = BOS
						original_tag = SER
						original_tag = MNT
						original_tag = KOS
						original_tag = MAC
						original_tag = ROM
						original_tag = TRA
						original_tag = SZK
						original_tag = MOL
						original_tag = ALB
						original_tag = BUL
						original_tag = GRE
					}
				}
                country_event = { hours = 8 id = generic.5 }
			}
			every_other_country = {
				limit = {
					exists = yes
					is_in_faction_with = ROOT
					OR = {
						#original_tag = CZE #those are not Balkans
						#original_tag = SLO
						#original_tag = AUS
						#original_tag = HUN
						original_tag = YUG
						original_tag = SLV
						original_tag = CRO
						original_tag = BOS
						original_tag = SER
						original_tag = MNT
						original_tag = KOS
						original_tag = MAC
						original_tag = ROM
						original_tag = TRA
						original_tag = SZK
						original_tag = MOL
						original_tag = ALB
						original_tag = BUL
						original_tag = GRE
					}
				}
				add_opinion_modifier = {
					target = ROOT
					modifier = medium_increase
				}
			}
			every_other_country = {
				limit = {
					exists = yes
					OR = {
						#original_tag = CZE #those are not Balkans
						#original_tag = SLO
						#original_tag = AUS
						#original_tag = HUN
						original_tag = YUG
						original_tag = SLV
						original_tag = CRO
						original_tag = BOS
						original_tag = SER
						original_tag = MNT
						original_tag = KOS
						original_tag = MAC
						original_tag = ROM
						original_tag = TRA
						original_tag = SZK
						original_tag = MOL
						original_tag = ALB
						original_tag = BUL
						original_tag = GRE
					}
				}
				add_timed_idea = {
					idea = GER_communist_german_influence
					days = 365
				}
			}
		}
	}

	focus = {
		id = GER_increase_influence_over_eastern_europe_r56
		text = GER_increase_influence_over_eastern_europe
		icon = GFX_focus_SOV_baltic_security
		prerequisite = { focus = GER_spread_the_revolution_r56 }
		available = {
			is_subject = no
			has_government = communism
		}
		bypass = {
			all_country = {
				OR = {
					original_tag = POL
					original_tag = LIT
					original_tag = LAT
					original_tag = EST
				}
				OR = {
					exists = no
					is_in_faction_with = ROOT
				}
			}
		}
		x = 1
		y = 1
		relative_position_id = GER_spread_the_revolution_r56
		cost = 8
		ai_will_do = {
			factor = 3
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
		completion_reward = {
			add_named_threat = { threat = 1 name = GER_increase_influence_over_eastern_europe }
			every_other_country = {
				limit = {
					has_government = communism
					is_in_faction = no
					OR = {
						original_tag = POL
						original_tag = LIT
						original_tag = LAT
						original_tag = EST
					}
				}
                country_event = { hours = 8 id = generic.5 }
			}
			every_other_country = {
				limit = {
					exists = yes
					is_in_faction_with = ROOT
					OR = {
						original_tag = POL
						original_tag = LIT
						original_tag = LAT
						original_tag = EST
					}
				}
				add_opinion_modifier = {
					target = ROOT
					modifier = medium_increase
				}
			}
			every_other_country = {
				limit = {
					exists = yes
					OR = {
						original_tag = POL
						original_tag = LIT
						original_tag = LAT
						original_tag = EST
					}
				}
				add_timed_idea = {
					idea = GER_communist_german_influence
					days = 365
				}
			}
		}
	}
	focus = {
		id = GER_increase_influence_over_benelux_r56
		text = GER_increase_influence_over_benelux
		icon = GFX_postive_heroism
		prerequisite = { focus = GER_increase_influence_over_balkans_r56 focus = GER_increase_influence_over_eastern_europe_r56 }
		available = {
			is_subject = no
			has_government = communism
		}
		mutually_exclusive = {
			focus = GER_deal_with_the_devil_r56
		}
		bypass = {
			all_country = {
				OR = {
					original_tag = HOL
					original_tag = BEL
					original_tag = LUX
					original_tag = FLA
					original_tag = WLL
				}
				OR = {
					exists = no
					is_in_faction_with = ROOT
				}
			}
		}
		x = 0
		y = 2
		relative_position_id = GER_spread_the_revolution_r56
		cost = 8
		ai_will_do = {
			factor = 3
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
		completion_reward = {
			every_other_country = {
				limit = {
					has_government = communism
					is_in_faction = no
					OR = {
						original_tag = HOL
						original_tag = BEL
						original_tag = LUX
						original_tag = FLA
						original_tag = WLL
					}
				}
                country_event = { hours = 8 id = generic.5 }
			}
			every_other_country = {
				limit = {
					exists = yes
					is_in_faction_with = ROOT
					OR = {
						original_tag = HOL
						original_tag = BEL
						original_tag = LUX
						original_tag = FLA
						original_tag = WLL
					}
				}
				add_opinion_modifier = {
					target = ROOT
					modifier = medium_increase
				}
			}
			every_other_country = {
				limit = {
					exists = yes
					OR = {
						original_tag = HOL
						original_tag = BEL
						original_tag = LUX
						original_tag = FLA
						original_tag = WLL
					}
				}
				add_timed_idea = {
					idea = GER_communist_german_influence
					days = 365
				}
			}
		}
	}

	focus = {
		id = GER_old_nemensis_r56
		text = GER_old_nemensis
		icon = GFX_focus_attack_france
		prerequisite = { focus = GER_increase_influence_over_benelux_r56 }
		available = {
			is_subject = no
			NOT = {
				is_in_faction_with = FRA
			}
		}
		x = -1
		y = 3
		relative_position_id = GER_spread_the_revolution_r56
		cost = 10
		ai_will_do = {
			factor = 3
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
		will_lead_to_war_with = FRA	#56
		completion_reward = {
			add_state_claim = 28
			create_wargoal = {
				type = puppet_wargoal_focus
				target = FRA
			}
		}
	}

	focus = {
		id = GER_end_british_imperial_hegemony_r56
		text = GER_end_british_imperial_hegemony
		icon = GFX_focus_attack_britain
		prerequisite = { focus = GER_increase_influence_over_benelux_r56 }
		available = {
			is_subject = no
			NOT = {
				is_in_faction_with = ENG
			}
		}
		x = 1
		y = 3
		relative_position_id = GER_spread_the_revolution_r56
		cost = 10
		ai_will_do = {
			factor = 3
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
		will_lead_to_war_with = ENG	#56
		completion_reward = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = ENG
			}
		}
	}

	focus = {
		id = GER_focus_on_fascist_threat_r56
		text = GER_focus_on_fascist_threat
		icon = GFX_goal_fascism_banned
		prerequisite = { focus = GER_establish_NVA }
		# mutually_exclusive = {
		# 	focus = GER_spread_the_revolution_r56
		# }
		available = {
			is_puppet = no
		}
		x = 2
		y = 1
		relative_position_id = GER_establish_NVA
		cost = 5
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			#add_named_threat = { threat = -2 name = GER_focus_on_fascist_threat }
			add_country_leader_trait = r56_trait_opposed_to_fascism
			
		}
	}

	focus = {
		id = GER_pressure_austria_r56
		text = GER_pressure_austria
		icon = GFX_goal_AUS_rearm
		prerequisite = { focus = GER_focus_on_fascist_threat_r56 }
		available = {
			is_puppet = no
			has_government = communism
			AUS = {
				OR = {
					has_government = fascism
					has_government = neutrality
				}
			}
			NOT = {
				has_war_with = AUS
				is_in_faction_with = AUS
			}
		}
		bypass = {
			AUS = {
				NOT = {
					OR = {
						has_government = fascism
						has_government = neutrality
					}
				}
			}
			NOT = {
				is_in_faction_with = AUS
			}
		}
		x = -1
		y = 1
		relative_position_id = GER_focus_on_fascist_threat_r56
		cost = 8
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			AUS = {
				country_event = {
					id = r56.ger.7
					hours = 12
				}
			}
			
		}
	}

	focus = {
		id = GER_decrease_fascist_influence_r56
		text = GER_decrease_fascist_influence
		icon = GFX_focus_generic_support_the_left_right
		prerequisite = { focus = GER_focus_on_fascist_threat_r56 }
		available = {
			is_puppet = no
		}
		x = 1
		y = 1
		relative_position_id = GER_focus_on_fascist_threat_r56
		cost = 5
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			every_other_country = {
				limit = {
					capital_scope = {
						is_on_continent = europe
					}
					NOT = {
						has_government = fascism
					}
				}
				add_timed_idea = {
                    idea = GER_decrease_fascist_influence
                    days = 365
                }
			}
		}
	}

	focus = {
		id = GER_deal_with_the_devil_r56
		text = GER_deal_with_the_devil
		icon = GFX_focus_chi_reach_out_to_france
		prerequisite = { focus = GER_pressure_austria_r56 }
		prerequisite = { focus = GER_decrease_fascist_influence_r56 }
		mutually_exclusive = {
			focus = GER_increase_influence_over_benelux_r56
		}
		available = {
			is_puppet = no
			NOT = {
				has_war_with = FRA
			}
		}
		x = 0
		y = 2
		relative_position_id = GER_focus_on_fascist_threat_r56
		cost = 10
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			FRA = {
				country_event = {
					id = r56.ger.6
					hours = 12
				}
			}
		}
	}

	focus = {
		id = GER_the_source_of_fascism_r56
		text = GER_the_source_of_fascism
		icon = GFX_focus_attack_italy
		prerequisite = { focus = GER_deal_with_the_devil_r56 }
		available = {
			is_puppet = no
			ITA = {
				OR = {
					has_government = fascism
					has_government = neutrality
				}
			}
			NOT = {
				is_in_faction_with = ITA
			}
		}
		x = 0
		y = 3
		relative_position_id = GER_focus_on_fascist_threat_r56
		cost = 10
		ai_will_do = {
			factor = 3
		}
		will_lead_to_war_with = ITA	#56
		completion_reward = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = ITA
			}
			if = {
				limit = {
					has_country_flag = GER_com_anschluss_accepted
				}
				add_state_claim = 39
				add_state_claim = 850
			}
		}
	}
	focus = {
		id = GER_anti_expansionism
		icon = GFX_focus_generic_diplomatic_treaty
		cost = 5
		prerequisite = {
			focus = GER_replace_reichsmark
		}
		prerequisite = {
			focus = GER_defense_and_deterence
		}
		mutually_exclusive = {
			focus = GER_expansionism_light
		}
		x = 1
		y = 1
		relative_position_id = GER_replace_reichsmark
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_named_threat = { threat = -2 name = GER_anti_expansionism }
			add_ideas = GER_protector_of_peace
		}
	}
	focus = {
		id = GER_expansionism_light #stresemann
		icon = GFX_goal_GER_legacy_of_stresemann
		cost = 5
		prerequisite = {
			focus = GER_replace_reichsmark
		}
		prerequisite = {
			focus = GER_defense_and_deterence
		}
		mutually_exclusive = {
			focus = GER_anti_expansionism
		}
		available = {
			is_subject = no
		}
		x = 15
		y = 1
		relative_position_id = GER_replace_reichsmark
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_ideas = GER_stresemann_legacy
		}
	}
	focus = {
		id = GER_join_allies
		icon = GFX_focus_chi_british_cooperation
		cost = 5
		prerequisite = {
			focus = GER_expansionism_light
		}
		mutually_exclusive = {
			focus = GER_lead_democracies
			focus = GER_renegotiate_versailles
		}
		available = {
			is_subject = no
			is_faction_leader = no #unlikely to be empty at this time
		}
		x = 1
		y = 1
		relative_position_id = GER_expansionism_light
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			if = {
				limit = {
					ENG = {
						has_government = democratic
						is_faction_leader = yes
						NOT = { has_war_with = ROOT }
					}
				}
				ENG = { country_event = { id = generic.2 } }
			}
			else_if = {
				limit = {
					FRA = {
						has_government = democratic
						is_faction_leader = yes
						NOT = { has_war_with = ROOT }
					}
				}
				FRA = { country_event = { id = generic.2 } }			
			}
			else = {
				get_best_alliance_match_democratic_effect = yes
				var:best_leader = {
					country_event = generic.2
				}				
			}
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
	}
	focus = {
		id = GER_lead_democracies
		icon = GFX_goal_support_democracy
		cost = 10
		#prerequisite = {
		#	focus = GER_anti_expansionism
		#}
		prerequisite = {
			#focus = GER_defense_and_deterence
			focus = GER_anti_expansionism # is anti expansionism planned?
			focus = GER_expansionism_light #gets some more agressive options but doesnt get to safeguard neutrality
		}
		mutually_exclusive = {
			focus = GER_join_allies
			focus = GER_renegotiate_versailles
		}
		available={
			is_subject = no
			is_in_faction = no
			has_government = democratic
		}
		bypass = {
			is_in_faction = yes #ideally make own faction, but should allow some focuses if impossible anyway
		}
		relative_position_id = GER_anti_expansionism
		x = 7
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			create_faction_from_template = {
				template = faction_template_european_unity
				name = GER_european_alliance_faction
				icon = GFX_faction_logo_eu
			}
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
	}
	focus = {
		id = GER_renegotiate_versailles
		icon = GFX_allies
		cost = 5
		prerequisite = {
			focus = GER_expansionism_light
		}
		mutually_exclusive = {
			focus = GER_lead_democracies
			focus = GER_join_allies
		}
		available = {
			is_subject = no
			has_war = no
			OR = {
				FRA = {
					has_government = democratic
					is_subject = no
				}
				ENG = {
					has_government = democratic
					is_subject = no
				}
				if = {
					limit = {
						USA = {
							OR = {
								has_completed_focus = USA_limited_intervention
								has_completed_focus = USA_the_giant_wakes
							}
						}
					}
					USA = {
						has_government = democratic
						is_subject = no
					}
				}
			}
		}
		x = 4
		y = 1
		relative_position_id = GER_expansionism_light
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			if = {
				limit = {
					FRA = {
						has_government = democratic
						is_subject = no
					}
				}
				FRA = {
					country_event = { id = ger.renegotiate_versailles.1 hours = 6 }
				}
			}
			if = {
				limit = {
					ENG = {
						has_government = democratic
						is_subject = no
					}
				}
				ENG = {
					country_event = { id = ger.renegotiate_versailles.1 hours = 6 }
				}
			}
			if = {
				limit = {
					USA = {
						has_government = democratic
						is_subject = no
						OR = {
							has_completed_focus = USA_limited_intervention
							has_completed_focus = USA_the_giant_wakes
						}
					}
				}
				USA = {
					country_event = { id = ger.renegotiate_versailles.1 hours = 6 }
				}
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				if = {
					limit = {
						FRA = {
							has_government = democratic
							is_subject = no
						}
					}
					FRA = {
						diplomatic_relation = {
							country = ROOT
							relation = guarantee
							active = yes
						}
					}
				}
				if = {
					limit = {
						ENG = {
							has_government = democratic
							is_subject = no
						}
					}
					ENG = {
						diplomatic_relation = {
							country = ROOT
							relation = guarantee
							active = yes
						}
					}
				}
				if = {
					limit = {
						USA = {
							has_government = democratic
							is_subject = no
							OR = {
								has_completed_focus = USA_limited_intervention
								has_completed_focus = USA_the_giant_wakes
							}
						}
					}
					USA = {
						diplomatic_relation = {
							country = ROOT
							relation = guarantee
							active = yes
						}
					}
				}
				add_ideas = GER_treaty_of_versailles
			}
		}
	}
	focus = {
		id = GER_legacy_of_gluckliche_zwanziger_jahre
		icon = GFX_goal_free_trade
		cost = 10
		prerequisite = {
			focus = GER_renegotiate_versailles
		}
		available = {
			is_subject = no
			has_war = no
			has_idea = GER_treaty_of_versailles
		}
		x = 0
		y = 1
		relative_position_id = GER_renegotiate_versailles
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_political_power = 100
			swap_ideas = {
				remove_idea = GER_treaty_of_versailles
				add_idea = GER_treaty_of_versailles_2
			}
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY
		}
	}
	focus = {
		id = GER_german_scientific_haven
		icon = GFX_goal_generic_education
		cost = 10
		prerequisite = {
			focus = GER_legacy_of_gluckliche_zwanziger_jahre
		}
		available = {
			is_subject = no
			has_war = no
			has_idea = GER_treaty_of_versailles_2
		}
		x = 0
		y = 1
		relative_position_id = GER_legacy_of_gluckliche_zwanziger_jahre
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_political_power = 100
			swap_ideas = {
				remove_idea = GER_treaty_of_versailles_2
				add_idea = GER_treaty_of_versailles_3
			}
			add_research_slot = 1
		}
		search_filters = {
			FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH
		}
	}
	focus = {
		id = GER_western_science_funding
		icon = GFX_goal_research_silver
		cost = 10
		prerequisite = {
			focus = GER_lead_democracies
			focus = GER_join_allies
		}
		relative_position_id = GER_lead_democracies
		x = 3
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_research_slot = 1
		}
		search_filters = {
			FOCUS_FILTER_RESEARCH
		}
	}
	focus = {
		id = GER_request_danzig
		icon = GFX_goal_GER_danzig_or_war
		cost = 4
		prerequisite = {
			focus = GER_join_allies
			focus = GER_lead_democracies
		}
		available = {
			is_subject = no
			has_war = no
			DNZ = {
				exists = yes
				is_subject_of = POL #should join by itself if free
				has_war = no
			}
		}
		x = -1
		y = 2
		relative_position_id = GER_expansionism_light
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			if = {
				limit = {
					DNZ = {
						is_ai = yes
					}
				}
				annex_country = {
					target = DNZ
					transfer_troops = no #too fascist
				}
				add_state_core = 85
			}
			else = {
				DNZ = {
					country_event = generic.20
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_ANNEXATION
		}
	}
	focus = {
		id = GER_dem_polish_corridor_trade
		icon = GFX_goal_generic_befriend_poland
		cost = 10
		prerequisite = {
			focus = GER_request_danzig
		}
		mutually_exclusive = {
			focus = GER_dem_polish_corridor_deal
		}
		available = {
			is_subject = no
			owns_state = 67
			controls_state = 67
			POL = {
				is_subject = no
				owns_state = 807
				controls_state = 807
			}
		}
		x = -1
		y = 1
		relative_position_id = GER_request_danzig
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			POL = {
				country_event = r56.ger.22
			}
		}
		search_filters = {
			FOCUS_FILTER_ANNEXATION
		}
	}
	focus = {
		id = GER_dem_polish_corridor_deal
		icon = GFX_focus_generic_polish_deal
		cost = 10
		prerequisite = {
			focus = GER_request_danzig
		}
		mutually_exclusive = {
			focus = GER_dem_polish_corridor_trade
		}
		available = {
			is_subject = no
			11 = {
				is_owned_and_controlled_by = ROOT
			}
			189 = {
				is_owned_and_controlled_by = ROOT
			}
			814 = {
				is_owned_and_controlled_by = ROOT
			}
			815 = {
				is_owned_and_controlled_by = ROOT
			}
			POL = {
				is_subject = no
				#owns_state = 807
				#controls_state = 807
				#owns_state = 762
				#controls_state = 762
			}
			807 = {
				is_owned_and_controlled_by = POL
			}
			762 = {
				is_owned_and_controlled_by = POL
			}
		}
		x = 2
		y = 0
		relative_position_id = GER_dem_polish_corridor_trade
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			POL = {
				country_event = r56.ger.24
			}
		}
		search_filters = {
			FOCUS_FILTER_ANNEXATION
		}
	}
	focus = {
		id = GER_help_SOV_revolutionaries_r56
		text = GER_help_SOV_revolutionaries
		icon = GFX_goal_anti_comintern_pact
		prerequisite = {
			focus = GER_lead_democracies
			focus = GER_join_allies
		}
		mutually_exclusive = {
			focus = GER_anti_soviet_war
		}
		available = {
			is_subject = no
			is_faction_leader = yes
			custom_trigger_tooltip = {
				tooltip = intervene_soviet_civil_war_tt		
				any_country_with_original_tag = {
					original_tag_to_check = SOV
					NOT = {
						tag = SOV
					}
					has_civil_war = yes
					has_government = communism
				}
				SOV = {
					NOT = {
						has_government = communism
						has_war_with = GER
						is_in_faction_with = GER
					}
				}
			}
		}
		bypass = {
			has_war_together_with = SOV
			SOV = {
				has_civil_war = yes
			}
		}
		relative_position_id = GER_expansionism_light
		x = 1
		y = 7
		cost = 6
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {
			add_to_faction = SOV
			add_to_war = { 
				targeted_alliance = SOV
				enemy = SOS
			}
			if = {
				limit = {
					FRA = { has_government = communism }
				}
				add_ai_strategy = {
					type = antagonize
					id = "GER"
					value = 200
				}
			}
		}
	}
	focus = {
		id = GER_colonies_for_support
		icon = GFX_goal_ger_not_nazi_africa
		cost = 4
		prerequisite = {
			focus = GER_join_allies
		}
		available = {
			is_subject = no
			ENG = {
				is_subject = no
				is_in_faction_with = ROOT
				any_other_country = {		#why?
					num_of_factories > 20
					has_war_with = ENG
					NOT = {
						has_war_with = ROOT
					}
				}
			}
			all_state = {
				OR = {
					NOT = {
						state = 541 #West Africa
						state = 546 #East Africa
						state = 1055 #Zanzibar
						state = 737 #Bismarck
						state = 1138 #Bougainville
					}
					OWNER = {
						OR = {
							is_subject_of = ENG
							tag = ENG
						}
					}
				}
			}
		}
		x = 1
		y = 1
		relative_position_id = GER_join_allies
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			ENG = {
				country_event = r56.ger.29
				effect_tooltip = {
					546 = {
						set_state_owner_to = GER
					}
					541 = {
						set_state_owner_to = GER
					}
					737 = {
						set_state_owner_to = GER
					}
					1138 = {
						set_state_owner_to = GER
					}
					726 = {
						set_state_owner_to = GER
					}
					every_country = {
						limit = {
							has_war_with = ENG
						}
						GER = {
							add_to_war = {
								targeted_alliance = ENG
								enemy = PREV
							}
						}
					}
					GER = {
						add_war_support = 0.1
						add_stability = 0.05
					}
				}
				custom_effect_tooltip = needs_approval
			}
		}
		search_filters = {
			FOCUS_FILTER_ANNEXATION
		}
	}
	focus = {
		id = GER_lead_communists
		icon = GFX_focus_ger_great_red_menace
		cost = 5
		prerequisite = {
			focus = GER_spread_the_revolution_r56
			focus = GER_focus_on_fascist_threat_r56
		}
		bypass = {
			is_in_faction = yes #ideally make own faction, but should allow some focuses if impossible anyway
		}
		relative_position_id = GER_focus_on_fascist_threat_r56
		x = 3
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			if = {
				limit = {
					has_country_leader = {
						character = GER_heinrich_brandler
						ruling_only = yes
					}
				}
				create_faction_from_template = {
					template = faction_template_world_revolution
					name = GER_international_right_opposition_faction
					icon = GFX_faction_logo_generic_9
				}
				set_rule = {
					can_create_factions = yes
				}
			}
			else = {
				create_faction_from_template = {
					template = faction_template_world_revolution
					name = GER_leninist_pact_faction
					icon = GFX_faction_logo_comintern
				}
				set_rule = {
					can_create_factions = yes
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
	}
	focus = {
		id = GER_inter_communist_fighting
		icon = GFX_goal_attack_communists
		cost = 10
		prerequisite = {
			focus = GER_lead_communists
		}
		relative_position_id = GER_lead_communists
		available = {
			any_other_country = {
				capital_scope = {
					is_on_continent = europe
				}
				is_faction_leader = yes
				NOT = {
					is_in_faction_with = ROOT
				}
				has_government = communism
				hidden_trigger = { #Moscow is barely Europe but this is not for them
					NOT = {
						tag = SOV
					}
				}
			}
		}
		x = 0
		y = 1
		ai_will_do = {
			factor = 10
		}
		will_lead_to_war_with = SOV	#56
		completion_reward = {
			custom_effect_tooltip = GER_inter_communist_fighting_tt
			every_other_country = {
				limit = {
					capital_scope = {
						is_on_continent = europe
					}
					is_faction_leader = yes
					NOT = {
						is_in_faction_with = ROOT
					}
					has_government = communism
					NOT = {
						tag = SOV
					}
				}
				ROOT = {
					create_wargoal = {
						type = puppet_wargoal_focus
						target = PREV
					}
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_ANNEXATION
		}
	}
	focus = {
		id = GER_anti_colonialism
		icon = GFX_goal_tfv_saf_anti_colonialist_crusade
		cost = 5
		prerequisite = {
			focus = GER_lead_democracies
			focus = GER_lead_communists
		}
		mutually_exclusive = {
			focus = GER_ally_benelux
		}
		relative_position_id = GER_lead_democracies
		x = -3
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			every_country = {
				limit = {
					any_other_country = {
						is_subject_of = PREV
					}
				}
				add_opinion_modifier = {
					target = GER
					modifier = ger_anti_colonial
				}
			}
			USA = {
				if = {
					limit = {
						exists = yes
						OR = {
							has_government = democratic
							has_government = communism
						}
					}
					add_opinion_modifier = {
						target = GER
						modifier = ger_anti_colonial2
					}
				}
			}
			SOV = {
				if = {
					limit = {
						exists = yes
						OR = {
							has_government = democratic
							has_government = communism
						}
					}
					add_opinion_modifier = {
						target = GER
						modifier = ger_anti_colonial2
					}
				}
			}
		}
	}
	focus = {
		id = GER_ally_benelux
		icon = GFX_goal_benelux
		cost = 10
		prerequisite = {
			focus = GER_lead_democracies
		}
		mutually_exclusive = {
			focus = GER_anti_colonialism
		}
		available={
			is_faction_leader = yes
			OR = {
				HOL = {
					exists = yes
					OR ={
						has_government = democratic
						has_government = neutrality
					}
				}
				BEL = {
					exists = yes
					OR = {
						has_government = democratic
						has_government = neutrality
					}
				}
			}
		}
		relative_position_id = GER_lead_democracies
		x = -1
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			HOL = {
				country_event = generic.5
			}
			BEL = {
				country_event = generic.5
			}
			LUX = {
				country_event = generic.5
			}
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
	}
	focus = {
		id = GER_western_communist
		icon = GFX_goal_plan
		cost = 10
		prerequisite = {
			focus = GER_ally_benelux
		}
		available={
			is_subject = no
			any_country = {
				OR = {
					original_tag = HOL
					original_tag = BEL
					original_tag = LUX
					original_tag = FRA					
				}
				has_government = communism
				NOT = {
					is_in_faction_with = ROOT
				}
			}
		}
		relative_position_id = GER_ally_benelux
		x = 0
		y = 1
		ai_will_do = {
			factor = 10
		}
		will_lead_to_war_with = FRA	#56
		will_lead_to_war_with = HOL	#56
		will_lead_to_war_with = BEL	#56
		will_lead_to_war_with = LUX	#56
		completion_reward = {
			every_country={
				limit = {
					OR = {
						original_tag = HOL
						original_tag = BEL
						original_tag = LUX
						original_tag = FRA
					}
					has_government = communism
				}
				ROOT = {
					create_wargoal = {
						type = puppet_wargoal_focus
						target = PREV
					}
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_ANNEXATION
		}
	}
	focus = {
		id = GER_dem_anschluss_prep 
		icon = GFX_goal_GER_boost_germanism_in_austria
		cost = 5
		prerequisite = {
			focus = GER_lead_democracies
			focus = GER_join_allies
		}
		relative_position_id = GER_lead_democracies
		x = 1
		y = 1
		ai_will_do = {
			factor = 10
		}
		available = {
			is_subject = no
			AUS = {
				exists = yes
				is_subject = no
				has_war = no
				NOT = {
					has_government = communism
					any_owned_state = { #Annexing Swiss lands is fine, but no Austria-Hungary
						is_core_of = HUN
						is_core_of = CZE #despite Germans, wouldnt exclude Sudeten, unlikely scenario
					}
				}
			}
		}
		bypass = {
			AUS = {
				is_ai = no
			}
		}
		completion_reward = {
			AUS = {
				add_ideas = democratic_influence
				country_event = generic.1
			}
		}
	}
	focus = {
		id = GER_dem_anschluss
		icon = GFX_goal_GER_democratic_anschluss
		cost = 10
		prerequisite = {
			focus = GER_dem_anschluss_prep
		}
		mutually_exclusive = {
			focus = GER_aus_ally
		}
		available = {
			is_subject = no
			AUS = {
				exists = yes
				is_subject = no
				has_war = no
			}
		}
		relative_position_id = GER_dem_anschluss_prep
		x = 2
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			AUS = {
			 	country_event = r56.ger.20
			}
			set_global_flag = r56_GER_anschluss_mean_message_was_sent_out	#Needed for an achievement, lets make it check here too
		}
		search_filters = {
			FOCUS_FILTER_ANNEXATION
		}
	}
	focus = {
		id = GER_aus_ally
		icon = GFX_goal_flag_austria
		cost = 5
		prerequisite = {
			focus = GER_dem_anschluss_prep
		}
		mutually_exclusive = {
			focus = GER_dem_anschluss
		}
		available = {
			is_subject = no
			is_faction_leader = yes
			AUS = {
				exists = yes
				is_subject = no
				is_in_faction = no
			}
			OR = {
				AUS = {
					NOT = {
						has_government = fascism
					}
				}
				has_completed_focus = GER_anti_bolshevist_bloc
			}
		}
		relative_position_id = GER_dem_anschluss_prep
		x = 0
		y = 1
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			custom_effect_tooltip = GER_AUS_wont_get_annexed_tt
			AUS = {
				add_ai_strategy = {
					type = alliance
					id = GER
					value = 200
				}
			 	country_event = generic.5
			}
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
	}
	focus = {
		id = GER_dem_italy_attack
		icon = GFX_focus_ger_assassinate_mussolini
		cost = 5
		prerequisite = {
			focus = GER_aus_ally
			focus = GER_dem_anschluss
		}
		available = {
			is_subject = no
			ITA = {
				exists = yes
				NOT = {
					has_government = democratic
					is_in_faction_with = ROOT
					has_war_with = ROOT
				}
			}
		}
		relative_position_id = GER_dem_anschluss
		x = 0
		y = 1
		ai_will_do = {
			factor = 5
			modifier = {
				factor = 0
				NOT = {
					is_neighbor_of = ITA
					any_allied_country = {
						is_neighbor_of = ITA
					}
				}
			}
		}
		will_lead_to_war_with = ITA	#56
		completion_reward = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = ITA
			}
			if = {
				limit = {
					has_country_flag = GER_dem_anschluss_accepted
				}
				add_state_claim = 39
				add_state_claim = 850
			}
		}
		search_filters = {
			FOCUS_FILTER_ANNEXATION
		}
	}
	focus = {
		id = GER_soviet_support
		icon = GFX_focus_chi_mission_to_the_soviet_union
		cost = 5
		prerequisite = {
			focus = GER_anti_colonialism
		}
		mutually_exclusive = {
			focus = GER_counter_soviet_agression
		}
		available = {
			is_subject = no
			SOV = {
				exists = yes
				NOT = {
					has_war_with = GER
				}
			}
		}
		relative_position_id = GER_anti_colonialism
		x = 0
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			SOV = {
				country_event = { id = r56.ger.27 days = 1 }
				custom_effect_tooltip = needs_approval
				# Actual reward effects added in event if Soviets approve
				effect_tooltip = {
					diplomatic_relation = {
						country = SOV
						relation = non_aggression_pact
						active = yes
					}
					give_resource_rights = { receiver = ROOT state = 232 }
					SOV = {
						if = {
							limit = {
								NOT = { has_tech = basic_ship_hull_cruiser }
							}
							set_technology = { basic_ship_hull_cruiser = 1 }
						}
						if = {
							limit = {
								NOT = { has_tech = basic_cruiser_armor_scheme }
							}
							set_technology = { basic_cruiser_armor_scheme = 1 }
						}
						if = { #Default name
							limit = {
								has_government = communism
							}
							add_tech_bonus = {
								name = NSB_soviet_soviet_german_trade_agreement_tech_bonus_name
								bonus = 0.5
								uses = 2
								category = ship_modules_tech
								category = bb_tech
								category = dd_tech
							}
						}
						else = { #Alt name
							add_tech_bonus = {
								name = NSB_soviet_soviet_german_trade_agreement_tech_bonus_name_alt
								bonus = 0.5
								uses = 2
								category = ship_modules_tech
								category = bb_tech
								category = dd_tech
							}
						}
		
						if = { #Default name
							limit = {
								has_government = communism
							}
							add_tech_bonus = {
								name = NSB_soviet_soviet_german_trade_agreement_tech_bonus_name
								bonus = 0.5
								uses = 2
								category = air_equipment
							}
						}
						else = { #Alt name
							add_tech_bonus = {
								name = NSB_soviet_soviet_german_trade_agreement_tech_bonus_name_alt
								bonus = 0.5
								uses = 2
								category = air_equipment
							}
						}
						add_timed_idea = { idea = SOV_soviet_german_trade_agreement days = 545 } #Technically 1 year but really 18 months for Soviet payment 
					}
	
					add_opinion_modifier = {
						target = SOV
						modifier = SOV_strengthened_relations_with_us
					}
					SOV = {
						add_opinion_modifier = {
							target = ROOT
							modifier = SOV_strengthened_relations_with_us
						}
					}
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_RESEARCH
		}
	}
	focus = {
		id = GER_ally_eastern_europe
		icon = GFX_focus_BUL_free_balkan_states
		cost = 10
		prerequisite = {
			focus = GER_lead_democracies
			focus = GER_lead_communists
		}
		available = {
			is_subject = no
			is_faction_leader = yes
		}
		bypass = {
			ROM = {
				OR = {
					exists = no
					is_subject = yes
					is_in_faction = yes
					has_government = fascism
				}
			}
			YUG = {
				OR = {
					exists = no
					is_subject = yes
					is_in_faction = yes
					has_government = fascism
				}
			}
		}
		relative_position_id = GER_lead_democracies
		x = -5
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			YUG = {
				if = {
					limit = {
						NOT = {
							has_government = fascism
							AND = {
								has_government = communism
								ROOT = {
									NOT = {
										has_government = communism
									}
								}
							}
						}
						exists = yes
					}
					country_event = { id = generic.5 }
				}
			}
			ROM = {
				if = {
					limit = {
						NOT = {
							has_government = fascism
							AND = {
								has_government = communism
								ROOT = {
									NOT = {
										has_government = communism
									}
								}
							}
						}
						exists = yes
					}
					country_event = { id = generic.5 }
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
	}
	focus = {
		id = GER_ally_czechoslovakia
		icon = GFX_goal_generic_befriend_czech
		cost = 10
		prerequisite = {
			focus = GER_ally_eastern_europe
		}
		available = {
			is_subject = no
			is_faction_leader = yes
			CZE = {
				exists = yes
				is_subject = no
				is_in_faction = no
				NOT = {
					has_government = fascism
					AND = {
						has_government = communism
						ROOT = {
							NOT = {
								has_government = communism
							}
						}
					}
				}
			}
		}
		relative_position_id = GER_ally_eastern_europe
		x = -1
		y = 2
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			if = {
				limit = {
					OR = {
						CZE = {
							NOT = {
								has_government = fascism
							}
						}
						AND = {
							has_government = communism
							CZE = {
								has_government = communism
							}
						}
					}
				}
				CZE = {
					country_event = { id = generic.5 }
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
	}
	focus = {
		id = GER_counter_soviet_agression
		icon = GFX_goal_sov_east_vs_west
		cost = 5
		prerequisite = {
			focus = GER_ally_eastern_europe
		}
		mutually_exclusive = {
			focus = GER_soviet_support
		}
		continue_if_invalid = yes
		available = {
			is_subject = no
			SOV = {
				OR = {
					if = {
						limit = {
							OR = {
								has_completed_focus = SOV_the_centre
								has_completed_focus = SOV_great_purge
							}
							
						}
						has_added_tension_amount > 5 #has gone to war for claims
					}
					else = {
						has_added_tension_amount > 10 #bit more tension allowed because civil war possibly
					}
					has_offensive_war = yes
				}
			}
		}
		bypass = {
			OR = {
				has_war_with = SOV
				POL = {
					has_government = democratic
				}
			}
		}
		relative_position_id = GER_ally_eastern_europe
		x = 0
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			send_embargo = SOV
			custom_effect_tooltip = embargo_relation_tt
			SOV = {
				send_embargo = GER
				custom_effect_tooltip = embargo_relation_tt
			}
		}
		search_filters = {
			FOCUS_FILTER_ANNEXATION
		}
	}
	focus = {
		id = GER_anti_bolshevist_bloc
		icon = GFX_goal_GER_anti_bolshevist_bloc
		cost = 5
		prerequisite = {
			focus = GER_counter_soviet_agression
		}
		prerequisite = {
			focus = GER_lead_democracies
		}
		available = {
			is_subject = no
			is_faction_leader = yes
			SOV = {
				has_government = communism
			}
		}
		bypass = {
			has_war_with = SOV
		}
		relative_position_id = GER_lead_democracies
		x = 0
		y = 3
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			custom_effect_tooltip = fascist_neutrality_alliance_tt
			hidden_effect={
				if = {
					limit = {
						has_government = democratic
					}
					every_other_country = {
						limit = {
							capital_scope = {
								is_on_continent = europe
							}
							OR = {
								has_government = fascism
								has_government = neutrality
							}
						}
						if = {
							limit = {
								has_government = fascism
							}
							add_ai_strategy = {
								type = alliance
								id = GER
								value = 65
							}
							add_ai_strategy = {
								type = befriend
								id = GER
								value = 25
							}
						}
						else = {
							add_ai_strategy = {
								type = befriend
								id = GER
								value = 25
							}
							add_ai_strategy = { #objects less on ideological grounds than out of anti-war modifier
								type = alliance
								id = GER
								value = 35
							}
						}
					}
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
	}
	focus = {
		id = GER_anti_soviet_friend_poland
		icon = GFX_goal_generic_befriend_poland
		cost = 5
		prerequisite = {
			focus = GER_counter_soviet_agression
		}
		available = {
			is_subject = no
			is_faction_leader = yes
			POL = {
				exists = yes
				is_subject = no
				is_in_faction = no
			}
		}
		bypass = {
			POL = {
				OR = {
					exists = no
					is_subject = yes #baltics might want protection even more
					is_in_faction_with = ROOT
				}
			}
		}
		relative_position_id = GER_counter_soviet_agression
		x = 2
		y = 2
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			POL = {
				country_event = generic.5
			}
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
	}
	focus = {
		id = GER_dem_anti_commie_bloc_hungary
		icon = GFX_goal_generic_befriend_hungary
		cost = 5
		prerequisite = {
			focus = GER_anti_bolshevist_bloc
		}
		available = {
			is_subject = no
			is_faction_leader = yes
			SOV = {
				has_government = communism
				has_civil_war = no
			}
			HUN = {
				exists = yes
				is_in_faction = no
				is_subject = no
				NOT = {
					has_government = communism
				}
				OR = {
					NOT = {
						has_government = fascism
					}
					has_country_leader_with_trait = anti_communist #Aimed at Horthy
				}
			}
		}
		relative_position_id = GER_anti_bolshevist_bloc
		x = 0
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			HUN = {
				country_event = generic.5
			}
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
	}
	focus = {
		id = GER_dem_italy_alliance
		icon = GFX_goal_generic_befriend_italy
		cost = 5
		prerequisite = {
			focus = GER_dem_anti_commie_bloc_hungary
		}
		prerequisite = {
			focus = GER_aus_ally
		}
		will_lead_to_war_with = YUG
		available = {
			is_subject = no
			is_faction_leader = yes
			ITA = {
				exists = yes
				is_in_faction = no
				is_subject = no
				NOT = {
					has_government = communism
					has_war_with = ROOT
				}
			}
			OR = {
				AND = {
					YUG = {
						exists = yes
						has_government = communism
					}
					OR = {
						is_neighbor_of = YUG
						any_allied_country = {
							is_neighbor_of = YUG
						}
					}
				}
				ITA = {
					NOT = {
						has_government = fascism
					}
					OR = {
						is_neighbor_of = ITA
						any_allied_country = {
							is_neighbor_of = ITA
						}
					}
				}
			}
		}
		relative_position_id = GER_dem_anti_commie_bloc_hungary
		x = 1
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			custom_effect_tooltip = GER_dem_ITA_pact_tt
			ITA = {
				if = {
					limit = {
						OR = {
							has_government = democratic
							has_government = neutrality
						}
					}
					country_event = generic.5
				}
				else = {
					country_event = { id = r56.ger.28 days = 1 }
					custom_effect_tooltip = needs_approval
					effect_tooltip = {
						add_state_claim = 102
						add_state_claim = 958
						add_state_claim = 103
						add_state_claim = 105
						declare_war_on = {
							target = YUG
							type = take_state_focus
						}
						ROOT = {
							declare_war_on = {
								target = YUG
								type = puppet_wargoal_focus
							}
						}
					}
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE FOCUS_FILTER_ANNEXATION
		}
	}
	focus = {
		id = GER_anti_soviet_friend_baltics
		icon = GFX_goal_baltic_cooperation
		cost = 5
		prerequisite = {
			focus = GER_counter_soviet_agression
		}
		available = {
			is_subject = no
			is_faction_leader = yes
			SOV = {
				has_government = communism
				has_civil_war = no
			}
			OR = {
				LIT = {
					exists = yes
					is_subject = no
					is_in_faction = no
				}
				LAT = {
					exists = yes
					is_subject = no
					is_in_faction = no
				}
				EST = {
					exists = yes
					is_subject = no
					is_in_faction = no
				}
			}
		}
		relative_position_id = GER_counter_soviet_agression
		x = 3
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			LIT = {
				country_event = generic.5
			}
			LAT = {
				country_event = generic.5
			}
			EST = {
				country_event = generic.5
			}
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
	}
	focus = {
		id = GER_anti_soviet_friend_finland
		icon = GFX_goal_generic_befriend_finland
		cost = 5
		prerequisite = {
			focus = GER_counter_soviet_agression
		}
		available = {
			is_subject = no
			is_faction_leader = yes
			SOV = {
				has_government = communism
				has_civil_war = no
			}
			FIN = {
				exists = yes
				is_subject = no
				is_in_faction = no
			}
		}
		bypass = {
			FIN = {
				OR = {
					exists = no
					is_subject = yes
					has_government = communism
					is_in_faction_with = ROOT
				}
			}
		}
		relative_position_id = GER_counter_soviet_agression
		x = 1
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			FIN = {
				country_event = generic.5
			}
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
	}
	focus = {
		id = GER_realise_ukrainian_statehood
		icon = GFX_goal_flag_ukraine2
		cost = 4.00
		prerequisite = {
			focus = GER_anti_bolshevist_bloc
		}
		available = {
			is_subject = no
			UKR = {
				exists = no
			}
			OR = {
				controls_state = 202 #Kiev
				controls_state = 221 #Kharkov
			}
		}
		relative_position_id = GER_anti_bolshevist_bloc
		x = 2
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			release_on_controlled = UKR
			add_to_faction = UKR
			add_political_power = 35 #This is the right thing to do, you get a refund (intentionally higher than cost)
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
	}
	focus = {
		id = GER_realise_belarusian_statehood
		icon = GFX_goal_constitution
		cost = 4.00
		prerequisite = {
			focus = GER_anti_bolshevist_bloc
		}
		available = {
			is_subject = no
			BLR = {
				exists = no
			}
			controls_state = 206 #Minsk
		}
		relative_position_id = GER_anti_bolshevist_bloc
		x = 4
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			release_on_controlled = BLR
			add_to_faction = BLR
			add_political_power = 30 #This is the right thing to do, you get a refund (intentionally higher than cost)
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
	}
	focus = {
		id = GER_safeguard_neutrality
		icon = GFX_goal_generic_military_sphere
		cost = 10
		prerequisite = {
			focus = GER_anti_expansionism
			focus = GER_lead_communists
		}
		available = {
			is_subject = no
			any_country = {
				capital_scope = {
					is_on_continent = europe
				}
				has_neutrality_idea = yes
				OR = {
					has_government = democratic
					has_government = neutrality
					if = {
						limit = {
							GER = {
								has_government = communism
							}
						}
						has_government = communism
					}
					tag = AUS
				}
			}
		}
		relative_position_id = GER_anti_expansionism
		x = -1
		y = 2
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			every_country={
				limit = {
					capital_scope = {
						is_on_continent = europe
					}
					has_neutrality_idea = yes
					OR = {
						has_government = democratic
						has_government = neutrality
						tag = AUS
						if = {
							limit = {
								GER = {
									has_government = communism
								}
							}
							has_government = communism
						}
					}
				}
				GER = {
					diplomatic_relation = {
						country = PREV
						relation = guarantee
						active = yes
					}
				}
				if = {
					limit = {
						GER = {
							has_government = communism
						}
					}
					add_timed_idea = { idea = communist_influence days = 1095 }
				}
				if = {
					limit = {
						GER = {
							has_government = democratic
						}
					}
					add_timed_idea = { idea = democratic_influence days = 1095 }
				}
			}
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
	}
	focus = {
		id = GER_cooperate_with_nordics
		icon = GFX_goal_northern_lights
		cost = 10
		prerequisite = {
			focus = GER_safeguard_neutrality
		}
		prerequisite = {
			focus = GER_anti_soviet_friend_finland
		}
		available = {
			is_subject = no
			OR = {
				threat > 0.6
				FIN = {
					has_war_with = SOV
					is_in_faction_with = ROOT
				}
				FIN = { #repeat because it looks better
					OR = {
						exists = no
						if = {
							limit = {
								NOT = { #not a threat apparently
									is_in_faction_with = FIN
								}
							}
							OR = {
								has_government = fascism
								if = {
									limit = {
										OR = {
											is_in_faction_with = SOV
											ROOT = { #could ally Germany
												NOT = {
													has_government = communism
												}
											}
										}
									}
									has_government = communism
								}
							}
						}
					}
				}
			}
			OR = {
				SWE = {
					exists = yes
					is_subject = no
					is_in_faction = no
					OR = {
						has_government = democratic
						has_government = neutrality
						if = {
							limit = {
								ROOT = {
									has_government = communism
								}
							}
							has_government = communism
						}
					}
				}
				DEN = {
					exists = yes
					is_subject = no
					is_in_faction = no
					OR = {
						has_government = democratic
						has_government = neutrality
						if = {
							limit = {
								ROOT = {
									has_government = communism
								}
							}
							has_government = communism
						}
					}
				}
			}
		}
		relative_position_id = GER_safeguard_neutrality
		x = 0
		y = 3
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			DEN = {
				country_event = generic.5
			}
			NOR = {
				country_event = generic.5
			}
			SWE = {
				country_event = generic.5
			}
		}
		search_filters = {
			FOCUS_FILTER_ALLIANCE
		}
	}
	focus = {
		id = GER_anti_soviet_war
		icon = GFX_focus_attack_soviet
		cost = 10
		prerequisite = {
			focus = GER_anti_soviet_friend_finland
			#focus = GER_anti_soviet_friend_baltics
			focus = GER_anti_soviet_friend_poland
		}
		mutually_exclusive = {
			focus = GER_help_SOV_revolutionaries_r56
		}
		available = {
			is_subject = no
			SOV = {
				exists = yes
				NOT = {
					is_in_faction_with = ROOT
					has_government = democratic
				}
			}
		}
		relative_position_id = GER_anti_soviet_friend_baltics
		x = -2
		y = 3
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				SOV = { #might mess things up and democratic side is more willing to see if anything changes
					has_civil_war = yes
				}
			}
		}
		will_lead_to_war_with = SOV	#56
		completion_reward = {
			add_war_support = 0.1
			create_wargoal = {
				type = puppet_wargoal_focus
				target = SOV
			}
		}
		search_filters = {
			FOCUS_FILTER_ANNEXATION FOCUS_FILTER_WAR_SUPPORT
		}
	}
######################################
######### INNER CIRCLE DEBUG #########
######################################

#	focus = {
#		id = GER_RESET_INNER_CIRCLE #TODO_Manu: REMOVE WHEN APPROPRIATE!!
#		x = -2
#		y = 0
#		relative_position_id = GER_fuhrerprinzip
#		cost = 0
#		ai_will_do = {
#			factor = 0
#		}
#		allow_branch = { #TODO_Manu: Enable later! (Adjust shared focuses if any)
#			if = {
#				limit = {
#					has_game_rule = {
#						rule = obsolete_focus_branches_visibility
#						option = HIDE
#					}
#				}
#				NOT = {
#					OR = {
#						has_completed_focus = GER_oppose_hitler
#						has_completed_focus = GER_oppose_hitler_ww
#					}
#				}
#			}
#		}
#		completion_reward = {
#			custom_effect_tooltip = "DEBUG: RESTES INNER CIRCLE ADVISORS (and removes their modifiers)"
	
#			set_variable = { GER_ascended_advisor_1 = 0 } #Ascended Advisor Portrait
#			set_variable = { GER_ascended_advisor_2 = 0 } #Ascended Advisor Portrait
#			set_variable = { GER_ascended_advisor_3 = 0 } #Ascended Advisor Portrait
#			uncomplete_national_focus = {
#				focus = GER_ascension_of_todt
#				uncomplete_children = yes
#				refund_political_power = no
#			}
#			uncomplete_national_focus = {
#				focus = GER_ascension_of_speer
#				uncomplete_children = yes
#				refund_political_power = no
#			}
#			uncomplete_national_focus = {
#				focus = GER_ascension_of_goring
#				uncomplete_children = yes
#				refund_political_power = no
#			}
#			uncomplete_national_focus = {
#				focus = GER_ascension_of_himmler
#				uncomplete_children = yes
#				refund_political_power = no
#			}
#			uncomplete_national_focus = {
#				focus = GER_ascension_of_goebbels
#				uncomplete_children = yes
#				refund_political_power = no
#			}
#			uncomplete_national_focus = {
#				focus = GER_party_chancellor_hess
#				uncomplete_children = yes
#				refund_political_power = no
#			}
#			uncomplete_national_focus = {
#				focus = GER_party_chancellor_bormann
#				uncomplete_children = yes
#				refund_political_power = no
#			}
	
#			GER_remove_todt_effects = yes
#			GER_remove_speer_effects = yes
#			GER_remove_goring_effects = yes
#			GER_remove_himmler_effects = yes
#			GER_remove_goebbels_effects = yes
#			GER_remove_hess_effects = yes
#			GER_remove_bormann_effects = yes
	
#			uncomplete_national_focus = {
#				focus = GER_RESET_INNER_CIRCLE
#			}
#		}
#	}
}
