focus_tree = {
	id = german_focus
	
	country = {
		factor = 0
		
		modifier = {
			add = 10
			tag = GER
			is_puppet = no
		}
	}
	
	default = no
	continuous_focus_position = { x = 20 y = 2500 }
	#shared_focus = EU_codify_legal_code
#########################################################################
#########################################################################
########    K A I S E R I S T     G E R M A N Y     S T A R T    ########
#########################################################################
#########################################################################	
	focus = {
		id = GER_monarchist_germany
		icon = GFX_focus_generic_home_defensef
		mutually_exclusive = { focus = GER_german_october }
		mutually_exclusive = { focus = GER_third_reich }
		mutually_exclusive = { focus = GER_democratic_germany }
		x = 33
		y = 0
		cost = 0.2
		ai_will_do = {
			factor = 0
		}
		bypass = {
			has_government = fascism
		}
		available_if_capitulated = yes
		completion_reward = {
			#set_cosmetic_tag = MIT_cosmetic
			log = "[GetDateText]: [Root.GetName]: Focus GER_monarchist_germany"
			set_country_flag = ct_ger_political
			set_party_name = { ideology = neutrality long_name = GER_neutrality_party_kaiserreich_long name = GER_neutrality_party_kaiserreich }
		}
	}	
	
	focus = {
		id = GER_DNVP_vote_expans
		icon = GFX_goal_dnvp
		prerequisite = { focus = GER_monarchist_germany }
		x = 1
		y = 1
		relative_position_id = GER_monarchist_germany
		cost = 10
		ai_will_do = {	factor = 80	}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_DNVP_vote_expans"
			add_popularity = {
				ideology = neutrality
				popularity = 0.02
			}
			add_political_power = 50
			if = {
				limit = {	is_ai = yes }
				add_popularity = {
					ideology = neutrality
					popularity = 0.04
				}
			}
		}
	}	
	
	focus = {
		id = GER_unleash_stahlhelm
		icon = GFX_goal_rhineland
		prerequisite = { focus = GER_DNVP_vote_expans }
		x = 0
		y = 1
		relative_position_id = GER_DNVP_vote_expans
		cost = 8
		ai_will_do = {
			factor = 80
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_unleash_stahlhelm"
			add_political_power = 50
			if = {
				limit = {	is_ai = yes }
				add_popularity = {
					ideology = neutrality
					popularity = 0.04
				}
			}			
		}
	}	
	focus = {
		id = GER_limited_ag_reform
		icon = GFX_goal_generic_positive_trade_relations
		prerequisite = { focus = GER_DNVP_vote_expans }
		x = 2
		y = 1
		relative_position_id = GER_DNVP_vote_expans
		cost = 10
		ai_will_do = {
			factor = 80
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_limited_ag_reform"
			add_popularity = {
				ideology = neutrality
				popularity = 0.03
			}
			if = {
				limit = {	is_ai = yes }
				add_popularity = {
					ideology = neutrality
					popularity = 0.04
				}
			}
			add_stability = 0.05		
		}
	}	
	focus = {
		id = GER_anti_nazi_front
		icon = GFX_focus_generic_anti_fascist_diplomacy
		prerequisite = { focus = GER_monarchist_germany }
		x = -1
		y = 1
		relative_position_id = GER_monarchist_germany
		cost = 10
		ai_will_do = {
			factor = 80
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_anti_nazi_front"
			add_political_power = 50
			add_popularity = {
				ideology = neutrality
				popularity = 0.08
			}
			if = {
				limit = {	is_ai = yes }
				add_popularity = {
					ideology = neutrality
					popularity = 0.04
				}
			}
		}
	}	
	focus = {
		id = GER_wittelsbach_restoration
		icon = GFX_focus_wittelsbach
		prerequisite = { focus = GER_anti_nazi_front }
		x = 0
		y = 1
		relative_position_id = GER_anti_nazi_front
		cost = 8
		ai_will_do = {
			factor = 80
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_wittelsbach_restoration"
			add_popularity = {
				ideology = neutrality
				popularity = 0.03
			}
			if = {
				limit = {	is_ai = yes }
				add_popularity = {
					ideology = neutrality
					popularity = 0.04
				}
			}
			add_political_power = 75			
		}
	}	
	focus = {
		id = GER_buy_off_zentrum
		icon = GFX_goal_generic_national_unity
		prerequisite = { focus = GER_anti_nazi_front }
		x = -2
		y = 1
		relative_position_id = GER_anti_nazi_front
		cost = 10
		ai_will_do = {
			factor = 80
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_buy_off_zentrum"
			add_popularity = {
				ideology = neutrality
				popularity = 0.11
			}
			if = {
				limit = {	is_ai = yes }
				add_popularity = {
					ideology = neutrality
					popularity = 0.04
				}
			}
			add_political_power = 50
			add_stability = 0.05
		}
	}
	focus = {
		id = GER_end_kaiser_banishment
		icon = GFX_focus_ger_return_of_the_kaiser
		prerequisite = { focus = GER_wittelsbach_restoration }
		prerequisite = { focus = GER_buy_off_zentrum }
		prerequisite = { focus = GER_unleash_stahlhelm }
		prerequisite = { focus = GER_limited_ag_reform }
		x = 1
		y = 1
		relative_position_id = GER_wittelsbach_restoration
		cost = 8
		ai_will_do = {
			factor = 80
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_"
			set_country_flag = kaiser_wilhelm_ii
			create_country_leader = {
				name = "Wilhelm II" 
				desc = "POLITICS_WILHELM_II_DESC"
				picture = GFX_portrait_ger_wilhelm_ii
				expire = "1965.1.1"
				ideology = despotism
				traits = {
					anti_democrat imperial_connections
				}
			}
			add_named_threat = { threat = 1 name = GER_return_of_the_kaiser }
			add_political_power = 50
		}
	}	
	focus = {
		id = GER_kaiser_for_prez
		icon = GFX_focus_generic_strike_at_democracy3
		prerequisite = { focus = GER_end_kaiser_banishment }
		x = 0
		y = 1
		relative_position_id = GER_end_kaiser_banishment
		cost = 8
		ai_will_do = {
			factor = 80
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_kaiser_for_prez"
			set_country_flag = ct_kaiser_wilhelm_ii
			set_politics = {
				ruling_party = neutrality
			}
			add_political_power = 50
			hidden_effect = {
				if = {
					limit = { 
						is_ai = yes 
						is_in_faction = no
					}
					set_rule = { can_create_factions = yes }
					create_faction = "GER_central_powers_faction"
					if = {
						limit = {
							ITA = { 
								is_ai = yes
								is_puppet = no
								is_in_faction = no
								has_government = neutrality
								NOT = { has_war_with = GER }
							}					
						}
						add_to_faction = ITA
						ITA = {
							add_ai_strategy = {
								type = alliance
								id = "GER"
								value = 200
							}
						}
					}
					if = {
						limit = {
							HUN = { 
								is_ai = yes
								is_puppet = no
								is_in_faction = no
								has_government = neutrality
								NOT = { has_war_with = GER }
							}					
							NOT = { country_exists = AUS }
						}
						add_to_faction = HUN
						HUN = {
							add_ai_strategy = {
								type = alliance
								id = "GER"
								value = 200
							}
						}
					}
					if = {
						limit = {
							AUS = { 
								exists = yes
								is_ai = yes
								is_puppet = no
								is_in_faction = no
								has_government = neutrality
								NOT = { has_war_with = GER }
							}		
							NOT = { country_exists = HUN }			
						}
						add_to_faction = AUS
						AUS = {
							add_ai_strategy = {
								type = alliance
								id = "GER"
								value = 200
							}
						}
					}

				}
			}
		}
	}		
	
	focus = {
		id = GER_end_elections
		icon = GFX_focus_generic_strike_at_democracy2
		prerequisite = { focus = GER_kaiser_for_prez }
		x = -2
		y = 1
		relative_position_id = GER_kaiser_for_prez
		cost = 5
		ai_will_do = {
			factor = 80
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_end_elections"
			remove_ideas = GER_voting_by_list
			add_political_power = 50
		}
	}

	focus = {
		id = GER_secure_the_new_state
		icon = GFX_focus_generic_strike_at_democracy1
		prerequisite = { focus = GER_kaiser_for_prez }
		prerequisite = { focus = GER_invoke_48 }
		available = {
			is_puppet = no
			has_war = no
			NOT = {
				any_country = {
					original_tag = GER
					has_government = fascism
				}
			}
		}
		x = 2
		y = 1
		relative_position_id = GER_kaiser_for_prez
		cost = 5
		ai_will_do = {	factor = 1	}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_secure_the_new_state"
			add_stability = 0.1
			add_political_power = 100
			add_timed_idea = {
 			   	idea = GER_clamp_down_on_fascism
					days = 720
			}
		}
	}
	focus = {
		id = GER_saarland2
		icon = GFX_focus_saarland
		prerequisite = { focus = GER_kaiser_for_prez }
		available = {
			OR = {
				is_ai = no
				date > 1934.12.31
			}
		}
		x = 0
		y = 1
		relative_position_id = GER_kaiser_for_prez
		cost = 5
		ai_will_do = {
			factor = 200
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_saarland2"
			if = {
				limit = {
					FRA = {
						owns_state = 1047
						NOT = { has_completed_focus = FRA_my_saar }						
					}
				}
				transfer_state = 1047
			}
			if = {
				limit = {
					FRA = {
						owns_state = 1047
						has_completed_focus = FRA_my_saar					
					}
				}
				custom_effect_tooltip = FRA_saar_tt
			}
		}
	}

	focus = {
		id = GER_die_wacht_am_rhineland
		icon = GFX_focus_restore_the_kaiser
		prerequisite = { focus = GER_secure_the_new_state }		
		prerequisite = { focus = GER_end_elections }		
		prerequisite = { focus = GER_saarland2 }
		x = 0
		y = 1
		relative_position_id = GER_saarland2
		cost = 10
		available = { is_puppet = no }
		bypass = {
			42 = { is_demilitarized_zone = no }
			51 = { is_demilitarized_zone = no }
		}
		ai_will_do = {
			factor = 10
		}	
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus GER_die_wacht_am_rhineland"
			42 = { set_demilitarized_zone = no }
			51 = { set_demilitarized_zone = no }
			1047 = { set_demilitarized_zone = no }
			custom_effect_tooltip = GER_rhineland_ultimatum
			add_political_power = 120
			army_experience = 5
			add_named_threat = { threat = 2 name = GER_rhineland }
			if = {
				limit = { FRA = { is_puppet = no } }
				FRA = {
					country_event = { id = germany.60 }
					custom_effect_tooltip = may_provoke_hostility
				}
			}
		}		
	} 
	
	focus = {
		id = GER_planned_mobilizaton3
		icon = GFX_focus_secret_rearmament
		prerequisite = { focus = GER_die_wacht_am_rhineland }
		x = -2
		y = 1
		relative_position_id = GER_die_wacht_am_rhineland
		cost = 5
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_planned_mobilizaton3"
			if = {
				limit = {
					has_idea = extensive_conscription
				}
				add_ideas = service_by_requirement
			}
			else_if = {
				limit = {
					has_idea = limited_conscription
				}
				add_ideas = extensive_conscription
			}
			else_if = {
				limit = {
					has_idea = volunteer_only
				}
				add_ideas = limited_conscription
			}
			else_if = {
				limit = {
					has_idea = disarmed_nation
				}
				add_ideas = volunteer_only
			}
			if = {
				limit = {
					has_idea = partial_economic_mobilisation
				}
				add_ideas = war_economy
			}
			else_if = {
				limit = {
					has_idea = low_economic_mobilisation
				}
				add_ideas = partial_economic_mobilisation
			}
			else_if = {
				limit = {
					has_idea = civilian_economy
				}
				add_ideas = low_economic_mobilisation
			}
			else_if = {
				limit = {
					has_idea = isolation
				}
				add_ideas = civilian_economy
			}
		}
	}	
	focus = {
		id = GER_bismarkian_legislation
		icon = GFX_goal_generic_national_unity
		prerequisite = { focus = GER_die_wacht_am_rhineland }
		available = {
		} 
		x = -4
		y = 1
		relative_position_id = GER_die_wacht_am_rhineland
		cost = 10
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_bismarkian_legislation"
			add_stability = 0.1
		}
	}

	focus = { 
		id = GER_revive_the_kaiserreich
		icon = GFX_focus_ger_revive_kaiserreich
		prerequisite = { focus = GER_die_wacht_am_rhineland }
		mutually_exclusive = { focus = GER_reestablish_free_elections }
		bypass = {
			has_country_flag = GER_mackensen_dead
			NOT = { has_government = democratic }
		}
		available = {
			is_puppet = no
		}
		x = 2
		y = 2
		relative_position_id = GER_secure_the_new_state
		cost = 5
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_revive_the_kaiserreich"
			add_ideas = GER_revive_the_kaiserreich
			#custom_effect_tooltip = GER_revive_the_kaiserreich_tt
			hidden_effect = { set_cosmetic_tag = GER_german_empire }
			set_rule = { can_send_volunteers = yes }
			add_named_threat = { threat = 1 name = GER_revive_the_kaiserreich }	

			generate_character = {	
				token_base = Albrecht_von_Bayern		name= Albrecht_von_Bayern
				portraits={	army={	large="gfx/leaders/USA/mr_blue.dds"	small="gfx/interface/ideas/USA/30_blue.dds"	}	} #IGNORE args dont work
			}
			set_portraits = {
				character = Albrecht_von_Bayern
				army = { small = "gfx/interface/ideas/USA/30_blue.dds" large ="gfx/leaders/GER/Portrait_Germany_Albrecht_von_Bayern.dds" }
			}
			add_corps_commander_role = {
				Character = Albrecht_von_Bayern traits = { politically_connected }	skill = 2	attack_skill = 2 defense_skill = 2	planning_skill = 2	logistics_skill = 2
			}
			
			generate_character = {	
				token_base = Friedrich_Christian_von_Sachsen	name= Friedrich_Christian_von_Sachsen
				portraits={	army={	large="gfx/leaders/USA/mr_blue.dds"	small="gfx/interface/ideas/USA/30_blue.dds"	}	} #IGNORE args dont work
			}
			set_portraits = {
				character = Friedrich_Christian_von_Sachsen
				army = { small = "gfx/interface/ideas/USA/30_blue.dds" large ="gfx/leaders/GER/Portrait_Germany_Friedrich_Christian_von_Sachsen.dds" }
			}
			add_corps_commander_role = {
				Character = Friedrich_Christian_von_Sachsen	traits = { politically_connected }	skill = 2	attack_skill = 2 defense_skill = 2	planning_skill = 2	logistics_skill = 2
			}	

			generate_character = {	
				token_base = Wilhelm_von_Preussen	name= Wilhelm_von_Preussen
				portraits={	army={	large="gfx/leaders/USA/mr_blue.dds"	small="gfx/interface/ideas/USA/30_blue.dds"	}	} #IGNORE args dont work
			}
			set_portraits = {
				character = Wilhelm_von_Preussen
				army = { small = "gfx/interface/ideas/USA/30_blue.dds" large ="gfx/leaders/GER/Portrait_Germany_Wilhelm_von_Preussen.dds" }
			}
			add_corps_commander_role = {
				Character = Wilhelm_von_Preussen traits = { politically_connected infantry_officer }	skill = 2	attack_skill = 2 defense_skill = 2	planning_skill = 2	logistics_skill = 2
			}
			
			generate_character = {	
				token_base = Oskar_von_Preussen	name= Oskar_von_Preussen
				portraits={	army={	large="gfx/leaders/USA/mr_blue.dds"	small="gfx/interface/ideas/USA/30_blue.dds"	}	} #IGNORE args dont work
			}
			set_portraits = {
				character = Oskar_von_Preussen
				army = { small = "gfx/interface/ideas/USA/30_blue.dds" large ="gfx/leaders/GER/Portrait_Oskar_von_Preussen.dds" }
			}
			add_corps_commander_role = {
				Character = Oskar_von_Preussen	traits = { war_hero trait_reckless infantry_leader }	skill = 3	attack_skill = 3 defense_skill = 3	planning_skill = 3	logistics_skill = 2
			}
		}
	}	

	focus = { 
		id = GER_brinksmanship
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = GER_revive_the_kaiserreich }		
		x = -1
		y = 1
		relative_position_id = GER_revive_the_kaiserreich
		cost = 5
		ai_will_do = {
			factor = 80
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_brinksmanship"
			add_ideas = paper_scrap
			remove_ideas = sour_loser
		}
	}	
	
	focus = {
		id = GER_free_and_equal
		icon = GFX_focus_ger_oppose_hitler
		prerequisite = { focus = GER_revive_the_kaiserreich focus = GER_reestablish_free_elections }		
		#prerequisite = { focus = GER_reestablish_free_elections }
		x = -3
		y = 1
		relative_position_id = GER_revive_the_kaiserreich
		cost = 10
		ai_will_do = {
			factor = 80
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_free_and_equal"
			add_named_threat = { threat = 1 name = GER_revive_the_kaiserreich }
			add_ideas = deutsches_heer
			remove_ideas = idea_Reichswehr
			remove_ideas = versailes_naval_restrictions
		}
	}	
	focus = { 
		id = GER_military_staff_exp
		icon = GFX_goal_generic_build_tank
		prerequisite = { focus = GER_free_and_equal }
		available = {
			is_puppet = no
			NOT = { has_war_with = ENG }
		}
		cancel_if_invalid = yes
		x = 1
		y = 1
		relative_position_id = GER_free_and_equal
		cost = 10
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_military_staff_exp"
			army_experience = 10		
			swap_ideas = {
				add_idea = deutsches_heer2
			    	remove_idea = deutsches_heer
			}
		}
	}	
	focus = {
		id = GER_german_militarism
		icon = GFX_focus_generic_military_academy
		prerequisite = { focus = GER_free_and_equal }
		available = {
			NOT = { 
				has_government = democratic
			}
		}
		x = -1
		y = 1
		relative_position_id = GER_free_and_equal
		cost = 10
		available_if_capitulated = yes
		ai_will_do = {
			factor = 4
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus ER_german_militarism"
			add_ideas = GER_military
		}
	}	
	focus = {
		id = GER_imperial_militarism
		icon = GFX_focus_people
		prerequisite = { focus = GER_german_militarism }
		prerequisite = { focus = GER_military_staff_exp }		
		available = {
		}
		x = 1
		y = 1
		relative_position_id = GER_german_militarism
		cost = 10
		available_if_capitulated = yes
		ai_will_do = {
			factor = 0.1
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_imperial_militarism"
			swap_ideas = {
				add_idea = GER_military2
			    	remove_idea = GER_military
			}
		}
	}	
	
	
#########################################################################
#########################################################################
########      K A I S E R I S T     G E R M A N Y     E N D      ########
#########################################################################
#########################################################################	
	
#########################################################################	
	
