focus_tree = {
	id = japan_wtt_focus
	country = {
		factor = 0
		modifier = {
			add = 10
			tag = JAP
		}
	}
	default = no
	
	continuous_focus_position = { x = 20 y = 1200 }
	
		focus = {
		id = JAP_the_unthinkable_option
		icon = GFX_goal_support_communism
		mutually_exclusive = {
			focus = JAP_purge_the_kodoha_faction
			focus = JAP_support_the_kodoha_faction
			focus = JAP_strengthen_civilian_government
		}
		x = 3
		y = 0

		cost = 10

		ai_will_do = {
			factor = 2
		}

		allow_branch = {
			has_dlc = "Waking the Tiger"
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					OR = {
						has_completed_focus = JAP_purge_the_kodoha_faction
						has_completed_focus = JAP_support_the_kodoha_faction
						has_completed_focus = JAP_strengthen_civilian_government
					}
				}
			}
		}

		available = {

		}

		bypass = {
			has_government = communism
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_ideas = JAP_the_unthinkable_option
			if = {
		    	limit = {
		    	    has_DLC = "Waking the Tiger"
		    	}
		    	custom_effect_tooltip = available_political_advisor
		    	show_ideas_tooltip = sanzo_nosaka
			}
			add_political_power = 200
			hidden_effect = {
				if = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
			}
		}
	}
	focus = { #test
		id = JAP_purge_the_kodoha_faction
		icon = GFX_goal_generic_major_war
		mutually_exclusive = { focus = JAP_the_unthinkable_option focus = JAP_support_the_kodoha_faction focus = JAP_strengthen_civilian_government }
		x = 13
		y = 0
		relative_position_id = JAP_the_unthinkable_option
		offset = {
			x = -10
			y = 0
			trigger = {
				OR = {
					NOT = { has_dlc = "Waking the Tiger" }
					AND = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
						has_completed_focus = JAP_purge_the_kodoha_faction
					}
				}
			}
		}

		cost = 10

		ai_will_do = {
			factor = 4
		}

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

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_stability = 0.1
            add_timed_idea = { idea = JAP_military_purges days = 240 }
			hidden_effect = {
				if = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
			}
		}
	}
	focus = { #test
		id = JAP_support_the_kodoha_faction
		icon = GFX_goal_generic_military_deal
		mutually_exclusive = { focus = JAP_purge_the_kodoha_faction focus = JAP_the_unthinkable_option focus = JAP_strengthen_civilian_government }
		x = 5
		y = 0
		relative_position_id = JAP_purge_the_kodoha_faction

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

		offset = {
			x = -0
			y = 0
			trigger = {
				NOT = { has_dlc = "Waking the Tiger" }
			}
		}

		cost = 5

		ai_will_do = {
			factor = 3
		}

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

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_political_power = 100
			set_party_name = { 
			    ideology = neutrality 
			    long_name = JAP_neutrality_party_kodoha_long 
			    name = JAP_neutrality_party_kodoha 
			}
			hidden_effect = {
				if = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
			}
		}
	}
	focus = {
		id = JAP_strengthen_civilian_government
		icon = GFX_goal_support_democracy
		mutually_exclusive = { focus = JAP_purge_the_kodoha_faction focus = JAP_support_the_kodoha_faction focus = JAP_the_unthinkable_option }
		x = -11
		y = 0
		relative_position_id = JAP_support_the_kodoha_faction

		offset = {
			x = 0
			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 = {
			has_dlc = "Waking the Tiger"
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					OR = {
						has_completed_focus = JAP_purge_the_kodoha_faction
						has_completed_focus = JAP_support_the_kodoha_faction
						has_completed_focus = JAP_the_unthinkable_option
					}
				}
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_political_power = 120
			add_timed_idea = { idea = JAP_strengthen_civilian_government days = 1095 }
			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_army_expansion
		icon = GFX_goal_generic_army_artillery
		cost = 10.00
		x = 29
		y = 0
			ai_will_do = {
					factor = 15
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
			        army_experience = 15
					custom_effect_tooltip = available_chief_of_army
					show_ideas_tooltip = hajime_sugiyama
				}

	}
	focus = {
		id = JAP_supremacy_of_the_battlefleet
		icon = GFX_focus_generic_navy_battleship2
		cost = 10.00
		x = 34
		y = 0
			ai_will_do = {
					factor = 6
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
			add_tech_bonus = {
				name = JAP_supremacy_of_the_battlefleet
				bonus = 1.0
				uses = 1
				category = bb_tech
			}
			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_approach_the_young_officers
		icon = GFX_focus_generic_military_mission
		cost = 10.00
		prerequisite = {
			focus = JAP_the_unthinkable_option
		}
		x = 2
		y = 1
			ai_will_do = {
					factor = 100
				}
			available = {

}
			bypass = {
					has_government = communism
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			complete_tooltip = {

}
			completion_reward = {
		            add_timed_idea = { idea = JAP_military_purges days = 240 }
					custom_effect_tooltip = JAP_approach_the_young_officers_tt
			hidden_effect = {
				create_corps_commander = {
					traits = { JAP_communist_sympathizer trickster}
					id = 750 #communist general 1
					attack_skill = 3
					defense_skill = 4
					planning_skill = 3
					logistics_skill = 2
					skill = 3
				}
				create_corps_commander = {
					traits = { JAP_communist_sympathizer trait_mountaineer trait_cautious}
					id = 751 #communist general 2
					attack_skill = 3
					defense_skill = 2
					planning_skill = 2
					logistics_skill = 2
					skill = 2
				}
				create_corps_commander = {
					traits = { JAP_communist_sympathizer trait_reckless politically_connected}
					id = 752 #communist general 3
					attack_skill = 4
					defense_skill = 2
					planning_skill = 3
					logistics_skill = 3
					skill = 3
				}
			}
					add_war_support = -0.05
				}

	}
	focus = {
		id = JAP_exchange_the_exiles
		icon = GFX_goal_generic_forceful_treaty
		cost = 10.00
		prerequisite = {
			focus = JAP_the_unthinkable_option
		}
		x = 4
		y = 1
			ai_will_do = {
					factor = 100
				}
			available = {

}
			bypass = {
					has_government = communism
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			complete_tooltip = {

}
			completion_reward = {
					add_stability = -0.1
					remove_ideas = JAP_militarism
					
		    every_state = {
			      limit = {
				       is_owned_by = FROM
				       is_core_of = event_target:WTT_current_china_leader
			      }
			      event_target:WTT_current_china_leader = { transfer_state = PREV }
				 }
				 
					MAN = {
							add_ideas = MAN_militarism
						}
					MAN = {
							country_event = wtt_japan.21
							custom_effect_tooltip = JAP_if_man_accepts
							effect_tooltip = {
									global_every_army_leader = {
											limit = {
													OWNER = {
															tag = ROOT
														}
													has_trait = JAP_samurai_lineage
												}
											set_nationality = PREV
										}
								}
						}
					if = {
							limit = {
									MAN = {
											is_subject_of = ROOT
										}
								}
							set_autonomy = {
									target = MAN
									autonomy_state = autonomy_free
								}
						}
					if = {
							limit = {
									MAN = {
											has_idea = MAN_kwantung_veto
										}
								}
							MAN = {
									remove_ideas = MAN_kwantung_veto
								}
						}
					if = {
							limit = {
									MEN = {
											is_subject_of = ROOT
										}
								}
							MAN = {
									puppet = MEN
								}
						}
					if = {
							limit = {
									MAN = {
											NOT = {
													has_completed_focus = MAN_independence_war
												}
										}
								}
							MAN = {
									create_faction = MAN_JAP_fascism_autonomy_colony
								}
						}
						if = {
									limit = {
											any_state = {
													is_controlled_by = ROOT
													is_core_of = KOR
												}
										}
									release = KOR
									set_autonomy = {
											target = KOR
											autonomy_state = autonomy_free
										}
								}
				}

	}
	focus = {
		id = JAP_cast_the_die
		icon = GFX_focus_jap_cast_the_die
		cost = 10.00
		prerequisite = {
			focus = JAP_approach_the_young_officers
		}
		prerequisite = {
			focus = JAP_exchange_the_exiles
		}
		x = 3
		y = 2
			ai_will_do = {
					factor = 999
				}
			available = {
			    is_subject = no
					communism > 0.15
				}
			bypass = {
					has_government = communism
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			complete_tooltip = {

}
			completion_reward = {
					hidden_effect = {
							if = {
									limit = {
											has_country_leader = {
													id = 700
													ruling_only = yes
												}
										}
									remove_country_leader_trait = imperial_sanction
								}
			            every_state= {
				             teleport_armies = {
		    	              limit = { tag = ROOT }
					         to_state_array = controlled_core_states
				            }
			            }
					}
					remove_ideas = JAP_the_unthinkable_option
			set_capital = { state = 532 }
					start_civil_war = {
							ruling_party = communism
							ideology = ROOT
							size = 0.4
							capital = 282
							states = { 282  533  536  555  529  530  528  526  524  645  648  646  647  684  633  609  745  527  525 }
							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
									regiments = {
											infantry = { x = 0 y = 0 }
											infantry = { x = 0 y = 1 }
											infantry = { x = 0 y = 2 }
								            infantry = { x = 1 y = 0 }
											infantry = { x = 1 y = 1 }
											infantry = { x = 1 y = 2 }
										}
								}
							532 = {
									create_unit = {
											division = "name = \"1. Japanese People's Regiment\" division_template = \"Japanese People's Regiment\" start_experience_factor = 0.1"
											owner = ROOT
										}
									create_unit = {
											division = "name = \"2. Japanese People's Regiment\" division_template = \"Japanese People's Regiment\" start_experience_factor = 0.1"
											owner = ROOT
										}
									create_unit = {
											division = "name = \"3. Japanese People's Regiment\" division_template = \"Japanese People's Regiment\" start_experience_factor = 0.1"
											owner = ROOT
										}
									create_unit = {
											division = "name = \"4. Japanese People's Regiment\" division_template = \"Japanese People's Regiment\" start_experience_factor = 0.1"
											owner = ROOT
										}
									create_unit = {
											division = "name = \"5. Japanese People's Regiment\" division_template = \"Japanese People's Regiment\" start_experience_factor = 0.1"
											owner = ROOT
										}
								}
						}
				}

	}
	focus = {
		id = JAP_nationalize_the_zaibatsus
		icon = GFX_focus_jap_zaibatsu
		cost = 10.00
		prerequisite = {
			focus = JAP_cast_the_die
		}
		x = 3
		y = 3
			ai_will_do = {
					factor = 3
				}
			available = {
					has_civil_war = no
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			complete_tooltip = {
					swap_ideas = {
							remove_idea = JAP_zaibatsus
							add_idea = JAP_nationalize_the_zaibatsus
						}
				}
			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 > 2
											include_locked = yes
										}
								}
							add_extra_state_shared_building_slots = 3
							add_building_construction = {
									type = industrial_complex
									level = 3
									instant_build = yes
								}
							set_state_flag = JAP_zaibatsus_factories
						}
					add_tech_bonus = {
							name = JAP_coal_liquification
							bonus = 0.5
							uses = 3
							category = synth_resources
						}
					swap_ideas = {
							remove_idea = JAP_zaibatsus
							add_idea = JAP_nationalize_the_zaibatsus
						}
				}

	}
	focus = {
		id = JAP_the_fate_of_the_imperial_family
		icon = GFX_goal_tfv_burn_the_royal_portraits
		cost = 10.00
		prerequisite = {
			focus = JAP_nationalize_the_zaibatsus
		}
		x = 0
		y = 4
			ai_will_do = {
					factor = 1
				}
			available = {
					has_civil_war = no
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					remove_ideas = state_shintoism
					country_event = wtt_japan.31
				}

	}
	focus = {
		id = JAP_red_brigades
		icon = GFX_goal_generic_political_pressure
		cost = 10.00
		prerequisite = {
			focus = JAP_nationalize_the_zaibatsus
		}
		x = 2
		y = 4
			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
			completion_reward = {
					add_ideas = JAP_red_brigades
				}

	}
	focus = {
		id = JAP_public_works
		icon = GFX_goal_generic_construction
		cost = 10.00
		prerequisite = {
			focus = JAP_nationalize_the_zaibatsus
		}
		x = 4
		y = 4
			ai_will_do = {
					factor = 1
				}
			available = {

				}
			bypass = {

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

}
			completion_reward = {
						add_timed_idea = {
							idea = idea_URG_rapid_industrialization
							days = 365
						}
					every_owned_state = {
							limit = {
									is_core_of = ROOT
									state_population > 900000
								}
							add_extra_state_shared_building_slots = 1
						}
				}

	}
	focus = {
		id = JAP_people_owned_mines
		icon = GFX_goal_generic_construction2
		cost = 10.00
		prerequisite = {
			focus = JAP_public_works
		}
		x = 4
		y = 5
			ai_will_do = {
					factor = 1
				}
			available = {

}
			bypass = {

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

}
			completion_reward = {
					add_ideas = JAP_people_owned_mines
				}

	}
	focus = {
		id = JAP_open_up_the_universities
		icon = GFX_focus_research
		cost = 10.00
		prerequisite = {
			focus = JAP_cast_the_die
		}
		x = 5
		y = 3
			ai_will_do = {
					factor = 4
				}
			available = {

}
			bypass = {

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

}
			completion_reward = {
					add_research_slot = 1
				}

	}
	focus = {
		id = JAP_tokyo_aluminum_plant
		icon = GFX_goal_generic_construct_civilian
		cost = 10.00
		prerequisite = {
			focus = JAP_people_owned_mines
		}
		x = 5
		y = 6
			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
			complete_tooltip = {

}
			completion_reward = {
					282 = {
							add_resource = {
									type = aluminium
									amount = 29
								}
						}
				}

	}
	focus = {
		id = JAP_purge_the_militarists
		icon = GFX_goal_generic_political_pressure
		cost = 10.00
		prerequisite = {
			focus = JAP_strengthen_civilian_government
		}
		x = 10
		y = 1
			ai_will_do = {
					factor = 100
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
		     add_timed_idea = { idea = JAP_military_purges days = 240 }
		    every_state = {
			      limit = {
				       is_owned_by = FROM
				       is_core_of = event_target:WTT_current_china_leader
			      }
			      event_target:WTT_current_china_leader = { transfer_state = PREV }
				 }
					remove_ideas = JAP_militarism
					MAN = {
							add_ideas = MAN_militarism
						}
					if = {
							limit = {
									MAN = {
											is_subject_of = ROOT
										}
								}
							set_autonomy = {
									target = MAN
									autonomy_state = autonomy_free
								}
						}
					if = {
							limit = {
									MAN = {
											has_idea = MAN_kwantung_veto
										}
								}
							MAN = {
									remove_ideas = MAN_kwantung_veto
								}
						}
					if = {
							limit = {
									MEN = {
											is_subject_of = ROOT
										}
								}
							MAN = {
									puppet = MEN
								}
						}
					if = {
							limit = {
									MAN = {
											NOT = {
													has_completed_focus = MAN_independence_war
												}
										}
								}
							MAN = {
									create_faction = MAN_JAP_fascism_autonomy_colony
								}
						}
						if = {
									limit = {
											any_state = {
													is_controlled_by = ROOT
													is_core_of = KOR
												}
										}
									release = KOR
									set_autonomy = {
											target = KOR
											autonomy_state = autonomy_free
										}
								}
				}

	}
	focus = {
		id = JAP_pre_emptive_coup
		icon = GFX_goal_generic_military_sphere
		cost = 10.00
		prerequisite = {
			focus = JAP_purge_the_militarists
		}
		x = 10
		y = 2
			ai_will_do = {
					factor = 999
				}
			available = {
			    is_subject = no
					democratic > 0.15
				}
			bypass = {
					has_government = democratic
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					hidden_effect = {
							if = {
								limit = {
									has_country_leader = {
										id = 700
										ruling_only = yes
										}
							}
						remove_country_leader_trait = imperial_sanction
						}
			            every_state= {
				             teleport_armies = {
		    	              limit = { tag = ROOT }
					         to_state_array = controlled_core_states
				            }
			            }
				   }
				country_event = {
							id = wtt_japan.114
						}
			}
		}

	focus = {
		id = JAP_research_spending
		icon = GFX_focus_research
		cost = 10.00
		prerequisite = {
			focus = JAP_pre_emptive_coup
		}
		x = 9
		y = 3
			ai_will_do = {
					factor = 2
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_research_slot = 1
				}

	}
	focus = {
		id = JAP_supremacy_of_technology
		icon = GFX_goal_generic_scientific_exchange
		cost = 10.00
		prerequisite = {
			focus = JAP_open_up_the_universities
			focus = JAP_research_spending
		}
		x = 7
		y = 4
			ai_will_do = {
					factor = 25
					modifier = {
							factor = 2
							has_completed_focus = JAP_strengthen_civilian_government
						}
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_ideas = JAP_supremacy_of_technology
				}

	}
	focus = {
		id = JAP_ally_with_the_zaibatsus
		icon = GFX_focus_jap_zaibatsu
		cost = 10.00
		prerequisite = {
			focus = JAP_pre_emptive_coup
		}
		x = 11
		y = 3
			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
			complete_tooltip = {
					random_state = {
							limit = {
									has_state_flag = JAP_zaibatsus_factories
								}
							add_building_construction = {
									type = industrial_complex
									level = 2
									instant_build = yes
								}
						}
					swap_ideas = {
							remove_idea = JAP_zaibatsus
							add_idea = JAP_nationalize_the_zaibatsus
						}
				}
			completion_reward = {
					every_owned_state = {
							limit = {
									is_core_of = ROOT
									state_population > 900000
								}
							add_extra_state_shared_building_slots = 1
						}
					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 = 1
							add_building_construction = {
									type = industrial_complex
									level = 1
									instant_build = yes
								}
							set_state_flag = JAP_zaibatsus_factories
						}
					swap_ideas = {
							add_idea = JAP_zaibatsus_empowered
							remove_idea = JAP_zaibatsus
						}
				}

	}
	focus = {
		id = JAP_the_showa_constitution
		icon = GFX_goal_tfv_strengthen_commonwealth_ties
		cost = 10.00
		prerequisite = {
			focus = JAP_ally_with_the_zaibatsus
		}
		prerequisite = {
			focus = JAP_research_spending
		}
		x = 10
		y = 4
			ai_will_do = {
					factor = 1
				}
			available = {
					has_civil_war = no
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_ideas = JAP_hirohito
					if = {
							limit = {
									has_idea = free_trade
								}
							add_political_power = 100
						}
					else = {
							add_ideas = free_trade
						}
				}

	}
	focus = {
		id = JAP_rekindle_the_old_alliance
		icon = GFX_focus_chi_british_cooperation
		cost = 10.00
		prerequisite = {
			focus = JAP_the_showa_constitution
		}
		mutually_exclusive = {
			focus = JAP_west_pacific_treaty_organization
		}
		x = 11
		y = 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
			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 = JAP_the_old_alliance
							ENG = {
									country_event = generic.5
								}
						}
				}

	}
	focus = {
		id = JAP_anti_communist_bulwark
		icon = GFX_goal_anti_comintern_pact
		cost = 10.00
		prerequisite = {
			focus = JAP_rekindle_the_old_alliance
		}
		x = 11
		y = 6
			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 = {
					add_ideas = foreign_expeditions_focus
					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
		cost = 10.00
		prerequisite = {
			focus = JAP_anti_communist_bulwark
		}
		x = 11
		y = 7
			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
			completion_reward = {
					add_ideas = JAP_anti_communist_volunteers
				}

	}
	focus = {
		id = JAP_imperial_arsenals
		icon = GFX_goal_generic_construct_mil_factory
		cost = 10.00
		prerequisite = {
			focus = JAP_purge_the_kodoha_faction
		}
		x = 16
		y = 1
			ai_will_do = {
					factor = 3
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			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_guide_the_zaibatsus
		icon = GFX_focus_jap_zaibatsu
		cost = 10.00
		prerequisite = {
			focus = JAP_imperial_arsenals
		}
		x = 16
		y = 2
			ai_will_do = {
					factor = 3
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			complete_tooltip = {
					random_state = {
							limit = {
									has_state_flag = JAP_zaibatsus_factories
								}
							add_building_construction = {
									type = industrial_complex
									level = 2
									instant_build = yes
								}
						}
					swap_ideas = {
							remove_idea = JAP_zaibatsus
							add_idea = JAP_guide_the_zaibatsus
						}
				}
			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
						}
					swap_ideas = {
							remove_idea = JAP_zaibatsus
							add_idea = JAP_guide_the_zaibatsus
						}
				}

	}
	focus = {
		id = JAP_modern_shogunate
		icon = GFX_goal_demand_sudetenland
		cost = 10.00
		prerequisite = {
			focus = JAP_support_the_kodoha_faction
		}
		mutually_exclusive = {
			focus = JAP_showa_restoration
		}
		x = 20
		y = 1
			ai_will_do = {
					factor = 1
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no 
			completion_reward = {
					swap_ideas = {
							remove_idea = JAP_militarism
							add_idea = JAP_militarism_shogunate
						}
					country_event = {
							id = shogun_japan.1
						}
				}

	}
	focus = {
		id = JAP_nationalize_war_industry
		icon = GFX_goal_generic_construct_mil_factory
		cost = 10.00
		prerequisite = {
			focus = JAP_modern_shogunate
		}
		x = 20
		y = 2
			ai_will_do = {
					factor = 3
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
			        add_stability = -0.10
					remove_ideas = JAP_zaibatsus
					}
	}
	focus = {
		id = JAP_showa_restoration
		icon = GFX_focus_jap_showa_restoration
		cost = 10.00
		prerequisite = {
			focus = JAP_support_the_kodoha_faction
		}
		mutually_exclusive = {
			focus = JAP_modern_shogunate
		}
		x = 22
		y = 1
			ai_will_do = {
					factor = 2
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					swap_ideas = {
							remove_idea = JAP_militarism
							add_idea = JAP_militarism_showa
						}
					country_event = {
							id = wtt_japan.108
					}
				}

	}
	focus = {
		id = JAP_challenge_the_zaibatsus
		icon = GFX_focus_jap_zaibatsu
		cost = 10.00
		prerequisite = {
			focus = JAP_showa_restoration
		}
		x = 22
		y = 2
			ai_will_do = {
					factor = 3
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			complete_tooltip = {
					random_state = {
							limit = {
									has_state_flag = JAP_zaibatsus_factories
								}
							add_building_construction = {
									type = industrial_complex
									level = 2
									instant_build = yes
								}
						}
					swap_ideas = {
							remove_idea = JAP_zaibatsus
							add_idea = JAP_zaibatsus_challenged
						}
				}
			completion_reward = {
					set_cosmetic_tag = JAP_showa_restoration
					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
						}
					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
						}
					swap_ideas = {
							remove_idea = JAP_zaibatsus
							add_idea = JAP_zaibatsus_challenged
						}
				}

	}
	focus = {
		id = JAP_national_mobilization_law
		icon = GFX_goal_generic_axis_build_infantry
		cost = 10.00
		prerequisite = {
			focus = JAP_guide_the_zaibatsus
			focus = JAP_nationalize_war_industry
			focus = JAP_challenge_the_zaibatsus
		}
		x = 18
		y = 3
			ai_will_do = {
					factor = 2
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					if = {
							limit = {
									has_war_support < 0.5
								}
							add_war_support = 0.1
						}
					else_if = {
							limit = {
									has_idea = war_economy
								}
							add_political_power = 100
						}
					else = {
							add_ideas = war_economy
						}
				}

	}
	focus = {
		id = JAP_supremacy_of_will
		icon = GFX_goal_demand_sudetenland
		cost = 10.00
		prerequisite = {
			focus = JAP_national_defense_state
		}
		x = 23
		y = 7
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 2
							has_completed_focus = JAP_support_the_kodoha_faction
						}
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_ideas = JAP_superior_will
				}

	}
	focus = {
		id = JAP_small_arms_modernization
		icon = GFX_goal_generic_small_arms
		cost = 10.00
		prerequisite = {
			focus = JAP_army_expansion
		}
		x = 27
		y = 1
			ai_will_do = {
					factor = 2
					modifier = {
							factor = 2
							has_completed_focus = JAP_support_the_kodoha_faction
						}
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_tech_bonus = {
							name = JAP_small_arms_modernization
							bonus = 0.5
							uses = 1
							category = infantry_weapons
						}
					add_tech_bonus = {
							name = JAP_small_arms_modernization
							bonus = 0.5
							uses = 1
							category = support_tech
						}
				}

	}
	focus = {
		id = JAP_liaison_conference
		icon = GFX_goal_generic_intelligence_exchange
		cost = 10.00
		prerequisite = {
			focus = JAP_small_arms_modernization
		}
		x = 26
		y = 2
			ai_will_do = {
					factor = 2
				}
			available = {

}
			bypass = {

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

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

	}
	focus = {
		id = JAP_bicycle_battalions
		icon = GFX_goal_generic_special_forces
		cost = 10.00
		prerequisite = {
			focus = JAP_small_arms_modernization
		}
		x = 28
		y = 2
			ai_will_do = {
					factor = 1
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					set_technology = {
							bicycle_infantry = 1
						}
				}

	}
	focus = {
		id = JAP_modern_artillery
		icon = GFX_goal_generic_army_artillery2
		cost = 10.00
		prerequisite = {
			focus = JAP_liaison_conference
		}
		prerequisite = {
			focus = JAP_bicycle_battalions
		}
		x = 27
		y = 3
			ai_will_do = {
					factor = 1
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_tech_bonus = {
							name = JAP_modern_artillery
							bonus = 0.5
							uses = 2
							category = artillery
						}
				}

	}
	focus = {
		id = JAP_armored_divisions
		icon = GFX_goal_generic_army_tanks
		cost = 10.00
		prerequisite = {
			focus = JAP_modern_artillery
		}
		x = 27
		y = 4
			ai_will_do = {
					factor = 1
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_tech_bonus = {
							name = JAP_armored_divisions
							bonus = 0.5
							uses = 2
							category = armor
						}
				}

	}
	focus = {
		id = JAP_range_focus
		icon = GFX_goal_generic_air_production
		cost = 10.00
		prerequisite = {
			focus = JAP_army_expansion
		}
		x = 31
		y = 1
			ai_will_do = {
					factor = 20
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = JAP_aichi_organization
				mio:JAP_aichi_organization = {
					add_mio_funds = 2000
				}
			}
			ELSE = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = aichi
			}
				}

	}
	focus = {
		id = JAP_fighter_modernization
		icon = GFX_goal_generic_air_fighter2
		cost = 10.00
		prerequisite = {
			focus = JAP_range_focus
		}
		x = 31
		y = 3
			ai_will_do = {
					factor = 15
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_tech_bonus = {
							name = JAP_fighter_modernization
							bonus = 0.5
							uses = 1
							category = light_fighter
						}
					add_tech_bonus = {
							name = JAP_fighter_modernization
							bonus = 0.5
							uses = 1
							category = cat_heavy_fighter
						}
				}

	}
	focus = {
		id = JAP_unified_fighter_development
		icon = GFX_goal_generic_air_fighter
		cost = 10.00
		prerequisite = {
			focus = JAP_fighter_modernization
		}
		x = 30
		y = 4
			ai_will_do = {
					factor = 10
				}
			available = {
			       OR = { threat > 0.5  date > 1940.1.1 }
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					remove_ideas = JAP_duplicate_research_efforts
				}

	}
	focus = {
		id = JAP_strategic_bomber_effort
		icon = GFX_goal_generic_air_bomber
		cost = 10.00
		prerequisite = {
			focus = JAP_unified_fighter_development
		}
		x = 30
		y = 5
			ai_will_do = {
					factor = 1
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_tech_bonus = {
							name = JAP_strategic_bomber_effort
							bonus = 0.5
							uses = 2
							category = cat_strategic_bomber
						}
				}

	}
	focus = {
		id = JAP_agility_focus
		icon = GFX_goal_generic_air_production
		cost = 10.00
		prerequisite = {
			focus = JAP_supremacy_of_the_battlefleet
		}
		x = 34
		y = 3
			ai_will_do = {
					factor = 6
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = JAP_mitsubishi_organization
				mio:JAP_mitsubishi_organization = {
					add_mio_funds = 2000
				}
			}
			ELSE = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = mitsubishi
			}
				}

	}
	focus = {
		id = JAP_the_zero
		icon = GFX_focus_jap_zero
		cost = 10.00
		prerequisite = {
			focus = JAP_agility_focus
		}
		prerequisite = {
			focus = JAP_fighter_modernization
		}
		x = 33
		y = 4
			ai_will_do = {
					factor = 6
				}
			available = {

}
			bypass = {
					has_tech = cv_fighter2
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
			custom_effect_tooltip = JAP_the_zero_tt
			hidden_effect = { 
				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
						allow_without_tech = yes #Makes no difference since focus grants appropriate tech (above), but it improves tooltip
						modules = {
							fixed_main_weapon_slot = light_mg_2x
							fixed_auxiliary_weapon_slot_1 = heavy_mg_2x
							engine_type_slot = engine_2_1x
							special_type_slot_1 = drop_tanks
						}
						icon = "GFX_JAP_cv_fighter2_medium"
					}
				}
			}
         }
	}
	focus = {
		id = JAP_modern_escorts
		icon = GFX_focus_generic_destroyer
		cost = 10.00
		prerequisite = {
			focus = JAP_supremacy_of_the_battlefleet
		}
		x = 35
		y = 1
			ai_will_do = {
					factor = 1
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_tech_bonus = {
							name = JAP_modern_escorts
							bonus = 0.75
							uses = 1
							category = dd_tech
						}
				}

	}
	focus = {
		id = JAP_cruiser_modernization
		icon = GFX_goal_generic_navy_cruiser
		cost = 10.00
		prerequisite = {
			focus = JAP_modern_escorts
		}
		x = 35
		y = 2
			ai_will_do = {
					factor = 1
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_tech_bonus = {
							name = JAP_cruiser_modernization
							bonus = 0.75
							uses = 1
							category = cl_tech
							category = ca_tech
						}
				}

	}
	focus = {
		id = JAP_long_lance_torpedoes
		icon = GFX_goal_generic_occupy_start_war
		cost = 10.00
		prerequisite = {
			focus = JAP_supremacy_of_the_battlefleet
		}
		x = 37
		y = 1
			ai_will_do = {
					factor = 4
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_ideas = the_long_lance
				}

	}
	focus = {
		id = JAP_torpedo_cruisers
		icon = GFX_goal_generic_navy_cruiser
		cost = 10.00
		prerequisite = {
			focus = JAP_long_lance_torpedoes
		}
		x = 37
		y = 2
			ai_will_do = {
					factor = 4
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					if = {
							limit = {
									not = {
											has_dlc = "Man the Guns"
										}
								}
							set_technology = {
									torpedo_cruiser = 1
								}
						}
					else = {
							set_technology = {
									torpedo_cruiser_mtg = 1
								}
						}
				}

	}
	focus = {
		id = JAP_the_ultimate_battleship
		icon = GFX_goal_generic_navy_battleship
		cost = 10.00
		prerequisite = {
			focus = JAP_cruiser_modernization
			focus = JAP_torpedo_cruisers
		}
		x = 36
		y = 3
			ai_will_do = {
					factor = 1
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			
		completion_reward = {
			if = {
				limit = {
					not = { has_dlc = "Man the Guns" }
				}
				add_tech_bonus = {
					name = JAP_the_ultimate_battleship
					bonus = 1.0
					uses = 1
					category = shbb_tech	
				}
			}
			else = {
			   hidden_effect = {
				if = {
					limit = {
						not = { has_tech = ship_hull_super_heavy }
					}
					set_technology = {
						ship_hull_super_heavy = 1
					}
				}
				}
				create_equipment_variant = {
					name = "Yamato(1937) Class"
					type = ship_hull_super_heavy_1
					name_group = JAP_BB_HISTORICAL
					parent_version = 0
					modules = {
						fixed_ship_battery_slot = ship_super_heavy_battery_1
						fixed_ship_anti_air_slot = ship_anti_air_1
						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_1
						fixed_ship_armor_slot = ship_armor_shbb
						front_1_custom_slot = ship_super_heavy_battery_1
						front_2_custom_slot = ship_anti_air_1
						mid_1_custom_slot = ship_secondaries_1
						mid_2_custom_slot = ship_secondaries_1
						mid_3_custom_slot = ship_secondaries_1
						rear_1_custom_slot = ship_super_heavy_battery_1
						rear_2_custom_slot = ship_airplane_launcher_1
					}
				}
				
				create_equipment_variant = {
					name = "Musashi(1938) Class"
					type = ship_hull_super_heavy_1
					name_group = JAP_BB_HISTORICAL
					parent_version = 0
					modules = {
						fixed_ship_battery_slot = ship_super_heavy_battery_1
						fixed_ship_anti_air_slot = ship_anti_air_1
						fixed_ship_fire_control_system_slot = ship_fire_control_system_1
						fixed_ship_radar_slot = ship_radar_1
						fixed_ship_engine_slot = heavy_ship_engine_2
						fixed_ship_secondaries_slot = ship_secondaries_1
						fixed_ship_armor_slot = ship_armor_shbb
						front_1_custom_slot = ship_super_heavy_battery_1
						front_2_custom_slot = ship_anti_air_1
						mid_1_custom_slot = ship_secondaries_1
						mid_2_custom_slot = ship_secondaries_1
						mid_3_custom_slot = ship_secondaries_1
						rear_1_custom_slot = ship_super_heavy_battery_1
						rear_2_custom_slot = ship_airplane_launcher_2
					}
				}
				hidden_effect = {
					add_equipment_production = {
						equipment = {
							type = ship_hull_super_heavy_1
							creator = "JAP" 
							version_name = "Yamato(1937) Class"
						}
						name = "Yamato" 
						requested_factories = 2
						progress = 0.8
						amount = 1
					}
					add_equipment_production = {
						equipment = {
							type = ship_hull_super_heavy_1
							creator = "JAP" 
							version_name = "Musashi(1938) Class"
						}
						name = "Musashi" 
						requested_factories = 2
						progress = 0.5
						amount = 1
					}
				}
			}
		}

	}
	focus = {
		id = JAP_carrier_warfare_experiments
		icon = GFX_goal_generic_navy_carrier
		cost = 10.00
		prerequisite = {
			focus = JAP_the_ultimate_battleship
		}
		x = 35
		y = 4
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 2
							has_completed_focus = JAP_purge_the_kodoha_faction
						}
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_doctrine_cost_reduction = {
							name = JAP_carrier_warfare_experiments
							cost_reduction = 0.5
							uses = 3
							category = cat_base_strike
						}
				}

	}
	focus = {
		id = JAP_bomber_modernization
		icon = GFX_goal_generic_CAS
		cost = 10.00
		prerequisite = {
			focus = JAP_unified_fighter_development
			focus = JAP_the_zero
		}
		x = 32
		y = 5
			ai_will_do = {
					factor = 1
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_tech_bonus = {
							name = JAP_bomber_modernization
							bonus = 1.0
							uses = 1
							category = cas_bomber
							category = tactical_bomber
						}
				}

	}
	focus = {
		id = JAP_jet_prototypes
		icon = GFX_goal_generic_build_airforce
		cost = 10.00
		prerequisite = {
			focus = JAP_strategic_bomber_effort
			focus = JAP_bomber_modernization
		}
		x = 31
		y = 6
			ai_will_do = {
					factor = 1
				}
			available = {
                 date > 1939.1.1
}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_tech_bonus = {
							name = JAP_jet_prototypes
							bonus = 1.0
							uses = 2
							category = jet_technology
						}
				}

	}
	focus = {
		id = JAP_first_air_fleet
		icon = GFX_goal_generic_air_doctrine
		cost = 10.00
		prerequisite = {
			focus = JAP_carrier_warfare_experiments
		}
		prerequisite = {
			focus = JAP_the_zero
		}
		x = 34
		y = 5
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 2
							has_completed_focus = JAP_purge_the_kodoha_faction
						}
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_ideas = JAP_first_air_fleet
				}

	}
	focus = {
		id = JAP_expand_the_snlf
		icon = GFX_goal_generic_amphibious_assault
		cost = 10.00
		prerequisite = {
			focus = JAP_the_ultimate_battleship
		}
		x = 38
		y = 4
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 2
							has_completed_focus = JAP_purge_the_kodoha_faction
						}
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_ideas = JAP_expand_the_snlf
					add_tech_bonus = {
							name = JAP_expand_the_snlf
							bonus = 0.75
							uses = 2
							category = marine_tech
						}
				}

	}
	focus = {
		id = JAP_pacific_guardian
		icon = GFX_focus_jap_pacific_guardian
		cost = 10.00
		prerequisite = {
			focus = JAP_the_korean_question
		}
		x = 9
		y = 7
			ai_will_do = {
					factor = 1
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
								add_ideas = foreign_expeditions_focus
			set_rule = {
                can_send_volunteers = yes
			}
					unlock_decision_category_tooltip = JAP_pacific_guardian
				}

	}
	focus = {
		id = JAP_the_korean_question
		icon = GFX_goal_generic_improve_relations
		cost = 10.00
		prerequisite = {
			focus = JAP_west_pacific_treaty_organization
		}
		x = 9
		y = 6
			ai_will_do = {
					factor = 1
				}
			available = {

				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					if = {
							limit = {
									country_exists = KOR
									has_government = democratic
									is_subject = no
									KOR = { is_ai = yes }
								}
							 JAP = { set_autonomy = { target = KOR autonomy_state = autonomy_supervised_state } }
						}
					else_if = {
							limit = {
									country_exists = KOR
									NOT = { has_government = democratic	}
									is_subject = no
									KOR = { is_ai = yes }
								}
							JAP = { set_autonomy = { target = KOR autonomy_state = autonomy_supervised_state } }
							KOR = { add_timed_idea = { idea = democratic_influence days = 365 } }
						}
					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_full_control_of_state = 525
										has_full_control_of_state = 527
										}
								}
							create_wargoal = {
									type = take_state_focus
									target = MAN
									generator = { 525  527 }
								}
						}
				}

	}
	focus = {
		id = JAP_full_sovereignty_for_the_philippines
		icon = GFX_goal_generic_forceful_treaty
		cost = 10.00
		prerequisite = {
			focus = JAP_pacific_guardian
		}
		x = 9
		y = 8
			ai_will_do = {
					factor = 1
				}
			available = {

}
			bypass = {
					"PHI" = {
							is_subject = no
						}
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					"PHI" = {
							OVERLORD = {
									country_event = {
											id = wtt_japan.104
											days = 1
										}
								}
						}
				}

	}
	focus = {
		id = JAP_liberate_manchuria
		icon = GFX_goal_generic_territory_or_war
		cost = 10.00
		prerequisite = {
			focus = JAP_pacific_guardian
		}
		x = 7
		y = 8
			ai_will_do = {
					factor = 2
				}
			available = {
					has_government = democratic
					is_subject = no
					has_army_manpower = {
							size > 550000
						}
					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
			completion_reward = {
					if = {
							limit = {
									MAN = {
											exists = yes
											OR = {
													has_government = fascism
													has_government = communism
												}
										}
								}
							create_wargoal = {
									type = topple_government
									target = MAN
								}
						}
					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
									generator = { 610  716  328  715  714  717 }
								}
						}
					unlock_decision_tooltip = JAP_return_manchuria
					custom_effect_tooltip = JAP_liberate_manchuria_tt
				}

	}
	focus = {
		id = JAP_west_pacific_treaty_organization
		icon = GFX_goal_generic_alliance
		cost = 10.00
		prerequisite = {
			focus = JAP_the_showa_constitution
		}
		mutually_exclusive = {
			focus = JAP_rekindle_the_old_alliance
		}
		x = 9
		y = 5
			ai_will_do = {
					factor = 25
				}
			available = {
					is_subject = no
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					set_rule = {
							can_create_factions = yes
						}
					add_timed_idea = { idea = idea_URG_rapid_industrialization days = 365 }
					create_faction = JAP_west_pacific_treaty_organization
				}

	}
	focus = {
		id = JAP_ultimate_deterrence
		icon = GFX_focus_wonderweapons
		cost = 10.00
		prerequisite = {
			focus = JAP_full_sovereignty_for_the_philippines
			focus = JAP_anti_communist_volunteers
		}
		x = 10
		y = 9
			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
			completion_reward = {
					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_communist_volunteers
		icon = GFX_goal_generic_demand_territory
		cost = 10.00
		prerequisite = {
			focus = JAP_red_brigades
		}
		x = 2
		y = 5
			ai_will_do = {
					factor = 1
				}
			available = {
					has_government = communism
				}
			bypass = {

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

}
			completion_reward = {
					add_ideas = JAP_communist_volunteers
				}

	}
	focus = {
		id = JAP_reeducation_campaign
		icon = GFX_goal_generic_propaganda
		cost = 10.00
		prerequisite = {
			focus = JAP_the_fate_of_the_imperial_family
		}
		x = 0
		y = 5
			ai_will_do = {
					factor = 2
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_political_power = 200
					add_ideas = JAP_reeducation_campaign
				}

	}
	focus = {
		id = JAP_rebuild_the_civil_service
		icon = GFX_goal_generic_national_unity
		cost = 10.00
		prerequisite = {
			focus = JAP_communist_volunteers
		}
		prerequisite = {
			focus = JAP_people_owned_mines
		}
		prerequisite = {
			focus = JAP_reeducation_campaign
		}
		x = 2
		y = 6
			ai_will_do = {
					factor = 1
				}
			available = {
                has_stability > 0.6
}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_ideas = indoctrination_focus
				}

	}
	focus = {
		id = JAP_intervene_in_china
		icon = GFX_goal_generic_occupy_states_ongoing_war
		cost = 10.00
		prerequisite = {
			focus = JAP_greater_east_asian_co_prosperity_sphere
		}
		mutually_exclusive = {
			focus = JAP_non_aggression_pact_with_china
		}
		x = 15
		y = 5
			will_lead_to_war_with = CHI
			available = {
			        NOT = { has_idea = JAP_military_purges }
					is_puppet = no
                     date > 1936.7.1
					has_army_manpower = {
						size > 450000
					}
					NOT = {
							has_war_with = CHI
						}
				}
			bypass = {
					OR = {
							AND = {
									608 = {
											NOT = {
													is_controlled_by = CHI
													is_controlled_by = PRC
													is_controlled_by = SHX
												}
										}
									597 = {
											NOT = {
													is_controlled_by = CHI
													is_controlled_by = PRC
													is_controlled_by = SHX
												}
										}
									614 = {
											NOT = {
													is_controlled_by = CHI
													is_controlled_by = PRC
													is_controlled_by = SHX
												}
										}
								}
							has_war_with = CHI
						}
				}
			will_lead_to_war_with = CHI
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			ai_will_do = {
					factor = 10
					modifier = {
							factor = 0
							date < 1937.1.1
						}
				}
			completion_reward = {
					if = {
							limit = {
									CHI = {
											OR = {
													controls_state = 608
													controls_state = 597
													controls_state = 614
												}
										}
								}
							CHI = {
									country_event = china.1
								}
						}
					if = {
							limit = {
									PRC = {
											AND = {
													controls_state = 608
													controls_state = 597
													controls_state = 614
												}
										}
								}
							PRC = {
									country_event = china.1
								}
						}
					if = {
							limit = {
									SHX = {
											AND = {
													controls_state = 608
													controls_state = 597
													controls_state = 614
												}
										}
								}
							SHX = {
									country_event = china.1
								}
						}
					add_named_threat = {
							threat = 6
							name = JAP_intervene_in_china
						}
						hidden_effect = {
					if = {
							limit = {
									MAN = {
											is_subject_of = JAP
										}
								}
							MAN = {
									add_timed_idea = {
											idea = JAP_intervene_in_china_3
											days = 365
										}
								}
						}
					if = {
							limit = {
									MEN = {
											is_subject_of = JAP
										}
								}
							MEN = {
									add_timed_idea = {
											idea = JAP_intervene_in_china_3
											days = 365
										}
								}
						}
						}
						
					add_ideas = JAP_intervene_in_china_5
					unlock_decision_tooltip = JAP_china_step_up_war_effort
				}

	}
	focus = {
		id = JAP_non_aggression_pact_with_china
		icon = GFX_goal_anschluss
		cost = 10.00
		prerequisite = {
			focus = JAP_greater_east_asian_co_prosperity_sphere
		}
		mutually_exclusive = {
			focus = JAP_intervene_in_china
		}
		x = 17
		y = 5
			ai_will_do = {
					factor = 1
				}
			available = {
				  NOT = { has_idea = JAP_military_purges }
				  is_puppet = no
                  date > 1936.7.1
					has_army_manpower = {
						size > 450000
					}
            }
			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 = {
			        add_state_claim = 525
					add_state_claim = 527
					CHI = {
							country_event = wtt_japan.11
						}
					609 = {
							if = {
									limit = {
											is_controlled_by = ROOT
										}
									add_building_construction = {
											type = bunker
											level = 3
											province = 6969
											instant_build = yes
										}
									add_building_construction = {
											type = bunker
											level = 3
											province = 11822
											instant_build = yes
										}
									add_building_construction = {
											type = bunker
											level = 3
											province = 12043
											instant_build = yes
										}
								}
						}
					if = {
							limit = {
									MAN = {
											is_puppet_of = ROOT
										}
								}
							MAN = {
									610 = {
											if = {
													limit = {
															is_controlled_by = PREV
														}
													add_building_construction = {
															type = bunker
															level = 3
															province = 3955
															instant_build = yes
														}
												}
										}
								}
						}
					if = {
							limit = {
									MEN = {
											is_puppet_of = ROOT
										}
								}
							MEN = {
									611 = {
											if = {
													limit = {
															is_controlled_by = PREV
														}
													add_building_construction = {
															type = bunker
															level = 3
															province = 1137
															instant_build = yes
														}
													add_building_construction = {
															type = bunker
															level = 3
															province = 6904
															instant_build = yes
														}
													add_building_construction = {
															type = bunker
															level = 3
															province = 9776
															instant_build = yes
														}
												}
										}
								}
						}
				}

	}
	focus = {
		id = JAP_spiritual_mobilization
		icon = GFX_focus_jap_spiritual_mobilization
		cost = 10.00
		prerequisite = {
			focus = JAP_greater_east_asian_co_prosperity_sphere
		}
		x = 21
		y = 5
			ai_will_do = {
					factor = 2
				}
			available = {
			      OR = { threat > 0.1 has_war = yes }
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
			        add_war_support = 0.05
		            add_timed_idea = { idea = spiritual_mobilization_idea days = 1095 }
				}

	}
	focus = {
		id = JAP_warrior_spirit
		icon = GFX_focus_generic_japanese_imperial_glory
		cost = 10.00
		prerequisite = {
			focus = JAP_spiritual_mobilization
		}
		x = 20
		y = 6
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							has_war = no
						}
					modifier = {
							factor = 10
							surrender_progress > 0.9
						}
				}
			available = {
					OR = { 
					threat > 0.25
			        has_war = yes
					}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
                    add_ideas = warrior_traditions_idea
					hidden_effect = {
							set_rule = {
									can_use_kamikaze_pilots = yes
								}
						}
					custom_effect_tooltip = kamikaze_focus_tooltip
					if = {
							limit = {
									has_dlc = "Waking the Tiger"
								}
							custom_effect_tooltip = cost_reduced_last_stand
						}
				}

	}
	focus = {
		id = JAP_national_defense_state
		icon = GFX_goal_generic_political_pressure
		cost = 10.00
		prerequisite = {
			focus = JAP_spiritual_mobilization
		}
		x = 22
		y = 6
			ai_will_do = {
					factor = 1
				}
			available = {
				OR = { 
					threat > 0.75
					date > 1938.1.1
					surrender_progress > 0.1
					any_enemy_country = { ic_ratio = { tag = ROOT  ratio > 0.5 } }
				}
			}
			bypass = {

           }
			cancel_if_invalid = yes
			continue_if_invalid = yes
			available_if_capitulated = no
			completion_reward = {
					every_owned_state = {
							limit = {
									is_core_of = ROOT
									state_population > 1100000
								}
							add_extra_state_shared_building_slots = 1
						}
					if = {
							limit = {
									has_war_support < 0.5
								}
							add_war_support = 0.15
						}
					else_if = {
							limit = {
									has_idea = tot_economic_mobilisation
								}
							add_political_power = 100
						}
					else = {
							add_ideas = tot_economic_mobilisation
						}
				}

	}
	focus = {
		id = JAP_strengthen_the_divine_wind
		icon = GFX_goal_generic_secret_weapon
		cost = 10.00
		prerequisite = {
			focus = JAP_warrior_spirit
			focus = JAP_national_defense_state
		}
		x = 21
		y = 7
			ai_will_do = {
					factor = 3
				}
			available = {
			       is_subject = no 
				   date > 1940.1.1
					OR = { 
					has_tech = rocket_engines 
					surrender_progress > 0.05 
                      casualties > 900000
					}
					
				}
			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_finish_the_fight
		icon = GFX_goal_generic_occupy_states_ongoing_war
		cost = 10.00
		prerequisite = {
			focus = JAP_asian_communist_solidarity
		}
		x = 3
		y = 8
			ai_will_do = {
					factor = 1
				}
			available = {
					has_government = communism
					is_subject = no
					has_army_manpower = {
						size > 500000
					}
					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
			completion_reward = {
					create_wargoal = {
							target = MAN
							type = puppet_wargoal_focus
						}
				}

	}
	focus = {
		id = JAP_join_comintern
		icon = GFX_focus_generic_join_comintern
		cost = 10.00
		prerequisite = {
			focus = JAP_rebuild_the_civil_service
		}
		mutually_exclusive = {
			focus = JAP_asian_communist_solidarity
		}
		x = 1
		y = 7
			ai_will_do = {
					factor = 1
				}
			available = {
					has_government = communism
					is_subject = no
					NOT = {
							has_war_with = SOV
						}
					NOT = {
							is_in_faction_with = SOV
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					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 = JAP_the_new_international
							SOV = {
									country_event = generic.5
								}
						}
				}

	}
	focus = {
		id = JAP_asian_communist_solidarity
		icon = GFX_goal_generic_alliance
		cost = 10.00
		prerequisite = {
			focus = JAP_rebuild_the_civil_service
		}
		mutually_exclusive = {
			focus = JAP_join_comintern
		}
		x = 3
		y = 7
			ai_will_do = {
					factor = 20
				}
			available = {
					has_government = communism
					is_subject = no
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
							create_faction = JAP_asian_communist_solidarity
				}

	}
	focus = {
		id = JAP_greater_east_asian_co_prosperity_sphere
		icon = GFX_goal_generic_alliance
		cost = 10.00
		prerequisite = {
			focus = JAP_national_mobilization_law
		}
		x = 18
		y = 4
			ai_will_do = {
					factor = 2
				}
			available = {
					is_subject = no
				}
			bypass = {

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

}
			completion_reward = {
			        add_political_power = 100
					set_rule = {
							can_create_factions = yes
						}
					create_faction = JAP_greater_east_asian_co_prosperity_sphere
						add_named_threat = {
							threat = 2
							name = JAP_greater_east_asian_co_prosperity_sphere
						}
						
				}

	}
	focus = {
		id = JAP_secure_china
		icon = GFX_goal_generic_demand_territory
		cost = 10.00
		prerequisite = {
			focus = JAP_intervene_in_china
		}
		x = 15
		y = 6
			ai_will_do = {
					factor = 3
					modifier = {
							factor = 0
							threat < 0.9
						}
				}
			available = {
			       OR = {
					    CHI = { surrender_progress > 0.5 }
						CHI = { is_subject_of = jap }
						CHI = { has_capitulated = yes }
						CHI = { exists = no	}
						date > 1938.6.6
					}
				}
			bypass = {
				}
			cancel_if_invalid = yes
			continue_if_invalid = yes
			available_if_capitulated = no
			complete_tooltip = {

}
			completion_reward = {
			        add_state_claim = 608
					add_state_claim = 613
					add_state_claim = 596
					add_state_claim = 595
					add_state_claim = 593
					add_state_claim = 592
					add_state_claim = 594
					add_state_claim = 591
					every_controlled_state = {
							limit = {
									is_controlled_by = ROOT
									is_core_of = CHI
								}
							add_compliance = 25
						}
					JAP_intervene_in_china_remove = yes
					add_named_threat = {
							threat = 1
							name = JAP_secure_china
						}
					unlock_decision_tooltip = JAP_ichi_go
				}

	}
	focus = {
		id = JAP_develop_chinese_resources
		icon = GFX_goal_generic_construct_civilian
		cost = 10.00
		prerequisite = {
			focus = JAP_secure_china
		}
		x = 15
		y = 7
			ai_will_do = {
					factor = 4
				}
			available = {
			    OR = {
			      AND = {
					has_full_control_of_state = 605
					has_full_control_of_state = 325
				  }
				  CHI = { has_full_control_of_state = 605 has_full_control_of_state = 325 is_subject_of = JAP }
				}
			}
			bypass = {

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

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

	}
	focus = {
		id = JAP_strike_south_doctrine
		icon = GFX_goal_generic_navy_doctrines_tactics
		cost = 10.00
		prerequisite = {
			focus = JAP_coal_liquification
		}
		mutually_exclusive = {
			focus = JAP_prepare_for_war_with_the_soviet_union
		}
		x = 15
		y = 8
			ai_will_do = {
					factor = 20
					modifier = {
							factor = 5
							FRA = {
									has_war = yes
								}
						}
				}
			available = {
				  NOT = { has_idea = JAP_military_purges }
				  is_puppet = no
				  date > 1937.1.1
					has_army_manpower = {
						size > 750000
					}
				}
			bypass = {

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

}
			completion_reward = {
		            add_timed_idea = { idea = imperial_austerity_idea days = 1095 }
					add_named_threat = {
							threat = 8
							name = JAP_strike_south_doctrine
						}
					add_doctrine_cost_reduction = {
							name = JAP_strike_south_doctrine
							cost_reduction = 0.5
							uses = 2
							category = naval_doctrine
						}
					unlock_decision_tooltip = JAP_pressure_france
				}

	}
	focus = {
		id = JAP_non_aggression_pact_with_the_soviet_union
		icon = GFX_goal_generic_dangerous_deal
		cost = 10.00
		prerequisite = {
			focus = JAP_new_naval_estimates
		}
		x = 15
		y = 11
			ai_will_do = {
					factor = 2
					modifier = {
							factor = 0
							date < 1941.1.1
					}
				}
			available = {

}
			bypass = {
					OR = {
							has_non_aggression_pact_with = SOV
							has_war_with = SOV
						}
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			complete_tooltip = {

}
			completion_reward = {
					SOV = {
							country_event = {
									id = wtt_japan.11
								}
						}
					if = {
							limit = {
									has_country_leader = {
											id = 700
											ruling_only = yes
										}
								}
							remove_country_leader_trait = imperial_sanction
						}
				}

	}
	focus = {
		id = JAP_bypass_the_philippines
		icon = GFX_goal_generic_position_armies
		cost = 10.00
		prerequisite = {
			focus = JAP_non_aggression_pact_with_the_soviet_union
		}
		mutually_exclusive = {
			focus = JAP_secure_the_philippines
		}
		x = 14
		y = 12
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 0
							date < 1940.1.1
						}
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
		            add_timed_idea = { idea = for_the_emperor_idea days = 230 }
					add_tech_bonus = {
							name = JAP_bypass_the_philippines
							bonus = 1.0
							uses = 1
							technology = landing_craft
							technology = tank_landing_craft
						}
				}

	}
	focus = {
		id = JAP_secure_the_philippines
		icon = GFX_goal_generic_occupy_states_ongoing_war
		cost = 10.00
		prerequisite = {
			focus = JAP_non_aggression_pact_with_the_soviet_union
		}
		mutually_exclusive = {
			focus = JAP_bypass_the_philippines
		}
		x = 16
		y = 12
			will_lead_to_war_with = PHI
			ai_will_do = {
					factor = 95
					modifier = {
							factor = 0
							date < 1940.1.1
						}
					modifier = {
							has_war_with = SOV
							factor = 0
						}
					modifier = {
							has_War_with = event_target:WTT_current_china_leader
							event_target:WTT_current_china_leader = {
									surrender_progress < 0.2
								}
							factor = 0
						}
				}
			available = {
			 OR = {
					has_government = fascism
					has_government = neutrality
					}
					is_subject = no

}
			bypass = {
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			will_lead_to_war_with = PHI
			completion_reward = {
		            add_timed_idea = { idea = for_the_emperor_idea days = 230 }
			                add_state_claim = 623
					        add_state_claim = 327
					if = {
					      limit = { PHI = { exists = yes } }
					      create_wargoal = {
							target = "PHI"
							type = puppet_wargoal_focus
							expire = 365
						}
					    add_ai_strategy = {
							type = conquer
							id = "PHI"
							value = 50
						}
					}
					if = {
							limit = {
									PHI = { exists = no }
									623 = { CONTROLLER = { 	NOT = { 	is_in_faction_with = ROOT } } }
								}
							623 = {
									OWNER = {
											ROOT = {
													create_wargoal = {
															target = PREV
															type = take_state_focus
															generator = { 623 327 }
														}
													add_ai_strategy = {
															type = conquer
															id = PREV
															value = 50
														}
												}
										}
								}
						}
				}

	}
	focus = {
		id = JAP_strike_on_the_southern_resource_area
		icon = GFX_focus_jap_strike_south
		cost = 10.00
		prerequisite = {
			focus = JAP_secure_the_philippines
			focus = JAP_bypass_the_philippines
		}
		x = 15
		y = 13
			will_lead_to_war_with = ENG
			will_lead_to_war_with = MAL
			will_lead_to_war_with = INS
			ai_will_do = {
					factor = 150
					modifier = {
							factor = 0
							date < 1940.1.1
						}
					modifier = {
							factor = 0
							ENG = {
									has_war = no
								}
							HOL = {
									has_war = no
								}
						}
					modifier = {
							has_war_with = SOV
							factor = 0
						}
				}
			available = {
				OR = { has_government = fascism has_government = neutrality }
				is_subject = no
}
			bypass = {

				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					if = {
							limit = {
									NOT = {
											has_wargoal_against = INS
										}
									NOT = {
											has_war_with = INS
										}
									country_exists = 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
								}
							add_ai_strategy = {
									type = conquer
									id = "INS"
									value = 100
								}
						}
					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
															generator = { 335  334  672  673  668  667  669  738 }
														}
													add_ai_strategy = {
															type = conquer
															id = PREV
															value = 100
														}
												}
										}
								}
						}
					if = {
							limit = {
									NOT = {
											has_wargoal_against = MAL
										}
									NOT = {
											has_war_with = MAL
										}
									country_exists = MAL
								}
							create_wargoal = {
									target = MAL
									type = annex_everything
								}
							add_ai_strategy = {
									type = conquer
									id = "MAL"
									value = 100
								}
						}
					if = {
							limit = {
									MAL = {
											exists = no
										}
									336 = {
											CONTROLLER = {
													NOT = {
															is_in_faction_with = ROOT
														}
												}
										}
								}
							336 = {
									OWNER = {
											ROOT = {
													create_wargoal = {
															target = PREV
															type = take_state_focus
															generator = { 336 }
														}
													add_ai_strategy = {
															type = conquer
															id = PREV
															value = 100
														}
												}
										}
								}
						}
					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
										}
								}
							create_wargoal = {
									target = FRA
									type = take_state_focus
									generator = { 671  670  286  741 }
								}
						}
				}

	}
	focus = {
		id = JAP_alliance_with_siam
		icon = GFX_goal_generic_major_alliance
		cost = 10.00
		prerequisite = {
			focus = JAP_new_naval_estimates
		}
		x = 14
		y = 10
			ai_will_do = {
					factor = 3
				}
			available = {
				   OR = {
					has_government = fascism
					has_government = neutrality
					}
					is_subject = no
					is_faction_leader = yes
					country_exists = SIA
					SIA = {
					    is_ai = yes
						is_subject = no
						OR = {
							communism < 0.35
							democratic < 0.35
						}
					}
				}
			bypass = {
					is_in_faction_with = SIA
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
                    JAP = { set_autonomy = { target = SIA autonomy_state = autonomy_supervised_state } }
					add_ai_strategy = {
							type = protect
							id = "SIA"
							value = 25
						}
				}

	}
	focus = {
		id = JAP_exploit_the_southern_resource_area
		icon = GFX_goal_generic_construction2
		cost = 10.00
		prerequisite = {
			focus = JAP_strike_on_the_southern_resource_area
		}
		x = 15
		y = 14
			ai_will_do = {
					factor = 10
				}
			available = {
					OR = { 
					  has_full_control_of_state = 335
					  has_full_control_of_state = 672 
					}
					  has_full_control_of_state = 336
					  has_full_control_of_state = 671
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
			        add_state_claim = 335
					add_state_claim = 672
			        add_state_claim = 336
					336 = { add_resource = { type = aluminium amount = 12 } }
					671 = { add_resource = { type = aluminium amount = 8 } }
					if = {
							limit = { has_dlc = "Waking the Tiger" }
							unlock_decision_category_tooltip = prospect_for_resources
						}
				}

	}
	focus = {
		id = JAP_sign_tripartite_pact
		icon = GFX_goal_anschluss
		cost = 10.00
		prerequisite = {
			focus = JAP_new_naval_estimates
		}
		x = 16
		y = 10
			ai_will_do = {
					factor = 0
					modifier = {
							factor = 0
							NOT = {
									GER = {
											is_in_faction_with = ITA
										}
								}
						}
				}
			available = {
					any_country = {
							original_tag = GER
							has_government = fascism
							NOT = {
									has_war_with = ROOT
								}
						}
					any_country = {
							original_tag = ITA
							has_government = fascism
							NOT = {
									has_war_with = ROOT
								}
						}
				}
			bypass = {
					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
										}
								}
						}
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					random_country = {
							limit = {
									original_tag = GER
									has_government = fascism
								}
							country_event = {
									id = wtt_japan.109
									days = 1
								}
						}
				}

	}
	focus = {
		id = JAP_coal_liquification
		icon = GFX_goal_generic_oil_refinery
		cost = 10.00
		prerequisite = {
			focus = JAP_national_research_policy
		}
		x = 18
		y = 7
			ai_will_do = {
					factor = 2
				}
			available = {
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
			528 = { add_resource = {  type = oil amount = 3  } }
		random_owned_controlled_state = {
				limit = {
					OR = {
						has_state_category = city
						has_state_category = large_city
						has_state_category = metropolis
						has_state_category = large_town
						has_state_category = town
					}
					is_core_of = ROOT
					free_building_slots = {
						building = synthetic_refinery
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = synthetic_refinery
					level = 2
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = JAP_coal_liquification
				bonus = 0.75
				uses = 3
				category = synth_resources
				}
			}

	}
	focus = {
		id = JAP_national_research_policy
		icon = GFX_focus_research
		cost = 10.00
		prerequisite = {
			focus = JAP_greater_east_asian_co_prosperity_sphere
		}
		x = 18
		y = 6
			ai_will_do = {
					factor = 4
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_research_slot = 1
				}

	}
	focus = {
		id = JAP_prepare_for_war_with_the_soviet_union
		icon = GFX_goal_anti_comintern_pact
		cost = 10.00
		prerequisite = {
			focus = JAP_coal_liquification
		}
		mutually_exclusive = {
			focus = JAP_strike_south_doctrine
		}
		x = 18
		y = 8
			ai_will_do = {
					factor = 1
				}
			available = {
				  NOT = { has_idea = JAP_military_purges }
				  is_puppet = no
				  date > 1937.1.1
					has_army_manpower = {
							size > 750000
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
		            add_timed_idea = { idea = imperial_austerity_idea days = 1095 }
					add_named_threat = {
							threat = 8
							name = JAP_prepare_for_war_with_the_soviet_union
						}
					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
		cost = 10.00
		prerequisite = {
			focus = JAP_supremacy_of_the_battlefleet
		}
		x = 39
		y = 1
			ai_will_do = {
					factor = 0
				}
			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
		cost = 10.00
		prerequisite = {
			focus = JAP_japanese_settlement
		}
		x = 22
		y = 12
			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 > 250
										}
								}
							send_equipment = {
									target = MAN
									equipment = support_equipment
									amount = 250
									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.10
									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
		cost = 10.00
		prerequisite = {
			focus = JAP_japanese_settlement
		}
		x = 20
		y = 12
			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 = {
							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.10
									localization = JAP_build_up_the_manchurian_army
								}
						}
				}

	}
	focus = {
		id = JAP_technological_exchange
		icon = GFX_goal_tfv_generic_tech_sharing
		cost = 10.00
		prerequisite = {
			focus = JAP_fortify_the_border
		}
		x = 18
		y = 11
			ai_will_do = {
					factor = 1
				}
			available = {
			 	NOT = {
					has_war_with = GER
				}

            }
			bypass = {
					has_war_with = GER
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					if = {
							limit = {
									has_country_leader = {
											id = 700
										}
								}
							remove_country_leader_trait = warrior_code
						}
					random_country = {
							limit = {
									original_tag = GER
								}
							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
		cost = 10.00
		prerequisite = {
			focus = JAP_german_rocketry
		}
		x = 18
		y = 13
			ai_will_do = {
					factor = 3
					modifier = {
							factor = 0
							date < 1941.1.1
					}
				}
			available = {
					 OR = {
					has_government = fascism
					has_government = neutrality
					}
					is_subject = no

}
			bypass = {
					OR = {
							has_war_with = SOV
							has_wargoal_against = SOV
						}
				}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					create_wargoal = {
							target = SOV
							type = annex_everything
						}
					unlock_decision_tooltip = JAP_war_with_soviet_union
					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
		cost = 10.00
		prerequisite = {
			focus = JAP_preemptive_war
		}
		x = 18
		y = 14
			ai_will_do = {
					factor = 3
				}
			available = {
					has_tech = excavation1
					has_full_control_of_state = 564
					OR = {
							has_full_control_of_state = 657
							has_full_control_of_state = 408
							has_full_control_of_state = 560
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
			        add_state_claim = 408
					add_state_claim = 409
					add_state_claim = 657
					657 = {
							if = {
									limit = {
											is_fully_controlled_by = ROOT
										}
									add_building_construction = {
											type = infrastructure
											level = 1
											instant_build = yes
										}
								}
						}
					408 = {
							if = {
									limit = {
											is_fully_controlled_by = ROOT
										}
									add_building_construction = {
											type = infrastructure
											level = 1
											instant_build = yes
										}
								}
						}
					560 = {
							if = {
									limit = {
											is_fully_controlled_by = ROOT
										}
									add_building_construction = {
											type = infrastructure
											level = 1
											instant_build = yes
										}
								}
						}
					564 = {
							add_resource = {
									type = aluminium
									amount = 8
								}
							add_building_construction = {
									type = infrastructure
									level = 1
									instant_build = yes
								}
						}
					if = {
							limit = {
									has_dlc = "Waking the Tiger"
								}
							unlock_decision_category_tooltip = prospect_for_resources
						}
				}

	}
	focus = {
		id = JAP_german_rocketry
		icon = GFX_focus_rocketry
		cost = 10.00
		prerequisite = {
			focus = JAP_technological_exchange
		}
		x = 18
		y = 12
			ai_will_do = {
					factor = 1
				}
			available = {
					NOT = {
							has_war_with = GER
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			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
								}
							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_the_manchurian_project
		icon = GFX_focus_jap_manchurian_project
		cost = 10.00
		prerequisite = {
			focus = JAP_coal_liquification
		}
		x = 21
		y = 8
			offset = {
					x = -4
					y = 0
					trigger = {
							NOT = {
									has_dlc = "Waking the Tiger"
								}
						}
				}
			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
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					MAN = {
							add_stability = 0.1
							add_war_support = 0.1
							add_political_power = 150
						}
				}

	}
	focus = {
		id = JAP_expand_the_showa_steel_works
		icon = GFX_goal_generic_construct_civilian
		cost = 10.00
		prerequisite = {
			focus = JAP_light_industry_development
		}
		x = 22
		y = 10
			ai_will_do = {
					factor = 2
				}
			available = {
					716 = {
							is_fully_controlled_by = MAN
						}
					MAN = {
							is_subject_of = ROOT
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					716 = {
							add_resource = {
									type = steel
									amount = 6
							}
							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
		cost = 10.00
		prerequisite = {
			focus = JAP_create_a_manchurian_imperial_air_force
		}
		prerequisite = {
			focus = JAP_build_up_the_manchurian_army
		}
		x = 21
		y = 13
			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
			completion_reward = {
					328 = {
							add_resource = {
									type = aluminium
									amount = 4
							}
							add_extra_state_shared_building_slots = 2
							add_building_construction = {
									type = industrial_complex
									level = 2
									instant_build = yes
								}
						}
				}

	}
	focus = {
		id = JAP_expand_manchurian_railways
		icon = GFX_goal_generic_construct_infrastructure
		cost = 10.00
		prerequisite = {
			focus = JAP_heavy_industry_development
		}
		x = 20
		y = 10
			ai_will_do = {
					factor = 1
				}
			available = {
					MAN = {
							is_subject_of = ROOT
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					MAN = {
					every_owned_state = {
							limit = {
									infrastructure < 6
									free_building_slots = {
											building = infrastructure
											size > 1
										}
									state_population > 100000
								}
							add_building_construction = {
									type = infrastructure
									level = 1
									instant_build = yes
								}
						}
						}
				}

	}
	focus = {
		id = JAP_light_industry_development
		icon = GFX_goal_generic_construct_mil_factory
		cost = 10.00
		prerequisite = {
			focus = JAP_the_manchurian_project
		}
		x = 22
		y = 9
			ai_will_do = {
					factor = 2
				}
			available = {
					MAN = {
							is_subject_of = ROOT
							has_full_control_of_state = 717
						    has_full_control_of_state = 714
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					717 = {
							add_extra_state_shared_building_slots = 2
							add_building_construction = {
									type = industrial_complex
									level = 2
									instant_build = yes
								}
						}
					714 = {
							add_extra_state_shared_building_slots = 2
							add_building_construction = {
									type = industrial_complex
									level = 2
									instant_build = yes
								}
						}
				}

	}
	focus = {
		id = JAP_heavy_industry_development
		icon = GFX_goal_generic_build_tank
		cost = 10.00
		prerequisite = {
			focus = JAP_the_manchurian_project
		}
		x = 20
		y = 9
			ai_will_do = {
					factor = 2
				}
			available = {
					MAN = {
							is_subject_of = ROOT
							has_full_control_of_state = 715
						}
				}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					715 = {
							add_extra_state_shared_building_slots = 4
							add_building_construction = {
									type = arms_factory
									level = 4
									instant_build = yes
								}
						}
				}

	}
	focus = {
		id = JAP_japanese_settlement
		icon = GFX_goal_generic_construct_civ_factory
		cost = 10.00
		prerequisite = {
			focus = JAP_expand_the_showa_steel_works
		}
		prerequisite = {
			focus = JAP_expand_manchurian_railways
		}
		x = 21
		y = 11
			ai_will_do = {
					factor = 1
				}
			available = {
					MAN = {
							has_completed_focus = MAN_obedience
							is_subject_of = ROOT
							has_full_control_of_state = 761
							has_full_control_of_state = 714
				}
			}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
			MAN = {
			        add_manpower = 50000
					761 = {
							add_extra_state_shared_building_slots = 1
							add_building_construction = {
									type = industrial_complex
									level = 1
									instant_build = yes
								}
						}
					714 = {
							add_extra_state_shared_building_slots = 1
							add_building_construction = {
									type = industrial_complex
									level = 1
									instant_build = yes
								}
						}
					}
				}

	}
	focus = {
		id = JAP_fortify_the_border
		icon = GFX_goal_generic_construct_military
		cost = 10.00
		prerequisite = {
			focus = JAP_army_expansion_law
		}
		x = 18
		y = 10
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 10
							has_completed_focus = JAP_technological_exchange
						}
				}
			available = {
					MAN = {
							is_subject_of = ROOT
						}
				}
			bypass = {
						MAN = {
						NOT = {	is_subject_of = ROOT }
						}

            }
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					MAN = {
							every_owned_state = {
									limit = {
											is_fully_controlled_by = PREV
											any_neighbor_state = {
													is_controlled_by = SOV
												}
										}
									set_building_level = {
											type = bunker
											level = 2
											province = {
													all_provinces = yes
													limit_to_border = yes
													level < 2
												}
										}
								}
						}
				}

	}
	focus = {
		id = JAP_army_expansion_law
		icon = GFX_goal_generic_army_doctrines
		cost = 10.00
		prerequisite = {
			focus = JAP_prepare_for_war_with_the_soviet_union
		}
		x = 18
		y = 9
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 2
							has_completed_focus = JAP_support_the_kodoha_faction
						}
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			completion_reward = {
					add_ideas = student_mobilization_idea
					army_experience = 50
		random_owned_controlled_state = {
				limit = {
					OR = {
						has_state_category = city
						has_state_category = large_city
						has_state_category = metropolis
						has_state_category = large_town
						has_state_category = town
					}
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					OR = {
						has_state_category = city
						has_state_category = large_city
						has_state_category = metropolis
						has_state_category = large_town
						has_state_category = town
					}
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
					
		}

	}
	focus = {
		id = JAP_new_naval_estimates
		icon = GFX_goal_generic_construct_naval_dockyard
		cost = 10.00
		prerequisite = {
			focus = JAP_strike_south_doctrine
		}
		prerequisite = {
			focus = JAP_strike_south_doctrine
		}
		x = 15
		y = 9
			ai_will_do = {
					factor = 1
					modifier = {
							factor = 2
							has_completed_focus = JAP_purge_the_kodoha_faction
						}
				}
			available = {

}
			bypass = {

}
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
			complete_tooltip = {
					random_state = {
							limit = {
									has_state_flag = JAP_new_naval_estimates_DY1
								}
							add_building_construction = {
									type = dockyard
									level = 2
									instant_build = yes
								}
						}
					random_state = {
							limit = {
									has_state_flag = JAP_new_naval_estimates_DY2
								}
							add_building_construction = {
									type = dockyard
									level = 2
									instant_build = yes
								}
						}
				}
			completion_reward = {
					random_owned_controlled_state = {
							limit = {
									ROOT = {
											has_full_control_of_state = PREV
										}
									is_core_of = ROOT
									not = {
											OR = {
													state = 646
													state = 645
													state = 555
												}
										}
									free_building_slots = {
											building = dockyard
											size > 1
											include_locked = yes
										}
								}
							add_extra_state_shared_building_slots = 2
							add_building_construction = {
									type = dockyard
									level = 2
									instant_build = yes
								}
							set_state_flag = JAP_new_naval_estimates_DY1
						}
					random_owned_controlled_state = {
							limit = {
									ROOT = {
											has_full_control_of_state = PREV
										}
									is_core_of = ROOT
									not = {
											OR = {
													state = 646
													state = 645
													state = 555
												}
										}
									free_building_slots = {
											building = dockyard
											size > 1
											include_locked = yes
										}
								}
							add_extra_state_shared_building_slots = 2
							add_building_construction = {
									type = dockyard
									level = 2
									instant_build = yes
								}
							set_state_flag = JAP_new_naval_estimates_DY2
						}
					random_owned_controlled_state = {
							limit = {
									ROOT = {
											has_full_control_of_state = PREV
										}
									is_core_of = ROOT
									not = {
											OR = {
													state = 646
													state = 645
													state = 555
												}
										}
									free_building_slots = {
											building = dockyard
											size > 1
											include_locked = yes
										}
								}
							add_extra_state_shared_building_slots = 2
							add_building_construction = {
									type = dockyard
									level = 2
									instant_build = yes
								}
							set_state_flag = JAP_new_naval_estimates_DY2
						}
				}

	}
}
