German_historical = {
	name = "German historical plan"
	desc = "Essentially historical behaviour for Germany"

	enable = {
		original_tag = GER
		or = {
			AND = {
				is_historical_focus_on = yes
				OR = {
					not = { has_dlc = "Waking the Tiger" }
					has_game_rule = {
						rule = GER_ai_behavior
						option = DEFAULT
					}
				}	
			}
			has_country_flag = GER_AI_RANDOM_FASCIST
			has_game_rule = {
				rule = GER_ai_behavior
				option = FASCIST
			}
		}
	}
	abort = {
		OR = {
			#any_country = {
			#	OR = {
			#		has_completed_focus = HUN_invite_the_habsburg_prince
			#		has_completed_focus = FRA_revise_versailles
			#		has_completed_focus = USA_war_plan_red
			#		has_completed_focus = USA_war_plan_white
			#	}
			#}
			SWE = {
				has_government = communism #prio 1, crush Sweden
			}
			SOV = {
				NOT = {
					has_government = communism
				}
			}
			ENG = {
				NOT = {
					has_government = democratic
				}
			}
		}
	}

	ai_national_focuses = {
		# grab as fast as you can if available
		GER_demand_chancelo2
		GER_enabling_act
		GER_nsdap
		GER_around_maginot
		GER_Versailles
		GER_send_SS_agents_to_ethnic_Germans
		GER_assassinate_dolfuss
		GER_anschluss
		GER_third_reich
		GER_weimar 
		GER_clandestine_rearmament
		GER_auto_union
		GER_University_Hamburg
		#1931
		GER_porsche
		GER_clandestine_rearmament2
		GER_S_E_W
		GER_PTE
		GER_gleichschaltung
		GER_unser_deutchbahn
		GER_saarland
		#1932
		GER_rhineland
		GER_four_year_plan
		GER_autarky
		GER_hermann_goring_werke
		GER_kdf_wagen
		#1933
		GER_ss
		GER_reichstag_fire
		GER_long_knives
		GER_invoke_48
		GER_planned_mobilizaton2
		GER_hitler_oratory
		#1934
		GER_blame_jews
		GER_er_ev_ef
		GER_court_dnvp_support
		GER_court_zentrum_support
		GER_sa
		GER_political_destabilization
		#1935
		GER_axis
		GER_mefo
		GER_german_war_economy
		GER_systematic_propaganda
		#1936
		GER_massive_misinformation
		GER_war_support
		GER_coal_liquidization
		GER_synthetic_rubber
		GER_currency_deflation
		#1937
		GER_clandestine_rearm2
		GER_autobahn
		GER_army_modernization
		GER_experimental_combat_support_project
		GER_messerschmitt_contract
		GER_hitler_youth
		#1938
		GER_establish_luftwaffe
		GER_west_wall
		GER_anti_comitern_pact
		GER_army_innovation
		GER_soviet_treaty
		#1939
		GER_operation_himmler
		GER_army_innovation_2
		GER_demand_sudetenland
		GER_first_vienna_award
		GER_enigma
		GER_demand_memel
		#1940
		GER_end_of_czechoslovakia
		GER_mol_rib_pact
		GER_danzig_or_war
		GER_weserubung
		GER_extra_tech_slot
		#1940
		GER_rocketry_focus
		GER_war_with_france
		GER_second_vienna_award
		#1941
		GER_italy_ally
		GER_japan_friend
		GER_naval_air_effort
		GER_air_innovation
		#1942
		GER_tactical_air_effort
		GER_ussr_war_goal
		GER_fall_blau
		GER_air_innovation_2
		GER_total_war
		#GER_citadel
		GER_v1
		GER_rampe_v1
		GER_ar
		GER_ar_ger
		GER_naval_rearmament
		GER_naval_effort
		GER_atlantikwall
		GER_wunderwaffe
		GER_integrate_western_poland
	}

	research = {
		infantry_weapons = 50.0
		infantry_tech = 15.0
		artillery = 8.0
		support_tech = 6.5
	}

	ideas = {
		GER_paul_von_hindenburg = 100
		hjalmar_schacht = 25
		GER_goering = 10
		martin_bormann = 20
		walther_funk = 3
	}

	traits = {
		captain_of_industry = 5
	}

	# Keep small, as it is used as a factor for some things (such as research needs)
	# Recommended around 1.0. Useful for relation between plans
	weight = {
		factor = 1.0
		modifier = {
			factor = 1.0
		}
	}

	ai_strategy = {
		type = template_prio
		id = medium_armor
		value = 111
	}

	focus_factors = {
		GER_rhineland = 1.0
	}

}
GER_minor_allies = { #used to make minor European nations like Axis more
	name = "Minor German Allies"

	enable = {
		OR = {
			has_government = fascism
			fascism > 0.5
		}
		is_in_faction = no
		GER = {
			has_government = fascism
		}
		OR = {
			original_tag = ROM
			original_tag = HUN
			original_tag = BUL
			original_tag = YUG
			original_tag = ITA
			original_tag = CZE
			original_tag = DEN
			original_tag = NOR
			original_tag = SWE
			original_tag = FIN
			original_tag = SPR
			original_tag = POR
			original_tag = HOL
			original_tag = BEL
			original_tag = LUX
			original_tag = POL
			original_tag = LAT
			original_tag = LIT
			original_tag = EST
			original_tag = CRO
			original_tag = SLO
		}
	}
	abort = {
		GER = {
			NOT = {
				has_government = fascism
			}
		}
	}

	ai_strategy = {
		type = alliance
		id = "JAP"
		value = -500
	}
}