#########################################################################
#########################################################################
########   D E M O C R A T I C     G E R M A N Y     S T A R T   ########
#########################################################################
#########################################################################
	focus = {
		id = GER_democratic_germany
		icon = GFX_goal_generic_major_alliance
		mutually_exclusive = { focus = GER_german_october }
		mutually_exclusive = { focus = GER_third_reich }
		mutually_exclusive = { focus = GER_monarchist_germany }
		x = 20
		y = 0
		cost = 0.2
		ai_will_do = {
			factor = 0
		}
		bypass = {
			has_government = fascism
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_democratic_germany"
			set_country_flag = ct_ger_political
		}
	}
	focus = {
		id = GER_SDP_vote_expans
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = GER_democratic_germany }
		x = -2
		y = 1
		relative_position_id = GER_democratic_germany
		cost = 10
		ai_will_do = {
			factor = 80
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_SDP_vote_expans"
			add_popularity = {
				ideology = democratic
				popularity = 0.03
			}
			if = {
				limit = {	is_ai = yes }
				add_popularity = {
					ideology = democratic
					popularity = 0.04
				}
			}
		}
	}
	focus = {
		id = GER_bav_autonomy
		icon = GFX_goal_generic_intelligence_exchange
		prerequisite = { focus = GER_SDP_vote_expans }
		x = 0
		y = 1
		relative_position_id = GER_SDP_vote_expans
		cost = 10
		ai_will_do = {
			factor = 80
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_bav_autonomy"
			add_popularity = {
				ideology = democratic
				popularity = 0.03
			}
			if = {
				limit = {	is_ai = yes }
				add_stability = 0.05				
				add_popularity = {
					ideology = democratic
					popularity = 0.04
				}
			}
			add_stability = 0.05
			add_political_power = 50
		}
	}
	focus = {
		id = GER_outlaw_paramilitaries
		icon = GFX_focus_prc_infiltration
		prerequisite = { focus = GER_bav_autonomy }
		x = 0
		y = 1
		relative_position_id = GER_bav_autonomy
		cost = 10
		ai_will_do = {
			factor = 80
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_outlaw_paramilitaries"
			add_popularity = {
				ideology = democratic
				popularity = 0.04
			}
			add_stability = 0.1
			if = {
				limit = {	is_ai = yes }
				add_stability = 0.05				
				add_popularity = {
					ideology = democratic
					popularity = 0.04
				}
			}
		}
	}
	focus = {
		id = GER_currency_deflation
		icon = GFX_goal_generic_consumer_goods
		prerequisite = { focus = GER_democratic_germany }
		x = 0
		y = 1
		relative_position_id = GER_democratic_germany
		cost = 10
		ai_will_do = {
			factor = 80
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_currency_deflation"
			add_stability = -0.05
		}
	}
	focus = {
		id = GER_winterhilfswerk
		icon = GFX_focus_generic_concessions
		prerequisite = { focus = GER_currency_deflation }
		x = 0
		y = 1
		relative_position_id = GER_currency_deflation
		cost = 10
		ai_will_do = {
			factor = 500
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_winterhilfswerk"
			add_stability = 0.05
			if = {
				limit = {	is_ai = yes }
				add_stability = 0.05				
				add_popularity = {
					ideology = democratic
					popularity = 0.04
				}
			}
		}
	}
	focus = {
		id = GER_cancel_wage_cuts
		icon = GFX_focus_people
		prerequisite = { focus = GER_winterhilfswerk }
		x = 0
		y = 1
		relative_position_id = GER_winterhilfswerk
		cost = 10
		ai_will_do = {
			factor = 80
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_cancel_wage_cuts"
			add_stability = 0.05
			add_political_power = 100
		}
	}
	focus = {
		id = GER_blackmail_hindenburg
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = GER_democratic_germany }
		x = 2
		y = 1
		relative_position_id = GER_democratic_germany
		cost = 10
		ai_will_do = {
			factor = 10
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_blackmail_hindenburg"
			add_popularity = {
				ideology = democratic
				popularity = 0.04
			}
			add_political_power = 100
		}
	}	
	focus = {
		id = GER_emergency_welfare_support
		icon = GFX_goal_generic_national_unity 
		prerequisite = { focus = GER_blackmail_hindenburg }
		x = 0
		y = 1
		relative_position_id = GER_blackmail_hindenburg
		cost = 10
		ai_will_do = {
			factor = 500
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_emergency_welfare_support"
			add_stability = 0.1
		}
	}
	focus = {
		id = GER_wheel_and_deal
		icon = GFX_goal_tripartite_pact
		prerequisite = { focus = GER_emergency_welfare_support }
		x = 0
		y = 1
		relative_position_id = GER_emergency_welfare_support
		cost = 10
		ai_will_do = {
			factor = 500
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_wheel_and_deal"
			add_popularity = {
				ideology = democratic
				popularity = 0.04
			}
		}
	}
	focus = {
		id = GER_reform_constitution
		icon = GFX_focus_bill
		prerequisite = { focus = GER_outlaw_paramilitaries }
		prerequisite = { focus = GER_cancel_wage_cuts }
		prerequisite = { focus = GER_wheel_and_deal }
		available = {
			date > 1932.5.1
		}
		x = 2
		y = 2
		relative_position_id = GER_outlaw_paramilitaries
		cost = 10
		ai_will_do = {
			factor = 80
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_reform_constitution"
			add_popularity = {
				ideology = democratic
				popularity = 0.01
			}
			add_political_power = 50
			remove_ideas = GER_voting_by_list
 			create_country_leader = {
				name = "Otto Wels"
				desc = "POLITICS_OTTO_WELS_DESC"
				picture = "Portrait_Germany_Otto_Wels.dds"
				expire = "1939.1.16"
				ideology = socialism
				traits = {
				}
			}
			set_country_flag = ct_nazi_pop_two
			set_country_flag = ct_nazi_pop_three
			set_country_flag = ct_ger_bruning
			set_country_flag = ct_ger_papen	
			set_country_flag = ct_ger_schleicher
			set_country_flag = ct_demo_gov
		}
	}

	focus = {
		id = GER_expel_the_extremists
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = GER_reform_constitution }
		available = {
			is_puppet = no
			NOT = { has_war_with = FRA }
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_reform_constitution
		cost = 10
		ai_will_do = {
			factor = 0.5
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_expel_the_extremists"
			add_war_support = 0.05
			add_timed_idea = {
				idea = GER_expatriate_the_extremists
				days = 365
			}
			add_named_threat = { threat = 5 }
			if = {
				limit = { 
					FRA = { 
						NOT = { has_government = fascism} 
						is_ai = yes
					} 
				}
				FRA = {
					add_timed_idea = {
 					   	idea = GER_communist_refugees
 					   	days = 730
					}
				}
				country_event = { id = wtt_germany.17 }
			}
			hidden_effect = {
				if = {
					limit = {
						AND = {
							has_global_flag = spanish_civil_war
							NOT = { has_global_flag = scw_over }
						}
					}
					random_other_country = {
						limit = {
							original_tag = SPR
							has_government = fascism
						}
						add_manpower = 5000
					}
				}
			}
		}
	}

	focus = {
		id = GER_saarland3
		icon = GFX_focus_saarland
		#prerequisite = { focus = GER_join_allies focus = GER_our_faction }
		prerequisite = { focus = GER_expel_the_extremists }
		available = {
			date > 1934.12.31
		}
		x = 0
		y = 1
		relative_position_id = GER_expel_the_extremists
		cost = 5
		ai_will_do = {
			factor = 200
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_saarland3"
			if = {
				limit = {
					FRA = {
						owns_state = 1047
						NOT = { has_completed_focus = FRA_my_saar }						
					}
				}
				transfer_state = 1047
			}
			if = {
				limit = {
					FRA = {
						owns_state = 1047
						has_completed_focus = FRA_my_saar					
					}
				}
				custom_effect_tooltip = FRA_saar_tt
			}
		}
	}
	focus = {
		id = GER_request_versailles_modification
		icon = GFX_focus_demo_ger
		prerequisite = { focus = GER_saarland3 }
		available = {
			is_puppet = no
			NOT = { has_war_with = ENG }
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_saarland3
		cost = 10
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_request_versailles_modification"
			custom_effect_tooltip = GER_rhineland_mod
			42 = { set_demilitarized_zone = no }
			51 = { set_demilitarized_zone = no }
			1047 = { set_demilitarized_zone = no }
			add_political_power = 100
			swap_ideas = {
				add_idea = Reichswehr2
			    remove_idea = idea_Reichswehr
			}
			remove_ideas = versailes_naval_restrictions
		}
	}

	focus = {
		id = GER_name_new_chancellor
		icon = GFX_focus_generic_diplomatic_treaty
		prerequisite = { focus = GER_reform_constitution }
		available = {
			is_puppet = no
			NOT = { has_war_with = ENG }
		}
		cancel_if_invalid = yes
		x = 3
		y = 2
		relative_position_id = GER_reform_constitution
		cost = 5
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_name_new_chancellor"
		}
	}
	focus = {
		id = GER_a_liberal_chancellor
		icon = GFX_focus_generic_self_management
		prerequisite = { focus = GER_name_new_chancellor }
		mutually_exclusive = { focus = GER_the_monarchy_compromise }
		mutually_exclusive = { focus = GER_a_conservative_chancellor }
		available = {
			is_puppet = no
			NOT = { has_war_with = ENG }
		}
		cancel_if_invalid = yes
		x = -1
		y = 1
		relative_position_id = GER_name_new_chancellor
		cost = 10
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_a_liberal_chancellor"
			create_country_leader = {
				name = "Konrad Adenauer"
				desc = "POLITICS_KONRAD_ADENAUER_DESC"
				picture = "Portrait_Germany_Konrad_Adenauer.dds"
				expire = "1965.1.1"
				ideology = conservatism
				traits = {
					economic_reformer	
				}
			}
		}
	}
	focus = {
		id = GER_demo_revenge
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = GER_a_liberal_chancellor focus = GER_a_conservative_chancellor }
		prerequisite = { focus = GER_request_versailles_modification }
		mutually_exclusive = { focus = GER_no_revenge }			
		cancel_if_invalid = yes
		available = {
			has_completed_focus = GER_four_year_plan
		}
		x = 0
		y = 1
		relative_position_id = GER_a_liberal_chancellor
		cost = 10
		ai_will_do = {
			factor = 10 
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_demo_revenge"
			add_political_power = 100
		}
	}

	focus = {
		id = GER_no_revenge
		icon = GFX_goal_generic_national_unity
		prerequisite = { focus = GER_a_liberal_chancellor focus = GER_a_conservative_chancellor }
		prerequisite = { focus = GER_request_versailles_modification }	
		mutually_exclusive = { focus = GER_demo_revenge }	
		cancel_if_invalid = yes
		available = {
			has_completed_focus = GER_four_year_plan
		}
		x = -4
		y = 1
		relative_position_id = GER_a_liberal_chancellor
		cost = 10
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_demo_revenge"
			add_stability = 0.1
			add_war_support = -0.25
		}
	}

	focus = {
		id = GER_join_allies
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = GER_no_revenge }
		available = {
			ENG = {
				has_completed_focus = ENG_steady_as_she_goes
				is_faction_leader = yes
				has_government = democratic
			}
			is_puppet = no
			NOT = { has_war_with = ENG }
		}
		mutually_exclusive = {
			focus = GER_our_faction
		}
		cancel_if_invalid = yes
		x = 1
		y = 1
		relative_position_id = GER_no_revenge
		cost = 10
		bypass = {	
			OR = {
				ENG = { NOT = { has_government = democratic }	}
				is_in_faction = yes			
			}
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_join_allies"
			if = {
				limit = { 
					ENG = { has_government = democratic }
				}
				add_political_power = 100
				ENG = {
					country_event = { id = generic.2 }
					add_ai_strategy = {
						type = befriend
						id = "GER"			
						value = 1000
					}
					add_ai_strategy = {
						type = alliance
						id = "GER"			
						value = 200
					}	
				}				
			}
		}
	}
	focus = {
		id = GER_our_faction 
		icon = GFX_focus_weimar
		prerequisite = { focus = GER_demo_revenge }
		available = {
			is_puppet = no
		}
		mutually_exclusive = {
			focus = GER_join_allies
		}
		cancel_if_invalid = yes
		x = -1
		y = 1
		relative_position_id = GER_demo_revenge
		cost = 5
		bypass = {	is_in_faction = yes }
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_our_faction"
			create_faction = central_european_union
			add_to_faction = GER
			add_political_power = 100
		}
	}	

	focus = {
		id = GER_allow_bavarian_secession
		icon = GFX_focus_wittelsbach
		prerequisite = { focus = GER_no_revenge }
		available = {
			is_puppet = no
			NOT = { has_war_with = ENG }
		}
		cancel_if_invalid = yes
		x = 0
		y = 2
		relative_position_id = GER_no_revenge
		cost = 10
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_request_colonies"
			custom_effect_tooltip = tt_bavarian
			hidden_effect = {
				release = BAY
				BAY = {
					create_country_leader = {
						name = "Ludwig Siebert"
						desc = "POLITICS_Ludwig_Siebert_DESC"
						picture = "Portrait_Bavaria_Ludwig_Siebert.dds"
						expire = "1945.1.1"
						ideology = conservatism
						traits = {
						}
					}
					set_politics = {
						ruling_party = democratic
					}
					add_popularity = {
						ideology = democratic
						popularity = 0.20
					}
				}
			}
		}
	}

	focus = {
		id = GER_embrace_pacifism 
		icon = GFX_goal_generic_alliance
		prerequisite = { focus = GER_no_revenge }
		available = {
			is_puppet = no
			NOT = { has_war_with = ENG }
		}
		cancel_if_invalid = yes
		x = -1
		y = 1
		relative_position_id = GER_no_revenge
		cost = 10
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_request_colonies"
			add_ideas = disarmed_nation
			add_ideas = free_trade
			add_stability = 0.25
		}
	}

	focus = {
		id = GER_request_colonies 
		icon = GFX_focus_german_africa
		prerequisite = { focus = GER_demo_revenge }
		available = {
			is_puppet = no
			NOT = { has_war_with = ENG }
		}
		cancel_if_invalid = yes
		x = 1
		y = 1
		relative_position_id = GER_demo_revenge
		cost = 10
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_request_colonies"
			transfer_state = 777
			transfer_state = 773
			transfer_state = 546
		}
	}	
	focus = {
		id = GER_a_conservative_chancellor
		icon = GFX_focus_generic_self_management
		prerequisite = { focus = GER_name_new_chancellor }
		mutually_exclusive = { focus = GER_a_liberal_chancellor }
		mutually_exclusive = { focus = GER_the_monarchy_compromise }
		available = {
			is_puppet = no
			NOT = { has_war_with = ENG }
		}
		cancel_if_invalid = yes
		x = 2
		y = 0
		relative_position_id = GER_a_liberal_chancellor
		cost = 10
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_a_conservative_chancellor"
			create_country_leader = {
				name = "Joseph Wirth"
				desc = "POLITICS_WIRTH_DESC"
				picture = "Portrait_GER_Joseph_Wirth.dds"
				expire = "1965.1.1"
				ideology = conservatism
				traits = {	
					conservative_grandee
				}
			}
		}
	}
	focus = {
		id = GER_aus_customs_union
		icon = GFX_goal_generic_positive_trade_relations
		prerequisite = { focus = GER_demo_revenge }
		#prerequisite = { focus = GER_demo_revenge }
		available = {
			is_puppet = no
			NOT = { has_war_with = ENG }
		}
		cancel_if_invalid = yes
		x = 0
		y = 2
		relative_position_id = GER_demo_revenge
		cost = 10
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_aus_customs_union"
			#custom_effect_tooltip = tt_customs_union
			add_political_power = 100
			AUS = {
				add_opinion_modifier = {				
					target = ROOT
					modifier = large_increase
				}
			}
		}
	}
	focus = {
		id = GER_aus_union_referendum
		icon = GFX_focus_austro_german 
		prerequisite = { focus = GER_aus_customs_union }
		#prerequisite = { focus = GER_demo_revenge2 }
		available = {
			country_exists = AUS
			has_completed_focus = GER_accept_british_naval_dominance
			#has_army_manpower = { size > 749999 } #ca 80 div
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_aus_customs_union
		cost = 10
		ai_will_do = {
			factor = 10
		}
		bypass = {
			OR = {
				has_war_with = AUS
				NOT = { country_exists = AUS }
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_aus_union_referendum"
			AUS = { country_event = { id = ctger.18 } }
		}
	}
	focus = {
		id = GER_retain_good_soviet_relations
		icon = GFX_focus_chi_mission_to_the_soviet_union 
		prerequisite = { focus = GER_aus_union_referendum }
		mutually_exclusive = { focus = GER_actually_youssr_suck }
		cancel_if_invalid = yes
		x = 1
		y = 1
		relative_position_id = GER_aus_union_referendum
		cost = 5
		ai_will_do = {
			factor = 10
		}
		bypass = {
			OR = {
				has_war_with = SOV
				NOT = { country_exists = SOV }
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_retain_good_soviet_relations"
			SOV = {
				add_opinion_modifier = {				
					target = ROOT
					modifier = large_increase
				}
			}
		}
	}
	focus = {
		id = GER_actually_youssr_suck
		icon = GFX_goal_anti_comintern_pact
		prerequisite = { focus = GER_aus_union_referendum }
		mutually_exclusive = { focus = GER_retain_good_soviet_relations }
		cancel_if_invalid = yes
		x = -1
		y = 1
		relative_position_id = GER_aus_union_referendum
		cost = 5
		ai_will_do = {
			factor = 10
		}
		bypass = {
			OR = {
				has_war_with = SOV
				NOT = { country_exists = SOV }
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_actually_youssr_suck"
			SOV = {
				add_opinion_modifier = {				
					target = ROOT
					modifier = large_decrease
				}
			}
		}
	}
	
	focus = {
		id = GER_tackle_communist 
		icon = GFX_goal_generic_war_with_comintern
		prerequisite = { focus = GER_actually_youssr_suck }
		prerequisite = { focus = GER_finnish_pact }
		available = {
			is_puppet = no
			SOV = {	has_government = communism	}
			NOT = { is_in_faction_with = SOV }
		}
		bypass = {
			has_war_with = SOV
			NOT = { country_exists = SOV }
		}
		cancel_if_invalid = yes
		x = 0
		y = 3
		relative_position_id = GER_actually_youssr_suck
		cost = 10
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_tackle_communist"
			create_wargoal = {
				type = annex_everything
				target = SOV
				expire = 0
			}
		}
	}
	
	
	
	focus = {
		id = GER_sudetenland_situation
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = GER_actually_youssr_suck focus = GER_retain_good_soviet_relations }
		cancel_if_invalid = yes
		available = {
			country_exists = CZE
			has_army_manpower = { size > 399999 } #40 div
		}
		x = 1
		y = 1
		relative_position_id = GER_actually_youssr_suck
		cost = 10
		ai_will_do = {
			factor = 10
		}
		bypass = {
			OR = {
				has_war_with = CZE
				NOT = { country_exists = CZE }
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_sudetenland_situation"
			CZE = { country_event = { id = ctger.23 } }
		}
	}
	
	focus = {
		id = GER_polish_situation
		icon = GFX_focus_generic_polish_deal
		prerequisite = { focus = GER_actually_youssr_suck focus = GER_retain_good_soviet_relations }
		cancel_if_invalid = yes
		available = {
			country_exists = POL
			has_army_manpower = { size > 699999 } #40 div
		}
		x = 1
		y = 2
		relative_position_id = GER_actually_youssr_suck
		cost = 10
		ai_will_do = {
			factor = 10
		}
		bypass = {
			OR = {
				has_war_with = POL
				NOT = { country_exists = POL }
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_polish_situation"
			POL = { country_event = { id = ctgerSP.1 } }
		}
	}	
	
	focus = {
		id = GER_finnish_fusion
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = GER_actually_youssr_suck }
		cancel_if_invalid = yes
		x = -1
		y = 1
		relative_position_id = GER_actually_youssr_suck
		cost = 10
		ai_will_do = {
			factor = 10
		}
		bypass = {
			OR = {
				has_war_with = FIN
				NOT = { country_exists = FIN }
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_finnish_fusion"
			add_ai_strategy = {
				type = befriend
				id = "FIN"			
				value = 200
			}
			add_ai_strategy = {
				type = alliance
				id = "FIN"			
				value = 200
			}
			FIN = {
				add_ai_strategy = {
					type = befriend
					id = "GER"			
					value = 200
				}
				add_ai_strategy = {
					type = alliance
					id = "GER"			
					value = 200
				}
				add_opinion_modifier = {				
					target = ROOT
					modifier = huge_increase
				}
			}
		}
	}
	focus = {
		id = GER_finnish_pact
		icon = GFX_focus_king_of_finland
		prerequisite = { focus = GER_finnish_fusion }
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_finnish_fusion
		cost = 5
		ai_will_do = {
			factor = 10
		}
		available = {
			is_puppet = no
			NOT = { has_war_with = FIN }
		}
		bypass = {
			OR = {
				AND = {
					FIN = { has_war = yes }
					NOT = { has_war_with = FIN }
				}
				AND = {
					FIN = { is_subject = yes }
					NOT = { FIN = { is_subject_of = GER } }
				}
				FIN = { exists = no }
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_finnish_pact"
			diplomatic_relation = {
				country = FIN
				relation = guarantee
				active = yes
			}
			FIN = {
				add_ideas = GER_FIN_industrial_support
			}			
		}
	}
#########################################################################
#########################################################################
########    D E M O C R A T I C      G E R M A N Y      E N D    ########
#########################################################################
#########################################################################



#########################################################################
#########################################################################
########    C O M M U N I S T     G E R M A N Y     S T A R T    ########
#########################################################################
#########################################################################
	focus = {
		id = GER_german_october
		icon = GFX_focus_generic_join_comintern
		mutually_exclusive = { focus = GER_third_reich }
		mutually_exclusive = { focus = GER_democratic_germany }
		mutually_exclusive = { focus = GER_monarchist_germany }
		x = 4
		y = 0
		cost = 0.2
		ai_will_do = {
			factor = 0
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_german_october"
			set_country_flag = ct_ger_political
			#country_event = { id = ctger.17 }
		}
	}
	
	focus = {
		id = GER_kdp
		icon = GFX_focus_kdp
		prerequisite = { focus = GER_demand_chancelo }
		available = {
			has_government = communism 
		}
		x = 0
		y = 7
		relative_position_id = GER_german_october
		cost = 10
		ai_will_do = {
			factor = 0
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_kdp"
			add_political_power = 100
			remove_ideas = strikes_3
		}
	}
	focus = { 
		id = GER_munzenberg
		icon = GFX_focus_munzenberg
		prerequisite = { focus = GER_german_october }
		mutually_exclusive = { focus = GER_thalmann }
		x = 1
		y = 1
		relative_position_id = GER_german_october
		cost = 10
		ai_will_do = {
			factor = 0
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_munzenberg"
			set_country_flag = ct_munzenberg
			create_country_leader = {
				name = "Willi Munzenberg"
				desc = "POLITICS_ERNST_THALMANN_DESC"
				picture = "Portrait_Germany_Willi_Munzenberg.dds"
				expire = "1965.1.1"
				ideology = leninism
				traits = {
					ct30_popular_reformer
				}
			}
			add_popularity = {
				ideology = communism
				popularity = 0.02
			}			
		}
	}
	focus = {
		id = GER_popular_front
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = GER_munzenberg }
		available = {
			NOT = { has_government = fascism }
		}
		x = 0
		y = 1
		relative_position_id = GER_munzenberg
		cost = 10
		ai_will_do = {
			factor = 0
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_popular_front"
			add_stability = 0.05
			add_political_power = 50		
			add_popularity = {
				ideology = communism
				popularity = 0.08
			}
		}
	}
	focus = {
		id = GER_thalmann
		icon = GFX_focus_thalmann
		prerequisite = { focus = GER_german_october }
		mutually_exclusive = { focus = GER_munzenberg }
		x = -1
		y = 1
		relative_position_id = GER_german_october
		cost = 10
		ai_will_do = {
			factor = 5
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_thalmann"
			add_popularity = {
				ideology = communism
				popularity = 0.04
			}			
		}
	}
	focus = {
		id = GER_soviet_aid
		icon = GFX_focus_chi_mission_to_the_soviet_union
		prerequisite = { focus = GER_thalmann }
		available = {
			has_government = communism 
		}
		x = -1
		y = 1
		relative_position_id = GER_thalmann
		cost = 10
		ai_will_do = {
			factor = 0
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_soviet_aid"
			add_ideas = soviet_aid
		}
	}
	
	focus = {
		id = GER_infiltrate_SDP
		icon = GFX_focus_SPD_commy
		prerequisite = { focus = GER_thalmann focus = GER_popular_front }
		x = -1
		y = 3
		relative_position_id = GER_german_october
		cost = 10
		ai_will_do = {
			factor = 0
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_infiltrate_SDP"
			add_political_power = 50
			add_popularity = {
				ideology = communism
				popularity = 0.04
			}
		}
	}
	focus = {
		id = GER_rally_the_roter_frontkampferbund
		icon = GFX_focus_roter_frontkampferbund
		prerequisite = { focus = GER_thalmann focus = GER_popular_front }
		x = 1
		y = 3
		relative_position_id = GER_german_october
		cost = 10
		ai_will_do = {
			factor = 0
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_rally_the_roter_frontkampferbund"
			add_political_power = 50 
		}
	}	
	focus = {
		id = GER_battle_for_streets
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = GER_rally_the_roter_frontkampferbund }
		x = 0
		y = 1
		relative_position_id = GER_rally_the_roter_frontkampferbund
		cost = 10
		ai_will_do = {
			factor = 0
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_battle_for_streets"
			add_political_power = 50
			add_popularity = {
				ideology = communism
				popularity = 0.04
			}
		}
	}
	
	focus = {
		id = GER_expose_nazi_putsch 
		icon = GFX_focus_generic_combined_arms
		prerequisite = { focus = GER_battle_for_streets }
		x = 0
		y = 1
		relative_position_id = GER_battle_for_streets
		cost = 10
		ai_will_do = {
			factor = 0
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_expose_nazi_putsch"
			add_popularity = {
				ideology = communism
				popularity = 0.1
			}
			add_popularity = {
				ideology = fascism
				popularity = -0.1
			}
		}
	}		
	
	focus = {
		id = GER_instigate_labor_strikes
		icon = GFX_goal_generic_soviet_construction
		prerequisite = { focus = GER_infiltrate_SDP }
		x = 0
		y = 1
		relative_position_id = GER_infiltrate_SDP
		cost = 10
		ai_will_do = {
			factor = 0
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_instigate_labor_strikes"
			add_popularity = {
				ideology = communism
				popularity = 0.04
			}
			add_ideas = strikes_1
		}
	}
	focus = {
		id = GER_general_strikes
		icon = GFX_goal_generic_trade
		prerequisite = { focus = GER_instigate_labor_strikes }
		x = 0
		y = 1
		relative_position_id = GER_instigate_labor_strikes
		cost = 10
		ai_will_do = {
			factor = 0
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_general_strikes"
			add_popularity = {
				ideology = communism
				popularity = 0.04
			}
			swap_ideas = {
				add_idea = strikes_3
			    remove_idea = strikes_1
			}
		}
	}	
	focus = {
		id = GER_demand_chancelo
		icon = GFX_focus_generic_soviet_politics
		prerequisite = { focus = GER_expose_nazi_putsch }
		prerequisite = { focus = GER_general_strikes }
		x = 1
		y = 1
		relative_position_id = GER_general_strikes
		cost = 5
		ai_will_do = {
			factor = 0
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_demand_chancelo"
			country_event = { id = ctger.16 }
		}
	}		
	focus = { 
		id = GER_young_communist_league
		icon = GFX_focus_generic_military_academy
		prerequisite = { focus = GER_commy_enabling_act }
		x = 1
		y = 2
		relative_position_id = GER_kdp
		cost = 10
		ai_will_do = {
			factor = 5
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_young_communist_league"
			add_ideas = idea_kjvd
		}
	}
	focus = {
		id = GER_rightist_judiciary
		icon = GFX_goal_generic_neutrality_focus
		prerequisite = { focus = GER_commy_enabling_act }
		x = 1
		y = 1
		relative_position_id = GER_young_communist_league
		cost = 10
		ai_will_do = {
			factor = 5
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_rightist_judiciary"
			remove_ideas = rightist_judiciary
		}
	}
	focus = {
		id = GER_saarland4
		icon = GFX_focus_saarland
		prerequisite = { focus = GER_planned_mobilizaton }
		prerequisite = { focus = GER_rightist_judiciary }
		prerequisite = { focus = GER_national_industry }
		available = {
			date > 1934.12.31
		}
		x = 0
		y = 1
		relative_position_id = GER_rightist_judiciary
		cost = 5
		ai_will_do = {
			factor = 200
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_saarland4"
			if = {
				limit = {
					FRA = {
						owns_state = 1047
						NOT = { has_completed_focus = FRA_my_saar }						
					}
				}
				transfer_state = 1047
			}
			if = {
				limit = {
					FRA = {
						owns_state = 1047
						has_completed_focus = FRA_my_saar					
					}
				}
				custom_effect_tooltip = FRA_saar_tt
			}
		}
	}
	focus = {
		id = GER_rhineland2
		icon = GFX_goal_generic_military_sphere
		prerequisite = { focus = GER_saarland4 }
		x = 0
		y = 1
		relative_position_id = GER_saarland4
		cost = 5
		available = { is_puppet = no }
		bypass = {
			42 = { is_demilitarized_zone = no }
			51 = { is_demilitarized_zone = no }
		}
		ai_will_do = {
			factor = 10
		}	
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_rhineland2"
			42 = { set_demilitarized_zone = no }
			51 = { set_demilitarized_zone = no }
			1047 = { set_demilitarized_zone = no }
			custom_effect_tooltip = GER_rhineland_ultimatum
			add_political_power = 120
			army_experience = 5
			add_named_threat = { threat = 5 name = GER_rhineland }
			if = {
				limit = { FRA = { is_puppet = no } }
				FRA = {
					country_event = { id = germany.60 }
					custom_effect_tooltip = may_provoke_hostility
				}
			}
		}		
	}
	focus = {
		id = GER_nulify_versailles
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = GER_kdp }
		available = {
			has_country_flag = ct_enabling_act
		}
		x = -1
		y = 1
		relative_position_id = GER_kdp
		cost = 10
		ai_will_do = {
			factor = 5
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_nulify_versailles"
			add_political_power = 50
			add_ideas = national_peoples_army
			remove_ideas = idea_Reichswehr
			remove_ideas = versailes_naval_restrictions
		}
	}
	focus = {
		id = GER_planned_mobilizaton
		icon = GFX_focus_secret_rearmament
		prerequisite = { focus = GER_nulify_versailles }
		x = 1
		y = 2
		relative_position_id = GER_nulify_versailles
		cost = 14.3
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_planned_mobilizaton"
			if = {
				limit = {
					has_idea = extensive_conscription
				}
				add_ideas = service_by_requirement
			}
			else_if = {
				limit = {
					has_idea = limited_conscription
				}
				add_ideas = extensive_conscription
			}
			else_if = {
				limit = {
					has_idea = volunteer_only
				}
				add_ideas = limited_conscription
			}
			else_if = {
				limit = {
					has_idea = disarmed_nation
				}
				add_ideas = volunteer_only
			}
			if = {
				limit = {
					has_idea = partial_economic_mobilisation
				}
				add_ideas = war_economy
			}
			else_if = {
				limit = {
					has_idea = low_economic_mobilisation
				}
				add_ideas = partial_economic_mobilisation
			}
			else_if = {
				limit = {
					has_idea = civilian_economy
				}
				add_ideas = low_economic_mobilisation
			}
			else_if = {
				limit = {
					has_idea = isolation
				}
				add_ideas = civilian_economy
			}
		}
	}	
	focus = {
		id = GER_clandestine_rearmament_com
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = GER_nulify_versailles }
		x = 0
		y = 1
		relative_position_id = GER_nulify_versailles
		cost = 10
		available_if_capitulated = yes
		ai_will_do = {
			factor = 5			
		}
		bypass = {
			custom_trigger_tooltip = {
				tooltip = production_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = arms_factory
						size < 2
						include_locked = yes
					}
				}
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_clandestine_rearmament_com"
			if = {
				limit = {
					is_ai = yes
				}
				random_owned_controlled_state = { 
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = arms_factory
						level = 3
						instant_build = yes
					}
				}
			}
			42 = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = arms_factory
					level = 3
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = GER_commy_enabling_act
		icon = GFX_focus_generic_soviet_politics
		prerequisite = { focus = GER_kdp }
		available = {
			communism > 0.66
		}
		x = 1
		y = 1
		relative_position_id = GER_kdp
		cost = 10
		ai_will_do = {
			factor = 5
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_commy_enabling_act"
			remove_ideas = GER_voting_by_list
			set_country_flag = ct_enabling_act
		}
	}

	focus = {
		id = GER_red_radio
		icon = GFX_goal_generic_radar
		prerequisite = { focus = GER_kdp }
		x = -3
		y = 1
		relative_position_id = GER_kdp
		cost = 10
		ai_will_do = {
			factor = 5
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_red_radio"
			add_political_power = 50
			add_stability = 0.05		
			add_popularity = {
				ideology = communism
				popularity = 0.1
			}
		}
	}

	focus = {
		id = GER_red_papers
		icon = GFX_focus_generic_treaty
		prerequisite = { focus = GER_red_radio }
		available = {
			has_country_flag = ct_enabling_act
		}
		x = 0
		y = 1
		relative_position_id = GER_red_radio
		cost = 10
		ai_will_do = {
			factor = 5
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_red_papers"
			add_stability = 0.1		
			add_popularity = {
				ideology = communism
				popularity = 0.08
			}
		}
	}

	focus = {
		id = GER_national_industry
		icon = GFX_goal_generic_soviet_construction
		prerequisite = { focus = GER_commy_enabling_act }
		x = 2
		y = 1
		relative_position_id = GER_commy_enabling_act
		cost = 10
		ai_will_do = {
			factor = 5
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_national_industry"
			64 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
    					type = industrial_complex
    					level = 1
    					instant_build = yes
				}
			}
			62 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
    					type = industrial_complex
    					level = 1
    					instant_build = yes
				}
			}
			59 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
    					type = industrial_complex
    					level = 1
    					instant_build = yes
				}
			}
			50 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
    					type = industrial_complex
    					level = 1
    					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = GER_purify_military
		icon = GFX_focus_generic_military_mission
		prerequisite = { focus = GER_kdp }
		available = {
			has_country_flag = ct_enabling_act
		}
		x = 3
		y = 1
		relative_position_id = GER_kdp
		cost = 10
		ai_will_do = {
			factor = 5
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_purify_military"
			remove_ideas = army_unrest
			remove_unit_leader = 23
			remove_unit_leader = 24
			remove_unit_leader = 90
			remove_unit_leader = 129
			remove_unit_leader = 130
			remove_unit_leader = 131
			remove_unit_leader = 162
			remove_unit_leader = 163
			remove_unit_leader = 179
		}
	}

	focus = {
		id = GER_join_comintern
		icon = GFX_focus_generic_join_comintern
		mutually_exclusive = { focus = GER_form_fourth_international }
		available = {
			has_government = communism 
			has_country_flag = ct_enabling_act
		}
		x = 1
		y = 2
		relative_position_id = GER_red_radio
		cost = 10
		ai_will_do = {
			factor = 80
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_join_comintern"
			add_political_power = 50
			SOV = { add_to_faction = GER }
		}
	}
	focus = {
		id = GER_form_fourth_international
		icon = GFX_goal_support_fourth_int
		mutually_exclusive = { focus = GER_join_comintern }
		available = {
			has_government = communism 
			has_country_flag = ct_enabling_act
		}
		x = -1
		y = 2
		relative_position_id = GER_red_radio
		cost = 10
		ai_will_do = {
			factor = 80
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_form_fourth_international"
			add_political_power = 100
			create_faction = fourth_international
			add_to_faction = GER
		}
	}
#########################################################################
#########################################################################
########      C O M M U N I S T     G E R M A N Y     E N D      ########
#########################################################################
#########################################################################


