### search_filters = {FOCUS_FILTER_POLITICAL}
### search_filters = {FOCUS_FILTER_RESEARCH}
### search_filters = {FOCUS_FILTER_INDUSTRY}
### search_filters = {FOCUS_FILTER_STABILITY}
### search_filters = {FOCUS_FILTER_WAR_SUPPORT}
### search_filters = {FOCUS_FILTER_MANPOWER}
### search_filters = {FOCUS_FILTER_ANNEXATION}
### search_filters = {FOCUS_FILTER_INTERNAL_AFFAIRS}
### search_filters = {FOCUS_FILTER_ARMY_XP}
### search_filters = {FOCUS_FILTER_NAVY_XP}
### search_filters = {FOCUS_FILTER_AIR_XP}
### search_filters = {FOCUS_FILTER_BALANCE_OF_POWER}
### search_filters = {FOCUS_FILTER_POLITICAL_CHARACTER}
### search_filters = {FOCUS_FILTER_MILITARY_CHARACTER}
### search_filters = {FOCUS_FILTER_INTERNATIONAL_TRADE}
### search_filters = {FOCUS_FILTER_HISTORICAL}


focus_tree = {

	id = japan_wtt_focus
	
	country = {
		factor = 0
		modifier = {
			add = 20
			tag = JAP
		}
	}


	#Focus Path shortcuts	
	shortcut = {
		name = JAP_military_doctrine_shortcut
		target = JAP_the_imperial_defense_plan
		scroll_wheel_factor = 0.65
	}

	shortcut = {
		name = GER_economic_path_shortcut
		target = JAP_ministry_of_commerce_and_industry 
		scroll_wheel_factor = 0.9
	}

	shortcut = {
		name = GER_historical_path_shortcut
		target = JAP_sea_purge_the_kodoha_faction
		scroll_wheel_factor = 0.6 #Optional parameter, if left unset will use existing zoomlevel. arning: #there's no good way for this to respect client resolution.
		trigger = {
			always = yes
			# If FALSE, this will not display. If true, it will not supercede allow conditions of target ocus.
		}
	}

	shortcut = { 
		name = JAP_revere_the_emperor_shortcut
		target = JAP_revere_the_emperor_destroy_the_traitors 
		scroll_wheel_factor = 0.6
		trigger = {
			has_dlc = "No Compromise, No Surrender"
		}
	}

	inlay_window = {
		id = jap_imperial_influence_inlay_window
		
		position = { X = 1250 y = 1250 }


	}

	default = no

	continuous_focus_position = { x = 20 y = 1200 }


	################################
	##### HISTORICAL FOCUSES #######
	################################

	focus = {
		id = JAP_sea_purge_the_kodoha_faction
		icon = GFX_focus_JAP_purge_the_kodoha_faction

		x = 25
		y = 0
		
		relative_position_id = JAP_okadas_military_purge_speech

		cost = 0

		ai_will_do = {
			factor = 4
		}

		available = {
			has_country_flag = JAP_aizawas_trial_over_flag
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_COMPLETED_BY_EVENT FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_IMPERIAL_INFLUENCE FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {

			add_popularity = {
				ideology = neutrality
				popularity = 0.1
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			add_stability = 0.1
			add_political_power = 50

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_small_army_faction_gain = yes

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_sea_purge_the_kodoha_faction_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			activate_mission = JAP_kwantung_army_impatience
				
			hidden_effect = {
				IF = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}

				set_global_flag = { 
					flag = JAP_marco_polo_remaining_days
					days = 725
				}

				#CHI = {
				#	activate_mission = CHI_kwantung_army_impatience_dummy
				#}
			}

		}

	}

	focus = {
		id = JAP_promulgate_the_military_ministers_system
		icon = GFX_focus_AUS_lawmaking_leniency

		x = 0
		y = 1
		relative_position_id = JAP_sea_purge_the_kodoha_faction

		prerequisite = { focus = JAP_sea_purge_the_kodoha_faction }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = neutrality
		}

		bypass = {
			has_government = fascism
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {
				
			add_stability = 0.15

			custom_effect_tooltip = generic_skip_one_line_tt

			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}	
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			add_country_leader_role = {
				character = JAP_koki_hirota
				promote_leader = yes
				country_leader = {
					ideology = japan_militarism_ideology
					expire = "1952.1.1.1"
					traits = { JAP_anti_communist_pm } 
				}
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_small_government_faction_loss = yes

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_promulgate_the_military_ministers_system_tt

			activate_mission = JAP_conflict_between_faction_reaching_boiling_point_mission
			
		}
	}

	focus = {
		id = JAP_imperial_headquarters_liasion_conference
		icon = GFX_goal_generic_intelligence_exchange
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = -3
		y = 1
		relative_position_id = JAP_sea_purge_the_kodoha_faction

		prerequisite = { focus = JAP_sea_purge_the_kodoha_faction }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				has_government = neutrality
				has_government = fascism
			}
			JAP_naval_faction_is_not_subdued = yes
			JAP_army_faction_is_not_subdued = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_ARMY_XP FOCUS_FILTER_NAVY_XP FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			army_experience = 25
			navy_experience = 25

			custom_effect_tooltip = generic_skip_one_line_tt

			every_army_leader = {
				add_planning = 1
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_small_naval_faction_gain = yes
			
		}
	}

	focus = {
		id = JAP_the_harakiri_debate
		icon = GFX_focus_JAP_the_harakiri_debate
		mutually_exclusive = { focus = JAP_reprimand_hamada_kunimatsu }
		x = 0
		y = 1
		relative_position_id = JAP_promulgate_the_military_ministers_system

		prerequisite = { focus = JAP_promulgate_the_military_ministers_system }

		cost = 2

		ai_will_do = {
			factor = 1
		}

		available = {
			has_country_flag = JAP_harakiri_debate_has_taken_place_flag
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					has_idea = JAP_collapsing_government_idea
				}
				remove_ideas = JAP_collapsing_government_idea
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_country_leader_role = {
				character = JAP_senjuro_hayashi
				promote_leader = yes
				country_leader = {
					ideology = japan_militarism_ideology
					expire = "1952.1.1.1"
					traits = { JAP_military_prime_minister }  
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			set_party_name = {
				ideology = neutrality
				long_name = JAP_military_coalition_party_long
				name = JAP_military_coalition_party
			}	
				
			
		}
	}

	focus = {
		id = JAP_konoes_first_cabinet
		icon = GFX_focus_JAP_konoes_first_cabinet
		#mutually_exclusive = { focus = JAP_reprimand_hamada_kunimatsu }
		x = 0
		y = 1
		relative_position_id = JAP_the_harakiri_debate

		prerequisite = { focus = JAP_the_harakiri_debate }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				has_government = neutrality
				has_government = fascism
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_STABILITY }

		completion_reward = {

			add_stability = 0.15

			custom_effect_tooltip = generic_skip_one_line_tt
			
			add_country_leader_role = {
				character = JAP_fumimaro_konoe
				promote_leader = yes
				country_leader = {
					ideology = japan_militarism_ideology
					expire = "1952.1.1.1"
					traits = { JAP_noble_prime_minister } 
				}
			}

			#custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_mitsumasa_yonai
			
		}
	}

	focus = {
		id = JAP_new_order_in_east_asia
		icon = GFX_focus_JAP_new_order_in_east_asia
		#mutually_exclusive = { focus = JAP_reprimand_hamada_kunimatsu }
		x = 2
		y = 1
		relative_position_id = JAP_konoes_first_cabinet

		prerequisite = { focus = JAP_konoes_first_cabinet focus = JAP_reiterate_the_three_principles_of_hirota }

		cost = 1

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			OR = {	
				is_in_faction = no
				is_faction_leader = yes
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
		add_political_power = 250
			IF = {
				limit = {
					is_faction_leader = no
				}
				set_rule = { can_create_factions = yes }
				create_faction_from_template = faction_template_new_order_in_east_asia_faction
				custom_effect_tooltip = JAP_new_order_in_east_asia_tt
			}
			
			IF = {
				limit = {
					has_dlc = "No Compromise, No Surrender"
				}
				add_faction_initiative = 1
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			every_subject_country = {
				limit = {
					NOT = {
						has_idea = JAP_new_order_in_east_asia_idea
					}
					capital_scope = {
						is_on_continent = asia
					}
				}
				add_ideas = JAP_new_order_in_east_asia_idea
			}

			IF = {
				limit = {
					has_dlc = "La Resistance"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				JAP_create_ignatius_lincoln_operative = yes
			}
			
		}
	}

	focus = {
		id = JAP_sea_national_spiritual_mobliization_movement
		icon = GFX_focus_JAP_national_spiritual_mobilization_movement

		x = 0
		y = 1
		relative_position_id = JAP_konoes_first_cabinet

		prerequisite = { focus = JAP_reiterate_the_three_principles_of_hirota focus = JAP_konoes_first_cabinet }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_STABILITY }

		completion_reward = {
			
			JAP_add_or_modify_showa_statism = yes

			add_to_variable = { JAP_showa_statism_stability_factor = 0.05 tooltip = stability_factor_tt }
			add_to_variable = { JAP_showa_statism_conscription_factor = 0.05 tooltip = conscription_factor_tt }
			add_to_variable = { JAP_showa_statism_political_power_factor = 0.1 tooltip = political_power_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = {
			    decision = JAP_luxury_is_the_enemy_decision
			    show_effect_tooltip = no
			}
			#custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = {
			    decision = JAP_form_a_labor_patriot_corps_decision
			    show_effect_tooltip = no
			}
			#custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = {
			    decision = JAP_produce_bullet_stamps_decision
			    show_effect_tooltip = no
			}
			
		}
	}

	focus = {
		id = JAP_form_cabinet_intelligence_bureau
		icon = GFX_focus_generic_secret_service_agency
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 3
		y = 1
		relative_position_id = JAP_sea_national_spiritual_mobliization_movement

		prerequisite = { focus = JAP_sea_national_spiritual_mobliization_movement }

		cost = 2

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			IF = {
				limit = {
					has_dlc = "La Resistance"
				}
				add_ideas = JAP_tokko_idea_lar
				IF = {
					limit = {
						has_intelligence_agency = no
					}
					custom_effect_tooltip = generic_skip_one_line_tt
					create_intelligence_agency = yes
				}
			}
			ELSE = {
				add_ideas = JAP_tokko_idea_no_lar
			}

		}
	}

	focus = {
		id = JAP_crackdown_on_foreign_agents
		icon = GFX_focus_generic_conspiracy
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 1
		y = 1
		relative_position_id = JAP_form_cabinet_intelligence_bureau

		prerequisite = { focus = JAP_form_cabinet_intelligence_bureau }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				has_government = neutrality
				has_government = fascism
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL }

		completion_reward = {

			add_popularity = {
				ideology = ROOT
				popularity = 0.05
			}	
			add_political_power = 25

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_crackdown_on_foreign_agents_tt

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

				custom_effect_tooltip = generic_skip_one_line_tt

				JAP_add_or_modify_showa_statism = yes

				add_to_variable = { JAP_showa_statism_operative_slot = 1 tooltip = operative_slot_tt }
			}
			
			hidden_effect = {

			}
			
		}
	}
	
	focus = {
		id = JAP_empower_the_thought_police
		icon = GFX_focus_generic_national_security
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = -1
		y = 1
		relative_position_id = JAP_form_cabinet_intelligence_bureau

		prerequisite = { focus = JAP_form_cabinet_intelligence_bureau }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
		date = 1940.1.1
			IF = {
				limit = {
					has_dlc = "La Resistance"
				}
				has_idea = JAP_tokko_idea_lar
			}
			ELSE_IF = {
				limit = {
					NOT = {
						has_dlc = "La Resistance"
					}
				}
				has_idea = JAP_tokko_idea_no_lar
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			IF = {
				limit = {
					has_dlc = "La Resistance"
				}
				swap_ideas = {
					remove_idea = JAP_tokko_idea_lar
					add_idea = JAP_tokko_idea_lar_2
				}	
				#custom_effect_tooltip = generic_skip_one_line_tt
			}
			ELSE = {
				swap_ideas = {
					remove_idea = JAP_tokko_idea_no_lar
					add_idea = JAP_tokko_idea_no_lar_2
				}
				#custom_effect_tooltip = generic_skip_one_line_tt
			}

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_genki_abe
				
			
		}
	}

	focus = {
		id = JAP_form_the_central_economic_council
		icon = GFX_focus_generic_economic_recovery
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = -3
		y = 1
		relative_position_id = JAP_sea_national_spiritual_mobliization_movement

		prerequisite = { focus = JAP_sea_national_spiritual_mobliization_movement }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}	
				}
				prioritize = { 532 531 282 } 
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}	
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			add_timed_idea = {
				idea = JAP_central_economic_council_idea
				days = 365
			}	
			
		}
	}

	focus = {
		id = JAP_expand_the_showa_research_association
		icon = GFX_focus_JAP_expand_the_showa_research_association
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = -1
		y = 1
		relative_position_id = JAP_form_the_central_economic_council

		prerequisite = { focus = JAP_form_the_central_economic_council }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			
			add_research_slot = 1

			custom_effect_tooltip = generic_skip_one_line_tt
			
			IF = {
				limit = {
					532 = { #Nagoya/Tokai
						is_fully_controlled_by = ROOT
						can_construct_building = air_facility
					}
				}
				532 = {
					# Mitsubishi Arnsenals 
					add_building_construction = {
						type = air_facility
						level = 1
						instant_build = yes
						province = 10125
					}
				}
			}
			ELSE = {
				random_core_state = {
					limit = {
						can_construct_building = air_facility
						is_owned_and_controlled_by = ROOT
					}
					construct_building_in_random_province = {
						air_facility = 1
					}
				}
			}
			
		}
	}

	focus = {
		id = JAP_form_the_great_japan_industrial_patriotic_association
		icon = GFX_focus_ICE_state_corporatism
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 1
		y = 1
		relative_position_id = JAP_form_the_central_economic_council

		prerequisite = { focus = JAP_form_the_central_economic_council }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			random_core_state = {
				limit = {
					is_owned_and_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}	
				}
				prioritize = { 532 531 } 
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}	
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_early_industrialization = yes

			add_to_variable = { JAP_industry_production_speed_industrial_complex_factor = 0.1 tooltip = production_speed_industrial_complex_factor_tt }
			add_to_variable = { JAP_industry_production_speed_arms_factory_factor = 0.1 tooltip = production_speed_arms_factory_factor_tt }
				
			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_naoki_hoshino
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_gotaro_ogawa
			
		}
	}

	focus = {
		id = JAP_sea_guide_the_zaibatsus
		icon = GFX_focus_jap_zaibatsu
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 2
		relative_position_id = JAP_form_the_central_economic_council

		prerequisite = { focus = JAP_form_the_central_economic_council }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			JAP_add_or_modify_early_industrialization = yes

			add_to_variable = { JAP_industry_production_speed_industrial_complex_factor = 0.05 tooltip = production_speed_industrial_complex_factor_tt }
			add_to_variable = { JAP_industry_production_speed_dockyard_factor = 0.05 tooltip = production_speed_dockyard_factor_tt }
			add_to_variable = { JAP_industry_industrial_capacity_factory = 0.05 tooltip = industrial_capacity_factory_tt }
				
			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_showa_statism = yes

			add_to_variable = { JAP_showa_statism_political_power_factor = -0.05 tooltip = political_power_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			reduce_focus_completion_cost = {
				focus = { JAP_approach_mitsui JAP_approach_mitsubishi JAP_approach_sumitomo JAP_approach_yasuda }
				cost = 35
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = PHI_clock_tt
			
		}
	}

	focus = {
		id = JAP_sea_state_general_mobilization_law
		icon = GFX_focus_ITA_generic_fascist_workers
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = -1
		y = 1
		relative_position_id = JAP_sea_national_spiritual_mobliization_movement

		prerequisite = { focus = JAP_sea_national_spiritual_mobliization_movement }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			date > 1937.6.07
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			
			JAP_add_or_modify_showa_statism = yes

			add_to_variable = { JAP_showa_statism_industrial_capacity_dockyard = 0.1 tooltip = industrial_capacity_dockyard_tt }
			add_to_variable = { JAP_showa_statism_industrial_capacity_factory = 0.1 tooltip = industrial_capacity_factory_tt }
			add_to_variable = { JAP_showa_statism_political_power_factor = 0.1 tooltip = political_power_factor_tt }
			IF = {
				limit = {
					NOT = {
						has_government = fascism
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = JAP_sea_state_general_mobilization_law_tt
			}
			
		}
	}

	focus = {
		id = JAP_issue_the_ten_commandments_for_marriage
		icon = GFX_focus_generic_population_growth
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 1
		y = 1
		relative_position_id = JAP_sea_national_spiritual_mobliization_movement

		prerequisite = { focus = JAP_sea_national_spiritual_mobliization_movement }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MANPOWER }

		completion_reward = {
			
			JAP_add_or_modify_showa_statism = yes

			add_to_variable = { JAP_showa_statism_monthly_population = 0.1 tooltip = monthly_population_tt }
			
		}
	}

	focus = {
		id = JAP_enact_religious_organizations_law
		icon = GFX_focus_jap_spiritual_mobilization
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = -1
		y = 1
		relative_position_id = JAP_issue_the_ten_commandments_for_marriage

		prerequisite = { focus = JAP_issue_the_ten_commandments_for_marriage focus = JAP_sea_state_general_mobilization_law }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			JAP_add_or_modify_state_shintoism = yes

			add_to_variable = { JAP_state_shinotism_pocket_penalty = -0.05 tooltip = pocket_penalty_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_category_tooltip = JAP_state_shintoism_decisions

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_heisuke_yanagawa
				
			
		}
	}

	focus = {
		id = JAP_new_order_movement
		icon = GFX_focus_JAP_new_order_movement
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 2
		relative_position_id = JAP_enact_religious_organizations_law

		prerequisite = { focus = JAP_enact_religious_organizations_law }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			add_popularity = {
				ideology = fascism
				popularity = 0.1
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_showa_statism = yes

			add_to_variable = { JAP_showa_statism_political_power_factor = 0.1 tooltip = political_power_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_kiichiro_hiranuma
				
			
		}
	}

	focus = {
		id = JAP_sea_tripartite_pact
		icon = GFX_focus_JAP_sea_tripartite_pact
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = -3
		y = 1
		relative_position_id = JAP_new_order_movement

		prerequisite = { focus = JAP_new_order_movement }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			any_country = {
				original_tag = GER
				has_government = fascism
				NOT = { has_war_with = ROOT }
			}
			any_country = {
				original_tag = ITA
				has_government = fascism
				NOT = { has_war_with = ROOT }
			}
		}

		bypass = {
			OR = {
				custom_trigger_tooltip = {
					tooltip = JAP_sign_tripartite_pact_bypass_tt
					OR = {
						NOT = {
							any_country = {
								original_tag = GER
								has_government = fascism
							}
						}
						any_country = {
							original_tag = GER
							has_government = fascism
							has_war_with = ROOT
						}
						NOT = {
							any_country = {
								original_tag = ITA
								has_government = fascism
							}
						}
						any_country = {
							original_tag = ITA
							has_government = fascism
							has_war_with = ROOT
						}	
					}	
				}
				AND = {
					GER = {
						has_government = fascism
						has_war_with = ITA
					}
					ITA = {
						has_government = fascism
						has_war_with = GER
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			random_country = {
				limit = {
					original_tag = GER
					has_government = fascism
				}
				country_event = { id = wtt_japan.109 days = 1 }
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				
				give_guarantee = ITA
				give_guarantee = GER
				diplomatic_relation = {
				    country = ITA
				    relation = non_aggression_pact
				    active = yes
				}
				diplomatic_relation = {
				    country = GER
				    relation = non_aggression_pact
				    active = yes
				}
				
				GER = {
					give_guarantee = ITA
					give_guarantee = ROOT
					diplomatic_relation = {
					    country = ITA
					    relation = non_aggression_pact
					    active = yes
					}
				}
				ITA = {
					give_guarantee = ROOT
					give_guarantee = GER
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_hiroshi_oshima
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_harukichi_shimoi
			
		}
	}

	focus = {
		id = JAP_sea_mil_tech_coop_with_germany
		icon = GFX_focus_BRA_acquire_german_tanks
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_sea_tripartite_pact

		prerequisite = { focus = JAP_sea_tripartite_pact }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			NOT = { has_war_with = GER }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			modify_building_resources = {
        	   building = synthetic_refinery
        	   resource = rubber
        	   amount = 1
        	}
			add_tech_bonus = {
				name = JAP_german_rocketry
				bonus = 0.5
				uses = 1
				category = rocketry	
			}
			add_tech_bonus = {
				name = JAP_sea_mil_tech_coop_with_germany
				bonus = 0.5
				uses = 1
				category = armor	
			}
			add_tech_bonus = {
				name = JAP_sea_mil_tech_coop_with_germany
				bonus = 0.5
				uses = 1
				category = cat_mechanized_equipment	
			}
			add_tech_bonus = {
				name = JAP_sea_mil_tech_coop_with_germany
				bonus = 0.25
				uses = 1
				category = air_equipment	
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ideas = JAP_german_tech_exchange

			custom_effect_tooltip = generic_skip_one_line_tt

			every_country_with_original_tag = {
				original_tag_to_check = GER
				limit = {
					has_government = fascism
				}
				add_to_tech_sharing_group = JAP_german_rocketry
				ROOT = { add_to_tech_sharing_group = JAP_german_rocketry }
			}
			
		}
	}

	focus = {
		id = JAP_imperial_rule_assistance_association
		icon = GFX_focus_JAP_imperial_rule_assistance_association
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 2
		relative_position_id = JAP_new_order_movement

		prerequisite = { focus = JAP_new_order_movement }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_STABILITY }

		completion_reward = {

			IF = {
				limit = {
					has_country_leader = {
						ruling_only = yes
						character = JAP_fumimaro_konoe
					}	
				}
				add_country_leader_role = {
					character = JAP_fumimaro_konoe
					promote_leader = yes
					country_leader = {
						ideology = emperor_fascism
						expire = "1952.1.1.1"
						traits = { JAP_noble_prime_minister }  
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			ELSE_IF = {
				limit = {
					has_country_leader = {
						ruling_only = yes
						character = JAP_kazushige_ugaki
					}	
				}
				add_country_leader_role = {
					character = JAP_kazushige_ugaki
					promote_leader = yes
					country_leader = {
						ideology = emperor_fascism
						expire = "1952.1.1.1"
						traits = { JAP_diplomatic_prime_minister } 
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			set_politics = {
				ruling_party = fascism
				elections_allowed = no
				long_name = JAP_taisei_party_long
				name = JAP_taisei_party
			}	
			add_popularity = {
				ideology = fascism
				popularity = 0.2
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_showa_statism = yes

			add_to_variable = { JAP_showa_statism_fascism_drift = 0.05 tooltip = fascism_drift_tt }
			add_to_variable = { JAP_showa_statism_stability_factor = 0.05 tooltip = stability_factor_tt }
			add_to_variable = { JAP_showa_statism_political_power_factor = 0.1 tooltip = political_power_factor_tt }
			IF = {
				limit = {
					has_subject = RNG
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				RNG = {
					set_politics = {
						ruling_party = fascism
						elections_allowed = no
					}	
					add_popularity = {
						ideology = fascism
						popularity = 0.3
					}	
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
	
			hidden_effect = {
				IF = {
					limit = {
						has_completed_focus = JAP_empower_the_thought_police
						JAP_civilian_government_faction_is_at_least_influential = yes
					}
					country_event = {
						id = SEA_japan_popup_events.50
					}	
				}
			}
			
		}
	}

	focus = {
		id = JAP_form_the_yokusan_sonendan
		icon = GFX_focus_JAP_form_the_yokusan_sonendan
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = -2
		y = 1
		relative_position_id = JAP_imperial_rule_assistance_association

		prerequisite = { focus = JAP_imperial_rule_assistance_association }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MANPOWER }

		completion_reward = {

			JAP_add_or_modify_showa_statism = yes

			add_to_variable = { JAP_showa_statism_conscription_factor = 0.1 tooltip = conscription_factor_tt }
			add_to_variable = { JAP_showa_statism_industrial_capacity_factory = -0.03 tooltip = industrial_capacity_factory_tt }
				
			
		}
	}

	focus = {
		id = JAP_integrate_the_great_japan_youth_party
		icon = GFX_focus_JAP_integrate_the_great_japan_youth_party
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_form_the_yokusan_sonendan

		prerequisite = { focus = JAP_form_the_yokusan_sonendan }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_MANPOWER FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {

			JAP_add_or_modify_showa_statism = yes

			add_to_variable = { JAP_showa_statism_conscription_factor = 0.05 tooltip = conscription_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt
			
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = kingoro_hashimoto
			
		}
	}

	focus = {
		id = JAP_sea_national_defense_state
		icon = GFX_goal_generic_military_sphere
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_imperial_rule_assistance_association

		prerequisite = { focus = JAP_imperial_rule_assistance_association }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_war_support > 0.79
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			custom_effect_tooltip = JAP_gain_national_defense_state_remove_total_mob_tt
			add_ideas = national_defense_state

			custom_effect_tooltip = generic_skip_one_line_tt

			random_core_state = {
				limit = {
					is_owned_and_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}	
				}
				prioritize = { 532 531 } 
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}	
			}	
			
		}
	}

	focus = {
		id = JAP_formalize_the_tonarigumi
		icon = GFX_focus_generic_whispers
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 2
		y = 1
		relative_position_id = JAP_imperial_rule_assistance_association

		prerequisite = { focus = JAP_imperial_rule_assistance_association }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL }

		completion_reward = {

			JAP_add_or_modify_showa_statism = yes

			add_to_variable = { JAP_showa_statism_fascism_drift = 0.05 tooltip = fascism_drift_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			every_subject_country = {
				limit = {
					NOT = {
						has_idea = JAP_subject_tonarigumi_idea
					}
				}
				add_ideas = JAP_subject_tonarigumi_idea
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = JAP_distribute_rations_decision

			custom_effect_tooltip = JAP_formalize_the_tonarigumi_tt
			
			
		}
	}

	focus = {
		id = JAP_ichioku_isshin
		icon = GFX_goal_generic_national_unity
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = -2
		y = 1
		relative_position_id = JAP_formalize_the_tonarigumi

		prerequisite = { focus = JAP_formalize_the_tonarigumi focus = JAP_sea_national_defense_state focus = JAP_form_the_yokusan_sonendan }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				has_government = neutrality
				has_government = fascism
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY }

		completion_reward = {

			add_stability = 0.075

			custom_effect_tooltip = generic_skip_one_line_tt

			#custom_effect_tooltip = JAP_build_hakko_ichiu_landmark_tt
			1018 = {
				add_building_construction = {
					type = landmark_hakko_ichiu
					level = 1
					instant_build = yes
					province = 1020
				}
			}
			custom_effect_tooltip = which_will_give_tt
			show_ideas_tooltip = JAP_hakko_ichiu_monument_idea 
			
		}
	}

	focus = {
		id = JAP_issue_the_senjinkun_military_code
		icon = GFX_focus_SOV_mobilization_plan
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 4
		y = 1
		relative_position_id = JAP_imperial_rule_assistance_association

		prerequisite = { focus = JAP_imperial_rule_assistance_association }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {

			add_war_support = 0.05
			add_command_power = 25

			custom_effect_tooltip = generic_skip_one_line_tt
			
			custom_effect_tooltip = cost_reduced_last_stand_2 
			
		}
	}

	focus = {
		id = JAP_issue_the_shinmin_no_michi_manifesto
		icon = GFX_focus_hol_the_foundations_of_defense
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_issue_the_senjinkun_military_code

		prerequisite = { focus = JAP_issue_the_senjinkun_military_code }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {

			JAP_add_or_modify_showa_statism = yes

			add_to_variable = { JAP_showa_statism_weekly_casualties_war_support = 0.0002 tooltip = weekly_casualties_war_support_tt }
			add_to_variable = { JAP_showa_statism_weekly_convoys_war_support = 0.0002 tooltip = weekly_convoys_war_support_tt }
			add_to_variable = { JAP_showa_statism_weekly_bombing_war_support = 0.0002 tooltip = weekly_bombing_war_support_tt }
			
			custom_effect_tooltip = peace_conference_spiritual_mob_modifier_japan
			
		}
	}

	focus = {
		id = JAP_sea_greater_east_asian_co_properity_sphere
		icon = GFX_focus_JAP_greater_east_asian_co_properity_sphere
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 8
		y = 1
		relative_position_id = JAP_imperial_rule_assistance_association

		prerequisite = { focus = JAP_imperial_rule_assistance_association }

		cost = 1

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			OR = {
				is_faction_leader = yes
				is_in_faction = no
			}
			NOT = {
				has_country_flag = JAP_CHI_pact_is_active_flag
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER }

		completion_reward = {

			hidden_effect = {
				set_rule = { can_create_factions = yes }
			}

			add_political_power = 75

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_east_asia_co_prosperity_sphere = yes

			add_to_variable = { JAP_east_asia_co_prosperity_sphere_autonomy_manpower_share_from_subjects = 0.05 tooltip = autonomy_manpower_share_from_subjects_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					is_in_faction = no
				}

				create_faction_from_template = faction_template_geacps_faction
				
			}
			ELSE_IF = {
				limit = {
					is_faction_leader = yes 
				}
				
				IF = {
					limit = {
						has_dlc = "No Compromise, No Surrender"
					}
					set_faction_manifest = faction_manifest_strategic_resource_control
					add_faction_goal_slot = {
						category  = medium_term 
						value = 1 
					}
					add_faction_goal_slot = {
						category  = long_term 
						value = 1 
					}
					add_faction_goal = faction_goal_secure_the_oil_supply
					add_faction_goal = faction_goal_war_on_communism_in_asia
					set_faction_rule = joining_rule_asia_pacific_ocenania_only
					set_faction_rule = faction_peace_rule_puppeting_focus
				}
				set_faction_name = JAP_greater_east_asian_co_prosperity_sphere
			}
			ELSE_IF = { # If member of a faction but not faction leader
				limit = {
					has_dlc = "No Compromise, No Surrender"
				}
				add_faction_initiative = 1
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			country_event = {
				id = SEA_japan_foreign_policy.40
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_sea_greater_east_asian_co_properity_sphere_tt	

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_sea_greater_east_asian_co_properity_sphere_2_tt			

			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = {
				decision = JAP_empower_the_yi_dynasty_decision 
				show_effect_tooltip = no 
			}	

			hidden_effect = {
				news_event = { 
					id = SEA_japan_news_events.02 
					days = 4 
				} 
			}	
			
		}
	}

	focus = {
		id = JAP_expand_japan_manchukuo_economic_bloc
		icon = GFX_focus_RAJ_special_economic_zones
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = -2
		y = 1
		relative_position_id = JAP_sea_greater_east_asian_co_properity_sphere

		prerequisite = { focus = JAP_sea_greater_east_asian_co_properity_sphere }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			MAN = {
				is_ally_with = ROOT
			}
			is_faction_leader = yes
		}

		bypass = {
			NOT = {
				MAN = {
					is_ally_with = ROOT
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			add_ideas = JAP_MAN_joint_economic_block_idea

			custom_effect_tooltip = generic_skip_one_line_tt

			MAN = {
				add_ideas = JAP_MAN_joint_economic_block_idea
			}
				
			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_small_zaibatsu_faction_gain = yes

		}
	}

	focus = {
		id = JAP_develop_the_yen_bloc
		icon = GFX_focus_JAP_develop_the_yen_block
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_expand_japan_manchukuo_economic_bloc

		prerequisite = { focus = JAP_expand_japan_manchukuo_economic_bloc }

		cost = 1

		ai_will_do = {
			factor = 1
		}

		available = {
			is_faction_leader = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			IF = {
				limit = {
					any_country = {
						has_idea = JAP_MAN_joint_economic_block_idea
					}
				}
				every_country = {
					limit = {
						has_idea = JAP_MAN_joint_economic_block_idea
					}
					swap_ideas = {
						remove_idea = JAP_MAN_joint_economic_block_idea
						add_idea = JAP_yen_bloc_idea
					}	
				}
					
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			every_other_country = {
				limit = {
					is_ally_with = ROOT
					NOT = {
						has_idea = JAP_MAN_joint_economic_block_idea
						has_idea = JAP_yen_bloc_idea
					}
				}
				add_ideas = JAP_yen_bloc_idea
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			custom_effect_tooltip = JAP_develop_the_yen_bloc_tt
			
		}
	}

	focus = {
		id = JAP_the_flying_geese
		icon = GFX_focus_JAP_the_flying_geese
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 2
		y = 1
		relative_position_id = JAP_sea_greater_east_asian_co_properity_sphere

		prerequisite = { focus = JAP_sea_greater_east_asian_co_properity_sphere }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_faction_leader = yes
			any_country = {
				is_ally_with = ROOT
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {

			JAP_add_or_modify_east_asia_co_prosperity_sphere = yes

			add_to_variable = { JAP_east_asia_co_prosperity_sphere_research_speed_factor = 0.02 tooltip = research_speed_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt
			
			add_to_tech_sharing_group = jap_geacps_research
			every_other_country = {
				limit = { 
					is_ally_with = ROOT
				}
				add_to_tech_sharing_group = jap_geacps_research 
			}
			
		}
	}

	focus = {
		id = JAP_greater_east_asia_railroad
		icon = GFX_focus_SOV_south_manchuria_railway
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_the_flying_geese

		prerequisite = { focus = JAP_the_flying_geese }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_faction_leader = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			custom_effect_tooltip = JAP_greater_east_asia_railroad_tt
			every_state = {
				limit = {
					is_controlled_by_ROOT_or_ally = yes
					infrastructure < 2
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}	
			}

			custom_effect_tooltip = generic_skip_one_line_tt
				
			JAP_add_or_modify_east_asia_co_prosperity_sphere = yes

			add_to_variable = { JAP_east_asia_co_prosperity_sphere_production_speed_rail_way_factor = 0.1 tooltip = production_speed_rail_way_factor_tt }
			add_to_variable = { JAP_east_asia_co_prosperity_sphere_production_speed_supply_node_factor = 0.15 tooltip = production_speed_supply_node_factor_tt }
			add_to_variable = { JAP_east_asia_co_prosperity_sphere_resources_to_overlord_factor = 0.05 tooltip = resources_to_overlord_factor_tt }
			
		}
	}

	focus = {
		id = JAP_east_asia_development_board
		icon = GFX_goal_generic_construction
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_sea_greater_east_asian_co_properity_sphere

		prerequisite = { focus = JAP_sea_greater_east_asian_co_properity_sphere }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_faction_leader = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
				
			add_timed_idea = {
				idea = JAP_invesments_into_minor_asian_states_cost
				days = 180
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			every_other_country = {
				limit = {
					is_ally_with = ROOT
				}
				add_timed_idea = {
					idea = JAP_industrial_development_support
					days = 730
				}	
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_east_asia_development_board_tt

		}
	}

	focus = {
		id = JAP_ministry_of_greater_east_asia
		icon = GFX_focus_ETH_re-convene_the_parliament
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_east_asia_development_board

		prerequisite = { focus = JAP_east_asia_development_board }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_faction_leader = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			every_other_country = {
				limit = {
					is_ally_with = ROOT
					NOT = {
						has_idea = JAP_ministry_of_greater_east_asia_idea
					}
				}
				add_ideas = JAP_ministry_of_greater_east_asia_idea
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_shigenori_togo
				
			
		}
	}

	focus = {
		id = JAP_promote_pan_asianism
		icon = GFX_focus_JAP_promote_pan_asianism
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_ministry_of_greater_east_asia

		prerequisite = { focus = JAP_ministry_of_greater_east_asia }
		prerequisite = { focus = JAP_develop_the_yen_bloc }
		prerequisite = { focus = JAP_greater_east_asia_railroad }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_MANPOWER }

		completion_reward = {

			JAP_add_or_modify_east_asia_co_prosperity_sphere = yes

			add_to_variable = { JAP_east_asia_co_prosperity_sphere_non_core_manpower = 0.03 tooltip = non_core_manpower_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_promote_pan_asianism_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_shumei_okawa
				
			
		}
	}

	focus = {
		id = JAP_tojos_premiership
		icon = GFX_focus_JAP_tojos_premiership
		mutually_exclusive = { focus = JAP_yamamotos_premiership focus = JAP_the_crysanthemum_throne focus = JAP_solidify_tohokai_rule }
		x = -2
		y = 2
		relative_position_id = JAP_ichioku_isshin

		prerequisite = { focus = JAP_ichioku_isshin }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
					has_war_support > 0.9
				}

		bypass = {

		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {
		
			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			add_country_leader_role = {
				character = JAP_hideki_tojo
				promote_leader = yes
				country_leader = {
					ideology = emperor_fascism
					expire = "1952.1.1.1"
					traits = { JAP_IJA_prime_minister_trait }
				}
			}
			
			hidden_effect = {
				set_cosmetic_tag = JAP_army_dominant
			}	
			
		JAP_big_army_faction_gain = yes

		}
	}

	focus = {
		id = JAP_yamamotos_premiership
		icon = GFX_focus_JAP_yamamotos_premiership
		mutually_exclusive = { focus = JAP_tojos_premiership focus = JAP_the_crysanthemum_throne focus = JAP_solidify_tohokai_rule }
		x = 0
		y = 2
		relative_position_id = JAP_ichioku_isshin

		prerequisite = { focus = JAP_ichioku_isshin }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				has_country_flag = JAP_yamamoto_shot_down_flag
			}
		}

		bypass = {

		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			add_country_leader_role = {
				character = JAP_isoroku_yamamoto
				promote_leader = yes
				country_leader = {
					ideology = emperor_fascism
					expire = "1952.1.1.1"
					traits = { JAP_IJN_prime_minister_trait } 
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_big_naval_faction_gain = yes
			
			hidden_effect = {

				set_cosmetic_tag = JAP_navy_dominant

			}	
			
		}
	}

	focus = {
		id = JAP_the_crysanthemum_throne
		icon = GFX_focus_JAP_the_crysanthemum_throne
		mutually_exclusive = { focus = JAP_tojos_premiership focus = JAP_yamamotos_premiership focus = JAP_solidify_tohokai_rule }
		x = 2
		y = 2
		relative_position_id = JAP_ichioku_isshin

		prerequisite = { focus = JAP_ichioku_isshin }

		cost = 5


		ai_will_do = {
			factor = 1
		}

		bypass = {

		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			add_political_power = 50

			custom_effect_tooltip = generic_skip_one_line_tt

			add_country_leader_role = {
				character = JAP_emperor_hirohito
				promote_leader = yes
				country_leader = {
					ideology = emperor_fascism
					expire = "1952.1.1.1"
					traits = { emperor_showa_2 }
				}
			}
			hidden_effect = {
				add_country_leader_role = {
					character = JAP_emperor_hirohito
					promote_leader = yes
					country_leader = {
						ideology = despotism
						expire = "1952.1.1.1"
						traits = { emperor_showa_2 } 
					}
				}
			}
			
			hidden_effect = {

				set_cosmetic_tag = JAP_emperor_dominant

			}	
			
		}
	}

	focus = {
		id = JAP_solidify_tohokai_rule 
		icon = GFX_focus_JAP_the_tohokai
		mutually_exclusive = { focus = JAP_tojos_premiership focus = JAP_yamamotos_premiership focus = JAP_the_crysanthemum_throne }
		x = 4
		y = 2
		relative_position_id = JAP_ichioku_isshin

		prerequisite = { focus = JAP_ichioku_isshin }

		allow_branch = {
			has_country_flag = JAP_tohokai_prime_minister_added
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {						
					has_completed_focus = JAP_revere_the_emperor_destroy_the_traitors
					has_completed_focus = JAP_okadas_military_purge_speech
				}
			}
		}

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_country_leader = {
				ruling_only = yes
				character = JAP_seigo_nakano
			}	
		}

		bypass = {

		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			add_political_power = 75

			set_party_name = {
				ideology = fascism
				long_name = JAP_tohokai_party_long
				name = JAP_tohokai_party
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_big_government_faction_gain = yes
			
		}
	}

	focus = {
		id = JAP_national_defense_brotherhood
		icon = GFX_focus_JAP_national_defense_brotherhood
		#mutually_exclusive = { focus = JAP_yamamotos_premiership focus = JAP_the_crysanthemum_throne }
		x = -2
		y = 2
		relative_position_id = JAP_tojos_premiership

		prerequisite = { focus = JAP_tojos_premiership }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ideas = JAP_national_defense_brotherhood_idea

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_nobusuke_kishi

			hidden_effect = {
				set_country_flag = JAP_national_defense_brotherhood_started_flag # Timer for collapse event
			}	
			
		}
	}

	focus = {
		id = JAP_supreme_council_for_direction_of_war
		icon = GFX_focus_JAP_supreme_council_for_direction_of_war
		#mutually_exclusive = { focus = JAP_yamamotos_premiership focus = JAP_the_crysanthemum_throne }
		x = -1
		y = 1
		relative_position_id = JAP_tojos_premiership

		prerequisite = { focus = JAP_tojos_premiership focus = JAP_yamamotos_premiership focus = JAP_the_crysanthemum_throne focus = JAP_solidify_tohokai_rule }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_war = yes
			is_subject = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			JAP_add_or_modify_imperial_army = yes

			add_to_variable = { JAP_army_planning_speed = 0.05 tooltip = planning_speed_factor_tt }
				
			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_imperial_navy = yes

			add_to_variable = { JAP_navy_naval_coordination = 0.05 tooltip = naval_coordination_tt }

			IF = {
				limit = {
					NOT = {
						has_rule = can_use_kamikaze_pilots
					}
					
				}
				hidden_effect = {
					set_rule = {
						can_use_kamikaze_pilots = yes
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = kamikaze_focus_tooltip
			}
			
		}
	}

	focus = {
		id = JAP_found_the_boeitai
		icon = GFX_focus_generic_manpower
		#mutually_exclusive = { focus = JAP_yamamotos_premiership focus = JAP_the_crysanthemum_throne }
		x = 0
		y = 2
		relative_position_id = JAP_tojos_premiership

		prerequisite = { focus = JAP_tojos_premiership focus = JAP_yamamotos_premiership focus = JAP_the_crysanthemum_throne focus = JAP_solidify_tohokai_rule }

		cost = 1

		ai_will_do = {
			factor = 1
		}

		available = {
			has_war = yes
			any_core_state = {
				JAP_is_home_islands_state = yes
				NOT = {
					is_fully_controlled_by = ROOT
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MANPOWER }

		completion_reward = {  

			add_ideas = JAP_boeitai_idea

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_found_the_boeitai_tt

			hidden_effect = {

				delete_unit_template_and_units = {
					division_template = "Kokumin Giyū Sentōtai"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Kokumin Giyū Sentōtai"
					division_names_group = JAP_MIL_01
					override_model = JAP_militia_entity
					role = garrison
					template_counter = 113
					is_locked = yes
					regiments = {
						militia = { x = 0 y = 0 }
						militia = { x = 0 y = 1 }
						militia = { x = 0 y = 2 }
						militia = { x = 1 y = 0 }
						militia = { x = 1 y = 1 }
					}
					support = {
					}
				}

			}
			
		}
	}

	focus = {
		id = JAP_advance_one_hundred_million_fireballs
		icon = GFX_focus_JAP_advance_one_hundred_million_fireballs
		#mutually_exclusive = { focus = JAP_yamamotos_premiership focus = JAP_the_crysanthemum_throne }
		x = 0
		y = 1
		relative_position_id = JAP_found_the_boeitai

		prerequisite = { focus = JAP_found_the_boeitai }

		cost = 1

		ai_will_do = {
			factor = 1
		}

		available = {
			any_enemy_country = {
				is_major = yes
			}
			any_core_state = {
				JAP_is_home_islands_state = yes
				NOT = {
					is_fully_controlled_by = ROOT
				}
			}
			has_stability > 0.4
			has_war_support > 0.8
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MANPOWER }

		completion_reward = {

			add_ideas = JAP_advance_one_hundred_million_fireballs_idea
			custom_effect_tooltip = JAP_advance_one_hundred_million_fireballs_tt

			custom_effect_tooltip = generic_skip_one_line_tt
			
			custom_effect_tooltip = CHI_50_cheaper_force_attack
			
		}
	}

	focus = {
		id = JAP_joshi_teishin_tai
		icon = GFX_focus_JAP_joshi_teishin_tai
		#mutually_exclusive = { focus = JAP_yamamotos_premiership focus = JAP_the_crysanthemum_throne }
		x = 1
		y = 1
		relative_position_id = JAP_tojos_premiership

		prerequisite = { focus = JAP_tojos_premiership focus = JAP_yamamotos_premiership focus = JAP_the_crysanthemum_throne focus = JAP_solidify_tohokai_rule }

		cost = 5

		dynamic = yes

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			
			JAP_add_or_modify_showa_statism = yes

			add_to_variable = { JAP_showa_statism_industry_repair_factor = 0.25 tooltip = industry_repair_factor_tt }
			add_to_variable = { JAP_showa_statism_industrial_capacity_factory = 0.03 tooltip = industrial_capacity_factory_tt }
			add_to_variable = { JAP_showa_statism_conscription = 0.02 tooltip = conscription_tt }
			
		}
	}

	focus = {
		id = JAP_the_metal_collection_order
		icon = GFX_focus_CONGO_copper_cartridges
		#mutually_exclusive = { focus = JAP_yamamotos_premiership focus = JAP_the_crysanthemum_throne }
		x = 2
		y = 2
		relative_position_id = JAP_tojos_premiership

		prerequisite = { focus = JAP_tojos_premiership focus = JAP_yamamotos_premiership focus = JAP_the_crysanthemum_throne focus = JAP_solidify_tohokai_rule }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			add_stability = -0.1

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_early_industrialization = yes

			add_to_variable = { JAP_industry_lack_of_resource_penalty_factor = -0.1 tooltip = production_lack_of_resource_penalty_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = JAP_develop_sufu_materials_decision
				
			
		}
	}

	focus = {
		id = JAP_form_the_dai_nippon_fujinkai
		icon = GFX_focus_JAP_form_the_dai_nippon_fujinkai
		#mutually_exclusive = { focus = JAP_yamamotos_premiership focus = JAP_the_crysanthemum_throne }
		x = 3
		y = 1
		relative_position_id = JAP_tojos_premiership

		prerequisite = { focus = JAP_tojos_premiership focus = JAP_yamamotos_premiership focus = JAP_the_crysanthemum_throne focus = JAP_solidify_tohokai_rule }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			add_political_power = 100

			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = JAP_collect_civilian_donations_decision
			unlock_decision_tooltip = JAP_raise_military_moreale_decision
			unlock_decision_tooltip = JAP_women_in_military_production_decision

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_yamauchi_sachiko
				
			
		}
	}

	focus = {
		id = JAP_fund_propaganda_films
		icon = GFX_focus_JAP_fund_propaganda_films
		#mutually_exclusive = { focus = JAP_yamamotos_premiership focus = JAP_the_crysanthemum_throne }
		x = 4
		y = 2
		relative_position_id = JAP_tojos_premiership

		prerequisite = { focus = JAP_tojos_premiership focus = JAP_yamamotos_premiership focus = JAP_the_crysanthemum_throne focus = JAP_solidify_tohokai_rule }

		cost = 5

		ai_will_do = {
			factor = 1 
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_IMPERIAL_INFLUENCE FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {

			add_political_power = 50

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_showa_statism = yes

			add_to_variable = { JAP_showa_statism_weekly_casualties_war_support = 0.001 tooltip = weekly_casualties_war_support_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					has_country_flag = has_taken_the_war_propaganda_film_industry_decision
				}
				custom_effect_tooltip = JAP_fund_propaganda_films_tt
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			ELSE = {
				custom_effect_tooltip = JAP_fund_propaganda_films_2_tt
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			JAP_small_naval_faction_gain = yes

		}
	}

	focus = {
		id = JAP_the_eternal_kingdom
		icon = GFX_focus_JAP_the_eternal_kingdom
		#mutually_exclusive = { focus = JAP_yamamotos_premiership focus = JAP_the_crysanthemum_throne }
		x = 0
		y = 1
		relative_position_id = JAP_fund_propaganda_films

		prerequisite = { focus = JAP_fund_propaganda_films }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			surrender_progress < 0.05
			282 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			613 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			1021 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			995 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			524 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			629 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			328 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			327 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			289 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			638 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY }

		completion_reward = {

			IF = {
				limit = {
					has_cosmetic_tag = JAP_army_dominant
				}
				set_cosmetic_tag = JAP_greater_army_dominant_fascism
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			ELSE_IF = {
				limit = {
					has_cosmetic_tag = JAP_navy_dominant
				}
				set_cosmetic_tag = JAP_greater_navy_dominant_fascism
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			ELSE_IF = {
				limit = {
					has_cosmetic_tag = JAP_emperor_dominant
				}
				set_cosmetic_tag = JAP_greater_emperor_dominant_fascism
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			ELSE_IF = {
				limit = {
					has_cosmetic_tag = JAP_tohokai_rule
				}
				set_cosmetic_tag = JAP_greater_tohokai_rule
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			ELSE = {
				# For tooltip pruposes before heading down the tree 
				effect_tooltip = {
					set_cosmetic_tag = JAP_greater_army_dominant_fascism
					custom_effect_tooltip = generic_skip_one_line_tt
				}
			}
			
			add_ideas = JAP_the_eternal_kingdom_idea
			custom_effect_tooltip = JAP_the_eternal_kingdom_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			add_country_leader_trait = JAP_protector_of_the_eternal_kingdom

			#custom_effect_tooltip = generic_skip_one_line_tt
						every_controlled_state = {
				limit = {
					is_fully_controlled_by = ROOT
					has_state_category = small_island
				}
				add_core_of = ROOT
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			every_state = {
				limit = {
					NOT = {
						is_core_of = ROOT
					}
					OR = {
						state = 655
						state = 648
						state = 647
						state = 684
						state = 633
						state = 638
						state = 629
						state = 631
						state = 632
						state = 630
						state = 642
						state = 727
					}
				}
				add_core_of = ROOT
			}
			
		}
	}

	focus = {
		id = JAP_found_the_air_defense_surveilance_corps
		icon = GFX_focus_SWE_lottakoren
		
		x = 5
		y = 1
		relative_position_id = JAP_tojos_premiership

		prerequisite = { focus = JAP_tojos_premiership focus = JAP_yamamotos_premiership focus = JAP_the_crysanthemum_throne focus = JAP_solidify_tohokai_rule }

		cost = 10

		ai_will_do = { 
			factor = 1
		}

		available = {
			has_war_with_major = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			
			add_ideas = JAP_air_defence_surveilance_corps_idea
			
		}
	}

	focus = {
		id = JAP_the_koiso_cabinet
		icon = GFX_focus_JAP_the_koiso_administration
		
		x = 2
		y = 1
		relative_position_id = JAP_advance_one_hundred_million_fireballs

		cost = 10

		ai_will_do = {
			factor = 1
		}

		allow_branch = {
			has_country_flag = JAP_tojo_or_yamamoto_resigned_flag
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {						
					has_completed_focus = JAP_revere_the_emperor_destroy_the_traitors
					has_completed_focus = JAP_okadas_military_purge_speech
				}
			}
		}

		available = {
			is_subject = no
			has_government = fascism
			has_war = yes
		}

		bypass = {
			OR = {
				is_subject = yes
				has_government = democratic
				#has_war = no 
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			add_country_leader_role = {
				character = JAP_kuniaki_koiso
				promote_leader = yes
				country_leader = {
					ideology = emperor_fascism
					expire = "1952.1.1.1"
					traits = { JAP_anti_communist_pm }
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			swap_ideas = {
				remove_idea = JAP_crumbling_military_cabinet_idea
				add_idea = JAP_crumbling_military_cabinet_idea_2
			}	

		}
	}

	focus = {
		id = JAP_the_war_has_not_necessarily_developed_focus
		icon = GFX_focus_JAP_propaganda
		#mutually_exclusive = { focus = JAP_utilize_our_polish_friendship }
		x = 0
		y = 1
		relative_position_id = JAP_the_koiso_cabinet

		prerequisite = { focus = JAP_the_koiso_cabinet }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			has_government = fascism
			has_war = yes
		}

		bypass = {
			OR = {
				is_subject = yes
				has_government = democratic
				#has_war = no
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			country_event = {
				id = SEA_japan_popup_events.43
			}	
			custom_effect_tooltip = JAP_the_war_has_not_necessarily_developed_focus_tt

		}
	}

	focus = {
		id = JAP_japans_longest_day 
		icon = GFX_focus_IRQ_attempted_assasination_of_sidqi
		mutually_exclusive = { focus = JAP_the_surrender_broadcast }
		x = -1
		y = 1
		relative_position_id = JAP_the_war_has_not_necessarily_developed_focus

		prerequisite = { focus = JAP_the_war_has_not_necessarily_developed_focus }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			has_government = fascism
			has_country_flag = JAP_kyujo_incident_rebels_won_flag
			has_war = yes
		}

		bypass = {
			OR = {
				#has_war = no
				is_subject = yes
				has_government = democratic
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			swap_ideas = {
				remove_idea = JAP_crumbling_military_cabinet_idea_4
				add_idea = JAP_crumbling_military_cabinet_idea_5
			}	

		}
	}

	focus = {
		id = JAP_the_surrender_broadcast 
		icon = GFX_focus_JAP_gather_royal_pacifists_support
		mutually_exclusive = { focus = JAP_japans_longest_day }
		x = 1
		y = 1
		relative_position_id = JAP_the_war_has_not_necessarily_developed_focus

		prerequisite = { focus = JAP_the_war_has_not_necessarily_developed_focus }

		cost = 5

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0 
				OR = {
					1036 = {
						is_controlled_by_ROOT_or_subject = yes
					}
					1037 = {
						is_controlled_by_ROOT_or_subject = yes
					}
					327 = {
						is_controlled_by_ROOT_or_subject = yes
					}
					285 = {
						is_controlled_by_ROOT_or_subject = yes
					}
				}
			}
		}

		available = {
			is_subject = no
			has_government = fascism
			has_country_flag = JAP_kyujo_incident_rebels_lost_flag
			has_war = yes
			OR = {
				any_core_state = {
					JAP_is_home_islands_state = yes
					NOT = {
						is_fully_controlled_by = ROOT
					}
				}
				has_global_flag = JAP_nuke_2
			}
		}

		bypass = {
			OR = {
				is_subject = yes
				has_government = democratic
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			add_ideas = JAP_accepted_the_potsdam_agreement 

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_the_surrender_broadcast_tt

		}
	}





	##### SHARED FOREIGN POLICY BRANCH #####

	focus = {
		id = JAP_revisit_the_thirteen_demands
		icon = GFX_focus_generic_treaty

		x = -5
		y = 1
		relative_position_id = JAP_sea_purge_the_kodoha_faction

		prerequisite = { focus = JAP_sea_purge_the_kodoha_faction }

		cost = 1

		ai_will_do = {
			factor = 1
		}

		available = {
			JAP_army_faction_is_not_subdued = yes
		}

		bypass = {
			OR = {
				has_war_with = CHI
				has_subject = CHI
			}
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
				
			add_war_support = 0.05
			add_political_power = 25

			IF = {
				limit = {
					CHI = {
						exists = yes
					}
				}
				CHI = {
					add_opinion_modifier = {
						target = ROOT
						modifier = JAP_revisited_21_demands_neg_op_mod
					}	
				}
			}
			
		}
	}

	focus = {
		id = JAP_reinforce_the_beijing_garrison
		icon = GFX_focus_JAP_reinforce_the_east_hebei_garrisons
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_revisit_the_thirteen_demands

		prerequisite = { focus = JAP_revisit_the_thirteen_demands }

		cost = 1

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no 
			NOT = { 
				has_war_with = CHI 
				is_ally_with = CHI
			}
			OR = {
				NOT = {
					has_completed_focus = JAP_ensure_temporary_peace_with_china
				}
				AND = {
					has_country_flag = {
					 	flag = JAP_chinese_japanese_neutrality_pact_flag
					 	days > 365
					} 
					custom_trigger_tooltip = {
						tooltip = JAG_chinese_neutality_pact_focus_days_tt
						has_country_flag = {
							flag = JAP_chinese_japanese_neutrality_pact_flag
							days > 365
						}
					}
				}
			}
		}

		bypass = {
			OR = {
				AND = {
					608 = {
						NOT = {
							is_controlled_by = CHI
							is_controlled_by = PRC
							is_controlled_by = SHX
							is_controlled_by = SND
							is_controlled_by = HBC
							is_controlled_by = XIC
						}
					}
					597 = {
						NOT = {
							is_controlled_by = CHI
							is_controlled_by = PRC
							is_controlled_by = SHX
							is_controlled_by = SND
							is_controlled_by = HBC
							is_controlled_by = XIC
						}
					}
					614 = {
						NOT = {
							is_controlled_by = CHI
							is_controlled_by = PRC
							is_controlled_by = SHX
							is_controlled_by = SND
							is_controlled_by = HBC
							is_controlled_by = XIC
						}
					}
				}
				has_war_with = CHI
				has_subject = CHI
			}
		}

		will_lead_to_war_with = CHI
		will_lead_to_war_with = SHX
		will_lead_to_war_with = HBC
		will_lead_to_war_with = SND
		will_lead_to_war_with = XIC 

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ANNEXATION FOCUS_FILTER_MANPOWER }

		completion_reward = {

			add_manpower = 15000

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					609 = {
						air_base < 9
					}
				}
				609 = {
					add_building_construction = {
						type = air_base
						level = 6
						instant_build = yes
					}	
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			ELSE_IF = {
				limit = {
					609 = {
						air_base < 10
					}
				}
				609 = {
					add_building_construction = {
						type = air_base
						level = 1
						instant_build = yes
					}	
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			IF = {
				limit = {
					609 = {
						free_building_slots = {
							building = supply_node
							size > 0
							province = 1052
						}	
					}
				}
				609 = {
					add_building_construction = {
						type = supply_node
						level = 1
						instant_build = yes
						province =  1052
					}	
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			ELSE_IF = {
				limit = {
					has_active_mission = JAP_kwantung_army_impatience
				}

				add_days_mission_timeout = {
				    mission = JAP_kwantung_army_impatience
				    days = -420 
				}
				custom_effect_tooltip = JAP_reinforce_the_beijing_garrison_tt

			}			
		}
	}

	focus = {
		id = JAP_strategic_offensives
		icon = GFX_goal_generic_position_armies
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = -1
		y = 1
		relative_position_id = JAP_reinforce_the_beijing_garrison

		prerequisite = { focus = JAP_reinforce_the_beijing_garrison }

		cost = 1

		ai_will_do = {
			factor = 1
		}

		available = {
			any_enemy_country = {
				is_literally_china = yes
			}
			NOT = {
				has_idea = JAP_surprise_invasion_idea
			}
		}

		bypass = {
			OR = {
				owns_state = 613
				CHI = {
					is_subject_of = ROOT
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			custom_effect_tooltip = JAP_strategic_offensives_tt

			IF = {
				limit = {
					USA = {
						has_war = no
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				USA = { add_war_support = 0.05 }
			}
				
			
		}
	}

	focus = {
		id = JAP_develop_the_chinese_resources
		icon = GFX_goal_generic_construct_civilian
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 2

		relative_position_id = JAP_reinforce_the_beijing_garrison

		prerequisite = { focus = JAP_reinforce_the_beijing_garrison }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_tech = excavation1
			605 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			325 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			597 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			614 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			602 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			605 = {
				add_resource = {
					type = aluminium
					amount = 8
				}
			}
			325 = {
				add_resource = {
					type = aluminium
					amount = 12
				}
				add_resource = {
					type = tungsten
					amount = 8
				}
			}
			597 = {
				add_resource = {
					type = aluminium
					amount = 8
				}
			}
			614 = {
				add_resource = {
					type = coal
					amount = 12
				}
			}
			602 = {
				add_resource = {
					type = tungsten
					amount = 10
				}
			}
			
			unlock_decision_category_tooltip = prospect_for_resources
			
				
			
		}
	}

	focus = {
		id = JAP_form_the_jikyoku_iinkai
		icon = GFX_focus_generic_fascist_propaganda
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 1
		y = 1
		relative_position_id = JAP_reinforce_the_beijing_garrison

		prerequisite = { focus = JAP_reinforce_the_beijing_garrison }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			USA = {
				exists = yes
				NOT = {
					is_ally_with = ROOT
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL }

		completion_reward = {

			add_political_power = 75

			custom_effect_tooltip = generic_skip_one_line_tt

			USA = {
				country_event = {
					id = SEA_japan_foreign_policy.35
					hours = 12
					random_hours = 24
				}	
			}
			effect_tooltip = {
				USA = {
					IF = {
						limit = {
							NOT = {
								has_war_with = JAP
							}
						}
						add_war_support = -0.05
					}
					ELSE = {
						add_timed_idea = {
							idea = JAP_pro_japanese_sentiments_for_usa_idea
							days = 180
						}	
					}
				}
			}
			
			IF = {
				limit = {
					has_dlc = "La Resistance"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				JAP_create_john_farnsworth_operative = yes
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			IF = {
				limit = {
					USA = {
						NOT = {
							has_war_with = ROOT
						}
					}
				}
				add_opinion_modifier = {
					target = USA
					modifier = japanese_committee_on_trade_and_information_pom
				}	
				USA = {
					add_opinion_modifier = {
						target = ROOT
						modifier = japanese_committee_on_trade_and_information_pom
					}	
				}
			}

			hidden_effect = {
				set_global_flag = { 
					flag = JAP_has_recently_tried_to_block_usa_support_for_china_flag 
					value = 1 
					days = 121 
				}
			}
			
		}
	}

	focus = {
		id = JAP_nanshin_ron
		icon = GFX_focus_JAP_nanshin_ron

		x = -8
		y = 1
		relative_position_id = JAP_sea_purge_the_kodoha_faction


		prerequisite = { focus = JAP_sea_purge_the_kodoha_faction  }

		cost = 2

		ai_will_do = {
			factor = 1
		}

		available = {
			JAP_naval_faction_is_not_subdued = yes
			OR = {
				NOT = {
					has_completed_focus = JAP_hokushin_ron
				}
				AND = {
					has_country_flag = {
					 	flag = JAP_hokushin_ron_started_flag
					 	days > 180
					} 
					custom_trigger_tooltip = {
						tooltip = JAG_hokushin_ron_focus_days_tt
						has_country_flag = {
							flag = JAP_hokushin_ron_started_flag
							days > 180
						}
					}
				}
			}
			
		}

		bypass = {

		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_NAVY_XP FOCUS_FILTER_AIR_XP FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			navy_experience = 10
			air_experience = 5

			custom_effect_tooltip = generic_skip_one_line_tt

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

			custom_effect_tooltip = generic_skip_one_line_tt
			
			IF = {
				limit = {
					has_dlc = "La Resistance"
				}
				JAP_create_patrick_heenan_operative = yes
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			JAP_small_naval_faction_gain = yes

			hidden_effect = {
				set_country_flag = JAP_nanshin_ron_started_flag # Used to temporarily block the Hokushin-ron focuses
			}	
			
		}
	}

	focus = {
		id = JAP_soviet_japanese_neutrality_pact
		icon = GFX_focus_chi_mission_to_the_soviet_union
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = -1
		y = 1
		relative_position_id = JAP_occupy_siam

		dynamic = yes

		prerequisite = { focus = JAP_occupy_siam focus = JAP_sea_pressure_siam }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			SOV = {
				exists = yes
			}
			NOT = {
				has_war_with = SOV
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
		every_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
						free_building_slots = {
							building = fuel_silo
							size > 2
							include_locked = yes
						}
					}
					random_select_amount = 3
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = fuel_silo
						level = 3
						instant_build = yes
					}
			SOV = { 
				country_event = { 
					id = wtt_japan.11 
					days = 1
				} 
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_soviet_japanese_neutrality_pact_tt

			hidden_effect = {
				set_country_flag = JAP_soviet_japanese_neutrality_pact_flag # Used to temporarily block the Persimmon focuses
			}

		}
}
	}

	focus = {
		id = JAP_unsinkable_aircraft_carriers
		icon = GFX_focus_generic_air_bases
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = -3
		y = 1
		relative_position_id = JAP_nanshin_ron

		prerequisite = { focus = JAP_nanshin_ron }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				647 = {
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				684 = {
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				633 = {
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				646 = {
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				#638 = {
				#	state_is_fully_controlled_by_ROOT_or_subject = yes
				#}
				725 = {
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				639 = {
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				643 = {
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				734 = {
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				636 = {
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				635 = {
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				#726 = {
				#	state_is_fully_controlled_by_ROOT_or_subject = yes
				#}
				648 = {
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				645 = {
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
				
			every_state = {
				limit = {
					OR = {
						state = 647
						state = 684
						state = 633
						state = 646
						state = 638
						state = 725
						state = 639
						state = 643
						state = 734
						state = 636
						state = 635
						state = 726
						state = 648
						state = 645
					}
					state_is_fully_controlled_by_ROOT_or_subject = yes
					air_base < 2 
				}
				add_building_construction = {
					type = air_base
					level = 3
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			every_state = {
				limit = {
					OR = {
						state = 647
						state = 684
						state = 633
						state = 646
						state = 638
						state = 725
						state = 639
						state = 643
						state = 734
						state = 636
						state = 635
						state = 726
						state = 648
						state = 645
					}
					state_is_fully_controlled_by_ROOT_or_subject = yes
					any_province_building_level = {
						province = {
							id = 6969
							id = 11822
							id = 12043
							id = 3900
							id = 1052
						}
						building = coastal_bunker
						level < 5
					}	
				}
				add_building_construction = {
				    type = coastal_bunker
				    level = 4
				    instant_build = yes
				    province = {
				        all_provinces = yes
				        limit_to_coastal = yes
				    }
				}
			}

			IF = {
				limit = {
					ROOT = { is_special_project_completed = sp:sp_air_radar }
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				every_state = {
					limit = {
						OR = {
							state = 647
							state = 684
							state = 633
							state = 646
							state = 638
							state = 725
							state = 639
							state = 643
							state = 734
							state = 636
							state = 635
							state = 726
							state = 648
							state = 645
						}
						state_is_fully_controlled_by_ROOT_or_subject = yes
						radar_station < 6
					}
					add_building_construction = {
						type = radar_station
						level = 4
						instant_build = yes
					}
				}
			}

			IF = {
				limit = {
					has_dlc = "No Compromise, No Surrender"
					684 = {
						is_fully_controlled_by = ROOT
						any_province_building_level = {
							province = {
								id = 2489
							}
							building = naval_supply_hub
							level < 1
						}
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				684 = {		
					add_building_construction = {
						type = naval_supply_hub
						level = 1
						instant_build = yes
						province = 2489
					}	
				}
			}

		}
	}

	focus = {
		id = JAP_isolate_oceania
		icon = GFX_focus_JAP_isolate_oceania
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_unsinkable_aircraft_carriers

		prerequisite = { focus = JAP_unsinkable_aircraft_carriers }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			JAP_naval_faction_is_not_subdued = yes
		}

		bypass = {

		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			JAP_add_or_modify_imperial_navy = yes

			add_to_variable = { JAP_navy_navy_max_range_factor = 0.05 tooltip = navy_max_range_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			every_state = {
				limit = {
					OR = {
						state = 979
						state = 523
						state = 737
						state = 634
						state = 669
						state = 734
						state = 635
					}
				}
				add_dynamic_modifier = {
					modifier = JAP_operation_MO_military_offensive
					days = 180
					scope = JAP
				}
			}

		}
	}

	focus = {
		id = JAP_battle_for_australia
		icon = GFX_focus_generic_air_carrier
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_isolate_oceania

		prerequisite = { focus = JAP_isolate_oceania }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			JAP_naval_faction_is_at_least_influential = yes
		}

		bypass = {

		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		will_lead_to_war_with = AST
		will_lead_to_war_with = NZL
		will_lead_to_war_with = PNG

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			
			add_timed_idea = {
				idea = JAP_battle_for_oceania
				days = 425
			}	

			IF = {
				limit = {
					AST = {
						exists = yes
						NOT = {	
							is_ally_with = ROOT
						}
						NOT = {
							has_war_with = ROOT
						}
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				create_wargoal = {
					type = puppet_wargoal_focus
					target = AST
					expire = 0
				}	
			}
			IF = {
				limit = {
					NZL = {
						exists = yes
						NOT = {	
							is_ally_with = ROOT
						}
						NOT = {
							has_war_with = ROOT
						}
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				create_wargoal = {
					type = puppet_wargoal_focus
					target = NZL
					expire = 0
				}	
			}
			IF = {
				limit = {
					PNG = {
						exists = yes
						NOT = {	
							is_ally_with = ROOT
						}
						NOT = {
							has_war_with = ROOT
						}
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				create_wargoal = {
					type = annex_everything
					target = PNG
					expire = 0
				}	
			}
			
		}
	}

	focus = {
		id = JAP_operation_take_australia
		icon = GFX_focus_JAP_operation_take_australia
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_battle_for_australia

		prerequisite = { focus = JAP_battle_for_australia }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			JAP_naval_faction_is_at_least_influential = yes
		}

		bypass = {

		}

		will_lead_to_war_with = AST
		will_lead_to_war_with = NZL

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			add_timed_idea = {
				idea = JAP_operation_an_idea
				days = 365
			}	

			custom_effect_tooltip = generic_skip_one_line_tt
			
			IF = {
				limit = {
					NOT = {
						has_war_with = AST
						has_wargoal_against = {
							target = AST
						}
						has_subject = AST
						is_in_faction_with = AST
					}
				}
				create_wargoal = {
					type = puppet_wargoal_focus
					target = AST
					expire = 0
				}		
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					NOT = {
						has_war_with = NZL
						has_wargoal_against = {
							target = NZL
						}
						has_subject = NZL
						is_in_faction_with = NZL
					}
				}
				create_wargoal = {
					type = puppet_wargoal_focus
					target = NZL
					expire = 0
				}		
			}

			add_ai_strategy = {
				type = antagonize
				id = AST
				value = 100
			}
			add_ai_strategy = {
				type = antagonize
				id = NZL
				value = 100
			}
			add_ai_strategy = {
				type = conquer
				id = AST
				value = 50
			}
			add_ai_strategy = {
				type = conquer
				id = NZL
				value = 50
			}
			
		}
	}

	focus = {
		id = JAP_demand_tonkinese_bases
		icon = GFX_focus_generic_attack_indochina
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_nanshin_ron

		prerequisite = { focus = JAP_nanshin_ron }

		cost = 2

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			671 = { 
				CONTROLLER = { 
					NOT = {
						has_war_with = ROOT
						is_ally_with = ROOT
					}
				} 
			}
			OR = {
				AND = {
					custom_trigger_tooltip = {
						tooltip = JAP_demand_tonkinese_bases_tt
						671 = { 
							CONTROLLER = { 
								OR = { 
									tag = FRA 
									tag = VIC 
									is_subject_of = FRA
									is_subject_of = VIC
								} 
							}
						}
					}
					OR = {
						AND = {
							has_war_support > 0.9
						}
						16 = { NOT = { is_controlled_by = FRA } } #Paris has fallen
					}
				}
				custom_trigger_tooltip = {
					tooltip = JAP_demand_tonkinese_bases_2_tt
					671 = { 
						CONTROLLER = { 
							NOT = {
								tag = FRA 
								tag = VIC 
								is_subject_of = FRA
								is_subject_of = VIC
							}
						}
					}
				}
			}
			1033 = { 
				CONTROLLER = { 
					OR = {
						has_war_with = ROOT
						is_ally_with = ROOT
					}
				} 
			}
		}

		bypass = {
			671 = { 
				CONTROLLER = { 
					OR = {
						has_war_with = ROOT
						is_ally_with = ROOT
					}
				} 
			}
		}

		will_lead_to_war_with = FRA
		will_lead_to_war_with = VIN

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			
			671 = {
				OWNER = {
					country_event = {
						id = SEA_japan_foreign_policy.10
						days = 1
						random_days = 2
					}
				}
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				add_political_power = 25
				transfer_state = 671
			}
			
		}
	}

	focus = {
		id = JAP_occupy_indochina
		icon = GFX_focus_JAP_occupy_indochina
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_demand_tonkinese_bases

		prerequisite = { focus = JAP_demand_tonkinese_bases }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				286 = { 
					CONTROLLER = { 
						NOT = {
							has_war_with = ROOT
							is_ally_with = ROOT
						}
					} 
				}
				670 = { 
					CONTROLLER = { 
						NOT = {
							has_war_with = ROOT
							is_ally_with = ROOT
						}
					} 
				}
				1017 = { 
					CONTROLLER = { 
						NOT = {
							has_war_with = ROOT
							is_ally_with = ROOT
						}
					} 
				}
				741 = { 
					CONTROLLER = { 
						NOT = {
							has_war_with = ROOT
							is_ally_with = ROOT
						}
					} 
				}
			}

			OR = {
				AND = {
					16 = { NOT = { is_controlled_by = FRA } } #Paris has fallen
					custom_trigger_tooltip = {
						tooltip = demand_indochina_focus_tt
						OR = {
							286 = { 
								CONTROLLER = { 
									OR = { 
										tag = FRA 
										tag = VIC
										is_subject_of = FRA
										is_subject_of = VIC 
									}  
								}
							}
							670 = { 
								CONTROLLER = { 
									OR = { 
										tag = FRA 
										tag = VIC 
										is_subject_of = FRA
										is_subject_of = VIC
									} 
								}
							}
							741 = { 
								CONTROLLER = { 
									OR = { 
										tag = FRA 
										tag = VIC 
										is_subject_of = FRA
										is_subject_of = VIC
									} 
								}
							}
							1017 = { 
								CONTROLLER = { 
									OR = { 
										tag = FRA 
										tag = VIC 
										is_subject_of = FRA
										is_subject_of = VIC
									} 
								}
							}
						}
					}
				}
				custom_trigger_tooltip = {
					tooltip = JAP_occupy_indochina_tt
					OR = {
						286 = { 
							CONTROLLER = { 
								NOT = { 
									tag = FRA 
									tag = VIC
									is_subject_of = FRA
									is_subject_of = VIC 
								} 
							}
						}
						670 = { 
							CONTROLLER = { 
								NOT = { 
									tag = FRA 
									tag = VIC 
									is_subject_of = FRA
									is_subject_of = VIC
								} 
							}
						}
						741 = { 
							CONTROLLER = { 
								NOT = { 
									tag = FRA 
									tag = VIC 
									is_subject_of = FRA
									is_subject_of = VIC
								} 
							}
						}
						1017 = { 
							CONTROLLER = { 
								NOT = { 
									tag = FRA 
									tag = VIC 
									is_subject_of = FRA
									is_subject_of = VIC
								} 
							}
						}
					}
				}
			}
			
		}

		bypass = {

		}

		will_lead_to_war_with = FRA
		will_lead_to_war_with = VIN
		will_lead_to_war_with = CAM
		will_lead_to_war_with = LAO
		will_lead_to_war_with = CHM

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ANNEXATION }

		completion_reward = {
				
			IF = {
				limit = {
					FRA = {
						OR = {
							controls_state = 670
							670 = { CONTROLLER = { is_subject_of = FRA } }
							controls_state = 286
							286 = { CONTROLLER = { is_subject_of = FRA } }
							controls_state = 1017
							1017 = { CONTROLLER = { is_subject_of = FRA } }
							controls_state = 741
							741 = { CONTROLLER = { is_subject_of = FRA } }
						}
					}
				}
				FRA = { 
					country_event = { 
						id = france.1 
						hours = 12
						random_hours = 24
					} 
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			ELSE_IF = {
				limit = {
					VIC = {
						OR = {
							controls_state = 670
							controls_state = 286
							controls_state = 1017
							controls_state = 741
							670 = { CONTROLLER = { is_subject_of = VIC } }
							286 = { CONTROLLER = { is_subject_of = VIC } }
							1017 = { CONTROLLER = { is_subject_of = VIC } }
							741 = { CONTROLLER = { is_subject_of = VIC } }
						}
					}
				}
				VIC = { 
					country_event = { 
						id = france.1 
						hours = 12
						random_hours = 24
					} 
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			IF = {
				limit = {
					any_state = {
						OR = {
							state = 670
							state = 286
							state = 1017
							state = 741
							state = 728
						}
						OWNER = {
							NOT = {
								original_tag = FRA
								is_subject_of = FRA
								is_subject_of = VIC
							}
							OR = {
								original_tag = VIN
								original_tag = CAM
								original_tag = LAO
								original_tag = CHM
								original_tag = SIA
								original_tag = BRM
								original_tag = GXC
								original_tag = GDC
								original_tag = YUN
							}
						}
					}
				}
				every_other_country = {
					limit = {
						OR = {
							owns_state = 670
							owns_state = 286
							owns_state = 1017
							owns_state = 741
							owns_state = 728
						}
						NOT = {
							original_tag = FRA
							is_subject_of = FRA
							is_subject_of = VIC
						}
						OR = {
							original_tag = VIN
							original_tag = CAM
							original_tag = LAO
							original_tag = CHM
							original_tag = SIA
							original_tag = BRM
							original_tag = GXC
							original_tag = GDC
							original_tag = YUN
						}
					}
			ROOT = {
annex_country = { target = VIN transfer_troops = yes }
			
			VIN = {
				transfer_units_fraction= {
					target = SIA
					size = 1
					stockpile_ratio = 1
					army_ratio = 1
					navy_ratio = 1
					air_ratio = 1
				}
			}
			every_state = {
				limit = {is_core_of = VIN}
				set_compliance = 200
			}
		}
		}
				}
			} 
			
		}
	
	focus = {
		id = JAP_sea_pressure_siam
		icon = GFX_focus_generic_befriend_siam
		mutually_exclusive = { focus = JAP_occupy_siam }
		x = -1
		y = 2
		relative_position_id = JAP_demand_tonkinese_bases

		prerequisite = { focus = JAP_demand_tonkinese_bases }

		cost = 2

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			is_faction_leader = yes
			SIA = {
				exists = yes
				is_subject = no
				is_in_faction = no
				NOT = {
					has_war_with = ROOT
				}
			}
		}

		bypass = {
			SIA = {
				is_ally_with = ROOT
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			set_autonomy = {
					target = SIA
					autonomous_state = autonomy_wtt_imperial_protectorate
					end_wars = no
					end_civil_wars = no
				}
				ROOT = {
					add_to_faction = SIA
				}
			SIA = {
			add_ideas = JAP_Close_economi
			custom_effect_tooltip = generic_skip_one_line_tt


			}
		}
			}

	focus = {
		id = JAP_occupy_siam
		icon = GFX_focus_generic_attack_siam
		mutually_exclusive = { focus = JAP_sea_pressure_siam }
		x = 1
		y = 2
		relative_position_id = JAP_demand_tonkinese_bases

		prerequisite = { focus = JAP_demand_tonkinese_bases }

		cost = 2

		ai_will_do = {
			factor = 1
		}

		available = {
			SIA = {
				 is_ai = yes 
				exists = yes
				NOT = {
					has_war_with = ROOT
					is_ally_with = ROOT
				}
			}
		}

		bypass = {
			SIA = {
				has_war_with = ROOT
			}
		}

		will_lead_to_war_with = SIA

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			annex_country = { target = SIA transfer_troops = yes }
			
			SIA = {
				transfer_units_fraction= {
					target = SIA
					size = 1
					stockpile_ratio = 1
					army_ratio = 1
					navy_ratio = 1
					air_ratio = 1
				}
			}
			every_state = {
				limit = { is_core_of = SIA }
				add_core_of = ROOT
			}
			SIA = {
			    every_unit_leader = {
					set_nationality = JAP
			    }
			}
		}
	}
	
	focus = {
		id = JAP_strike_the_southern_road
		icon = GFX_focus_jap_strike_south
		#mutually_exclusive = { focus = JAP_sea_pressure_siam }
		x = -1
		y = 1
		relative_position_id = JAP_occupy_siam

		prerequisite = { focus = JAP_sea_pressure_siam  }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			IF = {
				limit = {
					is_ai = no
				}
				JAP_naval_faction_is_at_least_influential = yes
			}
			OR = {
				has_government = fascism
				AND = {
					has_war_support > 0.95
					has_army_manpower = { size > 999999 }
				}
			}
		}

		bypass = {
			OR = {			
				has_wargoal_against = INS
				has_war_with = INS
			}
			OR = {
				has_wargoal_against = MAL
				has_war_with = MAL
			}
			OR = {
				has_wargoal_against = PHI
				has_war_with = PHI
			}
			OR = {
				AND = {
					671 = {
						NOT = { is_controlled_by = FRA }
					}
					670 = {
						NOT = { is_controlled_by = FRA }
					}
					286 = {
						NOT = { is_controlled_by = FRA }
					}
					741 = {
						NOT = { is_controlled_by = FRA }
					}
				}
				has_wargoal_against = FRA
				has_war_with = FRA
			}
		}

		will_lead_to_war_with = PHI
		will_lead_to_war_with = MAL
		will_lead_to_war_with = ENG
		will_lead_to_war_with = FRA
		will_lead_to_war_with = SNG
		will_lead_to_war_with = INS
		will_lead_to_war_with = HOL
		will_lead_to_war_with = SAR
		will_lead_to_war_with = SAB
		will_lead_to_war_with = BRN
		will_lead_to_war_with = BRM
		will_lead_to_war_with = WPG

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ANNEXATION FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {
				
			IF = {
				limit = {
					PHI = {
						exists = yes
						NOT = {
							is_ally_with = ROOT
							has_war_with = ROOT
						}
					}
				}
				create_wargoal = {
					target = PHI
					type = puppet_wargoal_focus
					expire = 0
				}
				add_ai_strategy = {
					type = conquer
					id = PHI
					value = 200
				}
			}

			IF = {
				limit = {
					country_exists = INS
					NOT = { 
						has_wargoal_against = INS 
						has_war_with = INS
					}
					IF = {
						limit = {
							INS = { is_subject_of = HOL }
						}
						OR = {
							has_country_flag = HOL_declare_war_indies_allowed
							HOL = { NOT = { has_completed_focus = HOL_placate_the_japanese } }
						}
					}
				}
				create_wargoal = {
					target = INS
					type = annex_everything
					expire = 0
				}
				add_ai_strategy = {
					type = conquer
					id = INS
					value = 200
				}

				IF = {
					limit = {
						INS = {
							any_core_state = {
								NOT = {
									is_owned_and_controlled_by = INS
								}
							}
						}
					}

					INS = { #I see what you are doing you cheeky exploiter
						every_core_state = {
							limit = {
								NOT = { is_owned_and_controlled_by = PREV }
							}

							ROOT = {
								create_wargoal = {
									target = PREV.controller
									type = annex_everything
									expire = 0
								}
							}
						}
					}
				}
			}
			IF = {
				limit = {
					INS = { exists = no }
					335 = {
						CONTROLLER = {
							NOT = {
								is_in_faction_with = ROOT
							}
						}
					}
					IF = {
						limit = {
							335 = {
								CONTROLLER = {
									tag = HOL
								}
							}
						}
						OR = {
							has_country_flag = HOL_declare_war_indies_allowed
							HOL = { NOT = { has_completed_focus = HOL_placate_the_japanese } }
						}
					}
				}
				335 = {
					OWNER = {
						ROOT = {
							create_wargoal = {
								target = PREV
								type = take_state_focus
								expire = 0
								generator = { 335 334 672 673 668 667 669 738 }
							}
							add_ai_strategy = {
								type = conquer
								id = PREV
								value = 200
							}
						}
					}
				}
			}
			IF = {
				limit = {
					NOT = { has_wargoal_against = MAL }
					NOT = { has_war_with = MAL }
					country_exists = MAL
				}
				create_wargoal = {
					target = MAL
					type = annex_everything
					expire = 0
				}
				add_ai_strategy = {
					type = conquer
					id = MAL
					value = 200
				}
			}
			IF = {
				limit = {
					MAL = { exists = no }
					336 = {
						CONTROLLER = {
							NOT = {
								is_in_faction_with = ROOT
							}
						}
					}
				}
				336 = {
					OWNER = {
						ROOT = {
							create_wargoal = {
								target = PREV
								type = take_state_focus
								expire = 0
								generator = { 336 }
							}
							add_ai_strategy = {
								type = conquer
								id = PREV
								value = 200
							}
						}
					}
				}
			}
			IF = {
				limit = {
					OR = {
						671 = {
							is_controlled_by = FRA
						}
						670 = {
							is_controlled_by = FRA
						}
						286 = {
							is_controlled_by = FRA
						}
						741 = {
							is_controlled_by = FRA
						}
					}
					NOT = { has_wargoal_against = FRA }
					NOT = { has_war_with = FRA }
				}
				#Might be generating on states FRA does not own, but not worth the time to get it exact. Should have no gameplay impact.
				create_wargoal = {
					target = FRA
					type = take_state_focus
					expire = 0
					generator = { 671 670 286 741 }
				}
			}
			IF = {
				limit = {
					NOT = { has_wargoal_against = WPG }
					NOT = { has_war_with = WPG }
					country_exists = WPG
				}
				create_wargoal = {
					target = WPG
					type = annex_everything
					expire = 0
				}
				add_ai_strategy = {
					type = conquer
					id = WPG
					value = 200
				}
			}
			IF = {
				limit = {
					NOT = { has_wargoal_against = SNG }
					NOT = { has_war_with = SNG }
					country_exists = SNG
				}
				create_wargoal = {
					target = SNG
					type = annex_everything
					expire = 0
				}
				add_ai_strategy = {
					type = conquer
					id = SNG
					value = 200
				}
			}
			IF = {
				limit = {
					NOT = { has_wargoal_against = SAR }
					NOT = { has_war_with = SAR }
					country_exists = SAR
				}
				create_wargoal = {
					target = SAR
					type = annex_everything
					expire = 0
				}
				add_ai_strategy = {
					type = conquer
					id = SAR
					value = 200
				}
			}
			IF = {
				limit = {
					NOT = { has_wargoal_against = SAB }
					NOT = { has_war_with = SAB }
					country_exists = SAB
				}
				create_wargoal = {
					target = SAB
					type = annex_everything
					expire = 0
				}
				add_ai_strategy = {
					type = conquer
					id = SAB
					value = 200
				}
			}
			IF = {
				limit = {
					NOT = { has_wargoal_against = BRN }
					NOT = { has_war_with = BRN }
					country_exists = BRN
				}
				create_wargoal = {
					target = BRN
					type = annex_everything
					expire = 0
				}
				add_ai_strategy = {
					type = conquer
					id = BRN
					value = 200
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = {
				decision = JAP_establish_the_state_of_burma_decision
				show_effect_tooltip = no 
			}
			unlock_decision_tooltip = {
				decision = JAP_establish_the_provisional_government_of_free_india_decision
				show_effect_tooltip = no 
			}	
			unlock_decision_tooltip = {
				decision = JAP_establish_the_second_philippine_republic_decision
				show_effect_tooltip = no 
			}	

		}

	}

	

	focus = {
		id = JAP_occupy_east_timor
		icon = GFX_focus_generic_attack_timor
		#mutually_exclusive = { focus = JAP_sea_pressure_siam }
		x = 0
		y = 1
		relative_position_id = JAP_strike_the_southern_road

		prerequisite = { focus = JAP_strike_the_southern_road }

		cost = 1

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			667 = {
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
			721 = {
				OWNER = {
					has_war = no
					OR = {
						original_tag = POR
						original_tag = TML
					}
					NOT = {
						is_ally_with = ROOT
					}
					controls_state = 721
				}
			}
		}

		bypass = {

		}

		will_lead_to_war_with = POR
		will_lead_to_war_with = TML

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			
			IF = {
				limit = {
					721 = {
						is_owned_by = TML
					}
				}
				create_wargoal = {
					type = puppet_wargoal_focus
					target = TML
					expire = 0
				}	
			}
			ELSE_IF = {
				limit = {
					721 = {
						is_owned_by = POR
					}
				}
				custom_effect_tooltip = JAP_occupy_east_timor_tt
				POR = {
					country_event = { 
						id = SEA_japan_foreign_policy.13
						days = 1
						random_days = 2
					}	
				} 

				custom_effect_tooltip = generic_skip_one_line_tt

				721 = {
					transfer_state_to = ROOT
				}
			}
			
		}
	}



	focus = {
		id = JAP_hokushin_ron
		icon = GFX_focus_JAP_hokushin_ron
		x = -13
		y = 1
		relative_position_id = JAP_sea_purge_the_kodoha_faction


		prerequisite = { focus = JAP_sea_purge_the_kodoha_faction  }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			JAP_army_faction_is_not_subdued = yes
			OR = {
				NOT = {
					has_completed_focus = JAP_nanshin_ron
				}
				AND = {
					has_country_flag = {
					 	flag = JAP_nanshin_ron_started_flag
					 	days > 180
					} 
					custom_trigger_tooltip = {
						tooltip = JAG_nanshin_ron_focus_days_tt
						has_country_flag = {
							flag = JAP_nanshin_ron_started_flag
							days > 180
						}
					}
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ARMY_XP FOCUS_FILTER_AIR_XP FOCUS_FILTER_MANPOWER }

		completion_reward = {

			army_experience = 10
			air_experience = 5

			custom_effect_tooltip = generic_skip_one_line_tt

			add_doctrine_cost_reduction = {
				name = JAP_strike_north_doctrine
				cost_reduction = 1
				uses = 4
				category = land_doctrine	
			}

			hidden_effect = {
				set_country_flag = JAP_hokushin_ron_started_flag # Used to temporarily block the Nanshin-ron focuses
			}	
			
		}
	}

	focus = {
		id = JAP_strenghten_manchukuo_imperial_army
		icon = GFX_focus_JAP_strenghten_manchukuo_imperial_army
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = -2
		y = 1
		relative_position_id = JAP_hokushin_ron

		prerequisite = { focus = JAP_hokushin_ron }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			MAN = {
				exists = yes
				is_ally_with = ROOT
			}
		}

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			MAN = {
				army_experience = 50
				add_manpower = 20000
				custom_effect_tooltip = generic_skip_one_line_tt
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = 500
					producer = JAP
				}
				add_equipment_to_stockpile = { 
					type = support_equipment
					amount = 150
					producer = JAP
				}	
				custom_effect_tooltip = generic_skip_one_line_tt
				add_doctrine_cost_reduction = {
					name = JAP_build_up_the_manchurian_army
					cost_reduction = 0.5
					uses = 2
					category = land_doctrine	
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				add_autonomy_ratio = {
					value = -0.08333
					localization = JAP_build_up_the_manchurian_army
				}
			}
				
			
		}
	}

	focus = {
		id = JAP_strenghten_manchukuo_imperial_airforce
		icon = GFX_focus_JAP_strenghten_manchukuo_imperial_airforce
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_strenghten_manchukuo_imperial_army

		prerequisite = { focus = JAP_strenghten_manchukuo_imperial_army }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			MAN = {
				exists = yes
				is_ally_with = ROOT
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {
			
			MAN = {
				air_experience = 25
				add_breakthrough_progress = {
					specialization = specialization_air
					value = 0.5
				}

				custom_effect_tooltip = generic_skip_one_line_tt

				add_tech_bonus = {
					name = JAP_create_a_manchurian_imperial_air_force
					bonus = 1.0
					uses = 1
					category = tactical_bomber
					category = cat_strategic_bomber
					category = naval_bomber
					category = cas_bomber
				}
				add_tech_bonus = {
					name = JAP_create_a_manchurian_imperial_air_force
					bonus = 1.0
					uses = 1
					category = light_fighter
					category = cat_heavy_fighter
				}

				custom_effect_tooltip = generic_skip_one_line_tt

				every_owned_state = {
					limit = {
						is_fully_controlled_by = MAN
						is_owned_by = MAN
					}
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
				}

				custom_effect_tooltip = generic_skip_one_line_tt

				add_autonomy_ratio = {
					value = -0.08333
					localization = JAP_build_up_the_manchurian_army
				}
			}
			
		}
	}

	focus = {
		id = JAP_utilize_ainu_expertise
		icon = GFX_focus_JAP_utilize_ainu_expertise
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_hokushin_ron

		prerequisite = { focus = JAP_hokushin_ron }

		cost = 3

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			hidden_effect = {

				delete_unit_template_and_units = {
					division_template = "Ainu Giyū-tai"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Ainu Giyū-tai"
					division_names_group = JAP_INF_01
					role = garrison
					override_model = JAP_infantry_alt_0_entity
					template_counter = 110
					is_locked = no
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 2 y = 0 }
					}
					support = {
						recon = { x = 0 y = 0 }
						engineer = { x = 0 y = 1 }
					}
				}

			}

			add_ideas = JAP_utilizing_ainu_expertize

			hidden_effect = {
				set_technology = {
					SWE_sami_support_tech = 1
					popup = no
				}
			}

			custom_effect_tooltip = SWE_sami_support_tech_tt
			
		}
	}

	focus = {
		id = JAP_kantokuen
		icon = GFX_goal_generic_occupy_states_ongoing_war
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_utilize_ainu_expertise

		prerequisite = { focus = JAP_utilize_ainu_expertise }

		cost = 2

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ARMY_XP }

		completion_reward = {

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

			army_experience = 25

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = FIN_winter_warfare_battalion_tt

			hidden_effect = {
				set_technology = {
					winter_logistics_support_tech = 1
					popup = no
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					714 = {
						free_building_slots = {
							building = supply_node
							size > 0
							province = 7832
						}	
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				714 = {
					add_building_construction = {
						type = supply_node
						level = 1
						instant_build = yes
						province =  7832
					}	
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			
			every_owned_state = {
				limit = {
					is_fully_controlled_by = ROOT
					any_neighbor_state = {
						OR = {
							is_controlled_by = SOV
							AND = {
								is_controlled_by = MON
								MON = { is_in_faction_with = SOV }
							}
							AND = {
								is_controlled_by = SIK
								SIK = { is_in_faction_with = SOV }
							}
							AND = {
								is_controlled_by = TAN
								TAN = { is_in_faction_with = SOV }
							}
						}
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			
		}
	}

	focus = {
		id = JAP_the_persimmon_has_ripened
		icon = GFX_focus_JAP_the_persimmon_has_ripened
		x = 0
		y = 1
		relative_position_id = JAP_kantokuen

		prerequisite = { focus = JAP_kantokuen }

		cost = 5

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				OR = {
					has_war_with = ENG
					has_war_with = USA
				}
				NOT = {
					controls_state = 422
					controls_state = 629
					controls_state = 285
				}
			}
		}


		available = {
			and = {		
				336 = {
					controller = {
						OR ={
							tag = JAP
							is_in_faction_with = JAP
						}
					}
				}
				430 = {
					controller = {
						OR ={
							tag = JAP
							is_in_faction_with = JAP
						}
					}
				}
				423 = {
					controller = {
						OR ={
							tag = JAP
							is_in_faction_with = JAP
						}
					}
				}
				439 = {
					controller = {
						OR ={
							tag = JAP
							is_in_faction_with = JAP
						}
					}
				}
				444 = {
					controller = {
						OR ={
							tag = JAP
							is_in_faction_with = JAP
						}
					}
				}	
				672 = {
					controller = {
						OR ={
							tag = JAP
							is_in_faction_with = JAP
						}
					}
				}				
				333 = {
					controller = {
						OR ={
							tag = JAP
							is_in_faction_with = JAP
						}
					}
				}
				334 = {
					controller = {
						OR ={
							tag = JAP
							is_in_faction_with = JAP
						}
					}
				}
				335 = {
					controller = {
						OR ={
							tag = JAP
							is_in_faction_with = JAP
						}
					}
				}				
			}
		}

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

		will_lead_to_war_with = SOV
		will_lead_to_war_with = MON
		will_lead_to_war_with = TAN

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {

			declare_war_on = { target = SOV    type = take_state_focus } 
			declare_war_on = { target = MON    type = take_state_focus } 
			declare_war_on = { target = TAN    type = take_state_focus } 			
			MAN = {
				declare_war_on = { target = SOV    type = take_state_focus }
				declare_war_on = { target = MON    type = take_state_focus } 
				declare_war_on = { target = TAN    type = take_state_focus } 					
			}
			SIA = {
				declare_war_on = { target = SOV    type = take_state_focus } 		
				declare_war_on = { target = MON    type = take_state_focus } 
				declare_war_on = { target = TAN    type = take_state_focus } 	
			}	
			
			if = {
				limit = {
					has_country_flag = Jap_victory_on_Hassan
				}
				
				add_timed_idea = {
					idea = Jap_war_with_sov
					days = 180
				}
				MAN = {
					add_timed_idea = {
						idea = Jap_war_with_sov
						days = 180
					}				
				}
			}
			
			hidden_effect = {
			408 = {								
				create_unit = {
					division = "name = \"Мотострелковая дивизия НКВД\" division_template = \"Мотострелковая дивизия НКВД\" start_experience_factor = 0.3" 
					owner = SOV
					count = 6	
					prioritize_location = 957						
				}			
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 11879						
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 3977						
				}		
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 6838						
				}	
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 3787						
				}	
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 6684						
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 664						
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 6686						
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 11643						
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 957						
				}				
			}
			409 = {										
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 10466					
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 6	
					prioritize_location = 12189						
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 9604						
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 7868						
				}				
			}	
			657 = {											
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 4805						
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 7672						
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 10722						
				}	
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 7801						
				}	
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 10655						
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 4725						
				}		
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 7763						
				}				
			}
			561 = {											
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 12657						
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 10678						
				}		
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 7851						
				}				
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 12543						
				}				
			}
			563 = {								
				create_unit = {
					division = "name = \"Мотострелковая дивизия НКВД\" division_template = \"Мотострелковая дивизия НКВД\" start_experience_factor = 0.3" 
					owner = SOV
					count = 6	
					prioritize_location = 4677							
				}			
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 10559						
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 12622						
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 4719						
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 4677						
				}	
			}	
			819 = {								
		
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 4792						
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 12557						
				}	
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 1743						
				}	
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 12629						
				}		
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 4873						
				}					
			}	
			817 = {											
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 10575						
				}	
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 4655						
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 1723						
				}	
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 1853						
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 12539						
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 10558						
				}		
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 10689						
				}	
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 4786						
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 1781						
				}	
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 10560						
				}	
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 1855						
				}					
			}
			818 = {										
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 7808						
				}	
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 7870						
				}					
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 1774						
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 10539						
				}	
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 4751						
				}
			}
			654 = {											
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 10713						
				}					
			}	
			588 = {											
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 1749						
				}	
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 1818						
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 10610						
				}				
			}			
			586 = {											
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 4845						
				}	
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 1840						
				}				
			}				
			589 = {								
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 12662						
				}
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 13197						
				}				
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 12529						
				}		
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 10619						
				}				
			}
			732 = {											
				create_unit = {
					division = "name = \"Народное ополченеие\" division_template = \"Народное ополченеие\" start_experience_factor = 0.1" 
					owner = SOV
					count = 3	
					prioritize_location = 4923						
				}	
			}			
		}
	}
	}

	
	###############################
	######### SEA INDUSTRY ########
	###############################

	focus = {
		id = JAP_ministry_of_commerce_and_industry
		icon = GFX_focus_JAP_ministry_of_commerce_and_industry
		
		mutually_exclusive = {
		}
		
		relative_position_id = JAP_sea_purge_the_kodoha_faction
		x = 16
		y = 0

		offset = {
			x = -62
			y = 0
			trigger = {
				AND = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
					has_completed_focus = JAP_okadas_military_purge_speech
				}
			}
		}

		offset = {
			x = -42
			y = 0
			trigger = {
				AND = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
					has_completed_focus = JAP_revere_the_emperor_destroy_the_traitors
				}
			}
		}

		offset = {
			x = -50
			y = 0
			trigger = {
				AND = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
					has_completed_focus = JAP_support_the_kodoha_faction
				}
			}
		}

		offset = {
			x = -55
			y = 0
			trigger = {
				AND = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
					has_completed_focus = JAP_strengthen_civilian_government
				}
			}
		}

		offset = {
			x = -53
			y = 0
			trigger = {
				AND = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
					has_completed_focus = JAP_the_unthinkable_option
				}
			}
		}

		offset = {
			x = -4
			y = 0
			trigger = {
				AND = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
					has_completed_focus = JAP_a_red_sun_rises_for_a_new_era
				}
			}
		}

		offset = {
			x = -4
			y = 0
			trigger = {
				AND = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
					has_completed_focus = JAP_organize_a_general_election
				}
			}
		}

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					NOT = {
						has_state_category = small_island
						has_state_category = tiny_island
					}
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}	
				prioritize = { 531 532 528 }
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_early_industrialization = yes

			add_to_variable = { JAP_industry_consumer_goods_factor = -0.05 tooltip = consumer_goods_factor_tt }
				
		}

	}

	focus = {
		id = JAP_continue_takahashi_korekiyos_policies
		icon = GFX_goal_generic_construct_civ_factory
		
		mutually_exclusive = {
			focus = JAP_increase_armament_spending
		}

		prerequisite = { focus = JAP_ministry_of_commerce_and_industry }
		
		relative_position_id = JAP_ministry_of_commerce_and_industry
		x = 3
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_civilian_government_faction_is_not_subdued = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					NOT = {
						has_state_category = small_island
						has_state_category = tiny_island
					}
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}	
				prioritize = { 531 532 528 }
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_early_industrialization = yes

			add_to_variable = { JAP_industry_consumer_goods_factor = -0.1 tooltip = consumer_goods_factor_tt }
			add_to_variable = { JAP_industry_production_speed_arms_factory_factor = -0.05 tooltip = production_speed_arms_factory_factor_tt }
			add_to_variable = { JAP_industry_production_speed_dockyard_factor = -0.05 tooltip = production_speed_dockyard_factor_tt }
			
		}

	}

	focus = {
		id = JAP_increase_armament_spending
		icon = GFX_focus_generic_military_industry
		
		mutually_exclusive = {
			focus = JAP_continue_takahashi_korekiyos_policies
		}

		prerequisite = { focus = JAP_ministry_of_commerce_and_industry }
		
		relative_position_id = JAP_ministry_of_commerce_and_industry
		x = 5
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					NOT = {
						has_state_category = small_island
						has_state_category = tiny_island
					}
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}	
				prioritize = { 531 532 528 }
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_early_industrialization = yes

			add_to_variable = { JAP_industry_consumer_goods_factor = 0.05 tooltip = consumer_goods_factor_tt }
			add_to_variable = { JAP_industry_production_speed_arms_factory_factor = 0.05 tooltip = production_speed_arms_factory_factor_tt }
			add_to_variable = { JAP_industry_production_speed_dockyard_factor = 0.05 tooltip = production_speed_dockyard_factor_tt }
			
		}

	}

	focus = {
		id = JAP_approach_mitsui
		icon = GFX_focus_JAP_approach_mitsui
		overlay = GFX_focus_fast_overlay_generic_clock
		
		enable_automatic_bypass = no

		prerequisite = { focus = JAP_continue_takahashi_korekiyos_policies focus = JAP_increase_armament_spending }
		
		relative_position_id = JAP_continue_takahashi_korekiyos_policies
		x = -2
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_zaibatsu_faction_is_not_subdued = yes
		}

		bypass = {
			has_idea = JAP_zaibatsu_faction_tier_1
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_IMPERIAL_INFLUENCE FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			JAP_small_zaibatsu_faction_gain = yes

			custom_effect_tooltip = generic_skip_one_line_tt

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					NOT = {
						has_state_category = small_island
						has_state_category = tiny_island
					}
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}	
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = JAP_approach_mitsui
				bonus = 0.5
				uses = 1
				category = cat_production
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_early_industrialization = yes

			add_to_variable = { JAP_industry_industrial_capacity_factory = 0.05 tooltip = industrial_capacity_factory_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = mitsui_bank

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = JAP_reduce_zaibatsu_focus_cost_tt

		}

	}

	focus = {
		id = JAP_approach_mitsubishi
		icon = GFX_focus_JAP_approach_mitsubishi
		overlay = GFX_focus_fast_overlay_generic_clock
		
		enable_automatic_bypass = no

		prerequisite = { focus = JAP_continue_takahashi_korekiyos_policies focus = JAP_increase_armament_spending }
		
		relative_position_id = JAP_continue_takahashi_korekiyos_policies
		x = 0
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_zaibatsu_faction_is_not_subdued = yes
		}

		bypass = {
			has_idea = JAP_zaibatsu_faction_tier_1
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_IMPERIAL_INFLUENCE FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {
			
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:JAP_mitsubishi_organization = {
					add_mio_funds_gain_factor = 0.15
				}
				mio:JAP_mitsubishi_heavy_industries_organization = {
					add_mio_funds_gain_factor = 0.15
				}
				mio:JAP_mitsubishi_kobe_shipyard_organization = {
					add_mio_funds_gain_factor = 0.15
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			JAP_small_zaibatsu_faction_gain = yes

			custom_effect_tooltip = generic_skip_one_line_tt

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					NOT = {
						has_state_category = small_island
						has_state_category = tiny_island
					}
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}	
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			add_tech_bonus = {
				name = JAP_approach_mitsubishi
				bonus = 0.5
				uses = 1
				category = naval_equipment
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_early_industrialization = yes

			add_to_variable = { JAP_industry_industrial_capacity_dockyard = 0.05 tooltip = industrial_capacity_dockyard_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = mitsubishi_civilian

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_koyata_iwasaki

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = JAP_reduce_zaibatsu_focus_cost_tt
			
		}

	}

	focus = {
		id = JAP_approach_sumitomo
		icon = GFX_focus_JAP_approach_sumitomo
		overlay = GFX_focus_fast_overlay_generic_clock
		
		enable_automatic_bypass = no

		prerequisite = { focus = JAP_continue_takahashi_korekiyos_policies focus = JAP_increase_armament_spending }
		
		relative_position_id = JAP_continue_takahashi_korekiyos_policies
		x = 2
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_zaibatsu_faction_is_not_subdued = yes
		}

		bypass = {
			has_idea = JAP_zaibatsu_faction_tier_1
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_IMPERIAL_INFLUENCE FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			JAP_small_zaibatsu_faction_gain = yes

			custom_effect_tooltip = generic_skip_one_line_tt

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					NOT = {
						has_state_category = small_island
						has_state_category = tiny_island
					}
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}	
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			add_tech_bonus = {
				name = JAP_approach_sumitomo
				bonus = 0.5
				uses = 1
				category = excavation_tech
			}
			add_tech_bonus = {
				name = JAP_approach_sumitomo
				bonus = 0.5
				uses = 1
				category = electronics
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_early_industrialization = yes

			add_to_variable = { JAP_industry_local_resources_factor = 0.05 tooltip = local_resources_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = sumitomo

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = JAP_reduce_zaibatsu_focus_cost_tt
			
		}

	}

	focus = {
		id = JAP_approach_yasuda
		icon = GFX_focus_JAP_approach_yasuda
		overlay = GFX_focus_fast_overlay_generic_clock
		
		enable_automatic_bypass = no

		prerequisite = { focus = JAP_continue_takahashi_korekiyos_policies focus = JAP_increase_armament_spending }
		
		relative_position_id = JAP_continue_takahashi_korekiyos_policies
		x = 4
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_zaibatsu_faction_is_not_subdued = yes
		}

		bypass = {
			has_idea = JAP_zaibatsu_faction_tier_1
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_IMPERIAL_INFLUENCE FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			JAP_small_zaibatsu_faction_gain = yes

			custom_effect_tooltip = generic_skip_one_line_tt

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					NOT = {
						has_state_category = small_island
						has_state_category = tiny_island
					}
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}	
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			add_tech_bonus = {
				name = JAP_approach_yasuda
				bonus = 0.5
				uses = 1
				category = construction_tech
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_early_industrialization = yes

			add_to_variable = { JAP_industry_consumer_goods_factor = -0.05 tooltip = consumer_goods_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = yasuda_zaibatsu

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = JAP_reduce_zaibatsu_focus_cost_tt
			
		}

	}

	focus = {
		id = JAP_fund_the_riken_institute
		icon = GFX_focus_research
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_approach_yasuda focus = JAP_approach_mitsui focus = JAP_approach_sumitomo focus = JAP_approach_mitsubishi }
		relative_position_id = JAP_approach_mitsubishi
		x = 1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			num_of_civilian_factories > 34
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_IMPERIAL_INFLUENCE FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			add_research_slot = 1

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_early_industrialization = yes

			add_to_variable = { JAP_industry_research_speed_factor = 0.03 tooltip = research_speed_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					NOT = {
						JAP_zaibatsu_faction_is_at_least_influential = yes
					}
				}
				custom_effect_tooltip = JAP_fund_the_riken_institute_tt
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			ELSE_IF = {
				limit = {
					JAP_zaibatsu_faction_is_at_least_influential = yes
				}
				IF = {
					limit = {
						282 = { # Saitama/Kanto
							is_fully_controlled_by = ROOT
							can_construct_building = nuclear_facility
						}
					}
					282 = {
						# RIKEN Institute
						add_building_construction = {
							type = nuclear_facility
							level = 1
							instant_build = yes
							province = 1097 # Saitama
						}
					}
					custom_effect_tooltip = generic_skip_one_line_tt
				}
				ELSE = {
					random_core_state = {
						limit = {
							can_construct_building = nuclear_facility
							is_owned_and_controlled_by = ROOT
						}
						construct_building_in_random_province = {
							nuclear_facility = 1
						}
					}
					custom_effect_tooltip = generic_skip_one_line_tt
				}
			}

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_masatoshi_okochi

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = {
				localization_key = available_scientist_one_line_tt
				CHARACTER = JAP_yoshio_nishina
			}
			
		}

	}

	focus = {
		id = JAP_build_the_nishotaki_and_miyanaka_dams
		icon = GFX_focus_generic_hydroelectric_energy
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_fund_the_riken_institute }
		relative_position_id = JAP_fund_the_riken_institute
		x = -2
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			534 = {
				is_fully_controlled_by = ROOT
			}	
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			add_stability = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			534 = {
				add_building_construction = {
					type = dam
					level = 1
					instant_build = yes
					province = {
						id = 11989
					}
				}
			}
			custom_effect_tooltip = {
				localization_key = building_state_modifier|dam
				INDENT = "    "
			}
		}

	}

	focus = {
		id = JAP_establish_synthetic_fuel_joint_venture
		icon = GFX_goal_generic_oil_refinery
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_fund_the_riken_institute }
		relative_position_id = JAP_fund_the_riken_institute
		x = 0
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			has_tech = rubber_processing
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			if = {
				limit = {
					NOT = { 
						GER = {
							OR = {
								has_opinion = {
									target = ROOT
									value > 74
								}
								has_guaranteed = ROOT
							}
						}
						FRA = {
							OR = {
								has_opinion = {
									target = ROOT
									value > 74
								}
								has_guaranteed = ROOT
							}
						}
						ENG = {
							OR = {
								has_opinion = {
									target = ROOT
									value > 74
								}
								has_guaranteed = ROOT
							}
						}
						ITA = {
							OR = {
								has_opinion = {
									target = ROOT
									value > 74
								}
								has_guaranteed = ROOT
							}
						}
						USA = {
							OR = {
								has_opinion = {
									target = ROOT
									value > 74
								}
								has_guaranteed = ROOT
							}
						}
						SOV = {
							OR = {
								has_opinion = {
									target = ROOT
									value > 74
								}
								has_guaranteed = ROOT
							}
						}
					}
				}
				add_tech_bonus = {
					name = JAP_establish_synthetic_fuel_joint_venture
					bonus = 0.5
					uses = 2
					category = cat_synth_oil
				}

				if = {
					limit = {  #Don't display this tooltip if the focus has been completed
						NOT = { has_completed_focus = JAP_establish_synthetic_fuel_joint_venture }
					}
					custom_effect_tooltip = generic_skip_one_line_tt
					custom_effect_tooltip = JAP_establish_synthetic_fuel_joint_venture_tt
				}
			}
			if = {
				limit = {
					OR = {
						GER = {
							OR = {
								has_opinion = {
									target = ROOT
									value > 74
								}
								has_guaranteed = ROOT
							}
						}
						FRA = {
							OR = {
								has_opinion = {
									target = ROOT
									value > 74
								}
								has_guaranteed = ROOT
							}
						}
						ENG = {
							OR = {
								has_opinion = {
									target = ROOT
									value > 74
								}
								has_guaranteed = ROOT
							}
						}
						ITA = {
							OR = {
								has_opinion = {
									target = ROOT
									value > 74
								}
								has_guaranteed = ROOT
							}
						}
						USA = {
							OR = {
								has_opinion = {
									target = ROOT
									value > 74
								}
								has_guaranteed = ROOT
							}
						}
						SOV = {
							OR = {
								has_opinion = {
									target = ROOT
									value > 74
								}
								has_guaranteed = ROOT
							}
						}
					}
				}
				add_tech_bonus = {
					name = JAP_establish_synthetic_fuel_joint_venture
					bonus = 0.5
					uses = 2
					category = cat_synth_oil
				}

				custom_effect_tooltip = generic_skip_one_line_tt
				every_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
						free_building_slots = {
							building = synthetic_refinery
							size > 0
							include_locked = yes
						}
					}
					random_select_amount = 2
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = synthetic_refinery
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = JAP_establish_nippon_hassoden
		icon = GFX_focus_generic_electrification
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_fund_the_riken_institute }
		relative_position_id = JAP_fund_the_riken_institute
		x = 2
		y = 1 

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			has_war = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			JAP_add_or_modify_early_industrialization = yes

			add_to_variable = { JAP_industry_factory_energy_consumption = -0.1 tooltip = factory_energy_consumption_tt }
			add_to_variable = { JAP_industry_local_resources_coal_factor = 0.05 tooltip = local_resources_coal_factor_tt }
		}

	}

	focus = {
		id = JAP_new_industrial_city_development_policy
		icon = GFX_focus_generic_modernize_industry
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_establish_nippon_hassoden focus = JAP_establish_synthetic_fuel_joint_venture focus = JAP_build_the_nishotaki_and_miyanaka_dams }
		relative_position_id = JAP_establish_synthetic_fuel_joint_venture
		x = -1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			any_core_state = {
				is_owned_by = ROOT
				has_state_category = city
			}		
		}

		bypass = {
			NOT = {
				any_core_state = {
					is_owned_by = ROOT
					has_state_category = city
				}	
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			every_core_state = {
				limit = {
					is_fully_controlled_by = PREV
					has_state_category = city
				}
				add_extra_state_shared_building_slots = 1
				add_dynamic_modifier = { modifier = JAP_regional_development }
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_early_industrialization = yes
			add_to_variable = { JAP_industry_industry_air_damage_factor = -0.05 tooltip = industry_air_damage_factor_tt }

		}

	}

	focus = {
		id = JAP_ship_management_committee
		icon = GFX_focus_generic_merchant_fleet
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_new_industrial_city_development_policy }

		relative_position_id = JAP_new_industrial_city_development_policy
		x = -2
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			has_war_with_major = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			JAP_add_or_modify_early_industrialization = yes

			add_to_variable = { JAP_industry_convoy_retreat_speed = 0.1 tooltip = convoy_retreat_speed_tt }
			custom_effect_tooltip = JAP_ship_management_committee_tt

			hidden_effect = {
				add_ideas = JAP_ship_management_committee_idea
			}
		}
	}

	focus = {
		id = JAP_establish_housing_corporation
		icon = GFX_focus_generic_low_cost_housing
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_establish_nippon_hassoden focus = JAP_establish_synthetic_fuel_joint_venture focus = JAP_build_the_nishotaki_and_miyanaka_dams }
		relative_position_id = JAP_establish_synthetic_fuel_joint_venture
		x = 1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			any_core_state = {
				is_owned_by = ROOT
				OR = {
					has_state_category = large_town
					has_state_category = town
				}
			}		
		}

		bypass = {
			NOT = {
				any_core_state = {
					is_owned_by = ROOT
					OR = {
						has_state_category = large_town
						has_state_category = town
					}
				}	
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			every_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					OR = {
						has_state_category = large_town
						has_state_category = town
					}
				}
				random_select_amount = 3
				add_extra_state_shared_building_slots = 1
				add_dynamic_modifier = { modifier = JAP_regional_development }
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_early_industrialization = yes

			add_to_variable = { JAP_industry_production_speed_buildings_factor = 0.05 tooltip = production_speed_buildings_factor_tt }
			add_to_variable = { JAP_industry_industry_air_damage_factor = -0.05 tooltip = industry_air_damage_factor_tt }

		}

	}

	focus = {
		id = JAP_danganressha
		icon = GFX_focus_JAP_danganressha
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_establish_housing_corporation }

		relative_position_id = JAP_establish_housing_corporation
		x = 2
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			industrial_complex > 49
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			add_equipment_to_stockpile = {
				type = train_equipment
				amount = 25
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_timed_idea = {
				idea = JAP_danganressha_idea
				days = 545
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_shinji_sogo

		}
	}

	focus = {
		id = JAP_central_agricultural_association
		icon = GFX_focus_JAP_central_agricultural_association
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_establish_housing_corporation  }
		relative_position_id = JAP_establish_housing_corporation
		x = 0
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			any_core_state = {
				is_owned_by = ROOT
				has_state_category = rural
			}		
		}

		bypass = {
			NOT = {
				any_core_state = {
					is_owned_by = ROOT
					has_state_category = rural
				}	
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			every_core_state = {
				limit = {
					is_fully_controlled_by = PREV
					has_state_category = rural
				}
				add_extra_state_shared_building_slots = 1
				add_dynamic_modifier = { modifier = JAP_regional_development }
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_early_industrialization = yes
			add_to_variable = { JAP_industry_industry_air_damage_factor = -0.05 tooltip = industry_air_damage_factor_tt }

		}
	}

	focus = {
		id = JAP_the_five_great_cities
		icon = GFX_focus_JAP_the_five_great_cities
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_new_industrial_city_development_policy }
		relative_position_id = JAP_new_industrial_city_development_policy
		x = 0
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			282 = { #Kanto (Tokyo)
				is_fully_controlled_by = ROOT
			}
			532 = { #Tokai
				is_fully_controlled_by = ROOT
			}
			531 = { #Kansai (Kyoto)
				is_fully_controlled_by = ROOT				
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			#Kanto (Tokyo)
			if = {
				limit = {
					282 = { 
						infrastructure < 5
					}
				}
				282 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
					add_dynamic_modifier = { modifier = JAP_regional_development }
				}
			}
			else = {
				282 = {
					add_extra_state_shared_building_slots = 1
					add_dynamic_modifier = { modifier = JAP_regional_development }
				}
			}

			#Tokai
			if = {
				limit = {
					532 = { 
						infrastructure < 5
					}
				}
				532 = { 
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
					add_dynamic_modifier = { modifier = JAP_regional_development }
				}
			}
			else = {
				532 = { 
					add_extra_state_shared_building_slots = 1
					add_dynamic_modifier = { modifier = JAP_regional_development }
				}
			}

			#Kansai (Kyoto)
			if = {
				limit = {
					531 = { 
						infrastructure < 5
					}
				}
				531 = { 
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
					add_dynamic_modifier = { modifier = JAP_regional_development }
				}
			}
			else = {
				531 = { 
					add_extra_state_shared_building_slots = 1
					add_dynamic_modifier = { modifier = JAP_regional_development }
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_early_industrialization = yes
			add_to_variable = { JAP_industry_industry_air_damage_factor = -0.05 tooltip = industry_air_damage_factor_tt }
	
			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_uzo_nishiyama
			
		}

	}

	focus = {
		id = JAP_resource_security
		icon = GFX_focus_JAP_resource_security
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_the_five_great_cities }
		prerequisite = { focus = JAP_central_agricultural_association }
		relative_position_id = JAP_the_five_great_cities
		x = 1
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			
			has_resources_in_collection = {
				collection = collection:country_and_all_subjects
				resource = steel
				amount > 199
				extracted = yes
			}
		
		
			has_resources_in_collection = {
				collection = collection:country_and_all_subjects
				resource = aluminium
				amount > 199 
				extracted = yes
			}
		
		
			has_resources_in_collection = {
				collection = collection:country_and_all_subjects
				resource = oil
				amount > 249
				extracted = yes
			}
		
		
			has_resources_in_collection = {
				collection = collection:country_and_all_subjects
				resource = tungsten
				amount > 199
				extracted = yes
			}
		
		
			has_resources_in_collection = {
				collection = collection:country_and_all_subjects
				resource = chromium
				amount > 149 
				extracted = yes
			}
		
		
			has_resources_in_collection = {
				collection = collection:country_and_all_subjects
				resource = rubber
				amount > 299
				extracted = yes
			}
		
		
			has_resources_in_collection = {
				collection = collection:country_and_all_subjects
				resource = coal
				amount > 199
				extracted = yes
			}
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { }

		completion_reward = {

			IF = {
				limit = {
					has_dynamic_modifier = { modifier = JAP_early_industrialization_efforts_dm }
				}
				hidden_effect = {
					remove_dynamic_modifier = { modifier = JAP_early_industrialization_efforts_dm }
					add_dynamic_modifier = { modifier = JAP_the_economic_mirale_dm }
				}
				custom_effect_tooltip = JAP_civilian_nuclear_reactor_investments_tt
				add_to_variable = { JAP_industry_special_project_speed_factor = 0.05 tooltip = special_project_speed_factor_tt }
				add_to_variable = { JAP_industry_production_speed_buildings_factor = 0.05 tooltip = production_speed_buildings_factor_tt }
				add_to_variable = { JAP_industry_industry_air_damage_factor = -0.05 tooltip = industry_air_damage_factor_tt }
				add_to_variable = { JAP_industry_lack_of_resource_penalty_factor = -0.1 tooltip = production_lack_of_resource_penalty_factor_tt }
				add_to_variable = { JAP_industry_production_factory_max_efficiency_factor = 0.15 tooltip = production_factory_max_efficiency_factor_tt }
				add_to_variable = { JAP_industry_line_change_production_efficiency_factor = 0.1 tooltip = line_change_production_efficiency_factor_tt }
				add_to_variable = { JAP_industry_industrial_capacity_dockyard = 0.15 tooltip = industrial_capacity_dockyard_tt }
			}
			ELSE_IF = {
				limit = {
					has_dynamic_modifier = { modifier = JAP_the_economic_mirale_dm }
				}
				JAP_add_or_modify_early_industrialization = yes
				add_to_variable = { JAP_industry_special_project_speed_factor = 0.05 tooltip = special_project_speed_factor_tt }
				add_to_variable = { JAP_industry_production_speed_buildings_factor = 0.05 tooltip = production_speed_buildings_factor_tt }
				add_to_variable = { JAP_industry_industry_air_damage_factor = -0.05 tooltip = industry_air_damage_factor_tt }
				add_to_variable = { JAP_industry_lack_of_resource_penalty_factor = -0.1 tooltip = production_lack_of_resource_penalty_factor_tt }
				add_to_variable = { JAP_industry_production_factory_max_efficiency_factor = 0.15 tooltip = production_factory_max_efficiency_factor_tt }
				add_to_variable = { JAP_industry_line_change_production_efficiency_factor = 0.1 tooltip = line_change_production_efficiency_factor_tt }
				add_to_variable = { JAP_industry_industrial_capacity_dockyard = 0.15 tooltip = industrial_capacity_dockyard_tt }
			}

		}

	}

	focus = {
		id = JAP_ministry_of_colonial_affairs
		icon = GFX_focus_JAP_ministry_of_colonial_affairs
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_ministry_of_commerce_and_industry }

		relative_position_id = JAP_ministry_of_commerce_and_industry
		x = -5
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			OR = {
				has_subject = MAN
				has_subject = KOR
				has_subject = MEN
				has_subject = FOR
				has_subject = PLU
				524 = {
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
				647 = {
					state_is_fully_controlled_by_ROOT_or_subject = yes
				}
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			if = {
				limit = {
					OR = {
						has_subject = MAN
						has_subject = KOR
						has_subject = MEN
						has_subject = FOR
						has_subject = PLU
					}
				}
				random_subject_country = {
					limit = {
						OR = {
							original_tag = MAN
							original_tag = KOR
							original_tag = MEN
							original_tag = FOR
							original_tag = PLU
						}
					}
					random_core_state = {
						limit = {
							is_fully_controlled_by = PREV
							free_building_slots = {
								building = industrial_complex
								size > 1
								include_locked = yes
							}
						}
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = industrial_complex
							level = 1
							instant_build = yes
						}
					}
				}
				random_controlled_state = {
					limit = {
						is_fully_controlled_by = ROOT
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
					}
					prioritize = { 524 }
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
				random_controlled_state = {
					limit = {
						is_fully_controlled_by = ROOT
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
					}
					prioritize = { 525 }
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				random_controlled_state = {
					limit = {
						is_fully_controlled_by = ROOT
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
					}
					prioritize = { 524 }
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
				random_controlled_state = {
					limit = {
						is_fully_controlled_by = ROOT
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
					}
					prioritize = { 525 }
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
				random_controlled_state = {
					limit = {
						is_fully_controlled_by = ROOT
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
					}
					prioritize = { 527 }
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = oriental_development_company
			
		}

	}

	focus = {
		id = JAP_manchuria_five_year_plan
		icon = GFX_focus_jap_manchurian_project
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_ministry_of_colonial_affairs }

		relative_position_id = JAP_ministry_of_colonial_affairs
		x = -4
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			OR = {
				has_subject = MAN
				any_controlled_state = {
					is_core_of = MAN
					is_fully_controlled_by = ROOT
				}
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

		completion_reward = {

			IF = {
				limit = {
					has_subject = MAN
				}
				MAN = {				
					add_stability = 0.1
					add_war_support = 0.1
					add_political_power = 100
					add_timed_idea = {
						idea = JAP_japanese_investments
						days = 720
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			IF = {
				limit = {
					716 = { #Liaotung
						state_is_fully_controlled_by_ROOT_or_subject = yes
						infrastructure < 5
					}
				}
				716 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			IF = {
				limit = {
					has_subject = MAN
				}
				MAN  = {
					every_core_state = {
						limit = {
							is_fully_controlled_by = PREV
							free_building_slots = {
								building = industrial_complex
								size > 1
								include_locked = yes
							}
						}
						random_select_amount = 2
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = industrial_complex
							level = 1
							instant_build = yes
						}
					}
				}
			}
			ELSE = {
				random_controlled_state = {
					limit = {
						is_core_of = MAN
						is_fully_controlled_by = ROOT
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
					}
					prioritize = { 716 }
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
			}

		}

	}

	focus = {
		id = JAP_establish_manchuria_airplane_manufacturing_company
		icon = GFX_focus_JAP_manchuria_airplane_manufacturing_company
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_manchuria_five_year_plan }

		relative_position_id = JAP_manchuria_five_year_plan
		x = 1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			OR = {
				has_subject = MAN
				any_controlled_state = {
					is_core_of = MAN
				}
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			if = {
				limit = {
					has_subject = MAN
				}
				MAN  = {
					every_core_state = {
						limit = {
							is_fully_controlled_by = PREV
							free_building_slots = {
								building = arms_factory
								size > 1
								include_locked = yes
							}
						}
						random_select_amount = 2
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = arms_factory
							level = 1
							instant_build = yes
						}
					}
					add_breakthrough_progress = {
						specialization = specialization_air
						value = 0.15
					}
				}
			}
			else = {
				random_controlled_state = {
					limit = {
						is_core_of = MAN
						is_fully_controlled_by = ROOT
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
				add_breakthrough_progress = {
					specialization = specialization_air
					value = 0.15
				}
			}
		}
	}

	focus = {
		id = JAP_eastern_road_and_steel_expansion
		icon = GFX_focus_generic_road_investment
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_manchuria_five_year_plan }

		relative_position_id = JAP_manchuria_five_year_plan
		x = -1
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			328 = {
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
			OR = {
				AND = {
					527 = {
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					1028 = {
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
				}
				KOR = {
					is_ally_with = ROOT
				}
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			328 = {
				add_resource = {
					type = aluminium
					amount = 4
				}
				add_resource = {
					type = steel
					amount = 6
				}
				add_resource = {
					type = Coal
					amount = 6
				}
			}

			IF = {
				limit = {
					328 = { #Kirin
						infrastructure < 5
					}
				}
				328 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}

			IF = {
				limit = {
					has_subject = MAN
				}
				MAN = {
					IF = {
						limit = {
							controls_state = 328
							controls_state = 715
							controls_state = 716
						}
						build_railway = { #in Kirin
							path = { 4572 }
						}
						build_railway = { #in Liaoning
							path = { 916 4642 4572 }
						}
						build_railway = { #in Liaotung
							path = { 11808 }
						}
					}
					ELSE_IF = {
						limit = {
							controls_state = 328
							controls_state = 717
						}
						build_railway = { #in Kirin
							path = { 4572 7663 9913 9928 }
						}
						build_railway = { #in Sungkiang
							path = { 11893 6964 9897 }
						}
					}
					IF = {
						limit = {
							controls_state = 716
						}
						build_railway = { #Mukden-Korean border
							path = { 11771 9885 3895 3839 3970 6981 }
						}
						build_railway = { #Mukden - Dalian
							path = { 11771 987 9781 11764 964 3783 6851 1150 }
						}
					}
					IF = {
						limit = {
							controls_state = 716
							controls_state = 610
						}
						build_railway = { #Mukden - Chinese border
							path = { 11771 6951 11815 9835 6837 11886 3900 }
						}
					}
				}
			}
			ELSE = {
				IF = {
					limit = {
						controls_state = 716
					}
					build_railway = { #Mukden-Korean border
						path = { 11771 9885 3895 3839 3970 6981	}
					}
					build_railway = { #Mukden - Dalian
						path = { 11771 987 9781 11764 964 3783 6851 1150 }
					}
				}
				IF = {
					limit = {
						controls_state = 716
						controls_state = 610
					}
					build_railway = { #Mukden - Chinese border
						path = { 11771 6951 11815 9835 6837 11886 3900 }
					}
				}
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_yosuke_matsuoka

		}

	}

	focus = {
		id = JAP_sea_promote_japanese_settlement
		icon = GFX_focus_JAP_promote_japanese_settlement
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_eastern_road_and_steel_expansion focus = JAP_establish_manchuria_airplane_manufacturing_company }

		relative_position_id = JAP_eastern_road_and_steel_expansion
		x = 0
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			715 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			610 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			328 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			715 = { add_extra_state_shared_building_slots = 1 }
			610 = { add_extra_state_shared_building_slots = 1 }
			328 = { add_extra_state_shared_building_slots = 1 }

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_early_industrialization = yes

			add_to_variable = { JAP_industry_consumer_goods_factor = -0.05 tooltip = consumer_goods_factor_tt }

		}

	}

	focus = {
		id = JAP_construct_the_sui_ho_dam
		icon = GFX_focus_IRQ_construct_the_kut_barrage
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_eastern_road_and_steel_expansion focus = JAP_establish_manchuria_airplane_manufacturing_company }

		relative_position_id = JAP_eastern_road_and_steel_expansion
		x = 2
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			716 = {
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			IF = {
				limit = {
					MAN = {
						exists = yes
						is_ally_with = ROOT
					}
				}
				MAN = {
					add_ideas = MAN_hydroelectric_power
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			716 = {
				add_building_construction = {
					type = dam
					level = 1
					instant_build = yes
					province = 6860
				}
			}
			custom_effect_tooltip = {
				localization_key = building_state_modifier|dam
				INDENT = "    "
			}
			
		}

	}

	focus = {
		id = JAP_the_shuilikeng_power_plant
		icon = GFX_focus_JAP_the_shuilikeng_power_plant
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_ministry_of_colonial_affairs }

		relative_position_id = JAP_ministry_of_colonial_affairs
		x = -1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			524 = {
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			IF = {
				limit = {
					has_subject = FOR
				}
				FOR = {				
					add_stability = 0.1
					add_war_support = 0.1
					add_political_power = 100
					add_ideas = MAN_hydroelectric_power
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			524 = {
				add_building_construction = {
					type = dam
					level = 1
					instant_build = yes
					province = {
						id = 12027
					}
				}
			}
			custom_effect_tooltip = {
				localization_key = building_state_modifier|dam
				INDENT = "    "
			}

		}

	}

	focus = {
		id = JAP_improve_agricultural_output
		icon = GFX_focus_generic_modernizing_agriculture
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_the_shuilikeng_power_plant }

		relative_position_id = JAP_the_shuilikeng_power_plant
		x = 0
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			524 = {
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			524 = {
				add_extra_state_shared_building_slots = 2
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_early_industrialization = yes

			add_to_variable = { JAP_industry_consumer_goods_factor = -0.05 tooltip = consumer_goods_factor_tt }

		}

	}

	focus = {
		id = JAP_develop_the_south_seas_mandate
		icon = GFX_focus_JAP_develop_the_south_seas_mandate
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_ministry_of_colonial_affairs }

		relative_position_id = JAP_ministry_of_colonial_affairs
		x = 1
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			647 = {
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			every_controlled_state = {
				limit = {
					is_fully_controlled_by = ROOT
					has_state_category = small_island
				}
				add_dynamic_modifier = { modifier = JAP_regional_development }
			}

			IF = {
				limit = {
					has_subject = PLU
				}
				PLU = {				
					add_stability = 0.1
					add_war_support = 0.1
					add_political_power = 100
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			if = {
				limit = {
					647 = {
						state_is_fully_controlled_by_ROOT_or_subject = yes
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
					}
				}
				647 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = JAP_increase_crop_yields
		icon = GFX_focus_generic_farmland

		prerequisite = { focus = JAP_develop_the_south_seas_mandate }

		relative_position_id = JAP_develop_the_south_seas_mandate
		x = 0
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			count_triggers = {
				amount = 4
				controls_state = 645 #Iwo Jima
				controls_state = 648 #Marcus Island
				controls_state = 646 #Saipan
				controls_state = 684 #Caroline Islands
				controls_state = 647 #Palau
				controls_state = 633 #Marshall Islands
			}	
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			every_controlled_state = {
				limit = {
					OR = {
						state = 645 #Iwo Jima
						state = 648 #Marcus Island
						state = 646 #Saipan
						state = 684 #Caroline Islands
						state = 647 #Palau
						state = 633 #Marshall Islands
					}
					is_fully_controlled_by = ROOT
				}
				random_select_amount = 4
				add_extra_state_shared_building_slots = 1
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_early_industrialization = yes

			add_to_variable = { JAP_industry_consumer_goods_factor = -0.05 tooltip = consumer_goods_factor_tt }

		}
	}

	focus = {
		id = JAP_upgrade_the_oriental_development_company
		icon = GFX_focus_JAP_upgrade_the_oriental_development_company
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_improve_agricultural_output }
		prerequisite = { focus = JAP_increase_crop_yields }

		relative_position_id = JAP_improve_agricultural_output
		x = 1
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_MANPOWER }

		completion_reward = {
			
			IF = {
				limit = {
					has_idea = oriental_development_company
				}
				swap_ideas = {
					remove_idea = oriental_development_company
					add_idea = oriental_development_company_upgraded
				}
			}
			ELSE = {
				effect_tooltip = {
					swap_ideas = {
						remove_idea = oriental_development_company
						add_idea = oriental_development_company_upgraded
					}
				}
			}

		}
	}

	focus = {
		id = JAP_build_up_korean_industries
		icon = GFX_focus_JAP_build_up_korean_industries
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_ministry_of_colonial_affairs }

		relative_position_id = JAP_ministry_of_colonial_affairs
		x = 4
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}
		
		available = {
			OR = {
				has_subject = KOR
				any_controlled_state = {
					is_core_of = KOR
					is_fully_controlled_by = ROOT
				}
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY }

		completion_reward = {
			IF = {
				limit = {
					has_subject = KOR
				}
				KOR = {				
					add_stability = 0.1
					add_war_support = 0.1
					add_political_power = 100
					add_timed_idea = {
						idea = JAP_japanese_investments
						days = 720
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			
			IF = {
				limit = {
					has_subject = KOR
				}
				KOR  = {
					every_core_state = {
						limit = {
							is_fully_controlled_by = PREV
							free_building_slots = {
								building = industrial_complex
								size > 1
								include_locked = yes
							}
						}
						random_select_amount = 2
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = industrial_complex
							level = 1
							instant_build = yes
						}
					}
				}
			}
			ELSE = {
				every_controlled_state = {
					limit = {
						is_core_of = KOR
						is_fully_controlled_by = ROOT
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
					}
					random_select_amount = 2
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}

		}
		
	}

	focus = {
		id = JAP_increase_agricultural_export
		icon = GFX_focus_generic_agricultural_subsidies
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_build_up_korean_industries }

		relative_position_id = JAP_build_up_korean_industries
		x = -1
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			OR = {
				has_subject = KOR
				any_controlled_state = {
					is_core_of = KOR
					is_fully_controlled_by = ROOT
				}
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			IF = {
				limit = {
					has_subject = KOR
				}
				KOR = {
					every_core_state = {
						limit = {
							is_fully_controlled_by = KOR
						}
						random_select_amount = 2
						add_extra_state_shared_building_slots = 1
					}
				}
			}
			ELSE = {
				every_controlled_state = {
					limit = {
						is_core_of = KOR
						is_fully_controlled_by = ROOT
					}
					random_select_amount = 2
					add_extra_state_shared_building_slots = 1
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_early_industrialization = yes

			add_to_variable = { JAP_industry_consumer_goods_factor = -0.05 tooltip = consumer_goods_factor_tt }

		}
	}

	focus = {
		id = JAP_hydroelectric_dams_in_korea
		icon = GFX_focus_focus_generic_build_dam
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_build_up_korean_industries }

		relative_position_id = JAP_build_up_korean_industries
		x = 1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			1029 = {
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			IF = {
				limit = {
					KOR = {
						exists = yes
						is_ally_with = ROOT
					}
				}
				KOR = {
					add_ideas = MAN_hydroelectric_power
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			1029 = {
				add_building_construction = {
					type = dam
					level = 1
					instant_build = yes
					province = 1148
				}
			}
			custom_effect_tooltip = {
				localization_key = building_state_modifier|dam
				INDENT = "    "
			}
		}
	}

	focus = {
		id = JAP_prepare_for_peninsular_warfare
		icon = GFX_focus_JAP_prepare_for_peninsular_war
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_build_up_korean_industries }

		relative_position_id = JAP_build_up_korean_industries
		x = 0
		y = 2

		cost = 10

		ai_will_do = {
			factor = 2
		}

		available = {
			OR = {
				controls_state = 527
				controls_state = 1028
				AND = {
					has_subject = KOR
					KOR = {
						OR = {
							controls_state = 527
							controls_state = 1028
						}
					}
				}
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			IF = {
				limit = {
					has_subject = KOR
				}
				KOR = {				
					add_war_support = 0.15
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			IF = {
				limit = {
					527 = {
						state_is_fully_controlled_by_ROOT_subject_or_faction_member = yes
					}
				}
				527 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = {
							id = 11835
							id = 9918
							id = 9795
							id = 11828
							id = 6963
						}
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 3
						province = {
							id = 4052
							id = 1003
						}
						instant_build = yes
					}
				}
				IF = {
					limit = {
						527 = {
							free_building_slots = {
								building = arms_factory
								size > 0
								include_locked = yes
							}	
						}
					}
					527 = {
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = arms_factory
							level = 1
							instant_build = yes
						}	
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			IF = {
				limit = {
					1028 = {
						state_is_fully_controlled_by_ROOT_subject_or_faction_member = yes
					}
				}
				1028 = {
					add_building_construction = {
						type = bunker
						level = 2
						province = {
							id = 906
							id = 9899
							id = 3803
							id = 3860
							id = 898
							id = 6944
						}
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 3
						province = 6928
						instant_build = yes
					}
				}
				IF = {
					limit = {
						1028 = {
							free_building_slots = {
								building = arms_factory
								size > 0
								include_locked = yes
							}	
						}
					}
					1028 = {
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = arms_factory
							level = 1
							instant_build = yes
						}	
					}
				}
			}
		}
	}

	focus = {
		id = JAP_establish_the_japanese_korean_army
		icon = GFX_focus_JAP_korean_volunteer_army
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_prepare_for_peninsular_warfare }

		relative_position_id = JAP_prepare_for_peninsular_warfare
		x = 0
		y = 1

		cost = 5

		ai_will_do = {
			factor = 2
		}

		available = {
			OR = {
				controls_state = 525
				has_subject = KOR
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_MANPOWER }

		completion_reward = {

			IF = {
				limit = {
					has_subject = KOR
				}
				KOR = {
					add_war_support = 0.1
					add_manpower = 25000
					add_equipment_to_stockpile = { 
						type = infantry_equipment
						amount = 15000 
						producer = ROOT
					}	
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			ELSE = {
				add_manpower = 30000
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			IF = {
				limit = {
					525 = {
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						}	
					}
				}
				525 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}	
				}
			}
			
		}

	}



	###############################
	######### SEA MILITARY ########
	###############################


	focus = {
		id = JAP_the_imperial_defense_plan 
		icon = GFX_focus_JAP_the_imperial_defense_plan
		
		mutually_exclusive = {
		}
		
		relative_position_id = JAP_ministry_of_commerce_and_industry
		x = 23
		y = 0

		cost = 3 #This times perfect with the Kodoha Coup event

		ai_will_do = {
			factor = 3
		}

		available = {
			is_subject = no
		}

		bypass = {
			OR = {
				is_subject = yes
				has_completed_focus = JAP_implement_army_reforms
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			custom_effect_tooltip = JAP_first_strike_principle_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = JAP_kantai_kessen_tt
		}
	}

	focus = {
		id = JAP_expand_kawagoe_army_arsenal
		icon = GFX_focus_generic_reorient_production
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_the_imperial_defense_plan }

		relative_position_id = JAP_the_imperial_defense_plan
		x = -9
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			if = {
				limit = {
					282 = {
						is_fully_controlled_by = ROOT
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						}
					}
				}
				282 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
						NOT = {
							has_state_category = small_island
							has_state_category = tiny_island
						}
						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 = JAP_reform_the_army
		icon = GFX_focus_JAP_reform_the_army
		
		mutually_exclusive = {
		}

		prerequisite = { focus = JAP_expand_kawagoe_army_arsenal }

		relative_position_id = JAP_expand_kawagoe_army_arsenal
		x = -1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ARMY_XP }

		completion_reward = {

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:JAP_osaka_army_arsenal_organization = {
					add_mio_funds_gain_factor = 0.05
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			army_experience = 15
			add_mastery_bonus = {
				bonus = 0.1
				days = 240
				track = armor
				name = JAP_reform_the_army
			}
			add_mastery_bonus = {
				bonus = 0.1
				days = 240
				track = infantry
				name = JAP_reform_the_army
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_imperial_army = yes
			add_to_variable = { JAP_army_org_loss_when_moving = -0.1 tooltip = org_loss_when_moving_tt }		
		}
	}

	focus = {
		id = JAP_rethink_armor_doctrine
		icon = GFX_focus_generic_tank_assault
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_reform_the_army }

		relative_position_id = JAP_reform_the_army
		x = -3
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_army_faction_is_at_least_influential = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_RESEARCH FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			army_experience = 25

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = JAP_rethink_armor_doctrine
				bonus = 1
				uses = 2
				category = cat_mechanized_equipment
			}
			add_doctrine_cost_reduction = {
				name = JAP_rethink_armor_doctrine
				cost_reduction = 1
				uses = 2
				category = land_doctrine
			}
			add_tech_bonus = {
				name = JAP_rethink_armor_doctrine
				bonus = 1
				uses = 2
				category = armor	
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			JAP_add_or_modify_imperial_army = yes
			add_to_variable = { JAP_army_motorized_attack_factor = 0.05 tooltip = motorized_attack_factor_tt }
			add_to_variable = { JAP_army_mechanized_attack_factor = 0.05 tooltip = mechanized_attack_factor_tt }

			IF = {
				limit = {
					has_character = JAP_hisaichi_terauchi
					JAP_hisaichi_terauchi = {
						is_field_marshal = no
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				JAP_hisaichi_terauchi = {
					promote_leader = yes
					add_unit_leader_trait = offensive_doctrine
				}
			} 

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_small_army_faction_gain = yes

		}

	}

	focus = {
		id = JAP_foreign_tank_modernization_cooperation
		icon = GFX_focus_generic_heavy_tank
		
		mutually_exclusive = {
			focus = JAP_domestic_tank_modernization_program
		}

		prerequisite = { focus = JAP_rethink_armor_doctrine }

		relative_position_id = JAP_rethink_armor_doctrine
		x = -1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_army_faction_is_at_least_influential = yes
			custom_trigger_tooltip = {
				tooltip = JAP_foreign_tank_modernization_cooperation_tt
				OR = {
					GER = {
						OR = {
							is_in_faction_with = ROOT
							has_guaranteed = ROOT
						}
					}
					FRA = {
						OR = {
							is_in_faction_with = ROOT
							has_guaranteed = ROOT
						}
					}
					ENG = {
						OR = {
							is_in_faction_with = ROOT
							has_guaranteed = ROOT
						}
					}
					ITA = {
						OR = {
							is_in_faction_with = ROOT
							has_guaranteed = ROOT
						}
					}
					USA = {
						OR = {
							is_in_faction_with = ROOT
							has_guaranteed = ROOT
						}
					}
					SOV = {
						OR = {
							is_in_faction_with = ROOT
							has_guaranteed = ROOT
						}
					}
				}
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			
			add_tech_bonus = {
				name = JAP_foreign_tank_modernization_cooperation
				bonus = 0.75
				uses = 2
				category = armor
			}
			add_breakthrough_progress = {
				specialization = specialization_land
				value = 0.5
			}

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = JAP_foreign_tank_modernization_cooperation_2_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			swap_ideas = {
				remove_idea = JAP_japanese_armor_doctrine
				add_idea = JAP_japanese_armor_doctrine_2
			}
		}
	}

	focus = {
		id = JAP_domestic_tank_modernization_program
		icon = GFX_focus_generic_tank_assembly
		
		mutually_exclusive = {
			focus = JAP_foreign_tank_modernization_cooperation
		}

		prerequisite = { focus = JAP_rethink_armor_doctrine }

		relative_position_id = JAP_rethink_armor_doctrine
		x = 1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_army_faction_is_at_least_influential = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:JAP_mitsubishi_heavy_industries_organization = {
					add_mio_size = 1
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_tech_bonus = {
				name = JAP_domestic_tank_modernization_program
				bonus = 0.5
				uses = 1
				category = armor
			}
			add_breakthrough_progress = {
				specialization = specialization_land
				value = 0.25
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			swap_ideas = {
				remove_idea = JAP_japanese_armor_doctrine
				add_idea = JAP_japanese_armor_doctrine_2
			}
		}
	}

	focus = {
		id = JAP_the_ultimate_tank
		icon = GFX_focus_JAP_the_ultimate_tank
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_domestic_tank_modernization_program focus = JAP_foreign_tank_modernization_cooperation }

		relative_position_id = JAP_domestic_tank_modernization_program
		x = -1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_army_faction_is_at_least_influential = yes
			IF = {
				limit = {
					has_dlc = "No Step Back"
				}
				has_tech = basic_heavy_tank_chassis
			}
			ELSE_IF = {
				limit = {
					has_tech = basic_heavy_tank
				}
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {

			add_breakthrough_progress = {
				specialization = specialization_land
				value = 0.25
			}

			add_tech_bonus = {
				name = JAP_the_ultimate_tank
				bonus = 0.75
				uses = 2
				category = cat_heavy_armor	
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					has_idea = JAP_japanese_armor_doctrine
				}
				swap_ideas = {
					remove_idea = JAP_japanese_armor_doctrine
					add_idea = JAP_japanese_armor_doctrine_3
				}	
				#custom_effect_tooltip = generic_skip_one_line_tt
			}
			ELSE_IF = {
				limit = {
					has_idea = JAP_japanese_armor_doctrine_2
				}
				swap_ideas = {
					remove_idea = JAP_japanese_armor_doctrine_2
					add_idea = JAP_japanese_armor_doctrine_3
				}	
				#custom_effect_tooltip = generic_skip_one_line_tt
			}

			JAP_add_or_modify_imperial_army = yes
			add_to_variable = { JAP_army_army_armor_attack_factor = 0.1 tooltip = army_armor_attack_factor_tt }
			add_to_variable = { JAP_army_motorized_attack_factor = 0.05 tooltip = motorized_attack_factor_tt }
			add_to_variable = { JAP_army_mechanized_attack_factor = 0.05 tooltip = mechanized_attack_factor_tt }

			IF = {
				limit = {
					has_dlc = "No Step Back"
				}

				IF = {
					limit = {
						has_tech = super_heavy_tank_chassis
					}
					custom_effect_tooltip = generic_skip_one_line_tt
					#O-I
					create_equipment_variant = {
						name = "O-I"
						type = super_heavy_tank_chassis_1
						parent_version = 0
						design_team = mio:JAP_mitsubishi_heavy_industries_organization
						modules = {
							main_armament_slot = tank_super_heavy_cannon
							turret_type_slot = tank_super_heavy_four_man_tank_turret
							suspension_type_slot = tank_christie_suspension
							armor_type_slot = tank_cast_armor
							engine_type_slot = tank_gasoline_engine
							special_type_slot_1 = secondary_turret_hmg
							special_type_slot_2 = additional_machine_guns
							special_type_slot_3 = squeezebore_adaptor
						}
						upgrades = {
							tank_nsb_engine_upgrade = 5
							tank_nsb_armor_upgrade = 8
						}
						icon = "GFX_JAP_improved_heavy_tank_medium" 
					}
				}
				ELSE = {
					custom_effect_tooltip = JAP_the_ultimate_tank_tt
					effect_tooltip = {
						#O-I
						create_equipment_variant = {
							name = "O-I"
							type = super_heavy_tank_chassis_1
							parent_version = 0
							design_team = mio:JAP_mitsubishi_heavy_industries_organization
							modules = {
								main_armament_slot = tank_super_heavy_cannon
								turret_type_slot = tank_super_heavy_four_man_tank_turret
								suspension_type_slot = tank_christie_suspension
								armor_type_slot = tank_cast_armor
								engine_type_slot = tank_gasoline_engine
								special_type_slot_1 = secondary_turret_hmg
								special_type_slot_2 = additional_machine_guns
								special_type_slot_3 = squeezebore_adaptor
							}
							upgrades = {
								tank_nsb_engine_upgrade = 5
								tank_nsb_armor_upgrade = 8
							}
							icon = "GFX_JAP_improved_heavy_tank_medium" 
						}
					}
				}

				custom_effect_tooltip = generic_skip_one_line_tt

			}

			IF = {
				limit = {
					has_dlc = "Gotterdammerung"
				}
				JAP_add_or_modify_advanced_weapon_projects = yes
				add_to_variable = { JAP_advanced_weapons_sp_tag_tank_speed_factor = 0.15 tooltip = sp_tag_tank_speed_factor_tt }
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			
		}

	}

	focus = {
		id = JAP_rely_on_supremacy_of_the_will
		icon = GFX_focus_JAP_rely_on_infantry_charges
		
		mutually_exclusive = {
		}

		prerequisite = { focus = JAP_expand_kawagoe_army_arsenal }

		relative_position_id = JAP_expand_kawagoe_army_arsenal
		x = 1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ARMY_XP }

		completion_reward = {
			
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:JAP_kokura_arsenal_organization = {
					add_mio_funds_gain_factor = 0.05
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			
			army_experience = 15
			add_doctrine_cost_reduction = {
				name = JAP_rely_on_supremacy_of_the_will
				cost_reduction = 0.25
				uses = 1
				category = land_doctrine
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_imperial_army = yes
			add_to_variable = { JAP_army_army_morale_factor = 0.05 tooltip = army_morale_factor_tt }
			add_to_variable = { JAP_army_army_org_factor = 0.03 tooltip = army_org_factor_tt }
			add_to_variable = { JAP_army_experience_loss_factor = 0.05 tooltip = experience_loss_factor_tt }
		}

	}

	focus = {
		id = JAP_adopt_new_assault_doctrine
		icon = GFX_focus_generic_full_social_mobilization
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_rely_on_supremacy_of_the_will }

		relative_position_id = JAP_rely_on_supremacy_of_the_will
		x = 3
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_army_faction_is_at_least_influential = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_XP FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			army_experience = 25

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = JAP_adopt_new_assault_doctrine
				bonus = 0.25
				uses = 1
				category = artillery
			}
			add_tech_bonus = {
				name = JAP_adopt_new_assault_doctrine
				bonus = 0.25
				uses = 1
				category = infantry_weapons
			}
			add_doctrine_cost_reduction = {
				name = JAP_adopt_new_assault_doctrine
				cost_reduction = 0.25
				uses = 1
				category = land_doctrine
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_imperial_army = yes
			add_to_variable = { JAP_army_army_infantry_attack_factor = 0.05 tooltip = army_infantry_attack_factor_tt }

			IF = {
				limit = {
					has_character = JAP_shunroku_hata
					JAP_shunroku_hata = {
						is_field_marshal = no
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				JAP_shunroku_hata = {
					promote_leader = yes
					add_unit_leader_trait = offensive_doctrine
				}
			} 

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_small_army_faction_gain = yes

		}

	}

	focus = {
		id = JAP_develop_lethal_infantry_equipment
		icon = GFX_goal_generic_small_arms
		
		#mutually_exclusive = {
		#	focus = JAP_develop_sophisticated_artillery_equipment
		#}

		prerequisite = { focus = JAP_adopt_new_assault_doctrine }

		relative_position_id = JAP_adopt_new_assault_doctrine
		x = -1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			#JAP_army_faction_is_at_least_influential = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:JAP_kokura_arsenal_organization = {
					add_mio_size = 1
				}
				mio:JAP_nagoya_arsenal_organization = {
					add_mio_size = 1
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_tech_bonus = {
				name = JAP_develop_lethal_infantry_equipment
				bonus = 0.75
				uses = 1
				category = infantry_weapons
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_breakthrough_progress = {
				specialization = specialization_land
				value = 0.5
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					NOT = {
						JAP_army_faction_is_at_least_influential = yes
					}
				}
				custom_effect_tooltip = JAP_develop_lethal_infantry_equipment_tt
				effect_tooltip = {
					add_to_variable = { JAP_army_army_infantry_attack_factor = 0.1 tooltip = army_infantry_attack_factor_tt }
				}
			}
			ELSE_IF = {
				limit = {
					JAP_army_faction_is_at_least_influential = yes
				}
				JAP_add_or_modify_imperial_army = yes
				add_to_variable = { JAP_army_army_infantry_attack_factor = 0.1 tooltip = army_infantry_attack_factor_tt }
			}

		}

	}

	focus = {
		id = JAP_develop_sophisticated_artillery_equipment
		icon = GFX_focus_SWE_let_fly_all_guns
		
		#mutually_exclusive = {
		#	focus = JAP_develop_lethal_infantry_equipment
		#}

		prerequisite = { focus = JAP_adopt_new_assault_doctrine }

		relative_position_id = JAP_adopt_new_assault_doctrine
		x = 1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			#JAP_army_faction_is_at_least_influential = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:JAP_osaka_army_arsenal_artillery_organization = {
					add_mio_size = 1
				}
				mio:JAP_hitachi_arms_department_organization = {
					add_mio_size = 1
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_tech_bonus = {
				name = JAP_develop_sophisticated_artillery_equipment
				bonus = 0.75
				uses = 2
				category = artillery
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_breakthrough_progress = {
				specialization = specialization_land
				value = 0.25
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					NOT = {
						JAP_army_faction_is_at_least_influential = yes
					}
				}
				custom_effect_tooltip = JAP_develop_lethal_infantry_equipment_tt
				effect_tooltip = {
					add_to_variable = { JAP_army_army_army_artillery_attack_factor = 0.1 tooltip = army_artillery_attack_factor_tt }
				}
			}
			ELSE_IF = {
				limit = {
					JAP_army_faction_is_at_least_influential = yes
				}
				JAP_add_or_modify_imperial_army = yes
				add_to_variable = { JAP_army_army_army_artillery_attack_factor = 0.1 tooltip = army_artillery_attack_factor_tt }
			}

		}

	}

	focus = {
		id = JAP_expand_the_irago_proving_ground
		icon = GFX_focus_JAP_expand_the_irago_proving_ground
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_develop_sophisticated_artillery_equipment }
		prerequisite = { focus = JAP_develop_lethal_infantry_equipment }

		relative_position_id = JAP_develop_sophisticated_artillery_equipment
		x = -1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_army_faction_is_at_least_influential = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			add_breakthrough_progress = {
				specialization = specialization_land
				value = 0.5
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_imperial_army = yes
			add_to_variable = { JAP_army_army_army_artillery_attack_factor = 0.1 tooltip = army_artillery_attack_factor_tt }
			add_to_variable = { JAP_army_army_infantry_attack_factor = 0.05 tooltip = army_infantry_attack_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					has_dlc = "Gotterdammerung"
				}
				JAP_add_or_modify_advanced_weapon_projects = yes
				add_to_variable = { JAP_advanced_weapons_sp_tag_artillery_speed_factor = 0.1 tooltip = sp_tag_artillery_speed_factor_tt }
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_small_army_faction_gain = yes

		}

	}

	focus = {
		id = JAP_prepare_the_northern_front
		icon = GFX_goal_generic_position_armies
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_reform_the_army focus = JAP_rely_on_supremacy_of_the_will }

		relative_position_id = JAP_reform_the_army
		x = 0
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			714 = { 
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}	
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {
			
			714 = {
				IF = {
					limit = {
						any_province_building_level = {
							province = {
								id = 7832
							}
							building = supply_node
							level < 1
						}
					}
					add_building_construction = {
						type = supply_node
						level = 1
						province = 7832
						instant_build = yes
					}
				}
				IF = {
					limit = {
						air_base < 7
					}
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
				}
				build_railway = { #From Southern to Northern Supply Hub in Heilungkiang
					path = { 4506 1588 12618 7832 }
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_small_army_faction_gain = yes

		}

	}

	focus = {
		id = JAP_enact_the_national_conscription_law
		icon = GFX_focus_generic_limited_social_mobilization
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_reform_the_army focus = JAP_rely_on_supremacy_of_the_will }

		relative_position_id = JAP_rely_on_supremacy_of_the_will
		x = 0
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {

			JAP_add_or_modify_imperial_army = yes
			add_to_variable = { JAP_army_conscription = 0.01 tooltip = conscription_tt }
			add_to_variable = { JAP_army_training_time_factor = -0.1 tooltip = training_time_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = hajime_sugiyama
			
		}

	}

	focus = {
		id = JAP_instill_the_spirit_of_bushido
		icon = GFX_focus_generic_japanese_imperial_glory
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_prepare_the_northern_front focus = JAP_enact_the_national_conscription_law }

		relative_position_id = JAP_prepare_the_northern_front
		x = 1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			OR = {
				has_war_support > 0.79
				surrender_progress > 0
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			hidden_effect = {
			    unlock_tactic = tactic_grand_banzai_charge
			}
			custom_effect_tooltip = JAP_instill_the_spirit_of_bushido_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_imperial_army = yes
			add_to_variable = { JAP_army_army_org_factor = 0.1 tooltip = army_org_factor_tt }
			add_to_variable = { JAP_army_army_morale_factor = 0.05 tooltip = army_morale_factor_tt }

		}
	}


	focus = {
		id = JAP_sea_mountaineers
		icon = GFX_focus_generic_mountain_troops
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_instill_the_spirit_of_bushido }

		relative_position_id = JAP_instill_the_spirit_of_bushido
		x = -2
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_army_faction_is_at_least_influential = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {

			add_tech_bonus = {
				name = JAP_sea_mountaineers
				bonus = 1
				uses = 1
				category = mountaineers_tech
			}
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				add_doctrine_cost_reduction = {
					name = JAP_sea_mountaineers
					cost_reduction = 0.25
					uses = 2
					category = cat_mountaineers_doctrine
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			random_army_leader = {	
				limit = {
					NOT = {
						has_trait = trait_mountaineer
					}
				}	
				add_trait = { trait = trait_mountaineer }
			}
			
			JAP_add_or_modify_imperial_army = yes
			add_to_variable = { JAP_army_acclimatization_cold_climate_gain_factor = 0.1 tooltip = acclimatization_cold_climate_gain_factor_tt }
			
		}

	}

	focus = {
		id = JAP_jungle_adaptation
		icon = GFX_focus_generic_jungle_troops
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_instill_the_spirit_of_bushido }

		relative_position_id = JAP_instill_the_spirit_of_bushido
		x = 2
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_army_faction_is_at_least_influential = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			
			add_tech_bonus = {
				name = JAP_jungle_adaptation
				bonus = 1
				uses = 1
				category = rangers_tech_cat
			}
			IF = {
				limit = {
					has_dlc = "No Compromise, No Surrender"
				}
				add_doctrine_cost_reduction = {
					name = JAP_jungle_adaptation
					cost_reduction = 0.25
					uses = 2
					category = cat_rangers_doctrine
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			IF = {
				limit = {
					has_character = JAP_masakazu_kawabe
					JAP_masakazu_kawabe = {
						NOT = { has_trait = jungle_rat }
					}
				}
				JAP_masakazu_kawabe = {
					add_trait = { trait = jungle_rat }
				}
			}

			JAP_add_or_modify_imperial_army = yes
			add_to_variable = { JAP_army_acclimatization_hot_climate_gain_factor = 0.1 tooltip = acclimatization_hot_climate_gain_factor_tt }
			
		}

	}

	focus = {
		id = JAP_army_weapons_administration_headquarters
		icon = GFX_focus_JAP_army_weapons_administration_hq
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_instill_the_spirit_of_bushido }

		relative_position_id = JAP_instill_the_spirit_of_bushido
		x = 0
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			has_war_with_major = yes
			#JAP_army_faction_is_at_least_influential = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_IMPERIAL_INFLUENCE FOCUS_FILTER_HISTORICAL }

		completion_reward = {			
			
			add_breakthrough_progress = {
				specialization = specialization_land
				value = 0.25
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_advanced_weapon_projects = yes
			add_to_variable = { JAP_advanced_weapons_production_speed_land_facility_factor = 0.1 tooltip = production_speed_land_facility_factor_tt }
			add_to_variable = { JAP_advanced_weapons_sp_tag_tank_speed_factor = 0.05 tooltip = sp_tag_tank_speed_factor_tt }
			add_to_variable = { JAP_advanced_weapons_sp_tag_artillery_speed_factor = 0.05 tooltip = sp_tag_artillery_speed_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					NOT = {
						JAP_army_faction_is_at_least_influential = yes
					}
				}
				custom_effect_tooltip = JAP_army_weapons_administration_headquarters_tt
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			ELSE_IF = {
				limit = {
					JAP_army_faction_is_at_least_influential = yes
				}
				IF = {
					limit = {
						534 = { # Nagano/Koshintetsu 
							is_fully_controlled_by = ROOT
							can_construct_building = land_facility
						}
					}
					534 = {
						# Underground Weapons Testing Arsenal 
						add_building_construction = {
							type = land_facility
							level = 1
							instant_build = yes
							province = 10015 # Nagano
						}
					}
					custom_effect_tooltip = generic_skip_one_line_tt
				}
				ELSE = {
					random_core_state = {
						limit = {
							can_construct_building = land_facility
							is_owned_and_controlled_by = ROOT
						}
						construct_building_in_random_province = {
							land_facility = 1
						}
					}
					custom_effect_tooltip = generic_skip_one_line_tt
				}
			}

			JAP_small_army_faction_gain = yes

		}

	}

	focus = {
		id = JAP_divert_naval_guns_to_the_army
		icon = GFX_focus_generic_railway_gun
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_army_weapons_administration_headquarters }

		relative_position_id = JAP_army_weapons_administration_headquarters
		x = 0 
		y = 1

		cost = 10

		allow_branch = {
			has_dlc = "No Step Back"
		}

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_army_faction_is_at_least_influential = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			
			IF = {
				limit = {
					NOT = { has_tech = railway_gun }
				}
				set_technology = { railway_gun = 1 }
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			JAP_mobilize_railway_guns = yes

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					has_dlc = "Gotterdammerung"
				}
				JAP_add_or_modify_advanced_weapon_projects = yes
				add_to_variable = { JAP_advanced_weapons_sp_tag_tank_speed_factor = 0.05 tooltip = sp_tag_tank_speed_factor_tt }
				add_to_variable = { JAP_advanced_weapons_sp_tag_artillery_speed_factor = 0.05 tooltip = sp_tag_artillery_speed_factor_tt }
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			IF = {
				limit = {
					NOT = {
						has_completed_focus = JAP_end_the_interservice_rivalry
					}
				}
				JAP_big_naval_faction_loss = yes
			}

		}
	}

	focus = {
		id = JAP_pivot_towards_defensive_measures
		icon = GFX_goal_generic_defence
		
		mutually_exclusive = {
			focus = JAP_strenghten_the_supply_lines
		}

		prerequisite = { focus = JAP_army_weapons_administration_headquarters focus = JAP_jungle_adaptation focus = JAP_sea_mountaineers }

		relative_position_id = JAP_army_weapons_administration_headquarters
		x = -1
		y = 2

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			has_war_with_major = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { }

		completion_reward = {

			JAP_add_or_modify_imperial_army = yes
			add_to_variable = { JAP_army_dig_in_speed_factor = 0.1 tooltip = dig_in_speed_factor_tt }
			add_to_variable = { JAP_army_max_dig_in = 2 tooltip = max_dig_in_tt }
			add_to_variable = { JAP_army_supply_consumption_factor = -0.1 tooltip = supply_consumption_factor_tt }
			add_to_variable = { JAP_army_army_defence_factor = 0.1 tooltip = army_defence_factor_tt }

		}

	}

	focus = {
		id = JAP_strenghten_the_supply_lines
		icon = GFX_focus_generic_supply_line
		
		mutually_exclusive = {
			focus = JAP_pivot_towards_defensive_measures
		}

		prerequisite = { focus = JAP_army_weapons_administration_headquarters focus = JAP_jungle_adaptation focus = JAP_sea_mountaineers }

		relative_position_id = JAP_army_weapons_administration_headquarters
		x = 1
		y = 2

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			has_war_with_major = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { }

		completion_reward = {
			JAP_add_or_modify_imperial_army = yes
			add_to_variable = { JAP_army_supply_consumption_factor = -0.25 tooltip = supply_consumption_factor_tt }
		}

	}

	focus = {
		id = JAP_ni_go_nuclear_project
		icon = GFX_focus_JAP_ni_go_nuclear_project
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_strenghten_the_supply_lines focus = JAP_pivot_towards_defensive_measures }

		relative_position_id = JAP_strenghten_the_supply_lines
		x = -1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			has_war_with_major = yes
			JAP_army_faction_is_at_least_influential = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH }

		completion_reward = {

			IF = {
				limit = {
					NOT = { has_completed_focus = JAP_f_go_nuclear_project}
				}
				add_tech_bonus = {
					name = JAP_ni_go_nuclear_project
					bonus = 0.25
					uses = 1
					category = nuclear
				}
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.15
				}
			}
			ELSE = {
				add_tech_bonus = {
					name = JAP_ni_go_nuclear_project
					bonus = 1
					uses = 1
					category = nuclear
				}
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.5
				}
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_advanced_weapon_projects = yes
			add_to_variable = { JAP_advanced_weapons_sp_nuclear_bomb_speed_factor = 0.05 tooltip = sp_nuclear_bomb_speed_factor_tt }
		}
	}

	focus = {
		id = JAP_establish_showa_aircraft_idnsutry
		icon = GFX_focus_generic_aircraft_production
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_the_imperial_defense_plan }

		relative_position_id = JAP_the_imperial_defense_plan
		x = 0
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			
			IF = {
				limit = {
					282 = {
						is_fully_controlled_by = ROOT
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						}
					}
				}
				282 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
			}
			ELSE = {
				random_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
						NOT = {
							has_state_category = small_island
							has_state_category = tiny_island
						}
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = imperial_japanese_airways
			
		}

	}

	focus = {
		id = JAP_develop_new_fighters
		icon = GFX_focus_jap_zero
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_establish_showa_aircraft_idnsutry }

		relative_position_id = JAP_establish_showa_aircraft_idnsutry
		x = -1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH }

		completion_reward = {

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:JAP_mitsubishi_organization = {
					add_mio_funds_gain_factor = 0.05
					add_mio_research_bonus = 0.05
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			
			add_tech_bonus = {
				name = JAP_develop_new_fighters
				bonus = 1
				ahead_reduction = 1
				category = light_air
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.5
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					NOT = {
						has_dlc = "By Blood Alone"
					}
				}
				set_technology = { cv_fighter2 = 1 } 
			}
			ELSE = {
				create_equipment_variant = {
					name = "A6M Zero-Sen"
					type = cv_small_plane_airframe_2
					design_team = mio:JAP_mitsubishi_organization
					allow_without_tech = no
					modules = {
						fixed_main_weapon_slot = light_mg_2x
						fixed_auxiliary_weapon_slot_1 = aircraft_cannon_1_2x
						engine_type_slot = engine_3_1x
						special_type_slot_1 = drop_tanks
						special_type_slot_2 = fuel_tanks_small
					}
					icon = "GFX_JAP_cv_fighter2_medium"
				}
				create_equipment_variant = {
					name = "Ki-43 Hayabusa"
					type = small_plane_airframe_2
					design_team = mio:JAP_kawanishi_aircraft_company_organization
					allow_without_tech = no
					modules = {
						fixed_main_weapon_slot = light_mg_2x
						fixed_auxiliary_weapon_slot_1 = bomb_locks
						engine_type_slot = engine_3_1x
						special_type_slot_1 = drop_tanks
						special_type_slot_2 = fuel_tanks_small
					}
					icon = "GFX_JAP_fighter2_medium"
				}
			}

		}

	}

	focus = {
		id = JAP_7075_aluminium_alloy
		icon = GFX_focus_generic_air_research_boost
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_develop_new_fighters }

		relative_position_id = JAP_develop_new_fighters
		x = -1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH }

		completion_reward = {
			
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:JAP_mitsubishi_organization = {
					add_mio_size = 1
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			ELSE = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = mitsubishi
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			custom_effect_tooltip = {
				localization_key = available_scientist_one_line_tt
				CHARACTER = JAP_jiro_horikoshi
			}

			IF = {
				limit = {
					531 = {
						is_controlled_by = ROOT
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				add_resource = {
				    type = aluminium
				    amount = 5
				    state = 531
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_army_and_naval_air_services = yes
			custom_effect_tooltip = JAP_7075_aluminium_alloy_tt
			hidden_effect = {
				add_equipment_bonus = {
					name = JAP_7075_aluminium_alloy
					bonus = {
						small_plane_airframe = {
							air_agility = 0.1 #WARNING! If you change this value, you need to update JAP_7075_aluminium_alloy_tt
						}
						cv_small_plane_airframe = {
							air_agility = 0.1 #WARNING! If you change this value, you need to update JAP_7075_aluminium_alloy_tt
						}
					}
				}
			}

		}

	}

	focus = {
		id = JAP_modern_bombers
		icon = GFX_goal_generic_air_bomber
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_establish_showa_aircraft_idnsutry }

		relative_position_id = JAP_establish_showa_aircraft_idnsutry
		x = 1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:JAP_kawasaki_aircraft_industries_organization = {
					add_mio_research_bonus = 0.05
				}
				mio:JAP_nakajima_organization = {
					add_mio_research_bonus = 0.05
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_tech_bonus = {
				name = JAP_modern_bombers
				bonus = 1
				category = medium_air
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.25
			}
			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_army_and_naval_air_services = yes
			add_to_variable = { JAP_airforce_air_cas_efficiency = 0.1 tooltip = air_cas_efficiency_tt }
		}

	}

	focus = {
		id = JAP_improve_the_type_91_aerial_torpedo
		icon = GFX_goal_generic_air_naval_bomber
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_modern_bombers }

		relative_position_id = JAP_modern_bombers
		x = 1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_naval_faction_is_not_subdued = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			
			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.15
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_army_and_naval_air_services = yes
			add_to_variable = { JAP_airforce_port_strike = 0.1 tooltip = port_strike_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ace = {
				name = Nobuo
				surname = Fujita
				callsign = Lookout
				type = fighter_unique
			}

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				mio:JAP_yokosuka_organization = {
					unlock_mio_trait_tooltip = JAP_mio_trait_type_91_aerial_torpedo_integration
				}
			}

		}
	}

	focus = {
		id = JAP_escort_efficiency
		icon = GFX_goal_generic_air_fighter2
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_develop_new_fighters focus = JAP_modern_bombers }

		relative_position_id = JAP_develop_new_fighters
		x = 1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_AIR_XP }

		completion_reward = {

			air_experience = 15

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ace = {
				name = Tateo
				surname = Kato
				callsign = "God of War"
				type = fighter_genius
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_army_and_naval_air_services = yes
			add_to_variable = { JAP_airforce_air_escort_efficiency = 0.05 tooltip = air_escort_efficiency_tt }

		}

	}

	focus = {
		id = JAP_sea_sturdy_aircraft
		icon = GFX_goal_generic_air_fighter
		
		mutually_exclusive = {
			focus = JAP_sea_long_operational_range
		}

		prerequisite = { focus = JAP_escort_efficiency }

		relative_position_id = JAP_escort_efficiency
		x = -1
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { }

		completion_reward = {

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:JAP_kawanishi_aircraft_company_organization = {
					add_mio_size = 2
				}
				mio:JAP_tachikawa_aircraft_company_organization = {
					add_mio_size = 2
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			JAP_add_or_modify_army_and_naval_air_services = yes
			add_to_variable = { JAP_airforce_air_range_factor = -0.05 tooltip = air_range_factor_tt }
			add_to_variable = { JAP_airforce_air_defence_factor = 0.1 tooltip = air_defence_factor_tt }
			add_to_variable = { JAP_airforce_air_accidents_factor = -0.05 tooltip = air_accidents_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_sea_sturdy_aircraft_tt
			
		}

	}

	focus = {
		id = JAP_sea_long_operational_range
		icon = GFX_focus_generic_long_range_aircraft
		
		mutually_exclusive = {
			focus = JAP_sea_sturdy_aircraft
		}

		prerequisite = { focus = JAP_escort_efficiency }

		relative_position_id = JAP_escort_efficiency
		x = 1
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:JAP_aichi_organization = {
					add_mio_size = 1
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			JAP_add_or_modify_army_and_naval_air_services = yes
			add_to_variable = { JAP_airforce_air_range_factor = 0.15 tooltip = air_range_factor_tt }
			add_to_variable = { JAP_airforce_air_defence_factor = -0.05 tooltip = air_defence_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ace = {
				name = Saburo
				surname = Sakai
				callsign = "Sky Samurai"
				type = fighter_unique
			}
			add_ace = {
				name = Kaneyoshi
				surname = Muto
				callsign = "Sky Musashi"
				type = fighter_unique
			}
			add_ace = {
				name = Naoshi
				surname = Kanno
				callsign = "The Destroyer"
				type = fighter_unique
			}
			add_ace = {
				name = Tetsuzo
				surname = Iwamoto
				callsign = "Tiger Tetsu"
				type = fighter_unique
			}

		}

	}

	focus = {
		id = JAP_project_z_bomber_project
		icon = GFX_focus_JAP_z_bomber_project
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_sea_long_operational_range }

		relative_position_id = JAP_sea_long_operational_range
		x = 1
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = GER_war_with_american_country_tt
				any_enemy_country = {
					capital_scope = { 
						OR = {
							is_on_continent = north_america
							is_on_continent = south_america
						}
					}
				}
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH }

		completion_reward = {
			
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:JAP_nakajima_organization = {
					add_mio_size = 1
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.25
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					has_dlc = "Gotterdammerung"
				}
				custom_effect_tooltip = GER_unlocks_statue_of_liberty_raid_tt

				custom_effect_tooltip = generic_skip_one_line_tt
				
				JAP_add_or_modify_advanced_weapon_projects = yes
				IF = {
					limit = {
						NOT = { is_special_project_completed = sp_air_intercontinental_bomber }
					}
					add_to_variable = { 
						JAP_advanced_weapons_sp_air_intercontinental_bomber_speed_factor = 0.25 #This is the focus of this focus, so extra speed
						tooltip = sp_air_intercontinental_bomber_speed_factor_tt
					}
				}
				IF = {
					limit = {
						NOT = { is_special_project_completed = sp_air_mothership_aircraft }
					}
					add_to_variable = { 
						JAP_advanced_weapons_sp_air_mothership_aircraft_speed_factor = 0.15
						tooltip = sp_air_mothership_aircraft_speed_factor_tt
					}
				}
				add_to_variable = { JAP_advanced_weapons_production_speed_air_facility_factor = 0.1 tooltip = production_speed_air_facility_factor_tt }
				
			}
			ELSE = {
				add_tech_bonus = {
					name = JAP_project_z_bomber_project
					bonus = 1
					uses = 1
					category = transport_planes_cat
					category = cat_strategic_bomber
				}
				JAP_add_or_modify_advanced_weapon_projects = yes
				add_to_variable = { JAP_advanced_weapons_production_speed_air_facility_factor = 0.1 tooltip = production_speed_air_facility_factor_tt }
			}

		}

	}

	focus = {
		id = JAP_adopt_new_air_doctrine
		icon = GFX_goal_generic_air_doctrine
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_sea_long_operational_range focus = JAP_sea_sturdy_aircraft }

		relative_position_id = JAP_sea_long_operational_range
		x = -1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			has_war_with_major = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {

			air_experience = 25
			
			add_doctrine_cost_reduction = {
				name = JAP_adopt_new_air_doctrine
				cost_reduction = 0.25
				uses = 2
				category = air_doctrine
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_army_and_naval_air_services = yes
			add_to_variable = { JAP_airforce_air_mission_efficiency = 0.05 tooltip = air_mission_efficiency_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ace = {
				name = Chitoshi
				surname = Isozaki
				callsign = "Matsuyama Taii"
				type = fighter_unique
			}

		}
	}


	focus = {
		id = JAP_sea_unify_the_air_forces
		icon = GFX_focus_JAP_unify_the_air_forces
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_adopt_new_air_doctrine }

		relative_position_id = JAP_adopt_new_air_doctrine
		x = -1
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_naval_faction_is_same_as_army = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_AIR_XP FOCUS_FILTER_IMPERIAL_INFLUENCE FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_RESEARCH }

		completion_reward = {

			air_experience = 25

			add_doctrine_cost_reduction = {
				name = JAP_sea_unify_the_air_forces
				cost_reduction = 0.25
				uses = 2
				category = air_doctrine
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					has_dynamic_modifier = { modifier = JAP_army_and_naval_air_services_dm }
				}
				hidden_effect = {
					remove_dynamic_modifier = { modifier = JAP_army_and_naval_air_services_dm }
					add_dynamic_modifier = { modifier = JAP_japanese_airforce_dm }
				}
				custom_effect_tooltip = JAP_sea_unify_the_air_forces_2_tt
				add_to_variable = { JAP_airforce_air_wing_xp_loss_when_killed_factor = -0.15 tooltip = air_wing_xp_loss_when_killed_factor_tt }
				add_to_variable = { JAP_airforce_air_untrained_pilots_penalty_factor = -0.15 tooltip = air_untrained_pilots_penalty_factor_tt }
				custom_effect_tooltip = generic_skip_one_line_tt
				remove_ideas = JAP_separate_air_services
			}
			ELSE = {
				JAP_add_or_modify_army_and_naval_air_services = yes
				add_to_variable = { JAP_airforce_air_wing_xp_loss_when_killed_factor = -0.15 tooltip = air_wing_xp_loss_when_killed_factor_tt }
				add_to_variable = { JAP_airforce_air_untrained_pilots_penalty_factor = -0.15 tooltip = air_untrained_pilots_penalty_factor_tt }
				custom_effect_tooltip = generic_skip_one_line_tt
				remove_ideas = JAP_separate_air_services
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_advanced_weapon_projects = yes
			add_to_variable = { JAP_advanced_weapons_production_speed_air_facility_factor = 0.1 tooltip = production_speed_air_facility_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt 

			add_ace = {
				name = Hideki
				surname = Shingo
				callsign = Zero
				type = fighter_genius
			}

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = JAP_sea_unify_the_air_forces_tt
			}

		}
	}

	focus = {
		id = JAP_improved_radio_communications
		icon = GFX_focus_generic_radio_communication
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_sea_unify_the_air_forces }

		relative_position_id = JAP_sea_unify_the_air_forces
		x = -1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			has_tech = improved_radio
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { }

		completion_reward = {
			
			JAP_add_or_modify_army_and_naval_air_services = yes
			add_to_variable = { JAP_airforce_air_wing_xp_loss_when_killed_factor = -0.1 tooltip = air_wing_xp_loss_when_killed_factor_tt }
			add_to_variable = { JAP_airforce_air_untrained_pilots_penalty_factor = -0.1 tooltip = air_untrained_pilots_penalty_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_imperial_army = yes
			add_to_variable = { JAP_army_coordination_bonus = 0.03 tooltip = coordination_bonus_tt }

		}
	}

	focus = {
		id = JAP_combined_arms
		icon = GFX_focus_generic_tank_air_support
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_improved_radio_communications }
		prerequisite = { focus = JAP_strenghten_the_supply_lines focus = JAP_pivot_towards_defensive_measures }

		relative_position_id = JAP_improved_radio_communications
		x = -2
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { }

		completion_reward = {

			JAP_add_or_modify_imperial_army = yes
			add_to_variable = { JAP_army_air_superiority_bonus_in_combat = 0.1 tooltip = air_superiority_bonus_in_combat_tt }
			add_to_variable = { JAP_army_coordination_bonus = 0.05 tooltip = coordination_bonus_tt }

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
					has_dlc = "La Resistance"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				mio:JAP_tokyo_automobile_industries_organization = {
					set_mio_name_key = JAP_isuzu_motors
					add_mio_size = 2
					add_mio_funds_gain_factor = 0.05
					
				}
				hidden_effect = {
					mio:JAP_tokyo_automobile_industries_organization = {
						set_mio_icon = GFX_idea_JAP_isuzu_mot_2
					}
				}

			}

		}

	}
	
	focus = {
		id = JAP_the_divine_wind
		icon = GFX_focus_JAP_the_divine_wind
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_adopt_new_air_doctrine }

		relative_position_id = JAP_adopt_new_air_doctrine
		x = 1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			add_ideas = JAP_the_divine_wind_idea
			
			IF = {
				limit = {
					NOT = {
						has_rule = can_use_kamikaze_pilots
					}
					
				}
				hidden_effect = {
					set_rule = {
						can_use_kamikaze_pilots = yes
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = kamikaze_focus_tooltip
			}

		}

	}

	focus = {
		id = JAP_sea_jet_prototypes
		icon = GFX_focus_JAP_jet_prototypes
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_sea_unify_the_air_forces focus = JAP_the_divine_wind }

		relative_position_id = JAP_sea_unify_the_air_forces
		x = 1
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH }

		completion_reward = {
			
			add_breakthrough_progress = {
				specialization = specialization_air
				value = 1
			}

			add_tech_bonus = {
				name = JAP_sea_jet_prototypes
				bonus = 0.33
				uses = 2
				category = jet_technology
			}		

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_advanced_weapon_projects = yes
			add_to_variable = { JAP_advanced_weapons_sp_tag_jet_speed_factor = 0.1 tooltip = sp_tag_jet_speed_factor_tt }
		}

	}

	focus = {
		id = JAP_rockets_development
		icon = GFX_focus_rocketry
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_sea_unify_the_air_forces focus = JAP_the_divine_wind }

		relative_position_id = JAP_sea_unify_the_air_forces
		x = 3
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			is_special_project_completed = sp:sp_rocket_interceptor
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH }

		completion_reward = {

			add_tech_bonus = {
				name = JAP_rockets_development
				bonus = 0.5
				uses = 1
				category = rocketry
			}
			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.25
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					NOT = { has_dlc = "By Blood Alone" }
				}
				custom_effect_tooltip = JAP_strengthen_the_divine_wind_effect
				hidden_effect = { set_technology = { suicide_craft = 1 } }
			}
			ELSE = {
				custom_effect_tooltip = JAP_strengthen_the_divine_wind_effect_bba
				hidden_effect = { set_technology = { suicide_charge = 1 popup = no} }
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_advanced_weapon_projects = yes
			add_to_variable = { JAP_advanced_weapons_sp_tag_rocket_speed_factor = 0.1 tooltip = sp_tag_rocket_speed_factor_tt }
		}
	}

	focus = {
		id = JAP_expand_hiratsuka_navy_arsenal
		icon = GFX_goal_generic_construct_naval_dockyard
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_the_imperial_defense_plan }

		relative_position_id = JAP_the_imperial_defense_plan
		x = 9
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			if = {
				limit = {
					282 = {
						is_fully_controlled_by = ROOT
						free_building_slots = {
							building = dockyard
							size > 2
							include_locked = yes
						}
					}
				}
				282 = {
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = dockyard
						level = 3
						instant_build = yes
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
						NOT = {
							has_state_category = small_island
							has_state_category = tiny_island
						}
						free_building_slots = {
							building = dockyard
							size > 2
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = dockyard
						level = 3
						instant_build = yes
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = JAP_kure_naval_arsenal_organization
				mio:JAP_kure_naval_arsenal_organization = {
					add_mio_size = 2
				}
			}
			ELSE = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = kure_naval_arsenal
			}

		}

	}

	focus = {
		id = JAP_expand_navy_technical_department
		icon = GFX_focus_JAP_expand_navy_technical_department
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_expand_hiratsuka_navy_arsenal }

		relative_position_id = JAP_expand_hiratsuka_navy_arsenal
		x = -1
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			JAP_small_naval_faction_gain = yes

			custom_effect_tooltip = generic_skip_one_line_tt
			
			add_tech_bonus = {
				name = JAP_expand_navy_technical_department
				bonus = 0.5
				uses = 1
				category = naval_equipment
			}

			add_breakthrough_progress = {
				specialization = specialization_naval
				value = 0.5
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_advanced_weapon_projects = yes
			add_to_variable = { JAP_advanced_weapons_sp_tag_surface_ship_speed_factor = 0.1 tooltip = sp_tag_surface_ship_speed_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					NOT = {
						has_state_category = small_island
						has_state_category = tiny_island
					}
					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 = JAP_prepare_the_southern_front
		icon = GFX_focus_generic_naval_invasion
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_expand_hiratsuka_navy_arsenal }

		relative_position_id = JAP_expand_hiratsuka_navy_arsenal
		x = 1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_IMPERIAL_INFLUENCE FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {

			JAP_small_naval_faction_gain = yes
			
			custom_effect_tooltip = generic_skip_one_line_tt

			524 = { #Taiwan
				IF = {
					limit = {
						state_is_fully_controlled_by_ROOT_or_subject = yes
					}
					IF = {
						limit = {
							air_base < 7
						}
						add_building_construction = {
							type = air_base
							level = 2
							instant_build = yes
						}
					}
					IF = {
						limit = {
							naval_supply_hub < 1
						}
						add_building_construction = {
							type = naval_supply_hub
							level = 1
							province = 12068
							instant_build = yes
						}
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			add_tech_bonus = {
				name = JAP_expand_the_snlf
				bonus = 1
				uses = 1
				category = marine_tech
			}
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}		
				add_potential_special_forces_tree = yes
				add_doctrine_cost_reduction = {
					name = JAP_expand_the_snlf
					cost_reduction = 0.5
					uses = 1
					category = cat_marines_doctrine
				}
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_imperial_navy = yes
			add_to_variable = { JAP_navy_naval_invasion_prep_speed = 0.15 tooltip = naval_invasion_prep_speed_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_prepare_the_southern_front_tt
			effect_tooltip = {
				add_timed_idea = {
					idea = JAP_strike_south_idea
					days = 180
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = JAP_toyoaki_horiuchi
			
		}

	}

	focus = {
		id = JAP_focus_on_aircraft_carriers
		icon = GFX_focus_JAP_strengthen_the_kido_butai
		
		mutually_exclusive = {
			focus = JAP_balanced_naval_approach
			focus = JAP_sea_battleship_initiative
		}

		prerequisite = { focus = JAP_expand_navy_technical_department focus = JAP_prepare_the_southern_front }

		relative_position_id = JAP_expand_navy_technical_department
		x = -1
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_naval_faction_is_not_subdued = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_NAVY_XP FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {
			
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:JAP_kawasaki_dockyards_organization = {
					add_mio_size = 1
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			navy_experience = 50

			add_mastery_bonus = {
				bonus = 0.25
				days = 240
				track = carriers 
				name = JAP_focus_on_aircraft_carriers
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = JAP_focus_on_aircraft_carriers
				bonus = 1
				ahead_reduction = 1
				uses = 1
				category = mio_cat_tech_all_carrier_and_modules
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			random_navy_leader = {	
				limit = {
					NOT = {
						has_trait = air_controller
					}
				}	
				add_trait = { trait = air_controller }
			}
			
		}

	}

	focus = {
		id = JAP_yokosuka_naval_air_technical_arsenal
		icon = GFX_goal_generic_navy_carrier
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_focus_on_aircraft_carriers }

		relative_position_id = JAP_focus_on_aircraft_carriers
		x = -1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			has_tech = improved_ship_hull_carrier
			custom_trigger_tooltip = {
				tooltip = JAP_expand_hiratsuka_navy_arsenal_tt
				NOT = {
					has_idea = MTG_naval_treaty_adherent
				}
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:JAP_yokosuka_naval_arsenal_organization = {
					add_mio_funds_gain_factor = 0.15
				}
				mio:JAP_yokosuka_organization = {
					add_mio_funds_gain_factor = 0.15
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.15
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			JAP_add_or_modify_army_and_naval_air_services = yes
			add_to_variable = { JAP_airforce_sortie_efficiency = 0.05 tooltip = sortie_efficiency_tt }
		}

	}

	focus = {
		id = JAP_establish_the_mine_warfare_force
		icon = GFX_focus_JAP_mine_warfare_force
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_yokosuka_naval_air_technical_arsenal }
		prerequisite = { focus = JAP_improve_the_type_91_aerial_torpedo }

		relative_position_id = JAP_yokosuka_naval_air_technical_arsenal
		x = -2
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			has_tech = magnetic_detonator
			has_tech = improved_naval_mines
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { }

		completion_reward = {
			JAP_add_or_modify_imperial_navy = yes
			add_to_variable = { JAP_navy_naval_torpedo_hit_chance_factor = 0.05 tooltip = naval_torpedo_hit_chance_factor_tt }
			add_to_variable = { JAP_navy_naval_mine_hit_chance = 0.1 tooltip = naval_mine_hit_chance_tt }
			add_to_variable = { JAP_navy_naval_mines_damage_factor = 0.1 tooltip = naval_mines_damage_factor_tt }
		}

	}

	focus = {
		id = JAP_balanced_naval_approach
		icon = GFX_focus_JAP_balanced_naval_approach
		
		mutually_exclusive = {
			focus = JAP_focus_on_aircraft_carriers
			focus = JAP_sea_battleship_initiative
		}

		prerequisite = { focus = JAP_expand_navy_technical_department focus = JAP_prepare_the_southern_front }

		relative_position_id = JAP_expand_navy_technical_department
		x = 1
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_naval_faction_is_not_subdued = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_NAVY_XP FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {
			
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:JAP_yokosuka_naval_arsenal_organization = {
					add_mio_size = 1
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			navy_experience = 50

			add_doctrine_cost_reduction = {
				name = JAP_balanced_naval_approach
				cost_reduction = 0.25
				uses = 2
				category = naval_doctrine
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = JAP_balanced_naval_approach
				bonus = 0.5
				uses = 1
				category = mio_cat_tech_all_carrier_and_modules
			}

			add_tech_bonus = {
				name = JAP_balanced_naval_approach
				bonus = 0.5
				uses = 1
				category = mio_cat_tech_all_capital_ship_and_modules
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt

			random_navy_leader = {	
				limit = {
					NOT = {
						has_trait = air_controller
					}
				}	
				add_trait = { trait = air_controller }
			}
			random_navy_leader = {	
				limit = {
					NOT = {
						has_trait = ironside
					}
				}	
				add_trait = { trait = ironside }
			}

		}

	}

	focus = {
		id = JAP_sea_battleship_initiative
		icon = GFX_focus_ETH_an_ethiopian_navy_in_exile
		
		mutually_exclusive = {
			focus = JAP_focus_on_aircraft_carriers
			focus = JAP_balanced_naval_approach
		}

		prerequisite = { focus = JAP_expand_navy_technical_department focus = JAP_prepare_the_southern_front }

		relative_position_id = JAP_expand_navy_technical_department
		x = 3
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_naval_faction_is_not_subdued = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_NAVY_XP FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_IMPERIAL_INFLUENCE } 

		completion_reward = {
			
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				mio:JAP_kure_naval_arsenal_organization = {
					add_mio_size = 1
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			navy_experience = 50

			add_mastery_bonus = {
				bonus = 0.25
				days = 240
				track = capital_ships
				name = JAP_sea_battleship_initiative
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = JAP_sea_battleship_initiative
				bonus = 1
				ahead_reduction = 1
				uses = 1
				category = mio_cat_tech_all_capital_ship_and_modules
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			random_navy_leader = {	
				limit = {
					NOT = {
						has_trait = ironside
					}
				}	
				add_trait = { trait = ironside }
			}
		}

	}

	focus = {
		id = JAP_sea_bigger_better_yamato
		icon = GFX_focus_generic_navy_battleship2
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_sea_battleship_initiative }

		relative_position_id = JAP_sea_battleship_initiative
		x = 1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			is_special_project_completed = sp:sp_naval_super_heavy_battleship
			custom_trigger_tooltip = {
				tooltip = JAP_expand_hiratsuka_navy_arsenal_tt
				NOT = {
					has_idea = MTG_naval_treaty_adherent
				}
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { }

		completion_reward = {

			create_equipment_variant = {
				name = "Tsushima Class"
				type = ship_hull_super_heavy_1
				name_group = JAP_BB_HISTORICAL
				parent_version = 0
				allow_without_tech = yes #Makes no difference since focus requires appropriate tech (above), but it improves tooltip
				modules = {
					fixed_ship_battery_slot = ship_super_heavy_battery_1
					fixed_ship_anti_air_slot = ship_anti_air_2
					fixed_ship_fire_control_system_slot = ship_fire_control_system_1
					fixed_ship_radar_slot = ship_radar_2
					fixed_ship_engine_slot = heavy_ship_engine_2
					fixed_ship_secondaries_slot = ship_secondaries_2
					fixed_ship_armor_slot = ship_armor_shbb
					front_1_custom_slot = ship_anti_air_1
					front_2_custom_slot = ship_super_heavy_battery_1
					mid_1_custom_slot = dp_ship_secondaries_3
					mid_2_custom_slot = ship_secondaries_2
					mid_3_custom_slot = ship_secondaries_2
					rear_1_custom_slot = ship_super_heavy_battery_1
					rear_2_custom_slot = ship_airplane_launcher_1
				}
				design_team = mio:JAP_kure_naval_arsenal_organization
			}
			
			add_equipment_production = {
				equipment = {
					type = ship_hull_super_heavy_1
					creator = JAP 
					version_name = "Tsushima Class"
				}
				name = "Tsushima" 
				requested_factories = 3
				progress = 0.85
				amount = 1
				industrial_manufacturer = mio:JAP_kure_naval_arsenal_organization
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_imperial_navy = yes
			add_to_variable = { JAP_navy_naval_heavy_gun_hit_chance_factor = 0.05 tooltip = naval_heavy_gun_hit_chance_factor_tt }

		}

	}


	focus = {
		id = JAP_akizuki_class_destroyers
		icon = GFX_focus_generic_destroyer
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_focus_on_aircraft_carriers focus = JAP_balanced_naval_approach focus = JAP_sea_battleship_initiative }

		relative_position_id = JAP_focus_on_aircraft_carriers
		x = 2
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			has_tech = basic_ship_hull_light
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			create_equipment_variant = {
				name = "Akizuki Class"
				name_group = JAP_DD_HISTORICAL
				allow_without_tech = yes #Makes no difference since focus requires appropriate tech (above), but it improves tooltip
				type = ship_hull_light_2
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = dp_light_battery_2
					fixed_ship_anti_air_slot = ship_anti_air_2
					fixed_ship_fire_control_system_slot = ship_fire_control_system_0
					fixed_ship_radar_slot = empty
					fixed_ship_engine_slot = light_ship_engine_2
					fixed_ship_torpedo_slot = ship_torpedo_1
					mid_1_custom_slot = ship_anti_air_2
					rear_1_custom_slot = ship_depth_charge_1
					front_1_custom_slot = dp_light_battery_1
				}
				design_team = mio:JAP_maizuru_naval_arsenal_organization
			}
			
			add_equipment_production = {
				equipment = {
					type = ship_hull_light_2
					creator = "JAP" 
					version_name = "Akizuki Class"
				}
				name = "Akizuki" 
				requested_factories = 1
				progress = 0.5
				amount = 1
				industrial_manufacturer = mio:JAP_maizuru_naval_arsenal_organization
			}
			add_equipment_production = {
				equipment = {
					type = ship_hull_light_2
					creator = "JAP" 
					version_name = "Akizuki Class"
				}
				name = "Teruzuki" 
				requested_factories = 1
				progress = 0.5
				amount = 1
				industrial_manufacturer = mio:JAP_maizuru_naval_arsenal_organization
			}
			add_equipment_production = {
				equipment = {
					type = ship_hull_light_2
					creator = "JAP" 
					version_name = "Akizuki Class"
				}
				name = "Suzutsuki" 
				requested_factories = 1
				progress = 0.5
				amount = 1
				industrial_manufacturer = mio:JAP_maizuru_naval_arsenal_organization
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_imperial_navy = yes
			add_to_variable = { JAP_navy_navy_anti_air_attack_factor = 0.05 tooltip = navy_anti_air_attack_factor_tt }

		}

	}

	focus = {
		id = JAP_form_the_kido_butai
		icon = GFX_focus_SMB_blue_water_fleet
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_focus_on_aircraft_carriers focus = JAP_balanced_naval_approach }

		relative_position_id = JAP_focus_on_aircraft_carriers
		x = 1
		y = 2

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = JAP_expand_hiratsuka_navy_arsenal_tt
				NOT = {
					has_idea = MTG_naval_treaty_adherent
				}
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			
			JAP_add_or_modify_army_and_naval_air_services = yes
			add_to_variable = { JAP_airforce_sortie_efficiency = 0.1 tooltip = sortie_efficiency_tt }

		}

	}

	focus = {
		id = JAP_sea_heavier_naval_guns
		icon = GFX_focus_generic_battleship_guns
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_balanced_naval_approach focus = JAP_sea_battleship_initiative }

		relative_position_id = JAP_balanced_naval_approach
		x = 1
		y = 2

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = JAP_expand_hiratsuka_navy_arsenal_tt
				NOT = {
					has_idea = MTG_naval_treaty_adherent
				}
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {

			add_tech_bonus = {
				name = JAP_sea_heavier_naval_guns
				bonus = 0.75
				uses = 1
				category = cat_ship_heavy_battery
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_imperial_navy = yes
			add_to_variable = { JAP_navy_naval_heavy_gun_hit_chance_factor = 0.1 tooltip = naval_heavy_gun_hit_chance_factor_tt }
		}

	}

	focus = {
		id = JAP_naval_armaments_program
		icon = GFX_focus_JAP_naval_armaments_program

		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_form_the_kido_butai focus = JAP_sea_heavier_naval_guns }

		relative_position_id = JAP_form_the_kido_butai
		x = -2
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_naval_faction_is_at_least_influential = yes
			OR = {
				AND = {
					has_tech = improved_ship_hull_carrier
					has_completed_focus = JAP_focus_on_aircraft_carriers
				}
				AND = {
					has_tech = improved_ship_hull_carrier
					is_special_project_completed = sp:sp_naval_super_heavy_battleship
					has_completed_focus = JAP_balanced_naval_approach
				}
				AND = {
					is_special_project_completed = sp:sp_naval_super_heavy_battleship
					has_completed_focus = JAP_sea_battleship_initiative	
				}
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			add_breakthrough_progress = {
				specialization = specialization_naval
				value = 0.25
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					NOT = {
						has_completed_focus = JAP_focus_on_aircraft_carriers
						has_completed_focus = JAP_balanced_naval_approach
						has_completed_focus = JAP_sea_battleship_initiative
					}
				}
				custom_effect_tooltip = JAP_naval_armaments_program_tt
			}
			ELSE_IF = {
				limit = {
					has_completed_focus = JAP_focus_on_aircraft_carriers
				}
				create_equipment_variant = {
					name = "Shokaku Class"				
					name_group = JAP_CV_HISTORICAL
					type = ship_hull_carrier_2
					modules = {
						fixed_ship_deck_slot_1 = ship_deck_space
						fixed_ship_deck_slot_2 = ship_deck_space
						fixed_ship_anti_air_slot = ship_anti_air_2
						fixed_ship_engine_slot = carrier_ship_engine_3
						fixed_ship_secondaries_slot = empty
						front_1_custom_slot = ship_deck_space
						mid_1_custom_slot = ship_armor_carrier_deck
					}
					design_team = mio:JAP_yokosuka_naval_arsenal_organization
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_carrier_2
						creator = "JAP"
						version_name = "Shokaku Class"
					}
					name = "Shokaku"
					requested_factories = 1
					progress = 0.75
					amount = 1
					industrial_manufacturer = mio:JAP_yokosuka_naval_arsenal_organization
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_carrier_2
						creator = "JAP"
						version_name = "Shokaku Class"
					}
					name = "Zuikaku"
					requested_factories = 1
					progress = 0.75
					amount = 1
					industrial_manufacturer = mio:JAP_yokosuka_naval_arsenal_organization
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_carrier_2
						creator = "JAP"
						version_name = "Shokaku Class"
					}
					name = "Jun'yō" 
					requested_factories = 1
					progress = 0.75
					amount = 1
					industrial_manufacturer = mio:JAP_yokosuka_naval_arsenal_organization
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_carrier_2
						creator = "JAP"
						version_name = "Shokaku Class"
					}
					name = "Katsuragi" 
					requested_factories = 1
					progress = 0.5
					amount = 1
					industrial_manufacturer = mio:JAP_yokosuka_naval_arsenal_organization
				}
			}
			ELSE_IF = {
				limit = {
					has_completed_focus = JAP_balanced_naval_approach
				}
				create_equipment_variant = {
					name = "Shokaku Class"				
					name_group = JAP_CV_HISTORICAL
					type = ship_hull_carrier_2
					modules = {
						fixed_ship_deck_slot_1 = ship_deck_space
						fixed_ship_deck_slot_2 = ship_deck_space
						fixed_ship_anti_air_slot = ship_anti_air_2
						fixed_ship_engine_slot = carrier_ship_engine_3
						fixed_ship_secondaries_slot = empty
						front_1_custom_slot = ship_deck_space
						mid_1_custom_slot = ship_armor_carrier_deck
					}
					design_team = mio:JAP_yokosuka_naval_arsenal_organization
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_carrier_2
						creator = "JAP"
						version_name = "Shokaku Class"
					}
					name = "Shokaku"
					requested_factories = 1
					progress = 0.75
					amount = 1
					industrial_manufacturer = mio:JAP_yokosuka_naval_arsenal_organization
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_carrier_2
						creator = "JAP"
						version_name = "Shokaku Class"
					}
					name = "Zaikaku"
					requested_factories = 1
					progress = 0.75
					amount = 1
					industrial_manufacturer = mio:JAP_yokosuka_naval_arsenal_organization
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				create_equipment_variant = {
					name = "Yamato Class"
					type = ship_hull_super_heavy_1
					name_group = JAP_BB_HISTORICAL
					parent_version = 0
					allow_without_tech = yes #Makes no difference since focus grants appropriate tech (above), but it improves tooltip
					modules = {
						fixed_ship_battery_slot = ship_super_heavy_battery_1
						fixed_ship_anti_air_slot = ship_anti_air_2
						fixed_ship_fire_control_system_slot = ship_fire_control_system_1
						fixed_ship_radar_slot = empty
						fixed_ship_engine_slot = heavy_ship_engine_2
						fixed_ship_secondaries_slot = ship_secondaries_2
						fixed_ship_armor_slot = ship_armor_shbb
						front_1_custom_slot = ship_anti_air_1
						front_2_custom_slot = empty
						mid_1_custom_slot = empty
						mid_2_custom_slot = ship_secondaries_2
						mid_3_custom_slot = ship_secondaries_2
						rear_1_custom_slot = ship_super_heavy_battery_1
						rear_2_custom_slot = ship_airplane_launcher_1
					}
					design_team = mio:JAP_kure_naval_arsenal_organization
				}
				#custom_effect_tooltip = JAP_yamato_tt
				#hidden_effect = {
					add_equipment_production = {
						equipment = {
							type = ship_hull_super_heavy_1
							creator = "JAP" 
							version_name = "Yamato Class"
						}
						name = "Yamato" 
						requested_factories = 1
						progress = 0.75
						amount = 1
						industrial_manufacturer = mio:JAP_kure_naval_arsenal_organization
					}
					add_equipment_production = {
						equipment = {
							type = ship_hull_super_heavy_1
							creator = "JAP" 
							version_name = "Yamato Class"
						}
						name = "Musashi" 
						requested_factories = 1
						progress = 0.75
						amount = 1
						industrial_manufacturer = mio:JAP_kure_naval_arsenal_organization
					}
				#}
			}
			ELSE = {
				create_equipment_variant = {
					name = "Yamato Class"
					type = ship_hull_super_heavy_1
					name_group = JAP_BB_HISTORICAL
					parent_version = 0
					allow_without_tech = yes #Makes no difference since focus grants appropriate tech (above), but it improves tooltip
					modules = {
						fixed_ship_battery_slot = ship_super_heavy_battery_1
						fixed_ship_anti_air_slot = ship_anti_air_2
						fixed_ship_fire_control_system_slot = ship_fire_control_system_1
						fixed_ship_radar_slot = empty
						fixed_ship_engine_slot = heavy_ship_engine_2
						fixed_ship_secondaries_slot = ship_secondaries_2
						fixed_ship_armor_slot = ship_armor_shbb
						front_1_custom_slot = ship_anti_air_1
						front_2_custom_slot = empty
						mid_1_custom_slot = empty
						mid_2_custom_slot = ship_secondaries_2
						mid_3_custom_slot = ship_secondaries_2
						rear_1_custom_slot = ship_super_heavy_battery_1
						rear_2_custom_slot = ship_airplane_launcher_1
					}
					design_team = mio:JAP_kure_naval_arsenal_organization
				}
				#custom_effect_tooltip = JAP_yamato_tt
				#hidden_effect = {
					add_equipment_production = {
						equipment = {
							type = ship_hull_super_heavy_1
							creator = "JAP" 
							version_name = "Yamato Class"
						}
						name = "Yamato" 
						requested_factories = 1
						progress = 0.75
						amount = 1
						industrial_manufacturer = mio:JAP_kure_naval_arsenal_organization
					}
					add_equipment_production = {
						equipment = {
							type = ship_hull_super_heavy_1
							creator = "JAP" 
							version_name = "Yamato Class"
						}
						name = "Musashi" 
						requested_factories = 1
						progress = 0.75
						amount = 1
						industrial_manufacturer = mio:JAP_kure_naval_arsenal_organization
					}
					add_equipment_production = {
						equipment = {
							type = ship_hull_super_heavy_1
							creator = "JAP" 
							version_name = "Yamato Class"
						}
						name = "Shinano"
						requested_factories = 1
						progress = 0.75
						amount = 1
						industrial_manufacturer = mio:JAP_kure_naval_arsenal_organization
					}
					add_equipment_production = {
						equipment = {
							type = ship_hull_super_heavy_1
							creator = "JAP" 
							version_name = "Yamato Class"
						}
						name = "Nara" 
						requested_factories = 1
						progress = 0.5
						amount = 1
						industrial_manufacturer = mio:JAP_kure_naval_arsenal_organization
					}
				#}
			}

		}

	}

	focus = {
		id = JAP_radio_guided_missiles
		icon = GFX_focus_JAP_radio_guided_missiles
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_naval_armaments_program }
		prerequisite = { focus = JAP_rockets_development }

		relative_position_id = JAP_naval_armaments_program
		x = -1
		y = 2

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			
			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.75
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_advanced_weapon_projects = yes
			add_to_variable = { JAP_advanced_weapons_sp_tag_rocket_speed_factor = 0.1 tooltip = sp_tag_rocket_speed_factor_tt }

		}

	}

	focus = {
		id = JAP_assure_superior_naval_quality
		icon = GFX_focus_JAP_assure_superior_naval_quality
		
		mutually_exclusive = {
			focus = JAP_seek_strength_in_numbers
		}

		prerequisite = { focus = JAP_form_the_kido_butai focus = JAP_sea_heavier_naval_guns }

		relative_position_id = JAP_form_the_kido_butai
		x = 0
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			has_war_with_major = yes
			JAP_naval_faction_is_at_least_influential = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			add_tech_bonus = {
				name = JAP_assure_superior_naval_quality
				bonus = 0.33
				uses = 2
				category = naval_armor
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_imperial_navy = yes
			add_to_variable = { JAP_navy_navy_org_factor = 0.05 tooltip = navy_org_factor_tt }
			add_to_variable = { JAP_navy_experience_gain_navy_unit_factor = 0.05 tooltip = experience_gain_navy_unit_factor_tt }
		}
	}

	focus = {
		id = JAP_seek_strength_in_numbers
		icon = GFX_focus_generic_large_navy
		
		mutually_exclusive = {
			focus = JAP_assure_superior_naval_quality
		}

		prerequisite = { focus = JAP_form_the_kido_butai focus = JAP_sea_heavier_naval_guns }

		relative_position_id = JAP_form_the_kido_butai
		x = 2
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			has_war_with_major = yes
			JAP_naval_faction_is_at_least_influential = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_IMPERIAL_INFLUENCE FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				custom_effect_tooltip = JAP_seek_strength_in_numbers_tt
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			JAP_add_or_modify_early_industrialization = yes
			add_to_variable = { JAP_industry_industrial_capacity_dockyard = 0.05 tooltip = industrial_capacity_dockyard_tt }
			add_to_variable = { JAP_industry_production_speed_dockyard_factor = 0.1 tooltip = production_speed_dockyard_factor_tt }

		}

	}

	focus = {
		id = JAP_nationalize_suzuka_naval_arsenal
		icon = GFX_focus_POL_develop_polish_shipbuilding
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_form_the_kido_butai focus = JAP_sea_heavier_naval_guns }

		relative_position_id = JAP_form_the_kido_butai
		x = 4
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_naval_faction_is_at_least_influential = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {
			if = {
				limit = {
					531 = {
						is_fully_controlled_by = ROOT
						free_building_slots = {
							building = dockyard
							size > 1
							include_locked = yes
						}
					}
				}
				531 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = dockyard
						level = 2
						instant_build = yes
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
						is_coastal = yes
						NOT = {
							has_state_category = small_island
							has_state_category = tiny_island
						}
						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
					}
				}
			}
		}
	}

	focus = {
		id = JAP_nationalize_fujinagata_shipyards
		icon = GFX_focus_generic_refit_civilian_ships
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_nationalize_suzuka_naval_arsenal }

		relative_position_id = JAP_nationalize_suzuka_naval_arsenal
		x = 0
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			JAP_add_or_modify_imperial_navy = yes
			add_to_variable = { JAP_navy_repair_speed_factor = 0.1 tooltip = repair_speed_factor_tt }
			add_to_variable = { JAP_navy_refit_speed = 0.1 tooltip = refit_speed_tt }
			add_to_variable = { JAP_navy_naval_ship_recovery_chance = 0.1 tooltip = naval_ship_recovery_chance_tt }
		}
	}

	focus = {
		id = JAP_secure_the_sea_lanes
		icon = GFX_goal_generic_navy_anti_submarine
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_naval_armaments_program focus = JAP_assure_superior_naval_quality focus = JAP_seek_strength_in_numbers focus = JAP_nationalize_suzuka_naval_arsenal }

		relative_position_id = JAP_seek_strength_in_numbers
		x = -2
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			has_war_with_major = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { }

		completion_reward = {
			JAP_add_or_modify_imperial_navy = yes
			add_to_variable = { JAP_navy_naval_detection = 0.05 tooltip = naval_detection_tt }
			add_to_variable = { JAP_navy_convoy_escort_efficiency = 0.1 tooltip = convoy_escort_efficiency_tt }
		}

	}

	focus = {
		id = JAP_fix_flawed_naval_designs
		icon = GFX_focus_generic_navy_research_bonus
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_naval_armaments_program focus = JAP_assure_superior_naval_quality focus = JAP_seek_strength_in_numbers focus = JAP_nationalize_suzuka_naval_arsenal }

		relative_position_id = JAP_seek_strength_in_numbers
		x = 0
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			has_war_with_major = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { }

		completion_reward = {
			JAP_add_or_modify_imperial_navy = yes
			add_to_variable = { JAP_navy_naval_accidents_chance = -0.1 tooltip = naval_accidents_chance_tt }
		}
	}

	focus = {
		id = JAP_f_go_nuclear_project
		icon = GFX_focus_JAP_f_go_nuclear_project
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_fix_flawed_naval_designs }
		prerequisite = { focus = JAP_secure_the_sea_lanes }

		relative_position_id = JAP_fix_flawed_naval_designs
		x = -1
		y = 1

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			has_war_with_major = yes
			JAP_naval_faction_is_at_least_influential = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			IF = {
				limit = {
					NOT = { has_completed_focus = JAP_ni_go_nuclear_project }
				}
				add_tech_bonus = {
					name = JAP_f_go_nuclear_project
					bonus = 0.25
					uses = 1
					category = nuclear
				}
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.15
				}
			}
			ELSE = {
				add_tech_bonus = {
					name = JAP_f_go_nuclear_project
					bonus = 1
					uses = 1
					category = nuclear
				}
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.5
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_advanced_weapon_projects = yes
			add_to_variable = { JAP_advanced_weapons_sp_nuclear_engines_speed_factor = 0.25 tooltip = sp_nuclear_engines_speed_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_small_naval_faction_gain = yes

		}

	}

	focus = {
		id = JAP_combined_nuclear_research_efforts
		icon = GFX_focus_wonderweapons
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_f_go_nuclear_project }
		prerequisite = { focus = JAP_ni_go_nuclear_project }

		relative_position_id = JAP_f_go_nuclear_project
		x = -9
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_naval_faction_is_same_as_army = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_breakthrough_progress = {
				specialization = specialization_nuclear
				value = 1
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_advanced_weapon_projects = yes
			add_to_variable = { JAP_advanced_weapons_production_speed_nuclear_reactor_factor = 0.15 tooltip = production_speed_nuclear_reactor_factor_tt }
		}
	}

	focus = {
		id = JAP_end_the_interservice_rivalry
		icon = GFX_focus_JAP_end_the_interservice_rivalry
		
		#mutually_exclusive = {
		#	focus = 
		#}

		prerequisite = { focus = JAP_combined_nuclear_research_efforts }

		relative_position_id = JAP_combined_nuclear_research_efforts
		x = 0
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			JAP_naval_faction_is_same_as_army = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			add_war_support = 0.1
			add_command_power = 50

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_end_the_interservice_rivalry_tt

			custom_effect_tooltip = generic_skip_one_line_tt
			
			JAP_army_faction_swap_away_from_interservice_rivalry_effect = yes
			JAP_naval_faction_swap_away_from_interservice_rivalry_effect = yes
			
		}

	}

	










}
