JAP_historical_plan = {
	name = "Japan historical plan"
	desc = "Historical behavior for Japan"

	allowed = {
		original_tag = JAP
	}
	enable = {
		OR = {
			AND = {
				is_historical_focus_on = yes
				OR = {
					not = { has_dlc = "Waking the Tiger" }
					has_game_rule = {
						rule = JAP_ai_behavior
						option = DEFAULT
					}
				}
				MAN = {
					is_ai = yes
				}
			}
			has_game_rule = {
				rule = JAP_ai_behavior
				option = FASCIST
			}
			has_country_flag = JAP_AI_RANDOM_FASCIST
		}
	}
	abort = {
		#MAN = {
		#	has_completed_focus = MAN_assertiveness
		#}
	}

	ai_national_focuses = {

		###########################
		# EAI
		###########################

		# JAP_ministry_of_commerce_and_industry
		# JAP_continue_takahashi_korekiyos_policies
		# JAP_promulgate_the_military_ministers_system
		# JAP_the_imperial_defense_plan
		# JAP_expand_kawagoe_army_arsenal
		# JAP_establish_showa_aircraft_idnsutry
		# JAP_ministry_of_colonial_affairs
		
				# JAP_approach_yasuda

		######  Land

		# JAP_expand_kawagoe_army_arsenal
		# JAP_rely_on_supremacy_of_the_will
		# JAP_adopt_new_assault_doctrine
		# JAP_develop_lethal_infantry_equipment
		# JAP_develop_sophisticated_artillery_equipment
		# JAP_expand_the_irago_proving_ground

		# # Org
		# JAP_enact_the_national_conscription_law
		# JAP_instill_the_spirit_of_bushido

		# # Defense
		# JAP_army_weapons_administration_headquarters
		# JAP_pivot_towards_defensive_measures

		# ###### Air

		# JAP_develop_new_fighters # Ahead bonus for fighter tech
		# JAP_modern_bombers # Res bonus for bomber tech
		# JAP_7075_aluminium_alloy # Agility

		# # Range
		# JAP_escort_efficiency
		# JAP_sea_long_operational_range

		# # To unlock combined arms
		# JAP_adopt_new_air_doctrine
		# JAP_sea_unify_the_air_forces
		# JAP_improved_radio_communications

		# ###### Sea

		# JAP_expand_navy_technical_department
		# JAP_sea_battleship_initiative
		# JAP_sea_bigger_better_yamato # Add shbb productions
		# JAP_akizuki_class_destroyers # Add dd productions

		# JAP_form_the_kido_butai
		# JAP_sea_heavier_naval_guns

		# JAP_naval_armaments_program # Add cv productions
		# JAP_seek_strength_in_numbers # Mass production for MIO
		# JAP_nationalize_suzuka_naval_arsenal # NIC
		# JAP_nationalize_fujinagata_shipyards # Repair
		# JAP_fix_flawed_naval_designs # Accidents
		# JAP_secure_the_sea_lanes # Escorts

		# # Invasion bonus
		# JAP_prepare_the_southern_front

		# ###### JAP_end_the_interservice_rivalry

		# JAP_ni_go_nuclear_project
		# JAP_f_go_nuclear_project
		# JAP_combined_nuclear_research_efforts
		# JAP_end_the_interservice_rivalry

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

		# Do ASAP
		JAP_the_koiso_cabinet # 70 
		JAP_found_the_boeitai # 35 
		JAP_advance_one_hundred_million_fireballs # 70 
		JAP_the_war_has_not_necessarily_developed_focus # 35 
		JAP_the_surrender_broadcast # 70

		# 1936
		JAP_ministry_of_commerce_and_industry # 35
		JAP_increase_armament_spending # 35
		JAP_promulgate_the_military_ministers_system # 35 - 270 days mission starts here
		JAP_hokushin_ron # 35
		JAP_the_imperial_defense_plan # 21
		JAP_expand_kawagoe_army_arsenal # 35
		JAP_establish_showa_aircraft_idnsutry # 35	
		JAP_expand_hiratsuka_navy_arsenal # 35
		JAP_revisit_the_thirteen_demands # 35
		JAP_establish_mongol_military_government # 35
		JAP_imperial_headquarters_liasion_conference # 35

		# 1937
		JAP_rely_on_supremacy_of_the_will # 35
		JAP_the_harakiri_debate # 14
		JAP_enact_the_national_conscription_law # 35
		JAP_konoes_first_cabinet # 35
		JAP_reinforce_the_beijing_garrison # 70 attack on the 16th of July, 9 days later than historical
		JAP_sea_national_spiritual_mobliization_movement # 35
		JAP_form_the_central_economic_council # 35
		JAP_expand_the_showa_research_association # 70
		JAP_ministry_of_colonial_affairs # 35

		# 1938
		JAP_new_order_in_east_asia # 35
		JAP_sea_state_general_mobilization_law # 35
		JAP_enact_religious_organizations_law # 35
		JAP_new_order_movement # 70
		JAP_strategic_offensives # 35
		JAP_sea_guide_the_zaibatsus # 35
		JAP_approach_mitsubishi #70

		# 1939
		JAP_approach_yasuda #70(35)
		JAP_fund_the_riken_institute # 70
		JAP_prepare_the_southern_front # 35
		JAP_balanced_naval_approach # 70(35)
		JAP_form_the_great_japan_industrial_patriotic_association # 70

		# 1940
		
		JAP_form_cabinet_intelligence_bureau # 35
		JAP_form_the_kido_butai # 35
		JAP_naval_armaments_program #35
		JAP_reorganize_the_united_autonomous_government # 35
		JAP_invest_in_senbu # 35
		JAP_intensify_anti_guerilla_operations # 35
		JAP_imperial_rule_assistance_association # 35 12th October
		JAP_reorganized_national_government # 35
		JAP_sea_greater_east_asian_co_properity_sphere # 70 June 1940, historically later
		JAP_nanshin_ron # 35

		# 1941
		JAP_issue_the_senjinkun_military_code # 35
		JAP_develop_new_fighters # 70
		JAP_mengjiang_united_autonomous_government # 35
		JAP_sea_tripartite_pact # 35 if bypassed, potentially moves later attack dates 35 das forward
		JAP_soviet_japanese_neutrality_pact #35 April 1941
		JAP_demand_tonkinese_bases # 35 September 1941
		JAP_unsinkable_aircraft_carriers # 35
		JAP_issue_the_shinmin_no_michi_manifesto # 35
		JAP_occupy_indochina # 35
		JAP_sea_pressure_siam # 35
		JAP_strike_the_southern_road # 70

		# 1942
		JAP_expand_navy_technical_department # 70
		JAP_isolate_oceania # 70 May 1942
		JAP_sea_national_defense_state # 70
		JAP_7075_aluminium_alloy # 35
		JAP_escort_efficiency # 35
		JAP_sea_long_operational_range #70 get Longe Range Zeros for the war in the pacific

		# 1943
		JAP_formalize_the_tonarigumi # 35
		JAP_ichioku_isshin # 35
		JAP_tojos_premiership # 35
		JAP_modern_bombers # 70
		JAP_develop_the_chinese_resources # 70
		JAP_manchuria_five_year_plan # 35
		JAP_establish_manchuria_airplane_manufacturing_company # 35
		JAP_approach_sumitomo #70(35)
		JAP_instill_the_spirit_of_bushido # 70
		JAP_fix_flawed_naval_designs # 35

		# 1944
		JAP_crackdown_on_foreign_agents # 35
		JAP_build_up_korean_industries # 35
		JAP_army_weapons_administration_headquarters # 70
		JAP_adopt_new_assault_doctrine # 70
		JAP_develop_lethal_infantry_equipment # 70
		JAP_expand_the_irago_proving_ground # 70

		# 1945
		JAP_prepare_the_northern_front # 35
		JAP_utilize_ainu_expertise # 35
		JAP_kantokuen # 70
		JAP_establish_synthetic_fuel_joint_venture # 35
		JAP_strenghten_manchukuo_imperial_army # 70
		JAP_the_persimmon_has_ripened # ahistorical attack Soviets really late 

	}

	research = {

	}

	ideas = {
		#EAI: block everything except those in the pick order
		JAP_emperor_hirohito = 0
		JAP_kyuichi_tokuda = 0
		JAP_tetsu_katayama = 0
		JAP_tomoyuki_yamashita = 0
		JAP_hisaichi_terauchi = 0
		JAP_shunroku_hata = 0
		JAP_akira_muto = 0
		JAP_kanji_ishiwara = 0
		JAP_shizuichi_tanaka = 0
		# JAP_yasuji_okamura = 0
		JAP_toshizo_nishio = 0
		JAP_rikichi_ando = 0
		JAP_naruhiko_higashikuni = 0
		JAP_seishiro_itagaki = 0
		JAP_takashi_sakai = 0
		JAP_kenji_doihara = 0
		JAP_kenkichi_ueda = 0
		JAP_shigeru_honjo = 0
		JAP_yoshijiro_umezu = 0
		JAP_otozo_yamada = 0
		JAP_hatazo_adachi = 0
		JAP_iwane_matsui = 0
		JAP_sadao_araki = 0
		JAP_keisuke_fujie = 0
		JAP_kiichiro_higuchi = 0
		JAP_masaharu_homma = 0
		JAP_harukichi_hyakutake = 0
		JAP_jo_iimura = 0
		# JAP_hitoshi_imamura = 0
		JAP_masatane_kanda = 0
		JAP_kuniaki_koiso = 0
		JAP_isoroku_yamamoto = 0
		JAP_mineichi_koga = 0
		JAP_kiyoshi_hasegawa = 0
		JAP_shigeyoshi_inoue = 0
		JAP_nobutake_kondo = 0
		JAP_takeo_takagi = 0
		JAP_soemu_toyoda = 0
		JAP_jisaburo_ozawa = 0
		JAP_zengo_yoshida = 0
		JAP_hiroaki_abe = 0
		JAP_tadashige_daigo = 0
		JAP_gengo_hyakutake = 0
		JAP_minoru_genda = 0
		JAP_yoshitoshi_tokugawa = 0
		JAP_hino_kumazo = 0
		JAP_kanin_kotohito = 0
		# JAP_hajime_sugiyama = 0
		JAP_hideki_tojo = 0
		JAP_fushimi_hiroyasu = 0
		JAP_osami_nagano = 0
		# JAP_shigetaro_shimada = 0
		JAP_torashiro_kawabe = 0
		# JAP_korechika_anami = 0
		# JAP_mitsuo_fuchida = 0
		JAP_nishizo_tsukahara = 0
		JAP_tateo_kato = 0
		JAP_matome_ugaki = 0
		JAP_chuichi_nagumo = 0
		JAP_sanzo_nosaka = 0
		JAP_kijuro_shidehara = 0
		JAP_kingoro_hashimoto = 0
		# JAP_mitsumasa_yonai = 0
		JAP_hiroshi_oshima = 0
		JAP_chiune_sugihara = 0
		# JAP_takuo_godo = 0
		JAP_yoshio_nishina = 0
		JAP_hideo_itokawa = 0
		JAP_kijiro_nambu = 0
		JAP_keiji_fukuda = 0
		JAP_jiro_horikoshi = 0
		JAP_hideki_yukawa = 0
		JAP_yoji_ito = 0

		#Spirits of the Army, Airforce and Navy 
		bold_attack_spirit = 5
		tenacious_defense_spirit = 0
		meticulous_preparation_spirit = 0
		best_of_the_best_spirit = 0
		academy_scholarships_spirit = 0
		political_loyalty_spirit = 0.1
		inventive_leadership_spirit = 1
		
		professional_officer_corps_spirit = 1
		elevated_engineering_corps_spirit = 0
		proper_heritage_spirit = 0
		quick_improvisation_spirit = 0
		state_serves_the_military_spirit = 1

		static_warfare_spirit = 0
		flexible_organization_spirit = 1
		aggressive_reconnaisance_spirit = 0
		reserve_officers_spirit = 0
		victory_or_death_spirit = 1

	}

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

}