#########################################################################
#########################################################################
########        N S D A P     G E R M A N Y     S T A R T        ########
#########################################################################
#########################################################################
	focus = {
		id = GER_third_reich
		icon = GFX_focus_ger_reichskommisariats
		mutually_exclusive = { focus = GER_german_october }
		mutually_exclusive = { focus = GER_democratic_germany }
		mutually_exclusive = { focus = GER_monarchist_germany }
		x = 53
		y = 0
		cost = 0.2
		ai_will_do = {	factor = 1000	}
		bypass = {	has_government = fascism }
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_third_reich"
			#set_country_flag = ct_ger_political	
			set_country_flag = ct_ger_political		
			if = {
				limit = {	is_ai = yes		}
				hidden_effect = {	#This is to help the stupid ai... otherwise germany is smothered early
					add_political_power = 995
					add_stability = 0.25
					add_war_support = 0.25
					add_manpower = 100000
					army_experience = 300
					navy_experience = 50
					air_experience = 50
					#set_technology = {	
					#	tech_field_hospital = 1 
					#	tech_engineers = 1
					#	tech_recon = 1
					#	basic_heavy_tank = 1
					#	tech_maintenance_company = 1
					#	interwar_antitank = 1
					##	interwar_antiair = 1
					#}
					if = {
						limit = {	has_idea = civilian_economy	}
						add_ideas = low_economic_mobilisation
					}
					random_owned_controlled_state = {
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
							type = arms_factory
							level = 2
							instant_build = yes
						}
					}
					random_owned_controlled_state = {
						limit = {
							dockyard > 0
							free_building_slots = {
								building = dockyard
								size > 1
								include_locked = yes
							}
						}
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
							type = dockyard
							level = 2
							instant_build = yes
						}
					}
					random_owned_controlled_state = {
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
								type = industrial_complex
								level = 2
								instant_build = yes
						}
					}
					random_owned_controlled_state = {
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
								type = industrial_complex
								level = 2
								instant_build = yes
						}
					}
					random_owned_controlled_state = {
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
								type = industrial_complex
								level = 2
								instant_build = yes
						}
					}
					random_owned_controlled_state = {
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
							type = arms_factory
							level = 2
							instant_build = yes
						}
					}					
				}
			}	
		}
	}
	focus = {
		id = GER_hitler_oratory
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = GER_third_reich }
		available = {
		}		
		x = 0
		y = 1
		relative_position_id = GER_third_reich
		cost = 10
		ai_will_do = {
			factor = 100
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_hitler_oratory"
			add_political_power = 50
			add_popularity = {
				ideology = fascism
				popularity = 0.01
			}
			if = {
				limit = {
					is_ai = yes
				}
				add_popularity = {
					ideology = fascism
					popularity = 0.04
				}
			}
		}
	}
	focus = {
		id = GER_sa
		icon = GFX_focus_sa
		prerequisite = { focus = GER_hitler_oratory }
		available = {
		}		
		x = 1
		y = 1
		relative_position_id = GER_hitler_oratory
		cost = 10
		ai_will_do = {
			factor = 100
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_sa"
			add_political_power = 50
			add_ideas = GER_Sturmabteilung
			add_popularity = {
				ideology = fascism
				popularity = 0.02
			}
			if = {
				limit = {
					is_ai = yes
				}
				add_popularity = {
					ideology = fascism
					popularity = 0.04
				}
			}
		}
	}

	focus = {
		id = GER_blame_jews
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = GER_sa }
		available = {
		}		
		x = 0
		y = 1
		relative_position_id = GER_sa
		cost = 10
		ai_will_do = {
			factor = 100
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_blame_jews"
			add_political_power = 50
			add_popularity = {
				ideology = fascism
				popularity = 0.02
			}
			if = {
				limit = {
					is_ai = yes
				}
				add_popularity = {
					ideology = fascism
					popularity = 0.04
				}
			}
		}
	}
	focus = {
		id = GER_er_ev_ef
		icon = GFX_focus_hitler
		prerequisite = { focus = GER_blame_jews }
		available = {
		}		
		x = 0
		y = 1
		relative_position_id = GER_blame_jews
		cost = 10
		ai_will_do = {
			factor = 100
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_er_ev_ef"
			add_political_power = 50
			add_popularity = {
				ideology = fascism
				popularity = 0.02
			}
			if = {
				limit = {
					is_ai = yes
				}
				add_popularity = {
					ideology = fascism
					popularity = 0.04
				}
			}
		}
	}	
	focus = {
		id = GER_political_destabilization
		icon = GFX_focus_generic_strike_at_democracy2
		prerequisite = { focus = GER_hitler_oratory }
		available = {
		}		
		x = -1
		y = 1
		relative_position_id = GER_hitler_oratory
		cost = 10
		ai_will_do = {
			factor = 100
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_political_destabilization"
			add_political_power = 50
			add_stability = -0.05
			add_popularity = {
				ideology = fascism
				popularity = 0.04
			}
			if = {
				limit = {	is_ai = yes }
				add_popularity = {
					ideology = fascism
					popularity = 0.04
				}
			}
		}
	}
	focus = {
		id = GER_court_dnvp_support
		icon = GFX_goal_dnvp
		prerequisite = { focus = GER_political_destabilization }
		available = {
		}		
		x = 0
		y = 1
		relative_position_id = GER_political_destabilization
		cost = 10
		ai_will_do = {
			factor = 100
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_court_dnvp_support"
			add_political_power = 50
			custom_effect_tooltip = dnvp_support_tt
			if = {
				limit = {	is_ai = yes }
				add_popularity = {
					ideology = fascism
					popularity = 0.04
				}
			}
		}
	}
	focus = {
		id = GER_court_zentrum_support
		icon = GFX_goal_generic_intelligence_exchange
		prerequisite = { focus = GER_court_dnvp_support }
		prerequisite = { focus = GER_invoke_48 }
		available = {
		}		
		x = 0
		y = 1
		relative_position_id = GER_court_dnvp_support
		cost = 10
		ai_will_do = {
			factor = 100
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_court_zentrum_support"
			add_political_power = 50
			custom_effect_tooltip = zentrum_support_tt
			if = {
				limit = {	is_ai = yes }
				add_popularity = {
					ideology = fascism
					popularity = 0.04
				}
			}
		}
	}	
	focus = {
		id = GER_demand_chancelo2
		icon = GFX_focus_generic_support_the_left_right
		prerequisite = { focus = GER_court_zentrum_support }
		prerequisite = { focus = GER_er_ev_ef }
		available = {
			is_puppet = no
		}		
		x = 1
		y = 1
		relative_position_id = GER_court_zentrum_support
		cost = 5
		ai_will_do = {
			factor = 0
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_demand_chancelo2"
			country_event = { id = ctger.8 }
		}
	}	
	
	focus = {
		id = GER_nsdap
		icon = GFX_focus_nsdap
		prerequisite = { focus = GER_demand_chancelo2 }
		x = 0
		y = 1
		relative_position_id = GER_demand_chancelo2
		cost = 10
		ai_will_do = {
			factor = 100
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_nsdap"
			add_political_power = 100
			add_popularity = {
				ideology = fascism
				popularity = 0.02
			}
			if = {
				limit = {	is_ai = yes }
				add_popularity = {
					ideology = fascism
					popularity = 0.04
				}
			}
		}
	}

	focus = {
		id = GER_party_rally
		icon = GFX_goal_tripartite_pact
		prerequisite = { focus = GER_nsdap }
		x = -3
		y = 1
		relative_position_id = GER_nsdap
		cost = 10
		ai_will_do = {
			factor = 150
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_ss"
			add_political_power = 150
		}
	}
	focus = {
		id = GER_ss
		icon = GFX_focus_GER_ss
		prerequisite = { focus = GER_nsdap }
		x = 3
		y = 1
		relative_position_id = GER_nsdap
		cost = 10
		ai_will_do = {	factor = 150	}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_ss"
			add_ideas = GER_Schutzstaffel

		}
	}
	focus = {
		id = GER_invoke_48
		icon = GFX_focus_ger_no_vote
		prerequisite = { focus = GER_political_destabilization focus = GER_limited_ag_reform }		
		x = -5
		y = 1
		relative_position_id = GER_political_destabilization
		cost = 10
		ai_will_do = {
			factor = 100
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_invoke_48"
			add_timed_idea = {
 			   	idea = GER_article_48
 			   	days = 365
			}
			add_popularity = {
				ideology = fascism
				popularity = 0.02
			}
		}
	}
	focus = {
		id = GER_hitler_youth
		icon = GFX_focus_hitler_youth
		prerequisite = { focus = GER_nsdap }
		available = {	has_country_flag = ct_enabling_act	}
		x = 1
		y = 1
		relative_position_id = GER_nsdap
		cost = 10
		ai_will_do = {factor = 150	}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_hitler_youth"
			add_ideas = GER_hitler_youth
			add_popularity = {
				ideology = fascism
				popularity = 0.01
			}
		}
	}
	focus = {
		id = GER_deutsche_arbeitsfront
		icon = GFX_focus_german_labor_front
		prerequisite = { focus = GER_nsdap }
		available = {
			has_country_flag = ct_enabling_act
		}
		x = 2
		y = 3
		relative_position_id = GER_nsdap
		cost = 5
		ai_will_do = {factor = 150}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_deutsche_arbeitsfront"
			add_ideas = german_labor_front
			add_popularity = {
				ideology = fascism
				popularity = 0.01
			}
		}
	}
	focus = {
		id = GER_enabling_act
		icon = GFX_focus_enabling_act
		prerequisite = { focus = GER_reichstag_fire }
		prerequisite = { focus = GER_long_knives }
		available = {
			has_country_flag = ct_hindenburg_fallen
		}
		x = 1
		y = 2
		relative_position_id = GER_ss
		cost = 5
		ai_will_do = {
			factor = 4000
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_enabling_act"
			set_country_flag = ct_enabling_act
			remove_ideas = { sour_loser }
			swap_ideas = {
				add_idea = GER_fuhrer
			    remove_idea = GER_voting_by_list
			}
		}
	}
	focus = {
		id = GER_gleichschaltung
		icon = GFX_focus_generic_self_management
		prerequisite = { focus = GER_enabling_act }
		x = 0
		y = 1
		relative_position_id = GER_enabling_act
		cost = 5
		ai_will_do = {
			factor = 100
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_gleichschaltung"
			add_stability = 0.1
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}
		}
	}
	focus = {
		id = GER_systematic_propaganda
		icon = GFX_focus_nazi_prop
		prerequisite = { focus = GER_nsdap }
		available = {
			has_country_flag = ct_enabling_act
		}
		x = -2
		y = 2
		relative_position_id = GER_nsdap
		cost = 8
		ai_will_do = {
			factor = 80
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_systematic_propaganda"
			add_stability = 0.05	
				add_popularity = {
					ideology = fascism
					popularity = 0.1
				}
		}
	}
	focus = {
		id = GER_massive_misinformation
		icon = GFX_focus_generic_military_academy
		prerequisite = { focus = GER_systematic_propaganda }
		x = 0
		y = 2
		relative_position_id = GER_systematic_propaganda
		cost = 8
		ai_will_do = {
			factor = 80
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_massive_misinformation"
			add_stability = 0.1		
			GER = {	
				add_popularity = {
					ideology = fascism
					popularity = 0.05
				}
			}
		}
	}
	focus = {
		id = GER_war_support
		icon = GFX_focus_hitler
		prerequisite = { focus = GER_systematic_propaganda }
		x = -1
		y = 1
		relative_position_id = GER_systematic_propaganda
		cost = 5
		ai_will_do = {	factor = 50	}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_war_support"
			add_war_support = 0.20
		}
	}
	focus = {
		id = GER_Versailles
		icon = GFX_focus_generic_anti_fascist_diplomacy
		prerequisite = { focus = GER_nsdap }
		available = {	has_country_flag = ct_enabling_act	}
		x = -1
		y = 1
		relative_position_id = GER_nsdap
		cost = 8
		ai_will_do = {	factor = 500	}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_Versailles"
			add_political_power = 50
			add_ideas = GER_Wehrmacht
			remove_ideas = idea_Reichswehr
			remove_ideas = versailes_naval_restrictions
		}
	}
	focus = {
		id = GER_planned_mobilizaton2
		icon = GFX_focus_secret_rearmament
		prerequisite = { focus = GER_Versailles }
		x = 2
		y = 3
		relative_position_id = GER_Versailles
		cost = 5
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_planned_mobilizaton2"
			if = {
				limit = {	has_idea = extensive_conscription	}
				add_ideas = service_by_requirement
			}
			else_if = {
				limit = {	has_idea = limited_conscription	}
				add_ideas = extensive_conscription
			}
			else_if = {
				limit = {	has_idea = volunteer_only	}
				add_ideas = limited_conscription
			}
			else_if = {
				limit = {	has_idea = disarmed_nation	}
				add_ideas = volunteer_only
			}
			if = {
				limit = {	has_idea = partial_economic_mobilisation	}
				add_ideas = war_economy
			}
			else_if = {
				limit = {	has_idea = low_economic_mobilisation	}
				add_ideas = partial_economic_mobilisation
			}
			else_if = {
				limit = {	has_idea = civilian_economy	}
				add_ideas = low_economic_mobilisation
			}
			else_if = {
				limit = {	has_idea = isolation	}
				add_ideas = civilian_economy
			}
		}
	}
	focus = {
		id = GER_clandestine_rearmament2
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = GER_Versailles }
		available = {
			has_country_flag = ct_hitler
		}
		x = 0
		y = 2
		relative_position_id = GER_Versailles
		cost = 8
		available_if_capitulated = yes
		ai_will_do = {
			factor = 150		
		}
		bypass = {
			custom_trigger_tooltip = {
				tooltip = production_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = arms_factory
						size < 2
						include_locked = yes
					}
				}
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_clandestine_rearmament2"
			57 = {
				if = {
					limit = {
						free_building_slots = {
							building = arms_factory
							size > 0
							include_locked = yes
						}
					}
				}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
			}
		}
	focus = {
		id = GER_axis
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = GER_Versailles }
		x = 1
		y = 1
		relative_position_id = GER_Versailles
		cost = 5
		ai_will_do = {
			factor = 160
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_axis"
			add_political_power = 50
			create_faction = Axis
			add_to_faction = GER
		}
	}
	focus = {
		id = GER_reichstag_fire
		icon = GFX_focus_reichstag_fire
		prerequisite = { focus = GER_ss }
		available = {
			has_country_flag = ct_hitler
		}
		x = 0
		y = 1
		relative_position_id = GER_ss
		cost = 10
		ai_will_do = {
			factor = 1000
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_reichstag_fire"
			add_political_power = 100
			add_stability = -0.05		
			GER = {	
				add_popularity = {
					ideology = fascism
					popularity = 0.2
				}
			}
		}
	}
	focus = {
		id = GER_long_knives
		icon = GFX_focus_rohm_purge
		prerequisite = { focus = GER_ss }
		#prerequisite = { focus = GER_invoke_48 }
		available = {
			has_country_flag = ct_hitler
			has_country_flag = ct_rohm_plot
			has_idea = GER_Sturmabteilung
		}
		x = 2
		y = 1
		relative_position_id = GER_ss
		cost = 10
		ai_will_do = {
			factor = 200
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_long_knives"
			add_political_power = 100
			remove_ideas = GER_Sturmabteilung
		}
	}
	focus = {
		id = GER_saarland
		icon = GFX_focus_saarland
		prerequisite = { focus = GER_planned_mobilizaton2 }
		prerequisite = { focus = GER_massive_misinformation }
		prerequisite = { focus = GER_gleichschaltung }
		available = {
			date > 1934.12.31
			is_puppet = no
		}
		x = 0
		y = 1
		relative_position_id = GER_planned_mobilizaton2
		cost = 5
		ai_will_do = {
			factor = 200
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_saarland"
			if = {
				limit = {
					FRA = {
						owns_state = 1047
						NOT = { has_completed_focus = FRA_my_saar }						
					}
				}
				transfer_state = 1047
			}
			if = {
				limit = {
					FRA = {
						owns_state = 1047
						has_completed_focus = FRA_my_saar					
					}
				}
				custom_effect_tooltip = FRA_saar_tt
			}
		}
	}
	focus = {
		id = GER_remilitarize_the_rhineland
		icon = GFX_focus_GER_remilitarize_the_rhineland
		alternate_icon = GFX_focus_GER_remilitarize_the_rhineland_historical
		prerequisite = { focus = GER_saarland }
		x = 0
		y = 1
		relative_position_id = GER_saarland
		cost = 5
		available = {	is_subject = no	}
		bypass = {
			42 = { is_demilitarized_zone = no }
			51 = { is_demilitarized_zone = no }
			1047 = { is_demilitarized_zone = no }
		}
		ai_will_do = {	factor = 10	}	
		search_filters = { FOCUS_FILTER_POLITICAL }	
		completion_reward = {
			42 = { set_demilitarized_zone = no }
			51 = { set_demilitarized_zone = no }
			1047 = { set_demilitarized_zone = no }			
			set_global_flag = rhineland_remilitarized
			custom_effect_tooltip = GER_rhineland_ultimatum
			add_political_power = 120
			army_experience = 5
			add_named_threat = { threat = 5 name = GER_rhineland }
			if = {
				limit = { FRA = { is_subject = no } }
				FRA = {
					country_event = { id = germany.60 }
					custom_effect_tooltip = may_provoke_hostility
				}
			}
			hidden_effect = {
				if = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
			}
		}		
	}

	focus = {
		id = GER_form_the_reichskommissariats
		icon = GFX_focus_ger_reichskommisariats
		prerequisite = { focus = GER_remilitarize_the_rhineland }
		available = {	has_government = fascism	}
		x = 3
		y = 1
		relative_position_id = GER_remilitarize_the_rhineland
		cost = 5
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_form_the_reichskommissariats"
			custom_effect_tooltip = GER_reichskommissariats_tt
			unlock_decision_tooltip = GER_reichskommissariat_norwegen
			unlock_decision_tooltip = GER_reichskommissariat_niederlande
			unlock_decision_tooltip = GER_reichskommissariat_belgien_nordfrankreich
			unlock_decision_tooltip = GER_reichskommissariat_ostland
			unlock_decision_tooltip = GER_reichskommissariat_ukraine
		}
	}

	focus = {
		id = GER_soviet_treaty
		icon = GFX_goal_generic_scientific_exchange
		prerequisite = { focus = GER_remilitarize_the_rhineland }
		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 }
			}
		}
		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
			}
		}
		x = -6
		y = 1
		relative_position_id = GER_remilitarize_the_rhineland
		cost = 10
		ai_will_do = {
			factor = 10
		}	
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_soviet_treaty"
			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
				add_tech_bonus = {
					name = med_armor_bonus
					bonus = 1.0
					ahead_reduction = 1
					technology = basic_medium_tank
				}
				# Balance research bonus to 2 techs in armor, also in event
				add_tech_bonus = {
					name = armor_bonus
					bonus = 1.0
					uses = 2
					category = armor
				}
			}
		}
	}
	focus = { #should already be signed in 39
		id = GER_mol_rib_pact
		icon = GFX_goal_molotov_ribbentrop_pact
		prerequisite = { focus = GER_soviet_treaty }
		mutually_exclusive = { focus = GER_anti_soviet_pact }
		available = {
			is_puppet = no
			has_government = fascism
			has_army_manpower = { size > 849999 } #ca 90 div
			SOV = {
				NOT = { has_war_with = GER }
				country_exists = SOV
			}
			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 }
			}
		}
		cancel_if_invalid = no
		x = 0
		y = 4
		relative_position_id = GER_soviet_treaty
		cost = 10
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				NOT = { has_completed_focus = GER_anti_comitern_pact }
			}
		}	
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_mol_rib_pact"
			SOV = {
				country_event = { id = germany.11 days = 1 }
				custom_effect_tooltip = GER_mol_rib_pact_tt
				custom_effect_tooltip = needs_approval
			}
		}
	}
	focus = {
		id = GER_soviet_ally
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = GER_mol_rib_pact }
		mutually_exclusive = { focus = GER_ussr_war_goal }
		available = {
			is_puppet = no
			has_government = fascism
			has_war = no
			SOV = {
				has_war = no
				NOT = { has_war_with = GER }
				is_puppet = no
			}
		}
		bypass = {
			SOV = {
				is_in_faction_with = GER
			}
		}
		x = 0
		y = 1
		relative_position_id = GER_mol_rib_pact
		cost = 10
		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
				}
			}				
		}	
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_soviet_ally"
			if = {
				limit = { is_faction_leader = yes }
				custom_effect_tooltip = ger_sov_buddies_tooltip_2
			}
			custom_effect_tooltip = ger_sov_buddies_tooltip
			add_ideas = soviet_german_friendship
			SOV = {
				add_opinion_modifier = { target = GER modifier = ger_sov_alliance_focus }
				add_ideas = soviet_german_friendship
				country_event = germany.89
			}
		}
	}
	focus = {
		id = GER_turkey_puppet
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = GER_soviet_ally }
		available = {
			is_puppet = no
			has_government = fascism
			OR = {
				GRE = {
					is_in_faction_with = GER
					all_owned_state = {
						controller = { is_in_faction_with = GER }
					}
				}
			}
			NOT = { has_war_with = SOV }
			country_exists = TUR
		}
		x = 0
		y = 1
		relative_position_id = GER_soviet_ally
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_turkey_puppet"
			TUR = { country_event = { id = germany.79 days = 1 } }
		}
	}

	focus = {
		id = GER_japan_friend
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = GER_remilitarize_the_rhineland }
		mutually_exclusive = { focus = GER_china_friend }
		available = {
			OR = {
				is_ai = no
				date > 1937.1.1
			}
			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
					}
				}
			}
		}
		x = 1
		y = 1
		relative_position_id = GER_remilitarize_the_rhineland
		cost = 10
		available_if_capitulated = yes
		ai_will_do = {
			factor = 1
			modifier = {	is_in_faction_with = JAP		factor = 0 	}
		}	
		completion_reward = {
			JAP = {	add_opinion_modifier = { target = GER modifier = ger_jap_diplomacy_focus }	}
			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
			if = {
				limit = {	has_dlc = "Waking the Tiger"	}
				create_corps_commander = {
					name = "Alexander von Falkenhausen"
					gfx = GFX_portrait_chi_alexander_von_falkenhausen
					skill = 3
					attack_skill = 2
					defense_skill = 2
					planning_skill = 3
					logistics_skill = 3
					legacy_id = 603
					traits = { infantry_officer }
				}
			}
		}
	}

	focus = {
		id = GER_torpedo_cruisers
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = GER_japan_friend }
		x = 0
		y = 1
		relative_position_id = GER_japan_friend
		cost = 8.6
		ai_will_do = {	factor = 0	}
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			if = {
				limit = {
					not = { has_dlc = "Man the Guns" }
				}
				set_technology = { torpedo_cruiser = 1 }
			}
			else = {
				set_technology = { torpedo_cruiser_mtg = 1 }
			}
		}
	}

	focus = {
		id = GER_china_friend
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = GER_remilitarize_the_rhineland }
		mutually_exclusive = { focus = GER_japan_friend }
		available = {
			OR = {
				is_ai = no
				date > 1938.1.1
			}
			AND = {
				country_exists = CHI
				CHI = { is_puppet = 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
					}
				}
			}
		}
		x = -1
		y = 1
		relative_position_id = GER_remilitarize_the_rhineland
		cost = 10
		ai_will_do = {
			factor = 0.5
			modifier = {
				is_in_faction_with = JAP
				factor = 0
			}
		}
		available_if_capitulated = yes
		completion_reward = {
			event_target:WTT_current_china_leader = {
				add_offsite_building = { type = arms_factory level = 2 }
				add_opinion_modifier = { target = GER modifier = ger_chi_diplomacy_focus }
				set_country_flag = GER_befriended_by_germany_flag
			}
			JAP = {
				add_opinion_modifier = { target = GER modifier = supported_the_chinese }
			}
		}
	}
	focus = {
		id = GER_swedish_trade_agreement
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = GER_remilitarize_the_rhineland }
		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
					}
				}
			}
		}
		x = -3
		y = 1
		relative_position_id = GER_remilitarize_the_rhineland
		cost = 10
		available_if_capitulated = yes
		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 = 918 }
				}
				add_opinion_modifier = { target = SWE modifier = GER_SWE_historic_trade_Partners }
			}
		}
	}
	focus = {
		id = GER_anti_comitern_pact
		icon = GFX_goal_anti_comintern_pact
		prerequisite = { focus = GER_remilitarize_the_rhineland  }
		x = -4
		y = 2
		relative_position_id = GER_remilitarize_the_rhineland
		cost = 5
		available = {
			is_puppet = no
			NOT = { has_government = communism }
			NOT = { is_in_faction_with = SOV }
		}
		ai_will_do = {	factor = 1	}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_anti_comitern_pact"
			SOV = { add_opinion_modifier = { target = ROOT modifier = pact_against_us } }
			add_named_threat = { threat = 2 name = GER_anti_comitern_pact }
			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 } capital_scope = { is_on_continent = asia }
						num_of_factories > 30
					}
					OR = { has_government = fascism AND = { is_neighbor_of = SOV NOT = { has_government = communism } }	}
				}
				country_event = germany.5
			}
		}
	}

	focus = {
		id = GER_anti_soviet_pact
		icon = GFX_goal_anti_comintern_pact
		prerequisite = { focus = GER_anti_comitern_pact }
		mutually_exclusive = { focus = GER_mol_rib_pact }
		available = {
			is_puppet = no
			has_army_manpower = { size > 849999 } #ca 90 div
			SOU = {	has_government = communism	}
		}
		x = 0
		y = 3
		relative_position_id = GER_anti_comitern_pact
		cost = 5
		ai_will_do = {	factor = 2.5 }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_anti_soviet_pact"
			hidden_effect = { SOV = { remove_opinion_modifier = { target = ROOT modifier = pact_against_us } }	}
			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
					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_ussr_war_goal
		icon = GFX_goal_generic_war_with_comintern
		prerequisite = { focus = GER_anti_comitern_pact }
		mutually_exclusive = { focus = GER_soviet_ally }
		will_lead_to_war_with = SOV
		available = {
			is_puppet = no
			has_army_manpower = { size > 899999 }		
		}
		cancel = {	is_subject = yes	NOT = { country_exists = SOV }	}
		x = 1
		y = 5
		relative_position_id = GER_anti_comitern_pact
		cost = 10
		historical_ai = {
			any_home_area_neighbor_country = {
				OR = {
					NOT = { has_war_with = ROOT	}
					AND = {
						is_ai = no
						has_war_with = ROOT
						OR = {
							original_tag = DEN
							original_tag = NOR
							original_tag = LUX
							AND = {
								original_tag = HOL
								FRA = {	has_capitulated = yes	}
								BEL = {	has_capitulated = yes	}
							}
						}
					}
				}
			}		
			
		}
		bypass = {	has_war_with = SOV	}
		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
			}
		}	
		completion_reward = {
			IF = {
				limit = { SOV = { has_civil_war = no } }
				create_wargoal = {
					type = annex_everything
					target = SOV
					expire = 0
				}
			}
			ELSE = {
				every_country = {
					limit = { original_tag = SOV }
					GER = {
						create_wargoal = {
							type = annex_everything
							target = PREV
							expire = 0
						}
					}
				}
			}
		}
	}
	
	focus = {
		id = GER_turkey_friend
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = GER_ussr_war_goal }
		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
				}
			}
		}
		x = -2
		y = 2
		relative_position_id = GER_ussr_war_goal
		cost = 10
		ai_will_do = {	factor = 1	}	
		available_if_capitulated = no
		completion_reward = {
			TUR = {
				add_opinion_modifier = { target = GER modifier = ger_tur_diplomacy_focus }
				if = {
					limit = {
						TUR = {
							is_ai = yes
							NOT = {	is_in_faction = yes	}
							NOT = {	is_puppet = yes		}
							has_government = ROOT
						}
						GER = { is_faction_leader = yes }
					}
					TUR = {	country_event = generic.5	}
					add_ai_strategy = {
						type = alliance
						id = "GER"
						value = 200
					}
				}
				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_send_SS_agents_to_ethnic_Germans
		prerequisite = { focus = GER_remilitarize_the_rhineland }
		icon = GFX_focus_generic_support_the_left_right
		x = 5
		y = 1
		relative_position_id = GER_remilitarize_the_rhineland
		cost = 2
		ai_will_do = {	factor = 10	}	
		completion_reward = {	custom_effect_tooltip = ct_SS_infiltration_tt	}
	} 

	focus = {   
		id = GER_promote_italo-german_relations
		prerequisite = { focus = GER_remilitarize_the_rhineland }
		icon = GFX_focus_generic_italy_first
		x = 7
		y = 1
		relative_position_id = GER_remilitarize_the_rhineland
		cost = 10
		ai_will_do = {	factor = 0	}	
		completion_reward = { ITA = { add_opinion_modifier = { target = GER modifier = large_increase } } }
	} 
 
	focus = {
		id = GER_assassinate_dolfuss  
		prerequisite = { focus = GER_send_SS_agents_to_ethnic_Germans focus = GER_promote_italo-german_relations }
		prerequisite = { focus = GER_send_SS_agents_to_ethnic_Germans }
		icon = GFX_goal_generic_attack_allies
		x = 1
		y = 1
		relative_position_id = GER_send_SS_agents_to_ethnic_Germans
		cost = 5
		ai_will_do = { factor = 10 }	
		completion_reward = { #code for todo austrian focus tree if pdx doesnt dlc it
			#sudo   
			#If = { 
			#	limit = { AUS = { has_completed_focus = AUS_closeBorderToGermany } } 
			#	custom_effect_tooltip = ct_dolfuss_survives_tt
			#}
			#else = {  
				custom_effect_tooltip = ct_dolfuss_assassination_tt
				hidden_effect = { news_event = { id = news_1930.35 } }
				ITA = { country_event = { hours = 6 id = ctger.45 } }
			#}
		}
	}

	focus = {
		id = GER_anschluss
		icon = GFX_goal_anschluss
		prerequisite = { focus = GER_assassinate_dolfuss }
		available = {
			is_subject = no
			has_army_manpower = { size > 499999 }
			check_variable = { num_equipment_in_armies_k@infantry_equipment > 40 }
			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
			}
		}
		cancel_if_invalid = no
		x = 0
		y = 1
		relative_position_id = GER_assassinate_dolfuss
		cost = 10
		ai_will_do = {
			factor = 10
			modifier = { factor = 0	date < 1938.1.1	}
		}
		bypass = {
			OR = {
				AUS = {
					OR = {
						is_subject = yes
						exists = no 
						AND = {
							is_in_faction = yes
							NOT = { is_in_faction_with = GER }
						}
					}
				}
				GER = {
					owns_state = 4
					owns_state = 152
					owns_state = 153
					owns_state = 848
				}
			}
		}
		completion_reward = {
			army_experience = 10
			if = {
				limit = {
					country_exists = AUS
					AUS = {
						has_civil_war = no
						OR = {
							owns_state = 4
							owns_state = 152
							owns_state = 153
							owns_state = 848
						}
					}
					ITA = {	NOT = {	has_completed_focus = ITA_guarantee_austrian_independence	}	}
				}
				AUS = {	country_event = {	id = germany.28	days = 1 }	}				
				custom_effect_tooltip = anschluss_mefo_bills_tt
			}
			if = {
				limit = {
					country_exists = AUS
					AUS = {
						has_civil_war = no
						OR = {
							owns_state = 4
							owns_state = 152
							owns_state = 153
							owns_state = 848 #Vorarlberg 
						}
					}
					ITA = {	has_completed_focus = ITA_guarantee_austrian_independence	}
				}
				ITA = {	country_event = {	id = BBA_italy_interaction_events.24	days = 1 }	}
			}
			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
						}
					}
					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
			}
		}
	}
	 
	focus = {
		id = GER_demand_colonies 
		icon = GFX_goal_generic_more_territorial_claims
		prerequisite = { focus = GER_anschluss }
		available = {
			is_ai = no
			is_puppet = no
			NOT = { has_war_with = ENG }
		}
		cancel_if_invalid = yes
		x = 3
		y = 1
		relative_position_id = GER_anschluss
		cost = 8
		ai_will_do = {factor = 10}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_demand_colonies"
			ENG = { country_event = { id = ctger.36 } }
		}
	}

	focus = {
		id = GER_schutztruppe
		icon = GFX_focus_ger_reichskommisariats
		prerequisite = { focus = GER_demand_colonies }
		available = { owns_state = 546	owns_state = 773 }
		cancel_if_invalid = yes
		x = 0
		y = 2
		relative_position_id = GER_demand_colonies
		cost = 5
		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_schutztruppe"
			if = {
				limit = {
					GER = { has_full_control_of_state = 773 }
					GER = { has_full_control_of_state = 546 }					
				}
				custom_effect_tooltip = GER_schutztruppe_tt
				hidden_effect = {	load_oob = "GER_schutztruppe"	}
			}	
		}
	}	

	focus = {
		id = GER_afrikan_raw_materials
		icon = GFX_focus_generic_rubber
		prerequisite = { focus = GER_demand_colonies }
		available = {
			OR = {
				AND = {	owns_state = 546	owns_state = 773	}
				MIT = { is_puppet_of = GER	exists = yes 	}				
			}
		}
		cancel_if_invalid = yes
		x = 1
		y = 1
		relative_position_id = GER_demand_colonies
		cost = 8
		ai_will_do = {	factor = 10 }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_afrikan_raw_materials"
			add_resource = { type = rubber	amount = 12		state = 546	}
			add_resource = {type = rubber	amount = 3		state = 773	}	
			add_resource = {type = steel	amount = 6		state = 773	}
			if = {
				limit = { MIT = { owns_state = 540 } }
				add_resource = {type = steel	amount = 5	state = 540	}
			}	
			if = {
				limit = { MIT = { owns_state = 544 } }
				add_resource = {type = steel	amount = 7	state = 544	}
			}			
		}
	}	
	focus = {
		id = GER_afrika_industry
		icon = GFX_goal_generic_construction
		prerequisite = { focus = GER_afrikan_raw_materials }
		available = {
			MIT = { exists = yes }
		}
		cancel_if_invalid = yes
		x = 0
		y = 2
		relative_position_id = GER_afrikan_raw_materials
		cost = 8
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			if = {
				limit = {
					NOT = {
						773 = {
							free_building_slots = {
								building = industrial_complex
								size > 1
								include_locked = yes
							}
						}
					}
				}
				random_owned_controlled_state =  {
					limit = {
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
						is_on_continent = africa
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
				random_owned_controlled_state =  {
					limit = {
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
						is_on_continent = africa
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					773 = {
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
					}
				}
				773 = {
					add_extra_state_shared_building_slots = 4
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}			
			}
		}
	}
	focus = {
		id = GER_demand_memel
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = GER_anschluss }
		available = { is_puppet = no }
		x = 0
		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 }
		}
		ai_will_do = {
			factor = 10	
			modifier = {
				factor = 0
				date < 1939.1.1
			}
		}	
		completion_reward = {
			188 = { add_claim_by = GER }
			85 = { add_claim_by = GER }
			1047 = { 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_operation_himmler
		icon = GFX_focus_generic_provoke_border_clashes
		prerequisite = { focus = GER_demand_memel }
		will_lead_to_war_with = POL
		available = {
			is_puppet = no
			has_army_manpower = { size > 949999 } #100 div	
		}
		bypass = {
			OR = {
				has_war_with = POL
				is_in_faction_with = POL
				NOT = {	85 = {	controller = {	original_tag = POL 	}	owner = {	original_tag = POL 	}	}	}
			}
		}
		cancel_if_invalid = no
		x = 0
		y = 2
		relative_position_id = GER_demand_memel
		cost = 5
		ai_will_do = {
			factor = 10	
			modifier = {
				factor = 0
				OR = {
					date < 1938.11.1
					any_neighbor_country = {
						has_war_with = GER
						NOT = { has_capitulated = yes }
						strength_ratio = {
							tag = GER
							ratio > 0.6
						}
					}
				}
			}
		}	
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_operation_himmler"
			add_war_support = 0.1
		}
	}

	focus = {
		id = GER_danzig_or_war
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = GER_operation_himmler }
		mutually_exclusive = { focus = GER_danzig_vs_slovakia }
		available = {
			is_subject = no
			85 = {
				owner = {	original_tag = POL	}
				controller = {	original_tag = POL	}
			}
			OR = {
				POL = {	has_civil_war = no	}
					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
								}
							}
						}
					}
				#}
			}
		}
		bypass = {
			OR = {
				has_war_with = POL
				is_in_faction_with = POL
				NOT = {
					85 = {
						controller = {	original_tag = POL }
						owner = {	original_tag = POL }
					}
				}
			}
		}
		cancel_if_invalid = no
		x = 0
		y = 3
		relative_position_id = GER_demand_memel
		cost = 5
		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
						}
					}
				}
			}
		}	
		completion_reward = {
			add_named_threat = { threat = 5 name = GER_danzig_or_war }
			if = {
				limit = {
					85 = {
						controller = {
							tag = POL
							has_civil_war = no
						}
					}
				}
				effect_tooltip = {
					transfer_state = 85
					add_state_core = 85
					transfer_state = 1047
					add_state_core = 1047
					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
							}
						}
					}
				}
				random_other_country = {
					limit = {
						original_tag = POL
						has_civil_war = yes
						OR = {
							is_in_faction_with = GER
							has_volunteers_amount_from = {
								tag = GER
								count > 0
							}
						}
					}
					country_event = { id = germany.113 days = 1 }
				}
				custom_effect_tooltip = GER_danzig_or_war_POL_civil_war
			}
		}
	}
	
	focus = {
		id = GER_nacht_und_nebel 
		icon = GFX_focus_nacht_nebel
		prerequisite = { focus = GER_danzig_or_war }
		x = 2
		y = 1
		relative_position_id = GER_danzig_or_war
		cost = 4
		ai_will_do = {
			factor = 0	
			modifier = {
				factor = 10
				date > 1939.1.1
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_nacht_und_nebel"
			swap_ideas = {
    			remove_idea = GER_Schutzstaffel
   				add_idea = GER_Schutzstaffel2
			}
		}
	}	
	
	
	focus = {
		id = GER_weserubung
		icon = GFX_goal_generic_more_territorial_claims
		prerequisite = { focus = GER_danzig_or_war }
		#mutually_exclusive = { focus = GER_denmark_friend }
		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 = {
			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}
			}
		}
		x = 1
		y = 2
		relative_position_id = GER_danzig_or_war
		cost = 4
		ai_will_do = {
			factor = 10	
			modifier = {
				factor = 0
				date < 1939.1.1
			}
		}	
		search_filters = { FOCUS_FILTER_RESEARCH }
		complete_tooltip = {	custom_effect_tooltip = GER_weserubung_tt_complete	}
		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_around_maginot
		icon = GFX_goal_generic_attack_allies
		prerequisite = { focus = GER_danzig_or_war focus = GER_poland_friend}
		
		available = {
			OR = {
				NOT = { HOL = { is_in_faction_with = GER } }
				NOT = { BEL = { is_in_faction_with = GER } }
				NOT = { LUX = { is_in_faction_with = GER } }
			}
		}

		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
				}
			}
		}
		historical_ai = {
			date > 1939.1.1
			NOT = {
				any_home_area_neighbor_country = {
					NOT = { tag = FRA }
					has_war_with = ROOT
					surrender_progress < 0.5
				}
			}
		}
		will_lead_to_war_with = BEL
		will_lead_to_war_with = HOL
		will_lead_to_war_with = LUX
		will_lead_to_war_with = FRA
		x = -1
		y = 2
		relative_position_id = GER_danzig_or_war
		cost = 4
		ai_will_do = {
			factor = 10			
			modifier = {
				factor = 0.05
				date < 1939.1.1
			}			
			modifier = {
				factor = 0.2
				any_home_area_neighbor_country = {
					NOT = { tag = FRA }
					has_war_with = ROOT
					surrender_progress < 0.5
				}
			}
		}	
		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 }
				}			
			}
			hidden_effect = {
				news_event = { hours = 6 id = news.234 }
			}
		}
	}
	
	focus = {
		id = GER_czech_friend
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = GER_anschluss }
		mutually_exclusive = { focus = GER_demand_sudetenland }
		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
			}
		}
		bypass = {	CZE = { is_in_faction_with = GER }	}
		cancel = {
			OR = {
				NOT = { country_exists = CZE }
				has_war_with = CZE
			}
		}
		cancel_if_invalid = no
		x = -4
		y = 1
		relative_position_id = GER_anschluss
		cost = 10
		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 = 4
				CZE = {	has_completed_focus = CZE_german_leanings	}
			}
			modifier = {
				factor = 4
				CZE = {	has_completed_focus = CZE_deliver_sudetenland	}
			}
			modifier = {
				factor = 2
				CZE = {	has_completed_focus = CZE_go_right	}
			}
		}		
		completion_reward = {
			CZE = {
				add_opinion_modifier = { target = GER modifier = ger_cze_diplomatic_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 }
			}
			hidden_effect = {	news_event = { hours = 6 id = news.200 }	}
		}
	}
	
	focus = {
		id = GER_demand_sudetenland
		icon = GFX_goal_demand_sudetenland
		prerequisite = { focus = GER_anschluss }
		mutually_exclusive = { focus = GER_czech_friend }
		will_lead_to_war_with = CZE
		will_lead_to_war_with = FRA
		available = {
			is_puppet = no
			has_army_manpower = { size > 724999 } #80 div		
			NOT = {
				AND = {
					CZE = { is_in_faction_with = GER }
					has_war = yes
				}
			}
		}
		bypass = {
			OR = {
				CZE = { is_puppet_of = GER }
				69 = { 	CONTROLLER = {	has_war_with = GER	}	}
				GER = { controls_state = 69 }
			}
		}
		cancel = {	is_puppet = yes	}
		cancel_if_invalid = yes
		x = -2
		y = 1
		relative_position_id = GER_anschluss
		cost = 10
		ai_will_do = {
			factor = 10
		}	
		completion_reward = {
			if =  {
				limit = {
					OR = {
						ENG = { exists = no }
						ENG = {	is_subject = yes	}
						ENG = { has_completed_focus = ENG_a_change_in_course }
						has_war_with = ENG
						has_war_with = FRA
						AND = {
							CZE = { is_subject = yes }
							OR = {
								CZE = { NOT = {	is_puppet_of = HUN	}	}
								NOT = { has_dlc = "Death or Dishonor" }
							}
						}
						CZE = { has_war_with = ENG }
						CZE = { has_war_with = FRA }
						CZE = { is_in_faction_with = GER }
					}
					CZE = { controls_state = 69 }
				}
				if = {
					limit = {	CZE = { is_subject = no }	}
					CZE = {	country_event = { id = germany.122 }	}
					else = {	CZE = {	OVERLORD = { country_event = { id = germany.122 } }	}	}
				}
			}
			if = {
				limit = {
					has_dlc = "Death or Dishonor"
					CZE = { NOT = { is_in_faction_with = GER } } #in case AH is in faction with GER and dragged a subject CZE along.
					OR = {
						69 = { is_owned_by = HUN } #AH restored
						AND = {
							CZE = { is_subject_of = HUN }
							69 = { is_owned_by = CZE }
						}
					}
				}
				HUN = {	country_event = germany.122	}
			}
			if = {
				limit = {
					ENG = { exists = yes }
					ENG = { is_subject = no }
					NOT = { ENG = { has_completed_focus = ENG_a_change_in_course } }
					NOT = { has_war_with = ENG }
					NOT = { has_war_with = FRA }
					CZE = { is_subject = no }
					NOT = {
						AND = {
							CZE = { is_in_faction_with = HOL }
							HOL = { is_faction_leader = yes }
							HOL = { has_completed_focus = HOL_foundations_for_a_european_union }
						}
					}
					CZE = { NOT = { is_in_faction_with = GER } }
					CZE = { NOT = { has_war_with = ENG } }
					CZE = { controls_state = 69 }
					OR = {
						HUN = {	NOT = {	has_completed_focus = HUN_protect_czechoslovakia	}	}
						CZE = {	has_country_flag = HUN_AH_CZE_refused	}
					}
				}
				ENG = {	country_event = germany.40	}
				add_named_threat = { threat = 4 name = GER_demand_sudetenland_threat }
			}
			if = {
				limit = {
					HOL = { exists = yes }
					HOL = { is_subject = no }
					HOL = { has_completed_focus = HOL_foundations_for_a_european_union }
					HOL = { is_faction_leader = yes }
					NOT = { has_war_with = HOL }
					NOT = { has_war_with = FRA }
					CZE = { is_subject = no }
					CZE = { is_in_faction_with = HOL }
					CZE = { controls_state = 69 }
					OR = {
						HUN = {	NOT = {	has_completed_focus = HUN_protect_czechoslovakia }	}
						CZE = {	has_country_flag = HUN_AH_CZE_refused }
					}
				}
				HOL = {	country_event = germany.40	}
				add_named_threat = { threat = 3 name = GER_demand_sudetenland_threat }
			}
			69 = {	add_claim_by = GER	}
			if = { 
				limit = {
					NOT = { CZE = { controls_state = 69 } }
					NOT = {
						69 = { is_controlled_by = HUN }
						HUN = { has_completed_focus = HUN_protect_czechoslovakia }
					}
					69 = {	controller = { NOT = { is_in_faction_with = GER }	}	}
				}
				69 = { #This technically allows nations who are in a war with CZE to give away their land... diplomacy never looked so real.
					controller = { country_event = { id = germany.1041 days = 2 random_days = 10 }	}
				}
				add_named_threat = { threat = 3 name = GER_demand_sudetenland_threat }
			}
		}
	}

	focus = {
		id = GER_first_vienna_award
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = GER_demand_sudetenland }
		bypass = {
			OR = {
				AND = {
					NOT = { CZE = { controls_state = 664 } }
					NOT = { owns_state = 664 }
				}
				HUN = { is_friend_or_potential_friend_of_GER = no }
				CZE = { is_puppet_of = GER }
				CZE = { is_in_faction_with = GER }
			}
		}
		available = {
			is_puppet = no
			owns_state = 69
		}
		x = 0
		y = 1
		relative_position_id = GER_demand_sudetenland
		cost = 10
		ai_will_do = {
			factor = 10
		}	
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_first_vienna_award"
			HUN = {
				country_event = { id = germany.51 }
				add_opinion_modifier = { target = GER modifier = GER_first_vienna_award_GER }
			}
			every_other_country = {
				limit = {	is_faction_leader = yes	}
				reverse_add_opinion_modifier = { target = HUN modifier = GER_first_vienna_award_other }
			}
		}
	}

	focus = {
		id = GER_end_of_czechoslovakia
		icon = GFX_goal_generic_territory_or_war
		prerequisite = { focus = GER_first_vienna_award }
		available = { 
			is_puppet = no
			has_army_manpower = { size > 749999 }
			NOT = { has_war_with = CZE }
		}

		bypass = {
			OR = {
				CZE = { is_puppet_of = GER }
				CZE = { is_in_faction_with = GER }
				has_war_with = CZE
				NOT = { country_exists = CZE }
				any_other_country = {
					is_in_faction_with = GER
					CZE = {	is_puppet_of = PREV	}
				}
			}
		}
		x = 0
		y = 1
		relative_position_id = GER_first_vienna_award
		cost = 10
		ai_will_do = {	factor = 10	}
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			if = {
				limit = { 
					country_exists = CZE 
					CZE = {
						NOT = {
							is_subject_of = HUN
							is_in_faction_with = POL
						}
						has_war = no
					}
					NOT = { POL = { has_guaranteed = CZE } }
				}
				set_global_flag = end_of_czechoslovakia
				CZE = { country_event = germany.53 }
			}
			if = {
				limit = { 
					OR = {
						CZE = {
							is_subject_of = HUN
						}
						HUN = {
							owns_state = 9#Prague - AH annexed CZE
						}
					}
				}
				add_state_claim = 9
				add_state_claim = 75
				create_wargoal = {
					type = take_state_focus
					target = CZE
					generator = { 9 75 }
					expire = 0
				}
			}
			if = {
				limit = { 
					OR = { #If Poland has done Miedzymorze or Baltic Alliance
						CZE = {	is_in_faction_with = POL }
						CZE = {	has_war = yes	}
						POL = { has_guaranteed = CZE }
					}
				}
				add_state_claim = 9
				add_state_claim = 75
				create_wargoal = {
					type = take_state_focus
					target = CZE
					generator = { 9 75 }
					expire = 0
				}
			}
			if = {
				limit = { NOT = { country_exists = CZE } }
				country_event = { id = germany.55 hours = 6 }
			}
			add_named_threat = { threat = 5 name = GER_end_of_czechoslovakia }
			custom_effect_tooltip = end_of_czechoslovakia_mefo_bills_tt
		}
	}

	focus = {
		id = GER_second_vienna_award
		icon = GFX_goal_generic_cavalry
		prerequisite = { focus = GER_czech_friend focus = GER_end_of_czechoslovakia }
		x = 0
		y = 3
		relative_position_id = GER_czech_friend
		cost = 10
		ai_will_do = { factor = 10 }
		available = {
			is_puppet = no
			has_army_manpower = { size > 749999 }
			has_capitulated = no
		}
		bypass = {
			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
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_second_vienna_award"
			if = {
				limit = {
					HUN = {	is_friend_or_potential_friend_of_GER = yes	}
					ROM = {	controls_state = 76	NOT = { has_war_with = HUN }	}
				}
				country_event = { id = germany.20 }
			}
		}
	}

	focus = {
		id = GER_italy_ally
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = GER_second_vienna_award }
		mutually_exclusive = { focus = GER_claim_tirol }
		available = {
			NOT = { has_war_with = ITA }
			ITA = {
				has_country_leader = {
					character = ITA_benito_mussolini
					ruling_only = yes
				}
			}
			NOT = { has_country_flag = ENG_ditched_the_italians_flag }
		}

		bypass = {
			OR = {
				is_in_faction_with = ITA
				has_war_with = ITA
				NOT = { country_exists = ITA }
				ITA = {
					NOT = {
						ITA = {
							has_country_leader = {
								character = ITA_benito_mussolini
								ruling_only = yes
							}
						}
					}
				}
			}
		}
		x = 0
		y = 1
		relative_position_id = GER_second_vienna_award
		cost = 10
		ai_will_do = {	factor = 10 }
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_italy_ally"
			ITA = {	add_opinion_modifier = { target = GER modifier = ger_ita_alliance_focus }	}
		}
	}




	focus = {
		id = GER_claim_tirol
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = GER_anschluss }
		mutually_exclusive = { focus = GER_italy_ally }
		available = {
			NOT = { has_war_with = ITA }
		}

		bypass = {	
			OR = {
				owns_state = 39
				is_in_faction_with = ITA
				has_war_with = ITA
				NOT = { country_exists = ITA }
			}
		}
		x = -2
		y = 0
		relative_position_id = GER_italy_ally
		cost = 10
		ai_will_do = {
			factor = 10
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_claim_tirol"
			add_state_core = 39
			if = {
				limit = {
					ITA = { is_subject_of = GER }
				}
				transfer_state = 39
				custom_effect_tooltip = GER_submit_tt
			}			
		}
	}

	focus = {
		id = GER_war_italy
		icon = GFX_focus_attack_italy
		prerequisite = { focus = GER_claim_tirol }
		available = {
			is_puppet = no			
			NOT = { is_in_faction_with = ITA }
		}
		x = 0
		y = 2
		relative_position_id = GER_claim_tirol
		cost = 10
		bypass = {
			OR = {
				NOT = { country_exists = ITA }
				has_war_with = ITA
				owns_state = 39
			}
		}
		historical_ai = {
			date > 1945.1.1
			NOT = {
				any_neighbor_country = {
					has_war_with = ROOT
				}		
			}
		}
		ai_will_do = {
			factor = 10			
			modifier = {
				factor = 0.05
				date < 1945.1.1
			}
		}	
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_war_italy	"
			add_named_threat = { threat = 5 name = GER_war_italy_threat }
 			create_wargoal = {
 				type = take_state_focus
 				target = ITA
 				generator = { 39 }
				 expire = 0
 			}
		}
	}

