focus_tree = {
	id = GER_hitler_return
	country = {
		factor = 0
		modifier = {
			add = 100
			original_tag = GER
			has_country_leader = {
				character = HALLOWEEN_Mecha_Hitler_char
				ruling_only = yes
			}
		}
	}
	focus = {
		id = GER_return_the_german_nation
		icon = GFX_focus_GER_return_the_german_nation
		cost = 1
		x = 11
		y = 0
		available_if_capitulated = yes
		ai_will_do = {
			factor = 1
		}
		available = {
		}
		completion_reward = {
			
			hidden_effect = {
				set_technology = {
					nukes = 1
				}
			}
			
			add_stability = -0.5
			add_war_support = -0.25
			custom_effect_tooltip = change_welfare_law_tooltip
			show_ideas_tooltip = GER_two_class_society_welfare
			custom_effect_tooltip = change_training_law_tooltip
			show_ideas_tooltip = PRC_biologically_enhanced_warriors
			hidden_effect = {
				add_ideas = GER_two_class_society_welfare
				set_country_flag = PRC_biologically_enhanced_warriors_flag
				add_ideas = PRC_biologically_enhanced_warriors
			}

			hidden_effect = {
				#if = {
				#	limit = {
				#		NOT = {
				#			has_completed_focus = GER_reenter_bavaria
				#		}
				#	}
				#	#nothing
				#}
				#else = {
				#	declare_war_on = {
				#		target = BAY
				#		type = annex_everything
				#	}
				#}
				declare_war_on = {
					target = BAY
					type = annex_everything
				}
			}
			
			# TODO: Lock these two laws in
			add_ideas = {
				total_mobilization
				lower_trade
			}

			hidden_effect = {
				39 = { add_claim_by = GER } # Tyrol
				151 = { add_claim_by = GER } # German Switzerland
				1450 = { add_claim_by = GER } # Liechenstein
				188 = { add_claim_by = GER } # Memel
				741 = { add_claim_by = GER } # Königsberg
				118 = { add_claim_by = GER } # Bering Strait
			}

			#Greta Reich
			create_faction = Nazi_axis
		}
	}
	focus = {
		id = GER_support_of_rommel
		icon = GFX_focus_GER_support_my_rommel
		cost = 6
		prerequisite = {
			focus = GER_return_the_german_nation
		}
		x = 5
		y = 1
		available_if_capitulated = yes
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			
			army_experience = 25
			swap_ideas = {
				remove_idea = GER_military_reformation_dummy_idea
				add_idea = GER_army_reformation_idea3
			}
		}
	}
	focus = {
		id = Hitler_3
		icon = GFX_focus_GER_der_krieg
		cost = 6
		available_if_capitulated = yes
		ai_will_do = {
			factor = 1
		}
		prerequisite = {
			focus = GER_support_of_rommel
		}
		x = 3
		y = 2
		completion_reward = {
			
			every_state = {
				limit = {
					controls_or_subject_of = yes
					state_population_k > 10
				}
				add_manpower = -10000
				
				add_state_modifier = {
					modifier = {
						local_factory_sabotage = -0.75
						local_org_regain = 0.25
						local_resources = 0.15
					}
				}
			}
			
			every_unit_leader = {
				add_planning = 5
				
				add_unit_leader_trait = organizer
				add_unit_leader_trait = engineer_officer
				
				add_temporary_buff_to_units = {
					combat_offense = 0.25
					combat_breakthrough = 0.15
					str_damage_multiplier = -0.5
					days = 240
				}
			}
		}
	}
	focus = {
		id = Hitler_4
		icon = GFX_focus_GER_national_service
		cost = 6
		prerequisite = {
			focus = Hitler_3
		}
		x = 4
		y = 3
		available_if_capitulated = yes
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			army_experience = 15
			swap_ideas = {
				remove_idea = GER_military_reformation_dummy_idea
				add_idea = GER_army_reformation_idea
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"Infanteriebrigade\" division_template = \"Infanteriebrigade\" start_experience_factor = 0.1"
					owner = GER
					count = 3
				}
				create_unit = {
					division = "name = \"Infanteriebrigade\" division_template = \"Infanteriebrigade\" start_experience_factor = 0.1"
					owner = GER
					count = 3
				}
				create_unit = {
					division = "name = \"Infanteriebrigade\" division_template = \"Infanteriebrigade\" start_experience_factor = 0.1"
					owner = GER
					count = 3
				}
				create_unit = {
					division = "name = \"Panzerbrigade\" division_template = \"Panzerbrigade\" start_experience_factor = 0.1"
					owner = GER
					count = 3
				}
				create_unit = {
					division = "name = \"Panzerbrigade\" division_template = \"Panzerbrigade\" start_experience_factor = 0.1"
					owner = GER
					count = 3
				}
				create_unit = {
					division = "name = \"Panzerbrigade\" division_template = \"Panzerbrigade\" start_experience_factor = 0.1"
					owner = GER
					count = 3
				}
				create_unit = {
					division = "name = \"Panzerbrigade\" division_template = \"Panzerbrigade\" start_experience_factor = 0.1"
					owner = GER
					count = 3
				}
				create_unit = {
					division = "name = \"Panzerbrigade\" division_template = \"Panzerbrigade\" start_experience_factor = 0.1"
					owner = GER
					count = 3
				}
				create_unit = {
					division = "name = \"Panzerbrigade\" division_template = \"Panzerbrigade\" start_experience_factor = 0.1"
					owner = GER
					count = 3
				}
				create_unit = {
					division = "name = \"Panzerbrigade\" division_template = \"Panzerbrigade\" start_experience_factor = 0.1"
					owner = GER
					count = 3
				}
			}
		}
	}
	focus = {
		id = Hitler_5
		icon = GFX_focus_GER_restructure_air_doctrine
		cost = 6
		prerequisite = {
			focus = GER_support_of_rommel
		}
		x = 5
		y = 2
		available_if_capitulated = yes
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			air_experience = 35
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				add_timed_idea = {
					idea = GER_mass_fighter_production_bba
					days = 200
				}
			}
			else_if = {
				limit = {
					NOT = {
						has_dlc = "By Blood Alone"
					}
				}
				add_timed_idea = {
					idea = GER_mass_fighter_production_non_bba
					days = 200
				}
			}
			swap_ideas = {
				remove_idea = GER_military_reformation_dummy_idea
				add_idea = GER_airforce_reformation_idea3
			}
		}
	}
	focus = {
		id = Hitler_6
		icon = GFX_focus_GER_soldiers_of_the_future
		cost = 6
		prerequisite = {
			focus = GER_support_of_rommel
		}
		x = 7
		y = 2
		available_if_capitulated = yes
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_ideas = GER_army_of_the_future2
			effect_tooltip = {
				swap_ideas = {
					remove_idea = GER_military_reformation_dummy_idea
					add_idea = GER_army_reformation_idea
				}
			}
			hidden_effect = {
				add_to_variable = {
					var = GER_army_org_dynamic_var
					value = 10
				}
				add_to_variable = {
					var = GER_army_defence_factor_dynamic_var
					value = 0.1
				}
				add_to_variable = {
					var = GER_breakthrough_factor_dynamic_var
					value = 0.1
				}
			}
		}
	}
	focus = {
		id = Hitler_7
		icon = GFX_focus_GER_Armor_Innovations
		cost = 6
		prerequisite = {
			focus = Hitler_6
		}
		x = 6
		y = 3
		available_if_capitulated = yes
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_ideas = SOV_jsc_bills
			add_offsite_building = {
				type = arms_factory
				level = 20
			}
		}
	}
	focus = {
		id = Hitler_8
		icon = GFX_focus_GER_aggressive_rearmament
		cost = 6
		prerequisite = {
			focus = Hitler_4
		}
		prerequisite = {
			focus = Hitler_7
		}
		prerequisite = {
			focus = Hitler_5
		}
		x = 5
		y = 4
		available_if_capitulated = yes
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_ideas = SOV_jsc_bills
			add_offsite_building = {
				type = arms_factory
				level = 20
			}
		}
	}
	focus = {
		id = GER_get_rid_of_other_races
		icon = GFX_focus_GER_get_rid_of_other_races
		cost = 6
		prerequisite = {
			focus = GER_return_the_german_nation
		}
		x = 11
		y = 1
		available_if_capitulated = yes
		ai_will_do = {
			factor = 1
		}
		available = {
		}
		completion_reward = {
			add_manpower = -100000
			add_political_power = 100
			add_stability = 0.15
			set_temp_variable = {
				var = campaign_slot_total_var_temp
				value = 1
			}
			add_total_campaign_slot = yes
			hidden_effect = {
			}
			set_temp_variable = {
				var = campaign_slot_total_var_temp
				value = 1
			}
			add_total_campaign_slot = yes
		}
	}
	focus = {
		id = Hitler_10
		icon = GFX_focus_GER_himmler_the_best
		cost = 6
		prerequisite = {
			focus = GER_get_rid_of_other_races
		}
		x = 9
		y = 2
		ai_will_do = {
			factor = 1
		}
		allow_branch = {
		}
		completion_reward = {
			add_political_power = 100
		}
	}
	focus = {
		id = Hitler_13
		icon = GFX_focus_GER_our_new_struggle
		cost = 6
		prerequisite = {
			focus = Hitler_10
		}
		x = 9
		y = 3
		ai_will_do = {
			factor = 1
		}
		allow_branch = {
		}
		completion_reward = {
			unlock_decision_tooltip = Reich_revive_the_ss
			add_popularity = {
				ideology = national_socialist
				popularity = 0.1
			}
			set_temp_variable = {
				var = military_development_var_temp
				value = -0.35
			}
			add_military_development = yes
			add_manpower = -2000
		}
	}
	focus = {
		id = GER_the_return_of_the_great_party
		icon = GFX_focus_GER_modernize_national_socialism
		cost = 6
		prerequisite = {
			focus = GER_get_rid_of_other_races
		}
		x = 11
		y = 3
		available_if_capitulated = yes
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_ideas = GER_hitlerism_of_21_century_idea
			add_stability = -0.2
			set_temp_variable = {
				var = society_development_var_temp
				value = -0.5
			}
			add_society_development = yes
			unlock_decision_tooltip = Reich_glorify_hitler_reign
			unlock_decision_tooltip = Reich_total_subjugation_of_state
			unlock_decision_tooltip = Reich_volkisch_act
		}
	}
	focus = {
		id = Hitler_11
		icon = GFX_focus_GER_goebbels_the_best
		cost = 6
		prerequisite = {
			focus = GER_get_rid_of_other_races
		}
		x = 13
		y = 2
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_political_power = 100
		}
	}
	focus = {
		id = Hitler_12
		icon = GFX_focus_GER_mastery_of_propaganda
		cost = 6
		prerequisite = {
			focus = Hitler_11
		}
		x = 13
		y = 3
		available_if_capitulated = yes
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			swap_ideas = {
				remove_idea = GER_german_historic_revisionism_idea
				add_idea = GER_german_historic_revisionism_2_idea
			}
			add_stability = -0.15
			set_temp_variable = {
				var = academic_development_var_temp
				value = -0.5
			}
			add_academic_development = yes
			unlock_decision_category_tooltip = Reich_ministry_of_propaganda_category
			unlock_decision_tooltip = Reich_our_righteous_ambitions
			unlock_decision_tooltip = Reich_destroy_their_conspiracy
			unlock_decision_tooltip = Reich_towards_ideal_man
			unlock_decision_tooltip = Reich_the_great_inheritor
		}
	}
	focus = {
		id = GER_total_endsiege
		icon = GFX_focus_GER_total_endsiege
		cost = 6
		prerequisite = {
			focus = Hitler_13
		}
		prerequisite = {
			focus = GER_the_return_of_the_great_party
		}
		prerequisite = {
			focus = Hitler_12
		}
		x = 11
		y = 4
		available_if_capitulated = yes
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 99999999
			}
		}
		available = {
		}
		completion_reward = {
			
			custom_effect_tooltip = GER_rache_tt
			news_event = {
				id = news.291
			}
			hidden_effect = {
				ENG = {
					create_faction = AHC
					add_to_faction = BEL
					add_to_faction = BRS
					add_to_faction = CZE
					add_to_faction = DEN
					add_to_faction = FRA
					add_to_faction = ICE
					add_to_faction = ITA
					add_to_faction = LUX
					add_to_faction = HOL
					add_to_faction = NOR
					add_to_faction = POR
					add_to_faction = SPR
					add_to_faction = ENG
					add_to_faction = SLV
					add_to_faction = CRO
					add_to_faction = SWI
					add_to_faction = IRE
					add_to_faction = SWE
					add_to_faction = FIN
					add_to_faction = PLD
				}
				for_each_scope_loop = {
					array = ENG.faction_members
					GER = {
						declare_war_on = {
							target = PREV
							type = annex_everything
						}
					}
				}
			}
			custom_effect_tooltip = unrestricted_diplomacy_tt
			set_country_flag = unrestricted_diplomacy_flag
			set_global_flag = second_nato_war_flag
			hidden_effect = {
				country_event = {
					id = germany.215
					days = 30
				}
				country_event = {
					id = germany.286
					days = 45
				}
				CUB = {
					activate_mission = second_nato_war_mission
				}
				SOV = {
					country_event = {
						id = russia.231
						days = 3
					}
				}
				if = {
					#AI Help
					limit = {
						GER = {
							is_ai = no
						}
						SOV = {
							is_ai = yes
						}
					}
					SOV = {
						add_ideas = SOV_medvedev_can_win
						# load_oob = "SOV_ai_help"
						# if = {
						# 	limit = {
						# 		NOT = {
						# 			has_dlc = "By Blood Alone"
						# 		}
						# 	}
						# 	add_equipment_to_stockpile = {
						# 		type = fighter_equipment_3
						# 		amount = 2000
						# 		producer = SOV
						# 	}
						# 	add_equipment_to_stockpile = {
						# 		type = CAS_equipment_2
						# 		amount = 1000
						# 		producer = SOV
						# 	}
						# }
						# else_if = {
						# 	limit = {
						# 		has_dlc = "By Blood Alone"
						# 	}
						# 	load_oob = "SOV_air_help_bba"
						# }
					}
				}
			}
		}
	}
	focus = {
		id = Hitler_16
		icon = GFX_focus_GER_revive_the_economy
		cost = 6
		prerequisite = {
			focus = GER_return_the_german_nation
		}
		x = 17
		y = 1
		available_if_capitulated = yes
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			GER_increase_catastrophe = yes
			modify_timed_idea = {
				idea = GER_mass_arms_procurement
				days = 1945
			}
			add_ideas = permanent_mobilization
		}
	}
	focus = {
		id = Hitler_17
		icon = GFX_focus_GER_desperate_measures
		cost = 6
		prerequisite = {
			focus = Hitler_16
		}
		x = 15
		y = 2
		available_if_capitulated = yes
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			custom_effect_tooltip = GER_economic_huina_tt
		}
	}
	focus = {
		id = Hitler_18
		icon = GFX_focus_GER_suspend_consumer_economy
		cost = 6
		prerequisite = {
			focus = Hitler_17
		}
		x = 15
		y = 3
		available_if_capitulated = yes
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			modify_timed_idea = {
				idea = GER_economic_revival
				days = 365
			}
			multiply_temp_variable = {
				var = inflation_var_temp
				value = -0.99
			}
			add_inflation = yes
			set_temp_variable = {
				var = debt_var_temp
				value = -9999
			}
			add_debt = yes
		}
	}
	focus = {
		id = Hitler_20
		icon = GFX_focus_GER_defend_the_industry
		cost = 6
		prerequisite = {
			focus = Hitler_16
		}
		x = 17
		y = 2
		available_if_capitulated = yes
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_political_power = 50
			add_stability = -0.05
			add_tech_bonus = {
				name = SOV_fund_military_advancement
				bonus = 0.5
				uses = 2
				category = infantry_tech
			}
			army_experience = 25
			set_temp_variable = {
				var = military_development_var_temp
				value = 0.02
			}
			add_military_development = yes
		}
	}
	focus = {
		id = Hitler_19
		icon = GFX_focus_GER_Increase_Oil_Reserves
		cost = 6
		prerequisite = {
			focus = Hitler_18
		}
		prerequisite = {
			focus = Hitler_20
		}
		x = 16
		y = 4
		available_if_capitulated = yes
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_political_power = 100
			add_stability = 0.1
			random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 5
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 5
					instant_build = yes
				}
			}
			add_resource = {
				type = oil
				amount = 250
				state = 64
			}
			set_temp_variable = {
				var = debt_var_temp
				value = 75
			}
			add_debt_with_inflation = yes
		}
	}
	focus = {
		id = Hitler_21
		icon = GFX_focus_GER_economy_fueld_by_war
		cost = 6
		prerequisite = {
			focus = Hitler_16
		}
		x = 19
		y = 2
		available_if_capitulated = yes
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_ideas = GER_zero_inflation_policy
			set_temp_variable = {
				var = inflation_var_temp
				value = inflation_var
			}
			add_inflation = no
		}
	}
	focus = {
		id = Hitler_22
		icon = GFX_focus_GER_workers_state
		cost = 6
		prerequisite = {
			focus = Hitler_20
		}
		prerequisite = {
			focus = Hitler_21
		}
		x = 18
		y = 4
		available_if_capitulated = yes
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			remove_ideas = GER_zero_inflation_policy
		}
	}
	focus = {
		id = GER_the_new_order_for_world
		icon = GFX_focus_GER_the_new_germania
		cost = 6
		prerequisite = {
			focus = GER_total_endsiege
		}
		x = 11
		y = 5
		available_if_capitulated = yes
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			unlock_decision_tooltip = GER_formable_the_greater_reich
			hidden_effect = {
			#	set_country_flag = GER_the_new_order_se_flag
			#	scoped_sound_effect = TOTAL_se_the_new_order
			#	scoped_play_song = "one_minute_of_silence"
				if = {
					limit = { is_ai = no }
					set_country_flag = TFX_HALLOWEEN_endsieg_se_flag
					scoped_sound_effect = TFX_se_HALLOWEEN_endsieg
					scoped_play_song = "one_minute_of_silence"
				}
			}
		}
	}
}
