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

	default = no

	continuous_focus_position = { x = 20 y = 1200 }



	focus = {
		id = JAP_purge_the_kodoha_faction
		icon = GFX_goal_JAP_purge_the_kodoha_faction
		x = 4
		y = 0
		relative_position_id = JAP_the_unthinkable_option
		

		cost = 5

		ai_will_do = {
			factor = 4
		}

		

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_to_variable = { imperial = 25 }
			add_stability = 0.1
			hidden_effect = {
				set_rule = { can_send_volunteers = no }
				if = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
			}
		}
	}

	focus = {
		id = JAP_liaison_conference
		icon = GFX_goal_generic_intelligence_exchange
		prerequisite = { focus = JAP_purge_the_kodoha_faction }
		x = -1
		y = 1
		relative_position_id = JAP_purge_the_kodoha_faction

		cost = 5

		ai_will_do = {
			factor = 2
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_ideas = JAP_liaison_conference
			every_army_leader = {
				add_planning = 1
			}
		}
	}

	focus = {
		id = JAP_greater_east_asian_co_prosperity_sphere
		icon = GFX_goal_JAP_recognise_former_daimyo_families 	
		prerequisite = { focus = JAP_liaison_conference }
		x = -1
		y = 1 
		relative_position_id = JAP_liaison_conference

		cost = 5

		ai_will_do = {
			factor = 2
		}

		available = {
			is_subject = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			set_rule = { can_create_factions = yes }
			create_faction = JAP_greater_east_asian_co_prosperity_sphere
			IF = {
				limit = {
					has_dlc = "La Resistance"
				}
				JAP_create_ignatius_lincoln_operative = yes
			}
		}
	}

	focus = {
		id = JAP_intervene_in_china
		icon = GFX_goal_JAP_purge_the_kwantung_army
		prerequisite = { focus = JAP_greater_east_asian_co_prosperity_sphere }
		will_lead_to_war_with = CHI
		x = -1
		y = 1
		relative_position_id = JAP_greater_east_asian_co_prosperity_sphere

		cost = 5

		available = { 
			date > 1938.4.1
		}

		will_lead_to_war_with = CHI

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				date < 1937.1.1
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			add_power_balance_value = {
				id = JAP_balanc_imperial
				value = 0.15
			}
			add_to_variable = { imperial = 35 }
			air_experience = 800
			army_experience = 800
			annex_country = { target = CHI }
			add_named_threat = { threat = 20 name = JAP_intervene_in_china }
		    custom_effect_tooltip = cherep_tt
		    hidden_effect = {
			608 = {
				set_resistance = 60
				set_compliance = 30
			}
            613 = {
				set_resistance = 60
				set_compliance = 30
			}		
			743 = {
				set_resistance = 60
				set_compliance = 30
			}
            609 = {
				set_resistance = 60
				set_compliance = 30
			}
			division_template = {
				name = "Giretsu Kuteitai" 	
				division_names_group = FRA_ARM_01

				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 = 1 y = 2 }
		infantry = { x = 1 y = 3 }
		infantry = { x = 1 y = 4 }
		infantry = { x = 2 y = 0 }
		infantry = { x = 2 y = 1 }
		infantry = { x = 2 y = 2 }
		infantry = { x = 2 y = 3 }
		infantry = { x = 2 y = 4 }
		infantry = { x = 3 y = 0 }
		infantry = { x = 3 y = 1 }
		infantry = { x = 3 y = 2 }
		infantry = { x = 3 y = 3 }
		infantry = { x = 3 y = 4 }
		infantry = { x = 4 y = 0 }
		infantry = { x = 4 y = 1 }
		infantry = { x = 4 y = 2 }
	            }
				support = {
					artillery = { x = 0 y = 1 }
					engineer = { x = 0 y = 0 }
					anti_tank = { x = 0 y = 2 }
				}
			}
			282 = {
				create_unit = {
					division = "name = \"Giretsu Kuteitai\" division_template = \"Giretsu Kuteitai\" start_experience_factor = 1 start_equipment_factor = 1 start_manpower_factor = 1"
					owner = ROOT
					count = 8
				}
			}
			}
			add_political_power = -100
			USA = {
				add_war_support = 0.40
				add_political_power = 100
			}
		}
	}


	focus = {
		id = JAP_develop_chinese_resources
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = JAP_intervene_in_china}
		x = 0
		y = 1
		relative_position_id = JAP_intervene_in_china

		cost = 5

		ai_will_do = {
			factor = 4
		}

		available = {
			has_full_control_of_state = 605
			has_full_control_of_state = 325
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			605 = {
				add_resource = {
					type = aluminium
					amount = 8
				}
			}
			325 = {
				add_resource = {
					type = aluminium
					amount = 12
				}
			}
			if = {
				limit = { has_dlc = "Waking the Tiger" }
				unlock_decision_category_tooltip = prospect_for_resources
			}
		}
	}

	focus = {
		id = JAP_strike_south_doctrine
		icon = GFX_goal_generic_navy_doctrines_tactics
		prerequisite = { focus = JAP_greater_east_asian_co_prosperity_sphere }
		prerequisite = { focus = JAP_sign_tripartite_pact }
		x = 0
		y = 2
		relative_position_id = JAP_liaison_conference

		cost = 5

		ai_will_do = {
			factor = 2
			modifier = {
				factor = 2
				FRA = { has_war = yes }
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			add_ideas = SWE_coastal_support
			add_doctrine_cost_reduction = {
				name = JAP_strike_south_doctrine
				cost_reduction = 0.5
				uses = 2
				category = naval_doctrine	
			}
			IF = {
				limit = {
					has_dlc = "La Resistance"
				}
				JAP_create_patrick_heenan_operative = yes
			}
			unlock_decision_tooltip = JAP_pressure_france
		}
	}

	focus = {
		id = JAP_non_aggression_pact_with_the_soviet_union
		icon = GFX_goal_generic_dangerous_deal
		#prerequisite = { focus = JAP_expand_invalid }
		prerequisite = { focus = JAP_strike_south_doctrine }
		x = 0
		y = 3
		relative_position_id = JAP_strike_south_doctrine
		dynamic = yes  

		cost = 5

		ai_will_do = {
			factor = 2
		}

		available = {

		}

		bypass = {
			OR = {
				has_non_aggression_pact_with = SOV
				has_war_with = SOV
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			SOV = { country_event = { id = wtt_japan.11 } }
		}
	}

	

	

	focus = {
		id = JAP_strike_on_the_southern_resource_area
		icon = GFX_goal_JAP_greater_east_asian_co_prosperity_sphere
		prerequisite = { focus = JAP_non_aggression_pact_with_the_soviet_union }
		x = 0
		y = 1
		relative_position_id = JAP_non_aggression_pact_with_the_soviet_union

		will_lead_to_war_with = ENG
		will_lead_to_war_with = MAL
		will_lead_to_war_with = INS

		cost = 5

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				date < 1940.1.1
			}
			modifier = {
				factor = 0
				ENG = { has_war = no }
				HOL = { has_war = no }
			}
			modifier = {
				has_war_with = SOV
				factor = 0
			}
		}

		available = {
            date > 1941.5.1 
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			declare_war_on = { target = USA    type = take_state_focus } 
			declare_war_on = { target = ENG    type = take_state_focus } 
			declare_war_on = { target = CAN    type = take_state_focus }
			declare_war_on = { target = SAF    type = take_state_focus } 
			declare_war_on = { target = RAJ    type = take_state_focus } 
			declare_war_on = { target = AST    type = take_state_focus }
			declare_war_on = { target = INS    type = take_state_focus }
			custom_effect_tooltip = JAP_expans_tt
		}
	}

	focus = {
		id = JAP_expand_manchurian_railways
		icon = GFX_focus_generic_road_investment
		prerequisite = { focus = JAP_the_manchurian_project1 }
		x = 0
		y = 1
		relative_position_id = JAP_the_manchurian_project1

		cost = 5

		available = {
			OR = { 
			    716 = { is_fully_controlled_by = MAN }
			    716 = { is_fully_controlled_by = JAP }
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			every_controlled_state  = {
					limit = {
						is_core_of = MAN
						is_controlled_by = JAP
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
					type = infrastructure
					level = 1
				}
			}
		}
	}

	focus = {
		id = JAP_exploit_the_southern_resource_area
		icon = GFX_goal_generic_construction2
		prerequisite = { focus = JAP_strike_on_the_southern_resource_area }
		prerequisite = { focus = JAP_coal_liquification }
		x = 1
		y = 1
		relative_position_id = JAP_strike_on_the_southern_resource_area

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no


		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			336 = {
				add_resource = {
					type = aluminium
					amount = 12
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			333 = {
				if = {
					limit = { is_fully_controlled_by = ROOT }
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			672 = {
				if = {
					limit = { is_fully_controlled_by = ROOT }
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			334 = {
				if = {
					limit = { is_fully_controlled_by = ROOT }
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			671 = {
				add_resource = {
					type = aluminium
					amount = 6
				}
			}
			if = {
				limit = { has_dlc = "Waking the Tiger" }
				unlock_decision_category_tooltip = prospect_for_resources
			}
		}
	}

	focus = {
		id = JAP_sign_tripartite_pact
		icon = GFX_goal_JAP_sign_the_tripartite_pact
		prerequisite = { focus = JAP_liaison_conference }
		x = 1
		y = 1
		relative_position_id = JAP_liaison_conference

		cost = 5

		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0
				NOT = { GER = { is_in_faction_with = ITA } }
			}
		}

		available = {
			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


		completion_reward = {
			random_country = {
				limit = {
					original_tag = GER
					has_government = fascism
				}
				country_event = { id = wtt_japan.109 days = 1 }
			}
		}
	}

	focus = {
		id = JAP_guide_the_zaibatsus
		icon = GFX_focus_jap_zaibatsu
		prerequisite = { focus = JAP_purge_the_kodoha_faction }
		x = 1
		y = 1
		relative_position_id = JAP_purge_the_kodoha_faction




		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_INDUSTRY }
		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = JAP_zaibatsus_factories
				}
				add_building_construction = {
					type = industrial_complex
					level = 4
					instant_build = yes
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = JAP_zaibatsus
				add_idea = JAP_guide_the_zaibatsus1				
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					ROOT = { has_full_control_of_state = PREV }
					is_core_of = ROOT
					not = {
						OR = {
							state = 646
							state = 645
							state = 555
						}
					}
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = industrial_complex
					level = 4
					instant_build = yes
				}
				set_state_flag = JAP_zaibatsus_factories
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = JAP_zaibatsus
				add_idea = JAP_guide_the_zaibatsus
			}
		}
	}

	focus = {
		id = JAP_nationalize_war_industry
		icon = GFX_focus_ICE_state_corporatism
		prerequisite = { focus = JAP_guide_the_zaibatsus }
		prerequisite = { focus = JAP_national_mobilization_law }
		x = 0
		y = 2
		relative_position_id = JAP_guide_the_zaibatsus



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

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					ROOT = { has_full_control_of_state = PREV }
					is_core_of = ROOT
					not = {
						OR = {
							state = 646
							state = 645
							state = 555
						}
					}
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = arms_factory
					level = 4
					instant_build = yes
				}
				set_state_flag = JAP_nationalize_war_industry_AF
			}
			random_owned_controlled_state = {
				limit = {
					ROOT = { has_full_control_of_state = PREV }
					is_core_of = ROOT
					not = {
						OR = {
							state = 646
							state = 645
							state = 555
						}
					}					
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = industrial_complex
					level = 4
					instant_build = yes
				}
				set_state_flag = JAP_nationalize_war_industry_IC
			} 
		}
	}

	focus = {
		id = JAP_coal_liquification
		icon = GFX_focus_generic_resource_extraction
		prerequisite = { focus = JAP_nationalize_war_industry }
		x = 0
		y = 6
		relative_position_id = JAP_guide_the_zaibatsus



		cost = 4

		ai_will_do = {
			factor = 2
		}

		available = {
			any_controlled_state = {
				is_core_of = ROOT
				synthetic_refinery < 3
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no


		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					synthetic_refinery < 3
					free_building_slots = { #less than 24 unlocked slots
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				prioritize = { 528 }
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = synthetic_refinery
					level = 1
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = JAP_coal_liquification
				bonus = 1.0
				uses = 1
				category = synth_resources	
			}
		}
	}

	focus = {
		id = JAP_national_mobilization_law
		icon = GFX_focus_ETH_an_empire_in_the_shade_of_the_sun
		prerequisite = { focus = JAP_guide_the_zaibatsus }
		x = 2
		y = 1
		relative_position_id = JAP_guide_the_zaibatsus


		cost = 5

		ai_will_do = {
			factor = 2
		}

		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					OR = {
						has_completed_focus = JAP_the_unthinkable_option
						has_completed_focus = JAP_strengthen_civilian_government
					}
				}
			}
		}

		available = {

		}

		bypass = {
			has_idea = tot_economic_mobilisation
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no


		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			if = {
				limit = {	
					has_war_support < 0.5
				}
				add_war_support = 0.1
			}
			else_if = {
				limit = {
					has_idea = war_economy
				}
				add_political_power = 150
			}
			else = {
				add_ideas = war_economy
			}
		}
	}

	focus = {
		id = JAP_national_research_policy
		icon = GFX_z_goal_JAP_education_reform_council
		prerequisite = { focus = JAP_national_mobilization_law }
		x = 0
		y = 1
		relative_position_id = JAP_national_mobilization_law

		cost = 5

		ai_will_do = {
			factor = 4
		}

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

	

	focus = {
		id = JAP_national_defense_state
		icon = GFX_focus_ETH_the_lion_and_the_sun
		prerequisite = { focus = JAP_nationalize_war_industry }
		x = 3
		y = 4
		relative_position_id = JAP_purge_the_kodoha_faction

		cost = 10

		ai_will_do = {
			factor = 1
		}

		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					OR = {
						has_completed_focus = JAP_the_unthinkable_option
						has_completed_focus = JAP_strengthen_civilian_government
					}
				}
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			if = {
				limit = {
					has_war_support < 0.8
				}
				add_war_support = 0.1
			}
			else_if = {
				limit = {
					has_idea = tot_economic_mobilisation
				}
				add_political_power = 150
			}
			else = {
				add_ideas = tot_economic_mobilisation
			}
		}
	}

	focus = {
		id = JAP_spiritual_mobilization
		icon = GFX_goal_JAP_supremacy_of_will
		prerequisite = { focus = JAP_national_defense_state }
		x = -1
		y = 1
		relative_position_id = JAP_national_defense_state

		cost = 5

		ai_will_do = {
			factor = 4
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MANPOWER }
		completion_reward = {
			add_ideas = spiritual_mobilization_idea
			custom_effect_tooltip = peace_conference_spiritual_mob_modifier_japan
		}
	}

	focus = {
		id = JAP_warrior_spirit
		icon = GFX_focus_generic_japanese_imperial_glory
		prerequisite = { focus = JAP_national_defense_state }
		x = 1
		y = 1
		relative_position_id = JAP_national_defense_state

		cost = 5

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_war = no
			}
			modifier = {
				factor = 10
				surrender_progress > 0.9
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			hidden_effect = {
				set_rule = {
					can_use_kamikaze_pilots = yes
				}
			}
			custom_effect_tooltip = kamikaze_focus_tooltip
			if = { 
				limit = {
					has_dlc = "Waking the Tiger"
				}
				custom_effect_tooltip = cost_reduced_last_stand 
			}
		}
	}

	focus = {
		id = JAP_strengthen_the_divine_wind
		icon = GFX_goal_generic_secret_weapon
		prerequisite = { focus = JAP_spiritual_mobilization }
		prerequisite = { focus = JAP_warrior_spirit }
		x = 1
		y = 1
		relative_position_id = JAP_spiritual_mobilization

		cost = 5

		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

		completion_reward = {
			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} }
			}
		}
	}

	focus = {  
		id = JAP_the_manchurian_project1 
		icon = GFX_z_goal_let_economy_for_jap
		x = 21
		y = 1
		relative_position_id = JAP_purge_the_kodoha_faction
		prerequisite = { focus = JAP_the_proma_project }

		available = {
			custom_trigger_tooltip = {
					has_global_flag = JAP_special_prodjects_undustrial_vasars
				}
			
				has_global_flag = JAP_special_prodjects_undustrial_vasars
		}

		cost = 5

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			hidden_effect = {
				set_rule = { can_send_volunteers = no }
			}
			every_controlled_state  = {
					limit = {
						is_core_of = MAN
						is_controlled_by = JAP
					}
					add_compliance = 30
			}	
		}
	}

	focus = {  
		id = JAP_the_china_project1  
		icon = GFX_focus_generic_industry_1
		x = -5
		y = 1
		relative_position_id = JAP_the_manchurian_project1
		prerequisite = { focus = JAP_the_manchurian_project1 }

		cost = 5

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		available = {
			CHI = {
			     exists = no
			     }
		     620 = {
			    is_controlled_by = ROOT 
			}
		    750 = {
			    is_controlled_by = ROOT 
			}	
			 602 = {
			    is_controlled_by = ROOT 
			}
		    600 = {
			    is_controlled_by = ROOT 
			}	
		 }

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			JAP_china_debaf_undustreal = yes
			620 = {
			    add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}				
			}
			750 = {
			    add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}				
			}
			602 = {
			    add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}				
			}
			600 = {
			    add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}				
			}
			
			

		}
	}
	focus = {  
		id = JAP_the_china_project2  
		icon = GFX_SOV_steel_casting_industry_ccp_2d_sov_compatibility
		x = 1
		y = 1
		relative_position_id = JAP_the_china_project1
		prerequisite = { focus = JAP_the_china_project1 focus = JAP_the_china_project8 }

		cost = 5

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		available = {
			 599 = {
			    is_controlled_by = ROOT 
			}
		    594 = {
			    is_controlled_by = ROOT 
			}	
			 592 = {
			    is_controlled_by = ROOT 
			}
		    593 = {
			    is_controlled_by = ROOT 
			}	
		 }

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			599 = {
				add_resource = {
					type = steel
					amount = 5
				}	
				add_building_construction = {
					type = infrastructure
					level = 2
				}				
			}	
			594 = {
				add_resource = {
					type = steel
					amount = 5  
				}	
				add_building_construction = {
					type = infrastructure
					level = 2
				}				
			}	
			592 = {
	
				add_building_construction = {
					type = infrastructure
					level = 2
				}				
			}	
			593 = {
	
				add_building_construction = {
					type = infrastructure
					level = 2
				}				
			}	
		}
	}
	focus = {  
		id = JAP_the_china_project3 
		icon = GFX_focus_generic_military_industry
		x = -1
		y = 1
		relative_position_id = JAP_the_china_project1
		prerequisite = { focus = JAP_the_china_project1 }

		cost = 5

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		available = {
			622 = {
			    is_controlled_by = ROOT 
			}	
			 615 = {
			    is_controlled_by = ROOT 
			}
		 }

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			622 = {
			    add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}				
			}
			615 = {
			    add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}				
			}
		}
	}
	focus = {  
		id = JAP_the_china_project4  
		icon = GFX_SOV_expand_the_aircraft_industry_ccp_2d_sov_compatibility
		x = 0
		y = 1
		relative_position_id = JAP_the_china_project3
		prerequisite = { focus = JAP_the_china_project3 }

		cost = 5

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		available = {
			
		 }

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			JAP_china_debaf_undustreal = yes
			every_state = {
				limit = {
					is_core_of = CHI
					is_controlled_by = JAP
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				random_select_amount = 3
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {  
		id = JAP_the_china_project5 
		icon = GFX_focus_generic_industry_2
		x = 2
		y = 1
		relative_position_id = JAP_the_china_project3
		prerequisite = { focus = JAP_the_china_project2 }

		cost = 5

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		available = {
			608 = {
			    is_controlled_by = ROOT 
			}	
			597 = {
			    is_controlled_by = ROOT 
			}	
			613 = {
			    is_controlled_by = ROOT 
			}	
		 }

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			JAP_china_debaf_undustreal = yes
			608 = {
			    add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}				
			}
			597 = {
			    add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}				
			}
			613 = {
			    add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}				
			}
		}
	}
	focus = {  
		id = JAP_the_china_project6 
		icon = GFX_focus_generic_supply_line
		x = 2
		y = 1
		relative_position_id = JAP_the_china_project2
		prerequisite = { focus = JAP_the_china_project2 focus = JAP_the_china_project3 }

		cost = 5

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		available = {
			
		 }

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			build_railway = { 
			    level  = 1
                path = {1319 4192 4304 10616 7549 7521 10404 1023 12378 9997 12014 9970}
            }
            build_railway = { 
			    level  = 1
                path = {9970 9942 1053 7199}

            }
			build_railway = { 
			    level  = 1
                path = {1319 8023 7965}
				
            }
			build_railway = { 
			    level  = 1
                path = { 4075 10129 9961 4339 7356 1507 10356 12345 10398 10411}
				
            }
			724 = {
				add_building_construction = {
			 		type = supply_node
					level = 1
					instant_build = yes
					province = 7965
				}
			}
			   
			724 = {
                add_building_construction = {
					type = naval_base
					level = 2
					instant_build = yes
					province = 4312
				}
			    add_building_construction = {
			 		type = naval_base
					level = 2
					instant_build = yes
					province = 1387
				}
			}
			
		}
	}
	focus = {  
		id = JAP_the_china_project7  
		icon = GFX_focus_generic_industry_3
		x = 2
		y = 1
		relative_position_id = JAP_the_china_project4
		prerequisite = { focus = JAP_the_china_project4 }
		prerequisite = { focus = JAP_the_china_project5 focus = JAP_the_china_project6 }
		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		available = {
			
		 }

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = { 
			set_global_flag = JAP_special_prodjects_undustrial_vasars
			JAP_china_debaf_undustreal = yes
				add_tech_bonus = {
				name = industrial_bonus
				bonus = 1.25
				uses = 1 
				category = industry

			}
		}
	}
	focus = {   
		id = JAP_the_china_project8  
		icon = GFX_goal_continuous_suppression
		x = -2
		y = 1
		relative_position_id = JAP_the_manchurian_project1
		prerequisite = { focus = JAP_the_manchurian_project1 }
		cost = 5

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		available = {
			CHI = {
			     exists = no
			     }
			594 = {
			    is_controlled_by = ROOT 
			}
			592 = {
			    is_controlled_by = ROOT 
			}
			593 = {
			    is_controlled_by = ROOT 
			}
			599 = {
			    is_controlled_by = ROOT 
			}
			622 = {
			    is_controlled_by = ROOT 
			}
			615 = {
			    is_controlled_by = ROOT 
			}
			606 = {
			    is_controlled_by = ROOT 
			}
			749 = {
			    is_controlled_by = ROOT 
			}
			613 = {
			    is_controlled_by = ROOT 
			}
			598 = {
			    is_controlled_by = ROOT 
			}
			597 = {
			    is_controlled_by = ROOT 
			}
			614 = {
			    is_controlled_by = ROOT 
			}
			608 = {
			    is_controlled_by = ROOT 
			}
			607 = {
			    is_controlled_by = ROOT 
			}
			325 = {
			    is_controlled_by = ROOT 
			}
			747 = {
			    is_controlled_by = ROOT 
			}


		 }

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			add_timed_idea = {
				idea = JAP_baf_undustrial_china
                days = 160
			}
			if = {
				607 = { add_manpower = -23412 }   
			}
			if = {
				608 = { add_manpower = -63542 }
			}
			if = {
				614 = { add_manpower = -84632 }
			}
			if = {
				597 = { add_manpower = -25472 }
			}
			if = {
				598 = { add_manpower = -67453 }
			}
			if = {
				613 = { add_manpower = -1046234 }
			}
			if = {
				749 = { add_manpower = -12356 }
			}
			if = {
				606 = { add_manpower = -1230 }
			}
			if = {
				615 = { add_manpower = -12634 }
			}
			if = {
				622 = { add_manpower = -91264 }
			}
			if = {
				599 = { add_manpower = -15324 }
			}
			if = {
				593 = { add_manpower = -77722 }
			}
			if = {
				592 = { add_manpower = -12745 }
			}
			if = {
				594 = { add_manpower = -94655 }
			}
			if = {
				325 = { add_manpower = -64752 }
			}
			if = {
				747 = { add_manpower = -15725 }
			}

		}
	}
	focus = {    
		id = JAP_the_proma_project 
		icon = GFX_focus_jap_manchurian_project
		x = 13
		y = 0
		relative_position_id = JAP_purge_the_kodoha_faction

		cost = 5

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			hidden_effect = {
				set_rule = { can_send_volunteers = no }
			}
			add_tech_bonus = {
				name = industrial_bonus
				bonus = 1.0
				uses = 1 
				technology = concentrated_industry4
				technology = dispersed_industry4
			}
			country_event = { id = jap_imperial_undustrial.1  days = 1 }
				
		}
	}

	focus = {     
		id = JAP_theproma_project_sakura1  
		icon = GFX_z_goal_YSC_open_markets_to_the_japanese
		x = 0
		y = 1
		relative_position_id = JAP_the_proma_project
		prerequisite = { focus = JAP_the_proma_project }

		cost = 5

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {

				custom_effect_tooltip = JAP_special_prodjects_tt
		}
	}
	focus = {
		id = JAP_theproma_project_sakura2 
		icon = GFX_focus_GER_factories_for_resources
		x = 1
		y = 1
		relative_position_id = JAP_theproma_project_sakura1
		prerequisite = { focus = JAP_theproma_project_sakura1 }

		cost = 5

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {

				custom_effect_tooltip = JAP_special_prodjects_undustrial_tt
		}
	}
	focus = {  
		id = JAP_theproma_project_sakura3
		icon = GFX_z_goal_buy_japanese_rifles
		x = -1
		y = 1
		relative_position_id = JAP_theproma_project_sakura1
		prerequisite = { focus = JAP_theproma_project_sakura1 }

		cost = 5

		available = {
			OR = {
			    is_power_balance_in_range = {
				    id = JAP_balanc_imperial
                    range = left_side3_range
		         }
				  is_power_balance_in_range = {
				    id = JAP_balanc_imperial
                    range = left_side2_range
		         }
			}
		}

		cancel_if_invalid = yes 
		continue_if_invalid = no
		available_if_capitulated = no  

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {

			custom_effect_tooltip = JAP_special_prodjects_arms_tt   
		}
	}
	focus = {
		id = JAP_theproma_project_sakura4 
		icon = GFX_focus_generic_japanese_imperial_glory
		x = 0
		y = 2
		relative_position_id = JAP_theproma_project_sakura1
		prerequisite = { focus = JAP_theproma_project_sakura2 focus = JAP_theproma_project_sakura3 }

        available = { 
			CHI = {
			     exists = no
			    }
		}

		cost = 5

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {

				custom_effect_tooltip = JAP_special_prodjects_war_tt 
		}
	}
	focus = {
		id = JAP_theproma_project_sakura5  
		icon = GFX_z_goal_EHB_invite_japanese_teachers
		x = 0
		y = 3
		relative_position_id = JAP_theproma_project_sakura1
		prerequisite = { focus = JAP_theproma_project_sakura4 }

		cost = 5

        available = { 
			date > 1938.6.1
			CHI = {
			     exists = no
			     }
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {

				custom_effect_tooltip = JAP_special_prodjects_researh_tt
		}
	}

	focus = {
		id = JAP_expand_the_showa_steel_works
		icon = GFX_focus_generic_steel
		prerequisite = { focus = JAP_expand_manchurian_railways }
		prerequisite = { focus = JAP_Manchurian_oil_refinery }
		x = 4
		y = 3
		relative_position_id = JAP_the_manchurian_project1

		cost = 5

		ai_will_do = {
			factor = 2
		}

		available = {
		    OR = {
			    716 = { is_fully_controlled_by = MAN }
			    716 = { is_fully_controlled_by = JAP }		
			}	
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			716 = {
				if = {
					limit = {
						MAN = { has_focus_tree = generic_focus }
					}
					add_resource = {
						type = steel
						amount = 16
					}				
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				add_resource = {
					type = steel
					amount = 12
				}
			}
		}
	}

	focus = {
		id = JAP_develop_aluminum_sources
		icon = GFX_focus_generic_aluminum
		prerequisite = { focus = JAP_expand_the_showa_steel_works }
		x = -1
		y = 1
		relative_position_id = JAP_expand_the_showa_steel_works

		cost = 5

		ai_will_do = {
			factor = 2
		}

		available = {
		    OR = {
			    328 = { is_fully_controlled_by = MAN }
			    328 = { is_fully_controlled_by = JAP }
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			328 = {
				if = {
					add_resource = {
						type = aluminium
						amount = 12
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
	}
	
	focus = {
		id = JAP_Manchurian_oil_refinery
		icon = GFX_goal_generic_oil_refinery
		prerequisite = { focus = JAP_the_manchurian_project1 }
		x = 2
		y = 1
		relative_position_id = JAP_the_manchurian_project1

		cost = 5

		ai_will_do = {
			factor = 2
		}

		available = {
		    OR = {
			    761 = { is_fully_controlled_by = MAN }
			    761 = { is_fully_controlled_by = JAP }
			    714 = { is_fully_controlled_by = MAN }
			    714 = { is_fully_controlled_by = JAP }
			    717 = { is_fully_controlled_by = MAN }
			    717 = { is_fully_controlled_by = JAP }				
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			761 = {		
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = synthetic_refinery
					level = 2
					instant_build = yes
				}
			}
			714 = {		
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = synthetic_refinery
					level = 2
					instant_build = yes
				}
			}
			717 = {		
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = synthetic_refinery
					level = 2
					instant_build = yes
				}
			}
			
		}
	}
	focus = {
		id = JAP_Manchurian_rubber
		icon = GFX_focus_generic_rubber
		prerequisite = { focus = JAP_Manchurian_oil_refinery }
		x = 1
		y = 1
		relative_position_id = JAP_Manchurian_oil_refinery

		cost = 5

		ai_will_do = {
			factor = 2
		}

		available = {
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
        	modify_building_resources = {
        	   building = synthetic_refinery
        	   resource = rubber
        	   amount = 2
        	}
			MAN = {
				modify_building_resources = {
					building = synthetic_refinery
					resource = rubber
					amount = 2
				}
			}
		}
	}

focus = { 
		id = JAP_Strategic_fuel_reserve
		icon = GFX_focus_generic_stockpile_fuel
		prerequisite = { focus =JAP_light_industry_development }
		prerequisite = { focus = JAP_Manchurian_rubber }
		prerequisite = { focus =JAP_heavy_industry_development }
		x = -2
		y = 2
		relative_position_id = JAP_Manchurian_rubber
		dynamic = yes  

		cost = 5

		ai_will_do = {
			factor = 2
		}

		available = {

		}

		bypass = {
		} 

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			set_global_flag = JAP_special_prodjects_undustrial_vasars
			random_owned_controlled_state = {
			    prioritize = {531 532 535 534 282 533}			
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = fuel_silo
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
			    prioritize = {531 532 535 534 282 533}			
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = fuel_silo
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
			    prioritize = {531 532 535 534 282 533}			
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = fuel_silo
					level = 2
					instant_build = yes
				}
			}			
		}
	}	
	
	focus = {
		id = JAP_expand_railways
		icon = GFX_focus_ITA_corpo_volontari_della_liberta
		prerequisite = { focus = JAP_strike_south_doctrine }
		prerequisite = { focus = JAP_nationalize_war_industry }
		x = 1
		y = 1
		relative_position_id = JAP_strike_south_doctrine

		cost = 10

		available = {
			    286 = { is_fully_controlled_by = JAP }
			    671 = { is_fully_controlled_by = JAP }
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_timed_idea = {
				idea = NOR_reduced_workers_rights_ns
				days = 548
			}
		}
	}

	focus = {
		id = JAP_expand_invalid
		icon = GFX_focus_FIN_weapon_caches
		prerequisite = { focus = JAP_expand_railways }
		x = 1
		y = 2
		relative_position_id = JAP_strike_south_doctrine

		cost = 10

		available = {
			or = {
			     CHI = {
			     exists = no
			     }
				 has_war_with = CHI
				 325 = { is_fully_controlled_by = JAP }
				 747 = { is_fully_controlled_by = JAP }
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_ideas = ETH_regional_supply_depts_idea
		}
	}

	focus = {
		id = JAP_light_industry_development
		icon = GFX_focus_CHL_enlarge_the_textile_industries
		prerequisite = { focus = JAP_expand_manchurian_railways }
		x = -1
		y = 1
		relative_position_id = JAP_expand_manchurian_railways

		cost = 5

		ai_will_do = {
			factor = 2
		}

		available = {
			OR = {
			    715 = { is_fully_controlled_by = MAN }
			    715 = { is_fully_controlled_by = JAP }
			}
		}

		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 = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			714 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}			
		}
	}

	focus = {
		id = JAP_heavy_industry_development
		icon = GFX_focus_generic_reorient_production
		prerequisite = { focus = JAP_expand_manchurian_railways }
		x = 1
		y = 1
		relative_position_id = JAP_expand_manchurian_railways

		cost = 5

		ai_will_do = {
			factor = 2
		}

		available = {
			OR = {
			    716 = { is_fully_controlled_by = MAN }
			    716 = { is_fully_controlled_by = JAP }		
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			716 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			717 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}			
		}
	}

	focus = {
		id = JAP_japanese_settlement
		icon = GFX_focus_jap_cast_the_die
		prerequisite = { focus = JAP_heavy_industry_development }
		prerequisite = { focus = JAP_light_industry_development }
		x = 0
		y = 2
		relative_position_id = JAP_expand_manchurian_railways

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			AND = {
				745 = { 
			        controller = {
			            OR = {
				            original_tag = JAP						
			                is_in_faction_with = JAP
				        }
				    }
				}
		        743 = { 
			        controller = {
			            OR = {
				            original_tag = JAP						
			                is_in_faction_with = JAP
				        }
				    }
				}				
		        613 = { 
			        controller = {
			            OR = {
				            original_tag = JAP						
			                is_in_faction_with = JAP
				        }
				    }
				}				
		        591 = { 
			        controller = {
			            OR = {
				            original_tag = JAP						
			                is_in_faction_with = JAP
				        }
				    }
				}										
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			745 = { add_extra_state_shared_building_slots = 4 }
			743 = { add_extra_state_shared_building_slots = 4 }			
			613 = { add_extra_state_shared_building_slots = 4 }			
			591 = { add_extra_state_shared_building_slots = 4 }
			
		}
	}

	focus = {
		id = JAP_fortify_the_border
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = JAP_heavy_industry_development }
		x = 2
		y = 3
		relative_position_id = JAP_the_manchurian_project1 

		cost = 5

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
				every_owned_state = {
					limit = {
						is_fully_controlled_by = PREV
						any_neighbor_state = {
							is_controlled_by = SOV
						}
					}
					set_building_level = {
						type = bunker
						level = 2
						province = {
							all_provinces = yes
							limit_to_border = yes
							level < 2
						}
					}
				}	
		}
	}


	focus = {
		id = JAP_the_Korean_project 
		icon = GFX_goal_JAP_national_defence_state
		x = -6
		y = 1
		relative_position_id = JAP_the_proma_project
		prerequisite = { focus = JAP_the_proma_project }  
		

		cost = 5

		ai_will_do = {
		}

		available = {
		    525 = {
			    is_controlled_by = ROOT 
			}
		    527 = {
			    is_controlled_by = ROOT 
			}

			custom_trigger_tooltip = {
					has_global_flag = JAP_special_prodjects_undustrial_vasars
				}
			
				has_global_flag = JAP_special_prodjects_undustrial_vasars			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_tech_bonus = {
				name = fortification_tech
				bonus = 0.75
				uses = 2 
				technology = basic_fortification_tech
				technology = coastal_fort_tech_1
			}
		}
	}

	focus = {
		id = JAP_the_war_defens_fort1 
		icon = GFX_goal_continuous_def_against_influence
		x = 1
		y = 1
		relative_position_id = JAP_the_Korean_project
		prerequisite = { focus = JAP_the_Korean_project }  
		

		cost = 2

		ai_will_do = {
		}

		available = {
			613 = {
			    is_controlled_by = ROOT 
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			613 = {		
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}

		}
	}
	focus = {
		id = JAP_the_war_defens_fort2
		icon = GFX_focus_SWE_let_fly_all_guns
		x = -1
		y = 1
		relative_position_id = JAP_the_war_defens_fort1
		prerequisite = { focus = JAP_the_war_defens_fort1 }  
		

		cost = 2

		ai_will_do = {
		}

		available = {
			528 = {
			    is_controlled_by = ROOT 
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			528 = {		
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = dockyard
					level = 3
					instant_build = yes
				}

				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 9950
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 1158
				}

				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 7110
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 1025
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 4169
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 11925
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 12006
				}

				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 1183
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 4102
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 11949
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 12032
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 1020
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 7178
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 10092
				}

			}
		}
	}
	focus = {
		id = JAP_the_war_defens_fort3
		icon = GFX_JAP_focus_flot_defens_ola_geming
		x = 1
		y = 1
		relative_position_id = JAP_the_war_defens_fort1
		prerequisite = { focus = JAP_the_war_defens_fort1 }  
		

		cost = 2

		ai_will_do = {
		}

		available = {
			525 = {
			    is_controlled_by = ROOT 
			}
		    527 = {
			    is_controlled_by = ROOT 
			}	
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			525 = {		
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
			527 = {		
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = JAP_support_for_farmers_in_the_south
		icon = GFX_focus_CHL_expand_the_forestry
		prerequisite = { focus = JAP_the_Korean_project }		
		x = -2
		y = 2
		relative_position_id = JAP_the_Korean_project 

		cost = 5

		ai_will_do = {
		}

		available = {
		    525 = {
			    is_controlled_by = ROOT 
			}
		    527 = {
			    is_controlled_by = ROOT 
			}		
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			525 = {
			    add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 3
					instant_build = yes
				}				
			}
		}
	}

	focus = {
		id = JAP_development_of_heavy_industry_in_the_north
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = JAP_the_Korean_project }		
		x = -1
		y = 1
		relative_position_id = JAP_the_Korean_project 

		cost = 5

		ai_will_do = {
		}

		available = {
		    525 = {
			    is_controlled_by = ROOT 
			}
		    527 = {
			    is_controlled_by = ROOT 
			}		
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			527 = {
			    add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = arms_factory
					level = 3
					instant_build = yes
				}				
			}
		}
	}
	
	focus = { 
		id = JAP_infrastructure_development
		icon = GFX_focus_SWE_defense_act
		prerequisite = { focus = JAP_support_for_farmers_in_the_south }	
		prerequisite = { focus = JAP_development_of_heavy_industry_in_the_north }			
		x = 1
		y = 1
		relative_position_id = JAP_support_for_farmers_in_the_south 

		cost = 5

		ai_will_do = {
		}

		available = {
		    525 = {
			    is_controlled_by = ROOT 
			}
		    527 = {
			    is_controlled_by = ROOT 
			}
			671 = {
			    is_controlled_by = ROOT 
			}
			286 = {
			    is_controlled_by = ROOT 
			}		
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			525 = {
			    add_extra_state_shared_building_slots = 2
				add_compliance = 20				
			}
			527 = {
			    add_extra_state_shared_building_slots = 2	
				add_compliance = 20				
			}
			527 = {
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}

			528 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			529 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			530 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			531 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			532 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			535 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			534 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			284 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			533 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			671 = {
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
			286 = {
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}

				
		}
	}

	focus = {
		id = JAP_Busan_port_development
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = JAP_the_Korean_project }		
		x = 3
		y = 1
		relative_position_id = JAP_the_Korean_project 

		cost = 5

		ai_will_do = {
		}

		available = {
		    525 = {
			    is_controlled_by = ROOT 
			}
		    527 = {
			    is_controlled_by = ROOT 
			}		
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			525 = {
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = naval_base
					level = 7
					instant_build = yes
					province = 4056
				}				
			}	
		}
	}
	
	focus = {
		id = Support_for_the_northern_mining_industry
		icon = GFX_focus_generic_steel
		prerequisite = { focus = JAP_the_Korean_project }		
		x = 4
		y = 2
		relative_position_id = JAP_the_Korean_project 

		cost = 5

		ai_will_do = {
		}

		available = {
		    525 = {
			    is_controlled_by = ROOT 
			}
		    527 = {
			    is_controlled_by = ROOT 
			}		
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			527 = {
				add_resource = {
					type = steel
					amount = 12
				}	
				add_building_construction = {
					type = infrastructure
					level = 2
				}				
			}	
			
		}
	}

	focus = {
		id = JAP_Korean_railway_development
		prerequisite = { focus = JAP_Busan_port_development }
		prerequisite = { focus = Support_for_the_northern_mining_industry }
		
		available = {
		    525 = {
			    is_controlled_by = ROOT 
			}
		    527 = {
			    is_controlled_by = ROOT 
			}		
		} 
		
		icon = GFX_focus_generic_railroad
		x = -1
		y = 1

		relative_position_id = Support_for_the_northern_mining_industry
		cost = 5

		available_if_capitulated = yes

		completion_reward = {
            build_railway = { 
			    level  = 1
                path = {4056 4086 1081 11977}
            }
            build_railway = { 
			    level  = 1
                path = {11977 7204 7221 7125}
            }	
            build_railway = { 
			    level  = 1
                path = {7125 12040 11915 10065 4052 }
            }
            build_railway = { 
			    level  = 1
                path = {4052 9790 912 11835 6981}
            }
            build_railway = { 
			    level  = 3
                path = {7125 9981 848 10083 6928}
            }
            build_railway = { 
			    level  = 4
                path = {6928 3981 3852 6922 959 6822 898 6944 9897}
            }				
		}
	}

	focus = {
		id = Soft_assimilation_of_Korea 
		prerequisite = { focus = JAP_infrastructure_development }
		prerequisite = { focus = JAP_Korean_railway_development }
		prerequisite = { focus = JAP_the_war_defens_fort2  focus = JAP_the_war_defens_fort3}
		
		available = {
		    525 = {
			    is_controlled_by = ROOT 
			}
		    527 = {
			    is_controlled_by = ROOT 
			}	
			 613 = {
			    is_controlled_by = ROOT 
			}
			 609 = {
			    is_controlled_by = ROOT 
			}
			 743 = {
			    is_controlled_by = ROOT 
			}
			591 = {
			    is_controlled_by = ROOT 
			}
			745 = {
			    is_controlled_by = ROOT 
			}

            525 = {
                compliance > 70
			}
            613 = {
                compliance > 70
			}
			527 = {
                compliance > 70
			}	
			743 = {
                compliance > 70
			}	
			591 = {
                compliance > 70
			}	
			745 = {
                compliance > 70
			}			
		} 
		
		icon = GFX_focus_jap_pacific_guardian
		x = 2
		y = 1

		relative_position_id = JAP_infrastructure_development
		cost = 5

		available_if_capitulated = yes

		completion_reward = {
			set_global_flag = JAP_special_prodjects_undustrial_vasars
			add_state_core = 525
			add_state_core = 527
			add_state_core = 591
			add_state_core = 613
			add_state_core = 743
			add_state_core = 745
			add_state_core = 609			
		}
	}	
	


	focus = {
		id = JAP_army_expansion_law
		icon = GFX_focus_CHL_departemento_de_las_tropas_nacistas_de_asalto
		x = 8
		y = 0
		relative_position_id = JAP_the_manchurian_project1

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				has_completed_focus = JAP_support_the_kodoha_faction
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no


		completion_reward = {
			hidden_effect = {
				set_rule = { can_send_volunteers = no }
			}
			army_experience = 100
			air_experience = 50 
		}
	}

	focus = {
		id = JAP_small_arms_modernization
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = JAP_army_expansion_law }
		x = -1
		y = 1
		relative_position_id = JAP_army_expansion_law

		cost = 5

		ai_will_do = {
			factor = 2
			modifier = {
				factor = 2
				has_completed_focus = JAP_support_the_kodoha_faction
			}
		}

		available = {

		}

		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_small_arms_modernization
				bonus = 1.0
				uses = 1
				category = infantry_weapons	
			}
		}
	}

	focus = {
		id = JAP_supremacy_of_technology
		icon = GFX_goal_generic_production
		prerequisite = { focus = JAP_small_arms_modernization }
		x = 0
		y = 1
		relative_position_id = JAP_small_arms_modernization

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				has_completed_focus = JAP_strengthen_civilian_government
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_ideas = JAP_supremacy_of_technology
		}
	}

	focus = {
		id = JAP_modern_artillery
		icon = GFX_ger_artillery_expansion
		prerequisite = { focus =JAP_supremacy_of_technology  }
		x = -1
		y = 1
		relative_position_id = JAP_supremacy_of_technology

		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_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = JAP_modern_artillery
				bonus = 1.0
				uses = 2
				category = artillery	
			}
		}
	}

	focus = {
		id = JAP_armored_divisions
		icon = GFX_goal_JAP_persue_new_endevours
		prerequisite = { focus = JAP_supremacy_of_technology }
		x = 0
		y = 2
		relative_position_id = JAP_supremacy_of_technology

		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_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = JAP_armored_divisions
				bonus = 1.25
				uses = 2
				category = armor	
			}
		}
	}

	focus = {
		id = JAP_bicycle_battalions
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = JAP_supremacy_of_technology focus = JAP_supremacy_of_will }
		x = 1
		y = 1
		relative_position_id = JAP_supremacy_of_technology

		cost = 1

		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 = {
			set_technology = { bicycle_infantry = 1 }
		}
	}

	focus = {
		id = JAP_army_expansion
		icon = GFX_z_goal_JAP_principles_of_national_policy
		prerequisite = { focus = JAP_army_expansion_law }
		x = 1
		y = 1
		relative_position_id = JAP_army_expansion_law

		cost = 5

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				has_completed_focus = JAP_support_the_kodoha_faction
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no


		completion_reward = {
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = hajime_sugiyama
		}
	}

	focus = {
		id = JAP_supremacy_of_will
		icon = GFX_focus_generic_full_social_mobilization
		prerequisite = { focus = JAP_army_expansion }
		x = 0
		y = 1
		relative_position_id = JAP_army_expansion

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				has_completed_focus = JAP_support_the_kodoha_faction
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no


		completion_reward = {
			add_ideas = JAP_superior_will
		}
	}

	focus = {
		id = JAP_fighter_modernization
		icon = GFX_goal_generic_air_fighter2
		prerequisite = { focus = JAP_army_expansion_law focus = JAP_new_naval_estimates }
		x = 4
		y = 2
		relative_position_id = JAP_army_expansion_law

		cost = 5

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				has_completed_focus = JAP_support_the_kodoha_faction
				has_completed_focus = JAP_purge_the_kodoha_faction
			}
		}

		available = {

		}

		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_fighter_modernization
				bonus = 1.0
				uses = 1
				category = light_fighter		
			}
			add_tech_bonus = {
				name = JAP_fighter_modernization
				bonus = 1.0
				uses = 1
				category = cat_heavy_fighter	
			}
		}
	}

	focus = {
		id = JAP_range_focus
		icon = GFX_goal_generic_air_production
		prerequisite = { focus = JAP_fighter_modernization }
		x = -1
		y = 1
		relative_position_id = JAP_fighter_modernization

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no


		completion_reward = {
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = JAP_aichi_organization
				mio:JAP_aichi_organization = {
					add_mio_funds = 1500
				}
			}
			ELSE = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = aichi
			}
		}
	}

	focus = {
		id = JAP_agility_focus
		icon = GFX_goal_generic_air_production
		prerequisite = { focus = JAP_fighter_modernization }
		x = 1
		y = 1
		relative_position_id = JAP_fighter_modernization

		cost = 5

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				has_completed_focus = JAP_purge_the_kodoha_faction
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no


		completion_reward = {

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = JAP_mitsubishi_organization
				mio:JAP_mitsubishi_organization = {
					add_mio_funds = 1500
				}
				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
			}
		}
	}

	focus = {
		id = JAP_the_zero
		icon = GFX_focus_jap_zero
		prerequisite = { focus = JAP_first_air_fleet }
		prerequisite = { focus = JAP_agility_focus }
		x = 1
		y = 1
		relative_position_id = JAP_agility_focus

		cost = 5

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				has_completed_focus = JAP_purge_the_kodoha_faction
			}
		}

		available = {

		}

		bypass = {
			has_tech = cv_fighter2
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			custom_effect_tooltip = JAP_the_zero_tt
			create_equipment_variant = {
						name = "A6M Zero-Sen"
						type = cv_small_plane_airframe_2
						design_team = mio:JAP_mitsubishi_organization
						allow_without_tech = yes #Makes no difference since focus grants appropriate tech (above), but it improves tooltip
						modules = {
							fixed_main_weapon_slot = heavy_mg_4x
							fixed_auxiliary_weapon_slot_1 = heavy_mg_2x
							fixed_auxiliary_weapon_slot_2 = heavy_mg_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"
					}
					hidden_effect = {
					if = {
					limit = {
						NOT = {
							has_dlc = "By Blood Alone"
						}
					}
					set_technology = { cv_fighter2 = 1 } 
				    }
				} 
				set_technology = { improved_small_airframe = 1 }
				set_technology = { engines_3 = 1 }
		}
	}

	focus = {
		id = JAP_bomber_modernization
		icon = GFX_goal_generic_CAS
		prerequisite = { focus = JAP_range_focus focus = JAP_agility_focus }
		x = 0
		y = 2
		relative_position_id = JAP_fighter_modernization

		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_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = JAP_bomber_modernization
				bonus = 1.0
				uses = 1
				category = cas_bomber
				category = tactical_bomber					
			}
		}
	}

	focus = {
		id = JAP_strategic_bomber_effort
		icon = GFX_goal_generic_air_bomber
		prerequisite = { focus = JAP_range_focus }
		prerequisite = { focus = JAP_bomber_modernization }
		x = -1
		y = 3
		relative_position_id = JAP_fighter_modernization

		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_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = JAP_strategic_bomber_effort
				bonus = 1.0
				uses = 2
				category = cat_strategic_bomber	
			}
		}
	}

	focus = {
		id = JAP_unified_fighter_development
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = JAP_agility_focus }
		prerequisite = { focus = JAP_the_zero }
		x = 1
		y = 3
		relative_position_id = JAP_fighter_modernization

		cost = 10

		ai_will_do = {
			factor = 2
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			remove_ideas = JAP_duplicate_research_efforts
		}
	}

	focus = {
		id = JAP_jet_prototypes
		icon = GFX_goal_generic_build_airforce
		prerequisite = { focus = JAP_unified_fighter_development focus = JAP_strategic_bomber_effort }
		x = 0
		y = 4
		relative_position_id = JAP_fighter_modernization

		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_RESEARCH }
		completion_reward = {

			add_breakthrough_progress = {
				specialization = specialization_air
				value = 1
			}

			add_tech_bonus = {
				name = JAP_jet_prototypes
				bonus = 1.0
				uses = 2
				category = jet_technology
			}

		}
	}

	focus = {
		id = JAP_new_naval_estimates
		icon = GFX_goal_generic_construct_naval_dockyard
		x = 8
		y = 0
		relative_position_id = JAP_army_expansion_law

		cost = 5

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				has_completed_focus = JAP_purge_the_kodoha_faction
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = JAP_new_naval_estimates_DY1
				}
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = JAP_new_naval_estimates_DY2
				}
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			hidden_effect = {
				set_rule = { can_send_volunteers = no }
			}
			if = {
				limit = {
					not = { has_dlc = "Man the Guns" }
				}
				add_tech_bonus = {
					name = JAP_supremacy_of_the_battlefleet
					bonus = 1.0
					uses = 1
					category = shbb_tech	
				}
			}
			else = {
				navy_experience = 50
			}
			random_owned_controlled_state = {
				limit = {
					ROOT = { has_full_control_of_state = PREV }
					is_core_of = ROOT
					not = {
						OR = {
							state = 646
							state = 645
							state = 555
						}
					}
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = dockyard
					level = 3
					instant_build = yes
				}
				set_state_flag = JAP_new_naval_estimates_DY1
			}
			random_owned_controlled_state = {
				limit = {
					ROOT = { has_full_control_of_state = PREV }
					is_core_of = ROOT	
					not = {
						OR = {
							state = 646
							state = 645
							state = 555
						}
					}				
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = dockyard
					level = 3
					instant_build = yes
				}
				set_state_flag = JAP_new_naval_estimates_DY2
			}
		}
	}

	focus = {
		id = JAP_carrier_warfare_experiments
		icon = GFX_JAP_carrier_air
		prerequisite = { focus = JAP_new_naval_estimates }
		x = -1
		y = 1
		relative_position_id = JAP_new_naval_estimates

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				has_completed_focus = JAP_purge_the_kodoha_faction
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			air_experience = 25
			add_doctrine_cost_reduction = {
				name = air_doc_bonus
				cost_reduction = 0.75
				uses = 4
				category = air_doctrine
			}
		}
	}

	focus = {
		id = JAP_expand_the_snlf
		icon = GFX_goal_generic_amphibious_assault
		prerequisite = { focus = JAP_carrier_warfare_experiments focus = JAP_supremacy_of_the_battlefleet }
		x = 0
		y = 2
		relative_position_id = JAP_new_naval_estimates

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				has_completed_focus = JAP_purge_the_kodoha_faction
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_ideas = JAP_expand_the_snlf
			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.25
				uses = 2
				category = special_forces_doctrine
				}
			}
			else = {
				add_tech_bonus = {
					name = JAP_expand_the_snlf
					bonus = 1.0
					uses = 1
					category = marine_tech	
				}
			}
		}
	}

	focus = {
		id = JAP_first_air_fleet
		icon = GFX_JAP_harbor
		prerequisite = { focus = JAP_carrier_warfare_experiments }
		x = 0
		y = 2
		relative_position_id = JAP_carrier_warfare_experiments

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				has_completed_focus = JAP_purge_the_kodoha_faction
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no


		completion_reward = {
			add_ideas = JAP_first_air_fleet
		}
	}

	focus = {
		id = JAP_modern_escorts
		icon = GFX_focus_generic_merchant_fleet
		prerequisite = { focus = JAP_first_air_fleet focus = JAP_the_ultimate_battleship }
		x = 1
		y = 1
		relative_position_id = JAP_first_air_fleet

		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_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = JAP_modern_escorts
				bonus = 3.0
				uses = 1
				category = dd_tech	
			}
			set_technology = { 
				basic_ship_hull_light = 1
				sonar = 1
				improved_sonar = 1
				improved_depth_charges = 1
				improved_ship_hull_light = 1
				advanced_depth_charges = 1
			}
		}
	}

	focus = {
		id = JAP_supremacy_of_the_battlefleet
		icon = GFX_focus_ARG_study_the_battle_of_the_river_plate
		prerequisite = { focus = JAP_new_naval_estimates }
		x = 1
		y = 1
		relative_position_id = JAP_new_naval_estimates

		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_RESEARCH }
		completion_reward = {
			add_ideas = JAP_supremacy_of_the_battlefleet	
			add_tech_bonus = {
				name = JAP_supremacy_of_the_battlefleet
				bonus = 1.0
				uses = 1
				category = bb_tech
			}
			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_the_ultimate_battleship
		icon = GFX_goal_JAP_the_ultimate_battleship
		prerequisite = { focus = JAP_supremacy_of_the_battlefleet }
		x = 0
		y = 2
		relative_position_id = JAP_supremacy_of_the_battlefleet

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_special_project_completed = sp:sp_naval_super_heavy_battleship
		}

		bypass = {
			AND = {
				has_tech = heavy_battleship
				has_tech = heavy_battleship2
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			
			add_breakthrough_progress = {
				specialization = specialization_naval
				value = 0.5
			}

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = JAP_kure_naval_arsenal_organization
			}

			if = {
				limit = {
					not = { has_dlc = "Man the Guns" }
				}
				add_tech_bonus = {
					name = JAP_the_ultimate_battleship
					bonus = 2.0
					uses = 1
					category = shbb_tech	
				}
			}
			else = {
				#if = {
					#limit = {
						#not = { has_tech = ship_hull_super_heavy }
					#}
					#set_technology = {
						#ship_hull_super_heavy = 1
					#}
				#}
				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
					}
				} 
				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
					}
					add_equipment_production = {
						equipment = {
							type = ship_hull_super_heavy_1
							creator = "JAP" 
							version_name = "Yamato Class"
						}
						name = "Musashi" 
						requested_factories = 1
						progress = 0.5
						amount = 1
					}
				}
			}
		}
	}

	focus = {
		id = JAP_cruiser_modernization
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = JAP_new_naval_estimates }
		x = 3
		y = 1
		relative_position_id = JAP_new_naval_estimates

		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_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = JAP_cruiser_modernization
				bonus = 3.0
				uses = 1
				category = cl_tech	
				category = ca_tech	
			}
		}
	}

	focus = {
		id = JAP_long_lance_torpedoes
		icon = GFX_goal_generic_occupy_start_war
		prerequisite = { focus = JAP_cruiser_modernization }
		x = 0
		y = 1
		relative_position_id = JAP_cruiser_modernization

		cost = 10

		ai_will_do = {
			factor = 4
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no


		completion_reward = {
			add_ideas = the_long_lance
		}

	}

	focus = {
		id = JAP_torpedo_cruisers

		icon = GFX_goal_generic_navy_cruiser

		prerequisite = { focus = JAP_long_lance_torpedoes }

		x = 0
		y = 1
		relative_position_id = JAP_long_lance_torpedoes

		cost = 10

		ai_will_do = {
			factor = 2
		}

		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_naval
				value = 0.75
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					has_dlc = "Man the Guns"
				}
				add_ideas = torpedo_cruisers_ns_mtg
			}
			ELSE = {
				add_ideas = torpedo_cruisers_ns
			}
			
		}
	}

}