#	focus = {
#		id = GER_scrap_of_paper
#		icon = GFX_focus_generic_anti_fascist_diplomacy
#		available = {
#				is_in_faction_with = ITA
#		}
#		bypass = {		
#			OR = {
#				has_war_with = ITA
#			}
#		}
#		x = -1
#		y = 1
#		relative_position_id = GER_italy_ally
#		cost = 0.2
#		ai_will_do = {
#			factor = 10
#		}
#		available_if_capitulated = yes
#		completion_reward = {
#			any_country = {
#				limit = {
#					is_in_faction_with = GER
#					NOT = { original_tag = ITA }
#				}
#				set_country_flag =  ct_paper_scrap
#			}
#			GER = {
#				dismantle_faction = yes
#			}
#			GER = {
#				create_faction = Arische_Weg
#				any_country = {
#					limit = {
#						has_country_flag = ct_paper_scrap
#					}
#					add_to_faction = THIS
#				}
#			}
#		}
#	}
	focus = {
		id = GER_nationalist_spain_ally
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = GER_italy_ally }
		available = {
			if = {
				limit = {
					NOT = { has_dlc = "La Resistance" }
				}
				SPR = { has_civil_war = no }
				any_other_country = {
					original_tag = SPR
					has_government = fascism
					NOT = { has_war_with = GER }
					NOT = { is_in_faction_with = GER }
				}
			}
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				SPA = {
					exists = yes
					has_civil_war = no
					NOT = { has_war_with = GER }
					NOT = { is_in_faction_with = GER }
					NOT = { has_completed_focus = SPA_join_the_allies }
				}
			}
			FRA = {
				OR = {
					exists = no
					has_capitulated = yes
					has_government = fascism
				}
			}
		}
		x = 0
		y = 2
		relative_position_id = GER_italy_ally
		cost = 10
		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 }
					}
				}
			}
		}	
		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 = {	NOT = { has_dlc = "La Resistance" }	}
				random_other_country = {
					limit = {
						original_tag = SPR
						has_government = fascism
					}
					remove_ideas = SPA_recovering_from_civil_war
					add_opinion_modifier = { target = GER modifier = ger_spa_alliance_focus }
				}
			}
			if = {
				limit = {	has_dlc = "La Resistance"	}
				SPA = {
					remove_ideas = SPA_recovering_from_civil_war
					add_opinion_modifier = { target = GER modifier = ger_spa_alliance_focus }
				}
			}
		}
	}
	focus = {
		id = GER_danzig_vs_slovakia
		icon = GFX_goal_generic_intelligence_exchange
		prerequisite = { focus = GER_end_of_czechoslovakia }
		mutually_exclusive = { focus = GER_danzig_or_war }
		available = {
			is_puppet = no
			OR = {
				SLO = {
					exists = yes
					is_in_faction_with = GER
				}
				owns_state = 70
			}
			NOT = { owns_state = 85 }
			NOT = { has_war_with = POL }
			POL = { owns_state = 72 }
		}
		x = 0
		y = 1
		relative_position_id = GER_end_of_czechoslovakia
		cost = 10
		ai_will_do = {	factor = 0	}	
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_danzig_vs_slovakia"
			POL = {	country_event = { id = germany.80 days = 1 }	}
		}
	}
	focus = {
		id = GER_poland_friend
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = GER_danzig_vs_slovakia }
		available = {
			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
				}
			}
		}
		bypass = {
			is_in_faction_with = POL
			is_alone_or_in_faction_at_peace_with_GER = no
		}
		x = 0
		y = 1
		relative_position_id = GER_danzig_vs_slovakia
		cost = 10
		ai_will_do = {
			factor = 0
		}	
		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_war_with_france
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = GER_around_maginot focus = GER_weserubung }
		available = {
			is_puppet = no			
			NOT = { is_in_faction_with = FRA }
		}
		x = 1
		y = 2
		relative_position_id = GER_around_maginot
		cost = 10
		bypass = {
			OR = {
				NOT = { country_exists = FRA }
				has_war_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
			}
		}	
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_war_with_france	"
			add_named_threat = { threat = 5 name = GER_war_with_france_threat }
 			create_wargoal = {
 				type = take_state_focus
 				target = FRA
 				generator = { 28 }
				 expire = 0
 			}
		}
	}	
	
	focus = {
		id = GER_improve_national_spirit
		prerequisite = { focus = GER_war_with_france }
		icon = GFX_goal_support_fascism
		available = {
			custom_trigger_tooltip = {
				tooltip = GER_improve_national_spirit_tooltip
				OR = {
					GER = { controls_state = 126 }
					any_other_country = {
						is_in_faction_with = GER
						controls_state = 126
					}
				}
				OR = {
					GER = { controls_state = 16 }
					any_other_country = {
						is_in_faction_with = GER
						controls_state = 16
					}
				}
			}
		}
		cancel = {
			AND = {
				has_war = no
				126 = {
					owner = {
						NOT = { tag = GER }
						NOT = { is_in_faction_with = GER }
					}
				}
				16 = {
					owner = {
						NOT = { tag = GER }
						NOT = { is_in_faction_with = GER }
					}
				}
			}
		}
		cancel_if_invalid = no
		x = 2
		y = 1
		relative_position_id = GER_war_with_france
		cost = 10
		ai_will_do = {
			factor = 10
		}	
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_improve_national_spirit"
			remove_ideas = sour_loser
			add_ideas = triumphant_will
		}
	}
	
	focus = {
		id = GER_operation_tannenbaum
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = GER_war_with_france }
		available = {
			is_puppet = no
			NOT = { is_in_faction_with = SWI }
		}
		bypass = {
			NOT = { country_exists = SWI }
			has_war_with = SWI
		}
		cancel_if_invalid = yes
		will_lead_to_war_with = SWI
		x = 0
		y = 2
		relative_position_id = GER_war_with_france
		cost = 10
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_operation_tannenbaum"
			create_wargoal = {
				type = annex_everything
				target = SWI
				expire = 0
			}
		}
	}

	focus = {
		id = GER_reintegrate_luxemburg_and_alsace_lorraine
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = GER_war_with_france }
		available = {
			is_puppet = no
			has_full_control_of_state = 8
			has_full_control_of_state = 28
			OR = {
				FRA = { has_capitulated = yes }
				FRA = { is_subject_of = GER }
				NOT = {
					any_country = {
						original_tag = FRA
						exists = yes
					}
				}
				owns_state = 28
			}
			OR = {
				LUX = { has_capitulated = yes }
				NOT = {
					any_country = {
						original_tag = LUX
						exists = yes
					}
				}
			}
		}
		cancel_if_invalid = yes
		x = -2
		y = 1
		relative_position_id = GER_war_with_france
		cost = 10
		ai_will_do = {	factor = 10	}
		completion_reward = {
			add_state_core = 8
			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 = {	has_global_flag = flag_franco_british_union	}
				ENG = {		country_event = { id = wtt_germany.63 }	}
			}
			else_if = {
				limit = {
					any_country = {
						original_tag = FRA
						exists = yes
					}
				}
				FRA = {	country_event = { id = wtt_germany.63 }	}
			}
			if = {
				limit = {
					any_country = {
						original_tag = LUX
						exists = yes
					}
				}
				LUX = {	country_event = { id = wtt_germany.64 }	}
			}
		}
	}
	focus = {
		id = GER_demand_slovenia
		prerequisite = { focus = GER_anschluss }
		icon = GFX_goal_generic_political_pressure
		available = {
			is_subject = no
			controls_state = 4
			controls_state = 152
			has_army_manpower = { size > 749999 } #ca 80 div
		}
		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 } }
						}
					}
				}
				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
		x = 5
		y = 1
		relative_position_id = GER_anschluss
		cost = 10
		ai_will_do = {	factor = 1	}	
		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 = {	country_event = { id = britain.14 }	}
			}
			if = {
				limit = {
					OR = {
						YUG = { is_puppet = yes }
						YUG = { has_war_with = ENG }
						has_war_with = ENG
					}
				}
				create_wargoal = {
					type = annex_everything
					target = YUG
					expire = 0
				}
			}
		}
	}
	focus = {
		id = GER_first_ljubljana_award
		prerequisite = { focus = GER_demand_slovenia }
		icon = GFX_goal_generic_military_deal
		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 = {
				YUG = {
					is_subject = no
				}
				YUG = {
					is_puppet_of = GER
				}
			}
		}
		bypass = {
			OR = {	
				is_in_faction_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 }
				}
			}
		}
		x = 0
		y = 2
		relative_position_id = GER_demand_slovenia
		cost = 10
		ai_will_do = {	factor = 10	}
		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
						}
					}
				}
				every_other_country = {
					limit = { 
						is_faction_leader = yes
						NOT = { tag = GER }
					}
					reverse_add_opinion_modifier = { target = ITA modifier = GER_first_ljubljana_award_other }
				}				
			}
		}
	}
	focus = {
		id = GER_fate_of_yugoslavia
		prerequisite = { focus = GER_first_ljubljana_award }
		icon = GFX_goal_generic_territory_or_war
		available = {
			is_puppet = no
			NOT = { has_war_with = YUG }
			NOT = { is_in_faction_with = YUG }
		}
		bypass = {
			OR = {
				NOT = { country_exists = YUG }
				any_other_country = {
					is_in_faction_with = ROOT
					YUG = {
						is_puppet_of = PREV
					}
				}
			}
		}
		x = 0
		y = 2
		relative_position_id = GER_first_ljubljana_award
		cost = 10
		ai_will_do = { factor = 10 }	
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_fate_of_yugoslavia"
			country_event = { id = germany.98 }
			custom_effect_tooltip = yugoslavia_mefo_bills_tt
		}
	}
	focus = {
		id = GER_second_ljubljana_award
		mutually_exclusive = { focus = GER_war_with_greece } 
		prerequisite = { focus = GER_fate_of_yugoslavia }
		icon = GFX_goal_generic_forceful_treaty
		available = {
			is_puppet = no
			GRE = { 
				has_war = no 
				owns_state = 731
				owns_state = 186
				owns_state = 185
				owns_state = 47 
			}
		}
		x = 0
		y = 1
		relative_position_id = GER_fate_of_yugoslavia
		cost = 10
		ai_will_do = {	factor = 10	}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_second_ljubljana_award"
			add_named_threat = { threat = 2 name = GER_second_ljubljana_award }
			if = {
				limit = {
					GRE = {
						OR = {
							owns_state = 185
							owns_state = 186
							owns_state = 47
						} 
					}
					ITA = {
						NOT = { has_war_with = GRE }
						country_exists = ITA
						has_completed_focus = ITA_greece_war_goal
						OR = {
							is_in_faction_with = GER
							is_in_faction = no							
						}
					}
				}
				set_global_flag = GER_second_ljubljana_award_ITA_event
				country_event = { id = germany.99 }
			}
			if = {
				limit = {
					GRE = { owns_state = 184 }
					BUL = {
						NOT = { has_war_with = GRE }
						country_exists = BUL
						OR = {
							is_in_faction_with = GER
							is_in_faction = no							
						}
					}
				}
				set_global_flag = GER_second_ljubljana_award_BUL_event
				country_event = { id = germany.100 }
			}
			if = {
				limit = {
					any_neighbor_country = {
						tag = GRE
					}
					OR = {
						NOT = { country_exists = ITA }
						AND = {
							ITA = {
								NOT = { is_in_faction_with = GER }
								is_in_faction = yes
							}
						}
					}
					OR = {
						NOT = { country_exists = BUL }
						AND = {
							BUL = {
								NOT = { is_in_faction_with = GER }
								is_in_faction = yes
							}
						}
					}
				}
				set_global_flag = GER_second_ljubljana_award_GER_event
				country_event = { id = germany.101 }
			}
			custom_effect_tooltip = GER_second_ljubljana_award_tt
		}
	}
	focus = {
		id = GER_war_with_greece
		prerequisite = { focus = GER_fate_of_yugoslavia }
		mutually_exclusive = { focus = GER_second_ljubljana_award } 
		icon = GFX_goal_generic_occupy_states_ongoing_war
		will_lead_to_war_with = GRE
		available = {
			GRE = { 
				exists = yes
				has_war = yes
			}
			NOT = { is_in_faction_with = GRE }
		}
		x = 2
		y = 1
		relative_position_id = GER_fate_of_yugoslavia
		cost = 10
		ai_will_do = {
			factor = 10
		}	
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_war_with_greece"
			create_wargoal = {
				target = GRE
				type = annex_everything
				expire = 0
			}
		}
	}
	focus = {
		id = GER_fate_of_greece
		prerequisite = { focus = GER_second_ljubljana_award }
		icon = GFX_goal_demand_sudetenland
		available = {
			country_exists = GRE
			NOT = { has_war_with = GRE }
			GRE = {	is_subject = no	}
		}
		x = 0
		y = 1
		relative_position_id = GER_second_ljubljana_award
		cost = 10
		ai_will_do = {	factor = 10	}	
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_fate_of_greece"
			GRE = { country_event = { id = greece.3 hours = 6 } }
		}
	}
