### 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 = GER_oppose_hitler_shortcut
		target = JAP_strengthen_civilian_government
		scroll_wheel_factor = 0.8 #Optional parameter, if left unset will use existing zoomlevel. arning: #there's no good way for this to respect client resolution.
		trigger = {
			NOT = { 
				has_dlc = "No Compromise, No Surrender"
				has_completed_focus = JAP_support_the_kodoha_faction
				has_completed_focus = JAP_the_unthinkable_option
			}
		}
	}

	shortcut = {
		name = GER_oppose_hitler_shortcut
		target = JAP_support_the_kodoha_faction
		scroll_wheel_factor = 0.8 #Optional parameter, if left unset will use existing zoomlevel. arning: #there's no good way for this to respect client resolution.
		trigger = {
			has_completed_focus = JAP_support_the_kodoha_faction
		}
	}

	shortcut = {
		name = GER_oppose_hitler_shortcut
		target = JAP_the_unthinkable_option
		scroll_wheel_factor = 0.8 #Optional parameter, if left unset will use existing zoomlevel. arning: #there's no good way for this to respect client resolution.
		trigger = {
			has_completed_focus = JAP_the_unthinkable_option
		}
	}

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

	shortcut = { 
		name = JAP_okadas_military_purge_speech_shortcut
		target = JAP_okadas_military_purge_speech
		scroll_wheel_factor = 0.6
		trigger = {
			has_dlc = "No Compromise, No Surrender"
		}
	}

	inlay_window = {
		id = jap_imperial_influence_inlay_window
		
		position = { X = 10000 y = 2700 }

		override_position = {
			x = 6800
			y = 700
			trigger = {
				NOT = {
					has_dlc = "No Compromise, No Surrender"
				}
				NOT = {
					has_completed_focus = JAP_support_the_kodoha_faction
					has_completed_focus = JAP_strengthen_civilian_government
					has_completed_focus = JAP_the_unthinkable_option
					has_completed_focus = JAP_sea_purge_the_kodoha_faction
				}
			}
		}

		override_position = {
			x = 4400
			y = 700
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = JAP_sea_purge_the_kodoha_faction
			}
		}

		override_position = {
			x = 6000
			y = 700
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = JAP_revere_the_emperor_destroy_the_traitors
			}
		}

		override_position = {
			x = 4100
			y = 700
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = JAP_okadas_military_purge_speech
				NOT = {
					has_completed_focus = JAP_organize_a_general_election
					has_completed_focus = JAP_a_red_sun_rises_for_a_new_era
				}
			}
		}

		override_position = {
			x = 3000
			y = 700
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = JAP_organize_a_general_election
			}
		}

		override_position = {
			x = 3000
			y = 700
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = JAP_a_red_sun_rises_for_a_new_era
			}
		}

		override_position = {
			x = 2000
			y = 700
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = JAP_support_the_kodoha_faction
			}
		}

		override_position = {
			x = 1500
			y = 700
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = JAP_strengthen_civilian_government
			}
		}

		override_position = {
			x = 1700
			y = 700
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = JAP_the_unthinkable_option
			}
		}

	}

	default = no

	continuous_focus_position = { x = 20 y = 1200 }






	#########################################################################
	#########################################################################
	#######     I N D U S T R Y       J A P A N         B E G I N     #######
	#########################################################################
	#########################################################################

		focus = {
			id = JAP_industrial_modernization
			continue_if_invalid = yes
			icon = GFX_goal_generic_construction
			x = -11
			y = 0
			relative_position_id = JAP_navy_effort
			cost = 7.2
			ai_will_do = {	factor = 100 }	
			completion_reward = {
			}
		}

		focus = {
			id = JAP_resources
			icon = GFX_goal_generic_construction2
			prerequisite = { focus = JAP_industrial_modernization }
			x = 2
			y = 1
			relative_position_id = JAP_industrial_modernization
			cost = 10
			ai_will_do = {
				factor = 5
			}
			available_if_capitulated = yes
			completion_reward = {
				add_tech_bonus = {
					name = JAP_stuff
					bonus = 1.0
					uses = 1
					technology = excavation0
					technology = excavation1
					technology = excavation2
					technology = excavation3
					technology = excavation4
					technology = excavation5
				}
				#add_resource = {
				#	type = steel
				#	amount = 24
				#	state = 282
				#}
				add_resource = {
					type = steel
					amount = 16
					state = 535
				}
				add_resource = {
					type = steel
					amount = 12
					state = 533
				}
			}
		}

		focus = {
			id = JAP_toyoda_automatic_loom_works
			icon = GFX_goal_generic_construct_civ_factory
			prerequisite = { focus = JAP_resources }
			x = 0
			y = 1
			relative_position_id = JAP_resources
			cost = 10
			available_if_capitulated = yes
			ai_will_do = {
				factor = 2
			}
			bypass = {
				custom_trigger_tooltip = {
					tooltip = construction_effort_tt
					all_owned_state = {
						free_building_slots = {
							building = industrial_complex
							size < 1
							include_locked = yes
						}					
					}
				}
			}
			complete_tooltip = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}			
			}
			completion_reward = {
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
						OR = {
							is_in_home_area = yes
							NOT = {
								owner = {
									any_owned_state = {
										free_building_slots = {
											building = industrial_complex
											size > 1
											include_locked = yes
										}
										is_in_home_area = yes
									}
								}
							}
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
						OR = {
							is_in_home_area = yes
							NOT = {
								owner = {
									any_owned_state = {
										free_building_slots = {
											building = industrial_complex
											size > 1
											include_locked = yes
										}
										is_in_home_area = yes
									}
								}
							}
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
		}
		focus = {
			id = JAP_guns_factory
			icon = GFX_goal_generic_construct_mil_factory
			prerequisite = { focus = JAP_toyoda_automatic_loom_works }
			x = 0
			y = 1
			relative_position_id = JAP_toyoda_automatic_loom_works
			cost = 10
			available_if_capitulated = yes
			ai_will_do = {
				factor = 2
			}
			bypass = {
				custom_trigger_tooltip = {
					tooltip = construction_effort_tt
					all_owned_state = {
						free_building_slots = {
							building = arms_factory
							size < 1
							include_locked = yes
						}					
					}
				}
			}
			complete_tooltip = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}			
			}
			completion_reward = {
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						}
						OR = {
							is_in_home_area = yes
							NOT = {
								owner = {
									any_owned_state = {
										free_building_slots = {
											building = arms_factory
											size > 1
											include_locked = yes
										}
										is_in_home_area = yes
									}
								}
							}
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
			}
		}

		focus = {
			id = JAP_30_tech_slot
			icon = GFX_focus_research
			text = extra_tech_slot
			prerequisite = { focus = JAP_industrial_modernization }		
			relative_position_id = JAP_industrial_modernization
			x = 0
			y = 1
			cost = 14.3
			ai_will_do = {
				factor = 4000
			}
			available_if_capitulated = yes
			completion_reward = {
				add_research_slot = 1
			}
		}

		focus = { 
			id = JAP_leave_gold
			icon = GFX_focus_gold
			available = {
				OR = { 
					date > 1931.8.30
					is_ai = no
				}
			}
			prerequisite = { focus = JAP_30_tech_slot }
			x = 0
			y = 1
			relative_position_id = JAP_30_tech_slot
			cost = 10
			ai_will_do = {
				factor = 5
			}
			available_if_capitulated = yes
			completion_reward = {			
					USA_great_depression_level_down = yes
			}
		}

		focus = {
			id = JAP_issue_stimulus
			icon = GFX_goal_generic_construction
			prerequisite = { focus = JAP_leave_gold }
			x = 0
			y = 1
			relative_position_id = JAP_leave_gold
			cost = 10
			available_if_capitulated = yes
			ai_will_do = {
				factor = 2
			}
			bypass = {
				custom_trigger_tooltip = {
					tooltip = construction_effort_tt
					all_owned_state = {
						free_building_slots = {
							building = industrial_complex
							size < 1
							include_locked = yes
						}					
					}
				}
			}
			complete_tooltip = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}			
			}
			completion_reward = {
				random_owned_controlled_state = {
					prioritize = { 123 }
					limit = {
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
						OR = {
							is_in_home_area = yes
							NOT = {
								owner = {
									any_owned_state = {
										free_building_slots = {
											building = industrial_complex
											size > 1
											include_locked = yes
										}
										is_in_home_area = yes
									}
								}
							}
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
			}
		}	

		focus = { 
			id = JAP_roads
			icon = GFX_goal_generic_construct_infrastructure
			prerequisite = { focus = JAP_industrial_modernization }
			x = -2
			y = 1
			relative_position_id = JAP_industrial_modernization
			cost = 10
			ai_will_do = {
				factor = 5
			}
			available_if_capitulated = yes
			available = {
				OR = {
					has_full_control_of_state = 282
					has_full_control_of_state = 532
					has_full_control_of_state = 531
				}
			}
			completion_reward = { 
				log = "[GetDateText]: [Root.GetName]: Focus JAP_roads"
				custom_effect_tooltip = JAP_autobahn_tt
				hidden_effect = {
					282 = {
						if = {
							limit = { is_controlled_by = ROOT }
							add_building_construction = {
								type = infrastructure
								level = 10
								instant_build = yes
							}
						}
					}
					532 = {
						if = {
							limit = { is_controlled_by = ROOT }

							add_building_construction = {
								type = infrastructure
								level = 10
								instant_build = yes
							}
						}
					}
					531 = {
						if = {
							limit = { is_controlled_by = ROOT }
							add_building_construction = {
								type = infrastructure
								level = 10
								instant_build = yes
							}
						}
					}
				}		
			}
		}

		focus = {
			id = JAP_call_korekiyo_takahashi
			icon = GFX_focus_korekiyo_takahashi 
			available = {
				OR = {
					date > 1932.12.31
					is_ai = no
				}
			}
			prerequisite = { focus = JAP_roads }
			x = 0
			y = 1
			relative_position_id = JAP_roads 
			cost = 10
			ai_will_do = {	factor = 5	}
			available_if_capitulated = yes
			completion_reward = {
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = takahashi_korekiyo
			}
		}

		focus = {
			id = JAP_nissan
			icon = GFX_goal_nissan
			prerequisite = { focus = JAP_call_korekiyo_takahashi }
			x = 0
			y = 1
			relative_position_id = JAP_call_korekiyo_takahashi
			cost = 10
			available_if_capitulated = yes
			ai_will_do = {
				factor = 2
			}
			bypass = {
				custom_trigger_tooltip = {
					tooltip = construction_effort_tt
					all_owned_state = {
						free_building_slots = {
							building = industrial_complex
							size < 1
							include_locked = yes
						}					
					}
				}
			}
			complete_tooltip = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}			
			}
			completion_reward = {
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
						OR = {
							is_in_home_area = yes
							NOT = {
								owner = {
									any_owned_state = {
										free_building_slots = {
											building = industrial_complex
											size > 1
											include_locked = yes
										}
										is_in_home_area = yes
									}
								}
							}
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
				random_owned_controlled_state = {
					prioritize = { 282 }
					limit = {
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
						OR = {
							is_in_home_area = yes
							NOT = {
								owner = {
									any_owned_state = {
										free_building_slots = {
											building = industrial_complex
											size > 1
											include_locked = yes
										}
										is_in_home_area = yes
									}
								}
							}
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
		}

		focus = {
			id = JAP_financial_reconstruction
			icon = GFX_focus_generic_industry_2 
			prerequisite = { focus = JAP_issue_stimulus }
			prerequisite = { focus = JAP_nissan }
			prerequisite = { focus = JAP_guns_factory }
			available = {
				OR = {
					date > 1934.12.31
					is_ai = no
				}
			} 
			x = 0
			y = 1
			relative_position_id = JAP_issue_stimulus
			cost =  14.3
			ai_will_do = {
				factor = 80
			}		
			completion_reward = {
				add_tech_bonus = {
					bonus = 0.75
					uses = 1
					category = industry
				}
				USA_great_depression_level_down = yes
			}
		}	
		focus = {
			id = JAP_industrial_planning
			icon = GFX_goal_generic_construction
			prerequisite = { focus = JAP_financial_reconstruction }
			x = 2
			y = 1
			relative_position_id = JAP_financial_reconstruction
			cost = 10
			ai_will_do = {	factor = 3	}
			bypass = {	is_in_faction_with = SIA }
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
				random_owned_controlled_state = { prioritize = { 537 } add_extra_state_shared_building_slots = 2 }
				random_owned_controlled_state = { prioritize = { 526 } add_extra_state_shared_building_slots = 2 }
				random_owned_controlled_state = { prioritize = { 555 } add_extra_state_shared_building_slots = 2 }
				random_owned_controlled_state = { prioritize = { 645 } add_extra_state_shared_building_slots = 2 }
				random_owned_controlled_state = { prioritize = { 537 } add_extra_state_shared_building_slots = 2 }
			}
		}
		focus = {
			id = JAP_stockpile_fuel
			icon = GFX_focus_generic_stockpile_fuel
			prerequisite = { focus = JAP_financial_reconstruction }
			x = -2
			y = 1
			relative_position_id = JAP_financial_reconstruction
			cost = 5
			search_filters = {FOCUS_FILTER_INDUSTRY}
			completion_reward = {
				add_timed_idea = { idea = ITA_stockpiling_fuel days = 730 }
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = fuel_silo
							size > 0
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = fuel_silo
						level = 1
						instant_build = yes
					}
				}
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = fuel_silo
							size > 0
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = fuel_silo
						level = 1
						instant_build = yes
					}
				}
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = fuel_silo
							size > 0
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = fuel_silo
						level = 1
						instant_build = yes
					}
				}
			}
		}

		focus = {
			id = JAP_autarky
			icon = GFX_goal_generic_construct_civilian
			available = {
				OR = {
					is_ai = no
					date > 1935.12.31
				}
			}
			prerequisite = { focus = JAP_financial_reconstruction }
			x = 0
			y = 1
			relative_position_id = JAP_financial_reconstruction
			cost = 14.3
			ai_will_do = {
				factor = 100
			}
			completion_reward = {
				log = "[GetDateText]: [Root.GetName]: Focus JAP_autarky"
				add_tech_bonus = {
					name = JAP_autarky
					bonus = 0.5
					uses = 2
					technology = excavation2
					technology = excavation3
					technology = excavation4
					technology = excavation5
				}
				add_ideas = GER_autarky_idea
				USA_great_depression_level_down = yes
				if = {
					limit = { has_idea = idea_depression_paralysis }
					remove_ideas = {	idea_depression_paralysis	}
				}
			}
		}
		focus = {
			id = JAP_rationalized_production
			icon = GFX_goal_generic_production2
			dynamic = yes
			prerequisite = { focus = JAP_autarky }
			mutually_exclusive = { focus = JAP_state_controlled_industry }
			available = {
				NOT = { 
					has_government = communism 
					has_government = fascism
				}
			}
			x = 0
			y = 1
			relative_position_id = JAP_autarky
			cost = 10
			ai_will_do = {	factor = 200	}
			available_if_capitulated = no
			complete_tooltip = {
				every_state = {
					limit = { has_state_flag = JAP_industrial_effort_2IC }
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}			
			}
			completion_reward = {
				log = "[GetDateText]: [Root.GetName]: Focus JAP_rationalized_production"
				USA_great_depression_level_down = yes
				random_owned_controlled_state = {
					limit = {
						is_in_home_area = yes
						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
					}
					set_state_flag = JAP_industrial_effort_2IC
				}
				random_owned_controlled_state = {
					limit = {
						is_in_home_area = yes
						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
					}
					set_state_flag = JAP_industrial_effort_2IC
				}
			}
		}
		focus = {
			id = JAP_subsidize_auto_industry
			icon = GFX_goal_generic_consumer_goods
			dynamic = yes
			prerequisite = { focus = JAP_rationalized_production }
			x = 0
			y = 1
			relative_position_id = JAP_rationalized_production
			cost = 10
			ai_will_do = {	factor = 100	}
			available_if_capitulated = no
			complete_tooltip = {
				every_state = {
					limit = { has_state_flag = JAP_industrial_effort_2_2IC }
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
			}
			completion_reward = {
				log = "[GetDateText]: [Root.GetName]: Focus JAP_rationalized_production"
				random_owned_controlled_state = {
					limit = {
						is_in_home_area = yes
						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
					}
					set_state_flag = JAP_industrial_effort_2IC
				}
				random_owned_controlled_state = {
					limit = {
						is_in_home_area = yes
						free_building_slots = {
							building = industrial_complex
							size > 0
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					set_state_flag = JAP_industrial_effort_2IC
				}
			}
		}

		focus = {
			id = JAP_state_controlled_industry
			icon = GFX_goal_generic_construct_civ_factory
			dynamic = yes
			prerequisite = { focus = JAP_autarky }
			mutually_exclusive = { focus = JAP_rationalized_production }
			available = {	NOT = { has_government = democratic	}	}
			x = 2
			y = 1
			relative_position_id = JAP_autarky
			cost = 10
			ai_will_do = {
				factor = 200
			}
			available_if_capitulated = no
			complete_tooltip = {
				every_state = {
					limit = { has_state_flag = JAP_industrial_effort_2IC }
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}			
			}
			completion_reward = {
				log = "[GetDateText]: [Root.GetName]: Focus JAP_state_controlled_industry"
				USA_great_depression_level_down = yes
				swap_ideas = {
					remove_idea = GER_autarky_idea
					add_idea = GER_autarky_idea2
				}
				random_owned_controlled_state = {
					limit = {
						is_in_home_area = yes
						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
					}
					set_state_flag = JAP_industrial_effort_2IC
				}
				random_owned_controlled_state = {
					limit = {
						is_in_home_area = yes
						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
					}
					set_state_flag = JAP_industrial_effort_2IC
				}
				random_owned_controlled_state = {
					limit = {
						is_in_home_area = yes
						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
					}
					set_state_flag = JAP_industrial_effort_2IC
				}
				custom_effect_tooltip = GER_stifled_initiative_tt
			}
		}

		focus = {
			id = JAP_order_industrial_cartels
			icon = GFX_goal_generic_construct_civ_factory
			dynamic = yes
			prerequisite = { focus = JAP_state_controlled_industry }
			x = 0
			y = 1
			relative_position_id = JAP_state_controlled_industry
			cost = 10
			ai_will_do = {
				factor = 100
			}
			available_if_capitulated = no
			complete_tooltip = {
				every_state = {
					limit = { has_state_flag = JAP_industrial_effort_2_2IC }
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
			}
			completion_reward = {
				log = "[GetDateText]: [Root.GetName]: Focus JAP_order_industrial_cartels"
				random_owned_controlled_state = {
					limit = {
						is_in_home_area = yes
						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
					}
					set_state_flag = JAP_industrial_effort_2IC
				}
				random_owned_controlled_state = {
					limit = {
						is_in_home_area = yes
						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
					}
					set_state_flag = JAP_industrial_effort_2IC
				}
				random_owned_controlled_state = {
					limit = {
						is_in_home_area = yes
						free_building_slots = {
							building = industrial_complex
							size > 0
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					set_state_flag = JAP_industrial_effort_2IC
				}
			}
		}

		focus = {
			id = JAP_coal_liquidization
			icon = GFX_goal_generic_oil_refinery
			prerequisite = { focus = JAP_autarky }
			x = -2
			y = 1
			relative_position_id = JAP_autarky
			cost = 10
			ai_will_do = {
				factor = 40
			}
			available = {
			}
			completion_reward = {
				log = "[GetDateText]: [Root.GetName]: Focus JAP_coal_liquidization"
				add_tech_bonus = {
					name = JAP_coal_liquidization
					bonus = 0.75
					uses = 1
					category = synth_resources
				}
				random_owned_controlled_state = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = synthetic_refinery
						level = 1
						instant_build = yes
					}
				}
			}
		}

		focus = {
			id = JAP_synthetic_rubber
			icon = GFX_focus_generic_rubber
			prerequisite = { focus = JAP_coal_liquidization }
			x = 0
			y = 1
			relative_position_id = JAP_coal_liquidization
			cost = 10
			ai_will_do = {
				factor = 4
			}
			completion_reward = {
				log = "[GetDateText]: [Root.GetName]: Focus JAP_synthetic_rubber"
				modify_building_resources = {
				building = synthetic_refinery
				resource = rubber
				amount = 2
				}
			}
		}

		focus = {  
			id = JAP_extra_research_slot_max
			icon = GFX_focus_research2
			prerequisite = { focus = JAP_order_industrial_cartels focus = JAP_synthetic_rubber focus = JAP_subsidize_auto_industry }
			x = 0
			y = 1
			relative_position_id = JAP_subsidize_auto_industry
			available = {
				num_of_factories > 200
			}
			cost = 10
			ai_will_do = {
				factor = 10
			}
			available_if_capitulated = yes
			completion_reward = {
				log = "[GetDateText]: [Root.GetName]: Focus JAP_extra_research_slot_max"
				add_research_slot = 1
			} 
		}
	#########################################################################
	#########################################################################
	#######       I N D U S T R Y       J A P A N         E N D       #######
	#########################################################################
	#########################################################################

	focus = {
		id = JAP_mukden_incident
		icon = GFX_focus_AST_war_japan		
		x = -5
		y = 0
		cost = 20
		available = { 
			OR = {
				date > 1930.12.31	
				is_ai = no			
			}
		}		
		ai_will_do = {
			factor = 40
		}
		available_if_capitulated = yes
		completion_reward = {
			CHI = {
				country_event = ctjap.1
				add_stability = -0.05
			}
			set_country_flag = ct_mukden_incident
		}
	}

	focus = {
		id = JAP_political_effort
		icon = GFX_goal_generic_propaganda
		x = 0
		y = 0
		cost = 14.3
		available_if_capitulated = no
		completion_reward = {
			add_political_power = 120
			add_stability = 0.04
		}
	}

	focus = {
		id = JAP_social_services_legislation
		icon = GFX_goal_generic_intelligence_exchange
		prerequisite = { focus = JAP_political_effort }
		x = 1
		y = 2
		relative_position_id = JAP_political_effort
		cost = 10
		ai_will_do = {
			factor = 5
		}
		available_if_capitulated = yes
		completion_reward = {
			add_political_power = 50
			add_stability = 0.10
		}
	}

	focus = {
		id = JAP_47_ronin
		icon = GFX_focus_generic_military_academy
		prerequisite = { focus = JAP_political_effort }
		x = 2
		y = 1
		relative_position_id = JAP_political_effort
		cost = 10
		ai_will_do = {
			factor = 5
		}
		available_if_capitulated = yes
		completion_reward = {
			add_political_power = 100
			add_stability = 0.05
		}
	}

	focus = {
		id = JAP_ignore_gekokujo
		icon = GFX_focus_generic_manpower
		prerequisite = { focus = JAP_political_effort }
		prerequisite = { focus = JAP_mukden_incident }
		mutually_exclusive = { focus = JAP_discourage_gekokujo }
		x = -2
		y = 1
		relative_position_id = JAP_political_effort
		cost = 10
		available_if_capitulated = no
		completion_reward = {
			remove_country_leader_trait = imperial_sanction
		}
	}
	focus = { 
		id = JAP_discourage_gekokujo
		icon = GFX_focus_gekokujo
		prerequisite = { focus = JAP_political_effort }
		prerequisite = { focus = JAP_mukden_incident }
		mutually_exclusive = { focus = JAP_ignore_gekokujo }
		x = 0
		y = 1
		relative_position_id = JAP_political_effort
		cost = 10
		available_if_capitulated = no
		completion_reward = {
			swap_ideas = {
				remove_idea = idea_gekokujo
				add_idea = idea_gekokujo2
			}
		}
	}

	focus = {
		id = JAP_eliminate_gekokujo
		icon = GFX_focus_french_puppet
		prerequisite = { focus = JAP_discourage_gekokujo }
		x = 0
		y = 2
		relative_position_id = JAP_discourage_gekokujo
		cost = 14.3
		available_if_capitulated = no
		completion_reward = {
			remove_ideas = idea_gekokujo2
		}
	}

	focus = {
		id = JAP_integrate_east_china
		icon = GFX_goal_generic_position_armies
		#prerequisite = { focus = JAP_eliminate_gekokujo }
		available = {
			is_puppet = no
			has_full_control_of_state = 596
			has_full_control_of_state = 613
			OR = {
				CHI = { has_capitulated = yes }
				CHI = { is_subject_of = ROOT }
				NOT = {
					any_country = {
						original_tag = CHI
						exists = yes
					}
				}
				owns_state = 613
			}
		}
		cancel_if_invalid = yes
		x = 0
		y = 5
		relative_position_id = JAP_eliminate_gekokujo
		cost = 10
		ai_will_do = {
			factor = 10
		}
		bypass = {
			596 = {	is_core_of = ROOT	}
			613 = {	is_core_of = ROOT	}
		}
		completion_reward = {
			add_state_core = 613
			add_state_core = 596
			if = {
				limit = {
					NOT = { owns_state = 596 }
				}
				transfer_state = 596
			}
			if = {
				limit = {
					NOT = { owns_state = 613 }
				}
				transfer_state = 613
			}
		}
	}

	focus = {
		id = JAP_integrate_southeast_china
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = JAP_integrate_east_china }
		available = {
			is_puppet = no
			has_full_control_of_state = 595
			has_full_control_of_state = 593
			OR = {
				CHI = { has_capitulated = yes }
				CHI = { is_subject_of = ROOT }
				NOT = {
					any_country = {
						original_tag = CHI
						exists = yes
					}
				}
				owns_state = 593
			}
		}
		cancel_if_invalid = yes
		x = -1
		y = 1
		relative_position_id = JAP_integrate_east_china
		cost = 10
		ai_will_do = {
			factor = 10
		}
		bypass = {
			595 = {	is_core_of = ROOT	}
			593 = {	is_core_of = ROOT	}
		}
		completion_reward = {
			add_state_core = 593
			add_state_core = 595
			if = {
				limit = {
					NOT = { owns_state = 595 }
				}
				transfer_state = 595
			}
			if = {
				limit = {
					NOT = { owns_state = 593 }
				}
				transfer_state = 593
			}
			add_resource = {
				type = steel
				amount = 12
				state = 593
			}
			add_resource = {
				type = tungsten
				amount = 4
				state = 593
			}
		}
	}

	focus = {
		id = JAP_integrate_south_china 
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = JAP_integrate_east_china }
		available = {
			is_puppet = no
			has_full_control_of_state = 591
			has_full_control_of_state = 592
			has_full_control_of_state = 594
			OR = {
				CHI = { has_capitulated = yes }
				CHI = { is_subject_of = ROOT }
				NOT = {
					any_country = {
						original_tag = CHI
						exists = yes
					}
				}
				owns_state = 594
			}
		}
		cancel_if_invalid = yes
		x = 1
		y = 1
		relative_position_id = JAP_integrate_east_china
		cost = 10
		ai_will_do = {
			factor = 10
		}
		bypass = {
			591 = {	is_core_of = ROOT	}
			592 = {	is_core_of = ROOT	}
			594 = {	is_core_of = ROOT	}
		}
		completion_reward = {
			add_state_core = 591
			add_state_core = 592
			add_state_core = 594
			if = {
				limit = {	NOT = { owns_state = 591 }	}
				transfer_state = 591
			}
			if = {
				limit = {	NOT = { owns_state = 592 }	}
				transfer_state = 592
			}
			if = {
				limit = {	NOT = { owns_state = 594 }	}
				transfer_state = 594
			}
			add_resource = {
				type = steel
				amount = 12
				state = 592
			}
			add_resource = {
				type = steel
				amount = 16
				state = 594
			}
		}
	}

	focus = {
		id = JAP_manchukuo
		icon = GFX_focus_manchukuo
		prerequisite = { focus = JAP_mukden_incident }
		x = -1
		y = 1
		relative_position_id = JAP_mukden_incident
		cost = 14.3
		ai_will_do = {
			factor = 40
		}
		available_if_capitulated = yes
		completion_reward = {
				country_event = ctjap.3
		}
	}
	focus = {
		id = JAP_mengkukuo
		icon = GFX_focus_mengkukuo
		prerequisite = { focus = JAP_mukden_incident }
		x = 1
		y = 1
		relative_position_id = JAP_mukden_incident
		cost = 14.3
		ai_will_do = {
			factor = 40
		}
		available_if_capitulated = yes
		completion_reward = {
			CHI = {
				country_event = ctjap.4
			}
		}
	}

	focus = {
		id = JAP_dev_manchuria
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = JAP_manchukuo	}
		x = -1
		y = 1
		relative_position_id = JAP_manchukuo
		cost = 14.29
		ai_will_do = {
			factor = 40
		}
		available_if_capitulated = yes
		completion_reward = {
			add_political_power = 25
			328 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
    					type = industrial_complex
    					level = 1
    					instant_build = yes
				}
			}
			715 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
    					type = industrial_complex
    					level = 1
    					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = JAP_the_manchurian_project
		icon = GFX_focus_jap_manchurian_project
		prerequisite = { focus = JAP_manchukuo }
		prerequisite = { focus = JAP_mengkukuo }
		x = 0
		y = 2
		relative_position_id = JAP_mukden_incident
		cost = 10
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				OR = {
					has_completed_focus = JAP_support_the_kodoha_faction
					has_completed_focus = JAP_purge_the_kodoha_faction
				}
			}
			modifier = {
				factor = 10
				has_completed_focus = JAP_technological_exchange
			}
		}
		available = {
			MAN = { is_subject_of = ROOT }
			OR = {
				is_ai = no
				date > 1936.1.1
			}
		}
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			MAN = {				
				add_stability = 0.1
				add_war_support = 0.1
				add_political_power = 150
			}
		}
	}

	focus = {
		id = JAP_expand_manchurian_railways
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = JAP_the_manchurian_project }
		x = -2
		y = 1
		relative_position_id = JAP_the_manchurian_project
		cost = 10
		ai_will_do = {	factor = 1	}
		available = {
			MAN = { 
				is_subject_of = ROOT 
				controls_state = 716
			}
		}
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			MAN = {
				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 }
					}
				}
			}
		}
	}

	focus = {
		id = JAP_expand_the_showa_steel_works
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = JAP_the_manchurian_project }
		x = 2
		y = 1
		relative_position_id = JAP_the_manchurian_project
		cost = 10
		ai_will_do = {
			factor = 2
		}
		available = {
			716 = { is_fully_controlled_by = MAN }
			MAN = { is_subject_of = ROOT }
		}
		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
				}
			}
		}
	}

	focus = {
		id = JAP_develop_aluminum_sources
		icon = GFX_goal_generic_construction
		prerequisite = { focus = JAP_expand_the_showa_steel_works }
		x = 0
		y = 1
		relative_position_id = JAP_expand_the_showa_steel_works

		allow_branch = {
			MAN = { has_focus_tree = generic_focus }
		}

		cost = 10

		ai_will_do = {
			factor = 2
		}

		available = {
			328 = { is_fully_controlled_by = MAN }
			MAN = { is_subject_of = ROOT }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			328 = {
				if = {
					limit = {
						MAN = { has_focus_tree = generic_focus }
					}
					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_the_unthinkable_option
		icon = GFX_goal_support_communism
		
		mutually_exclusive = {
			focus = JAP_support_the_kodoha_faction
			focus = JAP_strengthen_civilian_government
			focus = JAP_sea_purge_the_kodoha_faction
		}
		x = 12
		y = 0

		cost = 10

		ai_will_do = {
			factor = 2
		}

		allow_branch = {
			NOT = {
				has_dlc = "No Compromise, No Surrender"
			}
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = JAP_sea_purge_the_kodoha_faction
					has_completed_focus = JAP_support_the_kodoha_faction
					has_completed_focus = JAP_strengthen_civilian_government
				}
			}
		}

		available = {
			has_country_flag = JAP_aizawas_trial_over_flag
		}

		bypass = {
			has_government = communism
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			JAP_small_government_faction_gain = yes

			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = JAP_the_unthinkable_option

			custom_effect_tooltip = generic_skip_one_line_tt

			add_political_power = 200

			custom_effect_tooltip = generic_skip_one_line_tt
			
		    custom_effect_tooltip = available_political_advisor
		    show_ideas_tooltip = sanzo_nosaka
			
			hidden_effect = {

				if = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}

			}

		}

	}

	focus = {
		id = JAP_approach_the_young_officers
		icon = GFX_focus_generic_military_mission
		prerequisite = { focus = JAP_the_unthinkable_option }
		x = -1
		y = 1
		relative_position_id = JAP_the_unthinkable_option

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {
			has_government = communism			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {

			custom_effect_tooltip = JAP_approach_the_young_officers_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_small_army_faction_gain = yes

			add_war_support = 0.1

		}

	}

	focus = {
		id = JAP_exchange_the_exiles
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = JAP_the_unthinkable_option }
		x = 1
		y = 1
		relative_position_id = JAP_the_unthinkable_option

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {
			has_government = communism			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_STABILITY }

		completion_reward = {

			add_stability = 0.1

			MAN = {
				country_event = {
					id = wtt_japan.21
					hours = 6
				}
			}
			custom_effect_tooltip = JAP_if_man_accepts
			effect_tooltip = {
				every_army_leader = {
					limit = {
						OWNER = { tag = ROOT }
						OR = {
							has_trait = JAP_samurai_lineage
							has_trait = JAP_royal_lineage
						}
					}
					set_nationality = MAN
				}
			}

		}

	}

	focus = {
		id = JAP_open_up_the_universities
		icon = GFX_focus_research
		prerequisite = { focus = JAP_exchange_the_exiles }
		x = 1
		y = 1
		relative_position_id = JAP_exchange_the_exiles

		cost = 10

		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_cast_the_die
		icon = GFX_focus_jap_cast_the_die
		prerequisite = { focus = JAP_approach_the_young_officers }
		prerequisite = { focus = JAP_exchange_the_exiles }
		x = 1
		y = 1
		relative_position_id = JAP_approach_the_young_officers

		cost = 10

		ai_will_do = {
			factor = 2
		}

		available = {

		}

		bypass = {
			has_government = communism			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			JAP_small_government_faction_gain = yes

			custom_effect_tooltip = generic_skip_one_line_tt

			hidden_effect = {
				if = {
					limit = {
						has_country_leader = { id = 700 ruling_only = yes }
					}
					remove_country_leader_trait = imperial_sanction
				}
			}

			remove_ideas = JAP_the_unthinkable_option

			set_capital = { state = 532 }

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					MAN = { is_subject_of = ROOT }
				}
				set_autonomy = { target = MAN autonomy_state = autonomy_free } 
			}

			IF = {
				limit = {
					MEN = { is_subject_of = ROOT }
				}
				set_autonomy = { target = MEN autonomy_state = autonomy_free }
				MAN = {
					set_autonomy = { target = MEN autonomy_state = autonomy_integrated_puppet }
				}
			}

			IF = {
				limit = {
					KOR = { is_subject_of = ROOT }
				}
				set_autonomy = { target = KOR autonomy_state = autonomy_free }
				KOR = {
					drop_cosmetic_tag = yes
					retire_country_leader = yes
				}
			}

			IF = {
				limit = {
					MAN = { has_idea = MAN_kwantung_veto }
				}
				MAN = { remove_ideas = MAN_kwantung_veto }
			}

			start_civil_war = {
				ruling_party = communism
				ideology = fascism
				size = 0.5	#This was too much for AI
				capital = 282
				states = { 282 533 536 555 529 530 528 526 524 645 648 646 647 684 633 609 745 527 525 1018 }
				keep_unit_leaders = {
					750 751 752
				}
			}

			custom_effect_tooltip = cast_the_die_TT
			
			hidden_effect = {

				division_template = { name = "Japanese People's Regiment" division_names_group = JAP_INF_01 is_locked = yes regiments = { infantry = { x = 0 y = 0 } infantry = { x = 1 y = 0 } infantry = { x = 2 y = 0 } } }

				532 = {
					create_unit = { 
						division = "name = \"1. Japanese People's Regiment\" division_template = \"Japanese People's Regiment\" start_experience_factor = 0" 
						owner = ROOT
					}
					create_unit = { 
						division = "name = \"2. Japanese People's Regiment\" division_template = \"Japanese People's Regiment\" start_experience_factor = 0" 
						owner = ROOT
					}
					create_unit = { 
						division = "name = \"3. Japanese People's Regiment\" division_template = \"Japanese People's Regiment\" start_experience_factor = 0" 
						owner = ROOT
					}
					create_unit = { 
						division = "name = \"4. Japanese People's Regiment\" division_template = \"Japanese People's Regiment\" start_experience_factor = 0" 
						owner = ROOT
					}
					create_unit = { 
						division = "name = \"5. Japanese People's Regiment\" division_template = \"Japanese People's Regiment\" start_experience_factor = 0" 
						owner = ROOT
					}
				}

				531 = {
					create_unit = { 
						division = "name = \"6. Japanese People's Regiment\" division_template = \"Japanese People's Regiment\" start_experience_factor = 0" 
						owner = ROOT
					}
					create_unit = { 
						division = "name = \"7. Japanese People's Regiment\" division_template = \"Japanese People's Regiment\" start_experience_factor = 0" 
						owner = ROOT
					}
					create_unit = { 
						division = "name = \"8. Japanese People's Regiment\" division_template = \"Japanese People's Regiment\" start_experience_factor = 0" 
						owner = ROOT
					}
					create_unit = { 
						division = "name = \"9. Japanese People's Regiment\" division_template = \"Japanese People's Regiment\" start_experience_factor = 0" 
						owner = ROOT
					}
					create_unit = { 
						division = "name = \"10. Japanese People's Regiment\" division_template = \"Japanese People's Regiment\" start_experience_factor = 0" 
						owner = ROOT
					}
				}

				534 = {
					create_unit = { 
						division = "name = \"11. Japanese People's Regiment\" division_template = \"Japanese People's Regiment\" start_experience_factor = 0" 
						owner = ROOT
					}
					create_unit = { 
						division = "name = \"12. Japanese People's Regiment\" division_template = \"Japanese People's Regiment\" start_experience_factor = 0" 
						owner = ROOT
					}
				}

				535 = {
					create_unit = { 
						division = "name = \"13. Japanese People's Regiment\" division_template = \"Japanese People's Regiment\" start_experience_factor = 0" 
						owner = ROOT
					}
					create_unit = { 
						division = "name = \"14. Japanese People's Regiment\" division_template = \"Japanese People's Regiment\" start_experience_factor = 0" 
						owner = ROOT
					}
				}

				537 = {
					create_unit = { 
						division = "name = \"15. Japanese People's Regiment\" division_template = \"Japanese People's Regiment\" start_experience_factor = 0" 
						owner = ROOT
					}
				}

			}

			hidden_effect = {

				random_other_country = {
					limit = {
						original_tag = JAP
						has_government = fascism
					}

					hidden_effect = {

						division_template = { name = "Japanese Loyalist Regiment" division_names_group = JAP_INF_01 is_locked = yes regiments = { infantry = { x = 0 y = 0 } infantry = { x = 1 y = 0 } infantry = { x = 2 y = 0 } } }

						529 = {
							create_unit = { 
								division = "name = \"1. Japanese Loyalist Regiment\" division_template = \"Japanese Loyalist Regiment\" start_experience_factor = 0" 
								owner = PREV
							}
							create_unit = { 
								division = "name = \"2. Japanese Loyalist Regiment\" division_template = \"Japanese Loyalist Regiment\" start_experience_factor = 0" 
								owner = PREV
							}
							create_unit = { 
								division = "name = \"3. Japanese Loyalist Regiment\" division_template = \"Japanese Loyalist Regiment\" start_experience_factor = 0" 
								owner = PREV
							}
							create_unit = { 
								division = "name = \"4. Japanese Loyalist Regiment\" division_template = \"Japanese Loyalist Regiment\" start_experience_factor = 0" 
								owner = PREV
							}
							create_unit = { 
								division = "name = \"5. Japanese Loyalist Regiment\" division_template = \"Japanese Loyalist Regiment\" start_experience_factor = 0" 
								owner = PREV
							}
						}

						530 = {
							create_unit = { 
								division = "name = \"6. Japanese Loyalist Regiment\" division_template = \"Japanese Loyalist Regiment\" start_experience_factor = 0" 
								owner = PREV
							}
							create_unit = { 
								division = "name = \"7. Japanese Loyalist Regiment\" division_template = \"Japanese Loyalist Regiment\" start_experience_factor = 0" 
								owner = PREV
							}
						}

						533 = {
							create_unit = { 
								division = "name = \"8. Japanese Loyalist Regiment\" division_template = \"Japanese Loyalist Regiment\" start_experience_factor = 0" 
								owner = PREV
							}
							create_unit = { 
								division = "name = \"9. Japanese Loyalist Regiment\" division_template = \"Japanese Loyalist Regiment\" start_experience_factor = 0" 
								owner = PREV
							}
						}

					}
				}

			}

			add_stability = -0.1

		}

	}

	focus = {
		id = JAP_the_fate_of_the_imperial_family
		icon = GFX_goal_tfv_burn_the_royal_portraits
		prerequisite = { focus = JAP_cast_the_die }
		x = -2
		y = 1
		relative_position_id = JAP_cast_the_die

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_civil_war = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			country_event = wtt_japan.31
		}
	}

	focus = {
		id = JAP_rebuild_the_civil_service
		icon = GFX_goal_generic_national_unity
		prerequisite = { focus = JAP_the_fate_of_the_imperial_family }
		x = -1
		y = 1
		relative_position_id = JAP_the_fate_of_the_imperial_family

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

			custom_effect_tooltip = generic_skip_one_line_tt

			add_stability = 0.1
		}
	}

	focus = {
		id = JAP_reeducation_campaign
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = JAP_the_fate_of_the_imperial_family }
		x = 1
		y = 1
		relative_position_id = JAP_the_fate_of_the_imperial_family

		cost = 10

		ai_will_do = {
			factor = 2
		}

		available = {
			has_stability < 0.7
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_STABILITY }
		completion_reward = {
			JAP_big_government_faction_gain = yes

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ideas = JAP_reeducation_campaign
		}
	}

	focus = {
		id = JAP_finish_the_fight
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = JAP_rebuild_the_civil_service }
		prerequisite = { focus = JAP_reeducation_campaign }
		x = 0
		y = 2
		relative_position_id = JAP_the_fate_of_the_imperial_family

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			country_exists = MAN
			MAN = {
				has_government = fascism
			}
		}

		bypass = {
			OR = {
				has_wargoal_against = MAN
				has_war_with = MAN
				MAN = {
					exists = no
				}
				MAN = {
					not = {
						has_government = fascism
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		will_lead_to_war_with = MAN

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			create_wargoal = {
				target = MAN
				type = puppet_wargoal_focus
				expire = 0
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_timed_idea = {
				idea = JAP_cleaning_up_our_own_mess
				days = 425
			}	

			hidden_effect = {
				set_country_flag = {
					flag = JAP_dont_surrender_instantly_lock
					days = 360
				}
			}

		}

	}

	focus = {
		id = JAP_join_comintern
		icon = GFX_focus_generic_join_comintern
		prerequisite = { focus = JAP_finish_the_fight }
		prerequisite = { focus = JAP_communist_volunteers }
		mutually_exclusive = { focus = JAP_asian_communist_solidarity }
		x = 0
		y = 3
		relative_position_id = JAP_the_fate_of_the_imperial_family

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism
			is_subject = no
			SOV_comintern_joinable = yes 
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			#Join SOV faction. If SOV has no faction or is not faction leader, form own faction and cry a lot.
			if = {
				limit = {
					SOV = {
						is_faction_leader = yes
						has_government = communism
					}
				}
				SOV = { country_event = generic.2 }
			}
			else_if = {
				limit = {
					SOV = {
						is_in_faction = yes
						is_faction_leader = no
						has_government = communism
					}
				}
				random_country = {
					limit = {
						is_in_faction_with = SOV
						is_faction_leader = yes
					}
					country_event = generic.2
				}
			}
			else = {
				set_rule = { can_create_factions = yes }
				create_faction_from_template = {
					template = faction_template_JAP_alternative_communist_international
					name = JAP_the_new_international
				}
				SOV = { country_event = generic.5 }
			}
		}
	}

	focus = {
		id = JAP_red_brigades
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = JAP_cast_the_die }
		x = 0
		y = 1
		relative_position_id = JAP_cast_the_die

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			has_government = communism
			has_civil_war = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MANPOWER }
		completion_reward = {
			add_ideas = JAP_red_brigades
		}
	}

	focus = {
		id = JAP_communist_volunteers
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = JAP_red_brigades }
		x = 0
		y = 2
		relative_position_id = JAP_red_brigades

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MANPOWER }
		completion_reward = {
			add_ideas = JAP_communist_volunteers
		}
	}

	focus = {
		id = JAP_asian_communist_solidarity
		icon = GFX_goal_generic_alliance
		prerequisite = { focus = JAP_finish_the_fight }
		prerequisite = { focus = JAP_communist_volunteers }
		mutually_exclusive = { focus = JAP_join_comintern }
		x = 0
		y = 3
		relative_position_id = JAP_red_brigades

		cost = 5

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				PRC = { surrender_progress > 0 }
			}
		}

		available = {
			has_government = communism
			is_subject = no
			NOT = { has_war_with = event_target:WTT_communist_china }
			event_target:WTT_communist_china = {
				has_government = communism
				OR = {
					is_in_faction = no
					is_faction_leader = yes
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			if = {
				limit = {
					event_target:WTT_communist_china = { is_faction_leader = yes }
				}
				event_target:WTT_communist_china = { country_event = generic.2 }
			}
			else_if = {
				limit = {
					is_faction_leader = yes
				}
				event_target:WTT_communist_china = { country_event = generic.5 }
			}
			else = {
				hidden_effect = {
					save_event_target_as = alliance_inviter
				}
				create_faction_from_template = {
					template = faction_template_JAP_pan_asian_revolutuonary_front
					name = JAP_asian_communist_solidarity
				}
				custom_effect_tooltip = JAP_asian_communist_solidarity_tt
				hidden_effect = {
					event_target:WTT_communist_china = { country_event = generic.5 }
				}
			}
		}
	}

	focus = {
		id = JAP_nationalize_the_zaibatsus
		icon = GFX_focus_jap_zaibatsu
		prerequisite = { focus = JAP_cast_the_die }
		x = 2
		y = 1
		relative_position_id = JAP_cast_the_die

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			has_civil_war = no
		}

		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 = 2
					instant_build = yes
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			swap_ideas = {
				remove_idea = JAP_zaibatsus
				add_idea = JAP_nationalize_the_zaibatsus				
			}
		}

		completion_reward = {
			JAP_big_zaibatsu_faction_loss = yes

			custom_effect_tooltip = generic_skip_one_line_tt
			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 = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					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_nationalize_the_zaibatsus				
			}
		}
	}

	focus = {
		id = JAP_people_owned_mines
		icon = GFX_goal_generic_construction2
		prerequisite = { focus = JAP_nationalize_the_zaibatsus }
		x = -1
		y = 1
		relative_position_id = JAP_nationalize_the_zaibatsus

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

	focus = {
		id = JAP_public_works
		icon = GFX_goal_generic_construction
		prerequisite = { focus = JAP_nationalize_the_zaibatsus }
		x = 1
		y = 1
		relative_position_id = JAP_nationalize_the_zaibatsus

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_full_control_of_state = 535
			has_full_control_of_state = 533
			has_full_control_of_state = 528
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			535 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			533 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			528 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}			
		}
	}

	focus = {
		id = JAP_tokyo_aluminum_plant
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = JAP_people_owned_mines }
		prerequisite = { focus = JAP_public_works }
		x = 0
		y = 2
		relative_position_id = JAP_nationalize_the_zaibatsus

		cost = 10

		ai_will_do = {
			factor = 2
		}

		available = {
			has_full_control_of_state = 282
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			282 = {
				add_resource = {
					type = aluminium
					amount = 12
				}
			}
		}
	}

	focus = {
		id = JAP_strengthen_civilian_government
		icon = GFX_goal_support_democracy
		
		mutually_exclusive = { focus = JAP_support_the_kodoha_faction focus = JAP_the_unthinkable_option focus = JAP_sea_purge_the_kodoha_faction }
		x = 7
		y = 0
		relative_position_id = JAP_the_unthinkable_option

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

		cost = 10

		ai_will_do = {
			factor = 2
		}

		allow_branch = {
			NOT = {
				has_dlc = "No Compromise, No Surrender"
			}
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = JAP_sea_purge_the_kodoha_faction
					has_completed_focus = JAP_support_the_kodoha_faction
					has_completed_focus = JAP_the_unthinkable_option
				}
			}
		}

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

		completion_reward = {
			JAP_small_government_faction_gain = yes

			custom_effect_tooltip = generic_skip_one_line_tt

			add_political_power = 120

			custom_effect_tooltip = generic_skip_one_line_tt

			add_timed_idea = { idea = JAP_strengthen_civilian_government days = 1095 }

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = kijuro_shidehara

			hidden_effect = {
				if = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
			}

		}

	}

	focus = {
		id = JAP_support_the_kodoha_faction
		icon = GFX_goal_generic_military_deal
		mutually_exclusive = { focus = JAP_the_unthinkable_option focus = JAP_strengthen_civilian_government focus = JAP_sea_purge_the_kodoha_faction }
		x = 6
		y = 0
		relative_position_id = JAP_strengthen_civilian_government

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

		cost = 5

		ai_will_do = {
			factor = 3
		}

		allow_branch = {
			NOT = {
				has_dlc = "No Compromise, No Surrender"
			}
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = JAP_sea_purge_the_kodoha_faction
					has_completed_focus = JAP_the_unthinkable_option
					has_completed_focus = JAP_strengthen_civilian_government
				}
			}
		}

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

			add_political_power = 100

			country_event = { id = wtt_japan.108 }

			hidden_effect = {
				if = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
			}
		}
	}

	focus = {
		id = JAP_challenge_the_zaibatsus
		icon = GFX_focus_jap_zaibatsu
		prerequisite = { focus = JAP_support_the_kodoha_faction }
		x = 3
		y = 1
		relative_position_id = JAP_support_the_kodoha_faction

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

		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 = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					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_zaibatsus_challenged
			}
		}
	}

	focus = {
		id = JAP_national_mobilization_law
		icon = GFX_goal_generic_axis_build_infantry
		prerequisite = { focus = JAP_challenge_the_zaibatsus } # focus = JAP_guide_the_zaibatsus 
		x = 2
		y = 1
		relative_position_id = JAP_challenge_the_zaibatsus
		#offset = {
		#	x = -14
		#	y = 0
		#	trigger = {
		#		has_game_rule = {
		#			rule = obsolete_focus_branches_visibility
		#			option = HIDE
		#		}
		#		has_completed_focus = JAP_support_the_kodoha_faction
		#	}
		#}

		cost = 10

		ai_will_do = {
			factor = 2
		}

		allow_branch = {
			NOT = {
				has_dlc = "No Compromise, No Surrender"
			}
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = JAP_sea_purge_the_kodoha_faction
					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_focus_research
		prerequisite = { focus = JAP_national_mobilization_law }
		x = 0
		y = 1
		relative_position_id = JAP_national_mobilization_law

		cost = 10

		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_imperial_arsenals
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = JAP_national_mobilization_law }
		prerequisite = { focus = JAP_challenge_the_zaibatsus }
		x = -2
		y = 1
		relative_position_id = JAP_national_mobilization_law

		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 }
		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = JAP_imperial_arsenals1
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = JAP_imperial_arsenals2
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					is_fully_controlled_by = 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 = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = JAP_imperial_arsenals1
			}
			random_owned_controlled_state = {
				limit = {
					is_fully_controlled_by = 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 = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = JAP_imperial_arsenals2
			}
		}
	}

	focus = {
		id = JAP_national_defense_state
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = JAP_imperial_arsenals } # focus = JAP_nationalize_war_industry 
		x = 1
		y = 1
		relative_position_id = JAP_imperial_arsenals

		cost = 10

		ai_will_do = {
			factor = 1
		}

		allow_branch = {
			NOT = {
				has_dlc = "No Compromise, No Surrender"
			}
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = JAP_the_unthinkable_option
					has_completed_focus = JAP_strengthen_civilian_government
					has_completed_focus = JAP_sea_purge_the_kodoha_faction
				}
			}
		}

		#offset = {
		#	x = 10
		#	y = 0
		#	trigger = {
		#		has_game_rule = {
		#			rule = obsolete_focus_branches_visibility
		#			option = HIDE
		#		}
		#		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_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_focus_jap_spiritual_mobilization
		prerequisite = { focus = JAP_national_defense_state }
		x = -1
		y = 1
		relative_position_id = JAP_national_defense_state

		cost = 10

		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 = 10

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

		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_showa_restoration
		icon = GFX_focus_jap_showa_restoration
		prerequisite = { focus = JAP_support_the_kodoha_faction }
		mutually_exclusive = { focus = JAP_modern_shogunate }
		x = 1
		y = 1
		relative_position_id = JAP_support_the_kodoha_faction

		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_POLITICAL FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			
			set_cosmetic_tag = JAP_showa_restoration
			swap_ideas = {
				remove_idea = JAP_militarism
				add_idea = JAP_militarism_showa
			}
			JAP_big_army_faction_gain = yes
		}
	}

	focus = {
		id = JAP_modern_shogunate
		icon = GFX_goal_demand_sudetenland
		prerequisite = { focus = JAP_support_the_kodoha_faction }
		mutually_exclusive = { focus = JAP_showa_restoration }
		x = -1
		y = 1
		relative_position_id = JAP_support_the_kodoha_faction

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

			JAP_small_army_faction_gain = yes

			swap_ideas = {
				remove_idea = JAP_militarism
				add_idea = JAP_militarism_shogunate
			}
		}
	}

	focus = {
		id = JAP_prepare_for_war_with_the_soviet_union
		icon = GFX_goal_anti_comintern_pact
		prerequisite = { focus = JAP_modern_shogunate focus = JAP_showa_restoration }
		x = 1
		y = 1
		relative_position_id = JAP_modern_shogunate
		dynamic = yes  

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

			JAP_small_army_faction_gain = yes

			add_doctrine_cost_reduction = {
				name = JAP_prepare_for_war_with_the_soviet_union
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine	
			}
			every_owned_state = {
				limit = {
					is_fully_controlled_by = ROOT
					is_owned_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 }
							}
						}
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			MAN = {
				every_owned_state = {
					limit = {
						is_fully_controlled_by = MAN
						is_owned_by = MAN
						MAN = { is_puppet_of = JAP }
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			MEN = {
				every_owned_state = {
					limit = {
						is_fully_controlled_by = MEN
						is_owned_by = MEN
						MEN = { is_puppet_of = JAP }
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = JAP_join_the_london_naval_treaty
		icon = GFX_focus_generic_diplomatic_treaty
		prerequisite = { focus = JAP_prepare_for_war_with_the_soviet_union }
		x = -1
		y = 1
		relative_position_id = JAP_prepare_for_war_with_the_soviet_union

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {			
			NOT = { has_war_with = FRA }
			NOT = { has_war_with = ENG }
			NOT = { has_war_with = USA }
		}

		bypass = {
			has_naval_treaty_trigger = yes 
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			if = {
				limit = { not = { has_dlc = "Man the Guns" } }
				add_ideas = JAP_the_london_naval_treaty
				unlock_decision_tooltip = { decision = JAP_break_the_london_naval_treaty show_effect_tooltip = yes }
			}
			else = {
				add_ideas = MTG_naval_treaty_adherent
			}
			FRA = { add_opinion_modifier = { target = ROOT modifier = JAP_join_the_london_naval_treaty } }
			USA = { add_opinion_modifier = { target = ROOT modifier = JAP_join_the_london_naval_treaty } }
			ENG = { add_opinion_modifier = { target = ROOT modifier = JAP_join_the_london_naval_treaty } }
			add_opinion_modifier = { target = FRA modifier = JAP_join_the_london_naval_treaty }
			add_opinion_modifier = { target = USA modifier = JAP_join_the_london_naval_treaty }
			add_opinion_modifier = { target = ENG modifier = JAP_join_the_london_naval_treaty }
		}
	}

	focus = {
		id = JAP_build_up_the_manchurian_army
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = JAP_prepare_for_war_with_the_soviet_union }
		x = 1
		y = 1
		relative_position_id = JAP_prepare_for_war_with_the_soviet_union

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			MAN = {
				OR = {
					is_in_faction_with = ROOT
					is_subject_of = ROOT
				}
			}
			has_equipment = { infantry_equipment > 1999 }
		}

		bypass = {
			MAN = {
				exists = no
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no


		completion_reward = {
			send_equipment = {
				target = MAN
				equipment = infantry_equipment
				amount = 2000
				old_prioritised = yes
			}
			if = {
				limit = { has_equipment = { support_equipment > 500 } }
				send_equipment = {
					target = MAN
					equipment = support_equipment
					amount = 500
					old_prioritised = yes
				}
			}
			if = {
				limit = { has_equipment = { artillery_equipment > 250 } }
				send_equipment = {
					target = MAN
					equipment = artillery_equipment
					amount = 250
					old_prioritised = yes
				}
			}
			MAN = {
				add_doctrine_cost_reduction = {
					name = JAP_build_up_the_manchurian_army
					cost_reduction = 0.5
					uses = 2
					category = land_doctrine	
				}
				add_autonomy_ratio = {
					value = -0.08333
					localization = JAP_build_up_the_manchurian_army
				}
			}
			MAN = {
				country_event = wtt_japan.41
			}
		}
	}

	focus = {
		id = JAP_create_a_manchurian_imperial_air_force
		icon = GFX_goal_generic_air_doctrine
		prerequisite = { focus = JAP_build_up_the_manchurian_army }
		x = 0
		y = 1
		relative_position_id = JAP_build_up_the_manchurian_army

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			MAN = {
				OR = {
					is_in_faction_with = ROOT
					is_subject_of = ROOT
				}
			}
		}

		bypass = {
			MAN = {
				exists = no
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		

		completion_reward = {
			air_experience = 25
			MAN = {
				add_breakthrough_progress = {
					specialization = specialization_air
					value = 0.5
				}
				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
				}
				every_owned_state = {
					limit = {
						is_fully_controlled_by = MAN
						is_owned_by = MAN
						MAN = { is_puppet_of = JAP }
					}
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
				}
				add_autonomy_ratio = {
					value = -0.08333
					localization = JAP_build_up_the_manchurian_army
				}
			}
		}
	}

	focus = {
		id = JAP_non_aggression_pact_with_china
		icon = GFX_goal_anschluss
		prerequisite = { focus = JAP_join_the_london_naval_treaty }
		x = 0
		y = 1
		relative_position_id = JAP_join_the_london_naval_treaty

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {
			OR = {
				has_war_with = event_target:WTT_current_china_leader
				has_non_aggression_pact_with = CHI
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no


		completion_reward = {
			CHI = { 
				country_event = {
					id = wtt_japan.11 
					hours = 6
					random_hours = 12
				}	
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					609 = {
						is_fully_controlled_by = ROOT
						any_province_building_level = {
							province = {
								id = 6969
								id = 11822
								id = 12043
								id = 3900
								id = 1052
							}
							building = bunker
							level < 5
						}	
					}
				}
				609 = {
					add_building_construction = {
						type = bunker
						level = 3
						province = {
							id = 6969
							id = 11822
							id = 12043
							id = 3900
							id = 1052
						}
						instant_build = yes
					}
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = 3900
						instant_build = yes
					}
				}
			}

			IF = {
				limit = {
					MAN = {
						is_subject_of = ROOT
					}
				}
				MAN = {
					610 = {
						IF = {
							limit = { 
								is_controlled_by = PREV 
								any_province_building_level = {
									province = {
										id = 3955
									}
									building = bunker
									level < 5
								}
							}
							add_building_construction = {
								type = bunker
								level = 3
								province = 3955
								instant_build = yes
							}
						}
					}
				}
			}
			ELSE_IF = {
				limit = {
					610 = {
						is_fully_controlled_by = ROOT
						any_province_building_level = {
							province = {
								id = 3955
							}
							building = bunker
							level < 5
						}
					}
				}
				610 = {
					add_building_construction = {
						type = bunker
						level = 3
						province = 3955
						instant_build = yes
					}
				}
			}

			IF = {
				limit = {
					MEN = {
						is_subject_of = ROOT
					}
				}
				MEN = {
					611 = {
						IF = {
							limit = { 
								is_controlled_by = PREV 
								any_province_building_level = {
									province = {
										id = 1137
										id = 6904
										id = 9776
									}
									building = bunker
									level < 5
								}
							}
							add_building_construction = {
								type = bunker
								level = 3
								province = {
									id = 1137
									id = 6904
									id = 9776
								}
								instant_build = yes
							}
						}
					}
				}
			}
			ELSE_IF = {
				limit = {
					611 = {
						is_fully_controlled_by = ROOT
						any_province_building_level = {
							province = {
								id = 1137
								id = 6904
								id = 9776
							}
							building = bunker
							level < 5
						}
					}
				}
				611 = {
					add_building_construction = {
						type = bunker
						level = 3
						province = {
							id = 1137
							id = 6904
							id = 9776
						}
						instant_build = yes
					}
				}
			}
			
		}
	}

	focus = {
		id = JAP_technological_exchange
		icon = GFX_goal_tfv_generic_tech_sharing
		prerequisite = { focus = JAP_non_aggression_pact_with_china }
		prerequisite = { focus = JAP_create_a_manchurian_imperial_air_force }
		x = 1
		y = 1
		relative_position_id = JAP_non_aggression_pact_with_china

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {
			has_war_with = GER
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			if = {
				limit = {
					has_country_leader = { id = 700 } #Hirohito
				}
				remove_country_leader_trait = warrior_code
			}
			random_country = {
				limit = {
					original_tag = GER
					has_government = fascism
					is_faction_leader = yes
				}
				if = {
					limit = {
						not = {
							is_in_faction_with = ROOT
						}
					}
					country_event = generic.2
				}
				if = {
					limit = {
						OR = {
							has_dlc = "Together for Victory"
							has_dlc = "Death or Dishonor"
							has_dlc = "Waking the Tiger"
						}
					}
					add_to_tech_sharing_group = JAP_technological_exchange
					ROOT = { add_to_tech_sharing_group = JAP_technological_exchange }
				}
			}
		}
	}

	focus = {
		id = JAP_preemptive_war
		icon = GFX_goal_generic_war_with_comintern
		prerequisite = { focus = JAP_technological_exchange }
		x = 0
		y = 1
		relative_position_id = JAP_technological_exchange

		cost = 10

		ai_will_do = {
			factor = 3
		}

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

		bypass = {
			OR = {				
				has_war_with = SOV
				has_wargoal_against = SOV
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {

			create_wargoal = {
				target = SOV
				type = annex_everything
				expire = 0
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			every_state = {
				limit = {
					OR = {
						state = 408
						state = 409
						state = 655
						state = 657
						state = 560
						state = 561
						state = 563
						state = 564
						state = 566
						state = 565
						state = 574
						state = 876
						state = 877
						state = 644
						state = 562
						state = 874
						state = 637
						state = 822
						state = 875
					}
					is_owned_by = SOV
					NOT = {
						is_claimed_by = ROOT
						is_core_of = ROOT
					}
				}
				add_claim_by = ROOT
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					ROOT = { is_in_faction_with = GER }
					GER = { has_completed_focus = GER_molotov_ribbentrop_pact }
					GER = { NOT = { has_war_with = SOV } }
					NOT = { has_war_with = SOV }
				}
				unlock_decision_tooltip = JAP_war_with_soviet_union
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			IF = {
				limit = {
					has_country_leader = { id = 700 ruling_only = yes }
				}
				remove_country_leader_trait = imperial_sanction
			}

		}
	}

	focus = {
		id = JAP_establish_the_northern_resource_area
		icon = GFX_goal_generic_construction2
		prerequisite = { focus = JAP_preemptive_war }
		prerequisite = { focus = JAP_imperial_arsenals }
		x = 2
		y = 1
		relative_position_id = JAP_preemptive_war

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			has_tech = excavation1
			564 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			OR = {
				657 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
				408 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
				560 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
				409 = { 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 = {
			
			657 = {
				IF = {
					limit = { 
						OR = {
							is_fully_controlled_by = ROOT 
							any_country = {
								is_subject_of = ROOT
								has_full_control_of_state = PREV
							}
						}
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			408 = {
				IF = {
					limit = { 
						OR = {
							is_fully_controlled_by = ROOT 
							any_country = {
								is_subject_of = ROOT
								has_full_control_of_state = PREV
							}
						}
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			560 = {
				IF = {
					limit = { 
						OR = {
							is_fully_controlled_by = ROOT 
							any_country = {
								is_subject_of = ROOT
								has_full_control_of_state = PREV
							}
						}
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			409 = {
				IF = {
					limit = { 
						OR = {
							is_fully_controlled_by = ROOT 
							any_country = {
								is_subject_of = ROOT
								has_full_control_of_state = PREV
							}
						}
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			564 = {
				add_resource = {
					type = aluminium
					amount = 8
				}
				IF = {
					limit = {
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}

			unlock_decision_category_tooltip = prospect_for_resources
			
		}
	}

	focus = {
		id = JAP_german_rocketry
		icon = GFX_focus_rocketry
		prerequisite = { focus = JAP_preemptive_war }
		x = 0
		y = 1
		relative_position_id = JAP_preemptive_war

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_in_faction_with = GER
			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 = {
			add_tech_bonus = {
				name = JAP_german_rocketry
				bonus = 1.0
				uses = 1
				category = rocketry	
			}
			add_ideas = JAP_german_rocketry
			random_country = {
				limit = {
					original_tag = GER
					has_government = fascism
					is_faction_leader = yes
				}
				if = {
					limit = {
						OR = {
							has_dlc = "Together for Victory"
							has_dlc = "Death or Dishonor"
							has_dlc = "Waking the Tiger"
						}
					}
					add_to_tech_sharing_group = JAP_german_rocketry
					ROOT = { add_to_tech_sharing_group = JAP_german_rocketry }
				}
			}
		}
	}

	focus = {
		id = JAP_ally_with_the_zaibatsus
		icon = GFX_focus_jap_zaibatsu
		prerequisite = { focus = JAP_strengthen_civilian_government }
		x = -1
		y = 1
		relative_position_id = JAP_strengthen_civilian_government

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_full_control_of_state = 282
			has_full_control_of_state = 529
		}

		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 = 2
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			random_state = {
				limit = {
					has_state_flag = JAP_zaibatsus_factories
				}
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			swap_ideas = {
				remove_idea = JAP_zaibatsus
				add_idea = JAP_nationalize_the_zaibatsus				
			}

		}

		completion_reward = {
			JAP_small_zaibatsu_faction_gain = yes

			custom_effect_tooltip = generic_skip_one_line_tt

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

			custom_effect_tooltip = generic_skip_one_line_tt

			random_owned_controlled_state = {
				limit = {
					ROOT = { has_full_control_of_state = PREV }
					NOT = { has_state_flag = JAP_zaibatsus_factories }
					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 = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = JAP_zaibatsus_factories
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			swap_ideas = {
				add_idea = JAP_zaibatsus_empowered
				remove_idea = JAP_zaibatsus
			}

		}

	}

	focus = {
		id = JAP_research_spending
		icon = GFX_focus_research
		prerequisite = { focus = JAP_strengthen_civilian_government }
		x = 1
		y = 1
		relative_position_id = JAP_strengthen_civilian_government

		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_research_slot = 1
		}
	}

	focus = {
		id = JAP_pre_emptive_coup
		icon = GFX_goal_generic_military_sphere
		prerequisite = { focus = JAP_research_spending focus = JAP_ally_with_the_zaibatsus }
		x = 0
		y = 1
		relative_position_id = JAP_ally_with_the_zaibatsus

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			democratic > 0.3
		}

		bypass = {
			has_government = democratic
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			JAP_small_government_faction_gain = yes

			custom_effect_tooltip = generic_skip_one_line_tt

			hidden_effect = {
				if = {
					limit = {
						has_country_leader = { id = 700 ruling_only = yes }
					}
					remove_country_leader_trait = imperial_sanction
				}
			}

			country_event = { id = wtt_japan.114 }

			effect_tooltip = {
				if = {
					limit = {
						MAN = { is_subject_of = ROOT }
					}
					set_autonomy = { target = MAN autonomy_state = autonomy_free }
				}
				if = {
					limit = {
						KOR = { is_subject_of = ROOT }
					}
					set_autonomy = { target = KOR autonomy_state = autonomy_free }
					KOR = {
						retire_country_leader = yes
					}
				}
				if = {
					limit = {
						MAN = { has_idea = MAN_kwantung_veto }
					}
					MAN = { remove_ideas = MAN_kwantung_veto }
				}
				if = {
					limit = {
						MEN = { is_subject_of = ROOT }
					}
					MAN = { puppet = MEN }
				}
				add_popularity = { ideology = democratic popularity = 0.1 }
				start_civil_war = {
					ruling_party = democratic
					ideology = fascism
					size = 0.5
				}
				if = {
					limit = {
						any_controlled_state = {
							is_core_of = KOR
						}
					}
					release = KOR
					set_autonomy = { target = KOR autonomy_state = autonomy_free }
				}
			}

		}

	}

	focus = {
		id = JAP_purge_the_militarists
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = JAP_research_spending focus = JAP_ally_with_the_zaibatsus }
		x = 0
		y = 1
		relative_position_id = JAP_research_spending

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no


		completion_reward = {

			remove_ideas = JAP_militarism

			custom_effect_tooltip = generic_skip_one_line_tt

			MAN = {
				add_ideas = MAN_militarism 
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_big_army_faction_loss = yes

		}

	}

	focus = {
		id = JAP_the_showa_constitution
		icon = GFX_goal_tfv_strengthen_commonwealth_ties
		prerequisite = { focus = JAP_pre_emptive_coup }
		prerequisite = { focus = JAP_purge_the_militarists }
		x = 1
		y = 1
		relative_position_id = JAP_pre_emptive_coup

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_civil_war = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			JAP_big_government_faction_gain = yes

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ideas = JAP_hirohito
			#set_party_name = {
			#	ideology = democratic
			#	long_name = JAP_minseito_party_long
			#	name = JAP_minseito_party
			#}	
		}
	}

	focus = {
		id = JAP_west_pacific_treaty_organization
		icon = GFX_goal_generic_alliance
		prerequisite = { focus = JAP_the_showa_constitution }
		mutually_exclusive = { focus = JAP_rekindle_the_old_alliance }
		x = -1
		y = 1
		relative_position_id = JAP_the_showa_constitution

		cost = 5

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				CHI = { has_government = democratic }
			}
		}

		available = {
			is_subject = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			set_rule = { can_create_factions = yes }
			create_faction_from_template = faction_template_JAP_west_pacific_treaty_organization
		}

	}

	focus = {
		id = JAP_rekindle_the_old_alliance
		icon = GFX_focus_chi_british_cooperation
		prerequisite = { focus = JAP_the_showa_constitution }
		mutually_exclusive = { focus = JAP_west_pacific_treaty_organization }
		x = 1
		y = 1
		relative_position_id = JAP_the_showa_constitution

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = democratic
			is_subject = no
			ENG = {
				has_government = democratic
				#is_faction_leader = yes
			}
			NOT = { has_war_with = ENG }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			if = {
				limit = {
					ENG = {
						is_faction_leader = yes
						has_government = democratic
					}
				}
				ENG = { country_event = generic.2 }
			}
			else_if = {
				limit = {
					ENG = {
						is_in_faction = yes
						is_faction_leader = no
						has_government = democratic
					}
				}
				random_country = {
					limit = {
						is_in_faction_with = ENG
						is_faction_leader = yes
					}
					country_event = generic.2
				}
			}
			else = {
				set_rule = { can_create_factions = yes }
				create_faction_from_template = faction_template_JAP_the_old_alliance
				ENG = { country_event = generic.5 }
			}
		}
	}

	focus = {
		id = JAP_pacific_guardian 
		icon = GFX_focus_jap_pacific_guardian
		prerequisite = { focus = JAP_west_pacific_treaty_organization focus = JAP_rekindle_the_old_alliance }
		x = 1
		y = 1
		relative_position_id = JAP_west_pacific_treaty_organization

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

		completion_reward = {

			add_political_power = 75

			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_category_tooltip = JAP_pacific_guardian

		}

	}

	focus = {
		id = JAP_anti_communist_bulwark
		icon = GFX_goal_anti_comintern_pact
		prerequisite = { focus = JAP_pacific_guardian }
		x = -1
		y = 1
		relative_position_id = JAP_pacific_guardian

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				SOV = { has_war = yes }
			}
		}

		available = {
			NOT = { has_government = communism }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no


		completion_reward = {
			every_other_country = {
				limit = { 
					OR = {
						is_major = yes 
						original_tag = PRC
					}
					has_government = communism
				}
				add_opinion_modifier = { target = ROOT modifier = JAP_anti_communist_bulwark }
				ROOT = { add_opinion_modifier = { target = PREV modifier = JAP_anti_communist_bulwark } }
			}
			# SOV = { add_opinion_modifier = { target = ROOT modifier = JAP_anti_communist_bulwark } }
			# PRC = { add_opinion_modifier = { target = ROOT modifier = JAP_anti_communist_bulwark } }
			# add_opinion_modifier = { target = SOV modifier = JAP_anti_communist_bulwark }
			# add_opinion_modifier = { target = PRC modifier = JAP_anti_communist_bulwark }
		}
	}

	focus = {
		id = JAP_anti_communist_volunteers
		icon = GFX_goal_generic_allies_build_infantry
		prerequisite = { focus = JAP_anti_communist_bulwark }
		x = 0
		y = 1
		relative_position_id = JAP_anti_communist_bulwark

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				any_country = {
					has_government = democratic
					has_war_with = SOV
				}
			}
		}

		available = {
			NOT = { has_government = communism }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MANPOWER }
		completion_reward = {
			add_ideas = JAP_anti_communist_volunteers
		}
	}

	focus = {
		id = JAP_the_korean_question
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = JAP_pacific_guardian }
		x = 1
		y = 1
		relative_position_id = JAP_pacific_guardian

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = { has_war_with = KOR }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			IF = {
				limit = {
					country_exists = KOR
					has_government = democratic
				}
				KOR = { 
					country_event = {
						id = generic.5
						hours = 2 
					}
				}
			}
			ELSE_IF = {
				limit = {
					country_exists = KOR
					NOT = { has_government = democratic }
					is_subject = no
				}
				KOR = { add_timed_idea = { idea = democratic_influence days = 360 } }
			}
			ELSE_IF = {
				limit = {
					has_full_control_of_state = 525
					has_full_control_of_state = 527
					KOR = { exists = no }
				}
				activate_mission_tooltip = JAP_release_korea
				set_country_flag = JAP_release_korea_activate
			}
			ELSE_IF = {
				limit = {
					MAN = {
						has_government = fascism
						has_full_control_of_state = 525
						has_full_control_of_state = 527
					}
				}
				create_wargoal = {
					type = take_state_focus
					target = MAN
					expire = 0
					generator = { 525 527 }
				}
			}
		}
	}

	focus = {
		id = JAP_liberate_manchuria
		icon = GFX_goal_generic_territory_or_war
		prerequisite = { focus = JAP_the_korean_question }
		x = 0
		y = 1
		relative_position_id = JAP_the_korean_question

		cost = 10

		ai_will_do = {
			factor = 2
		}

		available = {
			MAN = { NOT = { has_government = democratic } }
		}

		bypass = {
			OR = {
				NOT = { country_exists = MAN }
				MAN = { has_government = democratic }
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			if = {
				limit = {
					MAN = {
						exists = yes
						OR = {
							has_government = fascism
							has_government = communism
						}
					}
				}
				create_wargoal = {
					type = topple_government
					target = MAN
					expire = 0
				}
			}
			if = {
				limit = {
					SOV = {
						owns_state = 610
						owns_state = 716
						owns_state = 328
						owns_state = 715
						owns_state = 714
						owns_state = 717
					}
				}
				create_wargoal = {
					target = SOV
					type = take_state_focus
					expire = 0
					generator = { 610 716 328 715 714 717 }
				}
			}
			unlock_decision_tooltip = JAP_return_manchuria
			custom_effect_tooltip = JAP_liberate_manchuria_tt
		}
	}

	focus = {
		id = JAP_ultimate_deterrence
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = JAP_liberate_manchuria }
		prerequisite = { focus = JAP_anti_communist_volunteers }
		x = -2
		y = 1
		relative_position_id = JAP_liberate_manchuria

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				has_global_flag = first_nuke_dropped
			}
		}

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

			add_to_tech_sharing_group = JAP_ultimate_deterrence

			every_country = {
				limit = { is_in_faction_with = ROOT }				
				add_to_tech_sharing_group = JAP_ultimate_deterrence
			}

		}

	}

	focus = {
		id = JAP_full_sovereignty_for_the_philippines
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = JAP_liberate_manchuria }
		x = 0
		y = 1
		relative_position_id = JAP_liberate_manchuria

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			PHI = {
				is_subject = yes
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			PHI = { 
				OVERLORD = { 
					country_event = { 
						id = wtt_japan.104 
						days = 1 
					} 
				} 
			}
		}
	}

	################################
	######## SEA FOCUSES ###########
	################################

	focus = {
		id = JAP_okadas_military_purge_speech
		icon = GFX_focus_JAP_okadas_military_purge_speech
		
		mutually_exclusive = {
			focus = JAP_sea_purge_the_kodoha_faction
			focus = JAP_revere_the_emperor_destroy_the_traitors
		}
		
		#relative_position_id = JAP_new_naval_estimates
		x = 27
		y = 0

		cost = 0

		ai_will_do = {
			factor = 2
		}

		allow_branch = {
			has_dlc = "No Compromise, No Surrender"
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = JAP_sea_purge_the_kodoha_faction
					has_completed_focus = JAP_revere_the_emperor_destroy_the_traitors
				}
			}
		}

		offset = {
			x = -7
			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 = -7
			y = 0
			trigger = {
				AND = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
					has_completed_focus = JAP_organize_a_general_election
				}
			}
		}

		available = {
			has_country_flag = JAP_aizawas_trial_over_flag
		}

		bypass = {
			has_government = communism
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_COMPLETED_BY_EVENT FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			JAP_small_government_faction_gain = yes

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_okadas_military_purge_speech_tt
			
			hidden_effect = {

				# The Tokko will Assassinate Okada :0 
				country_event = {
					id = SEA_japan_popup_events.15
					days = 14 # then 7 days until next event 
				}	

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

				news_event = { 
					id = SEA_japan_news_events.01 
					days = 4 
				} 

			}

		}

	}


	################################
	####### KODOHA FOCUSES #########
	################################

	focus = {
		id = JAP_revere_the_emperor_destroy_the_traitors
		icon = GFX_focus_JAP_revere_the_emperor_destroy_the_traitors
		mutually_exclusive = { 
			focus = JAP_sea_purge_the_kodoha_faction 
			focus = JAP_okadas_military_purge_speech 
		}
		x = 27
		y = 0
		
		relative_position_id = JAP_okadas_military_purge_speech

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

		cost = 0

		ai_will_do = {
			factor = 2
		}

		allow_branch = {
			has_dlc = "No Compromise, No Surrender"
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {						
					has_completed_focus = JAP_sea_purge_the_kodoha_faction
					has_completed_focus = JAP_okadas_military_purge_speech
				}
			}
		}

		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_COMPLETED_BY_EVENT FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			JAP_add_or_modify_imperial_way = yes

			add_to_variable = { JAP_the_imperial_way_war_support_factor = 0.05 tooltip = war_support_factor_tt }
			add_to_variable = { JAP_the_imperial_way_drift_defence_factor = 0.1 tooltip = drift_defence_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			set_politics = {
				ruling_party = neutrality
				elections_allowed = no
				long_name = JAP_neutrality_party_kodoha_long
				name = JAP_neutrality_party_kodoha
			}	
			add_popularity = {
				ideology = fascism
				popularity = -0.1
			}	
			add_popularity = {
				ideology = democratic
				popularity = -0.1
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_big_army_faction_gain = yes

			activate_mission = JAP_kwantung_army_impatience
				
			hidden_effect = {

				set_cosmetic_tag = JAP_kodoha 

				country_event = {
					id = SEA_japan_popup_events.4
					days = 7
					random_days = 4
				}	

				set_global_flag = { 
					flag = JAP_marco_polo_remaining_days
					days = 725
				}

				IF = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
				
				news_event = { 
					id = wtt_news.27 
					days = 4 
				} 
				
			}

		}

	}

	focus = {
		id = JAP_establish_the_gunbatsu
		icon = GFX_focus_generic_military_dictatorship
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 0
		y = 1
		relative_position_id = JAP_revere_the_emperor_destroy_the_traitors

		prerequisite = { focus = JAP_revere_the_emperor_destroy_the_traitors }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = neutrality
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			add_popularity = {
				ideology = neutrality
				popularity = 0.1
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			country_event = {
				id = SEA_japan_popup_events.8
			}	
				
			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_small_government_faction_loss = yes
			
		}
	}

	focus = {
		id = JAP_authorize_aid_to_ethiopia
		icon = GFX_focus_generic_befriend_ethiopia
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = -3
		y = 1
		relative_position_id = JAP_revere_the_emperor_destroy_the_traitors

		prerequisite = { focus = JAP_revere_the_emperor_destroy_the_traitors }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_war = no
			ETH = {
				exists = yes
			}
			has_global_flag = second_italo_ethiopian_war_flag
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {
				
			add_relation_modifier = {
				target = ETH
				modifier = JAP_support_ethiopia_static_modifier 
			}
			add_relation_rule_override = {
				target = ETH
				can_send_volunteers = yes
			}
			ETH = {
				add_opinion_modifier = {
					target = ROOT
					modifier = JAP_sent_eth_aid_opm
				}	
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			ETH = {
				country_event = {
					id = SEA_japan_foreign_policy.75
					hours = 2
				}	
			}

			hidden_effect = {
				add_timed_idea = {
					idea = JAP_aid_ETH
					days = 730
				}
				add_ai_strategy = {
					type = send_volunteers_desire
					id = ETH
					value = 350
				}
				add_ai_strategy = {
					type = protect
					id = ETH
					value = 100
				}
			}
			
		}
	}

	focus = {
		id = JAP_grand_army_purge
		icon = GFX_focus_IRQ_attempted_assasination_of_sidqi
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = -1
		y = 1
		relative_position_id = JAP_establish_the_gunbatsu

		prerequisite = { focus = JAP_establish_the_gunbatsu }

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

		completion_reward = {

			custom_effect_tooltip = JAP_grand_army_purge_tt

			IF = {
				limit = { # So that the tooltip doesn't break as much once the focus has been taken
					NOT = {
						has_completed_focus = JAP_grand_army_purge
					}
				}
				effect_tooltip = {
					retire_character = JAP_hideki_tojo
					retire_character = JAP_fushimi_hiroyasu
					retire_character = JAP_shunroku_hata
					retire_character = JAP_hisaichi_terauchi
					retire_character = JAP_kanin_kotohito
					retire_character = JAP_nashimoto_morimasa
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_timed_idea = {
				idea = JAP_double_leaf_society_idea
				days = 365
			}	

			hidden_effect = {
				retire_character = JAP_hideki_tojo
				retire_character = JAP_fushimi_hiroyasu
				retire_character = JAP_shunroku_hata
				retire_character = JAP_hisaichi_terauchi
				retire_character = JAP_kanin_kotohito
				retire_character = JAP_nashimoto_morimasa
				#retire_character = JAP_kuniaki_koiso
				retire_character = JAP_hatazo_adachi
				retire_character = JAP_tsuneyoshi_takeda
				retire_character = JAP_naruhiko_higashikuni
				retire_character = JAP_seishiro_itagaki
				retire_character = JAP_yasuhiko_asaka
			}
		}
	}

	focus = {
		id = JAP_remove_the_weeds_from_the_crop
		icon = GFX_focus_JAP_remove_the_weeds_from_the_crop
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 1
		y = 1
		relative_position_id = JAP_establish_the_gunbatsu

		prerequisite = { focus = JAP_establish_the_gunbatsu }

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

		completion_reward = {

			add_political_power = 100

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_imperial_way = yes

			add_to_variable = { JAP_the_imperial_way_drift_defence_factor = 0.15 tooltip = drift_defence_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					NOT = {
						has_country_flag = banned_democratic_flag
					}
				}
				hidden_effect = {
					set_temp_variable = {
						var = ban_ideology_var
						value = party_popularity@democratic
					}
					multiply_temp_variable = {
						var = ban_ideology_var
						value = -1
					}
					add_popularity = {
						ideology = democratic
						popularity = ban_ideology_var
					}
					multiply_temp_variable = {
						var = ban_ideology_var
						value = 0.66
					}
					set_country_flag = banned_democratic_flag				
				}
				remove_democratic_spirits_effect = yes 
				custom_effect_tooltip = ban_democratic_party_tt
				add_stability = ban_ideology_var
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_can_no_longer_manually_promote_civ_government_tt

			hidden_effect = {
				set_country_flag = JAP_blocked_from_favoring_the_government_flag
			}

		}
	}

	focus = {
		id = JAP_sea_the_showa_restoration
		icon = GFX_focus_JAP_sea_the_showa_restoration
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = -1
		y = 1
		relative_position_id = JAP_remove_the_weeds_from_the_crop

		prerequisite = { focus = JAP_remove_the_weeds_from_the_crop }
		prerequisite = { focus = JAP_grand_army_purge }

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

		completion_reward = {

			add_stability = 0.1
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}	
				
			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_imperial_way = yes

			add_to_variable = { JAP_the_imperial_way_political_advisor_cost_factor = -0.15 tooltip = political_advisor_cost_factor_tt }
			
		}
	}

	focus = {
		id = JAP_an_ode_to_showa_restoration
		icon = GFX_focus_jap_showa_restoration
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = -3
		y = 1
		relative_position_id = JAP_sea_the_showa_restoration

		prerequisite = { focus = JAP_sea_the_showa_restoration }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_country_flag = JAP_kodoha_the_emperor_cooperated_flag
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

		completion_reward = {
				
			add_political_power = 75

			add_stability = 0.1
			
		}
	}

	focus = {
		id = JAP_ikki_kitas_state_socialist_ideals
		icon = GFX_focus_JAP_ikki_kitas_state_socialist_ideals
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = -6
		y = 1
		relative_position_id = JAP_sea_the_showa_restoration

		prerequisite = { focus = JAP_sea_the_showa_restoration }

		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_ikki_kitas_state_socialist_ideals
				bonus = 0.5
				uses = 2
				category = industry
			}	

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

	focus = {
		id = JAP_oppose_the_zaibatsus
		icon = GFX_focus_JAP_oppose_zaibatsus
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 0
		y = 1
		relative_position_id = JAP_ikki_kitas_state_socialist_ideals

		prerequisite = { focus = JAP_ikki_kitas_state_socialist_ideals }

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

		completion_reward = {

			JAP_small_zaibatsu_faction_loss = yes

			custom_effect_tooltip = generic_skip_one_line_tt

			add_timed_idea = {
				idea = JAP_restructing_the_industrial_conglomerates
				days = 360
			}	
			custom_effect_tooltip = JAP_oppose_the_zaibatsus_tt
			effect_tooltip = {
				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_factory_energy_consumption = -0.05 tooltip = factory_energy_consumption_tt }
				add_to_variable = { JAP_industry_local_resources_coal_factor = 0.05 tooltip = local_resources_coal_factor_tt }
				add_to_variable = { JAP_industry_industrial_capacity_factory = 0.05 tooltip = industrial_capacity_factory_tt }
			}

		}

	}

	focus = {
		id = JAP_give_it_your_all_for_the_emperor
		icon = GFX_focus_JAP_give_it_your_all_for_the_emperor
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 0
		y = 2
		relative_position_id = JAP_oppose_the_zaibatsus

		prerequisite = { focus = JAP_oppose_the_zaibatsus }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				has_idea = JAP_restructing_the_industrial_conglomerates
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			JAP_add_or_modify_early_industrialization = yes
			add_to_variable = { JAP_industry_industrial_capacity_factory = 0.05 tooltip = industrial_capacity_factory_tt }
			add_to_variable = { JAP_industry_industrial_capacity_dockyard = 0.05 tooltip = industrial_capacity_dockyard_tt }
			add_to_variable = { JAP_industry_production_speed_buildings_factor = 0.05 tooltip = production_speed_buildings_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_give_it_your_all_for_the_emperor_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_gotaro_ogawa
				
			
		}
	}

	focus = {
		id = JAP_revitalize_rural_areas
		icon = GFX_focus_generic_welfare
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = -1
		y = 1
		relative_position_id = JAP_oppose_the_zaibatsus

		prerequisite = { focus = JAP_oppose_the_zaibatsus }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				has_idea = JAP_restructing_the_industrial_conglomerates
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
				
			every_core_state = {
				limit = {
					is_fully_controlled_by = PREV
					OR = {
						has_state_category = rural
						has_state_category = town
					}
				}
				add_extra_state_shared_building_slots = 1
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			every_core_state = {
				limit = {
					is_fully_controlled_by = PREV
					infrastructure < 5
					OR = {
						has_state_category = rural
						has_state_category = town
					}
				}
				add_building_construction = {
					type = infrastructure
					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_nationalize_western_corporations
		icon = GFX_focus_generic_industrialists
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 1
		y = 1
		relative_position_id = JAP_oppose_the_zaibatsus

		prerequisite = { focus = JAP_oppose_the_zaibatsus }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				has_idea = JAP_restructing_the_industrial_conglomerates
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			random_core_state = {
				limit = {
					is_owned_and_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}	
				}
				prioritize = { 531 } 
				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

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

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
					
				every_military_industrial_organization = {
					add_mio_funds = 250
				}
			}
			
		}
	}

	focus = {
		id = JAP_ally_the_league_of_blood
		icon = GFX_goal_tripartite_pact
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = -9
		y = 1
		relative_position_id = JAP_sea_the_showa_restoration

		prerequisite = { focus = JAP_sea_the_showa_restoration }

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

		completion_reward = {

			add_political_power = 50

			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_nissho_inoue
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_gempo_yamamoto
				
			
		}
	}

	focus = {
		id = JAP_integrate_the_kenkokutai
		icon = GFX_focus_generic_fascist_troops
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 0
		y = 2
		relative_position_id = JAP_ally_the_league_of_blood

		prerequisite = { focus = JAP_ally_the_league_of_blood }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				has_government = neutrality
				has_government = fascism
			}
			any_country_with_original_tag = {
				original_tag_to_check = SOV
				has_government = communism
			}	
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			add_ideas = JAP_kenkokukai

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_bin_akao
				
			
		}
	}

	focus = {
		id = JAP_contact_the_masterless_samurai
		icon = GFX_focus_JAP_contact_the_masterless_samurai
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = -1
		y = 1
		relative_position_id = JAP_ally_the_league_of_blood

		prerequisite = { focus = JAP_ally_the_league_of_blood }

		cost = 10

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

		completion_reward = {

			add_political_power = 120

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_yukio_ozaki
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_toyama_mitsuru
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_onisaburo_deguchi
				
			
		}
	}

	focus = {
		id = JAP_contact_former_sakurakai_members
		icon = GFX_goal_generic_dangerous_deal
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 1
		y = 1
		relative_position_id = JAP_ally_the_league_of_blood

		prerequisite = { focus = JAP_ally_the_league_of_blood }

		cost = 10

		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_MANPOWER FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {

			JAP_add_or_modify_imperial_way = yes

			add_to_variable = { JAP_the_imperial_way_conscription_factor = 0.08 tooltip = conscription_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt
			
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = kingoro_hashimoto
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_morihei_ueshiba
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = JAP_kuniaki_koiso
			
		}
	}

	focus = {
		id = JAP_the_great_spiritual_evil
		icon = GFX_focus_JAP_the_great_spiritual_evil
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 4
		y = 1
		relative_position_id = JAP_sea_the_showa_restoration

		prerequisite = { focus = JAP_sea_the_showa_restoration }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				has_government = neutrality
				has_government = fascism
			}
			NOT = {
				has_country_flag = banned_communism_flag
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
				
			every_country = {
				limit = {
					has_government = communism
					NOT = {
						is_ally_with = ROOT
					}
				}
				add_opinion_modifier = {
					target = ROOT
					modifier = JAP_the_great_spiritual_evil_opm
				}	
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_political_power = 100

			hidden_effect = {
				set_temp_variable = {
					var = ban_ideology_var
					value = party_popularity@communism
				}
				multiply_temp_variable = {
					var = ban_ideology_var
					value = -1
				}
				add_popularity = {
					ideology = communism
					popularity = ban_ideology_var
				}
				multiply_temp_variable = {
					var = ban_ideology_var
					value = 0.66
				}
				set_country_flag = banned_communism_flag
				IF = {#NSB -> If country has Trotskyist Revolutionary Uprisings NS, swap it with the weakened version
					limit = {
						has_idea = SOV_trotskyist_revolutionary_agitation
					}
					swap_ideas = {
						remove_idea = SOV_trotskyist_revolutionary_agitation
						add_idea = SOV_trotskyist_revolutionary_agitation_weakened
					}
				}
			}
			remove_communist_spirits_effect = yes
			custom_effect_tooltip = ban_communist_party_tt
			
		}
	}

	focus = {
		id = JAP_strike_down_the_enemy_of_the_people
		icon = GFX_focus_GER_end_european_communism
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = -1
		y = 1
		relative_position_id = JAP_the_great_spiritual_evil

		prerequisite = { focus = JAP_the_great_spiritual_evil }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			any_country = {
				any_state = {
					is_owned_by = PREV
					is_on_continent = asia
				}
				has_government = communism
			}
		}

		bypass = {

		}

		will_lead_to_war_with = SIK
		will_lead_to_war_with = PRC
		will_lead_to_war_with = MON
		will_lead_to_war_with = TAN

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
				
			custom_effect_tooltip = JAP_strike_down_the_enemy_of_the_people_tt
			every_other_country = {
				limit = {
					OR = {
						is_in_faction_with = ROOT
						is_guaranteed_by = ROOT
						has_non_aggression_pact_with = ROOT
					}
					has_government = communism
				}
				IF = {
					limit = {
						ROOT = { is_faction_leader = yes }
					}
					ROOT = { remove_from_faction = PREV }
				}
				ELSE_IF = {
					limit = {
						is_faction_leader = yes
					}
					ROOT = { leave_faction = yes }
				}
				IF = {
					limit = {
						ROOT = {
							has_guaranteed = PREV
						}
					}
					ROOT = {
						diplomatic_relation = {
						    country = PREV
						    relation = guarantee
						    active = no
						}
					}
				}
				IF = {
					limit = {
						has_non_aggression_pact_with = ROOT
					}
					ROOT = {
						diplomatic_relation = {
						    country = PREV
						    relation = non_aggression_pact
						    active = no
						}
					}
				}
				ROOT = {
					create_wargoal = {
						type = puppet_wargoal_focus
						target = PREV
						expire = 0
					}
				}
			}
			every_other_country = {
				limit = {
					capital_scope = {
						is_on_continent = asia
					}
					has_government = communism
					NOT = { is_in_faction_with = ROOT }
					NOT = { is_guaranteed_by = ROOT }
					NOT = { has_non_aggression_pact_with = ROOT }	
				}
				ROOT = {
					create_wargoal = {
						type = puppet_wargoal_focus
						target = PREV
						expire = 0
					}
				}
			}

		}
	}

	focus = {
		id = JAP_prepare_for_the_final_war
		icon = GFX_focus_jap_cast_the_die
		
		x = 1
		y = 1
		relative_position_id = JAP_the_great_spiritual_evil

		prerequisite = { focus = JAP_the_great_spiritual_evil }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			OR = {
				has_war_with_major = yes
				has_war_support > 0.75
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
				
			add_ideas = JAP_the_final_war_theory_idea

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_gain_national_defense_state_remove_total_mob_tt
			add_ideas = national_defense_state

		}
	}

	focus = {
		id = JAP_indoctrination_in_the_military_academy
		icon = GFX_focus_generic_subjugation
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 9
		y = 1
		relative_position_id = JAP_sea_the_showa_restoration

		prerequisite = { focus = JAP_sea_the_showa_restoration }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		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_ARMY_XP FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			add_command_power = 25
			army_experience = 15

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_every_kodoha_member_tt
			every_army_leader = {
				limit = {
					has_trait = trait_JAP_kodoha_sympathizer
				}
				add_planning = 1
				add_logistics = 1
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt
			
			custom_effect_tooltip = cost_reduced_last_stand_2 
			
		}
	}

	focus = {
		id = JAP_sea_supremacy_of_will
		icon = GFX_focus_JAP_supremacy_of_will
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = -2
		y = 1
		relative_position_id = JAP_indoctrination_in_the_military_academy

		prerequisite = { focus = JAP_indoctrination_in_the_military_academy }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			JAP_army_faction_is_at_least_influential = yes
		}

		bypass = {

		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {
				
			add_ideas = JAP_superior_will
			
		}
	}

	focus = {
		id = JAP_tennoheika_banzai
		icon = GFX_focus_JAP_tennoheika_banzai
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = -1
		y = 1
		relative_position_id = JAP_sea_supremacy_of_will

		prerequisite = { focus = JAP_sea_supremacy_of_will }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			JAP_army_faction_is_at_least_influential = yes
		}

		bypass = {

		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			add_doctrine_cost_reduction = {
				name = JAP_tennoheika_banzai
				cost_reduction = 0.5
				uses = 2
				category = land_doctrine
			}	
			
			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.05 tooltip = org_loss_when_moving_tt }

			custom_effect_tooltip = generic_skip_one_line_tt
			
			custom_effect_tooltip = CHI_50_cheaper_force_attack
			
		}
	}

	focus = {
		id = JAP_a_truly_righteous_army
		icon = GFX_focus_generic_advanced_military_studies
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 1
		y = 1
		relative_position_id = JAP_sea_supremacy_of_will

		prerequisite = { focus = JAP_sea_supremacy_of_will }

		cost = 10

		ai_will_do = {
			factor = 1
		}

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

		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_army_core_defence_factor = 0.05 tooltip = army_core_defence_factor_tt }
			add_to_variable = { JAP_army_army_morale_factor = 0.05 tooltip = army_morale_factor_tt }
			
		}
	}

	focus = {
		id = JAP_supremacy_of_the_kempeitai
		icon = GFX_focus_generic_secret_service_agency
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 0
		y = 1
		relative_position_id = JAP_a_truly_righteous_army

		prerequisite = { focus = JAP_a_truly_righteous_army }

		cost = 10

		ai_will_do = {
			factor = 1
		}

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

		bypass = {

		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {

			add_tech_bonus = {
				name = JAP_supremacy_of_the_kempeitai
				bonus = 0.75
				uses = 2
				category = military_police_tech
			}	
			
			IF = {
				limit = {
					has_dlc = "La Resistance"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				add_ideas = JAP_kempeitai_idea_lar
				IF = {
					limit = {
						has_intelligence_agency = no
					}
					custom_effect_tooltip = generic_skip_one_line_tt
					create_intelligence_agency = yes
				}
			}
			ELSE = {
				custom_effect_tooltip = generic_skip_one_line_tt
				add_ideas = JAP_kempeitai_idea_no_lar
			}
			
		}
	}

	focus = {
		id = JAP_sonnou_joui
		icon = GFX_focus_JAP_sonno_joi
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = -1
		y = 2
		relative_position_id = JAP_a_truly_righteous_army

		prerequisite = { focus = JAP_a_truly_righteous_army focus = JAP_tennoheika_banzai }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			JAP_army_faction_is_at_least_influential = yes
		}

		bypass = {

		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = { 

			add_timed_idea = {
				idea = JAP_expel_the_barbarians
				days = 365
			}	

			custom_effect_tooltip = JAP_sonnou_joui_tt
				
			
		}
	}

	focus = {
		id = JAP_subdue_the_kwantung_army
		icon = GFX_focus_SOV_military_purge
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 2
		y = 1
		relative_position_id = JAP_indoctrination_in_the_military_academy

		prerequisite = { focus = JAP_indoctrination_in_the_military_academy }

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

		completion_reward = {

			add_stability = 0.05
			add_war_support = -0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_subdue_the_kwantung_army_2_tt
			IF = {
				limit = {	 # So that the tooltip doesn't break as much once the focus has been taken
					NOT = {
						has_completed_focus = JAP_subdue_the_kwantung_army
					}
				}
				effect_tooltip = {
					retire_character = JAP_jo_iimura
					retire_character = JAP_kenji_doihara
					retire_character = JAP_harukichi_hyakutake
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_subdue_the_kwantung_army_tt

			hidden_effect = {
				retire_character = JAP_jo_iimura
				retire_character = JAP_kenji_doihara
				retire_character = JAP_harukichi_hyakutake
			}

		}

	}

	focus = {
		id = JAP_hasten_the_integration_of_taiwan
		icon = GFX_focus_JAP_hasten_the_integration_of_taiwan
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = -1
		y = 1
		relative_position_id = JAP_subdue_the_kwantung_army

		prerequisite = { focus = JAP_subdue_the_kwantung_army }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			524 = {
				is_owned_and_controlled_by = ROOT
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {
				
			524 = {
				add_core_of = ROOT
			}
			
		}
	}

	focus = {
		id = JAP_integrate_the_government_general
		icon = GFX_focus_JAP_integrate_the_government_general
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 1
		y = 1
		relative_position_id = JAP_subdue_the_kwantung_army

		prerequisite = { focus = JAP_subdue_the_kwantung_army }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				KOR = {
					exists = yes
					is_subject_of = ROOT
				}
				KOR = {
					all_core_state = {
						is_owned_by = ROOT
					}
				}
			}
		}

		bypass = {
			KOR = {
				exists = yes
				NOT = {
					is_subject_of = ROOT
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_MANPOWER }

		completion_reward = {
				
			IF = {
				limit = {
					KOR = {
						exists = yes
						is_ally_with = ROOT
					}
				}
				KOR = {
					country_event = {
						id = SEA_japan_foreign_policy.76
						hours = 12
						random_hours = 24
					}	
				}
			}
			ELSE_IF = {
				limit = {
					KOR = {
						all_core_state = {
							is_owned_by = ROOT
						}
					}
				}
				every_controlled_state = {
					limit = {
						is_core_of = KOR
					}
					add_compliance = 25
					add_extra_state_shared_building_slots = 1
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_integrate_the_government_general_tt
			
		}
	}

	focus = {
		id = JAP_align_the_concordia_association
		icon = GFX_focus_JAP_align_the_concordia_association
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = -1
		y = 1
		relative_position_id = JAP_integrate_the_government_general

		prerequisite = { focus = JAP_integrate_the_government_general }
		prerequisite = { focus = JAP_hasten_the_integration_of_taiwan }

		cost = 5

		ai_will_do = {
			factor = 1
		}

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

		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

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

			custom_effect_tooltip = generic_skip_one_line_tt
				
			MAN = {
				country_event = {
					id = SEA_japan_foreign_policy.79
					hours = 12
					random_hours = 24
				}	
			}
			
		}
	}

	focus = {
		id = JAP_integrate_the_great_empire_of_manchuria
		icon = GFX_focus_JAP_integrate_the_great_manchurian_empire
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 0
		y = 1
		relative_position_id = JAP_align_the_concordia_association

		prerequisite = { focus = JAP_align_the_concordia_association }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				AND = {
					has_country_flag = JAP_MAN_accepted_our_proposal_for_integration
					MAN = {
						exists = yes
						is_subject_of = ROOT
						hidden_trigger = {
							NOT = {
								OR = {
									has_completed_focus = MAN_assertiveness
									has_completed_focus = MAN_tsr_assertiveness
								}
							}
						}
						custom_trigger_tooltip = {
							tooltip = MAN_not_assertiveness_tt
							NOT = {
								OR = {
									has_completed_focus = MAN_assertiveness
									has_completed_focus = MAN_tsr_assertiveness
								}
							}
						}

					}
				}
				MAN = {
					all_core_state = {
						is_owned_by = ROOT
					}
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_MANPOWER }

		completion_reward = {

			IF = {
				limit = {
					MAN = {
						exists = yes
						is_subject_of = ROOT
					}
				}
				MAN = {
					country_event = {
						id = SEA_japan_foreign_policy.87
						hours = 12
						random_hours = 24
					}	
				}
			}
			ELSE_IF = {
				limit = {
					MAN = {
						all_core_state = {
							is_owned_by = ROOT
						}
					}
				}
				every_controlled_state = {
					limit = {
						is_core_of = MAN
					}
					add_compliance = 25
					add_extra_state_shared_building_slots = 1
				}
			}
				
			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_integrate_the_great_empire_of_manchuria_tt
			
		}
	}

	focus = {
		id = JAP_embrace_kokutai
		icon = GFX_focus_JAP_embrace_kokutai
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 0
		y = 1
		relative_position_id = JAP_sea_the_showa_restoration

		prerequisite = { focus = JAP_sea_the_showa_restoration }

		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_POLITICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			add_ideas = JAP_kokutai_idea

			custom_effect_tooltip = peace_conference_spiritual_mob_modifier_japan

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_kiichiro_hiranuma
				
			
		}
	}

	focus = {
		id = JAP_empower_the_shogun
		icon = GFX_focus_JAP_empower_the_shogun
		mutually_exclusive = { focus = JAP_empower_the_emperor }
		x = -1
		y = 1
		relative_position_id = JAP_embrace_kokutai

		prerequisite = { focus = JAP_embrace_kokutai }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			JAP_army_faction_is_not_subdued = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			add_stability = -0.15
			add_war_support = 0.1

			custom_effect_tooltip = generic_skip_one_line_tt
				
			swap_ideas = {
				remove_idea = JAP_militarism
				add_idea = JAP_militarism_shogunate
			}
			
		}
	}

	focus = {
		id = JAP_empower_the_emperor
		icon = GFX_focus_JAP_empower_the_emperor
		mutually_exclusive = { focus = JAP_empower_the_shogun }
		x = 1
		y = 1
		relative_position_id = JAP_embrace_kokutai

		prerequisite = { focus = JAP_embrace_kokutai }

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

		completion_reward = {

			IF = {
				limit = {
					has_country_flag = JAP_emperor_hirohito_has_abdicated_flag
				}
				add_country_leader_role = {
					character = JAP_emperor_yasuhito
					promote_leader = yes
					country_leader = {
						ideology = despotism
						expire = "1952.1.1.1"
						traits = { sessho_trait }
					}
				}
				hidden_effect = {
					add_country_leader_role = {
						character = JAP_emperor_yasuhito
						promote_leader = yes
						country_leader = {
							ideology = emperor_fascism
							expire = "1952.1.1.1"
							traits = { sessho_trait } 
						}
					}
				}
			}
			ELSE_IF = {
				limit = {
					OR = {
						has_country_flag = JAP_hirohito_has_been_killed_flag
						has_country_flag = JAP_emperor_hirohito_under_house_arrest_flag
					}
				}
				add_country_leader_role = {
					character = JAP_emperor_yasuhito
					promote_leader = yes
					country_leader = {
						ideology = despotism
						expire = "1952.1.1.1"
						traits = { emperor_genka }
					}
				}
				hidden_effect = {
					add_country_leader_role = {
						character = JAP_emperor_yasuhito
						promote_leader = yes
						country_leader = {
							ideology = emperor_fascism
							expire = "1952.1.1.1"
							traits = { emperor_genka } 
						}
					}
				}
			}
			ELSE = {
				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 = {
					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 } 
						}
					}
				}
			}

			swap_ideas = {
				remove_idea = JAP_militarism
				add_idea = JAP_militarism_showa
			}

			hidden_effect = {

				set_cosmetic_tag = JAP_emperor_dominant

			}	
			
		}
	}

	focus = {
		id = JAP_a_worthy_succssor_of_meiji
		icon = GFX_focus_JAP_a_worthy_succssor_of_meiji
		#mutually_exclusive = { focus = JAP_empower_the_shogun }
		x = 1
		y = 1
		relative_position_id = JAP_empower_the_emperor

		prerequisite = { focus = JAP_empower_the_emperor }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				has_country_leader = {
					ruling_only = yes
					character = JAP_emperor_hirohito
				}
				has_country_leader = {
					ruling_only = yes
					character = JAP_emperor_yasuhito
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
				
			IF = {
				limit = {
					has_country_leader = {
						ruling_only = yes
						character = JAP_emperor_yasuhito
					}	
					has_government = neutrality
				}
				add_country_leader_trait = JAP_meijis_true_successor_trait
				hidden_effect = {
					add_trait = {
					    character = JAP_emperor_yasuhito
					    ideology = emperor_fascism
					    trait = JAP_meijis_true_successor_trait
					}
				}
			}
			ELSE_IF = {
				limit = {
					has_country_leader = {
						ruling_only = yes
						character = JAP_emperor_yasuhito
					}	
					has_government = fascism
				}
				add_country_leader_trait = JAP_meijis_true_successor_trait
				hidden_effect = {
					add_trait = {
					    character = JAP_emperor_yasuhito
					    ideology = japan_militarism_ideology
					    trait = JAP_meijis_true_successor_trait
					}
				}
			}
			ELSE = {
				add_country_leader_trait = JAP_meijis_true_successor_trait
			}
			
		}
	}

	focus = {
		id = JAP_the_art_of_warfare
		icon = GFX_focus_generic_army_doctrines_2
		#mutually_exclusive = { focus = JAP_empower_the_shogun }
		x = -1
		y = 1
		relative_position_id = JAP_empower_the_shogun

		prerequisite = { focus = JAP_empower_the_shogun }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			add_doctrine_cost_reduction = {
				name = JAP_the_art_of_warfare
				cost_reduction = 0.75
				uses = 1
				category = land_doctrine
			}	
			add_mastery_bonus = {
				bonus = 0.25
				days = 240
				track = operations
				name = JAP_the_art_of_warfare
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt
			
			custom_effect_tooltip = cost_reduced_staff_office_planning 
			
		}
	}

	focus = {
		id = JAP_the_imperial_colors
		icon = GFX_focus_jap_pacific_guardian
		#mutually_exclusive = { focus = JAP_empower_the_shogun }
		x = 1
		y = 1
		relative_position_id = JAP_empower_the_shogun

		prerequisite = { focus = JAP_empower_the_shogun focus = JAP_empower_the_emperor }

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

		completion_reward = {
				
			add_political_power = 50

			#custom_effect_tooltip = generic_skip_one_line_tt

			add_war_support = 0.1
			
		}
	}

	focus = {
		id = JAP_utilize_our_polish_friendship
		icon = GFX_focus_generic_polish_deal
		mutually_exclusive = { focus = JAP_the_enemy_of_our_enemy focus = JAP_return_to_sakoku_ron }
		x = -2
		y = 1
		relative_position_id = JAP_the_imperial_colors

		prerequisite = { focus = JAP_the_imperial_colors }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			POL = {
				exists = yes
				NOT = {
					has_war_with = ROOT
					is_ally_with = SOV
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			POL = {
				country_event = {
					id = SEA_japan_foreign_policy.82
					hours = 6
					random_hours = 12
				}	
			}

			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				add_ideas = JAP_POL_anti_soviet_pact
				#custom_effect_tooltip = POL_JAP_pact_tt
				POL = {
					add_ideas = JAP_POL_anti_soviet_pact
				}
			}
		}
	}

	focus = {
		id = JAP_return_to_sakoku_ron
		icon = GFX_focus_JAP_return_to_sakoku_ron
		mutually_exclusive = { focus = JAP_the_enemy_of_our_enemy focus = JAP_utilize_our_polish_friendship }
		x = 2
		y = 1
		relative_position_id = JAP_the_imperial_colors

		prerequisite = { focus = JAP_the_imperial_colors }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_in_faction = no
			is_subject = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {
				
			IF = {
				limit = {
					is_faction_leader = no
				}
				set_rule = { can_create_factions = yes }
				create_faction_from_template = faction_template_sakoku_ron_faction
				add_faction_goal_slot = {
					category  = long_term 
					value = 1 
				}
			}

			IF = {
				limit = {
					has_completed_focus = JAP_authorize_aid_to_ethiopia
					ETH = {
						exists = yes
						is_subject = no
						is_faction_leader = no
						OR = {
							has_government = neutrality
							has_government = fascism
						}
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = JAP_eth_is_invited_to_faction_tt
				hidden_effect = {
					ETH = {
						add_ai_strategy = {
							type = befriend
							id = ROOT
							value = 150
						}
						ROOT = {
							add_ai_strategy = {
								type = befriend
								id = PREV
								value = 150
							}
						}
						country_event = { id = generic.5 hours = 6 random_hours = 24 }
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ideas = closed_economy
			
		}
	}

	focus = {
		id = JAP_the_enemy_of_our_enemy
		icon = GFX_focus_chi_mission_to_germany
		mutually_exclusive = { focus = JAP_return_to_sakoku_ron focus = JAP_utilize_our_polish_friendship }
		x = 0
		y = 1
		relative_position_id = JAP_the_imperial_colors

		prerequisite = { focus = JAP_the_imperial_colors }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			is_in_faction = no
			GER = {
				OR = {
					has_government = fascism
					has_government = neutrality
				}
				is_faction_leader = yes
				NOT = {
					has_war_with = ROOT
					is_ally_with = SOV
				}
			}
			SOV = {
				has_government = communism
				NOT = {
					is_ally_with = ROOT
				}
			}
		}

		bypass = {
			is_in_faction_with = GER
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			add_political_power = 50

			custom_effect_tooltip = generic_skip_one_line_tt

			GER = {
				add_opinion_modifier = {
					target = ROOT
					modifier = JAP_enemy_of_our_enemy_opm
				}	
			}
			add_opinion_modifier = {
				target = GER
				modifier = JAP_enemy_of_our_enemy_opm
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			GER = {
				country_event = { 
					id = generic.2 
					days = 2
					random_days = 4
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_hiroshi_oshima
			
		}
	}

	focus = {
		id = JAP_societal_bushido
		icon = GFX_focus_generic_japanese_imperial_glory
		#mutually_exclusive = { focus = JAP_utilize_our_polish_friendship }
		x = 0
		y = 1
		relative_position_id = JAP_the_enemy_of_our_enemy

		prerequisite = { focus = JAP_the_enemy_of_our_enemy focus = JAP_utilize_our_polish_friendship focus = JAP_return_to_sakoku_ron }

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

		completion_reward = {
			
			country_event = {
				id = SEA_japan_popup_events.9
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_imperial_way = yes

			add_to_variable = { JAP_the_imperial_way_war_support_factor = 0.05 tooltip = war_support_factor_tt }
			add_to_variable = { JAP_the_imperial_way_army_core_attack_factor = 0.05 tooltip = army_core_attack_factor_tt }
			add_to_variable = { JAP_the_imperial_way_army_core_defence_factor = 0.05 tooltip = army_core_defence_factor_tt }
			
		}
	}

	focus = {
		id = JAP_politicize_the_education_system
		icon = GFX_focus_JAP_politicize_the_education_system
		#mutually_exclusive = { focus = JAP_utilize_our_polish_friendship }
		x = -1
		y = 1
		relative_position_id = JAP_societal_bushido

		prerequisite = { focus = JAP_societal_bushido }

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

		completion_reward = {

			add_research_slot = 1

			custom_effect_tooltip = generic_skip_one_line_tt

			add_stability = -0.05
			add_war_support = 0.1
			
		}
	}

	focus = {
		id = JAP_the_spirit_of_the_imperial_nation
		icon = GFX_focus_JAP_the_spirit_of_the_imperial_nation
		#mutually_exclusive = { focus = JAP_utilize_our_polish_friendship }
		x = 1
		y = 1
		relative_position_id = JAP_societal_bushido

		prerequisite = { focus = JAP_societal_bushido }

		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_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_propagandize_the_nihon_shoki
		icon = GFX_focus_JAP_propaganda
		#mutually_exclusive = { focus = JAP_utilize_our_polish_friendship }
		x = -1
		y = 1
		relative_position_id = JAP_the_spirit_of_the_imperial_nation

		prerequisite = { focus = JAP_the_spirit_of_the_imperial_nation }
		prerequisite = { focus = JAP_politicize_the_education_system }

		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_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY }

		completion_reward = {

			add_political_power = 50
			add_war_support = 0.1
			add_stability = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = doumei_tsushin
			
		}
	}

	focus = {
		id = JAP_the_yamato_spirit
		icon = GFX_focus_JAP_national_spiritual_mobilization_movement
		#mutually_exclusive = { focus = JAP_utilize_our_polish_friendship }
		x = 0
		y = 2
		relative_position_id = JAP_propagandize_the_nihon_shoki

		prerequisite = { focus = JAP_propagandize_the_nihon_shoki }

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

		completion_reward = {

			JAP_add_or_modify_imperial_way = yes

			add_to_variable = { JAP_the_imperial_way_stability_factor = 0.05 tooltip = stability_factor_tt }
			add_to_variable = { JAP_the_imperial_way_conscription_factor = 0.05 tooltip = conscription_factor_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
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = JAP_luxury_is_the_enemy_decision
			unlock_decision_tooltip = JAP_form_a_labor_patriot_corps_decision
			unlock_decision_tooltip = JAP_produce_bullet_stamps_decision

			hidden_effect = {
				IF = {
					limit = {
						has_country_flag = JAP_emperor_hirohito_under_house_arrest_flag
					}
					country_event = {
						id = SEA_japan_popup_events.11
						days = 14
						random_days = 7
					}		
				}
			}

		}
	}

	focus = {
		id = JAP_children_of_the_sun 
		icon = GFX_focus_JAP_new_order_movement
		#mutually_exclusive = { focus = JAP_utilize_our_polish_friendship }
		x = -1
		y = 1
		relative_position_id = JAP_the_yamato_spirit

		prerequisite = { focus = JAP_the_yamato_spirit }

		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_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {
				
			IF = {
				limit = {
					has_completed_focus = JAP_empower_the_emperor
				}
				add_country_leader_trait = JAP_the_heavenly_sovereign_trait
			}
			ELSE = {
				add_country_leader_trait = JAP_guided_by_amaterasu_trait
			}
			
		}
	}

	focus = {
		id = JAP_the_footsteps_of_jimmu
		icon = GFX_focus_JAP_the_footsteps_of_jimmu
		#mutually_exclusive = { focus = JAP_utilize_our_polish_friendship }
		x = 1
		y = 1
		relative_position_id = JAP_the_yamato_spirit

		prerequisite = { focus = JAP_the_yamato_spirit }

		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_ARMY_XP FOCUS_FILTER_NAVY_XP FOCUS_FILTER_AIR_XP FOCUS_FILTER_WAR_SUPPORT }

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

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_imperial_way = yes

			add_to_variable = { JAP_the_imperial_way_offensive_war_stability_factor = 0.1 tooltip = offensive_war_stability_factor_tt }
			
		}
	}

	focus = {
		id = JAP_yatagarasus_guidance
		icon = GFX_focus_JAP_yatagarasus_guidance
		#mutually_exclusive = { focus = JAP_utilize_our_polish_friendship }
		x = 0
		y = 2
		relative_position_id = JAP_the_footsteps_of_jimmu

		prerequisite = { focus = JAP_the_footsteps_of_jimmu }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		allow_branch = {
			has_dlc = "No Compromise, No Surrender"
			has_country_flag = JAP_empress_nagako_became_queen_flag
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {						
					has_completed_focus = JAP_sea_purge_the_kodoha_faction
					has_completed_focus = JAP_okadas_military_purge_speech
				}
			}
		}

		available = {
			has_completed_focus = JAP_embodying_empress_jinguu
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {

			add_tech_bonus = {
				bonus = 0.75
				uses = 2
				category = radar_tech
				name = JAP_yatagarasus_guidance
			}	

			custom_effect_tooltip = generic_skip_one_line_tt
				
			add_ideas = JAP_yatagarasus_guidance_idea
			
		}
	}

	focus = {
		id = JAP_the_jeweled_spear_has_struck
		icon = GFX_focus_JAP_the_jeweled_spear_has_struck
		#mutually_exclusive = { focus = JAP_utilize_our_polish_friendship }
		x = -1
		y = 1
		relative_position_id = JAP_the_footsteps_of_jimmu

		prerequisite = { focus = JAP_the_footsteps_of_jimmu }
		prerequisite = { focus = JAP_children_of_the_sun }

		cost = 10

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

		completion_reward = {

			custom_effect_tooltip = JAP_the_jeweled_spear_has_struck_tt
			
		}
	}

	focus = {
		id = JAP_hakko_ichiu
		icon = GFX_focus_JAP_hakko_ichiu
		#mutually_exclusive = { focus = JAP_utilize_our_polish_friendship }
		x = 0
		y = 2
		relative_position_id = JAP_the_jeweled_spear_has_struck

		prerequisite = { focus = JAP_the_jeweled_spear_has_struck }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			surrender_progress < 0.05
			has_war_support > 0.7
			OR = {
				has_government = neutrality
				has_government = fascism
			}	
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER }

		completion_reward = {

			add_political_power = 75

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_hakko_ichiu_tt
			
			custom_effect_tooltip = generic_skip_one_line_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_embodying_empress_jinguu
		icon = GFX_focus_JAP_embodying_empress_jingu
		#mutually_exclusive = { focus = JAP_utilize_our_polish_friendship }
		x = -4
		y = 1
		relative_position_id = JAP_the_yamato_spirit

		prerequisite = { focus = JAP_the_yamato_spirit }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		allow_branch = {
			has_dlc = "No Compromise, No Surrender"
			has_country_flag = JAP_empress_nagako_became_queen_flag
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {						
					has_completed_focus = JAP_sea_purge_the_kodoha_faction
					has_completed_focus = JAP_okadas_military_purge_speech
				}
			}
		}

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

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			IF = {
				limit = {
					NOT = {
						has_cosmetic_tag = JAP_emperor_dominant
					}
				}
				hidden_effect = {
					set_cosmetic_tag = JAP_emperor_dominant
				}
			}
				
			add_country_leader_trait = JAP_embodying_empress_jingu
			
			hidden_effect = {
				#mark_focus_tree_layout_dirty = yes
			}

		}
	}

	focus = {
		id = JAP_to_reach_princess_kaguya
		icon = GFX_focus_ETH_an_empire_in_the_shade_of_the_sun
		#mutually_exclusive = { focus = JAP_utilize_our_polish_friendship }
		x = -1
		y = 1
		relative_position_id = JAP_embodying_empress_jinguu

		prerequisite = { focus = JAP_embodying_empress_jinguu }

		cost = 10

		ai_will_do = {
			factor = 1
		}

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

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH }

		completion_reward = {

			air_experience = 50
				
			add_breakthrough_progress = {
				specialization = specialization_air
				value = 1.5
			}

			add_tech_bonus = {
				name = JAP_to_reach_princess_kaguya
				bonus = 0.75
				uses = 2
				category = rocketry
			}	
			
		}
	}

	focus = {
		id = JAP_to_rival_zheng_yi_sao
		icon = GFX_focus_SMB_blue_water_fleet
		#mutually_exclusive = { focus = JAP_utilize_our_polish_friendship }
		x = 1
		y = 1
		relative_position_id = JAP_embodying_empress_jinguu

		prerequisite = { focus = JAP_embodying_empress_jinguu }

		cost = 10

		ai_will_do = {
			factor = 1
		}

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

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

			custom_effect_tooltip = generic_skip_one_line_tt

			swap_ruler_traits = { 
				remove = JAP_embodying_empress_jingu
				add = JAP_embodying_empress_jingu_and_zheng_yi_sao
			}	
			
		}
	}

	focus = {
		id = JAP_amaterasus_aramitama
		icon = GFX_focus_RAJ_the_sun_sets
		#mutually_exclusive = { focus = JAP_utilize_our_polish_friendship }
		x = -1
		y = 1
		relative_position_id = JAP_to_rival_zheng_yi_sao

		prerequisite = { focus = JAP_to_rival_zheng_yi_sao }
		prerequisite = { focus = JAP_to_reach_princess_kaguya }

		cost = 10

		ai_will_do = {
			factor = 1
		}

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

		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

			add_ideas = JAP_amaterasus_weapons_idea
			
		}
	}





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

	focus = {
		id = JAP_sea_purge_the_kodoha_faction
		icon = GFX_focus_JAP_purge_the_kodoha_faction
		mutually_exclusive = { 
			focus = JAP_the_unthinkable_option 
			focus = JAP_support_the_kodoha_faction 
			focus = JAP_strengthen_civilian_government 
			focus = JAP_revere_the_emperor_destroy_the_traitors 
			focus = JAP_okadas_military_purge_speech 
		}
		x = 70
		y = 0
		
		relative_position_id = JAP_okadas_military_purge_speech

		offset = {
			x = -58
			y = 0
			trigger = {
				AND = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
					has_completed_focus = JAP_sea_purge_the_kodoha_faction
					has_dlc = "No Compromise, No Surrender"
				}
			}
		}

		offset = {
			x = -26
			y = 0
			trigger = {
				AND = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
					has_completed_focus = JAP_sea_purge_the_kodoha_faction
					NOT = {
						has_dlc = "No Compromise, No Surrender"
					}
				}
			}
		}

		offset = {
			x = -33
			y = 0
			trigger = {
				NOT = {
					has_dlc = "No Compromise, No Surrender"
				}
			}
		}

		cost = 0

		ai_will_do = {
			factor = 4
		}

		allow_branch = {
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = JAP_the_unthinkable_option
					has_completed_focus = JAP_support_the_kodoha_faction
					has_completed_focus = JAP_strengthen_civilian_government
					has_completed_focus = JAP_revere_the_emperor_destroy_the_traitors
					has_completed_focus = JAP_okadas_military_purge_speech
				}
			}
		}

		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
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		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_east_asian_cooperative_society
		icon = GFX_goal_generic_positive_trade_relations
		#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 = 10

		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 }

		completion_reward = {

			add_political_power = 75

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_east_asian_cooperative_society_tt
				
			
		}
	}

	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_reprimand_hamada_kunimatsu
		icon = GFX_focus_JAP_reprimand_hamada_kunimatsu
		mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = -2
		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_POLITICAL_CHARACTER FOCUS_FILTER_IMPERIAL_INFLUENCE }

		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_kazushige_ugaki
				promote_leader = yes
				country_leader = {
					ideology = japan_militarism_ideology
					expire = "1952.1.1.1"
					traits = { JAP_diplomatic_prime_minister } 
				}
			}

			JAP_big_government_faction_gain = yes
				
			
		}
	}

	focus = {
		id = JAP_the_harakiri_debate
		icon = GFX_focus_JAP_the_harakiri_debate
		mutually_exclusive = { focus = JAP_reprimand_hamada_kunimatsu }
		x = 2
		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 = 1
		y = 1
		relative_position_id = JAP_konoes_first_cabinet

		prerequisite = { focus = JAP_konoes_first_cabinet }

		cost = 5

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

			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_reiterate_the_three_principles_of_hirota
		icon = GFX_goal_generic_forceful_treaty
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_reprimand_hamada_kunimatsu

		prerequisite = { focus = JAP_reprimand_hamada_kunimatsu }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			has_war = no
			CHI = {
				exists = yes
				NOT = {
					is_ally_with = ROOT
				}
			}
			PRC = {
				exists = yes
				has_government = communism
				NOT = {
					is_ally_with = ROOT
				}
			}
			SOV = {
				exists = yes
				has_government = communism
				NOT = {
					is_ally_with = ROOT
				}
			}
		}

		bypass = {
			OR = {
				has_war = yes
				CHI = {
					OR = {
						exists = no
						is_ally_with = ROOT
					}
				}
				PRC = {
					OR = {
						exists = no
						is_ally_with = ROOT
					}
				}
				SOV = {
					OR = {
						exists = no
						is_ally_with = ROOT
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {

			add_timed_idea = {
				idea = JAP_anti_communist_crackdowns_idea
				days = 360
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			CHI = {
				country_event = {
					id = SEA_japan_foreign_policy.32
					hours = 12
					random_hours = 24
				}	
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				CHI = {
					add_timed_idea = {
						idea = JAP_anti_communist_crackdowns_idea
						days = 360
					}	

					add_timed_idea = {
						idea = CHI_suppression_of_anti_japanese_sentiments_idea
						days = 360
					}
				}
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_small_government_faction_gain = yes
			
		}
	}

	focus = {
		id = JAP_formalize_japan_china_manchukuo_alliance
		icon = GFX_focus_GER_ally_chiang_kai_shek
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = -1
		y = 1
		relative_position_id = JAP_reiterate_the_three_principles_of_hirota

		prerequisite = { focus = JAP_reiterate_the_three_principles_of_hirota }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			is_in_faction = no
			has_government = neutrality
			CHI = {
				is_subject = no
				NOT = {
					has_government = communism
					has_war_with = ROOT
				}
			}
			has_global_flag = CHI_accepted_JAP_demands_to_suppress_communism_and_more_flag
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		will_lead_to_war_with = PRC

		search_filters = {  }

		completion_reward = {

			CHI = {
				country_event = {
					id = SEA_japan_foreign_policy.42
					hours = 6
					random_hours = 12
				}	
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				CHI = {
					IF = {
						limit = {
							is_faction_leader = yes
						}
						dismantle_faction = yes
					}
					
					add_timed_idea = {
						idea = JAP_japanese_chinese_friendship
						days = 730
					}

					every_other_country = {
						limit = {
							AND = {
								NOT = { 
									tag = JAP 
									is_ally_with = JAP
								}
							}
							capital_scope = {
								is_on_continent = asia
							}
						}
						add_opinion_modifier = { target = CHI modifier = sino_japanese_alliance_threat }
					}
					declare_war_on = {
						target = PRC
						type = annex_everything
					}	
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				ROOT = {
					add_timed_idea = {
						idea = JAP_japanese_chinese_friendship
						days = 730
					}
					
					set_rule = { can_create_factions = yes }
					create_faction_from_template = faction_template_JAP_sino_japanese_pact
					add_to_faction = CHI
					add_named_threat = { threat = 3 name = SEA_japan_foreign_policy.42.t }
				}
			}
			
		}
	}

	focus = {
		id = JAP_sea_national_spiritual_mobliization_movement
		icon = GFX_focus_JAP_national_spiritual_mobilization_movement
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 2
		y = 1
		relative_position_id = JAP_reiterate_the_three_principles_of_hirota

		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 }

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

		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_found_the_great_japan_press_association
		icon = GFX_focus_generic_printing_press
		#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 = 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_STABILITY }

		completion_reward = {

			add_timed_idea = {
				idea = JAP_press_association_idea
				days = 180
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = doumei_tsushin
				
			
		}
	}

	focus = {
		id = JAP_empower_the_thought_police
		icon = GFX_focus_generic_national_security
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_found_the_great_japan_press_association

		prerequisite = { focus = JAP_found_the_great_japan_press_association }

		cost = 10

		ai_will_do = {
			factor = 1
		}

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

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				has_idea = JAP_central_economic_council_idea
			}
		}

		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 = {
			JAP_zaibatsu_faction_is_at_most_meddling = yes
		}

		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 = {
			has_war = yes
		}

		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.05 tooltip = industrial_capacity_dockyard_tt }
			add_to_variable = { JAP_showa_statism_industrial_capacity_factory = 0.05 tooltip = industrial_capacity_factory_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 = 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_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
			GER = {
				has_government = ROOT
			}
			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 = {
			
			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 }

			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

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_koichi_kido
				
			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 = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_war_with_major = yes
			OR = {
				has_war_support > 0.79
				surrender_progress > 0
			}
			any_enemy_country = {
				ic_ratio = {
					tag = ROOT
					ratio > 0.3
				}
			}
		}

		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 = 10

		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 = 10

		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 = 10

		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 = 10

		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 = 10

		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

		offset = {
			x = -1
			y = 0
			trigger = {
				has_country_flag = JAP_tohokai_prime_minister_added
			}
		}

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				AND = {
					JAP_army_faction_is_at_least_influential = yes
					JAP_army_faction_is_greater_than_navy = yes
				}
				AND = {
					any_enemy_country = {
						is_major = yes
						custom_trigger_tooltip = {
							tooltip = JAP_tojos_premiership_tt
							NOT = {
								is_literally_china = yes
							}
						}
					}	
					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

			}	
			
		}
	}

	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

		offset = {
			x = -1
			y = 0
			trigger = {
				has_country_flag = JAP_tohokai_prime_minister_added
			}
		}

		ai_will_do = {
			factor = 1
		}

		available = {
			JAP_naval_faction_is_at_least_influential = yes
			JAP_naval_faction_is_greater_than_army = yes
			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

		offset = {
			x = -1
			y = 0
			trigger = {
				has_country_flag = JAP_tohokai_prime_minister_added
			}
		}

		ai_will_do = {
			factor = 1
		}

		available = {
			JAP_naval_faction_is_same_as_army = yes
		}

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

		offset = {
			x = -1
			y = 0
			trigger = {
				has_country_flag = JAP_tohokai_prime_minister_added
			}
		}

		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 = 5

		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 = 10

		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.1 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_factor = 0.02 tooltip = conscription_factor_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_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
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = -13
		y = 1
		relative_position_id = JAP_sea_purge_the_kodoha_faction

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

		prerequisite = { focus = JAP_sea_purge_the_kodoha_faction focus = JAP_revere_the_emperor_destroy_the_traitors }

		cost = 3

		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_invest_in_senbu
		icon = GFX_focus_generic_concessions
		#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 = 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 }

		completion_reward = {
				
			add_ideas = JAP_senbu_idea

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_unlock_senbu_occupation_law_tt
			show_ideas_tooltip = senbu_occupation_law_fake_idea

			custom_effect_tooltip = generic_skip_one_line_tt

			country_event = {
				id = SEA_japan_foreign_policy.41
			}	

		}
	}

	focus = {
		id = JAP_establish_mongol_military_government
		icon = GFX_focus_JAP_establish_the_mongol_military_government
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = -2
		y = 1
		relative_position_id = JAP_revisit_the_thirteen_demands

		prerequisite = { focus = JAP_revisit_the_thirteen_demands }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			MEN = {
				exists = yes
				is_subject = no
				NOT = {
					has_war_with = ROOT
				}
			}
		}

		bypass = {
			MEN = {
				is_ally_with = ROOT
			}
		}

		will_lead_to_war_with = MEN

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			MEN = {
				country_event = {
					id = SEA_japan_foreign_policy.1
					hours = 6
					random_hours = 12
				}	
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				add_political_power = 25

				custom_effect_tooltip = generic_skip_one_line_tt

				set_autonomy = {
					target = MEN
					autonomous_state = autonomy_wtt_imperial_protectorate
					end_wars = no
					end_civil_wars = no
				}

				custom_effect_tooltip = generic_skip_one_line_tt

				MEN = {
					drop_cosmetic_tag = yes
					set_cosmetic_tag = MEN_mongol_military_government_tag
				}
			}
			
		}
	}

	focus = {
		id = JAP_launch_the_suiyuan_campaign
		icon = GFX_focus_generic_attack_kuomintang
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 1
		y = 1
		relative_position_id = JAP_establish_mongol_military_government

		prerequisite = { focus = JAP_establish_mongol_military_government }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_subject = MEN
			SHX = {
				exists = yes
				is_in_faction = no
				is_subject = no
				has_war = no
				AND = {
					owns_state = 621
					owns_state = 746
				}
			}
		}

		bypass = {

		}

		will_lead_to_war_with = SHX

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			custom_effect_tooltip = JAP_launch_the_suiyuan_campaign_tt
			declare_war_on = {
				target = SHX
				type = take_state_focus
			}	
			MEN = {
				add_to_war = {
				    targeted_alliance = ROOT
				    enemy = SHX
				    hostility_reason = asked_to_join
				}
			}
			add_named_threat = { threat = 1 name = JAP_began_the_suiyuan_campaign }

			custom_effect_tooltip = generic_skip_one_line_tt

			SHX = {
				country_event = {
					id = SEA_japan_foreign_policy.31
					hours = 1
				}	
			}

			hidden_effect = {
				activate_mission = JAP_the_suiyuan_offensive_mission
				set_country_flag = JAP_suiyuan_campaign_has_started_flag
			}

		}
	}

	focus = {
		id = JAP_reorganize_the_united_autonomous_government
		icon = GFX_focus_JAP_reorganize_the_united_autonomous_government
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = -1
		y = 1
		relative_position_id = JAP_establish_mongol_military_government

		prerequisite = { focus = JAP_establish_mongol_military_government }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_subject = MEN
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			
			MEN = {
				country_event = {
					id = SEA_japan_foreign_policy.14
					hours = 2
				}	
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				MEN = {
					drop_cosmetic_tag = yes
					set_cosmetic_tag = MEN_autonomy

					add_state_claim = 616 
					add_state_claim = 1040

					add_political_power = 100
					add_war_support = 0.05
					add_manpower = 5000
				}
			}
			
		}
	}

	focus = {
		id = JAP_mengjiang_united_autonomous_government
		icon = GFX_focus_JAP_mengjiang_united_autonomous_government
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_reorganize_the_united_autonomous_government

		prerequisite = { focus = JAP_reorganize_the_united_autonomous_government }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_subject = MEN
			IF = {
				limit = {
					has_dlc = "No Compromise, No Surrender"
				}
				OR = {
					has_completed_focus = JAP_the_imperial_colors
					has_completed_focus = JAP_imperial_rule_assistance_association
				}
			}
			ELSE = {
				has_completed_focus = JAP_imperial_rule_assistance_association
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			
			MEN = {
				country_event = {
					id = SEA_japan_foreign_policy.21
					hours = 2
				}	
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				MEN = {
					IF = {
						limit = {
							JAP = {
								OR = {
									has_completed_focus = JAP_sea_purge_the_kodoha_faction
									has_government = fascism
								}
							}
							NOT = {
								has_government = fascism
							}
						}
						set_politics = {
							ruling_party = fascism
							elections_allowed = no
						}	
						add_popularity = {
							ideology = fascism
							popularity = 0.25
						}	
						custom_effect_tooltip = generic_skip_one_line_tt
					}

					drop_cosmetic_tag = yes
					set_cosmetic_tag = MEN_mengjiang_autonomy

					custom_effect_tooltip = generic_skip_one_line_tt

					add_state_core = 616
					add_state_core = 1040

					custom_effect_tooltip = generic_skip_one_line_tt

					add_ideas = MEN_true_mongol_state
				}
			}
			
		}
	}

	focus = {
		id = JAP_mongol_autonomous_state
		icon = GFX_focus_generic_attack_mongolia
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_mengjiang_united_autonomous_government

		prerequisite = { focus = JAP_mengjiang_united_autonomous_government }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_subject = MEN
			JAP_army_faction_is_at_least_influential = yes
		}

		bypass = {

		}

		will_lead_to_war_with = MON

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			MEN = {
				country_event = {
					id = SEA_japan_foreign_policy.27
					hours = 2
				}	
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {

				MEN = {
					drop_cosmetic_tag = yes
					set_cosmetic_tag = MEN_mongol_autonomy
					add_political_power = 150
					add_war_support = 0.1
				}

				MON = {
					every_core_state = {
						limit = {
							NOT = {
								is_core_of = MEN
								is_claimed_by = MEN
							}
						}
						add_claim_by = MEN
					}
				}

				custom_effect_tooltip = generic_skip_one_line_tt

				create_wargoal = {
					type = annex_everything
					target = MON
					expire = 0
				}
			}
			
		}
	}

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

		prerequisite = { focus = JAP_revisit_the_thirteen_demands }

		cost = 10

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

			IF = {
				limit = {
					NOT = {
						has_active_mission = JAP_kwantung_army_impatience
					}
				}

				IF = {
					limit = {
						CHI = { #if CHI owns one of these states, they get the event
							OR = {
								controls_state = 608
								controls_state = 597
								controls_state = 614
								controls_state = 743 
							}
						}
					}
					CHI = {
						country_event = {
							id = china.1
							days = 1
							random_days = 3
						}	
					}
				}
				ELSE_IF = {
					limit = {
						PRC = { #only fires the event for PRC if they control ALL of the states (to ensure that only one of them gets it, to avoid issues when one selects to turn over the states and the other doesn't)
							AND = {
								controls_state = 608
								controls_state = 614
							}
						}
					}
					PRC = {
						country_event = {
							id = china.1
							days = 1
							random_days = 3
						}	
					}
				}
				ELSE_IF = {
					limit = {
						SHX = { #only fires the event for SHX if they control ALL of the states (to ensure that only one of them gets it, to avoid issues when one selects to turn over the states and the other doesn't)
							AND = {
								controls_state = 608
								controls_state = 614
							}
						}
					}
					SHX = {
						country_event = {
							id = china.1
							days = 1
							random_days = 3
						}	
					}
				}
				ELSE_IF = {
					limit = {
						SND = { #only fires the event for SND if they control ALL of the states (to ensure that only one of them gets it, to avoid issues when one selects to turn over the states and the other doesn't)
							AND = {
								controls_state = 608
								controls_state = 597
								controls_state = 614
							}
						}
					}
					SND = {
						country_event = {
							id = china.1
							days = 1
							random_days = 3
						}	
					}
				}
				ELSE_IF = {
					limit = {
						XIC = { #only fires the event for XIC if they control ALL of the states (to ensure that only one of them gets it, to avoid issues when one selects to turn over the states and the other doesn't)
							AND = {
								controls_state = 608
								controls_state = 1039 
								controls_state = 614
							}
						}
					}
					XIC = {
						country_event = {
							id = china.1
							days = 1
							random_days = 3
						}	
					}
				}
				ELSE = {
					608 = {
						OWNER = {
							country_event = {
								id = china.1
								days = 1
								random_days = 3
							}
						}
					}
				}
				add_named_threat = { threat = 2 name = JAP_intervene_in_china } # From threat = 1 to 2 due to no escalation tension

			}
			ELSE_IF = {
				limit = {
					has_active_mission = JAP_kwantung_army_impatience
				}

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

			}

			add_ai_strategy = {
				type = antagonize
				id = CHI
				value = 100
			}
			add_ai_strategy = {
				type = antagonize
				id = PRC
				value = 100
			}
			add_ai_strategy = {
				type = antagonize
				id = SND
				value = 100
			}

			hidden_effect = {
				set_global_flag = JAP_triggered_war_with_china_manually_flag
				CHI = {
					add_days_mission_timeout = {
					    mission = CHI_kwantung_army_impatience_dummy
					    days = -365 
					}
				}
			}
			
		}
	}

	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 = 5

		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_intensify_anti_guerilla_operations
		icon = GFX_focus_generic_attack_chinese_soviets
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = -1
		y = 2
		relative_position_id = JAP_strategic_offensives

		prerequisite = { focus = JAP_strategic_offensives }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			any_controlled_state = {
				OR = {
					has_dynamic_modifier = {
						modifier = PRC_guerilla_cells_active_1
					}
					has_dynamic_modifier = {
						modifier = PRC_guerilla_cells_active_2
					}
					has_dynamic_modifier = {
						modifier = PRC_anti_japanese_base
					}
				}
			}	
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			custom_effect_tooltip = JAP_intensify_anti_guerilla_operations_tt
				
			
		}
	}

	focus = {
		id = JAP_reorganized_national_government
		icon = GFX_focus_JAP_reorganized_national_government
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_strategic_offensives

		prerequisite = { focus = JAP_strategic_offensives }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			OR = {
				has_government = neutrality
				has_government = fascism
			}
			613 = {
				state_is_fully_controlled_by_ROOT_or_subject = yes
			}
		}

		bypass = {
			MAN = {
				has_completed_focus = MAN_tsr_national_cooperation_government
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			# Establishes the Reorganized National Government
			613 = {
				add_core_of = RNG
				transfer_state_to = RNG
			}
			hidden_effect = {
				CHI = {
					every_core_state = {
						set_state_flag = is_state_rng_wants_flag 
					}
				}
			}

			custom_effect_tooltip =  generic_skip_one_line_tt

			set_autonomy = {
				target = RNG
				autonomous_state = autonomy_wtt_imperial_protectorate
				end_wars = no
				end_civil_wars = no
			}
			RNG = {
				country_event = {
					id = SEA_japan_foreign_policy.49
					hours = 2
				}
				hidden_effect = {
					inherit_technology = CHI 
				}
			}
			IF = {
				limit = {
					OR = {
						NOT = {
							has_dlc = "No Compromise, No Surrender"
						}
						CHI = {
							NOT = {
								has_completed_focus = CHI_prepare_for_a_change_in_leadership
							}
						}
					}
					CHI = {
						exists = yes
						has_war_with = ROOT
					}
				}
				CHI = {
					country_event = {
						id = SEA_japan_foreign_policy.61
						hours = 1
						random_hours = 2
					}	
				}
			}

			add_ai_strategy = {
			    type = befriend
			    id = RNG
			    value = 100
			}
			add_ai_strategy = {
			    type = protect
			    id = RNG
			    value = 50
			}

			custom_effect_tooltip =  generic_skip_one_line_tt

			custom_effect_tooltip = JAP_reorganized_national_government_tt

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

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

			CHI = {
				every_core_state = {
					limit = {
						is_owned_and_controlled_by = ROOT
						NOT = {
							state = 745 # Kwantung Leased Territory
							state = 609 # Easty Hebei
							state = 611 # South Chahar
							state = 612 # Chahar
							region = 155 # West Manchuria
							region = 242 # North Manchuria
							region = 243 # East Manchuria
							state = 728 # Gouangzhouwan
							state = 729 # Macau
							state = 326 # Hong Kong
							state = 743 # Qingdao
							state = 524 # Taiwan
							state = 1039 # Hebei-Chahar
							state = 591 # Hainan
						}
					}
					add_core_of = RNG
					transfer_state_to = RNG
				}
			}

			hidden_effect = {
				RNG = {
					add_equipment_to_stockpile = { 
						type = convoy_1
						amount = 50
						producer = JAP
					}	
				}
			}

		}
	}

	focus = {
		id = JAP_occupy_macau
		icon = GFX_focus_JAP_occupy_macau
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 2
		relative_position_id = JAP_reorganized_national_government

		prerequisite = { focus = JAP_reorganized_national_government }

		cost = 2

		will_lead_to_war_with = POR

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			592 = {
				CONTROLLER = { 
					OR = {
						original_tag = ROOT
						is_ally_with = ROOT
					}
				}
			}
			729 = { 
				CONTROLLER = { 
					owns_state = PREV
					NOT = {
						has_war_with = ROOT
						is_ally_with = ROOT
					}
				} 
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			729 = {
				add_claim_by = ROOT
			}

			custom_effect_tooltip = generic_skip_one_line_tt
				
			729 = {
				OWNER = {
					country_event = {
						id = SEA_japan_foreign_policy.15
						days = 1
						random_days = 2
					}
				}
			}

		}
	}

	focus = {
		id = JAP_develop_the_chinese_resources
		icon = GFX_goal_generic_construct_civilian
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 3
		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
					}	
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = CHI_reach_out_for_help_tt

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

	focus = {
		id = JAP_an_expedition_to_tibet
		icon = GFX_focus_prc_infiltration
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 3
		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 = {
			TIB = {
				exists = yes
				is_subject = no
				NOT = {
					is_in_faction_with = ROOT
				}
			}
			OR = {
				has_war_with = CHI
				CHI = {
					exists = no
				}
				has_subject = CHI
				has_subject = RNG
			}
			JAP_army_faction_is_at_least_influential = yes
		}

		bypass = {
			TIB = {
				OR = {
					exists = no
					is_ally_with = ROOT
					has_war_with = ROOT
				}
			}
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			TIB = {
				country_event = {
					id = SEA_japan_foreign_policy.22
					days = 2
					random_days = 4
				}	
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_an_expedition_to_tibet_tt
			
			add_ai_strategy = {
				type = protect
				id = TIB
				value = 100
			}
			
		}
	}

	focus = {
		id = JAP_ally_the_dragon_king
		icon = GFX_focus_JAP_ally_the_dragon_king
		mutually_exclusive = { focus = JAP_claim_the_raven_crown }
		x = -1
		y = 1
		relative_position_id = JAP_an_expedition_to_tibet

		prerequisite = { focus = JAP_an_expedition_to_tibet }

		cost = 5

		ai_will_do = {
			factor = 1
		}

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

		bypass = {
			BHU = {
				is_ally_with = ROOT
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			BHU = {
				country_event = {
					id = SEA_japan_foreign_policy.18
					hours = 6
					random_hours = 12
				}	
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				ROOT = {
					add_to_faction = BHU
				}
			}
			
		}
	}

	focus = {
		id = JAP_claim_the_raven_crown
		icon = GFX_focus_JAP_claim_the_raven_crown
		mutually_exclusive = { focus = JAP_ally_the_dragon_king }
		x = 1
		y = 1
		relative_position_id = JAP_an_expedition_to_tibet

		prerequisite = { focus = JAP_an_expedition_to_tibet }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			BHU = {
				exists = yes
				NOT = {
					has_war_with = ROOT
					is_ally_with = ROOT
				}
			}
		}

		bypass = {
			BHU = {
				has_war_with = ROOT
			}
		}

		will_lead_to_war_with = BHU

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			BHU = {
				every_core_state = {
					limit = {
						NOT = {
							is_core_of = ROOT
							is_claimed_by = ROOT
						}
					}
					add_claim_by = ROOT
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			create_wargoal = {
				type = annex_everything
				target = BHU
				expire = 0
			}	
			
		}
	}

	focus = {
		id = JAP_ally_the_gorkhas
		icon = GFX_focus_JAP_ally_the_gorkhas
		mutually_exclusive = { focus = JAP_claim_the_scripech }
		x = -2
		y = 1
		relative_position_id = JAP_claim_the_raven_crown

		prerequisite = { focus = JAP_claim_the_raven_crown focus = JAP_ally_the_dragon_king }

		cost = 5

		ai_will_do = {
			factor = 1
		}

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

		bypass = {
			NEP = {
				is_ally_with = ROOT
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			NEP = {
				country_event = {
					id = SEA_japan_foreign_policy.18
					hours = 6
					random_hours = 12
				}	
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				ROOT = {
					add_to_faction = NEP
				}
			}
			
		}
	}

	focus = {
		id = JAP_claim_the_scripech
		icon = GFX_focus_JAP_claim_the_scripech
		mutually_exclusive = { focus = JAP_ally_the_gorkhas }
		x = 0
		y = 1
		relative_position_id = JAP_claim_the_raven_crown

		prerequisite = { focus = JAP_claim_the_raven_crown focus = JAP_ally_the_dragon_king }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			NEP = {
				exists = yes
				NOT = {
					has_war_with = ROOT
					is_ally_with = ROOT
				}
			}
		}

		bypass = {
			NEP = {
				has_war_with = ROOT
			}
		}

		will_lead_to_war_with = NEP

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			NEP = {
				every_core_state = {
					limit = {
						NOT = {
							is_core_of = ROOT
							is_claimed_by = ROOT
						}
					}
					add_claim_by = ROOT
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			create_wargoal = {
				type = annex_everything
				target = NEP
				expire = 0
			}	
			
		}
	}

	focus = {
		id = JAP_ally_afghanistan
		icon = GFX_focus_JAP_ally_afghanistan
		mutually_exclusive = { focus = JAP_best_the_graveyard }
		x = -2
		y = 1
		relative_position_id = JAP_claim_the_scripech

		prerequisite = { focus = JAP_claim_the_scripech focus = JAP_ally_the_gorkhas }

		cost = 5

		ai_will_do = {
			factor = 1
		}

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

		bypass = {
			AFG = {
				is_ally_with = ROOT
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			AFG = {
				country_event = {
					id = SEA_japan_foreign_policy.18
					hours = 6
					random_hours = 12
				}	
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				ROOT = {
					add_to_faction = AFG
				}
			}
			
		}
	}

	focus = {
		id = JAP_best_the_graveyard
		icon = GFX_focus_AFG_contact_amanullah_loyalists_alt
		mutually_exclusive = { focus = JAP_ally_afghanistan }
		x = 0
		y = 1
		relative_position_id = JAP_claim_the_scripech

		prerequisite = { focus = JAP_claim_the_scripech focus = JAP_ally_the_gorkhas }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			AFG = {
				exists = yes
				NOT = {
					has_war_with = ROOT
					is_ally_with = ROOT
				}
			}
		}

		bypass = {
			AFG = {
				has_war_with = ROOT
			}
		}

		will_lead_to_war_with = AFG

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			AFG = {
				every_core_state = {
					limit = {
						NOT = {
							is_core_of = ROOT
							is_claimed_by = ROOT
						}
					}
					add_claim_by = ROOT
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			create_wargoal = {
				type = annex_everything
				target = AFG
				expire = 0
			}	
			
		}
	}




	focus = {
		id = JAP_nanshin_ron
		icon = GFX_focus_JAP_nanshin_ron
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = -21
		y = 1
		relative_position_id = JAP_sea_purge_the_kodoha_faction

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

		prerequisite = { focus = JAP_sea_purge_the_kodoha_faction focus = JAP_revere_the_emperor_destroy_the_traitors }

		cost = 5

		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
			}

			custom_effect_tooltip = JAP_unlocks_pearl_harbor_raid

			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 = 3
		y = 1
		relative_position_id = JAP_nanshin_ron

		dynamic = yes

		prerequisite = { focus = JAP_nanshin_ron }

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

			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 = 1
		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 = 2
					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 = 2
				    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 < 1
					}
					add_building_construction = {
						type = radar_station
						level = 1
						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_sea_exploit_southern_resource_area
		icon = GFX_focus_GER_south_east_asian_natural_wealth
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 5
		relative_position_id = JAP_nanshin_ron

		prerequisite = { focus = JAP_nanshin_ron }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_tech = excavation1
			OR = {
				333 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
				672 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
				334 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
				1023 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
				1024 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
				669 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			}
			336 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			671 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			1021 = { 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 = {

			336 = {
				add_resource = {
					type = aluminium
					amount = 12
				}
				IF = {
					limit = {
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			333 = {
				IF = {
					limit = { 
						OR = {
							is_fully_controlled_by = ROOT 
							any_country = {
								is_subject_of = ROOT
								has_full_control_of_state = PREV
							}
						}
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			672 = {
				IF = {
					limit = { 
						OR = {
							is_fully_controlled_by = ROOT 
							any_country = {
								is_subject_of = ROOT
								has_full_control_of_state = PREV
							}
						}
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			334 = {
				IF = {
					limit = { 
						OR = {
							is_fully_controlled_by = ROOT 
							any_country = {
								is_subject_of = ROOT
								has_full_control_of_state = PREV
							}
						}
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			671 = {
				add_resource = {
					type = aluminium
					amount = 6
				}
			}
			
			unlock_decision_category_tooltip = prospect_for_resources
				
			
		}
	}

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

		prerequisite = { focus = JAP_nanshin_ron }

		cost = 5

		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_army_manpower = { size > 799999 }
							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 = {

			is_subject = no

			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 = {
						create_wargoal = {
							type = puppet_wargoal_focus
							target = PREV
							expire = 0
						}	
					}
				}
			} 
			
		}
	}

	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 = 5

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

			SIA = {
				country_event = {
					id = SEA_japan_foreign_policy.4
					hours = 6
					random_hours = 12
				}	
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				ROOT = {
					add_to_faction = SIA
				}
			}
			
		}
	}

	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 = 5

		ai_will_do = {
			factor = 1
		}

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

			SIA = {
				every_core_state = {
					limit = {
						NOT = {
							is_core_of = ROOT
							is_claimed_by = ROOT
						}
					}
					add_claim_by = ROOT
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			create_wargoal = {
				type = annex_everything
				target = SIA
				expire = 0
			}	

		}
	}

	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_occupy_siam focus = JAP_sea_pressure_siam }

		cost = 10

		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 = 2

		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
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = -28
		y = 1
		relative_position_id = JAP_sea_purge_the_kodoha_faction

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

		prerequisite = { focus = JAP_sea_purge_the_kodoha_faction focus = JAP_revere_the_emperor_destroy_the_traitors }

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

			hidden_effect = {

				delete_unit_template_and_units = {
					division_template = "Asano Brigade"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Asano Brigade"
					division_names_group = SOV_CAV_01
					role = garrison
					template_counter = 110
					is_locked = no
					regiments = {
						cavalry = { x = 0 y = 0 }
						cavalry = { x = 0 y = 1 }
						cavalry = { x = 0 y = 2 }
						cavalry = { x = 1 y = 0 }
						cavalry = { x = 1 y = 1 }
					}
					support = {
						recon = { x = 0 y = 0 }
					}
				}

			}

			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					is_fully_controlled_by = ROOT
				}
				create_unit = {
				    division = "name = \"Asano Brigade\" division_template = \"Asano Brigade\" start_experience_factor = 0.3 start_equipment_factor = 0.9"
				    owner = ROOT
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			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 = 0.25
				uses = 1
				category = land_doctrine	
			}

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

	focus = {
		id = JAP_ensure_temporary_peace_with_china
		icon = GFX_focus_generic_mountain_fortification
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 2
		y = 1
		relative_position_id = JAP_hokushin_ron

		prerequisite = { focus = JAP_hokushin_ron }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			CHI = {
				exists = yes
				is_subject = no
				NOT = {
					has_war_with = ROOT
				}
			}
		}

		bypass = {
			OR = {
				has_war_with = CHI
				has_subject = CHI
				has_subject = RNG
				owns_state = 608 # Beijing
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			CHI = { 
				country_event = {
					id = wtt_japan.11 
					days = 1
					random_days = 2
				}
			} 

			IF = {
				limit = {
					has_active_mission = JAP_kwantung_army_impatience
				}

				custom_effect_tooltip = generic_skip_one_line_tt

				add_days_mission_timeout = {
				    mission = JAP_kwantung_army_impatience
				    days = 840 
				}
				hidden_effect = {
					add_days_mission_timeout = {
					    mission = CHI_kwantung_army_impatience_dummy
					    days = 840 
					}
				}

			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					609 = {
						is_fully_controlled_by = ROOT
						any_province_building_level = {
							province = {
								id = 6969
								id = 11822
								id = 12043
								id = 3900
								id = 1052
							}
							building = bunker
							level < 5
						}	
					}
				}
				609 = {
					add_building_construction = {
						type = bunker
						level = 3
						province = {
							id = 6969
							id = 11822
							id = 12043
							id = 3900
							id = 1052
						}
						instant_build = yes
					}
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = 3900
						instant_build = yes
					}
				}
			}

			IF = {
				limit = {
					MAN = {
						is_subject_of = ROOT
					}
				}
				MAN = {
					610 = {
						IF = {
							limit = { 
								is_controlled_by = PREV 
								any_province_building_level = {
									province = {
										id = 3955
									}
									building = bunker
									level < 5
								}
							}
							add_building_construction = {
								type = bunker
								level = 3
								province = 3955
								instant_build = yes
							}
						}
					}
				}
			}
			ELSE_IF = {
				limit = {
					610 = {
						is_fully_controlled_by = ROOT
						any_province_building_level = {
							province = {
								id = 3955
							}
							building = bunker
							level < 5
						}
					}
				}
				610 = {
					add_building_construction = {
						type = bunker
						level = 3
						province = 3955
						instant_build = yes
					}
				}
			}

			IF = {
				limit = {
					MEN = {
						is_subject_of = ROOT
					}
				}
				MEN = {
					611 = {
						IF = {
							limit = { 
								is_controlled_by = PREV 
								any_province_building_level = {
									province = {
										id = 1137
										id = 6904
										id = 9776
									}
									building = bunker
									level < 5
								}
							}
							add_building_construction = {
								type = bunker
								level = 3
								province = {
									id = 1137
									id = 6904
									id = 9776
								}
								instant_build = yes
							}
						}
					}
				}
			}
			ELSE_IF = {
				limit = {
					611 = {
						is_fully_controlled_by = ROOT
						any_province_building_level = {
							province = {
								id = 1137
								id = 6904
								id = 9776
							}
							building = bunker
							level < 5
						}
					}
				}
				611 = {
					add_building_construction = {
						type = bunker
						level = 3
						province = {
							id = 1137
							id = 6904
							id = 9776
						}
						instant_build = yes
					}
				}
			}

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

	focus = {
		id = JAP_a_mongol_volunteer_army
		icon = GFX_focus_secret_rearmament
		#mutually_exclusive = { focus = JAP_the_harakiri_debate }
		x = 0
		y = 1
		relative_position_id = JAP_ensure_temporary_peace_with_china

		prerequisite = { focus = JAP_ensure_temporary_peace_with_china }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			761 = {
				state_is_fully_controlled_by_ROOT_subject_or_faction_member = yes
			}
			MON = {
				NOT = {
					is_ally_with = ROOT
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {

			custom_effect_tooltip = JAP_a_mongol_volunteer_army_1_tt

			custom_effect_tooltip = generic_skip_one_line_tt
			
			add_ideas = JAP_mongolian_independence_army_reestablished_idea
			custom_effect_tooltip = JAP_a_mongol_volunteer_army_tt
			hidden_effect = {
				IF = {
					limit = {
						MAN = {
							is_ally_with = ROOT
						}
					}
					MAN = {
						add_ideas = JAP_mongolian_independence_army_reestablished_idea
					}
				}
				IF = {
					limit = {
						MEN = {
							is_ally_with = ROOT
						}
					}
					MEN = {
						add_ideas = JAP_mongolian_independence_army_reestablished_idea
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
				
			IF = {
				limit = {
					MAN = {
						exists = no
						761 = { # Hulunbuir
							is_owned_and_controlled_by = ROOT
						}
					}
				}
				MAN = {
					MAN_jonjurjab = { set_nationality = ROOT }
					MAN_urzhin_garmaev = { set_nationality = ROOT }
				}
			}
			IF = {
				limit = {
					MEN = {
						exists = no
						611 = { # South Chahar
							is_owned_and_controlled_by = ROOT
						}
					}
				}
				MEN = {
					MEN_jodbajab = { set_nationality = ROOT }
					MEN_li_shouxin = { set_nationality = ROOT }
				}
			}

			hidden_effect = {

				delete_unit_template_and_units = {
					division_template = "Mongoru Dokuritsu-gun"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
					name = "Mongoru Dokuritsu-gun"
					division_names_group = MON_INF_01
					role = garrison
					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 }
						infantry = { x = 2 y = 1 }
					}
					support = {
						recon = { x = 0 y = 0 }
					}
				}

			}

			#custom_effect_tooltip = generic_skip_one_line_tt

			761 = {
				create_unit = {
				    division = "name = \"Dai-Ichi Mongoru Dokuritsu-gun\" division_template = \"Mongoru Dokuritsu-gun\" start_experience_factor = 0.3 start_equipment_factor = 0.9"
				    owner = ROOT
				    officer = {
				    	name = MAN_kanjurjab
				    }
				}
				create_unit = {
				    division = "name = \"Dai-Ni Mongoru Dokuritsu-gun\" division_template = \"Mongoru Dokuritsu-gun\" start_experience_factor = 0.2 start_equipment_factor = 0.7"
				    owner = ROOT
				    officer = {
				    	name = MON_navaanneren
				    }
				}
			}
			
		}
	}

	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 = 5

		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 = 10

		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_a_green_persimmon
		icon = GFX_focus_JAP_a_green_persimmon
		mutually_exclusive = { focus = JAP_the_persimmon_has_ripened }
		x = -1
		y = 1
		relative_position_id = JAP_kantokuen

		prerequisite = { focus = JAP_kantokuen }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			JAP_army_faction_is_at_least_influential = yes
			IF = {
				limit = {
					has_dlc = "No Compromise, No Surrender"
				}
				OR = {
					has_completed_focus = JAP_imperial_rule_assistance_association
					has_completed_focus = JAP_the_imperial_colors
				}
			}
			ELSE = {
				OR = {
					has_completed_focus = JAP_imperial_rule_assistance_association
					has_completed_focus = JAP_support_the_kodoha_faction
				}
			}
			is_subject = no
			SOV = {
				exists = yes
			}
			NOT = {
				has_war_with = SOV
			}
			OR = {
				NOT = {
					has_completed_focus = JAP_soviet_japanese_neutrality_pact
				}
				AND = {
					has_country_flag = {
					 	flag = JAP_soviet_japanese_neutrality_pact_flag
					 	days > 365
					} 
					custom_trigger_tooltip = {
						tooltip = JAG_neutality_pact_focus_days_tt
						has_country_flag = {
							flag = JAP_soviet_japanese_neutrality_pact_flag
							days > 365
						}
					}
				}
			}
		}

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

			IF = {
				limit = {
					NOT = {
						has_completed_focus = JAP_subdue_the_kwantung_army
					}
				}
				hidden_effect = {
					SOV = {
						set_country_flag = JAP_first_strike_principle_blocked
					}
				}

				custom_effect_tooltip = JAP_first_strike_blocked_due_to_kwantung_army_tt

				custom_effect_tooltip = generic_skip_one_line_tt
			}

			declare_war_on = {
				target = SOV
				type = annex_everything
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			every_state = {
				limit = {
					OR = {
						state = 408
						state = 409
						state = 655
						state = 657
						state = 560
						state = 561
						state = 563
						state = 564
						state = 566
						state = 565
						state = 574
						state = 876
						state = 877
						state = 644
						state = 562
						state = 874
						state = 637
						state = 822
						state = 875
					}
					is_owned_by = SOV
					NOT = {
						is_claimed_by = ROOT
						is_core_of = ROOT
					}
				}
				add_claim_by = ROOT
			}

			IF = {
				limit = {
					has_completed_focus = JAP_utilize_our_polish_friendship
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				POL = {
					country_event = {
						id = SEA_japan_foreign_policy.86
						hours = 6
					}	
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_peace_out_soviets_dec_tt
			
		}
	}

	focus = {
		id = JAP_the_persimmon_has_ripened
		icon = GFX_focus_JAP_the_persimmon_has_ripened
		mutually_exclusive = { focus = JAP_a_green_persimmon }
		x = 1
		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 = {
			JAP_army_faction_is_at_least_influential = yes
			IF = {
				limit = {
					has_dlc = "No Compromise, No Surrender"
				}
				OR = {
					has_completed_focus = JAP_imperial_rule_assistance_association
					has_completed_focus = JAP_the_imperial_colors
				}
			}
			ELSE = {
				OR = {
					has_completed_focus = JAP_imperial_rule_assistance_association
					has_completed_focus = JAP_support_the_kodoha_faction
				}
			}
			is_subject = no
			SOV = {
				exists = yes
			}
			NOT = {
				has_war_with = SOV
			}
			OR = {
				NOT = {
					has_completed_focus = JAP_soviet_japanese_neutrality_pact
				}
				AND = {
					has_country_flag = {
					 	flag = JAP_soviet_japanese_neutrality_pact_flag
					 	days > 365
					} 
					custom_trigger_tooltip = {
						tooltip = JAG_neutality_pact_focus_days_tt
						has_country_flag = {
							flag = JAP_soviet_japanese_neutrality_pact_flag
							days > 365
						}
					}
				}
			}
			SOV = {
				has_war = yes
				surrender_progress > 0.5
			}
		}

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

			custom_effect_tooltip = generic_skip_one_line_tt

			every_state = {
				limit = {
					OR = {
						state = 408
						state = 409
						state = 655
						state = 657
						state = 560
						state = 561
						state = 563
						state = 564
						state = 566
						state = 565
						state = 574
						state = 876
						state = 877
						state = 644
						state = 562
						state = 874
						state = 637
						state = 822
						state = 875
					}
					is_owned_by = SOV
					NOT = {
						is_claimed_by = ROOT
						is_core_of = ROOT
					}
				}
				add_claim_by = ROOT
			}

			IF = {
				limit = {
					has_completed_focus = JAP_utilize_our_polish_friendship
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				POL = {
					country_event = {
						id = SEA_japan_foreign_policy.86
						hours = 6
					}	
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_peace_out_soviets_dec_tt
			
		}
	}

	focus = {
		id = JAP_sea_establish_the_northern_resource_area
		icon = GFX_focus_generic_mining_industry
		#mutually_exclusive = { focus = JAP_a_green_persimmon }
		x = 1
		y = 1
		relative_position_id = JAP_a_green_persimmon

		prerequisite = { focus = JAP_a_green_persimmon focus = JAP_the_persimmon_has_ripened }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_tech = excavation1
			564 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			OR = {
				657 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
				408 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
				560 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
				409 = { 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 = {
				
			657 = {
				IF = {
					limit = { 
						state_is_fully_controlled_by_ROOT_or_subject  = yes 
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			408 = {
				IF = {
					limit = { 
						state_is_fully_controlled_by_ROOT_or_subject  = yes
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			560 = {
				IF = {
					limit = { 
						state_is_fully_controlled_by_ROOT_or_subject  = yes
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			409 = {
				IF = {
					limit = { 
						state_is_fully_controlled_by_ROOT_or_subject  = yes
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			564 = {
				add_resource = {
					type = aluminium
					amount = 8
				}
				IF = {
					limit = {
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}

			unlock_decision_category_tooltip = prospect_for_resources

		}
	}

	focus = {
		id = JAP_seek_yakuza_support
		icon = GFX_focus_JAP_seek_yakuza_support
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = -7
		y = 1
		relative_position_id = JAP_okadas_military_purge_speech

		prerequisite = { focus = JAP_okadas_military_purge_speech }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				has_completed_focus = JAP_revoke_the_peace_preservation_law
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			add_political_power = 75

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_seek_yakuza_support_2_tt
			hidden_effect = {
				every_army_leader = {
					limit = {
						has_trait = JAP_IJA_loyalist
						NOT = {
							is_character = JAP_tadaichi_wakamatsu
						}
						NOT = { has_character_flag = JAP_do_not_align_me_flag }
					}
					random_select_amount = 1
					remove_trait = {
						trait = JAP_IJA_loyalist
					}	
					add_trait = {
						trait = JAP_government_supporter
					}	
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_seek_yakuza_support_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			add_popularity = {
				ideology = fascism
				popularity = 0.1
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

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

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_noboru_yamaguchi
			
		}
	}

	focus = {
		id = JAP_expand_the_metropolitan_police
		icon = GFX_focus_JAP_the_national_police_reserve
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 7
		y = 1
		relative_position_id = JAP_okadas_military_purge_speech

		prerequisite = { focus = JAP_okadas_military_purge_speech }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				has_completed_focus = JAP_revoke_the_peace_preservation_law
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_MANPOWER }

		completion_reward = {

			custom_effect_tooltip = JAP_expand_the_metropolitan_police_tt
			hidden_effect = {
				every_army_leader = {
					limit = {
						has_trait = JAP_IJA_loyalist
						NOT = {
							is_character = JAP_tadaichi_wakamatsu
						}
						NOT = { has_character_flag = JAP_do_not_align_me_flag }
					}
					random_select_amount = 2
					remove_trait = {
						trait = JAP_IJA_loyalist
					}	
					add_trait = {
						trait = JAP_government_supporter
					}	
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_expand_the_metropolitan_police_2_tt

			hidden_effect = {
				set_country_flag = JAP_secured_more_police_forces_flag
			}
			
		}
	}

	focus = {
		id = JAP_secretly_rebuild_the_party
		icon = GFX_focus_JAP_secretly_rebuild_the_party
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = -4
		y = 1
		relative_position_id = JAP_okadas_military_purge_speech

		prerequisite = { focus = JAP_okadas_military_purge_speech }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_country_leader = {
				ruling_only = yes
				character = JAP_abe_isoo
			}	
			NOT = {
				has_completed_focus = JAP_revoke_the_peace_preservation_law
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			add_political_power = 75

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_communist_party_modifier = yes

			add_to_variable = { JAP_communist_party_communism_drift = 0.05 tooltip = communism_drift_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_secretly_rebuild_the_party_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = {
				decision = JAP_publically_distance_from_sov_decision
				show_effect_tooltip = yes 
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_kozo_sasaki
				
			
		}
	}

	focus = {
		id = JAP_build_an_anti_army_coalition
		icon = GFX_focus_generic_conspiracy
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 4
		y = 1
		relative_position_id = JAP_okadas_military_purge_speech

		prerequisite = { focus = JAP_okadas_military_purge_speech }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				has_completed_focus = JAP_revoke_the_peace_preservation_law
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
				
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}	

			add_political_power = 75

			add_war_support = -0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = {
			    decision = JAP_hold_speech_in_the_imperial_diet_decision
			    show_effect_tooltip = yes
			    show_modifiers = yes
			}
			
		}
	}

	focus = {
		id = JAP_ensure_cross_party_support
		icon = GFX_goal_generic_national_unity
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = -1
		y = 1
		relative_position_id = JAP_build_an_anti_army_coalition

		prerequisite = { focus = JAP_build_an_anti_army_coalition }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				has_completed_focus = JAP_revoke_the_peace_preservation_law
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

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

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_civilian_cabinet = yes

			add_to_variable = { JAP_civilian_cabinet_political_advisor_cost_factor = -0.1 tooltip = political_advisor_cost_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt
			
			JAP_small_government_faction_gain = yes
			
		}
	}

	focus = {
		id = JAP_gather_royal_pacifists_support
		icon = GFX_focus_JAP_gather_royal_pacifists_support
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 1
		y = 1
		relative_position_id = JAP_build_an_anti_army_coalition

		prerequisite = { focus = JAP_build_an_anti_army_coalition }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				has_country_leader = {
					ruling_only = yes
					character = JAP_abe_isoo
				}	
			}
			NOT = {
				has_completed_focus = JAP_revoke_the_peace_preservation_law
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			custom_effect_tooltip = JAP_gather_royal_pacifists_support_tt
				
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					JAP_tadaichi_wakamatsu = {
						NOT = {
							has_trait = JAP_government_supporter
						}
					}
				}
				JAP_tadaichi_wakamatsu = {
					remove_trait = {
						trait = JAP_IJA_loyalist
					}
					add_trait = {
						trait = JAP_government_supporter
					}	
				}

				custom_effect_tooltip = generic_skip_one_line_tt
			}
			
			JAP_small_government_faction_gain = yes

			hidden_effect = {
				mark_focus_tree_layout_dirty = yes
				set_country_flag = JAP_will_replace_hirohito_with_nobuhito_flag
			}
			
		}
	}

	focus = {
		id = JAP_limit_military_power
		icon = GFX_focus_JAP_push_to_limit_military_power
		mutually_exclusive = { focus = JAP_sway_the_navy_moderates }
		x = -2
		y = 1
		relative_position_id = JAP_gather_royal_pacifists_support

		prerequisite = { focus = JAP_gather_royal_pacifists_support focus = JAP_ensure_cross_party_support }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				has_completed_focus = JAP_revoke_the_peace_preservation_law
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			add_political_power = 50

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_civilian_cabinet = yes

			add_to_variable = { JAP_civilian_cabinet_high_command_cost_factor = 0.1 tooltip = high_command_cost_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_small_army_faction_loss = yes

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_limit_military_power_tt
			show_ideas_tooltip = JAP_low_popular_support_idea

			hidden_effect = {
				set_country_flag = JAP_limited_the_militarys_power_flag
			}
			
		}
	}

	focus = {
		id = JAP_sway_the_navy_moderates
		icon = GFX_focus_generic_sway_navy
		mutually_exclusive = { focus = JAP_limit_military_power }
		x = 0
		y = 1
		relative_position_id = JAP_gather_royal_pacifists_support

		prerequisite = { focus = JAP_gather_royal_pacifists_support focus = JAP_ensure_cross_party_support }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				has_completed_focus = JAP_revoke_the_peace_preservation_law
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			custom_effect_tooltip = JAP_sway_the_navy_moderates_2_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			hidden_effect = {
				every_navy_leader = {
					limit = {
						has_trait = JAP_IJA_loyalist
					}
					random_select_amount = 4
					remove_trait = {
						trait = JAP_IJA_loyalist
					}	
					add_trait = {
						trait = JAP_government_supporter
					}	
				}
			}

			custom_effect_tooltip = JAP_sway_the_navy_moderates_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_civilian_cabinet = yes

			add_to_variable = { JAP_civilian_cabinet_army_chief_cost_factor = 0.1 tooltip = army_chief_cost_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_small_naval_gain_and_small_army_loss = yes
				
			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_mitsumasa_yonai

			hidden_effect = {
				JAP_mitsumasa_yonai = {
					add_trait = {
						trait = JAP_government_supporter
					}	
				}
			}
			
		}
	}

	focus = {
		id = JAP_divert_military_funds
		icon = GFX_focus_AUS_raid_military_storages
		mutually_exclusive = { focus = JAP_return_of_the_manchukuo_exiles }
		x = 1
		y = 2
		relative_position_id = JAP_limit_military_power

		prerequisite = { focus = JAP_limit_military_power focus = JAP_sway_the_navy_moderates }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			democratic > 0.39
			NOT = {
				has_completed_focus = JAP_revoke_the_peace_preservation_law
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {

			add_political_power = 100

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_civilian_cabinet = yes

			add_to_variable = { JAP_civilian_cabinet_mobilization_laws_cost_factor = 0.1 tooltip = mobilization_laws_cost_factor_tt }
			add_to_variable = { JAP_civilian_cabinet_consumer_goods_factor = -0.1 tooltip = consumer_goods_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt
				
			add_ideas = civilian_economy

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_limit_military_power_tt
			show_ideas_tooltip = JAP_low_on_funds_idea

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_divert_military_funds_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_big_army_faction_loss = yes

			hidden_effect = {
				set_country_flag = JAP_diverted_military_funds_flag 
			}
			
		}
	}

	focus = {
		id = JAP_bribe_generals
		icon = GFX_focus_BRA_reach_out_to_military_dem
		#mutually_exclusive = { focus = }
		x = 6
		y = 2
		relative_position_id = JAP_sway_the_navy_moderates

		prerequisite = { focus = JAP_sway_the_navy_moderates focus = JAP_limit_military_power }

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

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				has_completed_focus = JAP_revoke_the_peace_preservation_law
			}
		}

		bypass = {
			has_completed_focus = JAP_revoke_the_peace_preservation_law
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {	
				
			custom_effect_tooltip = JAP_bribe_generals_tt
			hidden_effect = {
				every_army_leader = {
					limit = {
						has_trait = JAP_IJA_loyalist
						NOT = {
							is_character = JAP_tadaichi_wakamatsu
						}
						NOT = { has_character_flag = JAP_do_not_align_me_flag }
					}
					random_select_amount = 4
					remove_trait = {
						trait = JAP_IJA_loyalist
					}	
					add_trait = {
						trait = JAP_government_supporter
					}	
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = {
			    decision = JAP_sway_general_loyalty_decision
			    show_effect_tooltip = yes
			    show_modifiers = no
			}
			unlock_decision_tooltip = {
			    decision = JAP_sway_admiral_loyalty_decision
			    show_effect_tooltip = yes
			    show_modifiers = no
			}
			
		}
	}

	focus = {
		id = JAP_appoint_new_generals
		icon = GFX_focus_generic_military_mission
		#mutually_exclusive = { focus = }
		x = -1
		y = 1
		relative_position_id = JAP_bribe_generals

		allow_branch = {
			has_dlc = "No Compromise, No Surrender"
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = JAP_a_red_sun_rises_for_a_new_era
					has_completed_focus = JAP_sea_purge_the_kodoha_faction
					has_completed_focus = JAP_revere_the_emperor_destroy_the_traitors
				}
			}
		}

		prerequisite = { focus = JAP_bribe_generals }
		prerequisite = { focus = JAP_divert_military_funds }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_completed_focus = JAP_revoke_the_peace_preservation_law
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			JAP_add_or_modify_civilian_cabinet = yes

			add_to_variable = { JAP_civilian_cabinet_military_leader_cost_factor = -0.25 tooltip = military_leader_cost_factor_tt }
			add_to_variable = { JAP_civilian_cabinet_unit_leader_as_advisor_cp_cost_factor = -0.25 tooltip = unit_leader_as_advisor_cp_cost_factor_tt }
			add_to_variable = { JAP_civilian_cabinet_army_leader_start_defense_level = 1 tooltip = army_leader_start_defense_level_tt }
				
		}
	}

	focus = {
		id = JAP_implement_army_reforms
		icon = GFX_focus_JAP_implement_army_reforms
		#mutually_exclusive = { focus = }
		x = 1
		y = 1
		relative_position_id = JAP_bribe_generals

		allow_branch = {
			has_dlc = "No Compromise, No Surrender"
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = JAP_a_red_sun_rises_for_a_new_era
					has_completed_focus = JAP_sea_purge_the_kodoha_faction
					has_completed_focus = JAP_revere_the_emperor_destroy_the_traitors
				}
			}
		}

		prerequisite = { focus = JAP_bribe_generals }
		prerequisite = { focus = JAP_divert_military_funds }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_completed_focus = JAP_revoke_the_peace_preservation_law
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			custom_effect_tooltip = JAP_implement_army_reforms_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_imperial_army = yes
			add_to_variable = { JAP_army_army_defence_factor = 0.15 tooltip = army_defence_factor_tt }
			add_to_variable = { JAP_army_army_org_factor = 0.05 tooltip = army_org_factor_tt }
				
			
		}
	}

	focus = {
		id = JAP_a_new_take_on_state_shintoism
		icon = GFX_focus_jap_spiritual_mobilization
		#mutually_exclusive = { focus = }
		x = -1
		y = 1
		relative_position_id = JAP_implement_army_reforms

		prerequisite = { focus = JAP_implement_army_reforms }
		prerequisite = { focus = JAP_appoint_new_generals }

		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_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_crush_the_spirit_of_gekokujo
		icon = GFX_focus_JAP_crush_the_spirit_of_gekokujo
		#mutually_exclusive = { focus = }
		x = 0
		y = 1
		relative_position_id = JAP_a_new_take_on_state_shintoism

		prerequisite = { focus = JAP_a_new_take_on_state_shintoism }

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

		completion_reward = {
				
			army_experience = 50

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_imperial_army = yes
			add_to_variable = { JAP_army_planning_speed = 0.1 tooltip = planning_speed_factor_tt }
			add_to_variable = { JAP_army_max_planning_factor = 0.1 tooltip = max_planning_factor_tt }
			
		}
	}

	focus = {
		id = JAP_anti_militarist_speeches_in_the_diet
		icon = GFX_focus_JAP_anti_militarist_speeches_in_the_diet
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 0
		y = 1
		relative_position_id = JAP_secretly_rebuild_the_party

		prerequisite = { focus = JAP_secretly_rebuild_the_party }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_country_leader = {
				ruling_only = yes
				character = JAP_abe_isoo
			}	
			NOT = {
				has_completed_focus = JAP_revoke_the_peace_preservation_law
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {

			add_political_power = 50
				
			#custom_effect_tooltip = JAP_anti_militarist_speeches_in_the_diet_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = {
			    decision = JAP_spread_socialist_pamphlets_decision
			    show_effect_tooltip = yes
			    show_modifiers = yes
			}
			
		}
	}

	focus = {
		id = JAP_sway_disillusioned_young_officers
		icon = GFX_focus_PER_stage_mass_protests
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 0
		y = 2
		relative_position_id = JAP_anti_militarist_speeches_in_the_diet

		prerequisite = { focus = JAP_anti_militarist_speeches_in_the_diet }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_country_leader = {
				ruling_only = yes
				character = JAP_abe_isoo
			}	
			NOT = {
				has_completed_focus = JAP_revoke_the_peace_preservation_law
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {

			add_popularity = {
				ideology = communism
				popularity = 0.05
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_sway_disillusioned_young_officers_2_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_sway_disillusioned_young_officers_tt
				
			hidden_effect = {
				set_country_flag = JAP_swayed_young_officers_flag
				every_army_leader = {
					limit = {
						has_trait = trait_JAP_kodoha_sympathizer
						NOT = {
							is_character = JAP_sadao_araki
							is_character = JAP_jinzaburo_masaki
							is_character = JAP_shigeru_honjo
						}
					}
					add_trait = {
						trait = JAP_communist_sympathizer
					}	
				}
			}
			
		}
	}

	focus = {
		id = JAP_organize_the_student_movements
		icon = GFX_focus_JAP_organize_the_student_movements
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 2
		y = 1
		relative_position_id = JAP_anti_militarist_speeches_in_the_diet

		prerequisite = { focus = JAP_anti_militarist_speeches_in_the_diet }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_country_leader = {
				ruling_only = yes
				character = JAP_abe_isoo
			}
			NOT = {
				has_completed_focus = JAP_revoke_the_peace_preservation_law
			}	
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH }

		completion_reward = {

			add_political_power = 50

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_organize_the_student_movements_tt
			show_ideas_tooltip = JAP_widespread_protests_and_sabotage_idea

			custom_effect_tooltip = generic_skip_one_line_tt

			unlock_decision_tooltip = {
			    decision = JAP_spread_socialist_propaganda_in_campuses_decision
			    show_effect_tooltip = yes
			    show_modifiers = no
			}

			hidden_effect = {
				set_country_flag = JAP_organized_student_protests_flag
			}
			
		}
	}

	focus = {
		id = JAP_raise_support_within_the_proletarian_class
		icon = GFX_focus_YUG_pan_slavic_congress
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 0
		y = 1
		relative_position_id = JAP_organize_the_student_movements

		prerequisite = { focus = JAP_organize_the_student_movements }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_country_leader = {
				ruling_only = yes
				character = JAP_abe_isoo
			}
			NOT = {
				has_completed_focus = JAP_revoke_the_peace_preservation_law
			}	
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }

		completion_reward = {

			custom_effect_tooltip = JAP_raise_support_within_the_proletarian_class_tt
			IF = {
				limit = {
					529 = {
						NOT = {
							has_dynamic_modifier = {
								modifier = JAP_state_infiltrated_by_the_jcp
							}	
						}
					}
				}
				529 = {
					IF = {
						limit = {
							has_dynamic_modifier = {
								modifier = JAP_state_under_army_control
							}
						}
						remove_dynamic_modifier = {
							modifier = JAP_state_under_army_control
						}
					}
					IF = {
						limit = {
							NOT = {
								has_dynamic_modifier = {
									modifier = JAP_state_under_rebel_control
								}
							}
						}
						add_dynamic_modifier = {
							modifier = JAP_state_under_rebel_control
						}
					}
					add_dynamic_modifier = {
						modifier = JAP_state_infiltrated_by_the_jcp
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_raise_support_within_the_proletarian_class_2_tt
			show_ideas_tooltip = JAP_strong_unions_idea

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_komakichi_matsuoka
				
			
		}
	}

	focus = {
		id = JAP_organize_underground_resistance
		icon = GFX_focus_prc_infiltration
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = -2
		y = 1
		relative_position_id = JAP_anti_militarist_speeches_in_the_diet

		prerequisite = { focus = JAP_anti_militarist_speeches_in_the_diet }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_country_leader = {
				ruling_only = yes
				character = JAP_abe_isoo
			}	
			NOT = {
				has_completed_focus = JAP_revoke_the_peace_preservation_law
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			custom_effect_tooltip = JAP_organize_underground_resistance_tt

			custom_effect_tooltip = generic_skip_one_line_tt
				
			country_event = {
				id = SEA_japan_popup_events.28
			}	
			
		}
	}

	focus = {
		id = JAP_mountain_village_operation_units
		icon = GFX_focus_JAP_mountain_village_operation_units
		#mutually_exclusive = { focus = JAP_divert_military_funds }
		x = 0
		y = 1
		relative_position_id = JAP_organize_underground_resistance

		prerequisite = { focus = JAP_organize_underground_resistance }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_country_leader = {
				ruling_only = yes
				character = JAP_abe_isoo
			}	
			NOT = {
				has_completed_focus = JAP_revoke_the_peace_preservation_law
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER }

		completion_reward = {

			custom_effect_tooltip = JAP_mountain_village_operation_units_tt

			custom_effect_tooltip = generic_skip_one_line_tt
				
			JAP_add_or_modify_communist_party_modifier = yes

			add_to_variable = { JAP_communist_party_conscription_factor = 0.05 tooltip = conscription_factor_tt }
			add_to_variable = { JAP_communist_party_communism_drift = 0.02 tooltip = communism_drift_tt }
			
		}
	}

	focus = {
		id = JAP_return_of_the_manchukuo_exiles
		icon = GFX_focus_JAP_return_of_the_machukuo_exiles
		mutually_exclusive = { focus = JAP_divert_military_funds }
		x = 2
		y = 1
		relative_position_id = JAP_mountain_village_operation_units

		prerequisite = { focus = JAP_mountain_village_operation_units }
		prerequisite = { focus = JAP_raise_support_within_the_proletarian_class }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			communism > 0.39
			has_country_leader = {
				ruling_only = yes
				character = JAP_abe_isoo
			}	
			NOT = {
				has_completed_focus = JAP_revoke_the_peace_preservation_law
			}
			has_subject = MAN
		}

		bypass = {
			NOT = {
				has_subject = MAN
			}
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			custom_effect_tooltip = JAP_return_of_the_manchukuo_exiles_2_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			MAN = {
				country_event = {
					id = SEA_japan_foreign_policy.122
					hours = 6
				}
			}
			custom_effect_tooltip = JAP_if_man_accepts
			effect_tooltip = {
				every_army_leader = {
					random_select_amount = 6
					limit = {
						OWNER = { tag = ROOT }
						OR = {
							has_trait = JAP_samurai_lineage
							has_trait = JAP_royal_lineage
						}
						has_trait = JAP_IJA_loyalist
					}
					set_nationality = MAN
				}
				ROOT = {
					add_timed_idea = {
						idea = JAP_influx_of_socialist_industrial_expertise_idea
						days = 420
					}	
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_return_of_the_manchukuo_exiles_tt
				
			
		}
	}

	focus = {
		id = JAP_organize_the_fifth_column
		icon = GFX_focus_generic_sabotage
		#mutually_exclusive = { focus = JAP_divert_military_funds }
		x = -2
		y = 1
		relative_position_id = JAP_return_of_the_manchukuo_exiles

		prerequisite = { focus = JAP_return_of_the_manchukuo_exiles }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			has_government = communism
			has_civil_war = yes
		}

		bypass = {
			
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {
				
			custom_effect_tooltip = JAP_organize_the_fifth_column_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
					role = garrison
					template_counter = 113
					override_model = JAP_militia_entity
					is_locked = no
					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 = {
					}
				}

				random_owned_controlled_state = {
					limit = { is_core_of = ROOT }
					prioritize = { 282 530 533 }
					create_unit = {
						division = "name = \"1. Kokumin Giyū Sentōtai\" division_template = \"Kokumin Giyū Sentōtai\" start_experience_factor = 0.6" 
						owner = ROOT
					}
					create_unit = {
						division = "name = \"2. Kokumin Giyū Sentōtai\" division_template = \"Kokumin Giyū Sentōtai\" start_experience_factor = 0.6" 
						owner = ROOT
					}
					create_unit = {
						division = "name = \"3. Kokumin Giyū Sentōtai\" division_template = \"Kokumin Giyū Sentōtai\" start_experience_factor = 0.6" 
						owner = ROOT
					}
					create_unit = {
						division = "name = \"4. Kokumin Giyū Sentōtai\" division_template = \"Kokumin Giyū Sentōtai\" start_experience_factor = 0.6" 
						owner = ROOT
					}
					create_unit = {
						division = "name = \"5. Kokumin Giyū Sentōtai\" division_template = \"Kokumin Giyū Sentōtai\" start_experience_factor = 0.6" 
						owner = ROOT
					}
				}

			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_organize_the_fifth_column_2_tt
			
		}
	}

	focus = {
		id = JAP_revoke_the_peace_preservation_law
		icon = GFX_focus_JAP_revoke_the_peace_preservation_law
		#mutually_exclusive = { focus = JAP_the_unthinkable_option }
		x = 4
		y = 1
		relative_position_id = JAP_return_of_the_manchukuo_exiles

		prerequisite = { focus = JAP_return_of_the_manchukuo_exiles focus = JAP_divert_military_funds } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			has_civil_war = no
			custom_trigger_tooltip = {
				tooltip = JAP_revoke_the_peace_preservation_law_requirements_tt
				set_temp_variable = { JAP_lw_support = party_popularity@democratic }
				add_to_temp_variable = { JAP_lw_support = party_popularity@communism }
				check_variable = { JAP_lw_support > 0.5 }
			}
		}

		bypass = {

		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

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

			# Democratic Version should be the one that shows by default 
			IF = {
				limit = {
					has_completed_focus = JAP_return_of_the_manchukuo_exiles
				}
				country_event = {
					id = SEA_japan_popup_events.29 
				}	
				hidden_effect = {
					remove_dynamic_modifier = {
						modifier = JAP_imperial_influence_dm
					}	
					add_dynamic_modifier = {
						modifier = JAP_imperial_influence_communist_dm
					}	
				}
			}
			ELSE = {
				# The Siege of Osaka Castle 
				country_event = {
					id = SEA_japan_popup_events.22
				}	
			}
			custom_effect_tooltip = JAP_revoke_the_peace_preservation_law_tt

			custom_effect_tooltip = JAP_build_diet_building_landmark_tt
			hidden_effect = {
				282 = {
					remove_building = {
						type = landmark_tokyo_imperial_palace
						level = 1
						province = 1182
					}
					add_building_construction = {
						type = landmark_national_diet
						level = 1
						instant_build = yes
						province = 1182
					}
				}
			}

			hidden_effect = {
				# Let the fellas out of prison please 
				IF = {
					limit = {
						has_country_flag = JAP_IJA_arrested_advisors_flag
					}
					clr_country_flag = JAP_IJA_arrested_advisors_flag
					JAP_kozo_sasaki = {
						set_portraits = {
							civilian = {
								small = GFX_portrait_JAP_kozo_sasaki_small
							}
						}
					}
					JAP_komakichi_matsuoka = {
						set_portraits = {
							civilian = {
								small = GFX_portrait_JAP_komakichi_matsuoka_small
							}
						}
					}
					JAP_mitsumasa_yonai = {
						set_portraits = {
							civilian = {
								small = GFX_portrait_JAP_mitsumasa_yonai_civilian_small
							}
						}
					}
					JAP_noboru_yamaguchi = {
						set_portraits = {
							civilian = {
								small = GFX_portrait_JAP_noboru_yamaguchi_small
							}
						}
					}
				}

				mark_focus_tree_layout_dirty = yes
			}

		}

	}

	focus = {
		id = JAP_a_red_sun_rises_for_a_new_era
		icon = GFX_focus_JAP_the_red_sun_rises_for_a_new_era
		mutually_exclusive = { focus = JAP_organize_a_general_election }
		x = -9
		y = 2
		relative_position_id = JAP_revoke_the_peace_preservation_law

		allow_branch = {
			has_dlc = "No Compromise, No Surrender"
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = JAP_organize_a_general_election
					has_completed_focus = JAP_sea_purge_the_kodoha_faction
					has_completed_focus = JAP_revere_the_emperor_destroy_the_traitors
				}
			}
		}

		offset = {
			x = 9
			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
				}
			}
		}

		prerequisite = { focus = JAP_revoke_the_peace_preservation_law } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism
			has_civil_war = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

		completion_reward = {

			add_stability = 0.15
			add_political_power = 75

			custom_effect_tooltip = generic_skip_one_line_tt

			country_event = {
				id = SEA_japan_popup_events.30
			}	
			
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				mark_focus_tree_layout_dirty = yes
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			delete_unit_template_and_units = { division_template = "Soviet Volunteers" }
			
		}
	}

	focus = {
		id = JAP_the_lecture_group_ascendant
		icon = GFX_focus_JAP_the_lecture_group_ascendant
		mutually_exclusive = { focus = JAP_the_labor_farmer_faction_ascendant }
		x = -3
		y = 1
		relative_position_id = JAP_a_red_sun_rises_for_a_new_era

		prerequisite = { focus = JAP_a_red_sun_rises_for_a_new_era } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_country_flag = JAP_supported_the_kozaha_idea_flag 
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			country_event = {
				id = SEA_japan_popup_events.31
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			set_party_name = {
				ideology = communism
				long_name = JAP_kozaha_party_long
				name = JAP_kozaha_party
			}
				
			IF = {
				limit = {
					has_dlc = "La Resistance"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = JAP_hotsumi_ozaki
			}
			
		}
	}

	focus = {
		id = JAP_the_labor_farmer_faction_ascendant
		icon = GFX_focus_JAP_the_labor_farmer_group_ascendant
		mutually_exclusive = { focus = JAP_the_lecture_group_ascendant }
		x = 3
		y = 1
		relative_position_id = JAP_a_red_sun_rises_for_a_new_era

		prerequisite = { focus = JAP_a_red_sun_rises_for_a_new_era } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_country_flag = JAP_supported_the_rounoha_idea_flag 
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			country_event = {
				id = SEA_japan_popup_events.32
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					has_dynamic_modifier = {
						modifier = JAP_communist_party_modifier
					}	
				}
				remove_dynamic_modifier = {
					modifier = JAP_communist_party_modifier
				}	
				custom_effect_tooltip = JAP_the_labor_farmer_faction_ascendant_tt
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			set_party_name = {
				ideology = communism
				long_name = JAP_rounouha_party_long
				name = JAP_rounouha_party
			}

			JAP_add_or_modify_rounouha_modifier = yes

			add_to_variable = { JAP_communist_party_political_power_factor = 0.05 tooltip = political_power_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_masamichi_royama

			hidden_effect = {

				set_cosmetic_tag = JAP_ronoha

			}	
			
		}
	}

	focus = {
		id = JAP_sea_fate_of_the_imperial_family
		icon = GFX_focus_JAP_the_fate_of_the_imperial_family
		#mutually_exclusive = { focus =  }
		x = 3
		y = 1
		relative_position_id = JAP_the_lecture_group_ascendant

		prerequisite = { focus = JAP_the_lecture_group_ascendant focus = JAP_the_labor_farmer_faction_ascendant } 

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

		completion_reward = {
				
			country_event = {
				id = SEA_japan_popup_events.33
			}	
			
		}
	

	}

	focus = {
		id = JAP_hold_a_peoples_tribunal
		icon = GFX_focus_BRA_tribunal
		#mutually_exclusive = { focus =  }
		x = -1
		y = 1
		relative_position_id = JAP_sea_fate_of_the_imperial_family

		prerequisite = { focus = JAP_sea_fate_of_the_imperial_family } 

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

		completion_reward = {

			add_political_power = 75

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_hold_a_peoples_tribunal_tt
			IF = {
				limit = {	 # So that the tooltip doesn't break as much once the focus has been taken
					NOT = {
						has_completed_focus = JAP_hold_a_peoples_tribunal
					}
				}
				effect_tooltip = {
					retire_character = JAP_fushimi_hiroyasu
					retire_character = JAP_torashiro_kawabe
					retire_character = JAP_nishizo_tsukahara
					retire_character = JAP_heisuke_yanagawa
				}
			}

			hidden_effect = {
				retire_character = JAP_fushimi_hiroyasu
				retire_character = JAP_torashiro_kawabe
				retire_character = JAP_nishizo_tsukahara
				retire_character = JAP_heisuke_yanagawa
			}
				
			
		}
	}

	focus = {
		id = JAP_social_and_cultural_revolution
		icon = GFX_focus_JAP_social_and_cultural_revolution
		#mutually_exclusive = { focus =  }
		x = 1
		y = 1
		relative_position_id = JAP_sea_fate_of_the_imperial_family

		prerequisite = { focus = JAP_sea_fate_of_the_imperial_family } 

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

		completion_reward = {

			add_timed_idea = {
				idea = JAP_reorganization_of_society_idea
				days = 365
			}	
			custom_effect_tooltip = JAP_social_and_cultural_revolution_tt
			JAP_add_or_modify_early_industrialization = yes
			add_to_variable = { JAP_industry_consumer_goods_factor = -0.1 tooltip = consumer_goods_factor_tt }
			JAP_add_or_modify_imperial_army = yes
			add_to_variable = { JAP_army_conscription_factor = 0.1 tooltip = conscription_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_hisachi_aso
				
			
		}
	}

	focus = {
		id = JAP_overhaul_the_education_system
		icon = GFX_focus_generic_socialist_science
		#mutually_exclusive = { focus =  }
		x = -1
		y = 1
		relative_position_id = JAP_social_and_cultural_revolution

		prerequisite = { focus = JAP_social_and_cultural_revolution } 
		prerequisite = { focus = JAP_hold_a_peoples_tribunal } 

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

		completion_reward = {

			add_research_slot = 1
			
			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_yoshihige_abe
			
		}
	}

	focus = {
		id = JAP_sea_nationalize_the_zaibatsus
		icon = GFX_focus_JAP_nationalize_zaibatsus
		#mutually_exclusive = { focus =  }
		x = 0
		y = 1
		relative_position_id = JAP_overhaul_the_education_system

		prerequisite = { focus = JAP_overhaul_the_education_system } 

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

		completion_reward = {

			custom_effect_tooltip = JAP_can_no_longer_manually_promote_zaibatsus_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			random_core_state = {
				limit = {
					is_owned_and_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 3
						include_locked = yes
					}	
				}
				prioritize = { 532 531 282 529 528 } 
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = industrial_complex
					level = 4
					instant_build = yes
				}	
			}	

			custom_effect_tooltip = generic_skip_one_line_tt
				
			JAP_big_zaibatsu_faction_loss = yes

			#custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_minoru_takano

			hidden_effect = {
				set_country_flag = JAP_blocked_from_favoring_the_zaibatsus_flag
			}
			
		}
	}

	focus = {
		id = JAP_a_functionalist_housing_policy
		icon = GFX_focus_JAP_a_functionalist_housing_policy
		#mutually_exclusive = { focus =  }
		x = 2
		y = 1
		relative_position_id = JAP_overhaul_the_education_system

		prerequisite = { focus = JAP_overhaul_the_education_system } 

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

		completion_reward = {
				
			add_ideas = JAP_danchi_idea	
			
		}
	}

	focus = {
		id = JAP_redistribute_land_and_wealth
		icon = GFX_focus_generic_workers_and_farmers_rise
		#mutually_exclusive = { focus =  }
		x = -2
		y = 1
		relative_position_id = JAP_overhaul_the_education_system

		prerequisite = { focus = JAP_overhaul_the_education_system } 

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

		completion_reward = {

			every_core_state = {
				limit = {
					is_fully_controlled_by = PREV
					OR = {
						has_state_category = rural
						has_state_category = town
					}
				}
				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.1 tooltip = consumer_goods_factor_tt }
			
		}
	}

	focus = {
		id = JAP_ganbarou
		icon = GFX_focus_JAP_ganbarou
		#mutually_exclusive = { focus =  }
		x = 2
		y = 1
		relative_position_id = JAP_redistribute_land_and_wealth

		prerequisite = { focus = JAP_redistribute_land_and_wealth } 
		prerequisite = { focus = JAP_a_functionalist_housing_policy } 
		prerequisite = { focus = JAP_sea_nationalize_the_zaibatsus } 

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

		completion_reward = {

			JAP_add_or_modify_early_industrialization = yes
			add_to_variable = { JAP_industry_industrial_capacity_factory = 0.05 tooltip = industrial_capacity_factory_tt }
			add_to_variable = { JAP_industry_industrial_capacity_dockyard = 0.05 tooltip = industrial_capacity_dockyard_tt }
			add_to_variable = { JAP_industry_production_speed_buildings_factor = 0.05 tooltip = production_speed_buildings_factor_tt }
			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 = JAP_give_it_your_all_for_the_emperor_tt

		}
	}

	focus = {
		id = JAP_cooperate_with_anarchists
		icon = GFX_focus_ETH_support_from_the_japanese_communists 
		#mutually_exclusive = { focus =  }
		x = 4
		y = 1
		relative_position_id = JAP_sea_fate_of_the_imperial_family

		prerequisite = { focus = JAP_sea_fate_of_the_imperial_family } 
		prerequisite = { focus = JAP_the_labor_farmer_faction_ascendant } 

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

		completion_reward = {

			add_political_power = 50

			IF = {
				limit = {
					ETH = {
						NOT = {
							has_completed_focus = ETH_support_from_the_japanese_communists
						}
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				set_country_flag = IA_anarchists_recruited_flag
				ETH = {
					IA_sanshiro_ishikawa = { set_nationality = ROOT }
					IA_sakutaro_iwasa = { set_nationality = ROOT }
				}
			}
			

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_tsuji_jun
				
			
		}
	

	}

	focus = {
		id = JAP_the_ie_system_and_socialism
		icon = GFX_focus_generic_soviet_politics
		#mutually_exclusive = { focus =  }
		x = -4
		y = 1
		relative_position_id = JAP_sea_fate_of_the_imperial_family

		prerequisite = { focus = JAP_sea_fate_of_the_imperial_family } 
		prerequisite = { focus = JAP_the_lecture_group_ascendant } 

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

		completion_reward = {
				
			add_political_power = 100
			add_stability = 0.1
			
		}
	

	}

	focus = {
		id = JAP_fukumotoism
		icon = GFX_focus_DEN_limited_regulations
		#mutually_exclusive = { focus =  }
		x = -1
		y = 1
		relative_position_id = JAP_the_ie_system_and_socialism

		prerequisite = { focus = JAP_the_ie_system_and_socialism } 

		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_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			JAP_add_or_modify_communist_party_modifier = yes

			add_to_variable = { JAP_communist_party_political_power_factor = 0.1 tooltip = political_power_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_fukumotoism_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_fukumoto_kazuo
				
			
		}
	

	}

	focus = {
		id = JAP_the_modern_ashigaru
		icon = GFX_focus_JAP_the_modern_ashigaru
		#mutually_exclusive = { focus =  }
		x = -4
		y = 1
		relative_position_id = JAP_the_ie_system_and_socialism

		prerequisite = { focus = JAP_the_ie_system_and_socialism } 

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

		completion_reward = {

			custom_effect_tooltip = JAP_the_modern_ashigaru_tt

			custom_effect_tooltip = generic_skip_one_line_tt
				
			add_ideas = JAP_modern_ashigaru_idea

			hidden_effect = {
				delete_unit_template_and_units = {
					division_template = "Ashigaru Levy"
					disband = yes #if yes, will refund equipment/manpower.
				}
				set_country_flag = JAP_ashigaru_system_is_active
				division_template = {
					name = "Ashigaru Levy"		
				    division_names_group = JAP_MIL_02
				    template_counter = 113
					role = infantry
				    priority = 0
					is_locked = yes
					force_allow_recruiting = no
					override_model = JAP_militia_entity
					regiments = {
						militia = { x = 0 y = 0 }
						militia = { x = 0 y = 1 }
						militia = { x = 1 y = 0 }
						militia = { x = 1 y = 1 }
						militia = { x = 2 y = 0 }
						militia = { x = 2 y = 1 }
					}
				}
			}
			
		}
	

	}

	focus = {
		id = JAP_learn_from_the_nkvd
		icon = GFX_focus_JAP_learn_from_the_nkvd
		#mutually_exclusive = { focus =  }
		x = 0
		y = 1
		relative_position_id = JAP_the_modern_ashigaru

		prerequisite = { focus = JAP_the_modern_ashigaru } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			IF = {
				limit = {
					has_dlc = "La Resistance"
				}
				IF = {
					limit = {
						has_intelligence_agency = no
					}
					custom_effect_tooltip = generic_skip_one_line_tt
					create_intelligence_agency = yes
				}
				custom_effect_tooltip = generic_skip_one_line_tt

				JAP_add_or_modify_communist_party_modifier = yes

				add_to_variable = { JAP_communist_party_operative_slot = 1 tooltip = operative_slot_tt }
				add_to_variable = { JAP_communist_party_enemy_operative_detection_chance_factor = 0.15 tooltip = enemy_operative_detection_chance_factor_tt }
				add_to_variable = { JAP_communist_party_enemy_operative_intel_extraction_rate = 0.15 tooltip = enemy_operative_intel_extraction_rate_tt }
				add_to_variable = { JAP_communist_party_enemy_operative_capture_chance_factor = 0.15 tooltip = enemy_operative_capture_chance_factor_tt }
			}
			ELSE = {
				add_ideas = JAP_learn_from_the_nkvd_lar
			}

		}

	}

	focus = {
		id = JAP_further_urban_investments
		icon = GFX_focus_JAP_further_urban_investments
		#mutually_exclusive = { focus =  }
		x = -1
		y = 1
		relative_position_id = JAP_fukumotoism

		prerequisite = { focus = JAP_fukumotoism } 

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

		completion_reward = {
				
			every_core_state = {
				limit = {
					is_fully_controlled_by = PREV
					OR = {
						has_state_category = large_town
						has_state_category = city
						has_state_category = large_city
					}
				}
				add_extra_state_shared_building_slots = 1
				add_manpower = 12000
				add_dynamic_modifier = { modifier = JAP_urban_investments_modifier }
			}
			
		}
	

	}

	focus = {
		id = JAP_the_first_five_year_plan
		icon = GFX_focus_generic_communist_industry
		#mutually_exclusive = { focus =  }
		x = 1
		y = 1
		relative_position_id = JAP_fukumotoism

		prerequisite = { focus = JAP_fukumotoism } 

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

		completion_reward = {
				
			add_timed_idea = {
				idea = JAP_the_five_year_plan_idea 
				days = 1825
			}	
			
		}
	

	}

	focus = {
		id = JAP_form_pioneer_organizations
		icon = GFX_focus_JAP_form_pioneer_organizations
		#mutually_exclusive = { focus =  }
		x = -1
		y = 1
		relative_position_id = JAP_the_first_five_year_plan

		prerequisite = { focus = JAP_the_first_five_year_plan } 
		prerequisite = { focus = JAP_further_urban_investments } 

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

		completion_reward = {
				
			add_ideas = JAP_socialist_pioneers_idea

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

	}

	focus = {
		id = JAP_war_communism
		icon = GFX_goal_support_communism
		#mutually_exclusive = { focus =  }
		x = -1
		y = 1
		relative_position_id = JAP_cooperate_with_anarchists

		prerequisite = { focus = JAP_cooperate_with_anarchists } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_war = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			custom_effect_tooltip = JAP_war_communism_new_economy_law
			add_ideas = JAP_war_communism_idea
			
		}
	

	}

	focus = {
		id = JAP_the_uno_school_of_economics
		icon = GFX_focus_JAP_the_uno_school_of_economics
		#mutually_exclusive = { focus =  }
		x = 1
		y = 1
		relative_position_id = JAP_cooperate_with_anarchists

		prerequisite = { focus = JAP_cooperate_with_anarchists } 

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

		completion_reward = {

			JAP_add_or_modify_early_industrialization = yes

			add_to_variable = { JAP_industry_production_factory_efficiency_gain_factor = 0.1 tooltip = production_factory_efficiency_gain_factor_tt }
			
			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_the_uno_school_of_economics_tt
			activate_mission = JAP_implementing_unos_economic_reforms_mission 

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_hajime_kawakami
			
		}
	

	}

	focus = {
		id = JAP_incorporate_buddhist_socialism
		icon = GFX_focus_JAP_incorporate_buddhist_socialism
		#mutually_exclusive = { focus =  }
		x = 3
		y = 1
		relative_position_id = JAP_cooperate_with_anarchists

		prerequisite = { focus = JAP_cooperate_with_anarchists } 

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

		completion_reward = {

			add_ideas = JAP_buddhist_socialism_idea

			IF = {
				limit = {
					NOT = {
						has_country_flag = JAP_buddhist_socialist_takeover_flag
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt

				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = JAP_giro_senoo
			}
			
		}

	}

	focus = {
		id = JAP_the_spirit_of_the_ikko_ikki
		icon = GFX_focus_JAP_the_modern_ashigaru
		#mutually_exclusive = { focus = JAP_utilize_our_polish_friendship }
		x = 1
		y = 1
		relative_position_id = JAP_incorporate_buddhist_socialism

		prerequisite = { focus = JAP_incorporate_buddhist_socialism }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		allow_branch = {
			has_dlc = "No Compromise, No Surrender"
			has_country_flag = JAP_buddhist_socialist_takeover_flag
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {						
					has_completed_focus = JAP_sea_purge_the_kodoha_faction
					has_completed_focus = JAP_revere_the_emperor_destroy_the_traitors
					has_completed_focus = JAP_organize_a_general_election
				}
			}
		}

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

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {

			add_ideas = JAP_modern_ikko_ikki_idea
			
			hidden_effect = {
				
			}

		}

	}

	focus = {
		id = JAP_achieving_joubukkokudo
		icon = GFX_focus_smiling_buddha
		#mutually_exclusive = { focus = JAP_utilize_our_polish_friendship }
		x = 0
		y = 2
		relative_position_id = JAP_the_spirit_of_the_ikko_ikki

		prerequisite = { focus = JAP_the_spirit_of_the_ikko_ikki }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			has_government = communism
			has_country_leader = {
				ruling_only = yes
				character = JAP_giro_senoo
			}	
			surrender_progress < 0.01
			has_war_support > 0.8
			has_stability > 0.8
			282 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			525 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			608 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			671 = {
				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_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }

		completion_reward = {

			set_cosmetic_tag = JAP_pure_buddhist_land_tag 
			
			custom_effect_tooltip = generic_skip_one_line_tt

			swap_ideas = {
				remove_idea = JAP_buddhist_socialism_idea
				add_idea = JAP_buddhist_socialism_idea_2
			}	

		}

	}

	focus = {
		id = JAP_uplift_ainu_revolution_theory
		icon = GFX_focus_JAP_uplift_ainu_revolution_theory
		#mutually_exclusive = { focus =  }
		x = 0
		y = 2
		relative_position_id = JAP_incorporate_buddhist_socialism

		prerequisite = { focus = JAP_incorporate_buddhist_socialism } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {
				
			country_event = {
				id = SEA_japan_popup_events.34
			}	
			effect_tooltip = {
				every_owned_state = {
					limit = {
						is_core_of = ANU
					}
					add_dynamic_modifier = {
						modifier = JAP_ainu_revoluton_theory_implemented_dm
						scope = ROOT
					}	
				}
			}
			
		}
	

	}

	focus = {
		id = JAP_kikues_new_model
		icon = GFX_focus_JAP_kikues_new_model
		#mutually_exclusive = { focus =  }
		x = 5
		y = 1
		relative_position_id = JAP_cooperate_with_anarchists

		prerequisite = { focus = JAP_cooperate_with_anarchists } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		offset = {
			x = 1
			y = 0
			trigger = {
				has_country_flag = JAP_buddhist_socialist_takeover_flag
			}
		}

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

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			add_political_power = 50
			add_stability = -0.1
				
			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_hiratsuka_raicho
			
		}
	

	}

	focus = {
		id = JAP_women_in_industry
		icon = GFX_focus_JAP_women_in_industry
		#mutually_exclusive = { focus =  }
		x = 0
		y = 1
		relative_position_id = JAP_kikues_new_model

		prerequisite = { focus = JAP_kikues_new_model } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

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

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			add_ideas = JAP_women_in_industry_idea	
			
		}
	

	}

	focus = {
		id = JAP_form_national_cooperatives
		icon = GFX_goal_generic_national_unity
		#mutually_exclusive = { focus =  }
		x = 1
		y = 1
		relative_position_id = JAP_the_uno_school_of_economics

		prerequisite = { focus = JAP_the_uno_school_of_economics } 

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

		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 282 529 528 } 
				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

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

	}

	focus = {
		id = JAP_further_rural_investments
		icon = GFX_focus_prc_agrarian_socialism
		#mutually_exclusive = { focus =  }
		x = -1
		y = 1
		relative_position_id = JAP_the_uno_school_of_economics

		prerequisite = { focus = JAP_the_uno_school_of_economics } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {
				
			every_core_state = {
				limit = {
					is_fully_controlled_by = PREV
					OR = {
						has_state_category = rural
						has_state_category = town
						has_state_category = wasteland
						has_state_category = pastoral
					}
				}
				add_extra_state_shared_building_slots = 1
				set_state_flag = JAP_can_upgrade_this_states_level_flag
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_further_rural_investments_tt
			
		}
	

	}

	focus = {
		id = JAP_adopt_syndicalist_ideas
		icon = GFX_focus_ARG_establish_the_free_association
		#mutually_exclusive = { focus =  }
		x = 1
		y = 1
		relative_position_id = JAP_further_rural_investments

		prerequisite = { focus = JAP_further_rural_investments } 
		prerequisite = { focus = JAP_form_national_cooperatives } 

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

		completion_reward = {

			add_ideas = JAP_syndicalism_idea

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_suzuki_bunji
				
		}
	

	}

	focus = {
		id = JAP_raise_the_red_flag_high
		icon = GFX_focus_JAP_raise_the_red_flag_high
		#mutually_exclusive = { focus =  }
		x = -5
		y = 2
		relative_position_id = JAP_adopt_syndicalist_ideas

		prerequisite = { focus = JAP_adopt_syndicalist_ideas focus = JAP_form_pioneer_organizations } 

		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_WAR_SUPPORT FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			add_war_support = 0.1

			every_neighbor_country = {
				limit = {
					NOT = {
						has_government = communism
					}
				}
				add_popularity = {
					ideology = communism
					popularity = 0.05
				}	
			}

			IF = {
				limit = {
					JAP_giro_senoo = {
						is_hired_as_advisor = yes
					}
					JAP_tsuji_jun = {
						is_hired_as_advisor = yes
					}
					has_country_leader = {
						ruling_only = yes
						character = JAP_kanson_arahata 
					}	
				}
				country_event = {
					id = SEA_japan_popup_events.39
				}	
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_yoshio_shiga
				
			
		}
	

	}

	focus = {
		id = JAP_guide_the_lesser_states
		icon = GFX_focus_GER_liberate_exploited_colonial_workers
		#mutually_exclusive = { focus =  }
		x = 5
		y = 1
		relative_position_id = JAP_raise_the_red_flag_high

		prerequisite = { focus = JAP_raise_the_red_flag_high } 
		prerequisite = { focus = JAP_adopt_syndicalist_ideas } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism 
			is_subject = no
			is_in_faction = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_STABILITY }

		completion_reward = {

			set_rule = { can_create_factions = yes }
			set_rule = { can_send_volunteers = yes }
			create_faction_from_template = faction_template_JAP_pan_asian_revolutuonary_front
			add_faction_initiative = 1

			custom_effect_tooltip = generic_skip_one_line_tt

			JAP_add_or_modify_rounouha_modifier = yes

			add_to_variable = { JAP_communist_party_defensive_war_stability_factor = 0.1 tooltip = defensive_war_stability_factor_tt }
			add_to_variable = { JAP_communist_party_puppet_cost_factor = -0.2 tooltip = puppet_cost_factor_tt }
			
		}
	

	}

	focus = {
		id = JAP_socialism_in_one_state
		icon = GFX_focus_ETH_callout_to_the_world
		#mutually_exclusive = { focus =  }
		x = -5
		y = 1
		relative_position_id = JAP_raise_the_red_flag_high

		prerequisite = { focus = JAP_raise_the_red_flag_high } 
		prerequisite = { focus = JAP_form_pioneer_organizations } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {
				
			JAP_add_or_modify_communist_party_modifier = yes

			add_to_variable = { JAP_communist_party_offensive_war_stability_factor = 0.1 tooltip = offensive_war_stability_factor_tt }
			add_to_variable = { JAP_communist_party_annex_cost_factor = -0.2 tooltip = annex_cost_factor_tt }
			
		}
	

	}

	focus = {
		id = JAP_the_courage_to_defend_the_revolution
		icon = GFX_focus_ITA_peasants_rise
		#mutually_exclusive = { focus =  }
		x = 2
		y = 1
		relative_position_id = JAP_guide_the_lesser_states

		prerequisite = { focus = JAP_guide_the_lesser_states } 

		cost = 5

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

		completion_reward = {
				
			JAP_add_or_modify_rounouha_modifier = yes

			add_to_variable = { JAP_communist_party_army_core_defence_factor = 0.1 tooltip = army_core_defence_factor_tt }
			add_to_variable = { JAP_communist_party_weekly_manpower = 500 tooltip = weekly_manpower_tt }
			
		}
	

	}

	focus = {
		id = JAP_demand_submission_from_breawakay_states
		icon = GFX_focus_GER_proletarian_dictatorship
		#mutually_exclusive = { focus =  }
		x = 0
		y = 1
		relative_position_id = JAP_guide_the_lesser_states

		prerequisite = { focus = JAP_guide_the_lesser_states } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism 
			is_subject = no
			OR = {
				FOR = {
					exists = yes
					NOT = {
						is_ally_with = ROOT
						has_war_with = ROOT
					}
				}
				PLU = {
					exists = yes
					NOT = {
						is_ally_with = ROOT
						has_war_with = ROOT
					}
				}
			}
		}

		bypass = {
			FOR = {
				OR = {
					exists = no
					is_ally_with = ROOT
					has_war_with = ROOT
				}
			}
			PLU = {
				OR = {
					exists = no
					is_ally_with = ROOT
					has_war_with = ROOT
				}
			}
		}

		will_lead_to_war_with = FOR
		will_lead_to_war_with = PLU

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
				
			IF = {
				limit = {
					FOR = {
						exists = yes
						NOT = {
							is_ally_with = ROOT
							has_war_with = ROOT
						}
					}
				}
				FOR = {
					country_event = {
						id = SEA_japan_foreign_policy.128
						hours = 6
					}	
				} 
			}

			IF = {
				limit = {
					PLU = {
						exists = yes
						NOT = {
							is_ally_with = ROOT
							has_war_with = ROOT
						}
					}
				}
				PLU = {
					country_event = {
						id = SEA_japan_foreign_policy.128
						hours = 6
					}	
				} 
			}

			IF = {
				limit = {
					AND = {
						FOR = {
							exists = no
						}
						PLU = {
							exists = no
						}
					}
				}
				effect_tooltip = {
					FOR = {
						country_event = {
							id = SEA_japan_foreign_policy.128
							hours = 6
						}	
					} 
					PLU = {
						country_event = {
							id = SEA_japan_foreign_policy.128
							hours = 6
						}	
					} 
				}
			}
			
		}

	}

	focus = {
		id = JAP_ignite_the_korean_peninsula
		icon = GFX_focus_JAP_ignite_the_korean_peninsula
		#mutually_exclusive = { focus =  }
		x = 0
		y = 1
		relative_position_id = JAP_demand_submission_from_breawakay_states

		prerequisite = { focus = JAP_demand_submission_from_breawakay_states } 

		cost = 5

		dynamic = yes

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism 
			is_subject = no
			KOR = {
				exists = yes
				is_subject = no
				has_civil_war = no
				NOT = {
					is_ally_with = ROOT
					has_war_with = ROOT
					has_government = communism
				}
			}
		}

		bypass = {
			KOR = {
				OR = {
					exists = no
					has_civil_war = yes
					is_subject = yes 
					is_ally_with = ROOT
					has_war_with = ROOT
					has_government = communism
				}
			}
		}

		will_lead_to_war_with = KOR

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
				
			KOR = {
				country_event = {
					id = SEA_japan_foreign_policy.131
					hours = 6
				}	
			}
			custom_effect_tooltip = JAP_ignite_the_korean_peninsula_tt
			
		}
	

	}

	focus = {
		id = JAP_protect_the_manchurians
		icon = GFX_focus_JAP_protect_the_manchurians
		#mutually_exclusive = { focus =  }
		x = -1
		y = 1
		relative_position_id = JAP_ignite_the_korean_peninsula

		prerequisite = { focus = JAP_ignite_the_korean_peninsula } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism 
			is_subject = no
			MAN = {
				exists = yes
				NOT = {
					is_ally_with = ROOT
					has_war_with = ROOT
				}
			}
		}

		bypass = {
			MAN = {
				OR = {
					exists = no
					is_ally_with = ROOT
					has_war_with = ROOT
				}
			}
		}

		will_lead_to_war_with = MAN

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
				
			create_wargoal = {
				type = puppet_wargoal_focus
				target = MAN
				expire = 0
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			add_timed_idea = {
				idea = JAP_cleaning_up_our_own_mess
				days = 425
			}
			
		}
	

	}

	focus = {
		id = JAP_guide_the_chinese
		icon = GFX_focus_chi_one_china_policy
		#mutually_exclusive = { focus =  }
		x = 1
		y = 1
		relative_position_id = JAP_ignite_the_korean_peninsula

		prerequisite = { focus = JAP_ignite_the_korean_peninsula } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism 
			is_subject = no
		}

		bypass = {

		}

		will_lead_to_war_with = CHI
		will_lead_to_war_with = SHX
		will_lead_to_war_with = SND
		will_lead_to_war_with = XSM
		will_lead_to_war_with = GXC
		will_lead_to_war_with = GDC
		will_lead_to_war_with = XIC
		will_lead_to_war_with = SIC
		will_lead_to_war_with = KUM
		will_lead_to_war_with = GSM
		will_lead_to_war_with = NXM
		will_lead_to_war_with = KHM
		will_lead_to_war_with = HBC

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
				
			custom_effect_tooltip = JAP_guide_the_chinese_tt
			every_country = {
				limit = {
					is_literally_china = yes
					NOT = {
						is_ally_with = ROOT
						has_war_with = ROOT
						has_government = communism
					}
				}
				ROOT = {
					create_wargoal = {
						type = puppet_wargoal_focus
						target = PREV
						expire = 0
					}	
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ideas = JAP_senbu_idea

			IF = {
				limit = {
					is_faction_leader = yes
				}
				custom_effect_tooltip = generic_skip_one_line_tt

				custom_effect_tooltip = JAP_guide_the_chinese_2_tt
				every_country = {
					limit = {
						is_literally_china = yes
						has_government = communism
						is_subject = no
						NOT = {
							is_ally_with = ROOT
							has_war_with = ROOT
						}
					}
					country_event = {
						id = SEA_japan_foreign_policy.118
						hours = 6
						random_hours = 12
					}	
				}
			}
			
		}

	}

	focus = {
		id = JAP_guide_the_mongols
		icon = GFX_focus_generic_attack_mongolia
		#mutually_exclusive = { focus =  }
		x = 1
		y = 1
		relative_position_id = JAP_guide_the_chinese

		prerequisite = { focus = JAP_guide_the_chinese } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism 
			is_subject = no
			OR = {
				MAN = {
					exists = yes
					NOT = {
						is_ally_with = ROOT
						has_war_with = ROOT
					}
				}
				MEN = {
					exists = yes
					NOT = {
						is_ally_with = ROOT
						has_war_with = ROOT
					}
				}
				MON = {
					exists = yes
					NOT = {
						is_ally_with = ROOT
						has_war_with = ROOT
					}
				}
				TAN = {
					exists = yes
					NOT = {
						is_ally_with = ROOT
						has_war_with = ROOT
					}
				}
				KUM = {
					exists = yes
					NOT = {
						is_ally_with = ROOT
						has_war_with = ROOT
					}
				}
				BYA = {
					exists = yes
					NOT = {
						is_ally_with = ROOT
						has_war_with = ROOT
					}
				}
			}
		}

		bypass = {

		}

		will_lead_to_war_with = MEN
		will_lead_to_war_with = MON
		will_lead_to_war_with = TAN
		will_lead_to_war_with = KUM
		will_lead_to_war_with = BYA

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			every_country = {
				limit = {
					OR = {
						original_tag = MEN
						original_tag = MON
						original_tag = TAN
						original_tag = KUM
						original_tag = BYA
					}
					exists = yes
					NOT = {
						is_ally_with = ROOT
						has_war_with = ROOT
					}
				}
				ROOT = {
					create_wargoal = {
						type = puppet_wargoal_focus
						target = PREV
						expire = 0
					}	
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
				
			add_timed_idea = {
				idea = JAP_peoples_liberation_army_of_monglia_idea
				days = 730
			}	
			
		}
	
	}

	focus = {
		id = JAP_spread_the_revolutuon_south
		icon = GFX_focus_generic_spur_communist_revolutions
		#mutually_exclusive = { focus =  }
		x = -1
		y = 1
		relative_position_id = JAP_guide_the_chinese

		prerequisite = { focus = JAP_guide_the_chinese } 
		prerequisite = { focus = JAP_protect_the_manchurians } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism 
			is_subject = no
			is_faction_leader = yes
		}

		bypass = {

		}

		will_lead_to_war_with = ENG
		will_lead_to_war_with = FRA
		will_lead_to_war_with = MAL
		will_lead_to_war_with = SNG
		will_lead_to_war_with = BRM
		will_lead_to_war_with = VIN
		will_lead_to_war_with = CAM
		will_lead_to_war_with = LAO
		will_lead_to_war_with = CHM
		will_lead_to_war_with = SIA
		will_lead_to_war_with = PHI
		will_lead_to_war_with = MAL
		will_lead_to_war_with = SNG
		will_lead_to_war_with = INS
		will_lead_to_war_with = HOL
		will_lead_to_war_with = AST
		will_lead_to_war_with = NZL
		will_lead_to_war_with = SAR
		will_lead_to_war_with = SAB
		will_lead_to_war_with = BRN

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			every_country = {
				limit = {
					OR = {
						original_tag = MAL
						original_tag = SNG
						original_tag = BRM
						original_tag = VIN
						original_tag = CAM
						original_tag = LAO
						original_tag = CHM
						original_tag = SIA
						original_tag = PHI
						original_tag = MAL
						original_tag = SNG
						original_tag = INS
						original_tag = AST
						original_tag = NZL
						original_tag = SAR
						original_tag = SAB
						original_tag = BRN
					}
					is_subject = no
					NOT = {
						has_government = communism
						is_ally_with = ROOT
						has_war_with = ROOT
					}
				}
				# Demand Submission
				country_event = {
					id = SEA_japan_foreign_policy.132
					hours = 6
				}	
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					ROOT = {
						puppet = {
							target = PREV
							end_wars = yes
							end_civil_wars = no
						}
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			every_country = {
				limit = {
					OR = {
						original_tag = MAL
						original_tag = SNG
						original_tag = BRM
						original_tag = VIN
						original_tag = CAM
						original_tag = LAO
						original_tag = CHM
						original_tag = SIA
						original_tag = PHI
						original_tag = MAL
						original_tag = SNG
						original_tag = INS
						original_tag = AST
						original_tag = NZL
					}
					is_subject = yes
					NOT = {
						has_government = communism
						is_ally_with = ROOT
						has_war_with = ROOT
					}
				}
				# Stir Communist Sentiment and gain a puppet wargoal 
				country_event = {
					id = SEA_japan_popup_events.37
					hours = 6
				}	
				ROOT = {
					create_wargoal = {
						type = puppet_wargoal_focus
						target = PREV
						expire = 0
					}	
				}
			}

		}

	}

	focus = {
		id = JAP_free_asians_from_soviet_opression
		icon = GFX_focus_attack_soviet
		#mutually_exclusive = { focus =  }
		x = -1
		y = 1
		relative_position_id = JAP_spread_the_revolutuon_south

		prerequisite = { focus = JAP_spread_the_revolutuon_south } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism 
			is_subject = no
			SOV = {
				exists = yes
				NOT = {
					is_ally_with = ROOT
					has_war_with = ROOT
				}
			}
		}

		bypass = {
			SOV = {
				OR = {
					exists = no
					is_ally_with = ROOT
					has_war_with = ROOT
				}
			}
		}

		will_lead_to_war_with = SOV

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {

			add_timed_idea = {
				idea = JAP_striking_the_sleeping_bear
				days = 365
			}	

			custom_effect_tooltip = generic_skip_one_line_tt
				
			create_wargoal = {
				type = topple_government
				target = SOV
				expire = 0
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_peace_out_soviets_dec_tt
			
		}
	

	}

	focus = {
		id = JAP_go_after_the_capitalists
		icon = GFX_focus_GER_wage_war_on_capitalism
		#mutually_exclusive = { focus =  }
		x = 1
		y = 1
		relative_position_id = JAP_spread_the_revolutuon_south

		prerequisite = { focus = JAP_spread_the_revolutuon_south } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism 
			is_subject = no
			OR = {
				USA = {
					exists = yes
					NOT = {
						is_ally_with = ROOT
						has_war_with = ROOT
					}
				}
				ENG = {
					exists = yes
					NOT = {
						is_ally_with = ROOT
						has_war_with = ROOT
					}
				}
			}
		}

		bypass = {
			USA = {
				OR = {
					exists = no
					is_ally_with = ROOT
					has_war_with = ROOT
				}
			}
			ENG = {
				OR = {
					exists = no
					is_ally_with = ROOT
					has_war_with = ROOT
				}
			}
		}

		will_lead_to_war_with = USA
		will_lead_to_war_with = ENG

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {

			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt
				
			every_country = {
				limit = {
					OR = {
						original_tag = USA
						original_tag = ENG
					}
					exists = yes
					NOT = {
						is_ally_with = ROOT
						has_war_with = ROOT
					}
				}
				ROOT = {
					create_wargoal = {
						type = topple_government
						target = PREV
						expire = 0
					}	
				}
			}
			
		}
	

	}

	focus = {
		id = JAP_a_free_asia_pacific
		icon = GFX_focus_JAP_a_free_asia_pacific
		#mutually_exclusive = { focus =  }
		x = -1
		y = 1
		relative_position_id = JAP_go_after_the_capitalists

		prerequisite = { focus = JAP_go_after_the_capitalists } 
		prerequisite = { focus = JAP_free_asians_from_soviet_opression } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism 
			is_subject = no
			surrender_progress < 0.02
			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
			}
			328 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			327 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			289 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			523 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			408 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY FOCUS_FILTER_RESEARCH }

		completion_reward = {
				
			add_ideas = JAP_free_asia_pacific_idea 
			
		}
	

	}

	focus = {
		id = JAP_the_pan_asian_revolutionary_front
		icon = GFX_focus_CHL_union_of_hispanic_republics
		#mutually_exclusive = { focus =  }
		x = -4
		y = 1
		relative_position_id = JAP_guide_the_lesser_states

		prerequisite = { focus = JAP_guide_the_lesser_states } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism 
			is_subject = no
			is_faction_leader = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {
				
			add_faction_influence_ratio = 0.15
			add_faction_initiative = 1
			add_faction_goal_slot = {
				category  = long_term 
				value = 1 
			}
			
		}
	

	}

	focus = {
		id = JAP_educate_the_peasants
		icon = GFX_focus_CHI_tongzi_jun
		#mutually_exclusive = { focus =  }
		x = 2
		y = 1
		relative_position_id = JAP_the_pan_asian_revolutionary_front

		prerequisite = { focus = JAP_the_pan_asian_revolutionary_front } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism 
			is_subject = no
			is_faction_leader = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
				
			IF = {
				limit = {
					num_faction_members > 1
				}
				for_each_scope_loop = {
					array = ROOT.allies
					add_to_variable = { JAP.JAP_educating_the_peasants_modifier_allies_count = 1 }
				}

				set_temp_variable = { temp_targets_index = JAP_educating_the_peasants_modifier_allies_count }

				while_loop_effect = {
					limit = {
						check_variable = { temp_targets_index > 0 }
						check_variable = { 
							var = JAP_educating_the_peasants_modifier_research_speed_factor
							value = 0.1
							compare = less_than_or_equals
						}
					}
					add_to_variable = { JAP_educating_the_peasants_modifier_research_speed_factor = 0.01 }
					subtract_from_temp_variable = { temp_targets_index = 1 }
				}

				hidden_effect = { #This is necessary since Japan is already accounted for when setting all of this up
					subtract_from_variable = { JAP.JAP_educating_the_peasants_modifier_research_speed_factor = 0.01 }
				}
			}
			add_dynamic_modifier = { modifier = JAP_educating_the_peasants_modifier }
			custom_effect_tooltip = JAP_educate_the_peasants_tt
			
		}
	

	}

	focus = {
		id = JAP_a_common_currency_for_all_of_asia
		icon = GFX_focus_JAP_develop_the_yen_block
		#mutually_exclusive = { focus =  }
		x = 0
		y = 1
		relative_position_id = JAP_the_pan_asian_revolutionary_front

		prerequisite = { focus = JAP_the_pan_asian_revolutionary_front } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism 
			is_subject = no
			is_faction_leader = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			every_other_country = {
				limit = {
					is_ally_with = ROOT
					NOT = {
						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_minitry_of_pan_asian_development
		icon = GFX_focus_ETH_re-convene_the_parliament
		#mutually_exclusive = { focus =  }
		x = -2
		y = 1
		relative_position_id = JAP_the_pan_asian_revolutionary_front

		prerequisite = { focus = JAP_the_pan_asian_revolutionary_front } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism 
			is_subject = no
			is_faction_leader = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			
			every_other_country = {
				limit = {
					is_ally_with = ROOT
					NOT = {
						has_idea = JAP_ministry_of_pan_asian_development_idea
					}
				}
				add_ideas = JAP_ministry_of_pan_asian_development_idea
			}	
			
		}

	}

	focus = {
		id = JAP_development_for_the_undeveloped
		icon = GFX_focus_AFG_helmand_river_authority
		#mutually_exclusive = { focus =  }
		x = 0
		y = 1
		relative_position_id = JAP_the_minitry_of_pan_asian_development

		prerequisite = { focus = JAP_the_minitry_of_pan_asian_development } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism 
			is_subject = no
			is_faction_leader = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { 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_a_pan_asian_diet
		icon = GFX_focus_JAP_a_pan_asian_diet
		#mutually_exclusive = { focus =  }
		x = 2
		y = 2
		relative_position_id = JAP_the_minitry_of_pan_asian_development

		prerequisite = { focus = JAP_the_minitry_of_pan_asian_development } 
		prerequisite = { focus = JAP_a_common_currency_for_all_of_asia } 
		prerequisite = { focus = JAP_educate_the_peasants } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism 
			is_subject = no
			is_faction_leader = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER }

		completion_reward = {

			add_ideas = JAP_pan_asian_union_idea
			
		}
	

	}

	focus = {
		id = JAP_extensive_navy_maneuvers
		icon = GFX_focus_PER_the_peoples_navy
		#mutually_exclusive = { focus =  }
		x = 2
		y = 1
		relative_position_id = JAP_socialism_in_one_state

		prerequisite = { focus = JAP_socialism_in_one_state } 

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

		completion_reward = {
				
			navy_experience = 50

			custom_effect_tooltip = generic_skip_one_line_tt

			add_timed_idea = {
				idea = JAP_anti_breakway_navy_maneuvers_idea 
				days = 365
			}
			
		}
	

	}

	focus = {
		id = JAP_extensive_army_maneuvers
		icon = GFX_focus_SOV_builder_of_the_red_army
		#mutually_exclusive = { focus =  }
		x = -2
		y = 1
		relative_position_id = JAP_socialism_in_one_state

		prerequisite = { focus = JAP_socialism_in_one_state } 

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

		completion_reward = {
				
			army_experience = 50

			custom_effect_tooltip = generic_skip_one_line_tt

			add_timed_idea = {
				idea = JAP_anti_kwantung_army_maneuvers_idea 
				days = 365
			}			
			
		}
	

	}

	focus = {
		id = JAP_reclaim_lost_territories
		icon = GFX_focus_JAP_reclaim_the_lost_territories
		#mutually_exclusive = { focus =  }
		x = 1
		y = 2
		relative_position_id = JAP_socialism_in_one_state

		prerequisite = { focus = JAP_socialism_in_one_state } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				PLU = {
					exists = yes
					NOT = {
						has_war_with = ROOT
						is_ally_with = ROOT
					}
				}
				FOR = {
					exists = yes
					NOT = {
						has_war_with = ROOT
						is_ally_with = ROOT
					}
				}
				KOR = {
					exists = yes
					NOT = {
						has_war_with = ROOT
						is_ally_with = ROOT
					}
				}
			}	
		}

		bypass = {
			AND = {
				PLU = {
					OR = {
						exists = no
						has_war_with = ROOT
						is_ally_with = ROOT
					}
				}
				FOR = {
					OR = {
						exists = no
						has_war_with = ROOT
						is_ally_with = ROOT
					}
				}
				KOR = {
					OR = {
						exists = no
						has_war_with = ROOT
						is_ally_with = ROOT
					}
				}
			}
		}

		will_lead_to_war_with = FOR
		will_lead_to_war_with = PLU
		will_lead_to_war_with = KOR

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
				
			PLU = {
				every_core_state = {
					add_claim_by = ROOT
				}
			}
			FOR = {
				every_core_state = {
					add_claim_by = ROOT
				}
			}
			KOR = {
				every_core_state = {
					add_claim_by = ROOT
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					PLU = {
						exists = yes
					}
				}
				create_wargoal = {
					type = annex_everything
					target = PLU
					expire = 0
				}	
			}
			IF = {
				limit = {
					FOR = {
						exists = yes
					}
				}
				create_wargoal = {
					type = annex_everything
					target = FOR
					expire = 0
				}	
			}
			IF = {
				limit = {
					KOR = {
						exists = yes
					}
				}
				create_wargoal = {
					type = annex_everything
					target = KOR
					expire = 0
				}	
			}
			
		}

	}

	focus = {
		id = JAP_conquer_the_army_remnants
		icon = GFX_focus_generic_attack_manchukuo
		#mutually_exclusive = { focus =  }
		x = -1
		y = 2
		relative_position_id = JAP_socialism_in_one_state

		prerequisite = { focus = JAP_socialism_in_one_state } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

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

		bypass = {
			MAN = {
				OR = {
					exists = no
					has_war_with = ROOT
					is_ally_with = ROOT
				}
			}
		}

		will_lead_to_war_with = MAN

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
				
			MAN = {
				every_core_state = {
					add_claim_by = ROOT
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			create_wargoal = {
				type = annex_everything
				target = MAN
				expire = 0
			}	
			
		}
	

	}

	focus = {
		id = JAP_put_an_end_to_chinese_feudalism
		icon = GFX_focus_JAP_put_an_end_to_chinese_feudalism
		#mutually_exclusive = { focus =  }
		x = 1
		y = 1
		relative_position_id = JAP_conquer_the_army_remnants

		prerequisite = { focus = JAP_conquer_the_army_remnants } 
		prerequisite = { focus = JAP_reclaim_lost_territories } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		will_lead_to_war_with = CHI
		will_lead_to_war_with = SHX
		will_lead_to_war_with = SND
		will_lead_to_war_with = XSM
		will_lead_to_war_with = GXC
		will_lead_to_war_with = GDC
		will_lead_to_war_with = XIC
		will_lead_to_war_with = SIC
		will_lead_to_war_with = KUM
		will_lead_to_war_with = GSM
		will_lead_to_war_with = NXM
		will_lead_to_war_with = KHM
		will_lead_to_war_with = HBC

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
				
			CHI = {
				every_core_state = {
					add_claim_by = ROOT
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			every_country = {
				limit = {
					is_literally_china = yes
					NOT = {
						is_ally_with = ROOT
						has_government = communism
						has_war_with = ROOT
					}
				}
				ROOT = {
					create_wargoal = {
						type = annex_everything
						target = PREV
						expire = 0
					}	
				}
			}
			
		}

	}

	focus = {
		id = JAP_mobilize_the_proletariat
		icon = GFX_focus_GER_proletarian_solidarity
		#mutually_exclusive = { focus =  }
		x = 1
		y = 1
		relative_position_id = JAP_put_an_end_to_chinese_feudalism

		prerequisite = { focus = JAP_put_an_end_to_chinese_feudalism } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_war = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
				
			add_timed_idea = {
				idea = JAP_mobilizing_the_proletariat
				days = 420
			}	
			
		}
	

	}

	focus = {
		id = JAP_the_long_march_to_victory
		icon = GFX_focus_SOV_the_road_of_life
		#mutually_exclusive = { focus =  }
		x = -1
		y = 1
		relative_position_id = JAP_put_an_end_to_chinese_feudalism

		prerequisite = { focus = JAP_put_an_end_to_chinese_feudalism } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_war = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {
				
			add_timed_idea = {
				idea = JAP_the_long_march_to_victory_idea
				days = 730
			}	
			
		}
	

	}

	focus = {
		id = JAP_the_pacific_union_of_soviet_socialist_republics
		icon = GFX_focus_JAP_pacific_soviet_union
		#mutually_exclusive = { focus =  }
		x = 0
		y = 2
		relative_position_id = JAP_put_an_end_to_chinese_feudalism

		prerequisite = { focus = JAP_put_an_end_to_chinese_feudalism } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism
			is_subject = no
			282 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			524 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			613 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			608 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			1037 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			592 = {
				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_MANPOWER }

		completion_reward = {

			add_political_power = 100

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_greater_east_asian_federation_2_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_the_pacific_union_of_soviet_socialist_republics_tt

			hidden_effect = {
				set_cosmetic_tag = JAP_pacific_union
			}

		}
	

	}

	focus = {
		id = JAP_the_indochinese_soviet
		icon = GFX_focus_JAP_the_indochinese_soviet
		#mutually_exclusive = { focus =  }
		x = 1
		y = 1
		relative_position_id = JAP_the_pacific_union_of_soviet_socialist_republics

		prerequisite = { focus = JAP_the_pacific_union_of_soviet_socialist_republics } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		will_lead_to_war_with = ENG
		will_lead_to_war_with = FRA
		will_lead_to_war_with = MAL
		will_lead_to_war_with = SNG
		will_lead_to_war_with = BRM
		will_lead_to_war_with = VIN
		will_lead_to_war_with = CAM
		will_lead_to_war_with = LAO
		will_lead_to_war_with = CHM
		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 = {
				
			every_state = {
				limit = {
					NOT = {
						OR = {
							is_owned_by = ROOT
							is_core_of = ROOT
							is_claimed_by = ROOT
						}
					}
					OR = {
						region = 188
						region = 229
						region = 228
						region = 142
						region = 293
						region = 294
						region = 292
						region = 295
						region = 249
					}
				}
				add_claim_by = ROOT
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			every_country = {
				limit = {
					AND = {
						OR = {
							any_owned_state = {
								OR = {
									region = 188
									region = 229
									region = 228
									region = 142
									region = 293
									region = 294
									region = 292
									region = 295
									region = 249
								}
							}
						}
						NOT = {
							OR = {
								has_war_with = ROOT
								original_tag = ROOT
								is_subject_of = ROOT
							}
						}
					}
				}
				ROOT = {
					create_wargoal = {
						type = annex_everything
						target = PREV
					}
				}
			}
			
		}
	

	}

	focus = {
		id = JAP_transformation_of_nature
		icon = GFX_goal_generic_soviet_construction
		#mutually_exclusive = { focus =  }
		x = 1
		y = 1
		relative_position_id = JAP_the_indochinese_soviet

		prerequisite = { focus = JAP_the_indochinese_soviet } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_tech = excavation1
			OR = {
				333 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
				672 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
				334 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
				1023 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
				1024 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
				669 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			}
			336 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			671 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			1021 = { state_is_fully_controlled_by_ROOT_or_subject = yes }
			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 }
			564 = { 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 = {

			336 = {
				add_resource = {
					type = aluminium
					amount = 12
				}
				IF = {
					limit = {
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			333 = {
				IF = {
					limit = { 
						OR = {
							is_fully_controlled_by = ROOT 
							any_country = {
								is_subject_of = ROOT
								has_full_control_of_state = PREV
							}
						}
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			672 = {
				IF = {
					limit = { 
						OR = {
							is_fully_controlled_by = ROOT 
							any_country = {
								is_subject_of = ROOT
								has_full_control_of_state = PREV
							}
						}
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			334 = {
				IF = {
					limit = { 
						OR = {
							is_fully_controlled_by = ROOT 
							any_country = {
								is_subject_of = ROOT
								has_full_control_of_state = PREV
							}
						}
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			671 = {
				add_resource = {
					type = aluminium
					amount = 6
				}
			}

			657 = {
				IF = {
					limit = { 
						state_is_fully_controlled_by_ROOT_or_subject  = yes 
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			408 = {
				IF = {
					limit = { 
						state_is_fully_controlled_by_ROOT_or_subject  = yes
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			560 = {
				IF = {
					limit = { 
						state_is_fully_controlled_by_ROOT_or_subject  = yes
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			409 = {
				IF = {
					limit = { 
						state_is_fully_controlled_by_ROOT_or_subject  = yes
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			564 = {
				add_resource = {
					type = aluminium
					amount = 8
				}
				IF = {
					limit = {
						infrastructure < 5
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}

			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_the_south_pacific_soviet
		icon = GFX_focus_JAP_the_south_pacific_soviet
		#mutually_exclusive = { focus =  }
		x = -1
		y = 1
		relative_position_id = JAP_the_pacific_union_of_soviet_socialist_republics

		prerequisite = { focus = JAP_the_pacific_union_of_soviet_socialist_republics } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		will_lead_to_war_with = PHI
		will_lead_to_war_with = ENG
		will_lead_to_war_with = MAL
		will_lead_to_war_with = SNG
		will_lead_to_war_with = INS
		will_lead_to_war_with = HOL

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
				
			every_state = {
				limit = {
					NOT = {
						OR = {
							is_owned_by = ROOT
							is_core_of = ROOT
							is_claimed_by = ROOT
						}
					}
					OR = {
						region = 160
						region = 159
						region = 187
						region = 158
						region = 93
						region = 167
						state = 1021
						state = 336
						state = 738
					}
				}
				add_claim_by = ROOT
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			every_country = {
				limit = {
					AND = {
						OR = {
							any_owned_state = {
								OR = {
									region = 160
									region = 159
									region = 187
									region = 158
									region = 93
									region = 167
									state = 1021
									state = 336
									state = 738
								}
							}
						}
						NOT = {
							OR = {
								has_war_with = ROOT
								original_tag = ROOT
								is_subject_of = ROOT
							}
						}
					}
				}
				ROOT = {
					create_wargoal = {
						type = annex_everything
						target = PREV
					}
				}
			}
			
		}
	

	}

	focus = {
		id = JAP_the_oceanian_soviet
		icon = GFX_focus_JAP_the_oceanian_soviet
		#mutually_exclusive = { focus =  }
		x = -1
		y = 1
		relative_position_id = JAP_the_south_pacific_soviet

		prerequisite = { focus = JAP_the_south_pacific_soviet } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		will_lead_to_war_with = AST
		will_lead_to_war_with = NZL

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			every_state = {
				limit = {
					NOT = {
						OR = {
							is_owned_by = ROOT
							is_core_of = ROOT
							is_claimed_by = ROOT
						}
					}
					OR = {
						region = 156
						region = 195
						region = 193
						region = 194
						region = 157
						region = 83
						state = 737
					}
				}
				add_claim_by = ROOT
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			every_country = {
				limit = {
					AND = {
						OR = {
							any_owned_state = {
								OR = {
									region = 156
									region = 195
									region = 193
									region = 194
									region = 157
									region = 83
									state = 737
								}
							}
						}
						NOT = {
							OR = {
								has_war_with = ROOT
								original_tag = ROOT
								is_subject_of = ROOT
							}
						}
					}
				}
				ROOT = {
					create_wargoal = {
						type = annex_everything
						target = PREV
					}
				}
			}
			
		}
	

	}

	focus = {
		id = JAP_strike_down_the_great_pretender
		icon = GFX_focus_attack_soviet
		#mutually_exclusive = { focus =  }
		x = 0
		y = 2
		relative_position_id = JAP_the_pacific_union_of_soviet_socialist_republics

		prerequisite = { focus = JAP_the_pacific_union_of_soviet_socialist_republics } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			SOV = {
				exists = yes
				is_subject = no 
				has_government = communism
				NOT = {
					has_war_with = ROOT
					is_ally_with = ROOT
				}
			}
		}

		bypass = {
			SOV = {
				OR = {
					exists = no
					NOT = {
						has_government = communism
					}
					has_war_with = ROOT
					is_subject = yes 
				}
			}
		}

		will_lead_to_war_with = SOV

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			create_wargoal = {
				type = puppet_wargoal_focus
				target = SOV
			}	
			
		}
	

	}

	focus = {
		id = JAP_a_red_dawn_over_asia
		icon = GFX_focus_JAP_a_red_dawn_over_asia
		#mutually_exclusive = { focus =  }
		x = 0
		y = 1
		relative_position_id = JAP_strike_down_the_great_pretender

		prerequisite = { focus = JAP_strike_down_the_great_pretender } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			surrender_progress < 0.02
			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
			}
			523 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}

		bypass = {

		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {

			add_ideas = JAP_red_dawn_over_asia_idea
			
		}
	

	}

	focus = {
		id = JAP_to_rival_the_comintern
		icon = GFX_focus_generic_join_comintern
		#mutually_exclusive = { focus =  }
		x = -5
		y = 1
		relative_position_id = JAP_the_pacific_union_of_soviet_socialist_republics

		prerequisite = { focus = JAP_the_pacific_union_of_soviet_socialist_republics } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			is_in_faction = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			set_rule = { can_create_factions = yes }
			set_rule = { can_send_volunteers = yes }
			create_faction_from_template = faction_template_JAP_alternative_communist_international
			add_faction_initiative = 1
			
		}
	

	}

	focus = {
		id = JAP_wrestle_mongolia_from_the_soviets
		icon = GFX_focus_generic_befriend_mongolia
		#mutually_exclusive = { focus =  }
		x = 1
		y = 1
		relative_position_id = JAP_to_rival_the_comintern

		prerequisite = { focus = JAP_to_rival_the_comintern } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism
			is_faction_leader = yes
			is_subject = no
			MON = {
				exists = yes
				is_subject = no
				has_government = communism
				OR = {
					is_in_faction = no
					is_in_faction_with = SOV
				}
			}
		}

		bypass = {
			MON = {
				OR = {
					exists = no
					is_subject = yes
					is_ally_with = ROOT
					NOT = {
						has_government = communism
					}
					AND = {
						is_in_faction = yes
						NOT = {
							is_in_faction_with = SOV
						}
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			IF = {
				limit = {
					MON = {
						is_in_faction_with = SOV
					}
				}
				MON = {
					country_event = {
						id = SEA_japan_foreign_policy.124
						hours = 12
					}	
				}
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					add_to_faction = MON
				}
			}
			ELSE_IF = {
				limit = {
					MON = {
						is_in_faction = no
					}
				}
				MON = {
					country_event = {
						id = SEA_japan_foreign_policy.118
						hours = 12
					}	
				}
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					add_to_faction = MON
				}
			}
			
		}

	}

	focus = {
		id = JAP_wrestle_tuva_from_the_soviets
		icon = GFX_focus_generic_befriend_tannu_tuva
		#mutually_exclusive = { focus =  }
		x = 0
		y = 1
		relative_position_id = JAP_wrestle_mongolia_from_the_soviets

		prerequisite = { focus = JAP_wrestle_mongolia_from_the_soviets } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism
			is_faction_leader = yes
			is_subject = no
			TAN = {
				exists = yes
				is_subject = no
				has_government = communism
				OR = {
					is_in_faction = no
					is_in_faction_with = SOV
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {
				
			IF = {
				limit = {
					TAN = {
						is_in_faction_with = SOV
					}
				}
				TAN = {
					country_event = {
						id = SEA_japan_foreign_policy.124
						hours = 12
					}	
				}
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					add_to_faction = TAN
				}
			}
			ELSE_IF = {
				limit = {
					TAN = {
						is_in_faction = no
					}
				}
				TAN = {
					country_event = {
						id = SEA_japan_foreign_policy.118
						hours = 12
					}	
				}
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					add_to_faction = TAN
				}
			}
			
		}

	}

	focus = {
		id = JAP_spread_revolutionary_flames_to_south_asia
		icon = GFX_focus_JAP_spread_the_revolutionary_flame_to_south_asia
		#mutually_exclusive = { focus =  }
		x = -1
		y = 1
		relative_position_id = JAP_to_rival_the_comintern

		prerequisite = { focus = JAP_to_rival_the_comintern } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism
			is_subject = no
			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_spread_revolutionary_flames_to_south_asia_2_tt
				
			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_spread_revolutionary_flames_to_south_asia_tt
			
		}
	

	}

	focus = {
		id = JAP_spread_revolutionary_flames_to_west_asia
		icon = GFX_focus_JAP_spread_the_revolutionary_flame_to_west_asia
		#mutually_exclusive = { focus =  }
		x = 0
		y = 1
		relative_position_id = JAP_spread_revolutionary_flames_to_south_asia

		prerequisite = { focus = JAP_spread_revolutionary_flames_to_south_asia } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism
			is_subject = no
			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_spread_revolutionary_flames_to_west_asia_2_tt
				
			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_spread_revolutionary_flames_to_west_asia_tt
			
		}
	

	}

	focus = {
		id = JAP_trans_pacific_influence
		icon = GFX_focus_GER_align_south_america
		#mutually_exclusive = { focus =  }
		x = 0
		y = 3
		relative_position_id = JAP_to_rival_the_comintern

		prerequisite = { focus = JAP_to_rival_the_comintern } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism
			is_subject = no
			is_faction_leader = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			every_country = {
				limit = {
					capital_scope = {
						is_on_continent = south_america
					}
				}
				country_event = {
					id = SEA_japan_popup_events.36
					hours = 6
				}
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					add_timed_idea = {
						idea = JAP_fifth_international_agitation
						days = 720
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_trans_pacific_influence_tt
				
			
		}
	

	}

	###################################
	######### SEA DEMO POST-CW ########
	###################################

	focus = {
		id = JAP_organize_a_general_election
		icon = GFX_focus_generic_election
		mutually_exclusive = { focus = JAP_a_red_sun_rises_for_a_new_era }
		x = 9
		y = 2
		relative_position_id = JAP_revoke_the_peace_preservation_law

		allow_branch = {
			has_dlc = "No Compromise, No Surrender"
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = JAP_a_red_sun_rises_for_a_new_era
					has_completed_focus = JAP_sea_purge_the_kodoha_faction
					has_completed_focus = JAP_revere_the_emperor_destroy_the_traitors
				}
			}
		}

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


		prerequisite = { focus = JAP_revoke_the_peace_preservation_law } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = democratic
			has_civil_war = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {

			add_political_power = 50

			custom_effect_tooltip = generic_skip_one_line_tt

			country_event = {
				id = SEA_japan_popup_events.25
			}	

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

	focus = {
		id = JAP_rikken_minseito_victory
		icon = GFX_focus_JAP_rikken_minseito_victory
		mutually_exclusive = { focus = JAP_rikken_seiyukai_victory }
		x = -2
		y = 1
		relative_position_id = JAP_organize_a_general_election

		prerequisite = { focus = JAP_organize_a_general_election } 

		cost = 0

		ai_will_do = {
			factor = 1
		}

		available = {
			has_country_flag = JAP_rikken_minseito_victory_flag
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_COMPLETED_BY_EVENT FOCUS_FILTER_POLITICAL }

		completion_reward = {

			add_political_power = 50

			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			set_party_name = {
				ideology = democratic
				long_name = JAP_minseito_party_long
				name = JAP_minseito_party
			}
			
		}
	}

	focus = {
		id = JAP_rikken_seiyukai_victory
		icon = GFX_focus_JAP_rikken_seiyukai_victory
		mutually_exclusive = { focus = JAP_rikken_minseito_victory }
		x = 2
		y = 1
		relative_position_id = JAP_organize_a_general_election

		prerequisite = { focus = JAP_organize_a_general_election } 

		cost = 0

		ai_will_do = {
			factor = 1
		}

		available = {
			has_country_flag = JAP_rikken_seiyukai_victory_flag
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_COMPLETED_BY_EVENT FOCUS_FILTER_POLITICAL }

		completion_reward = {

			add_political_power = 50

			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			set_party_name = {
				ideology = democratic
				long_name = JAP_democratic_party_long
				name = JAP_democratic_party
			}
			
		}
	}

	focus = {
		id = JAP_promote_meritocracy
		icon = GFX_focus_generic_industrial_experts
		#mutually_exclusive = { focus = JAP_rikken_seiyukai_victory }
		x = -1
		y = 1
		relative_position_id = JAP_rikken_minseito_victory

		prerequisite = { focus = JAP_rikken_minseito_victory } 

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

		completion_reward = {

			add_ideas = JAP_industrial_meritocracy_idea 
			
		}
	}

	focus = {
		id = JAP_experimental_housing_solutions
		icon = GFX_focus_generic_low_cost_housing
		#mutually_exclusive = { focus = JAP_rikken_seiyukai_victory }
		x = 1
		y = 1
		relative_position_id = JAP_rikken_minseito_victory

		prerequisite = { focus = JAP_rikken_minseito_victory } 

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

		completion_reward = {

			add_ideas = JAP_metabolism_idea	
			
		}
	}

	focus = {
		id = JAP_minshu_shugi
		icon = GFX_focus_JAP_minshu_shugi
		#mutually_exclusive = { focus = JAP_rikken_seiyukai_victory }
		x = -1
		y = 1
		relative_position_id = JAP_experimental_housing_solutions

		prerequisite = { focus = JAP_experimental_housing_solutions } 
		prerequisite = { focus = JAP_promote_meritocracy } 

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

		completion_reward = {

			JAP_add_or_modify_civilian_cabinet = yes

			add_to_variable = { JAP_civilian_cabinet_political_power_factor = 0.05 tooltip = political_power_factor_tt }
			add_to_variable = { JAP_civilian_cabinet_stability_factor = 0.1 tooltip = stability_factor_tt }
				
			
		}
	}

	focus = {
		id = JAP_embrace_amakudari
		icon = GFX_focus_generic_conference
		#mutually_exclusive = { focus = JAP_rikken_seiyukai_victory }
		x = -1
		y = 1
		relative_position_id = JAP_rikken_seiyukai_victory

		prerequisite = { focus = JAP_rikken_seiyukai_victory } 

		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 }

		completion_reward = {
			
			add_ideas = JAP_amakudari_idea 
			
		}
	}

	focus = {
		id = JAP_agricultural_protectionism
		icon = GFX_goal_generic_defence
		#mutually_exclusive = { focus = JAP_rikken_seiyukai_victory }
		x = 1
		y = 1
		relative_position_id = JAP_rikken_seiyukai_victory

		prerequisite = { focus = JAP_rikken_seiyukai_victory } 

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

		completion_reward = {

			add_ideas = JAP_agricultural_protectionism_idea
			
		}
	}

	focus = {
		id = JAP_minpon_shugi
		icon = GFX_focus_JAP_minpon_shugi
		#mutually_exclusive = { focus = JAP_rikken_seiyukai_victory }
		x = -1
		y = 1
		relative_position_id = JAP_agricultural_protectionism

		prerequisite = { focus = JAP_agricultural_protectionism } 
		prerequisite = { focus = JAP_embrace_amakudari } 

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

		completion_reward = {

			JAP_add_or_modify_civilian_cabinet = yes

			add_to_variable = { JAP_civilian_cabinet_political_power_factor = 0.05 tooltip = political_power_factor_tt }
			add_to_variable = { JAP_civilian_cabinet_war_support_factor = 0.1 tooltip = war_support_factor_tt }
			
		}
	}

	focus = {
		id = JAP_machida_chuuji_focus
		icon = GFX_focus_JAP_machida_chujis_premiership
		mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus focus = JAP_abe_isoo_focus focus = JAP_tokugawa_iesato_focus focus = JAP_ichiro_hatoyama_focus }
		x = -2
		y = 1
		relative_position_id = JAP_minshu_shugi

		prerequisite = { focus = JAP_minshu_shugi } 

		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 }

		completion_reward = {
			
			IF = {
				limit = {
					NOT = {
						has_country_leader = {
							ruling_only = yes
							character = JAP_machida_chuuji
						}	
					}
					can_be_country_leader = JAP_machida_chuuji
				}
				promote_character = {
				    character = JAP_machida_chuuji
				    ideology = liberalism
				}
				JAP_machida_chuuji = {
					swap_country_leader_traits = {
					    remove = HUN_popular_liberal
					    add = JAP_minseito_leader
					    ideology = liberalism
					}
				}
			}
			ELSE_IF = {
				limit = {
					NOT = {
						has_country_leader = {
							ruling_only = yes
							character = JAP_machida_chuuji
						}	
					}
				}
				add_country_leader_role = {
					character = JAP_machida_chuuji
					promote_leader = yes
					country_leader = {
						ideology = liberalism
						expire = "1989.1.1.1"
						traits = { JAP_minseito_leader } 
					}
				}
			}
			ELSE = {
				add_political_power = 50
				custom_effect_tooltip = generic_skip_one_line_tt
				JAP_machida_chuuji = {
					swap_country_leader_traits = {
					    remove = HUN_popular_liberal
					    add = JAP_minseito_leader
					    ideology = liberalism
					}
				}
			}
			
		}
	}

	focus = {
		id = JAP_abe_isoo_focus
		icon = GFX_focus_JAP_abe_isoos_premiership
		mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus focus = JAP_machida_chuuji_focus focus = JAP_tokugawa_iesato_focus focus = JAP_ichiro_hatoyama_focus }
		x = 0
		y = 1
		relative_position_id = JAP_minshu_shugi

		prerequisite = { focus = JAP_minshu_shugi } 

		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 }

		completion_reward = {
			
			IF = {
				limit = {
					NOT = {
						has_country_leader = {
							ruling_only = yes
							character = JAP_abe_isoo
						}	
					}
				}
				add_country_leader_role = {
					character = JAP_abe_isoo
					promote_leader = yes
					country_leader = {
						ideology = socialism
						expire = "1989.1.1.1"
						traits = { JAP_shakai_taishuto_leader } 
					}
				}
			}
			ELSE = {
				add_political_power = 50
				custom_effect_tooltip = generic_skip_one_line_tt
				JAP_abe_isoo = {
					swap_country_leader_traits = {
					    remove = JAP_socialist_politician
					    add = JAP_shakai_taishuto_leader
					    ideology = socialism
					}
				}
			}
			
		}
	}

	focus = {
		id = JAP_uplift_labor_unions
		icon = GFX_focus_generic_social_democracy
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = 0
		y = 1
		relative_position_id = JAP_abe_isoo_focus

		prerequisite = { focus = JAP_abe_isoo_focus } 

		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_STABILITY FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL }

		completion_reward = {

			IF = {
				limit = {
					NOT = {
						has_idea = JAP_strong_unions_idea
					}
				}
				add_ideas = JAP_strong_unions_idea 
			}
			ELSE = {
				add_stability = 0.1
			}
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}	
			
			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_hisachi_aso
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_suzuki_bunji
			
		}
	}

	focus = {
		id = JAP_tokugawa_iesato_focus
		icon = GFX_focus_JAP_tokugawa_iesatos_premiership
		mutually_exclusive = { focus = JAP_abe_isoo_focus focus = JAP_machida_chuuji_focus focus = JAP_ichiro_hatoyama_focus focus = JAP_mitsumasa_yonai_focus }
		x = -2
		y = 1
		relative_position_id = JAP_minpon_shugi

		prerequisite = { focus = JAP_minpon_shugi focus = JAP_minshu_shugi } 

		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 }

		completion_reward = {
				
			IF = {
				limit = {
					NOT = {
						has_country_leader = {
							ruling_only = yes
							character = JAP_tokugawa_iesato
						}	
					}
				}
				add_country_leader_role = {
					character = JAP_tokugawa_iesato
					promote_leader = yes
					country_leader = {
						ideology = conservatism
						expire = "1989.1.1.1"
						traits = { JAP_the_tokugawa_heir } 
					}
				}
			}
			ELSE = {
				add_political_power = 50
				custom_effect_tooltip = generic_skip_one_line_tt
				JAP_tokugawa_iesato = {
					swap_country_leader_traits = {
					    remove = JAP_popular_diplomat
					    add = JAP_the_tokugawa_heir
					    ideology = conservatism
					}
				}
			}
			
		}
	}

	focus = {
		id = JAP_ichiro_hatoyama_focus
		icon = GFX_focus_JAP_ichiro_hatayomas_premiership
		mutually_exclusive = { focus = JAP_abe_isoo_focus focus = JAP_machida_chuuji_focus focus = JAP_tokugawa_iesato_focus focus = JAP_mitsumasa_yonai_focus }
		x = 0
		y = 1
		relative_position_id = JAP_minpon_shugi

		prerequisite = { focus = JAP_minpon_shugi } 

		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 }

		completion_reward = {
				
			IF = {
				limit = {
					NOT = {
						has_country_leader = {
							ruling_only = yes
							character = JAP_ichiro_hatoyama
						}	
					}
				}
				add_country_leader_role = {
					character = JAP_ichiro_hatoyama
					promote_leader = yes
					country_leader = {
						ideology = liberalism
						expire = "1989.1.1.1"
						traits = { JAP_rikken_seiyukai_leader } 
					}
				}
			}
			
		}
	}

	focus = {
		id = JAP_form_the_ldp
		icon = GFX_focus_JAP_form_the_ldp
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = 0
		y = 1
		relative_position_id = JAP_ichiro_hatoyama_focus

		prerequisite = { focus = JAP_ichiro_hatoyama_focus } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

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

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {

			IF = {
				limit = {
					has_country_leader = {
						ruling_only = yes
						character = JAP_ichiro_hatoyama
					}	
				}
				JAP_ichiro_hatoyama = {
					swap_country_leader_traits = {
					    remove = JAP_rikken_seiyukai_leader
					    add = JAP_ldp_leader
					    ideology = liberalism
					}
				}
			}
			ELSE = {
				add_country_leader_trait = JAP_ldp_leader
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			set_party_name = {
				ideology = democratic
				long_name = JAP_ldp_party_long
				name = JAP_ldp_party
			}
			
		}
	}

	focus = {
		id = JAP_mitsumasa_yonai_focus
		icon = GFX_focus_JAP_mitsumasa_yonais_premiership
		mutually_exclusive = { focus = JAP_abe_isoo_focus focus = JAP_machida_chuuji_focus focus = JAP_tokugawa_iesato_focus focus = JAP_ichiro_hatoyama_focus }
		x = 2
		y = 1
		relative_position_id = JAP_minpon_shugi

		prerequisite = { focus = JAP_minpon_shugi } 

		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 }

		completion_reward = {
				
			IF = {
				limit = {
					NOT = {
						has_country_leader = {
							ruling_only = yes
							character = JAP_mitsumasa_yonai
						}	
					}
				}
				add_country_leader_role = {
					character = JAP_mitsumasa_yonai
					promote_leader = yes
					country_leader = {
						ideology = conservatism
						expire = "1989.1.1.1"
						traits = { JAP_moderate_navy_leader } 
					}
				}
			}
			
		}
	}

	focus = {
		id = JAP_draft_the_showa_constitution
		icon = GFX_focus_JAP_draft_the_showa_constitution
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = 4
		y = 1
		relative_position_id = JAP_machida_chuuji_focus

		prerequisite = { focus = JAP_abe_isoo_focus focus = JAP_machida_chuuji_focus focus = JAP_tokugawa_iesato_focus focus = JAP_ichiro_hatoyama_focus focus = JAP_mitsumasa_yonai_focus } 

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

		completion_reward = {

			JAP_add_or_modify_civilian_cabinet = yes

			add_to_variable = { JAP_civilian_cabinet_political_power_factor = 0.15 tooltip = political_power_factor_tt }
			add_to_variable = { JAP_civilian_cabinet_justify_war_goal_time = 0.15 tooltip = justify_war_goal_time_tt }
			add_to_variable = { JAP_civilian_cabinet_democratic_drift = 0.1 tooltip = democratic_drift_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_koichi_kido
			
		}
	}

	focus = {
		id = JAP_limit_the_emperors_power
		icon = GFX_focus_NOR_restore_public_trust_in_the_storting
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = -1
		y = 1
		relative_position_id = JAP_draft_the_showa_constitution

		prerequisite = { focus = JAP_draft_the_showa_constitution } 

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

		completion_reward = {

			add_political_power = 50

			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_saionji_kinmochi
				
			
		}
	}

	focus = {
		id = JAP_ensure_civil_liberties
		icon = GFX_focus_ARG_defense_and_democracy
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = 1
		y = 1
		relative_position_id = JAP_draft_the_showa_constitution

		prerequisite = { focus = JAP_draft_the_showa_constitution } 

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

		completion_reward = {

			add_stability = 0.1

			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_akira_kurosawa
				
			
		}
	}

	focus = {
		id = JAP_crush_the_internal_factions
		icon = GFX_focus_JAP_crush_the_internal_factions
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = -1
		y = 1
		relative_position_id = JAP_ensure_civil_liberties

		prerequisite = { focus = JAP_limit_the_emperors_power focus = JAP_ensure_civil_liberties } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			JAP_civilian_government_faction_is_at_least_influential = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_IMPERIAL_INFLUENCE }

		completion_reward = {

			add_political_power = 120

			custom_effect_tooltip = generic_skip_one_line_tt
				
			JAP_big_government_faction_gain = yes
			
		}
	}

	focus = {
		id = JAP_democratic_war_with_manchukuo
		icon = GFX_focus_generic_attack_manchukuo
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = -3
		y = 1
		relative_position_id = JAP_crush_the_internal_factions

		prerequisite = { focus = JAP_crush_the_internal_factions } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			MAN = {
				exists = yes
				NOT = {
					is_ally_with = ROOT
					has_war_with = ROOT
				}
				has_country_flag = MAN_kwantung_army_took_control_flag
			}
		}

		bypass = {

		}

		will_lead_to_war_with = MAN

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt
				
			IF = {
				limit = {
					MAN = {
						exists = yes
						NOT = {
							has_war_with = ROOT
							is_ally_with = ROOT
						}
					}
				}
				create_wargoal = {
					type = topple_government
					target = MAN
					expire = 0
				}
			}
			IF = {
				limit = {
					SOV = {
						owns_state = 610
						owns_state = 716
						owns_state = 328
						owns_state = 715
						owns_state = 714
						owns_state = 717
					}
				}
				create_wargoal = {
					target = SOV
					type = take_state_focus
					expire = 0
					generator = { 610 716 328 715 714 717 }
				}
			}
			unlock_decision_tooltip = JAP_return_manchuria
			custom_effect_tooltip = JAP_liberate_manchuria_tt
			
		}
	}

	focus = {
		id = JAP_democratic_war_with_china
		icon = GFX_focus_attack_china
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = -6
		y = 1
		relative_position_id = JAP_crush_the_internal_factions

		prerequisite = { focus = JAP_crush_the_internal_factions } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			any_country = {
				NOT = {
					is_ally_with = ROOT
					has_war_with = ROOT
				}
				owns_state = 613
			}
		}

		bypass = {
			613 = {
				OR = {
					is_owned_by = ROOT
					OWNER = {
						is_ally_with = ROOT
					}
					OWNER = {
						has_war_with = ROOT
					}
				}
			}
		}

		will_lead_to_war_with = CHI

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ANNEXATION }

		completion_reward = {
				
			613 = {
				OWNER = {
					country_event = {
						id = SEA_japan_popup_events.19
						hours = 12
						random_hours =16
					}	
				}
			}
			effect_tooltip = {
				add_war_support = 0.05

				IF = {
					limit = {
						NOT = {
							has_completed_focus = JAP_subdue_the_kwantung_army
							has_completed_focus = JAP_revoke_the_peace_preservation_law
						}
					}
					custom_effect_tooltip = JAP_first_strike_blocked_due_to_kwantung_army_tt
				}

				custom_effect_tooltip = generic_skip_one_line_tt

				IF = {
					limit = {
						CHI = {
							exists = yes
							owns_state = 613
							NOT = {
								is_ally_with = ROOT
								has_war_with = ROOT
							}
						}
					}
					hidden_effect = {
						IF = {
							limit = {
								NOT = {
									has_completed_focus = JAP_subdue_the_kwantung_army
									has_completed_focus = JAP_revoke_the_peace_preservation_law
								}
							}
							CHI = {
								set_country_flag = JAP_first_strike_principle_blocked
							}
						}
					}
					declare_war_on = {
						target = CHI
						type = annex_everything
					}
					IF = {
						limit = {
							MAN = {
								is_subject_of = ROOT
								NOT = {
									OR = {
										has_completed_focus = MAN_assertiveness
										has_completed_focus = MAN_tsr_assertiveness
									}
								}
							}
						}
						MAN = {
							add_to_war = {
							    targeted_alliance = ROOT
							    enemy = CHI
							    hostility_reason = asked_to_join
							}
						}
					}
					custom_effect_tooltip = generic_skip_one_line_tt
				}
				ELSE_IF = {
					limit = {
						613 = {
							OWNER = {
								NOT = {
									tag = CHI
								}
							}
						}
					}

					hidden_effect = {
						IF = {
							limit = {
								NOT = {
									has_completed_focus = JAP_subdue_the_kwantung_army
									has_completed_focus = JAP_revoke_the_peace_preservation_law
								}
							}
							613 = {
								OWNER = {
									set_country_flag = JAP_first_strike_principle_blocked
								}
							}
						}
					}

					613 = {
						OWNER = {
							ROOT = {
								declare_war_on = {
									target = PREV
									type = annex_everything
								}
							}
						}
					}

				}
			}
			
		}
	}

	focus = {
		id = JAP_closer_ties_with_the_usa
		icon = GFX_focus_generic_befriend_usa
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = 0
		y = 1
		relative_position_id = JAP_democratic_war_with_china

		prerequisite = { focus = JAP_democratic_war_with_china } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			USA = {
				has_government = democratic
				NOT = {
					has_war_with = ROOT
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			USA = {
				country_event = {
					id = SEA_japan_foreign_policy.92
					hours = 6
					random_hours = 24
				}	
			}
			
		}
	}

	focus = {
		id = JAP_ally_the_philippines
		icon = GFX_focus_generic_befriend_philippines
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = 0
		y = 2
		relative_position_id = JAP_closer_ties_with_the_usa

		prerequisite = { focus = JAP_closer_ties_with_the_usa } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

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

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			PHI = {
				country_event = {
					id = SEA_japan_foreign_policy.118
					days = 2
					random_days = 2
				}	
			}
			#custom_effect_tooltip = if_they_accept_tt
			#effect_tooltip = {
			#	ROOT = {
			#		add_to_faction = PHI
			#	}
			#}
			
		}
	}

	focus = {
		id = JAP_strike_the_soviets
		icon = GFX_focus_attack_soviet
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = -1
		y = 2
		relative_position_id = JAP_democratic_war_with_china

		prerequisite = { focus = JAP_democratic_war_with_china } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			SOV = {
				exists = yes
				NOT = {
					is_ally_with = ROOT
					has_war_with = ROOT
				}
			}
			any_owned_state = {
				any_neighbor_state = {
					is_owned_by = SOV
				}
			}
		}

		bypass = {

		}

		will_lead_to_war_with = SOV

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
				
			create_wargoal = {
				type = annex_everything
				target = SOV
				expire = 0
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			add_timed_idea = {
				idea = JAP_second_russo_japanese_war_fervor_idea
				days = 180
			}	
			
		}
	}

	focus = {
		id = JAP_free_colonized_asian_countries
		icon = GFX_focus_JAP_free_colonised_asian_countries
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = -2
		y = 1
		relative_position_id = JAP_democratic_war_with_china

		prerequisite = { focus = JAP_democratic_war_with_china } 

		cost = 10

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

		completion_reward = {
				
			custom_effect_tooltip = JAP_free_colonized_asian_countries_tt
			
		}
	}

	focus = {
		id = JAP_fund_resistance_groups_in_asia
		icon = GFX_focus_GER_support_the_proletarian_uprising
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = 0
		y = 2
		relative_position_id = JAP_free_colonized_asian_countries

		prerequisite = { focus = JAP_free_colonized_asian_countries } 

		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 }

		completion_reward = {

			add_political_power = 50
			add_command_power = 25
			set_rule = { can_send_volunteers = yes }

			custom_effect_tooltip = generic_skip_one_line_tt
				
			custom_effect_tooltip = JAP_fund_resistance_groups_in_asia_tt
			JAP_set_up_asian_resistance_states = yes

		}
	}

	focus = {
		id = JAP_sea_rekindle_the_old_alliance
		icon = GFX_focus_chi_british_cooperation
		prerequisite = { focus = JAP_crush_the_internal_factions }
		mutually_exclusive = { focus = JAP_create_greater_east_asian_treaty_organization }
		x = -2
		y = 2
		relative_position_id = JAP_crush_the_internal_factions

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = democratic
			is_subject = no
			ENG = {
				has_government = democratic
				#is_faction_leader = yes
			}
			NOT = { has_war_with = ENG }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {
			IF = {
				limit = {
					ENG = {
						is_faction_leader = yes
						has_government = democratic
					}
				}
				ENG = { country_event = generic.2 }
			}
			ELSE_IF = {
				limit = {
					ENG = {
						is_in_faction = yes
						is_faction_leader = no
						has_government = democratic
					}
				}
				random_country = {
					limit = {
						is_in_faction_with = ENG
						is_faction_leader = yes
					}
					country_event = generic.2
				}
			}
			ELSE = {
				set_rule = { can_create_factions = yes }
				create_faction_from_template = faction_template_JAP_the_old_alliance
				ENG = { country_event = generic.5 }
			}
		}
	}

	focus = {
		id = JAP_guardian_of_the_pacific
		icon = GFX_focus_usa_focus_on_asia
		prerequisite = { focus = JAP_sea_rekindle_the_old_alliance }
		#mutually_exclusive = { focus = JAP_create_greater_east_asian_treaty_organization }
		x = 0
		y = 2
		relative_position_id = JAP_sea_rekindle_the_old_alliance

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = democratic
			is_subject = no
			ENG = {
				is_in_faction_with = ROOT
				OR = {
					has_subject = MAL
					has_subject = BRM
					has_subject = SAR
					has_subject = SAB
					has_subject = BRN
					has_subject = INS
					has_subject = SIA
					has_subject = PHI
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			ENG = {
				country_event = {
					id = SEA_japan_foreign_policy.112
					hours = 12
					random_hours = 24
				}	
			}

		}
	}

	focus = {
		id = JAP_create_greater_east_asian_treaty_organization
		icon = GFX_focus_jap_pacific_guardian
		mutually_exclusive = { focus = JAP_sea_rekindle_the_old_alliance }
		x = 2
		y = 1
		relative_position_id = JAP_democratic_war_with_china

		prerequisite = { focus = JAP_democratic_war_with_china } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_in_faction = no
			is_subject = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {
				
			set_rule = { can_create_factions = yes }
			create_faction_from_template = faction_template_JAP_west_pacific_treaty_organization
			add_faction_initiative = 1

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_create_greater_east_asian_treaty_organization_tt

		}
	}

	focus = {
		id = JAP_form_greater_east_asian_customs_union
		icon = GFX_focus_GER_customs_union
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = -1
		y = 1
		relative_position_id = JAP_create_greater_east_asian_treaty_organization

		prerequisite = { focus = JAP_create_greater_east_asian_treaty_organization } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			is_faction_leader = yes
			num_faction_members > 1
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
				
			IF = {
				limit = {
					NOT = {
						any_other_country = {
							is_ally_with = ROOT
						}
					}
				}
				custom_effect_tooltip = GER_trade_agreements_tt
				show_ideas_tooltip = JAP_customs_union_trade_idea
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			ELSE = {
				every_other_country = {
					limit = { 
						is_ally_with = ROOT 
					}
					set_country_flag = JAP_trade_agreement_event_flag #This flag prevents countries that receive the event below from showing up in the Decision
					country_event = {
						id = SEA_japan_foreign_policy.97
						hours = 6
						random_hours = 12
					}
				}
				custom_effect_tooltip = if_they_accept_tt
				
				custom_effect_tooltip = they_will_gain_tt
				show_ideas_tooltip = JAP_customs_union_trade_idea
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			custom_effect_tooltip = JAP_form_greater_east_asian_customs_union_tt
			
		}
	}

	focus = {
		id = JAP_form_greater_east_asian_currency_union
		icon = GFX_focus_generic_monetary_union
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = 1
		y = 1
		relative_position_id = JAP_create_greater_east_asian_treaty_organization

		prerequisite = { focus = JAP_create_greater_east_asian_treaty_organization } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			is_faction_leader = yes
			any_other_country = {
				is_ally_with = ROOT
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
				
			add_ideas = JAP_pacific_customs_union_member
			custom_effect_tooltip = GER_pool_technical_know_how_tt
			hidden_effect = {
				every_other_country = {
					limit = { is_ally_with = JAP }
					add_ideas = JAP_pacific_customs_union_member
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_form_greater_east_asian_currency_union_tt
			
		}
	}

	focus = {
		id = JAP_an_integrated_union
		icon = GFX_focus_JAP_an_integrated_union
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = -1
		y = 1
		relative_position_id = JAP_form_greater_east_asian_currency_union

		prerequisite = { focus = JAP_form_greater_east_asian_currency_union } 
		prerequisite = { focus = JAP_form_greater_east_asian_customs_union } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			is_faction_leader = yes
			any_other_country = {
				is_ally_with = ROOT
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_ANNEXATION }

		completion_reward = {
				
			swap_ideas = {
				remove_idea = JAP_pacific_customs_union_member
				add_idea = JAP_pacific_customs_union_member_upgraded
			}	

			IF = {
				limit = {
					NOT = {
						any_other_country = {
							is_in_faction_with = ROOT
						}
					}
				}
				custom_effect_tooltip = JAP_an_integrated_union_tt
				custom_effect_tooltip = if_they_accept_tt
				custom_effect_tooltip = they_will_gain_tt
				show_ideas_tooltip = JAP_pacific_integrated_customs_union_member
				custom_effect_tooltip = generic_skip_one_line_tt
			} 
			ELSE = {
				every_other_country = {
					limit = { 
						is_in_faction_with = ROOT 
						has_idea = JAP_pacific_customs_union_member
					}
					set_country_flag = JAP_has_sent_invitation_for_integration_once_already_flag #So that this/these countries don't show up in the Integrated Economies Decisions aswell
					country_event = {
						id = SEA_japan_foreign_policy.103
						hours = 6
						random_hours = 12
					}	
				}
				custom_effect_tooltip = if_they_accept_tt
				
				custom_effect_tooltip = they_will_gain_tt
				show_ideas_tooltip = JAP_pacific_integrated_customs_union_member
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			
			custom_effect_tooltip = JAP_an_integrated_union_2_tt

		}
	}

	focus = {
		id = JAP_greater_east_asian_federation
		icon = GFX_focus_JAP_the_greater_east_asian_federation
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = 1
		y = 1
		relative_position_id = JAP_an_integrated_union

		prerequisite = { 
			focus = JAP_an_integrated_union 
			focus = JAP_guardian_of_the_pacific 
		} 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {	
			has_government = democratic
			is_subject = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {

			custom_effect_tooltip = JAP_greater_east_asian_federation_2_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_greater_east_asian_federation_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = JAP_allied_civilian_administration_integration_tt
				
			hidden_effect = {
				set_cosmetic_tag = JAP_pacific_union
			}

		}
	}

	focus = {
		id = JAP_democratic_womens_suffrage
		icon = GFX_focus_AUS_womens_education_initiative
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = 0
		y = 1
		relative_position_id = JAP_crush_the_internal_factions

		prerequisite = { focus = JAP_crush_the_internal_factions } 

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

		completion_reward = {

			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}	

			add_stability = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_ichikawa_fusae
				
			
		}
	}

	focus = {
		id = JAP_launch_the_income_doubling_plan
		icon = GFX_focus_JAP_launch_the_income_doubling_plan
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = 5
		y = 1
		relative_position_id = JAP_crush_the_internal_factions

		prerequisite = { focus = JAP_crush_the_internal_factions } 

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

		completion_reward = {

			add_tech_bonus = {
				bonus = 0.5
				uses = 3
				category = electronics
				category = industry
				name = JAP_launch_the_income_doubling_plan
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_osamu_shimomura
				
			
		}
	}

	focus = {
		id = JAP_reform_the_education_system
		icon = GFX_focus_generic_university_2
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = -3
		y = 1
		relative_position_id = JAP_launch_the_income_doubling_plan

		prerequisite = { focus = JAP_launch_the_income_doubling_plan } 

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

		completion_reward = {

			JAP_add_or_modify_early_industrialization = yes

			add_to_variable = { JAP_industry_research_speed_factor = 0.1 tooltip = research_speed_factor_tt }

			#custom_effect_tooltip = generic_skip_one_line_tt

			#custom_effect_tooltip = available_industrial_concern
			#show_ideas_tooltip = doumei_tsushin

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_taketora_ogata
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_yoshihige_abe
			
		}
	}

	focus = {
		id = JAP_democratic_women_in_the_workforce
		icon = GFX_focus_ARG_women_in_industry
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = -2
		y = 1
		relative_position_id = JAP_reform_the_education_system

		prerequisite = { focus = JAP_reform_the_education_system } 
		prerequisite = { focus = JAP_democratic_womens_suffrage } 

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

		completion_reward = {

			JAP_add_or_modify_civilian_cabinet = yes

			add_to_variable = { JAP_civilian_cabinet_conscription = 0.03 tooltip = conscription_tt }

			custom_effect_tooltip = generic_skip_one_line_tt
				
			add_war_support = 0.05
			
		}
	}

	focus = {
		id = JAP_taiheyo_belt
		icon = GFX_focus_JAP_taiheiyo_belt
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = -1
		y = 1
		relative_position_id = JAP_launch_the_income_doubling_plan

		prerequisite = { focus = JAP_launch_the_income_doubling_plan } 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			282 = { #Kanto (Tokyo)
				is_fully_controlled_by = ROOT
			}
			532 = { #Tokai
				is_fully_controlled_by = ROOT
			}
			531 = { #Kansai (Kyoto)
				is_fully_controlled_by = ROOT				
			}
			529 = { #Sanyo (Hiroshima)
				is_fully_controlled_by = ROOT				
			}
			528 = { #Hokubu Kyushu (Fukuoka)
				is_fully_controlled_by = ROOT				
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {

			add_tech_bonus = {
				bonus = 0.75
				uses = 1
				category = construction_tech
				name = JAP_taiheyo_belt
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			#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_taiheyo_belt_modifier }
				}
			}
			ELSE = {
				282 = {
					add_extra_state_shared_building_slots = 1
					add_dynamic_modifier = { modifier = JAP_taiheyo_belt_modifier }
				}
			}

			#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_taiheyo_belt_modifier }
				}
			}
			ELSE = {
				532 = { 
					add_extra_state_shared_building_slots = 1
					add_dynamic_modifier = { modifier = JAP_taiheyo_belt_modifier }
				}
			}

			#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_taiheyo_belt_modifier }
				}
			}
			ELSE = {
				531 = { 
					add_extra_state_shared_building_slots = 1
					add_dynamic_modifier = { modifier = JAP_taiheyo_belt_modifier }
				}
			}

			#Sanyo (Hiroshima)
			IF = {
				limit = {
					529 = { 
						infrastructure < 5
					}
				}
				529 = { 
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
					add_dynamic_modifier = { modifier = JAP_taiheyo_belt_modifier }
				}
			}
			ELSE = {
				529 = { 
					add_extra_state_shared_building_slots = 1
					add_dynamic_modifier = { modifier = JAP_taiheyo_belt_modifier }
				}
			}

			#Hokubu Kyushu (Fukuoka)
			IF = {
				limit = {
					528 = { 
						infrastructure < 5
					}
				}
				528 = { 
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 1
					add_dynamic_modifier = { modifier = JAP_taiheyo_belt_modifier }
				}
			}
			ELSE = {
				528 = { 
					add_extra_state_shared_building_slots = 1
					add_dynamic_modifier = { modifier = JAP_taiheyo_belt_modifier }
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_uzo_nishiyama
				
			
		}
	}

	focus = {
		id = JAP_shinkansen
		icon = GFX_focus_JAP_shinkansen
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = 1
		y = 1
		relative_position_id = JAP_launch_the_income_doubling_plan

		prerequisite = { focus = JAP_launch_the_income_doubling_plan } 

		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_POLITICAL_CHARACTER FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY FOCUS_FILTER_RESEARCH }

		completion_reward = {

			add_timed_idea = {
				idea = JAP_shinkansen_construction_idea
				days = 730
			}	
			custom_effect_tooltip = JAP_shinkansen_tt
			effect_tooltip = {
				add_ideas = JAP_shinkansen_in_operation_idea
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = JAP_hideo_shima
				
			
		}
	}

	focus = {
		id = JAP_pursue_international_trade
		icon = GFX_goal_generic_positive_trade_relations
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = 3
		y = 1
		relative_position_id = JAP_launch_the_income_doubling_plan

		prerequisite = { focus = JAP_launch_the_income_doubling_plan } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {
			
			JAP_add_or_modify_civilian_cabinet = yes

			add_to_variable = { JAP_civilian_cabinet_resource_trade_cost_bonus_per_factory = 1 tooltip = resource_trade_cost_bonus_per_factory_tt }
			
		}
	}

	focus = {
		id = JAP_seek_foreign_investments
		icon = GFX_focus_generic_currency_reforms
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = 1
		y = 1
		relative_position_id = JAP_pursue_international_trade

		prerequisite = { focus = JAP_pursue_international_trade } 

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

		completion_reward = {

			custom_effect_tooltip = JAP_seek_foreign_investments_tt
			
		}
	}

	focus = {
		id = JAP_invest_in_foreign_industries
		icon = GFX_focus_GER_factories_for_resources
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = -1
		y = 1
		relative_position_id = JAP_pursue_international_trade

		prerequisite = { focus = JAP_pursue_international_trade } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {
				
			custom_effect_tooltip = JAP_invest_in_foreign_industries_tt
			
		}
	}

	focus = {
		id = JAP_democratic_foreign_exchange_allocation_policy
		icon = GFX_focus_JAP_foreign_exchange_allocation_policy
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = 1
		y = 1
		relative_position_id = JAP_invest_in_foreign_industries

		prerequisite = { focus = JAP_invest_in_foreign_industries } 
		prerequisite = { focus = JAP_seek_foreign_investments } 

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

		completion_reward = {
				
			JAP_add_or_modify_early_industrialization = yes

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

	focus = {
		id = JAP_democratic_research_slot
		icon = GFX_focus_research
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = -1
		y = 1
		relative_position_id = JAP_taiheyo_belt

		prerequisite = { focus = JAP_taiheyo_belt } 
		prerequisite = { focus = JAP_reform_the_education_system } 

		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_research_slot = 1

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

				JAP_add_or_modify_civilian_cabinet = yes

				add_to_variable = { JAP_civilian_cabinet_military_industrial_organization_research_bonus = 0.1 tooltip = military_industrial_organization_research_bonus_tt }
			}
			
		}
	}

	focus = {
		id = JAP_offshore_coal
		icon = GFX_focus_JAP_expand_coal_islands
		#mutually_exclusive = { focus = JAP_mitsumasa_yonai_focus }
		x = 1
		y = 1
		relative_position_id = JAP_taiheyo_belt

		prerequisite = { focus = JAP_taiheyo_belt focus = JAP_shinkansen } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			528 = {
				is_fully_controlled_by = ROOT
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {

			528 = {
				add_resource = {
					type = coal
					amount = 25
				}	
			}	
			
		}
	}

	focus = {
		id = JAP_democratic_nationalize_zaibatsus
		icon = GFX_focus_JAP_nationalize_zaibatsus
		mutually_exclusive = { focus = JAP_democratic_work_with_the_zaibatsus focus = JAP_split_uo_zaibatsu_monopolies }
		x = 1
		y = 1
		relative_position_id = JAP_offshore_coal

		prerequisite = { focus = JAP_offshore_coal focus = JAP_democratic_research_slot } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			JAP_civilian_government_faction_is_at_least_influential = yes
			JAP_zaibatsu_faction_is_at_most_meddling = 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_owned_and_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 3
						include_locked = yes
					}	
				}
				prioritize = { 532 531 282 529 528 } 
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = industrial_complex
					level = 4
					instant_build = yes
				}	
			}	

			custom_effect_tooltip = generic_skip_one_line_tt
				
			JAP_big_zaibatsu_faction_loss = yes
			
		}
	}

	focus = {
		id = JAP_split_uo_zaibatsu_monopolies
		icon = GFX_focus_JAP_oppose_zaibatsus
		mutually_exclusive = { focus = JAP_democratic_work_with_the_zaibatsus focus = JAP_democratic_nationalize_zaibatsus }
		x = -1
		y = 1
		relative_position_id = JAP_offshore_coal

		prerequisite = { focus = JAP_offshore_coal focus = JAP_democratic_research_slot } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			JAP_civilian_government_faction_is_at_least_influential = yes
			JAP_zaibatsu_faction_is_at_most_meddling = 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_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.05 tooltip = production_speed_industrial_complex_factor_tt }
			add_to_variable = { JAP_industry_production_speed_arms_factory_factor = 0.05 tooltip = production_speed_arms_factory_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt
				
			JAP_small_zaibatsu_faction_loss = yes
			
		}
	}

	focus = {
		id = JAP_democratic_work_with_the_zaibatsus
		icon = GFX_focus_jap_zaibatsu
		mutually_exclusive = { focus = JAP_split_uo_zaibatsu_monopolies focus = JAP_democratic_nationalize_zaibatsus }
		x = -3
		y = 1
		relative_position_id = JAP_offshore_coal

		prerequisite = { focus = JAP_offshore_coal focus = JAP_democratic_research_slot } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			JAP_civilian_government_faction_is_at_least_influential = yes
			JAP_zaibatsu_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 = {

			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

			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.05 tooltip = production_speed_industrial_complex_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt
				
			JAP_big_zaibatsu_faction_gain = yes
			
		}
	}

	focus = {
		id = JAP_lifetime_employment
		icon = GFX_focus_generic_full_employment
		#mutually_exclusive = {  }
		x = -1
		y = 1
		relative_position_id = JAP_split_uo_zaibatsu_monopolies

		prerequisite = { focus = JAP_split_uo_zaibatsu_monopolies focus = JAP_democratic_work_with_the_zaibatsus focus = JAP_democratic_nationalize_zaibatsus } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = {  }

		completion_reward = {
				
			JAP_add_or_modify_early_industrialization = yes

			add_to_variable = { JAP_industry_production_factory_efficiency_gain_factor = 0.1 tooltip = production_factory_efficiency_gain_factor_tt }
			
		}
	}

	focus = {
		id = JAP_modernize_agriculture
		icon = GFX_focus_generic_modernize_agriculture_2
		#mutually_exclusive = {  }
		x = 1
		y = 1
		relative_position_id = JAP_split_uo_zaibatsu_monopolies

		prerequisite = { focus = JAP_split_uo_zaibatsu_monopolies focus = JAP_democratic_work_with_the_zaibatsus focus = JAP_democratic_nationalize_zaibatsus } 

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

		completion_reward = {

			every_core_state = {
				limit = {
					is_fully_controlled_by = PREV
					OR = {
						has_state_category = rural
						has_state_category = large_town
						has_state_category = town
					}
					
				}
				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_civilian_nuclear_reactor_investments
		icon = GFX_focus_generic_nuclear_development
		#mutually_exclusive = {  }
		x = -1
		y = 1
		relative_position_id = JAP_modernize_agriculture

		prerequisite = { focus = JAP_modernize_agriculture } 
		prerequisite = { focus = JAP_lifetime_employment } 

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

			custom_effect_tooltip = generic_skip_one_line_tt

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

		}
	}





	###############################
	######### 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 = 10

		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 = 10

		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 = 10

		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 = 10

		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 = 10

		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 = 10

		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 = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						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 = {
			focus = JAP_rely_on_supremacy_of_the_will
		}

		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 = 10

		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 = 0.25
				uses = 1
				category = cat_mechanized_equipment
			}
			add_doctrine_cost_reduction = {
				name = JAP_rethink_armor_doctrine
				cost_reduction = 0.25
				uses = 1
				category = land_doctrine
			}
			add_tech_bonus = {
				name = JAP_rethink_armor_doctrine
				bonus = 0.5
				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 = 10

		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 = 10

		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 = {
			focus = JAP_reform_the_army
		}

		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 = 10

		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 = 10

		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 = 10

		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 = 10

		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 = 10

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

			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 = 10

		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 = {
			has_war = yes
		}

		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
			
		}

	}

	










}