#########################################################################
#########################################################################
########         N S D A P      G E R M A N Y      E N D         ########
#########################################################################
#########################################################################


#########################################################################
#########################################################################
########      I N D U S T R Y    G E R M A N Y    S T A R T      ########
#########################################################################
#########################################################################
	focus = {
		id = GER_weimar
		icon = GFX_goal_generic_production
		x = 65
		y = 0
		cost = 0.2
		ai_will_do = {
			factor = 150
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_weimar"
		}
	}
	focus = {
		id = GER_clandestine_rearmament
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = GER_weimar }
		x = -2
		y = 1
		relative_position_id = GER_weimar
		cost = 8.6
		available_if_capitulated = yes
		ai_will_do = {
			factor = 150		
		}
		bypass = {
			custom_trigger_tooltip = {
				tooltip = production_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = arms_factory
						size < 1
						include_locked = yes
					}
				}
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_clandestine_rearmament"
			51 = {
			if = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
			}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = GER_clandestine_rearm2
		icon = GFX_focus_mauser_concessions
		prerequisite = { focus = GER_clandestine_rearmament }
		x = 0
		y = 1
		relative_position_id = GER_clandestine_rearmament
		cost = 8.6
		available_if_capitulated = yes
		ai_will_do = {	factor = 150 }
		bypass = {
			custom_trigger_tooltip = {
				tooltip = production_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = arms_factory
						size < 2
						include_locked = yes
					}
				}
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_clandestine_rearm2"
			IF = {
				limit = { has_dlc = "Arms Against Tyranny" }
				mio:GER_mauser_organization = { add_mio_funds = 1000 }
			}
			51 = {
				if = {
					limit = {
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						}
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = GER_auto_union
		icon = GFX_goal_auto_union
		prerequisite = { focus = GER_clandestine_rearm2 }
		x = 0
		y = 1
		relative_position_id = GER_clandestine_rearm2
		cost = 8.6
		ai_will_do = {	factor = 4000	}
		available_if_capitulated = yes
		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = GER_armd_effort_2IC }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}			
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_auto_union"
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_armd_effort_2IC
			}
		}
	}
	focus = {
		id = GER_University_Hamburg
		icon = GFX_focus_research
		prerequisite = { focus = GER_weimar }
		x = 0
		y = 1
		relative_position_id = GER_weimar
		cost = 8.6
		ai_will_do = {	factor = 4000	}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_University_Hamburg"
			add_research_slot = 1
		}
	}

	focus = {
		id = GER_porsche
		icon = GFX_focus_porsche
		prerequisite = { focus = GER_University_Hamburg }
		x = 0
		y = 1
		relative_position_id = GER_University_Hamburg
		cost = 8.6
		ai_will_do = {	factor = 25	}
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_porsche"
			#custom_effect_tooltip = available_tank_company
			#show_ideas_tooltip = porsche
			IF = {
				limit = { has_dlc = "Arms Against Tyranny" }
				mio:GER_porsche_organization = { add_mio_funds = 1000 }
			}
			add_tech_bonus = {
				name = armor_bonus
				ahead_reduction = 2
				uses = 1
				category = armor
			}
			division_template = {
				name = "Panzer Division"
				division_names_group = GER_Arm_01
				regiments = {
					light_armor = { x = 0 y = 0 }
					light_armor = { x = 0 y = 1 }
					light_armor = { x = 0 y = 2 }
					light_armor = { x = 1 y = 0 }
					light_armor = { x = 1 y = 1 }
					light_armor = { x = 1 y = 2 }
					motorized = { x = 2 y = 0 }
	   				motorized = { x = 2 y = 1 }
					motorized = { x = 2 y = 2 }
				}
				support = {
        			artillery = { x = 0 y = 0 }
				}
			}
			division_template = {
				name = "Infanterie-Division (mot.)" 
				division_names_group = GER_MOT_02
				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 }
					motorized = { x = 2 y = 0 }
					motorized = { x = 2 y = 1 }
					motorized = { x = 2 y = 2 }
				}
				support = {
        			artillery = { x = 0 y = 0 }
				}
			}
			60 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
    					type = industrial_complex
    					level = 2
    					instant_build = yes
				}
			}
			custom_effect_tooltip = Big_Panzer_Division
		}
	} 

	focus = {
		id = GER_S_E_W
		icon = GFX_focus_suddeutsche_elektromotoren_werke
		prerequisite = { focus = GER_weimar }
		x = 2
		y = 1
		relative_position_id = GER_weimar
		cost = 8.6
		ai_will_do = {
			factor = 10
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_S_E_W"
			60 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
    					type = industrial_complex
    					level = 2
    					instant_build = yes
				}
			}
		}
	}	

	focus = {
		id = GER_PTE
		icon = GFX_focus_pte
		prerequisite = { focus = GER_S_E_W }
		x = 0
		y = 1
		relative_position_id = GER_S_E_W
		cost = 8.6
		ai_will_do = {
			factor = 1
		}
		available_if_capitulated = yes
		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = GER_armd_effort_2IC }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}			
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_PTE"
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_armd_effort_2IC
			}
		}
	}	
	focus = {
		id = GER_unser_deutchbahn 
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = GER_PTE }
		x = 0
		y = 1
		relative_position_id = GER_PTE
		cost = 8.6
		ai_will_do = {
			factor = 4
		}
		available = {
			OR = {
				has_full_control_of_state = 50
				has_full_control_of_state = 52
				has_full_control_of_state = 53
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_unser_deutchbahn"
			#custom_effect_tooltip = GER_autobahn_tt
			#hidden_effect = {
				50 = {
					if = {
						limit = { is_controlled_by = ROOT }
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
						add_extra_state_shared_building_slots = 1
					}
				}
				52 = {
					if = {
						limit = { is_controlled_by = ROOT }
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
						add_extra_state_shared_building_slots = 1
					}
				}
				53 = {
					if = {
						limit = { is_controlled_by = ROOT }
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
						add_extra_state_shared_building_slots = 1
					}
				}
			#}		
		}
	}
	focus = {
		id = GER_four_year_plan
		icon = GFX_goal_generic_construction
		prerequisite = { focus = GER_porsche }
		prerequisite = { focus = GER_unser_deutchbahn focus = GER_auto_union }
		available = {
			OR = {
				is_ai = no
				AND = {
					has_completed_focus = GER_unser_deutchbahn
					has_completed_focus = GER_auto_union
				}
			}
			OR = {
				has_country_flag = ct_commy_gov
				has_country_flag = ct_hitler
				has_country_flag = ct_demo_gov
				has_country_flag = ct_kaiser_wilhelm_ii
			}
		}
		x = 0
		y = 4
		relative_position_id = GER_weimar
		cost =  10
		ai_will_do = {
			factor = 80
		}		
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_four_year_plan"
			add_tech_bonus = {
				name = GER_four_year_plan
				bonus = 1.0
				uses = 2
				category = industry
			}
			#add_ideas = schacht
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = hjalmar_schacht
		}
	}	
	focus = {
		id = GER_mefo
		icon = GFX_focus_mefo
		prerequisite = { focus = GER_four_year_plan }
		available = {
			has_country_flag = ct_enabling_act
		}
		x = 2
		y = 1
		relative_position_id = GER_four_year_plan
		cost = 5
		ai_will_do = {
			factor = 500
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_mefo"
			add_ideas = GER_mefo_bills_1
			activate_mission = GER_mefo_bills_mission
		}
	}
	focus = {
		id = GER_west_wall
		icon = GFX_goal_generic_construct_military
		available = { date > 1935.12.31 }
		prerequisite = { focus = GER_four_year_plan }
		x = -5
		y = 1
		relative_position_id = GER_four_year_plan
		cost = 10
		ai_will_do = {
			factor = 80
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_west_wall"
			#add_ideas = todt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = todt
			50 = {
				if = {
					limit = { is_controlled_by = ROOT }
					custom_effect_tooltip = GER_west_wall_forts
					hidden_effect = {
						add_building_construction = {
							type = bunker
							level = 3
							province = 11640
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 3
							province = 6712
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 3
							province = 6542
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 3
							province = 3530
							instant_build = yes
						}
					}
				}
			}
			if = {
				limit = { 42 = { is_demilitarized_zone = yes } }
				custom_effect_tooltip = GER_west_wall_tt
			}
			42 = {
				custom_effect_tooltip = GER_west_wall_forts
			}
			hidden_effect = {
				42 = {
					if = {
						limit = { is_controlled_by = ROOT }
						add_building_construction = {
							type = bunker
							level = 3
							province = 3558
							instant_build = yes
						}
						
						add_building_construction = {
							type = bunker
							level = 3
							province = 563
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 3
							province = 11531
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 3
							province = 9575
							instant_build = yes
						}
					}
				}
			}			
		}
	}
	focus = {
		id = GER_chromium_production_expansion
		icon = GFX_goal_generic_construction2
		prerequisite = { focus = GER_four_year_plan }
		x = 2
		y = 0
		relative_position_id = GER_west_wall
		cost = 8
		available_if_capitulated = yes
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_chromium_production_expansion"
			add_resource = {
   				type = chromium
   			 	amount = 16
    			state = 60
			}
		}
	}
	focus = {
		id = GER_tungsten_production_expansion
		icon = GFX_focus_generic_tungsten
		prerequisite = { focus = GER_chromium_production_expansion }
		x = -1
		y = 1
		relative_position_id = GER_chromium_production_expansion
		cost = 8
		available_if_capitulated = yes
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_tungsten_production_expansion"
			add_resource = {
   				type = tungsten
   			 	amount = 24
    				state = 60
			}
		}
	}
	
	focus = {
		id = GER_HUN_alu
		icon = GFX_focus_generic_aluminum
		prerequisite = { focus = GER_align_hungary }
		prerequisite = { focus = GER_chromium_production_expansion }		
		available = {
			OR = {
				HUN = { has_government = fascism }
				is_in_faction_with = HUN
			}
		}
		x = 0
		y = 2
		relative_position_id = GER_chromium_production_expansion
		cost = 5
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_HUN_alu"
			add_resource = {
				type = aluminium
				amount = 32
				state = 43
			}
		}
	}	
	
	focus = {
		id = GER_atlantikwall
		icon = GFX_focus_generic_coastal_fort
		prerequisite = { focus = GER_west_wall }
		available = {
			OR = {
				FRA = { has_capitulated = yes }
				NOT = { country_exists = FRA }
			}
			OR = {
				has_full_control_of_state = 19
				has_full_control_of_state = 23
				has_full_control_of_state = 30
				has_full_control_of_state = 14
				has_full_control_of_state = 15
				has_full_control_of_state = 29
				has_full_control_of_state = 6
				has_full_control_of_state = 7
				has_full_control_of_state = 36
				has_full_control_of_state = 99
				has_full_control_of_state = 110
				has_full_control_of_state = 142
				has_full_control_of_state = 143
				has_full_control_of_state = 144
				has_full_control_of_state = 785
			}
		}
		cancel_if_invalid = yes
		x = -1
		y = 1
		relative_position_id = GER_west_wall
		cost = 10
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_ideas = GER_atlantikwall_idea
			custom_effect_tooltip = atlantikwall_tooltip
			custom_effect_tooltip = atlantikwall_tooltip_2
			hidden_effect = {
				if = {
					limit = {
						any_country = {
							OR = {
								tag = GER
								is_in_faction_with = GER
							}
							has_full_control_of_state = 19
						}
					}
					19 = {
						#Fortify naval bases
						add_building_construction = {
							type = coastal_bunker
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							level = 2
							instant_build = yes
						}
						add_building_construction = {
            	    	    type = coastal_bunker
            	    	    province = {
            	    	        all_provinces = yes
            	    	        limit_to_coastal = yes
            	    	    }
            	    	    level = 1
            	    	    instant_build = yes
            	    	}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = GER
								is_in_faction_with = GER
							}
							has_full_control_of_state = 23
						}
					}
					23 = {
						#Fortify naval bases
						add_building_construction = {
							type = coastal_bunker
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							level = 2
							instant_build = yes
						}
						add_building_construction = {
            	    	    type = coastal_bunker
            	    	    province = {
            	    	        all_provinces = yes
            	    	        limit_to_coastal = yes
            	    	    }
            	    	    level = 1
            	    	    instant_build = yes
            	    	}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = GER
								is_in_faction_with = GER
							}
							has_full_control_of_state = 30
						}
					}
					30 = {
						#Fortify naval bases
						add_building_construction = {
							type = coastal_bunker
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							level = 2
							instant_build = yes
						}
						add_building_construction = {
            	    	    type = coastal_bunker
            	    	    province = {
            	    	        all_provinces = yes
            	    	        limit_to_coastal = yes
            	    	    }
            	    	    level = 1
            	    	    instant_build = yes
            	    	}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = GER
								is_in_faction_with = GER
							}
							has_full_control_of_state = 14
						}
					}
					14 = {
						#Fortify naval bases
						add_building_construction = {
							type = coastal_bunker
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							level = 2
							instant_build = yes
						}
						add_building_construction = {
            	    	    type = coastal_bunker
            	    	    province = {
            	    	        all_provinces = yes
            	    	        limit_to_coastal = yes
            	    	    }
            	    	    level = 1
            	    	    instant_build = yes
            	    	}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = GER
								is_in_faction_with = GER
							}
							has_full_control_of_state = 15
						}
					}
					15 = {
						#Fortify naval bases a bit extra close to Calais
						add_building_construction = {
							type = coastal_bunker
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							level = 3
							instant_build = yes
						}
						add_building_construction = {
            	    	    type = coastal_bunker
            	    	    province = {
            	    	        all_provinces = yes
            	    	        limit_to_coastal = yes
            	    	    }
            	    	    level = 1
            	    	    instant_build = yes
            	    	}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = GER
								is_in_faction_with = GER
							}
							has_full_control_of_state = 29
						}
					}
					29 = {
						#Fortify naval bases
						add_building_construction = {
							type = coastal_bunker
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							level = 2
							instant_build = yes
						}
	
						#Bonus Fortifications on Calais coastline
						add_building_construction = {
            	    	    type = coastal_bunker
            	    	    province = {
            	    	        all_provinces = yes
            	    	        limit_to_coastal = yes
            	    	    }
            	    	    level = 2
            	    	    instant_build = yes
            	    	}
            	    	#Biggest fortifications on Calais itself
						add_building_construction = {
            	    	    type = coastal_bunker
            	    	    province = {
            	    	        all_provinces = yes
            	    	        limit_to_victory_point = yes
            	    	    }
            	    	    level = 3
            	    	    instant_build = yes
            	    	}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = GER
								is_in_faction_with = GER
							}
							has_full_control_of_state = 6
						}
					}
					6 = {
						#Fortify naval bases
						add_building_construction = {
							type = coastal_bunker
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							level = 2
							instant_build = yes
						}
						add_building_construction = {
            	    	    type = coastal_bunker
            	    	    province = {
            	    	        all_provinces = yes
            	    	        limit_to_coastal = yes
            	    	    }
            	    	    level = 1
            	    	    instant_build = yes
            	    	}
					}
				}	
				if = {
					limit = {
						any_country = {
							OR = {
								tag = GER
								is_in_faction_with = GER
							}
							has_full_control_of_state = 7
						}
					}
					7 = {
						#Fortify naval bases a bit extra close to Calais
						add_building_construction = {
							type = coastal_bunker
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							level = 3
							instant_build = yes
						}
						add_building_construction = {
            	    	    type = coastal_bunker
            	    	    province = {
            	    	        all_provinces = yes
            	    	        limit_to_coastal = yes
            	    	    }
            	    	    level = 1
            	    	    instant_build = yes
            	    	}
					}
				}	
				if = {
					limit = {
						any_country = {
							OR = {
								tag = GER
								is_in_faction_with = GER
							}
							has_full_control_of_state = 36
						}
					}	
					36 = {
						#Fortify naval bases
						add_building_construction = {
							type = coastal_bunker
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							level = 2
							instant_build = yes
						}
						add_building_construction = {
            	    	    type = coastal_bunker
            	    	    province = {
            	    	        all_provinces = yes
            	    	        limit_to_coastal = yes
            	    	    }
            	    	    level = 1
            	    	    instant_build = yes
            	    	}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = GER
								is_in_faction_with = GER
							}
							has_full_control_of_state = 56
						}
					}		
					56 = {
						#Fortify naval bases
						add_building_construction = {
							type = coastal_bunker
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							level = 2
							instant_build = yes
						}
						add_building_construction = {
            	    	    type = coastal_bunker
            	    	    province = {
            	    	        all_provinces = yes
            	    	        limit_to_coastal = yes
            	    	    }
            	    	    level = 1
            	    	    instant_build = yes
            	    	}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = GER
								is_in_faction_with = GER
							}
							has_full_control_of_state = 59
						}
					}		
					59 = {
						#Fortify naval bases
						add_building_construction = {
							type = coastal_bunker
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							level = 2
							instant_build = yes
						}
						add_building_construction = {
            	    	    type = coastal_bunker
            	    	    province = {
            	    	        all_provinces = yes
            	    	        limit_to_coastal = yes
            	    	    }
            	    	    level = 1
            	    	    instant_build = yes
            	    	}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = GER
								is_in_faction_with = GER
							}
							has_full_control_of_state = 58
						}
					}		
					58 = {
						#Fortify naval bases
						add_building_construction = {
							type = coastal_bunker
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							level = 2
							instant_build = yes
						}
						add_building_construction = {
            	    	    type = coastal_bunker
            	    	    province = {
            	    	        all_provinces = yes
            	    	        limit_to_coastal = yes
            	    	    }
            	    	    level = 1
            	    	    instant_build = yes
            	    	}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = GER
								is_in_faction_with = GER
							}
							has_full_control_of_state = 99
						}
					}		
					99 = {
						#Fortify naval bases
						add_building_construction = {
							type = coastal_bunker
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							level = 2
							instant_build = yes
						}
						add_building_construction = {
            	    	    type = coastal_bunker
            	    	    province = {
            	    	        all_provinces = yes
            	    	        limit_to_coastal = yes
            	    	    }
            	    	    level = 1
            	    	    instant_build = yes
            	    	}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = GER
								is_in_faction_with = GER
							}
							has_full_control_of_state = 110
						}
					}		
					110 = {
						#Fortify naval bases
						add_building_construction = {
							type = coastal_bunker
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							level = 2
							instant_build = yes
						}
						add_building_construction = {
            	    	    type = coastal_bunker
            	    	    province = {
            	    	        all_provinces = yes
            	    	        limit_to_coastal = yes
            	    	    }
            	    	    level = 1
            	    	    instant_build = yes
            	    	}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = GER
								is_in_faction_with = GER
							}
							has_full_control_of_state = 142
						}
					}		
					142 = {
						#Fortify naval bases
						add_building_construction = {
							type = coastal_bunker
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							level = 2
							instant_build = yes
						}
						add_building_construction = {
            	    	    type = coastal_bunker
            	    	    province = {
            	    	        all_provinces = yes
            	    	        limit_to_coastal = yes
            	    	    }
            	    	    level = 1
            	    	    instant_build = yes
            	    	}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = GER
								is_in_faction_with = GER
							}
							has_full_control_of_state = 143
						}
					}		
					143 = {
						#Fortify naval bases
						add_building_construction = {
							type = coastal_bunker
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							level = 2
							instant_build = yes
						}
						add_building_construction = {
            	    	    type = coastal_bunker
            	    	    province = {
            	    	        all_provinces = yes
            	    	        limit_to_coastal = yes
            	    	    }
            	    	    level = 1
            	    	    instant_build = yes
            	    	}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = GER
								is_in_faction_with = GER
							}
							has_full_control_of_state = 144
						}
					}		
					144 = {
						#Fortify naval bases
						add_building_construction = {
							type = coastal_bunker
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							level = 2
							instant_build = yes
						}
						add_building_construction = {
            	    	    type = coastal_bunker
            	    	    province = {
            	    	        all_provinces = yes
            	    	        limit_to_coastal = yes
            	    	    }
            	    	    level = 1
            	    	    instant_build = yes
            	    	}
					}
				}
				if = {
					limit = {
						any_country = {
							OR = {
								tag = GER
								is_in_faction_with = GER
							}
							has_full_control_of_state = 785
						}
					}
					785 = {
						#Fortify naval bases
						add_building_construction = {
							type = coastal_bunker
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							level = 2
							instant_build = yes
						}
						add_building_construction = {
            	    	    type = coastal_bunker
            	    	    province = {
            	    	        all_provinces = yes
            	    	        limit_to_coastal = yes
            	    	    }
            	    	    level = 1
            	    	    instant_build = yes
            	    	}
					}
				}	
			}
		}
	}

	focus = {
		id = GER_ostwall
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = GER_west_wall }
		available = {
			any_country = {
				OR = {
					tag = GER
					is_in_faction_with = GER
				}
				OR = {
					has_full_control_of_state = 191
					has_full_control_of_state = 209
					has_full_control_of_state = 210
					has_full_control_of_state = 207
					has_full_control_of_state = 206
					has_full_control_of_state = 204
					has_full_control_of_state = 194
					has_full_control_of_state = 202
					has_full_control_of_state = 203
					has_full_control_of_state = 226
					has_full_control_of_state = 200
				}
			}
		}
		x = 0
		y = 2
		relative_position_id = GER_west_wall
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_ostwall"
			add_ideas = GER_ostwall_idea
			custom_effect_tooltip = GER_ostwall_forts
			custom_effect_tooltip = GER_ostwall_forts_2
			if = {
				limit = { 
					any_country = {
						OR = {
							tag = GER
							is_in_faction_with = GER
						}
						has_full_control_of_state = 191 
					}
				}
				hidden_effect = {
					191 = {
						add_building_construction = {
							type = bunker
							level = 2
							province = 4640
							instant_build = yes
						}
					}
				}
			}
			if = {
				limit = { 
					any_country = {
						OR = {
							tag = GER
							is_in_faction_with = GER
						}
						has_full_control_of_state = 209
					}
				}
				hidden_effect = {
					209 = {
						add_building_construction = {
							type = bunker
							level = 1
							province = 415
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 1
							province = 3310
							instant_build = yes
						}
					}
				}
			}
			if = {
				limit = { 
					any_country = {
						OR = {
							tag = GER
							is_in_faction_with = GER
						}
						has_full_control_of_state = 210 
					}
				}
				hidden_effect = {
					210 = {
						add_building_construction = {
							type = bunker
							level = 1
							province = 3333
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 1
							province = 11259
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 1
							province = 9386
							instant_build = yes
						}
					}
				}
			}
			if = {
				limit = { 
					any_country = {
						OR = {
							tag = GER
							is_in_faction_with = GER
						}
						has_full_control_of_state = 207 
					}
				}
				hidden_effect = {
					207 = {
						add_building_construction = {
							type = bunker
							level = 1
							province = 323
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 3
							province = 11241
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 1
							province = 11220
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 1
							province = 3331
							instant_build = yes
						}
					}
				}
			}
			if = {
				limit = { 
					any_country = {
						OR = {
							tag = GER
							is_in_faction_with = GER
						}
						has_full_control_of_state = 206 
					}
				}
				hidden_effect = {
					206 = {
						add_building_construction = {
							type = bunker
							level = 1
							province = 9289
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 1
							province = 3378
							instant_build = yes
						}
					}
				}
			}
			if = {
				limit = { 
					any_country = {
						OR = {
							tag = GER
							is_in_faction_with = GER
						}
						has_full_control_of_state = 204 
					}
				}
				hidden_effect = {
					204 = {
						add_building_construction = {
							type = bunker
							level = 1
							province = 6373
							instant_build = yes
						}
					}
				}
			}
			if = {
				limit = { 
					any_country = {
						OR = {
							tag = GER
							is_in_faction_with = GER
						}
						has_full_control_of_state = 194 
					}
				}
				hidden_effect = {
					194 = {
						add_building_construction = {
							type = bunker
							level = 1
							province = 6319
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 1
							province = 9249
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 1
							province = 3507
							instant_build = yes
						}
					}
				}
			}
			if = {
				limit = { 
					any_country = {
						OR = {
							tag = GER
							is_in_faction_with = GER
						}
						has_full_control_of_state = 202 
					}
				}
				hidden_effect = {
					202 = {
						add_building_construction = {
							type = bunker
							level = 1
							province = 9568
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 1
							province = 3543
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 5
							province = 525
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 1
							province = 3494
							instant_build = yes
						}
					}
				}
			}
			if = {
				limit = { 
					any_country = {
						OR = {
							tag = GER
							is_in_faction_with = GER
						}
						has_full_control_of_state = 203 
					}
				}
				hidden_effect = {
					203 = {
						add_building_construction = {
							type = bunker
							level = 1
							province = 11454
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 1
							province = 488
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 1
							province = 3468
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 1
							province = 6478
							instant_build = yes
						}
					}
				}
			}
			if = {
				limit = { 
					any_country = {
						OR = {
							tag = GER
							is_in_faction_with = GER
						}
						has_full_control_of_state = 226 
					}
				}
				hidden_effect = {
					226 = {
						add_building_construction = {
							type = bunker
							level = 1
							province = 9433
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 3
							province = 11437
							instant_build = yes
						}
					}
				}
			}
			if = {
				limit = { 
					any_country = {
						OR = {
							tag = GER
							is_in_faction_with = GER
						}
						has_full_control_of_state = 200 
					}
				}
				hidden_effect = {
					200 = {
						add_building_construction = {
							type = bunker
							level = 3
							province = 11405
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 1
							province = 6596
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 1
							province = 11700
							instant_build = yes
						}
					}
				}
			}
		}
	}
	focus = {
		id = GER_autarky
		icon = GFX_goal_generic_construct_civilian
		available = {
			OR = {
				is_ai = no
				date > 1935.12.31
			}
		}
		prerequisite = { focus = GER_four_year_plan }
		x = 4
		y = 1
		relative_position_id = GER_four_year_plan
		cost = 10
		ai_will_do = {	factor = 100	}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_autarky"
			add_tech_bonus = {
				name = GER_autarky
				bonus = 1.0
				uses = 2
				technology = excavation1
				technology = excavation2
				technology = excavation3
				technology = excavation4
				technology = excavation5
			}
			add_ideas = GER_autarky_idea
			if = {
				limit = { has_idea = great_depression }
				remove_ideas = great_depression
			}
			if = {
				limit = { has_idea = idea_depression_paralysis }
				remove_ideas = {	idea_depression_paralysis	}
			}
		}
	}
	focus = {
		id = GER_wirtschaftswunder
		icon = GFX_goal_generic_production2
		dynamic = yes
		prerequisite = { focus = GER_autarky }
		mutually_exclusive = { focus = GER_hermann_goring_werke }
		available = {
			NOT = { 
				has_government = communism 
				has_government = fascism
			}
		}
		x = 2
		y = 1
		relative_position_id = GER_autarky
		cost = 10
		ai_will_do = {
			factor = 200
		}
		available_if_capitulated = no
		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = GER_industrial_effort_2IC }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}			
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_wirtschaftswunder"
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_industrial_effort_2IC
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_industrial_effort_2IC
			}
		}
	}
	focus = {
		id = GER_subsidize_auto_industry
		icon = GFX_goal_generic_consumer_goods
		dynamic = yes
		prerequisite = { focus = GER_wirtschaftswunder }
		x = 0
		y = 2
		relative_position_id = GER_wirtschaftswunder
		cost = 10
		ai_will_do = {
			factor = 100
		}
		available_if_capitulated = no
		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = GER_industrial_effort_2_2IC }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_subsidize_auto_industry"
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_industrial_effort_2_2IC
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_industrial_effort_2_2IC
			}
		}
	}

	focus = {
		id = GER_hermann_goring_werke
		icon = GFX_goal_generic_construct_civ_factory
		dynamic = yes
		prerequisite = { focus = GER_autarky }
		mutually_exclusive = { focus = GER_wirtschaftswunder }
		available = {	NOT = { has_government = democratic	}	}
		x = 4
		y = 1
		relative_position_id = GER_autarky
		cost = 10
		ai_will_do = {
			factor = 200
		}
		available_if_capitulated = no
		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = GER_industrial_effort_2IC }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}			
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_hermann_goring_werke"
			swap_ideas = {
				remove_idea = GER_autarky_idea
				add_idea = GER_autarky_idea2
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_industrial_effort_2IC
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_industrial_effort_2IC
			}
			random_owned_controlled_state = {
				limit = { 
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_industrial_effort_2IC
			}
			custom_effect_tooltip = GER_stifled_initiative_tt
		}
	}
	focus = {
		id = GER_kdf_wagen
		icon = GFX_goal_generic_construct_civ_factory
		dynamic = yes
		prerequisite = { focus = GER_hermann_goring_werke }
		x = 0
		y = 2
		relative_position_id = GER_hermann_goring_werke
		cost = 10
		ai_will_do = {
			factor = 100
		}
		available_if_capitulated = no
		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = GER_industrial_effort_2_2IC }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_kdf_wagen"
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_industrial_effort_2_2IC
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_industrial_effort_2_2IC
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_industrial_effort_2_2IC
			}
		}
	}

	focus = { 
		id = GER_extraction_mechanization
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = GER_wirtschaftswunder focus = GER_hermann_goring_werke }
		x = 1
		y = 1
		relative_position_id = GER_wirtschaftswunder
		cost = 8.6
		ai_will_do = {	factor = 40	}
		completion_reward = {
			add_tech_bonus = {
				bonus = 1.0
				uses = 2
				category = excavation_tech
			}
		}
	}

	focus = {
		id = GER_coal_liquidization
		icon = GFX_goal_generic_oil_refinery
		prerequisite = { focus = GER_autarky }
		x = 0
		y = 1
		relative_position_id = GER_autarky
		cost = 10
		ai_will_do = {
			factor = 40
		}
		available = {	has_full_control_of_state = 65	}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_coal_liquidization"
			add_tech_bonus = {
				name = GER_coal_liquidization
				bonus = 3.0
				uses = 1
				category = synth_resources
			}
			if = {
				limit = {	has_full_control_of_state = 65	}
				65 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = synthetic_refinery
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}
	focus = {
		id = GER_stockpile_fuel
		icon = GFX_focus_generic_stockpile_fuel
		prerequisite = { focus = GER_coal_liquidization }
		x = 1
		y = 1
		relative_position_id = GER_coal_liquidization
		cost = 4.3
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			add_timed_idea = { idea = ITA_stockpiling_fuel days = 730 }
			random_core_state = {
				limit = {
					is_controlled_by = ROOT
					free_building_slots = {
						building = fuel_silo
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = fuel_silo
					level = 1
					instant_build = yes
				}
			}
			random_core_state = {
				limit = {
					is_controlled_by = ROOT
					free_building_slots = {
						building = fuel_silo
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = fuel_silo
					level = 1
					instant_build = yes
				}
			}
			random_core_state = {
				limit = {
					is_controlled_by = ROOT
					free_building_slots = {
						building = fuel_silo
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = fuel_silo
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = GER_synthetic_rubber
		icon = GFX_focus_generic_rubber
		prerequisite = { focus = GER_coal_liquidization }
		x = 0
		y = 2
		relative_position_id = GER_coal_liquidization
		cost = 10
		ai_will_do = {
			factor = 4
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_synthetic_rubber"
        	modify_building_resources = {
        	   building = synthetic_refinery
        	   resource = rubber
        	   amount = 2
        	}
		}
	}
	focus = {
		id = GER_extra_tech_slot
		icon = GFX_focus_research
		text = extra_tech_slot
		prerequisite = { focus = GER_kdf_wagen focus = GER_synthetic_rubber focus = GER_subsidize_auto_industry}
		x = -2
		y = 1
		relative_position_id = GER_kdf_wagen
		cost = 10
		ai_will_do = {	factor = 10	}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_extra_tech_slot"
			add_research_slot = 1
		}
	}

	focus = {
		id = GER_extra_research_slot_max
		icon = GFX_focus_research2
		prerequisite = { focus = GER_extra_tech_slot }
		x = -1
		y = 1
		relative_position_id = GER_extra_tech_slot
		available = {
			num_of_factories > 250
		}
		cost = 10
		ai_will_do = {	factor = 10	}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_extra_research_slot_max"
			add_research_slot = 1
		}
	}

	focus = {
		id = GER_autobahn
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = GER_autarky }
		x = -2
		y = 1
		relative_position_id = GER_autarky
		cost = 10
		ai_will_do = {
			factor = 40
		}
		available = {
			OR = {
				has_full_control_of_state = 64
				has_full_control_of_state = 59
				has_full_control_of_state = 60
				has_full_control_of_state = 54
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_autobahn"
			custom_effect_tooltip = GER_autobahn_tt
			hidden_effect = {
				64 = {
					if = {
						limit = { is_controlled_by = ROOT }
						add_building_construction = {
							type = infrastructure
							level = 10
							instant_build = yes
						}
					}
				}
				59 = {
					if = {
						limit = { is_controlled_by = ROOT }

						add_building_construction = {
							type = infrastructure
							level = 10
							instant_build = yes
						}
					}
				}
				60 = {
					if = {
						limit = { is_controlled_by = ROOT }
						add_building_construction = {
							type = infrastructure
							level = 10
							instant_build = yes
						}
					}
				}
				54 = {
					if = {
						limit = { is_controlled_by = ROOT }
						add_building_construction = {
							type = infrastructure
							level = 10
							instant_build = yes
						}
					}
				}
			}		
		}
	}
	focus = {
		id = GER_german_war_economy
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = GER_autobahn }
		mutually_exclusive = { focus = GER_integrate_war_economies }
		x = 0
		y = 2
		relative_position_id = GER_autobahn
		cost = 10
		ai_will_do = {	factor = 15	}
		available_if_capitulated = no
		available = {	has_war_support > 0.49	}
		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = GER_german_war_economy }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_german_war_economy"
			if = {
				limit = {
					NOT = { has_idea = war_economy }
					NOT = { has_idea = tot_economic_mobilisation }
				}
				add_ideas = war_economy
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_german_war_economy
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_german_war_economy
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_german_war_economy
			}
		}
	}
	
	focus = {
		id = GER_grosraumwirtschaft
		icon = GFX_goal_generic_construct_infrastructure
		available = {date > 1935.12.31}
		prerequisite = { focus = GER_four_year_plan }
		x = 0
		y = 1
		relative_position_id = GER_four_year_plan
		cost = 10
		ai_will_do = {	factor = 1	}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_grosraumwirtschaft"
			if = {
				limit = { has_idea = german_labor_front }
				swap_ideas = {
					remove_idea = german_labor_front
					add_idea = german_labor_front2
				}
				else = { add_ideas = GER_grosraumwirtschaft	}
			}
		}
	}

	focus = {
		id = GER_align_hungary
		icon = GFX_goal_generic_positive_trade_relations
		prerequisite = { focus = GER_grosraumwirtschaft }
		x = 0
		y = 1
		relative_position_id = GER_grosraumwirtschaft
		cost = 5
		ai_will_do = {	factor = 1 }
		available = { NOT = { has_war_with = HUN } }
		bypass = {
			HUN = {
				OR = {
					exists = no
					is_subject = yes			
					AND = {	is_subject = no	is_in_faction_with = ROOT	}
				}
			}
		}
		completion_reward = {
			if = {
				limit = {	has_government = fascism	}
				HUN = {	add_timed_idea = { idea = GER_align_hungary days = 730 }	}
			}	
			if = {
				limit = {	has_government = neutrality		}
				HUN = {	add_timed_idea = { idea = GER_align_hungary_unaligned days = 730	}	}	
			}
			if = {
				limit = {	has_government = democratic	}
				HUN = {	add_timed_idea = { idea = GER_align_hungary_democratic days = 730 }	}	
				HUN = {	add_opinion_modifier = {	target = ROOT	modifier = GER_align_hungary } }
			}
		}
	}
	focus = {
		id = GER_align_romania
		icon = GFX_goal_generic_positive_trade_relations
		prerequisite = { focus = GER_grosraumwirtschaft }
		x = -2
		y = 1
		relative_position_id = GER_grosraumwirtschaft
		cost = 5
		ai_will_do = {	factor = 1	}
		available = {	NOT = { has_war_with = ROM }}
		bypass = {
			ROM = {
				OR = {
					exists = no
					is_subject = yes		
					AND = {
						is_subject = no
						is_in_faction_with = ROOT
					}
				}
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_align_romania"
			if = {
				limit = { has_government = fascism	}
				ROM = {	add_timed_idea = { idea = GER_align_romania days = 730	}	}
			}	
			if = {
				limit = {	has_government = neutrality	}
				ROM = {	add_timed_idea = { idea = GER_align_romania_unaligned days = 730	}	}	
			}
			if = {
				limit = {	has_government = democratic	}
				ROM = {	add_timed_idea = { idea = GER_align_romania_democratic days = 730 }	}	
			}
			ROM = {
				add_opinion_modifier = {
					target = ROOT
					modifier = GER_align_romania
				}
			}
		}
	}

	focus = {
		id = GER_integrate_war_economies
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = GER_align_hungary }
		prerequisite = { focus = GER_align_romania }
		mutually_exclusive = { focus = GER_german_war_economy }
		x = 0
		y = 2
		relative_position_id = GER_align_hungary
		cost = 10
		ai_will_do = {	factor = 1}
		available = {
			OR = {
				HUN = {
					is_in_faction_with = ROOT
					is_free_or_subject_of_root = yes
				}
				ROM = {
					is_in_faction_with = ROOT
					is_free_or_subject_of_root = yes
				}
			}
		}
		available_if_capitulated = no
		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = GER_integrate_war_economies_1 }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			every_state = {
				limit = { has_state_flag = GER_integrate_war_economies_2 }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			HUN = {
				every_state = {
					limit = { has_state_flag = GER_integrate_war_economies_1 }
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
				every_state = {
					limit = { has_state_flag = GER_integrate_war_economies_2 }
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
			}
			ROM = {
				every_state = {
					limit = { has_state_flag = GER_integrate_war_economies_1 }
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
				every_state = {
					limit = { has_state_flag = GER_integrate_war_economies_2 }
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_integrate_war_economies"
			if = {
				limit = { is_ai = yes	}
				random_owned_controlled_state = { 
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = arms_factory
						level = 3
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					NOT = { is_in_faction_with = HUN }
				}
				custom_effect_tooltip = GER_integrate_war_economies_tt
				custom_effect_tooltip = GER_integrate_war_economies_tt3
			}
			if = {
				limit = {
					NOT = { is_in_faction_with = ROM }
				}
				custom_effect_tooltip = GER_integrate_war_economies_tt2
				custom_effect_tooltip = GER_integrate_war_economies_tt4
			}
			if = {
				limit = {
					HUN = {
						is_in_faction_with = GER
						is_free_or_subject_of_root = yes
					}
				}
				HUN = { country_event = { id = wtt_germany.72 } }
				effect_tooltip = {
					random_owned_controlled_state = {
						limit = {
							free_building_slots = {
								building = arms_factory
								size > 1
								include_locked = yes
							}
							NOT = { has_state_flag = GER_integrate_war_economies }
						}
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
							type = arms_factory
							level = 2
							instant_build = yes
						}
						set_state_flag = GER_integrate_war_economies
					}
					random_owned_controlled_state = {
						limit = {
							free_building_slots = {
								building = arms_factory
								size > 1
								include_locked = yes
							}
							NOT = { has_state_flag = GER_integrate_war_economies }
						}
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
							type = arms_factory
							level = 2
							instant_build = yes
						}
						set_state_flag = GER_integrate_war_economies
					}
					HUN = {
						random_owned_controlled_state = {
							limit = {
								free_building_slots = {
									building = arms_factory
									size > 1
									include_locked = yes
								}
							}
							add_extra_state_shared_building_slots = 2
							add_building_construction = {
								type = arms_factory
								level = 2
								instant_build = yes
							}
							set_state_flag = GER_integrate_war_economies_1
						}
						random_owned_controlled_state = {
							limit = {
								free_building_slots = {
									building = arms_factory
									size > 1
									include_locked = yes
								}
							}
							add_extra_state_shared_building_slots = 2
							add_building_construction = {
								type = arms_factory
								level = 2
								instant_build = yes
							}
							set_state_flag = GER_integrate_war_economies_2
						}
					}
					if = {
						limit = {
							has_dlc = "Death or Dishonor" 
						}
						set_autonomy = { target = HUN autonomy_state = autonomy_satellite }
					}
					if = {
						limit = { 
							has_dlc = "Together for Victory"
							NOT = { has_dlc = "Death or Dishonor" } 
						}
						set_autonomy = { target = HUN autonomy_state = autonomy_dominion }
					}
					if = {
						limit = { 
							NOT = { has_dlc = "Together for Victory" }
							NOT = { has_dlc = "Death or Dishonor" }
						}
						puppet = HUN
					}
				}
				custom_effect_tooltip = GER_integrate_war_economies_tt3
			}
			if = {
				limit = {
					ROM = {
						is_in_faction_with = GER
						is_free_or_subject_of_root = yes
					}
				}
				ROM = { country_event = { id = wtt_germany.72 } }
				effect_tooltip = {
					random_owned_controlled_state = {
						limit = {
							free_building_slots = {
								building = arms_factory
								size > 1
								include_locked = yes
							}
							NOT = { has_state_flag = GER_integrate_war_economies }
						}
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
							type = arms_factory
							level = 2
							instant_build = yes
						}
						set_state_flag = GER_integrate_war_economies
					}
					random_owned_controlled_state = {
						limit = {
							free_building_slots = {
								building = arms_factory
								size > 1
								include_locked = yes
							}
							NOT = { has_state_flag = GER_integrate_war_economies }
						}
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
							type = arms_factory
							level = 2
							instant_build = yes
						}
						set_state_flag = GER_integrate_war_economies
					}
					ROM = {
						random_owned_controlled_state = {
							limit = {
								free_building_slots = {
									building = arms_factory
									size > 1
									include_locked = yes
								}
							}
							add_extra_state_shared_building_slots = 2
							add_building_construction = {
								type = arms_factory
								level = 2
								instant_build = yes
							}
							set_state_flag = GER_integrate_war_economies_1
						}
						random_owned_controlled_state = {
							limit = {
								free_building_slots = {
									building = arms_factory
									size > 1
									include_locked = yes
								}
							}
							add_extra_state_shared_building_slots = 2
							add_building_construction = {
								type = arms_factory
								level = 2
								instant_build = yes
							}
							set_state_flag = GER_integrate_war_economies_2
						}
					}
					if = {
						limit = {
							has_dlc = "Death or Dishonor" 
						}
						set_autonomy = { target = ROM autonomy_state = autonomy_satellite }
					}
					if = {
						limit = { 
							has_dlc = "Together for Victory"
							NOT = { has_dlc = "Death or Dishonor" } 
						}
						set_autonomy = { target = ROM autonomy_state = autonomy_dominion }
					}
					if = {
						limit = { 
							NOT = { has_dlc = "Together for Victory" }
							NOT = { has_dlc = "Death or Dishonor" }
						}
						puppet = ROM
					}
				}
				custom_effect_tooltip = GER_integrate_war_economies_tt4
			}
		}
	}

#########################################################################
#########################################################################
########      I N D U S T R Y      G E R M A N Y      E N D      ########
#########################################################################
#########################################################################


	focus = {
		id = GER_air_innovation
		text = air_innovation
		icon = GFX_goal_generic_build_airforce
		prerequisite = { focus = GER_messerschmitt_contract }
		available = {
			OR = {
				has_country_flag = ct_commy_gov
				has_country_flag = ct_hitler
				has_country_flag = ct_demo_gov
				has_country_flag = ct_kaiser_wilhelm_ii
			}
		}
		x = 76
		y = 3
		cost = 8
		ai_will_do = {
			factor = 1
		}
		available_if_capitulated = yes
		complete_tooltip = {
			air_experience = 25
			add_doctrine_cost_reduction = {
				name = air_sup_bonus
				cost_reduction = 0.25
				uses = 2
				category = battlefield_support_tree
			}
			every_state = {
				limit = { has_state_flag = GER_air_innovation_2air }
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			every_state = {
				limit = { has_state_flag = GER_air_innovation_6air }
				add_building_construction = {
					type = air_base
					level = 6
					instant_build = yes
				}
			}
			custom_effect_tooltip = available_chief_of_airforce
			show_ideas_tooltip = ritter_von_greim
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			air_experience = 25
			add_doctrine_cost_reduction = {
				name = air_sup_bonus
				cost_reduction = 0.25
				uses = 2
				category = battlefield_support_tree
			}
			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_air_innovation_6air
				}				
			}

			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_air_innovation_2air
			}
			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_air_innovation_2air
			}
			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_air_innovation_2air
			}
			custom_effect_tooltip = available_chief_of_airforce
			show_ideas_tooltip = ritter_von_greim
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = hugo_sperrle
		}
	}
	focus = {
		id = GER_establish_luftwaffe
		icon = GFX_focus_luftwaffe
		prerequisite = { focus = GER_army_modernization }
		x = 0
		y = -2
		relative_position_id = GER_air_innovation
		cost = 4.3
		ai_will_do = {	factor = 80	}
		available_if_capitulated = yes
		completion_reward = {	air_experience = 25	}
	}
	focus = {
		id = GER_tactical_air_effort
		icon = GFX_goal_generic_CAS
		prerequisite = { focus = GER_air_innovation }
		mutually_exclusive = { focus = GER_strategic_air_effort }
		x = 1
		y = 1
		relative_position_id = GER_air_innovation
		cost = 8
		ai_will_do = {	factor = 0.25	}
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = op_dest_bonus
				cost_reduction = 0.25
				uses = 2
				category = battlefield_support_tree
			}
			if = {
				limit = {	has_dlc = "By Blood Alone"	}
				add_tech_bonus = {
					name = bomber_bonus
					bonus = 1.0
					uses = 1
					category = medium_air
					category = light_air			
				}
			}
			else = {
				add_tech_bonus = {
					name = bomber_bonus
					bonus = 1.0
					uses = 1
					category = tactical_bomber
					category = cas_bomber			
				}
			}
		}
	}
	focus = {
		id = GER_long_range_escorts
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = GER_tactical_air_effort focus = GER_strategic_air_effort }
		x = -1
		y = 1
		relative_position_id = GER_tactical_air_effort
		cost = 8
		ai_will_do = {	factor = 0.1	}
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				add_tech_bonus = {
					name = GER_long_range_escorts
					bonus = 1.0
					uses = 2
					category = medium_air		
				}
			}
			else = {
				add_tech_bonus = {
					name = GER_long_range_escorts
					bonus = 1.0
					uses = 2
					category = cat_heavy_fighter
				}
			}
		}
	}
	focus = {
		id = GER_naval_air_effort
		text = naval_air_effort
		icon = GFX_goal_generic_air_naval_bomber
		prerequisite = { focus = GER_tactical_air_effort }
		x = 0
		y = 2
		relative_position_id = GER_tactical_air_effort
		cost = 8
		ai_will_do = {	factor = 1	}
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			if = {
				limit = {	has_dlc = "By Blood Alone"	}
				add_tech_bonus = {
					name = nav_bomber_bonus
					bonus = 1.0
					uses = 1
					category = light_air
				}
				add_tech_bonus = {
					name = nav_bomber_bonus
					bonus = 1.5
					uses = 1
					technology = air_torpedoe_2
					technology = air_torpedoe_3
				}
			}
			else = {
				add_tech_bonus = {
					name = nav_bomber_bonus
					bonus = 1.0
					uses = 2
					category = naval_bomber
				}
			}
		}
	}
	focus = {
		id = GER_strategic_air_effort
		icon = GFX_goal_generic_air_bomber
		prerequisite = { focus = GER_air_innovation }
		mutually_exclusive = { focus = GER_tactical_air_effort }
		x = -1
		y = 1
		relative_position_id = GER_air_innovation
		cost = 8
		ai_will_do = {factor = 1}
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = strat_dest_bonus
				cost_reduction = 0.25
				uses = 2
				category = battlefield_support_tree
			}
			if = {
				limit = {	has_dlc = "By Blood Alone"	}
				add_tech_bonus = {
					name = bomber_bonus
					bonus = 1.0
					uses = 1
					category = heavy_air
				}
			}
			else = {
				add_tech_bonus = {
					name = bomber_bonus
					bonus = 1.0
					uses = 1
					category = cat_strategic_bomber
				}
			}
		}
	}
	focus = {
		id = GER_army_innovation
		icon = GFX_goal_generic_axis_build_infantry
		prerequisite = { focus = GER_experimental_combat_support_project }
		#prerequisite = { focus = GER_man_breakthrough }
		available = {
			OR = {		
				date > 1935.12.31
				is_ai = no
			}
			OR = {
				has_country_flag = ct_commy_gov
				has_country_flag = ct_hitler
				has_country_flag = ct_demo_gov
				has_country_flag = ct_kaiser_wilhelm_ii
			}
		}
		x = 80
		y = 2
		cost = 8
		ai_will_do = {	factor = 1	}
		available_if_capitulated = yes
		completion_reward = {
			army_experience = 30
			add_doctrine_cost_reduction = {
				name = land_doc_bonus
				cost_reduction = 0.5
				uses = 2
				category = land_doctrine
			}
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = walther_von_brauchitsch			
		}
	}

	focus = {
		id = GER_armored_infantry
		icon = GFX_goal_generic_build_tank
		x = -1 
		y = 2
		prerequisite = { focus = GER_army_innovation }
		relative_position_id = GER_army_innovation
		cost = 10
		ai_will_do = {	factor = 1	}
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		completion_reward = {
			army_experience = 25
			add_tech_bonus = {
				name = FRA_mechanized_focus
				bonus = 1.0
				uses = 1
				category = cat_mechanized_equipment
			}
			division_template = {
				name = "Mechanized Division" 
				division_names_group = GER_MEC_01
				regiments = {
					mechanized = { x = 0 y = 0 }
					mechanized = { x = 0 y = 1 }
					mechanized = { x = 0 y = 2 }
					mechanized = { x = 1 y = 0 }
					mechanized = { x = 1 y = 1 }
					mechanized = { x = 1 y = 2 }
					mechanized = { x = 2 y = 0 }
					mechanized = { x = 2 y = 1 }
					mechanized = { x = 2 y = 2 }
				}
				support = { artillery = { x = 0 y = 0 }	}
			}
			custom_effect_tooltip = Big_Mech_Division
			add_tech_bonus = {
				uses = 1
				bonus = 1.0
				category = motorized_equipment
			}
		}
	}
	focus = {
		id = GER_army_modernization
		icon = GFX_focus_generic_combined_arms
		x = -3
		y = -2
		relative_position_id = GER_army_innovation
		cost = 4.3
		ai_will_do = {	factor = 20	}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_army_modernization"
			army_experience = 25
			#set_technology = {	mobile_warfare = 1	}
			set_grand_doctrine = new_mobile_warfare
		}
	}
	
	focus = {
		id = GER_enigma
		prerequisite = { focus = GER_army_modernization }
		icon = GFX_focus_GER_enigma
		available = {
		}
		x = -3
		y = 1
		relative_position_id = GER_army_modernization
		cost = 4.3
		ai_will_do = {	factor = 10	}	
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_enigma"
			add_tech_bonus = {
				name = elect_bonus
				bonus = 2.0
				uses = 1
				category = electronics
			}
		}
	}
	
	focus = {
		id = GER_messerschmitt_contract
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = GER_establish_luftwaffe }
		x = 0
		y = 1
		relative_position_id = GER_establish_luftwaffe
		cost = 4.3
		ai_will_do = {	factor = 80	}
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_messerschmitt_contract"
			IF = {
				limit = { has_dlc = "Arms Against Tyranny" }
				mio:GER_messerschmitt_organization = {	add_mio_funds = 1000	}
			}
			ELSE = {	air_experience = 25	}
			add_tech_bonus = {
				name = fighter_bonus
				bonus = 1.5
				uses = 1
				category = light_fighter
				category = cat_heavy_fighter
			}
		}
	}

	focus = {
		id = GER_panzergrenadier
		icon = GFX_goal_generic_build_tank
		x = 1
		y = 1
		prerequisite = { focus = GER_army_modernization }
		relative_position_id = GER_army_modernization
		cost = 4.3
		ai_will_do = {	factor = 1	}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }		
		completion_reward = {
			army_experience = 10
			add_tech_bonus = {
				name = GER_panzergrenadier
				ahead_reduction = 2
				bonus = 1
				uses = 1
				category = cat_mechanized_equipment
			}	
			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_experimental_combat_support_project
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = GER_army_modernization }
		x = 0
		y = -1
		relative_position_id = GER_army_innovation
		cost = 4.3
		ai_will_do = {	factor = 80	}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_experimental_combat_support_project"
			army_experience = 10
			add_tech_bonus = {
				name = special_bonus
				bonus = 1.0
				uses = 3
				technology = tech_recon		technology = tech_recon2
				technology = tech_engineers	technology = tech_engineers2
				technology = tech_maintenance_company	technology = tech_maintenance_company2
				technology = tech_field_hospital	technology = tech_field_hospital2
				technology = tech_logistics_company	technology = tech_logistics_company2
				technology = tech_signal_company	technology = tech_signal_company2			
			}
		}
	}	

	focus = {
		id = GER_special_forces
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = GER_experimental_combat_support_project}
		relative_position_id = GER_experimental_combat_support_project
		x = -2
		y = 1
		cost = 4.3
		available_if_capitulated = yes
		ai_will_do = {	factor = 3	}
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = special_forces_bonus
				cost_reduction = 1.0
				uses = 2
				category = special_forces_doctrine
			}			
		}
	}	

	focus = {
		id = GER_anti_tank_artillery
		icon = GFX_goal_generic_army_artillery
		prerequisite = { focus = GER_experimental_combat_support_project }
		relative_position_id = GER_experimental_combat_support_project
		x = 2
		y = 1
		cost = 4.3
		available_if_capitulated = yes
		ai_will_do = {	factor = 3	}
		completion_reward = {
			army_experience = 20
			add_tech_bonus = {
				name = GER_anti_tank_guns
				bonus = 1.00
				uses = 1
				category = cat_anti_tank
			}
		}
	}	
	
	focus = {
		id = GER_anti_air_artillery
		icon = GFX_focus_generic_air_defense
		prerequisite = { focus = GER_anti_tank_artillery }
		relative_position_id = GER_anti_tank_artillery
		x = 0
		y = 1
		cost = 4.3
		available_if_capitulated = yes
		ai_will_do = {	factor = 3 }
		completion_reward = {
			army_experience = 20
			add_tech_bonus = {
				name = GER_artillery_modernisation
				bonus = 1.00
				uses = 1
				technology = interwar_antiair
				technology = antiair1	technology = antiair2
				technology = antiair3	technology = antiair4
			}
		}
	}


	focus = {
		id = GER_air_innovation_2
		icon = GFX_goal_generic_air_fighter2
		prerequisite = { focus = GER_strategic_air_effort focus = GER_tactical_air_effort }
		x = 0
		y = 2
		relative_position_id = GER_strategic_air_effort
		cost = 10
		ai_will_do = {	factor = 1	}
		available_if_capitulated = yes
		completion_reward = { 
			log = "[GetDateText]: [Root.GetName]: Focus GER_"
			air_experience = 50
			add_ideas = GER_air_innovations_2_idea
			# Balance research bonus to next tech among radio, radio_detection, decimetric_radar, improved_decimetric_radar, centimetric_radar, improved_centimetric_radar, advanced_centimetric_radar
			add_tech_bonus = {
				name = radar_tech_bonus
				bonus = 1.0
				uses = 1
				category = radar_tech
			}
			if = {
				limit = {
					has_opinion_modifier = sov_ger_treaty
					NOT = { has_war_with = SOV }
				}
				SOV = {		country_event = { id = germany.78 days = 1 }	}
			}
		}
	}

	focus = {
		id = GER_army_innovation_2
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = GER_army_innovation }
		x = 0
		y = 1
		relative_position_id = GER_army_innovation
		cost = 10
		ai_will_do = {	factor = 1	}
		available_if_capitulated = yes
		completion_reward = {
			# Balance research bonus to 2 techs in land_doctrine
			army_experience = 10
			add_doctrine_cost_reduction = {
				name = land_doc_bonus
				cost_reduction = 1.0
				uses = 2
				category = land_doctrine
			}
			if = {
				limit = {	NOT = {		has_dlc = "No Step Back"	}	}
				add_tech_bonus = {
					bonus = 1.0
					uses = 1
					name = mech_army_bonus
					technology = basic_medium_tank
					technology = improved_medium_tank
					technology = advanced_medium_tank
					technology = mechanised_infantry
				}	
			}
			else = {
				add_tech_bonus = {
					bonus = 1.0
					uses = 1
					name = mech_army_bonus
					technology = basic_medium_tank_chassis
					technology = improved_medium_tank_chassis
					technology = advanced_medium_tank_chassis
					technology = mechanised_infantry
				}
			}
		}
	}

	focus = {
		id = GER_promote_von_manstein
		icon = GFX_focus_generic_military_mission
		prerequisite = { focus = GER_army_innovation_2 }
		x = 1
		y = 1
		relative_position_id = GER_army_innovation_2
		cost = 5
		ai_will_do = {	factor = 1	}
		available_if_capitulated = yes
		completion_reward = {
			add_advisor_role = {
				character = GER_erich_von_manstein
				advisor = {	
					slot = army_chief	cost = 100	idea_token = GER_erich_von_manstein	
					traits = {	army_chief_organizational_3	}	ai_will_do = {	factor = 0.000	}	
				}
			}
		}
	}

	focus = {
		id = GER_man_breakthrough
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = GER_army_innovation_2 }
		x = 0
		y = 2
		relative_position_id = GER_army_innovation_2
		cost = 10
		ai_will_do = {
			factor = 25
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_"
			add_tech_bonus = {
				name = armor_bonus
				ahead_reduction = 2
				uses = 1
				category = armor
			}
		}
	}
	focus = {
		id = GER_rocketry_focus
		icon = GFX_focus_rocketry
		prerequisite = { focus = GER_extra_tech_slot }
		x = 1
		y = 1
		relative_position_id = GER_extra_tech_slot
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_rocketry_focus"
			add_ideas = GER_rocketry_idea
			add_tech_bonus = {
				name = GER_rocketry_focus
				bonus = 1.0
				uses = 2
				category = rocketry
			}
			add_tech_bonus = {
				name = GER_rocketry_focus
				bonus = 1.0
				uses = 2
				category = jet_technology
			}
		}
	}
	
	focus = {
		id = GER_wunderwaffe
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = GER_rocketry_focus }
		x = 1
		y = 1
		relative_position_id = GER_rocketry_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_"
			add_tech_bonus = {
				name = secret_bonus
				bonus = 1.0
				uses = 1
				category = nuclear
				category = rocketry
			}
		}
	}
	
	#focus = {
	#	id = GER_demand_colonies
	#	icon = GFX_goal_generic_forceful_treaty
	#	prerequisite = { focus = GER_anschluss }
	#	available = { is_puppet = no }
	#	x = 5
	#	y = 1
	#	relative_position_id = GER_anschluss
	#	cost = 10
	#	bypass = {
	#		777 = { is_owned_by = GER }
	#		773 = { is_owned_by = GER }
	#		546 = { is_owned_by = GER }
	#	}
	#	ai_will_do = {
	#		factor = 10	
	#		modifier = {
	#			factor = 0
	#			date < 1939.1.1
	#		}		
	#	}	
	#	completion_reward = {
	#		777 = { add_claim_by = GER }
	#		773 = { add_claim_by = GER }
	#		546 = { add_claim_by = GER }
	#		if = {
	#			limit = {
	#				FRA = { 
	#					owns_state = 777
	#					controls_state = 777 
	#					owns_state = 773
	#					controls_state = 773
	#				}
	#				ENG = { 
	#					owns_state = 546
	#					controls_state = 546 
	#				}
	#			}
	#			FRA = {
	#				#country_event = { id = baltic.4 }
	#			}
	#		}
	#	}
	#}
#########################################################################
#########################################################################
########        G E R M A N      N A V Y      S T A R T          ########
#########################################################################
#########################################################################	
	focus = {
		id = GER_naval_rearmament
		icon = GFX_goal_generic_build_navy
		prerequisite = { focus = GER_navy_effort1 }
		#prerequisite = { focus = GER_navy_effort2 }
		available = {
			OR = {
				is_ai = no
				date > 1935.12.31				
			}
		}
		x = 88
		y = 1
		cost = 4.3
		ai_will_do = {
			factor = 1
		}
		available_if_capitulated = yes
		bypass = {
			custom_trigger_tooltip =  {
				tooltip = naval_effort_tt
				NOT = {
					any_owned_state = {
						free_building_slots = {
							building = dockyard
							size > 0
							include_locked = yes
						}
					}
				}
			}
		}
		complete_tooltip = {
			every_state = {
				limit = {	has_state_flag = GER_naval_rearmament_2dockyards }
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_naval_rearmament"
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					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
				}
				set_state_flag = GER_naval_rearmament_2dockyards
			}
		}
	}	

	focus = {
		id = GER_navy_effort1
		icon = GFX_goal_generic_construct_naval_dockyard
		x = -1
		y = -1
		relative_position_id = GER_naval_rearmament
		cost = 4.3
		available_if_capitulated = yes
		complete_tooltip = {
			every_state = {
				limit = {	has_state_flag = GER_naval_rearmament_1dockyard }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_navy_effort1"
			navy_experience = 10
			random_owned_controlled_state = {
				limit = {
					dockyard > 1
					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
				}
				set_state_flag = GER_naval_rearmament_1dockyard
			}
		}
	}
	focus = {
		id = GER_naval_maneuvers 
		icon = GFX_goal_generic_build_navy
		prerequisite = { focus = GER_navy_effort1 }
		x = -2
		y = 0
		relative_position_id = GER_naval_rearmament
		cost = 4.3
		ai_will_do = {
			factor = 0
		}
		available_if_capitulated = yes
		completion_reward = {
			navy_experience = 20
			add_doctrine_cost_reduction = {
				name = ti_bonus
				name = GER_trade_interdiction
				cost_reduction = 1.0
				uses = 1
				category = trade_interdiction_tree
			}
		}
	}	

	focus = {
		id = GER_carrier_focus
		prerequisite = { focus = GER_naval_maneuvers }
		icon = GFX_goal_generic_navy_carrier
		x = -1
		y = 1
		relative_position_id = GER_naval_maneuvers
		cost = 4.3
		ai_will_do = {	factor = 0	}
		available_if_capitulated = yes
		completion_reward = {
			navy_experience = 10
			add_tech_bonus = {
				name = cv_bonus
				bonus = 1.0
				uses = 1
				category = cv_tech
			}
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					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
				}
			}
		}
	}
	 
	focus = {  
		id = GER_refit_civilian_ships
		icon = GFX_focus_generic_refit_civilian_ships
		prerequisite = { focus = GER_carrier_focus }
		x = 0
		y = 1
		relative_position_id = GER_carrier_focus
		cost = 8
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_NAVY_XP FOCUS_FILTER_RESEARCH }
		completion_reward = {
			navy_experience = 15
			if = { #MTG
				limit = {	has_dlc = "Man the Guns"	}
				if = {	limit = {	NOT = { has_tech = early_ship_hull_carrier }	}	set_technology = { early_ship_hull_carrier = 1 }	}
				#Equipment Variant
				create_equipment_variant = {
					name = "Converted Liner"
					type = ship_hull_carrier_conversion_ca
					name_group = GER_THEME_RIVERS 
					parent_version = 0	allow_without_tech = yes
					modules = {	fixed_ship_deck_slot_1 = ship_deck_space fixed_ship_deck_slot_2 = ship_deck_space fixed_ship_anti_air_slot = ship_anti_air_2 fixed_ship_radar_slot = empty fixed_ship_engine_slot = carrier_ship_engine_1 fixed_ship_secondaries_slot = ship_secondaries_1 }
				}
				add_equipment_production = {
					equipment = { type = ship_hull_carrier_conversion_ca	creator = "GER"	version_name = "Converted Liner" }
					name = "Mosel"
					requested_factories = 1		progress = 0.65		amount = 1
				}
				add_equipment_production = {
					equipment = { type = ship_hull_carrier_conversion_ca	creator = "GER"	version_name = "Converted Liner" }
					name = "Spree"
					requested_factories = 1		progress = 0.65		amount = 1
				}
			}
			##############
			### NO MTG ###
			##############
			else = {
				if = {	limit = {	NOT = { has_tech = early_carrier }	}	set_technology = { early_carrier = 1 }	}
				create_equipment_variant = {
					name = "Converted Liner"
					type = carrier_1
					allow_without_tech = yes #Makes no difference since focus grants appropriate tech (above), but it improves tooltip
					upgrades = { ship_deckspace_upgrade = 2	carrier_armor_upgrade = 1 ship_engine_upgrade = 2 ship_reliability_upgrade = 2	}
				}
				add_equipment_production = {
					equipment = {	type = carrier_1 creator = "GER" version_name = "Converted Liner" }
					requested_factories = 1	progress = 0.65		amount = 1	
				}
				add_equipment_production = {
					equipment = {	type = carrier_1 creator = "GER" version_name = "Converted Liner" }
					requested_factories = 1	progress = 0.65		amount = 1	
				}
			}
			random_owned_controlled_state = {
				limit = {	is_fully_controlled_by = ROOT	is_coastal = yes }
				add_extra_state_shared_building_slots = 2
				add_building_construction = { type = dockyard level = 2 instant_build = yes }
			}
		}
	}

	focus = {
		id = GER_naval_effort
		text = naval_effort
		icon = GFX_goal_generic_navy_doctrines_tactics
		prerequisite = { focus = GER_naval_rearmament focus = GER_naval_maneuvers }
		x = -1
		y = 1
		relative_position_id = GER_naval_rearmament
		cost = 4.3
		ai_will_do = {	factor = 1	}
		available_if_capitulated = yes
		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = GER_naval_effort_2dockyards }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = dd_bonus
				bonus = 1.0
				uses = 1
				category = dd_tech
			}
			add_tech_bonus = {
				name = cr_bonus
				bonus = 1.0
				uses = 1
				category = cl_tech
				category = ca_tech
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_naval_effort"
			navy_experience = 25
			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_naval_effort_2dockyards
			}
			add_tech_bonus = {
				name = dd_bonus
				bonus = 1.0
				uses = 1
				category = dd_tech
			}
			add_tech_bonus = {
				name = cr_bonus
				bonus = 1.0
				uses = 1
				category = cl_tech
				category = ca_tech
			}
		}
	}
	focus = {
		id = GER_naval_effort2
		icon = GFX_goal_generic_construct_naval_dockyard
		prerequisite = { focus = GER_naval_effort }
		x = 0
		y = 1
		relative_position_id = GER_naval_effort
		cost = 8
		ai_will_do = {	factor = 1	}
		available_if_capitulated = yes
		available = {any_controlled_state = {is_coastal = yes}}
		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = GER_naval_effort_2dockyards }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_naval_effort2"
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					free_building_slots = {
						building = dockyard
						size > 2
						include_locked = yes
					}
					NOT = { has_state_flag = GER_naval_effort2_2dockyards }
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_naval_effort2_2dockyards
			}
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					free_building_slots = {
						building = dockyard
						size > 2
						include_locked = yes
					}
					NOT = { has_state_flag = GER_naval_effort2_2dockyards }
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_naval_effort2_2dockyards
			}
		}
	}
	focus = {
		id = GER_plan_z
		icon = GFX_goal_generic_navy_battleship
		#prerequisite = { focus = GER_naval_effort }
		mutually_exclusive = { focus = GER_u_boat_effort focus = GER_rebuild_the_high_seas_fleet focus = GER_accept_british_naval_dominance }
		available = {
			NOT = { has_completed_focus = GER_monarchist_germany }
			date > 1934.1.1
		}
		x = -3
		y = 2
		relative_position_id = GER_naval_effort
		cost = 10
		ai_will_do = {	factor = 0.25	}	
		available_if_capitulated = yes
		complete_tooltip = {
			navy_experience = 50
			every_state = {
				limit = { has_state_flag = GER_plan_z_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_tech_bonus = {
				name = cv_bonus
				bonus = 1.0
				uses = 1
				category = cv_tech
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_plan_z"
			navy_experience = 50
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_plan_z_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_tech_bonus = {
				name = cv_bonus
				bonus = 1.0
				uses = 1
				category = cv_tech
			}
		}
	}
	focus = {
		id = GER_u_boat_effort
		icon = GFX_goal_generic_navy_submarine
		#prerequisite = { focus = GER_naval_effort }
		mutually_exclusive = { focus = GER_plan_z focus = GER_rebuild_the_high_seas_fleet focus = GER_accept_british_naval_dominance }
		available = {
			date > 1934.1.1
		}		
		x = 2
		y = 0
		relative_position_id = GER_plan_z
		cost = 10
		ai_will_do = {	factor = 1	}
		available_if_capitulated = yes
		complete_tooltip = {
			navy_experience = 25
			every_state = {
				limit = { has_state_flag = GER_u_boat_effort_2dockyards }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = GER_u_boat_effort
				bonus = 1.0
				uses = 1
				category = ss_tech
			}
			if = {
				limit = {	has_dlc = "Man the Guns"	}
				set_technology = { cruiser_submarines = 1 }
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_u_boat_effort"
			navy_experience = 25
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_u_boat_effort_2dockyards
			}
			add_tech_bonus = {
				name = GER_u_boat_effort
				bonus = 1.0
				uses = 1
				category = ss_tech
			}
			if = {
				limit = {	has_dlc = "Man the Guns"	}
				set_technology = { cruiser_submarines = 1 }
			}
		}
	}
	focus = {
		id = GER_accept_british_naval_dominance
		icon = GFX_focus_ger_accept_british_naval_dominance
		#prerequisite = { focus = GER_naval_effort }
		mutually_exclusive = { focus = GER_plan_z focus = GER_u_boat_effort focus = GER_rebuild_the_high_seas_fleet }
		available = {
			OR = {
				has_completed_focus = GER_democratic_germany
				has_completed_focus = GER_monarchist_germany	
			}
			is_puppet = no
			NOT = { has_war_with = ENG }
			OR = {
				date > 1934.1.1
				is_ai = no	
			}
		}
		cancel_if_invalid = yes
		x = 4
		y = 0
		relative_position_id = GER_u_boat_effort
		cost = 8
		ai_will_do = {	factor = 1	}
		search_filters = { FOCUS_FILTER_INDUSTRY }	
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_accept_british_naval_dominance"
			ENG = {
				add_opinion_modifier = {
					target = ROOT
					modifier = GER_accept_british_naval_dominance_opinion
				}
			}
			add_ideas = GER_redirecting_naval_production
		}
	}	
	focus = {
		id = GER_rebuild_the_high_seas_fleet
		icon = GFX_goal_generic_navy_cruiser
		#prerequisite = { focus = GER_naval_effort }
		mutually_exclusive = { focus = GER_plan_z focus = GER_u_boat_effort focus = GER_accept_british_naval_dominance }
		available = {
			has_completed_focus = GER_monarchist_germany
			is_puppet = no
			OR = {
			date > 1934.1.1	
			is_ai = no			
			}
		}
		x = 2
		y = 0
		relative_position_id = GER_u_boat_effort
		cost = 8
		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 = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_rebuild_the_high_seas_fleet"
			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_trade_interdiction
		icon = GFX_goal_generic_wolf_pack
		prerequisite = { focus = GER_u_boat_effort }
		x = 0
		y = 1
		relative_position_id = GER_u_boat_effort
		cost = 10
		ai_will_do = {
			factor = 1
		}
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_trade_interdiction"
			add_doctrine_cost_reduction = {
				name = ti_bonus
				name = GER_trade_interdiction
				cost_reduction = 0.25
				uses = 2
				category = trade_interdiction_tree
			}
		}
	}
	focus = {
		id = GER_modular_construction
		icon = GFX_goal_generic_construct_naval_dockyard
		prerequisite = { focus = GER_trade_interdiction }
		x = 0
		y = 1
		relative_position_id = GER_trade_interdiction
		cost = 10
		ai_will_do = {factor = 1}	
		available_if_capitulated = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_modular_construction"
			add_ideas = GER_modular_construction
		}
	}

	focus = {
		id = GER_surface_raiders
		icon = GFX_focus_generic_destroyer 
		x = 1
		y = 1
		cost = 4.3
		#prerequisite = { focus = SWE_retool_dockyards }
		relative_position_id = GER_modular_construction
		ai_will_do = {	factor = 10		}
		available = {
			if = {
				limit = { has_dlc = "Man the Guns" }
				has_tech = improved_ship_hull_light
			}
			else = {	has_tech = improved_destroyer	}
		}
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		completion_reward = {
			if = {
				limit = { has_dlc = "Man the Guns" }
				if = {
					limit = { NOT = { has_government = communism }  }
					create_equipment_variant = {
						name = "Zerstörer Klasse Z"
						type = ship_hull_light_3
						parent_version = 0
						modules = {
							fixed_ship_battery_slot = ship_light_battery_2
							fixed_ship_engine_slot = light_ship_engine_3
							front_1_custom_slot = ship_light_battery_2
							fixed_ship_fire_control_system_slot = ship_fire_control_system_2
							rear_1_custom_slot = ship_light_battery_2
							mid_1_custom_slot = ship_depth_charge_3
							fixed_ship_anti_air_slot = ship_anti_air_3
							fixed_ship_torpedo_slot = ship_torpedo_2
							fixed_ship_radar_slot = ship_sonar_2
						}
					}
					add_equipment_production = {
						equipment = {
							type = ship_hull_light_3
							creator = SWE
							version_name = "Zerstörer Klasse Z"
						}
						requested_factories = 5
						progress = 1
					}
					add_equipment_production = {
						equipment = {
							type = ship_hull_light_3
							creator = SWE
							version_name = "Zerstörer Klasse Z"
						}
						requested_factories = 5
						progress = 1
					}
					add_equipment_production = {
						equipment = {
							type = ship_hull_light_3
							creator = SWE
							version_name = "Zerstörer Klasse Z"
						}
						requested_factories = 5
						progress = 1
					}
				}
				else = {
					create_equipment_variant = {
						name = "Zerstörer Klasse Z"
						type = ship_hull_light_3
						parent_version = 0
						modules = {
							fixed_ship_battery_slot = ship_light_battery_2
							fixed_ship_engine_slot = light_ship_engine_3
							front_1_custom_slot = ship_light_battery_2
							fixed_ship_fire_control_system_slot = ship_fire_control_system_2
							rear_1_custom_slot = ship_light_battery_2
							mid_1_custom_slot = ship_depth_charge_3
							fixed_ship_anti_air_slot = ship_anti_air_3
							fixed_ship_torpedo_slot = ship_torpedo_2
							fixed_ship_radar_slot = ship_sonar_2
						}
					}
					add_equipment_production = {
						equipment = {
							type = ship_hull_light_3
							creator = SWE
							version_name = "Zerstörer Klasse Z"
						}
						requested_factories = 5
						progress = 1
					}
					add_equipment_production = {
						equipment = {
							type = ship_hull_light_3
							creator = SWE
							version_name = "Zerstörer Klasse Z"
						}
						requested_factories = 5
						progress = 1
					}
					add_equipment_production = {
						equipment = {
							type = ship_hull_light_3
							creator = SWE
							version_name = "Zerstörer Klasse Z"
						}
						requested_factories = 5
						progress = 1
					}
				}
			}
			else = { #NON MTG
				if = {
					limit = { NOT = { has_government = communism }}
					create_equipment_variant = {
						name = "Zerstörer Klasse Z"
						type = destroyer_3
						parent_version = 0
					}
					add_equipment_production = {
						equipment = {
							type = destroyer_3
							creator = SWE
							version_name = "Zerstörer Klasse Z"
						}
						requested_factories = 5
						progress = 1
					}
					add_equipment_production = {
						equipment = {
							type = destroyer_3
							creator = SWE
							version_name = "Zerstörer Klasse Z"
						}
						requested_factories = 5
						progress = 1
					}
					add_equipment_production = {
						equipment = {
							type = destroyer_3
							creator = SWE
							version_name = "Zerstörer Klasse Z"
						}
						requested_factories = 5
						progress = 1
					}
				}
				else = {
					create_equipment_variant = {
						name = "Zerstörer Klasse Z"
						type = destroyer_3
						parent_version = 0
					}
					add_equipment_production = {
						equipment = {
							type = destroyer_3
							creator = SWE
							version_name = "Zerstörer Klasse Z"
						}
						requested_factories = 5
						progress = 1
					}
					add_equipment_production = {
						equipment = {
							type = destroyer_3
							creator = SWE
							version_name = "Zerstörer Klasse Z"
						}
						requested_factories = 5
						progress = 1
					}
					add_equipment_production = {
						equipment = {
							type = destroyer_3
							creator = SWE
							version_name = "Zerstörer Klasse Z"
						}
						requested_factories = 5
						progress = 1
					}
				}
			}
		}
	}

	
#########################################################################
#########################################################################
########          G E R M A N      N A V Y      E N D            ########
#########################################################################
#########################################################################		
	focus = {
		id = GER_denmark_friend
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = GER_integrate_war_economies focus = GER_german_war_economy }
		#mutually_exclusive = { focus = GER_weserubung }
		available = {
			country_exists = DEN
			NOT = {
				has_war_with = DEN
			}
			DEN = {
				custom_trigger_tooltip = {
					tooltip = GER_alone_or_peace_faction_tt
					is_alone_or_in_faction_at_peace_with_GER = yes
				}
			}
		}
		bypass = {
			OR = {
				is_in_faction_with = DEN
				has_war_with = DEN
			}
		}
		x = 1
		y = 1
		relative_position_id = GER_integrate_war_economies
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_denmark_friend"
			DEN = {
				add_opinion_modifier = { target = GER modifier = ger_naval_intimidation_focus }
				if = {
					limit = {	GER = {	has_government = fascism	}	}
					add_ideas = fascist_influence
				}
				if = {
					limit = {	GER = {	has_government = communism	}	}
					add_ideas = communist_influence
				}
				if = {
					limit = { GER = {	has_government = democratic	}	}
					add_ideas = democratic_influence
				}
				country_event = { id = generic.1 }
			}
			hidden_effect = {
				news_event = { hours = 6 id = news.232 }
			}
		}
	}
	focus = {
		id = GER_norway_friend
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = GER_denmark_friend }
		available = {
			has_government = fascism
			NOT = { has_war_with = NOR }
			NOR = {
				custom_trigger_tooltip = {
					tooltip = GER_alone_or_peace_faction_tt
					is_alone_or_in_faction_at_peace_with_GER = yes
				}
			}
		}
		bypass = {
			OR = {
				is_in_faction_with = NOR
				NOT = { country_exists = NOR }
			}
		}
		x = -1
		y = 1
		relative_position_id = GER_denmark_friend
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_norway_friend"
			NOR = {
				add_opinion_modifier = { target = GER modifier = ger_naval_intimidation_focus }
				if = {
					limit = {	GER = {	has_government = fascism	}	}
					add_ideas = fascist_influence
				}
				if = {
					limit = { GER = {	has_government = communism	}	}
					add_ideas = communist_influence
				}
				if = {
					limit = {	GER = {	has_government = democratic	}	}
					add_ideas = democratic_influence
				}
				country_event = { id = generic.1 }
			}
			
			add_tech_bonus = {
				name = tp_bonus
				bonus = 1.0
				uses = 1
				technology = transport
				technology = landing_craft
				technology = tank_landing_craft
			}			
		}
	}

	focus = {
		id = GER_dutch_friend
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = GER_denmark_friend }
		available = {
			has_government = fascism
			NOT = { has_war_with = HOL }
			HOL = {
				custom_trigger_tooltip = {
					tooltip = GER_alone_or_peace_faction_tt
					is_alone_or_in_faction_at_peace_with_GER = yes
				}
			}
		}
		bypass = {
			OR = {
				HOL = { is_in_faction_with = GER }
				NOT = { country_exists = HOL }
			}
		}
		x = 1
		y = 1
		relative_position_id = GER_denmark_friend
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_dutch_friend"
			HOL = {
				add_opinion_modifier = { target = GER modifier = ger_naval_intimidation_focus }
				if = {
					limit = {	GER = {	has_government = fascism }	}
					add_ideas = fascist_influence
				}
				if = {
					limit = { GER = {	has_government = communism	}	}
					add_ideas = communist_influence
				}
				if = {
					limit = {	GER = {	has_government = democratic	}	}
					add_ideas = democratic_influence
				}
				country_event = { id = generic.1 }
			}
			JAP = {
				add_opinion_modifier = { target = GER modifier = befriended_the_dutch }
			}
		}
	}

	focus = {
		id = GER_sweden_friend
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = GER_norway_friend }
		available = {
			has_government = fascism
			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
				}
			}
		}
		bypass = {
			OR = {
				SWE = { is_in_faction_with = GER }
				NOT = { country_exists = SWE }
			}
		}
		x = 0
		y = 1
		relative_position_id = GER_norway_friend
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_sweden_friend"
			SWE = {
				add_opinion_modifier = { target = GER modifier = ger_naval_intimidation_focus }
				if = {
					limit = {	GER = {	has_government = fascism }	}
					add_ideas = fascist_influence
				}
				if = {
					limit = {	GER = {	has_government = communism	}	}
					add_ideas = communist_influence
				}
				if = {
					limit = {	GER = {	has_government = democratic		}	}
					add_ideas = democratic_influence
				}
				country_event = { id = generic.1 }
				if = {
					limit = { has_idea = neutrality_idea }
					remove_ideas = neutrality_idea
				}
			}
		}
	}
	
	focus = {
		id = GER_bulwark_against_bolshevism
		icon = GFX_focus_ger_bulwark_against_bolshevism
		available = {
			is_puppet = no
			OR = {
				has_completed_focus = GER_revive_the_kaiserreich
				has_completed_focus = GER_reestablish_free_elections
				has_completed_focus = GER_the_monarchy_compromise				
			}
		}
		x = -5
		y = 3
		relative_position_id = GER_revive_the_kaiserreich
		cost = 10
		ai_will_do = {	factor = 5	}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_bulwark_against_bolshevism"
			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_puppet = no
			neutrality > 0.4
			HOL = {
				exists = yes
				NOT = { has_war_with = ROOT }
			}
		}
		bypass = {
			has_country_flag = GER_mackensen_dead
			NOT = { has_government = democratic }
		}
		x = 1
		y = 1
		relative_position_id = GER_revive_the_kaiserreich
		cost = 5
		ai_will_do = {	factor = 1	}
		
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_return_of_the_kaiser"
			add_stability = 0.05
			add_political_power = 50		
		}
	}

	focus = {
		id = GER_aus_customs_union2
		icon = GFX_goal_generic_positive_trade_relations
		prerequisite = { focus = GER_return_of_the_kaiser }
		available = {
			is_puppet = no
			NOT = { has_war_with = ENG }
		}
		cancel_if_invalid = yes
		x = 1
		y = 1
		relative_position_id = GER_return_of_the_kaiser
		cost = 10
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_aus_customs_union2"
			#custom_effect_tooltip = tt_customs_union
			add_political_power = 100
			AUS = {
				add_opinion_modifier = {				
					target = ROOT
					modifier = huge_increase
				}
			}
		}
	}
	focus = {      
		id = GER_stoke_european_patriotism
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = GER_return_of_the_kaiser }
		available = { num_of_controlled_states > 42	}
		x = 3
		y = 1
		relative_position_id = GER_return_of_the_kaiser
		cost = 5
		ai_will_do = {	factor = 0	}
		available_if_capitulated = yes
		completion_reward = {
			set_country_flag = ct_supercore
			custom_effect_tooltip = GRE_ct_alex_tt
		}
	}
	focus = {
		id = GER_aus_union_referendum2
		icon = GFX_focus_ballot_box
		prerequisite = { focus = GER_aus_customs_union2 }
		available = {
			country_exists = AUS
			#has_army_manpower = { size > 749999 } #ca 80 div
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_aus_customs_union2
		cost = 10
		ai_will_do = {
			factor = 10
		}
		bypass = {
			OR = {
				has_war_with = AUS
				NOT = { country_exists = AUS }
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_aus_union_referendum2"
			AUS = { country_event = { id = ctger.18 } }
		}
	}


	focus = {
		id = GER_demand_colonies2
		icon = GFX_goal_generic_more_territorial_claims
		prerequisite = { focus = GER_return_of_the_kaiser }
		available = {
			is_puppet = no
			NOT = { has_war_with = ENG }
		}
		cancel_if_invalid = yes
		x = 2
		y = 3
		relative_position_id = GER_return_of_the_kaiser
		cost = 8
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_demand_colonies"
			ENG = { country_event = { id = ctger.36 } }
		}
	}

	focus = {
		id = GER_schutztruppe2
		icon = GFX_focus_ger_reichskommisariats
		prerequisite = { focus = GER_demand_colonies2 }
		available = {
			owns_state = 546
			owns_state = 773
		}
		cancel_if_invalid = yes
		x = 0
		y = 2
		relative_position_id = GER_demand_colonies2
		cost = 5
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_schutztruppe"
			if = {
				limit = {
					GER = { has_full_control_of_state = 773 }
					GER = { has_full_control_of_state = 546 }					
				}
				custom_effect_tooltip = GER_schutztruppe_tt
				hidden_effect = {
					load_oob = "GER_schutztruppe"
				}
			}	
		}
	}	

	focus = {
		id = GER_afrikan_raw_materials2
		icon = GFX_focus_generic_rubber
		prerequisite = { focus = GER_demand_colonies2 }
		available = {
			OR = {
				AND = {
					owns_state = 546
					owns_state = 773
				}
				MIT = { exists = yes }				
			}
		}
		cancel_if_invalid = yes
		x = -1
		y = 1
		relative_position_id = GER_demand_colonies2
		cost = 8
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_afrikan_raw_materials"
			add_resource = {
				type = rubber
				amount = 12
				state = 546
			}
			add_resource = {
				type = rubber
				amount = 3
				state = 773
			}	
			add_resource = {
				type = steel
				amount = 6
				state = 773
			}
			if = {
				limit = { MIT = { owns_state = 540 } }
				add_resource = {
					type = steel
					amount = 5
					state = 540
				}
			}	
			if = {
				limit = { MIT = { owns_state = 544 } }
				add_resource = {
					type = steel
					amount = 7
					state = 544
				}
			}			
		}
	}	
	focus = {
		id = GER_afrika_industry2
		icon = GFX_goal_generic_construction
		prerequisite = { focus = GER_afrikan_raw_materials2 }
		available = {
			MIT = { exists = yes }
		}
		cancel_if_invalid = yes
		x = 0
		y = 2
		relative_position_id = GER_afrikan_raw_materials2
		cost = 8
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			if = {
				limit = {
					NOT = {
						773 = {
							free_building_slots = {
								building = industrial_complex
								size > 1
								include_locked = yes
							}
						}
					}
				}
				random_owned_controlled_state =  {
					limit = {
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
						is_on_continent = africa
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
				random_owned_controlled_state =  {
					limit = {
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
						is_on_continent = africa
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					773 = {
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
					}
				}
				773 = {
					add_extra_state_shared_building_slots = 4
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}			
			}
		}
	}
	focus = {  
		id = GER_mittelafrika_uber_alles2
		icon = GFX_focus_bill
		prerequisite = { focus = GER_demand_colonies2 }
		available = {
			MIT = { exists = yes }
		}
		cancel_if_invalid = yes
		x = 1
		y = 1
		relative_position_id = GER_demand_colonies2
		cost = 0.2
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_mittelafrika_uber_alles"
			every_state = {
				limit = { is_on_continent = africa }
				MIT = {
					add_state_core = PREV
				}
			}
		}
	}	
	focus = {
		id = GER_our_place_in_the_sun
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = GER_rebuild_the_high_seas_fleet }
		available = {
			is_puppet = no
		}
		x = 0
		y = 1
		relative_position_id = GER_rebuild_the_high_seas_fleet
		cost = 5
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_our_place_in_the_sun"
			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_puppet = 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 = 1
				uses = 1
				category = bc_tech
				category = bb_tech
				category = shbb_tech
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_pride_of_the_modern_germany"
			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 = 1
				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_expatriate_the_communists }
		available = {
			has_completed_focus = GER_rebuild_the_high_seas_fleet
			is_subject = no
		}
		x = -7
		y = 0
		relative_position_id = GER_remilitarize_the_rhineland
		cost = 10
		ai_will_do = {	factor = 1	}
		search_filters = { FOCUS_FILTER_STABILITY }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_prepare_for_the_next_blockade"
			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_in_faction_with = ENG }
			NOT = { is_in_faction_with = FRA }
		}
		cancel_if_invalid = yes
		will_lead_to_war_with = ENG
		will_lead_to_war_with = FRA
		x = 0
		y = 2
		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 = 523
			add_state_claim = 773
			add_state_claim = 541
			add_state_claim = 546
			add_state_claim = 737
			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_puppet = no
			OR = {
				has_war_with = FRA
				AND = {
					has_war_with = ENG
					has_global_flag = flag_franco_british_union
				}
			}
			NOT = { is_in_faction_with = BEL }
			NOT = { is_in_faction_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
		x = 0
		y = 2
		relative_position_id = GER_break_the_anglo_french_colonial_hegemony
		cost = 4
		ai_will_do = {	factor = 10	}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_schlieffen_once_more"
			create_wargoal = {
				type = annex_everything
				target = BEL
				expire = 0
			}
			create_wargoal = {
				type = annex_everything
				target = LUX
				expire = 0
			}
		}
	}

	focus = {
		id = GER_crossing_the_atlantic
		icon = GFX_goal_generic_build_navy
		prerequisite = { focus = GER_plan_z focus = GER_modular_construction }
		available = {
			is_puppet = no
			has_war_with = USA
			OR = {
				AND = {
					has_war_with = SOV
					SOV = { has_capitulated = yes }
				}
				SOV = { exists = no }
				SOV = { is_puppet = yes }
			}
			NOT = {
				any_country = {
					NOT = { tag = ENG }
					has_war_with = GER
					is_in_faction_with = USA
					any_owned_state = { is_on_continent = europe }
					has_capitulated = no
				}
			}
		}
		cancel_if_invalid = yes
		x = 1
		y = 3
		relative_position_id = GER_plan_z
		cost = 10
		ai_will_do = {	factor = 10	}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_crossing_the_atlantic"
			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
				}
			}
		}
	}
	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 = 5
		y = 2
		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_the_central_powers
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = GER_expatriate_the_communists }
		available = {
			has_completed_focus = GER_rebuild_the_high_seas_fleet
			is_subject = no
		}
		bypass = {
			OR = {
				is_ai = yes
				is_in_faction = yes
			}
		}
		x = 2
		y = 2
		relative_position_id = GER_expatriate_the_communists
		cost = 5
		ai_will_do = {	factor = 10	}
		completion_reward = {
			set_rule = { can_create_factions = yes }
			if = {
				limit = {	is_in_faction = no	}
				create_faction = "GER_central_powers_faction"
			}

			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_demand_danish_submission
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = GER_the_central_powers }
		available = {
			is_puppet = no
			NOT = { has_war_with = DEN }
		}
		bypass = {	DEN = { exists = no }	}
		cancel_if_invalid = yes
		x = -1
		y = 1
		relative_position_id = GER_the_central_powers
		cost = 8
		ai_will_do = {	factor = 1	}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_demand_danish_submission"
			DEN = {	country_event = { id = ctger.41 } }
		}
	}
	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 = 2
		relative_position_id = GER_the_central_powers
		cost = 10
		ai_will_do = {	factor = 10	}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_prepare_italian_coup"
			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 = 2
		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_puppet = no
			NOT = { has_war_with = AUS }
			NOT = { has_war_with = HUN }
			NOT = { has_war_with = CZE }
		}
		cancel_if_invalid = yes
		x = 1
		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_support_cuz_kirill
	#	icon = GFX_focus_russian_empire
	#	prerequisite = { focus = GER_expatriate_the_communists }
	#	available = {
	#		is_puppet = no
	#		NOT = { has_war_with = SOV }
	#		NOT = { country_exists = RUS }
	#	}
	#	cancel_if_invalid = yes
	#	x = 0
	#	y = 2
	#	relative_position_id = GER_expatriate_the_communists
	#	cost = 10
	#	ai_will_do = {
	#		factor = 0
	#	}
	#	completion_reward = {
	#		log = "[GetDateText]: [Root.GetName]: Focus GER_support_cuz_kirill"
	#		custom_effect_tooltip = GER_eRUS_tzar_tt
	#		SOV = {
	#			hidden_effect = {country_event = { id = ctger.17 }}
	#		}
	#	}
	#}
	
	#focus = { 
	#	id = GER_support_russia 
	#	icon = GFX_focus_russia
	#	prerequisite = { focus = GER_support_cuz_kirill }
	#	available = { 
	#		is_puppet = no
	#		country_exists = RUS
	#	}
	#	cancel_if_invalid = yes
	#	x = 0
	#	y = 2
	#	relative_position_id = GER_support_cuz_kirill
	#	cost = 3
	#	ai_will_do = {
	#		factor = 0
	#	}
	#	completion_reward = {
	#		log = "[GetDateText]: [Root.GetName]: Focus GER_support_russia"
	#		custom_effect_tooltip = GER_eRUS_tzar2_tt		
	#		send_equipment = {
	#			equipment = infantry_equipment
	#			amount = 10000
	#			target = RUS
	#		}
	#		add_political_power = 50
	#		add_to_faction = RUS
	#		hidden_effect = {
	#			add_ai_strategy = {
	#				type = befriend
		#			id = "RUS"			
	#				value = 200
	#			}			
	#			RUS = {
	#				add_popularity = { ideology = neutrality popularity = 0.15 }
	#				add_opinion_modifier = { target = GER modifier = huge_increase } 
	#				add_ideas = GER_FIN_industrial_support
	#				add_ai_strategy = {
	#					type = befriend
	#					id = "GER"			
	#					value = 200
	#				}
	#			}
	#		}
	#	}
	#}	
	
	focus = {
		id = GER_ally_the_shade
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = GER_expatriate_the_communists }
		available = {
			has_completed_focus = GER_accept_british_naval_dominance
			is_puppet = no
			NOT = { has_war_with = ENG }
		}
		cancel_if_invalid = yes
		x = -1
		y = 3
		relative_position_id = GER_expatriate_the_communists
		cost = 10
		ai_will_do = {	factor = 10	}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_ally_the_shade"
			ENG = {
				country_event = { id = generic.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_puppet = 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_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = GER_carte_blanche_for_alsace_and_french_colonies }
		available = {
			is_puppet = 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 = 1
		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_puppet = no
			has_full_control_of_state = 28
			OR = {
				FRA = { has_capitulated = yes }
				FRA = { is_subject_of = GER }
				NOT = {
					any_country = {
						original_tag = FRA
						exists = yes
					}
				}
				owns_state = 28
			}
		}
		cancel_if_invalid = yes
		x = -2
		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_puppet = no
			has_full_control_of_state = 5
		}
		bypass = {
			any_country = {
				owns_state = 188
				is_in_faction_with = GER
			}	
		}
		cancel_if_invalid = yes
		x = -1
		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_generic_polish_deal
		prerequisite = { focus = GER_see_to_the_eastern_front }
		prerequisite = { focus = GER_bulwark_against_bolshevism }
		mutually_exclusive = { focus = GER_partition_poland }
		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 = 1047
				}
			}
		}
		cancel_if_invalid = yes
		x = -2
		y = 1
		relative_position_id = GER_see_to_the_eastern_front
		cost = 10
		ai_will_do = {	factor = 5	}
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_danzig_for_guarantees"
			POL = { country_event = { id = wtt_germany.14 } }
		}
	}

	focus = {
		id = GER_approve_polish_monarchy
		icon = GFX_focus_generic_home_defense
		prerequisite = { focus = GER_danzig_for_guarantees focus = GER_partition_poland }
		available = { 
			is_puppet = no
			NOT = { has_war_with = POL }
			POL = {	is_ai = yes	}
		}
		cancel_if_invalid = yes
		x = -1
		y = 2
		relative_position_id = GER_danzig_for_guarantees
		cost = 8
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			if = {
				limit = {
					POL = {	is_in_faction = no		}
					is_faction_leader = yes
				}
				GER = { add_to_faction = POL }
			}
			if = {
				limit = {
					POL = {	
						is_in_faction = yes	
						is_faction_leader = no
					}
				}
				POL = {	leave_faction = yes		}			
				GER = { add_to_faction = POL }
			}
			hidden_effect = {
				POL = {
					set_politics = {	ruling_party = neutrality	}
					add_popularity = {
						ideology = neutrality
						popularity = 0.20
					}					
				}
			}
			POL = {
				create_country_leader = {
					name = "Fryderyk I"
					desc = "POLITICS_ssdfgda_DESC"
					picture = "Portrait_Poland_Friedrich_Christian_von_Sachsen.dds"
					expire = "1965.1.1"
					ideology = moderatism
					traits = {	
						#
					}
				}
			}
		}
	}

	focus = {
		id = GER_assert_german_leadership
		icon = GFX_focus_french_puppet
		prerequisite = { focus = GER_approve_polish_monarchy }
		available = { 
			is_puppet = no
			is_in_faction_with = POL
			NOT = { has_war_with = POL }
			POL = {	is_ai = yes	}
		}
		cancel_if_invalid = yes
		x = 0
		y = 2
		relative_position_id = GER_approve_polish_monarchy
		cost = 8
		ai_will_do = {	factor = 5	}
		completion_reward = {	puppet = POL	}
	}	

	focus = {
		id = GER_partition_poland 
		icon = GFX_focus_ger_revive_kaiserreich
		prerequisite = { focus = GER_see_to_the_eastern_front }
		prerequisite = { focus = GER_bulwark_against_bolshevism }
		mutually_exclusive = { focus = GER_danzig_for_guarantees }
		available = { 
			POL = { exists = yes }
			NOT = { is_in_faction_with = POL }
			has_war = no
			HUN = { 
				has_government = neutrality 
				has_completed_focus = HUN_proclaim_the_restoration_of_austria_hungary
			}
		} 
		x = -4
		y = 1
		relative_position_id = GER_see_to_the_eastern_front
		bypass = {	HUN = {	has_completed_focus = HUN_partition_poland }	}
		cost = 3
		ai_will_do = {	factor = 5	}
		available_if_capitulated = yes
		completion_reward = {	HUN = { country_event = { id = cthun.16 days = 1 } }}
	}

	focus = {
		id = GER_safeguard_the_baltic
		icon = GFX_goal_generic_defence
		prerequisite = { focus = GER_see_to_the_eastern_front }
		available = {
			is_puppet = 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 = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_safeguard_the_baltic"
			if = {
				limit = { country_exists = EST }
				EST = {	
					add_ideas = GER_safeguard_the_baltic
					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_ideas = GER_safeguard_the_baltic
					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_ideas = GER_safeguard_the_baltic
					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_goal_generic_major_alliance
		prerequisite = { focus = GER_safeguard_the_baltic }
		available = {
			is_subject = no
			NOT = { has_war_with = FIN }
		}
		bypass = {
			OR = {
				AND = {
					FIN = { has_war = yes }
					NOT = { has_war_with = FIN }
				}
				AND = {
					FIN = { is_subject = yes }
					NOT = { FIN = { is_subject_of = GER } }
				}
				FIN = { exists = no }
			}
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_safeguard_the_baltic
		cost = 10
		ai_will_do = {	factor = 1	}
		completion_reward = {
			diplomatic_relation = {
				country = FIN
				relation = guarantee
				active = yes
			}
			add_ai_strategy = {
				type = support
				id = "FIN"			
				value = 200
			}
			FIN = {
				add_ideas = GER_FIN_industrial_support
				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 }
		x = 0
		y = 1
		relative_position_id = GER_support_the_finns
		cost = 10
		available = {
			is_puppet = 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_puppet = 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 = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_anti_soviet_pact_unaligned"
			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_puppet = no
			SOV = {
				has_government = communism
				has_war = yes
			}
			NOT = { is_in_faction_with = SOV }
		}
		bypass = {
			has_war_with = SOV
			NOT = { country_exists = SOV }
		}
		cancel_if_invalid = yes
		x = 1
		y = 1
		relative_position_id = GER_anti_soviet_pact_unaligned
		cost = 10
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_tackle_the_communist_threat"
			if = {
				limit = {	NOT = { is_in_faction = yes }	}
				create_faction = "GER_anti_communist_bloc"
			}
			create_wargoal = {
				type = annex_everything
				target = SOV
				expire = 0
			}
		}
	}
	focus = {
		id = GER_the_iberian_problem
		icon = GFX_goal_generic_occupy_states_ongoing_war
		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
		}
		
		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_die_wacht_am_rhineland }
		mutually_exclusive = { focus = GER_revive_the_kaiserreich }
		available = {	is_subject = no	}
		cancel_if_invalid = yes
		x = -2
		y = 2
		relative_position_id = GER_secure_the_new_state
		cost = 10
		ai_will_do = {	factor = 1	}
		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_reestablish_free_elections"
			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 }
		}
	}
	focus = {
		id = GER_the_monarchy_compromise
		icon = GFX_goal_tfv_strengthen_commonwealth_ties
		mutually_exclusive = { focus = GER_a_liberal_chancellor }
		mutually_exclusive = { focus = GER_a_conservative_chancellor }
		prerequisite = { focus = GER_reestablish_free_elections focus = GER_name_new_chancellor }
		available = {
			is_subject = no
			democratic > 0.4
		}
		cancel_if_invalid = yes
		x = -4
		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 = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_the_monarchy_compromise"
			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 = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_the_great_red_menace"
			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 = "GER_central_european_alliance"
			}
			hidden_effect = {
				if = {
					limit = {is_in_faction = no	}
					create_faction = "GER_central_european_alliance"
				}
			}
			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 } 	}
					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
						}
					}
				}
				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 = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_danubian_membership"
			custom_effect_tooltip = invite_non_fascist_communist_only_TT
			if = {
				limit = {
					AUS = {	NOT = {	has_government = communism	has_government = fascism	}	}
					exists = yes
				}
				AUS = {	country_event = { id = generic.5 }	}
			}
			if = {
				limit = {
					CZE = {	NOT = {	has_government = communism	has_government = fascism	}	}
					exists = yes
				}
				CZE = {	country_event = { id = generic.5 }	}
			}
			if = {
				limit = {
					HUN = {	NOT = {	has_government = communism	has_government = fascism	}	}
					exists = yes
				}
				HUN = {	country_event = { id = generic.5 }	}
			}
		}
	}

	focus = {
		id = GER_danubian_expansion
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = GER_danubian_membership }
		available = {
			is_puppet = no
			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 = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_danubian_expansion"
			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_puppet = no
			OR = {
				any_country = { 
					original_tag = HUN
					has_government = communism 
				}
				any_country = { 
					original_tag = ROM
					has_government = communism 
				}
				any_country = { 
					original_tag = YUG
					has_government = communism 
				}
				any_country = { 
					original_tag = BUL
					has_government = communism 
				}
			}
		}
		x = 0
		y = 1
		relative_position_id = GER_danubian_expansion
		cost = 10
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_no_balkan_communism"
			custom_effect_tooltip = GER_no_balkan_communism_tt
			if = {
				limit = {
					any_country = { 
						original_tag = 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 = { 
						original_tag = 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 = { 
						original_tag = 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 = { 
						original_tag = 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_goal_generic_improve_relations
		prerequisite = { focus = GER_central_european_alliance }
		available = {
			is_puppet = no
			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 = { 
					original_tag = FRA
					has_government = communism 
				}
				any_country = { 
					original_tag = HOL
					has_government = communism 
				}
				any_country = { 
					original_tag = BEL
					has_government = communism 
				}
				any_country = { 
					original_tag = LUX
					has_government = communism 
				}
			}
		}
		x = 0
		y = 1
		relative_position_id = GER_low_countries_membership
		cost = 10
		ai_will_do = {	factor = 1	}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_no_reds_in_western_europe"
			custom_effect_tooltip = GER_no_reds_in_western_europe_tt
			if = {
				limit = {
					any_country = { 
						original_tag = 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 = { 
						original_tag = 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 = { 
						original_tag = 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 = { 
						original_tag = 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_goal_generic_improve_relations
		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 = 2
		y = 1
		relative_position_id = GER_central_european_alliance
		cost = 10
		ai_will_do = {	factor = 10	}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_scandinavian_membership"
			custom_effect_tooltip = invite_non_fascist_communist_only_TT
			if = {
				limit = {
					NOR = {
						NOT = {
							has_government = communism
							has_government = fascism
						}
					}
				}
				NOR = {	country_event = { id = generic.5 }	}
			}
			if = {
				limit = {
					SWE = {
						NOT = {
							has_government = communism
							has_government = fascism
						}
					}
				}
				SWE = {	country_event = { id = generic.5 }	}
			}
			if = {
				limit = {
					DEN = {
						NOT = {
							has_government = communism
							has_government = fascism
						}
					}
				}
				DEN = {	country_event = { id = generic.5 }	}
			}
		}
	}

	focus = {
		id = GER_baltic_membership
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = GER_scandinavian_membership }
		available = {
			is_puppet = no
			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
				}
			}
			LAT = {
				OR = {
					is_in_faction_with = ROOT
					is_in_faction_with = SOV
					exists = no
					has_war_with = SOV
				}
			}
			LIT = {
				OR = {
					is_in_faction_with = ROOT
					is_in_faction_with = SOV
					exists = no
					has_war_with = SOV
				}
			}
		}
		cancel_if_invalid = yes
		x = -1
		y = 2
		relative_position_id = GER_scandinavian_membership
		cost = 10
		ai_will_do = {	factor = 1	}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_baltic_membership"
			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
						}
					}
				}
				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
						}
					}
				}
				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
						}
					}
				}
				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_goal_generic_major_alliance
		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 = 1
		relative_position_id = GER_scandinavian_membership
		cost = 10
		ai_will_do = {	factor = 1	}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_polish_membership"
			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
						}
					}
				}
				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_goal_generic_major_alliance
		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 = 1
		y = 2
		relative_position_id = GER_scandinavian_membership
		cost = 10
		ai_will_do = {	factor = 1	}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_finnish_membership"
			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
						}
					}
				}
				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 = 2
		relative_position_id = GER_polish_membership
		cost = 10
		ai_will_do = {
			factor = 1
		}
		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 focus = GER_a_liberal_chancellor focus = GER_a_conservative_chancellor }
		available = {is_subject = no}
		x = -5
		y = 3
		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 }
		available = {
			has_completed_focus = GER_central_european_alliance
			is_subject = no
		}
		x = 0
		y = 1
		relative_position_id = GER_reverse_the_brain_drain
		cost = 10
		ai_will_do = {	factor = 3	}
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_shared_rd_programs"
			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_puppet = 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 = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_the_mannheim_project"
			custom_effect_tooltip = GER_the_mannheim_project_tt
			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
				}
			}
		}
	}
	focus = {
		id = GER_integrate_western_poland
		icon = GFX_goal_generic_position_armies
		#prerequisite = { focus = GER_danzig_or_war }
		available = {
			is_puppet = no
			has_full_control_of_state = 86
			has_full_control_of_state = 87
			has_full_control_of_state = 98			
			OR = {
				POL = { has_capitulated = yes }
				POL = { is_subject_of = GER }
				NOT = {
					any_country = {
						original_tag = POL
						exists = yes
					}
				}
				owns_state = 86
			}
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_danzig_or_war
		cost = 20
		ai_will_do = {	factor = 40	}
		bypass = {
			86 = {	is_core_of = ROOT	}
			87 = {	is_core_of = ROOT	}
			98 = {	is_core_of = ROOT	}			
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_integrate_western_poland"
			add_state_core = 72			
			add_state_core = 86
			add_state_core = 87
			add_state_core = 98
			add_state_core = 672
			if = {	limit = {	NOT = { owns_state = 86 }	}	transfer_state = 86	}
			if = {	limit = {	NOT = { owns_state = 87 }	}	transfer_state = 87	}
			86 = { set_state_name = "Western Wartheland" }
			87 = { set_state_name = "Eastern Wartheland" }
			set_province_name = { id = 6558 name = "Posen" }
			set_province_name = { id = 9508 name = "Litzmannstadt" }
			set_province_name = { id = 3230 name = "Schrottersburg" }			
			set_country_flag = ct_GER_POL_annexed
		}
	}

	focus = {
		id = GER_integrate_bohemia_moravia
		icon = GFX_goal_generic_position_armies
		#prerequisite = { focus = GER_end_of_czechoslovakia}
		available = {
			is_puppet = no
			has_full_control_of_state = 9
			has_full_control_of_state = 75
			OR = {
				CZE = { has_capitulated = yes }
				NOT = {
					any_country = {
						original_tag = CZE
						exists = yes
					}
				}
				owns_state = 9
			}
		}
		cancel_if_invalid = yes
		x = -1
		y = 3
		relative_position_id = GER_end_of_czechoslovakia
		cost = 10
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_integrate_bohemia_moravia"
			add_state_core = 9
			add_state_core = 75
			if = {
				limit = {	NOT = { owns_state = 9 }	}
				transfer_state = 9
			}
			if = {
				limit = {	NOT = { owns_state = 75 }	}
				transfer_state = 75
			}
			9 = { set_state_name = "Bohmen" }
			75 = { set_state_name = "Mahren" }
			set_province_name = { id = 6418 name = "Pilsen" }	
			set_province_name = { id = 11542 name = "Prag" }
			set_province_name = { id = 3569 name = "Brunn" }	
			set_province_name = { id = 6562 name = "Olmutz" }	
			set_country_flag = ct_GER_CZE_annexed
		}
	}

	focus = {
		id = GER_integrate_switz
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = GER_operation_tannenbaum }
		available = {
			is_puppet = no
			has_full_control_of_state = 3
			has_full_control_of_state = 151
			OR = {
				SWI = { has_capitulated = yes }
				SWI = { is_subject_of = GER }
				NOT = {
					any_country = {
						original_tag = SWI
						exists = yes
					}
				}
				owns_state = 3
			}
		}
		cancel_if_invalid = yes
		x = 2
		y = 2
		relative_position_id = GER_reintegrate_luxemburg_and_alsace_lorraine
		cost = 10
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_integrate_switz"
			add_state_core = 3
			add_state_core = 151
			if = {
				limit = {	NOT = { owns_state = 3 }	}
				transfer_state = 3
			}
			if = {
				limit = {	NOT = { owns_state = 151 }	}
				transfer_state = 151
			}
			3 = { set_state_name = "Schweiz" }
			151 = { set_state_name = "Ost-Schweiz" }
		}
	}

	focus = {
		id = GER_integrate_lithuania
		icon = GFX_goal_generic_position_armies
		available = {
			is_puppet = no
			has_full_control_of_state = 11
			has_full_control_of_state = 189
			OR = {
				LIT = { has_capitulated = yes }
				LIT = { is_subject_of = GER }
				NOT = {
					any_country = {
						original_tag = LIT
						exists = yes
					}
				}
				owns_state = 11
			}
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_improve_national_spirit
		cost = 8
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_integrate_lithuania"
			add_state_core = 11
			add_state_core = 188
			add_state_core = 189
			add_state_core = 814
			add_state_core = 815			
			if = {
				limit = {	NOT = { owns_state = 11 }	}
				transfer_state = 11
			}
			if = {
				limit = {	NOT = { owns_state = 188 }	}
				transfer_state = 188
			}
			if = {
				limit = {	NOT = { owns_state = 814 }	}
				transfer_state = 814
			}
			if = {
				limit = {	NOT = { owns_state = 815 }	}
				transfer_state = 815
			}
			11 = { set_state_name = "Kauen" }
			189 = { set_state_name = "Schaulen" }
			set_province_name = { id = 6296 name = "Kauen" }
			set_province_name = { id = 9483 name = "Schaulen" }
			set_country_flag = ct_GER_LIT_annexed
		}
	}

	focus = {
		id = GER_integrate_belgium
		icon = GFX_goal_generic_position_armies
		#prerequisite = { focus = GER_around_maginot }
		available = {
			is_puppet = no
			has_full_control_of_state = 6
			has_full_control_of_state = 34
			OR = {
				BEL = { has_capitulated = yes }
				BEL = { is_subject_of = GER }
				NOT = {
					any_country = {
						original_tag = BEL
						exists = yes
					}
				}
				owns_state = 34
			}
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_around_maginot
		cost = 10
		ai_will_do = {
			factor = 10
		}
		bypass = {
			6 = {	is_core_of = ROOT	}
			34 = {	is_core_of = ROOT	}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_integrate_belgium"
			add_state_core = 6
			add_state_core = 34
			if = {
				limit = {	NOT = { owns_state = 6 }	}
				transfer_state = 6
			}
			if = {
				limit = {	NOT = { owns_state = 34 }	}
				transfer_state = 34
			}
			6 = { set_state_name = "Flandern" }
			34 = { set_state_name = "Wallonien" }
			set_province_name = { id = 11519 name = "Luttich" }
			set_province_name = { id = 13068 name = "Lowen" }			
			set_country_flag = ct_GER_BEL_annexed
		}
	}
	focus = {
		id = GER_integrate_holland
		icon = GFX_goal_generic_propaganda
		#prerequisite = { focus = GER_around_maginot }
		available = {
			is_puppet = no
			has_full_control_of_state = 7			
			has_full_control_of_state = 36
			has_full_control_of_state = 35
			OR = {
				HOL = { has_capitulated = yes }
				HOL = { is_subject_of = GER }
				NOT = {
					any_country = {
						original_tag = HOL
						exists = yes
					}
				}
				owns_state = 7
			}
		}
		cancel_if_invalid = yes
		x = -1
		y = 2
		relative_position_id = GER_around_maginot
		cost = 10
		ai_will_do = {
			factor = 10
		}
		bypass = {
			7 = {	is_core_of = ROOT	}
			35 = {	is_core_of = ROOT	}
			36 = {	is_core_of = ROOT	}			
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_integrate_holland"
			set_country_flag = ct_GER_HOL_annexed
			add_state_core = 7
			add_state_core = 35
			add_state_core = 36
			if = {
				limit = {NOT = { owns_state = 7 }	}
				transfer_state = 7
			}
			if = {
				limit = {NOT = { owns_state = 35 }	}
				transfer_state = 35
			}
			if = {
				limit = {NOT = { owns_state = 36 }	}
				transfer_state = 36
			}
			35 = { set_state_name = "Nordbrabant" }
			set_province_name = { id = 9363 name = "Arnheim" }
		}
	}
	focus = {
		id = GER_integrate_denmark
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = GER_weserubung }
		available = {
			is_puppet = no
			has_full_control_of_state = 37
			has_full_control_of_state = 99
			OR = {
				DEN = { has_capitulated = yes }
				DEN = { is_subject_of = GER }
				NOT = {
					any_country = {
						original_tag = DEN
						exists = yes
					}
				}
				owns_state = 37
			}
		}
		cancel_if_invalid = yes
		x = 1
		y = 1
		relative_position_id = GER_weserubung
		cost = 10
		ai_will_do = {	factor = 8}
		bypass = {
			99 = {	is_core_of = ROOT	}
			37 = {	is_core_of = ROOT	}		
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_integrate_denmark"
			add_state_core = 37
			add_state_core = 99
			if = {
				limit = {	NOT = { owns_state = 37 }	}
				transfer_state = 37
			}
			if = {
				limit = {	NOT = { owns_state = 99 }	}
				transfer_state = 99
			}
			37 = { set_state_name = "Seeland" }
			set_country_flag = ct_GER_DEN_annexed
		}
	}

	focus = {
		id = GER_integrate_northern_france
		icon = GFX_focus_chi_reach_out_to_france
		#prerequisite = { focus = GER_reintegrate_luxemburg_and_alsace_lorraine }
		available = {
			is_puppet = no
			has_full_control_of_state = 17
			has_full_control_of_state = 18
			has_full_control_of_state = 29
			OR = {
				FRA = { has_capitulated = yes }
				FRA = { is_subject_of = GER }
				NOT = {
					any_country = {
						original_tag = FRA
						exists = yes
					}
				}
				owns_state = 17
			}
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_reintegrate_luxemburg_and_alsace_lorraine
		cost = 14.3
		ai_will_do = {
			factor = 20
		}
		bypass = {
			17 = {	is_core_of = ROOT	}
			18 = {	is_core_of = ROOT	}
			29 = {	is_core_of = ROOT	}			
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_integrate_northern_france"
			add_state_core = 17
			add_state_core = 18
			add_state_core = 29
			if = {
				limit = {	NOT = { owns_state = 17 }	}
				transfer_state = 17
			}
			if = {
				limit = {	NOT = { owns_state = 18 }	}
				transfer_state = 18
			}
			if = {
				limit = {	NOT = { owns_state = 29 }	}
				transfer_state = 29
			}
			set_country_flag = ct_GER_FRA_annexed
			17 = { set_state_name = "Freigrafschaft Burgund" }
		}
	}
	focus = { 
		id = GER_pool_technical_know_how
		icon = GFX_goal_generic_production
		prerequisite = { focus = GER_shared_rd_programs }
		available = {
			is_puppet = no
		}
		x = 0
		y = 2
		relative_position_id = GER_shared_rd_programs
		cost = 10
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GER_pool_technical_know_how"
			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
				}
			}
		}
	}
	




}