capital = 282 # Tokyo/Kanto

# Starting Stats
set_stability = 0.2 # Was one of the countries in roughest internal shape at this point in time, coup happens not even 2 months into the game
set_war_support = 0.6 # Was 0.8, but will make you have to scale up with Militarism a bit

set_research_slots = 3 # Was 4
set_fuel_ratio = 1.0

# This can't be used in a civil war duh
set_country_flag = JAP_first_strike_principle_blocked
set_country_flag = JAP_kantai_kessen_blocked


### THE IMPERIAL INFLUENCE SYSTEM ###

add_dynamic_modifier = {
	modifier = JAP_imperial_influence_dm
}

#Setting up the Faction Levels within the Imperial Influence
#Current Tiers and Influence Points:
#Tier 1: 0-9 points
#Tier 2: 10-24 points
#Tier 3: 25-39 points
#Tier 4: 40+ points - should however never be able to go above 45

set_variable = { JAP_tier_1_to_tier_2_small_gate = 5 }
set_variable = { JAP_tier_2_to_tier_3_small_gate = 20 }
set_variable = { JAP_tier_2_to_tier_3_big_gate = 15 }
set_variable = { JAP_tier_3_to_tier_4_small_gate = 35 }
set_variable = { JAP_tier_3_to_tier_4_big_gate = 30 }
set_variable = { JAP_tier_4_minimum_limit = 40 }
set_variable = { JAP_tier_4_top_limit_check = 44 }
set_variable = { JAP_tier_3_to_tier_2_small_gate = 29 }
set_variable = { JAP_tier_3_to_tier_2_big_gate = 34 }
set_variable = { JAP_tier_2_to_tier_1_small_gate = 14 }
set_variable = { JAP_tier_2_to_tier_1_big_gate = 19 }
set_variable = { JAP_tier_1_minimum_limit = 4 }
set_variable = { JAP_minimum_faction_level = 0 }
set_variable = { JAP_tier_1_gate = 9 }
set_variable = { JAP_maximum_faction_level_check = 49 }

set_variable = { JAP_small_influence_point = 5 }
set_variable = { JAP_big_influence_point = 10 } #Should probably be used rather sparingly
set_variable = { JAP_imperial_influence_interference_reset_days = 181 }

set_variable = { JAP_army_faction_influence_level = 20 } #Meddling
set_variable = { JAP_naval_faction_influence_level = 15 } #Meddling
set_variable = { JAP_zaibatsu_faction_influence_level = 15 } #Meddling
set_variable = { JAP_government_faction_influence_level = 10 } #Meddling

set_variable = { JAP_num_of_influential_imperial_factions = 0 } #Check how many Influential Faction there are
set_variable = { JAP_num_of_faction_demands = 0 } #Checks how many Demands the Imperial Factions have going on simultaneously
set_variable = { JAP_num_of_faction_demands_total = 0 } #Checks how many Demands the Imperial Factions have done throughout the game 
set_variable = { JAP_faction_demand_number_of_missions_resolved = 0 } #Checks how many Demands have been resolved throughout the game 
set_variable = { JAP_faction_demand_successful_missions = 0 } #Checks how many Demands have been achieved/successfully completed throughout the game 
set_variable = { JAP_faction_demand_failed_missions = 0 } #Checks how many Demands have been failed throughout the game 





## STATE SHINTOISM
add_dynamic_modifier = {
	modifier = JAP_state_shinotism_dm
}
set_variable = { JAP_state_shinotism_surrender_limit = 0.1 } 
set_variable = { JAP_state_shinotism_war_support_factor = 0.2 }
set_variable = { JAP_state_shinotism_stability_factor = 0 }
set_variable = { JAP_state_shinotism_pocket_penalty = 0 }
set_variable = { JAP_state_shinotism_justify_war_goal_time = 0 }
set_variable = { JAP_state_shinotism_research_speed_factor = 0 }

# THE IMPERIAL ARMY
add_dynamic_modifier = {
	modifier = JAP_imperial_army_dm
}
set_variable = { JAP_army_army_infantry_attack_factor = 0 }
set_variable = { JAP_army_army_morale_factor = 0.05 }
set_variable = { JAP_army_army_defence_factor = -0.05 }
set_variable = { JAP_army_initiative_factor = 0.1 }
set_variable = { JAP_army_army_army_artillery_attack_factor = -0.1 }
set_variable = { JAP_army_supply_consumption_factor = 0.2 }
set_variable = { JAP_army_acclimatization_cold_climate_gain_factor = 0 }
set_variable = { JAP_army_acclimatization_hot_climate_gain_factor = 0 }
set_variable = { JAP_army_army_core_attack_factor = 0 }
set_variable = { JAP_army_army_core_defence_factor = 0 }
set_variable = { JAP_army_planning_speed = 0 }
set_variable = { JAP_army_army_armor_attack_factor = 0 }
set_variable = { JAP_army_army_armor_speed_factor = 0 }
set_variable = { JAP_army_motorized_attack_factor = 0 }
set_variable = { JAP_army_mechanized_attack_factor = 0 }
set_variable = { JAP_army_org_loss_when_moving = 0 }
set_variable = { JAP_army_army_org_factor = 0 }
set_variable = { JAP_army_attrition = 0 }
set_variable = { JAP_army_air_superiority_bonus_in_combat = 0 }
set_variable = { JAP_army_coordination_bonus = 0 }
set_variable = { JAP_army_conscription = 0 }
set_variable = { JAP_army_training_time_factor = 0 }
set_variable = { JAP_army_experience_loss_factor = 0 }
set_variable = { JAP_army_max_planning_factor = 0 }
set_variable = { JAP_army_conscription_factor = 0 }
set_variable = { JAP_army_max_dig_in = 0 }
set_variable = { JAP_army_dig_in_speed_factor = 0 }

# THE IMPERIAL NAVY
add_dynamic_modifier = {
	modifier = JAP_imperial_navy_dm
}
set_variable = { JAP_navy_naval_torpedo_hit_chance_factor = 0.15 }
#set_variable = { JAP_navy_naval_torpedo_screen_penetration_factor = 0.1 }
set_variable = { JAP_navy_ships_at_battle_start = 0.1 }
set_variable = { JAP_navy_navy_max_range_factor = 0.1 }
set_variable = { JAP_navy_spotting_chance = -0.1 }
set_variable = { JAP_navy_naval_detection = -0.1 }
set_variable = { JAP_navy_naval_accidents_chance = 0.1 }
set_variable = { JAP_navy_convoy_escort_efficiency = -0.15 }
set_variable = { JAP_navy_naval_coordination = 0 }
set_variable = { JAP_navy_naval_invasion_prep_speed = 0 }
set_variable = { JAP_navy_amphibious_invasion = 0 }
set_variable = { JAP_navy_naval_heavy_gun_hit_chance_factor = 0 }
set_variable = { JAP_navy_navy_anti_air_attack_factor = 0 }
set_variable = { JAP_navy_naval_mine_hit_chance = 0 }
set_variable = { JAP_navy_naval_mines_damage_factor = 0 }
set_variable = { JAP_navy_navy_org_factor = 0 }
set_variable = { JAP_navy_experience_gain_navy_unit_factor = 0 }
set_variable = { JAP_navy_repair_speed_factor = 0}
set_variable = { JAP_navy_refit_speed = 0}
set_variable = { JAP_navy_naval_ship_recovery_chance = 0}

# THE IMPERIAL AIRFORCE SERVICES
add_dynamic_modifier = {
	modifier = JAP_army_and_naval_air_services_dm
}
set_variable = { JAP_airforce_air_nav_efficiency = 0.1 }
set_variable = { JAP_airforce_air_wing_xp_loss_when_killed_factor = 0.1 }
set_variable = { JAP_airforce_air_untrained_pilots_penalty_factor = 0.1 }
set_variable = { JAP_airforce_air_cas_efficiency = 0 }
set_variable = { JAP_airforce_sortie_efficiency = 0 }
set_variable = { JAP_airforce_air_escort_efficiency = 0 }
set_variable = { JAP_airforce_air_range_factor = 0 }
set_variable = { JAP_airforce_air_defence_factor = 0 }
set_variable = { JAP_airforce_mines_planting_by_air_factor = 0 }
set_variable = { JAP_airforce_port_strike = 0 }
set_variable = { JAP_airforce_air_mission_efficiency = 0 }
set_variable = { JAP_airforce_air_accidents_factor = 0 }
#set_variable = { JAP_airforce_navy_carrier_air_attack_factor = 0 }
#set_variable = { JAP_airforce_navy_carrier_air_targetting_factor = 0 }

# THE JAPANESE INDUSTRY
add_dynamic_modifier = {
	modifier = JAP_early_industrialization_efforts_dm
}
set_variable = { JAP_industry_industry_air_damage_factor = 0.25 } 
set_variable = { JAP_industry_lack_of_resource_penalty_factor = 0.1 }
set_variable = { JAP_industry_research_speed_factor = -0.03 }
set_variable = { JAP_industry_consumer_goods_factor = 0.3 }
set_variable = { JAP_industry_production_speed_industrial_complex_factor = 0 } 
set_variable = { JAP_industry_production_speed_arms_factory_factor = 0 } 
set_variable = { JAP_industry_production_speed_dockyard_factor = 0 }
set_variable = { JAP_industry_production_speed_buildings_factor = 0 }
set_variable = { JAP_industry_factory_energy_consumption = 0 }
set_variable = { JAP_industry_industrial_capacity_dockyard = 0 }
set_variable = { JAP_industry_industrial_capacity_factory = 0 }
set_variable = { JAP_industry_local_resources_factor = 0 }
set_variable = { JAP_industry_local_resources_coal_factor = 0 }
set_variable = { JAP_industry_convoy_retreat_speed = 0 }
set_variable = { JAP_industry_production_factory_max_efficiency_factor = 0 }
set_variable = { JAP_industry_production_factory_efficiency_gain_factor = 0 }
set_variable = { JAP_industry_special_project_speed_factor = 0 }
set_variable = { JAP_industry_line_change_production_efficiency_factor = 0 }

#ADVANCED WEAPON PROJECTS
set_variable = { JAP_advanced_weapons_production_speed_land_facility_factor = 0 }
set_variable = { JAP_advanced_weapons_production_speed_air_facility_factor = 0 }
set_variable = { JAP_advanced_weapons_sp_tag_jet_speed_factor = 0 }
set_variable = { JAP_advanced_weapons_sp_tag_rocket_speed_factor = 0 }
set_variable = { JAP_advanced_weapons_sp_tag_tank_speed_factor = 0 }
set_variable = { JAP_advanced_weapons_sp_tag_artillery_speed_factor = 0 }
set_variable = { JAP_advanced_weapons_sp_tag_surface_ship_speed_factor = 0 }
set_variable = { JAP_advanced_weapons_sp_commercial_nuclear_reactor_speed_factor = 0 }
set_variable = { JAP_advanced_weapons_sp_nuclear_warheads_speed_factor = 0 }
set_variable = { JAP_advanced_weapons_sp_nuclear_bomb_speed_factor = 0 }
set_variable = { JAP_advanced_weapons_production_speed_nuclear_reactor_factor = 0 }
set_variable = { JAP_advanced_weapons_sp_air_intercontinental_bomber_speed_factor = 0 }
set_variable = { JAP_advanced_weapons_sp_air_intercontinental_bomber_speed_factor = 0 }
set_variable = { JAP_advanced_weapons_sp_air_mothership_aircraft_speed_factor = 0 }
set_variable = { JAP_advanced_weapons_sp_nuclear_engines_speed_factor = 0 }

# SHOWA STATISM
set_variable = { JAP_showa_statism_stability_factor = 0 } 
set_variable = { JAP_showa_statism_conscription_factor = 0 } 
set_variable = { JAP_showa_statism_consumer_goods_factor = 0 } 
set_variable = { JAP_showa_statism_political_power_factor = 0 } 
set_variable = { JAP_showa_statism_fascism_drift = 0 } 
#set_variable = { JAP_showa_statism_production_speed_industrial_complex_factor = 0 } 
#set_variable = { JAP_showa_statism_production_speed_arms_factory_factor = 0 } 
set_variable = { JAP_showa_statism_monthly_population = 0 } 
set_variable = { JAP_showa_statism_industrial_capacity_dockyard = 0 } 
set_variable = { JAP_showa_statism_industrial_capacity_factory = 0 } 
set_variable = { JAP_showa_statism_weekly_casualties_war_support = 0 } 
set_variable = { JAP_showa_statism_weekly_convoys_war_support = 0 } 
set_variable = { JAP_showa_statism_weekly_bombing_war_support = 0 } 
set_variable = { JAP_showa_statism_industry_repair_factor = 0 } 
set_variable = { JAP_showa_statism_operative_slot = 0 } 

# DAI TOA KYOUEIKEN
set_variable = { JAP_east_asia_co_prosperity_sphere_autonomy_manpower_share_from_subjects = 0 } 
set_variable = { JAP_east_asia_co_prosperity_sphere_resources_to_overlord_factor = 0 } 
set_variable = { JAP_east_asia_co_prosperity_sphere_production_speed_rail_way_factor = 0 } 
set_variable = { JAP_east_asia_co_prosperity_sphere_production_speed_supply_node_factor = 0 } 
set_variable = { JAP_east_asia_co_prosperity_sphere_research_speed_factor = 0 } 
set_variable = { JAP_east_asia_co_prosperity_sphere_non_core_manpower = 0 } 

# THE IMPERIAL WAY
set_variable = { JAP_the_imperial_way_war_support_factor = 0 } 
set_variable = { JAP_the_imperial_way_drift_defence_factor = 0 } 
set_variable = { JAP_the_imperial_way_conscription_factor = 0 } 
set_variable = { JAP_the_imperial_way_political_advisor_cost_factor = 0 } 
set_variable = { JAP_the_imperial_way_stability_factor = 0 } 
set_variable = { JAP_the_imperial_way_army_core_defence_factor = 0 } 
set_variable = { JAP_the_imperial_way_army_core_attack_factor = 0 } 
set_variable = { JAP_the_imperial_way_consumer_goods_factor = 0 } 
set_variable = { JAP_the_imperial_way_offensive_war_stability_factor = 0 } 

# THE CIVILIAN CABINET
set_variable = { JAP_civilian_cabinet_political_advisor_cost_factor = 0 } 
set_variable = { JAP_civilian_cabinet_high_command_cost_factor = 0 } 
set_variable = { JAP_civilian_cabinet_army_chief_cost_factor = 0 } 
set_variable = { JAP_civilian_cabinet_mobilization_laws_cost_factor = 0 } 
set_variable = { JAP_civilian_cabinet_consumer_goods_factor = 0 } 
set_variable = { JAP_civilian_cabinet_resource_trade_cost_bonus_per_factory = 0 } 
set_variable = { JAP_civilian_cabinet_military_leader_cost_factor = 0 } 
set_variable = { JAP_civilian_cabinet_political_power_factor = 0 } 
set_variable = { JAP_civilian_cabinet_stability_factor = 0 } 
set_variable = { JAP_civilian_cabinet_war_support_factor = 0 } 
set_variable = { JAP_civilian_cabinet_military_industrial_organization_research_bonus = 0 } 
set_variable = { JAP_civilian_cabinet_conscription = 0 } 
set_variable = { JAP_civilian_cabinet_unit_leader_as_advisor_cp_cost_factor = 0 } 
set_variable = { JAP_civilian_cabinet_army_leader_start_defense_level = 0 } 
set_variable = { JAP_civilian_cabinet_justify_war_goal_time = 0 } 
set_variable = { JAP_civilian_cabinet_democratic_drift = 0 } 

# THE JAPANESE COMMUNIST PARTY
set_variable = { JAP_communist_party_communism_drift = 0 } 
set_variable = { JAP_communist_party_political_power_factor = 0 } 
set_variable = { JAP_communist_party_conscription_factor = 0 } 
set_variable = { JAP_communist_party_research_speed_factor = 0 } 
set_variable = { JAP_communist_party_offensive_war_stability_factor = 0 } 
set_variable = { JAP_communist_party_annex_cost_factor = 0 } 
set_variable = { JAP_communist_party_puppet_cost_factor = 0 } 
set_variable = { JAP_communist_party_defensive_war_stability_factor = 0 } 
set_variable = { JAP_communist_party_operative_slot = 0 } 
set_variable = { JAP_communist_party_enemy_operative_detection_chance_factor = 0 } 
set_variable = { JAP_communist_party_enemy_operative_intel_extraction_rate = 0 } 
set_variable = { JAP_communist_party_enemy_operative_capture_chance_factor = 0 } 
set_variable = { JAP_communist_party_army_core_defence_factor = 0 } 
set_variable = { JAP_communist_party_weekly_manpower = 0 } 

# THE ROUNOUHA GOVERNMENT
# The Same modifiers as the above plus some 


# RESOURCES FOR INDUSTRY
set_variable = { JAP_industrial_relocation_resources_country_resource_oil = 0 }
set_variable = { JAP_industrial_relocation_resources_country_resource_tungsten = 0 }
set_variable = { JAP_industrial_relocation_resources_country_resource_chromium = 0 }
set_variable = { JAP_industrial_relocation_resources_country_resource_rubber = 0 }

# EDUCATE THE PEASANTS 
set_variable = { JAP_educating_the_peasants_modifier_research_speed_factor = 0.01 }
set_variable = { JAP_educating_the_peasants_modifier_allies_count = 1 }

## Other Variables
set_variable = { JAP_democratic_state_flipping_cost_cost = 35 }
set_variable = { JAP_communist_state_infiltrating_cost_cost = 20 }
set_variable = { kwantung_army_timeout_time_var = 725 }
set_variable = { JAP_levy_cap_max = 48 }
set_variable = { JAP_levy_cap_min = 0 }
set_variable = { JAP_levy_cap = 12 }
set_variable = { JAP_levy_deployed = 0 }
clamp_variable = {
	var = JAP_levy_cap
	min = JAP_levy_cap_min
	max = JAP_levy_cap_max
}
set_variable = { JAP_economic_redistribtuion_level = 0 }
set_variable = { JAP_economic_redistribtuion_min = 0 }
set_variable = { JAP_economic_redistribtuion_max = 6 }
clamp_variable = {
	var = JAP_economic_redistribtuion_level
	min = JAP_economic_redistribtuion_min
	max = JAP_economic_redistribtuion_max
}

### Starting Ideas ###
add_ideas = {

	# Laws
	limited_exports
	limited_conscription
	partial_economic_mobilisation

	# National Spirits
	#JAP_zaibatsus
	JAP_militarism

	#Imperial Influence Ideas
	JAP_army_faction_tier_2_equal_navy
	JAP_naval_faction_tier_2_equal_army
	JAP_zaibatsu_faction_tier_2
	JAP_government_faction_tier_2

	#Hidden Ideas
	JAP_separate_air_services
	JAP_japanese_armor_doctrine
}

IF = {
	limit = {
		has_dlc = "Man the Guns"
	}
	add_ideas = MTG_naval_treaty_adherent
}



#######################################
### Setup Resistance and Compliance ###
#######################################

# East Hebei
609 = {
	start_resistance = yes
	set_compliance = 15
	set_resistance = 5
	set_garrison_strength = 1.0
}

# Dalian
745 = {
	start_resistance = yes
	set_compliance = 20
	set_resistance = 5
	set_garrison_strength = 1.0
}

# Taiwan
524 = {
	start_resistance = yes
	set_compliance = 20
	set_resistance = 5
	set_garrison_strength = 1.0
}

# Palau
647 = {
	start_resistance = yes
	set_compliance = 25
	set_resistance = 0
	set_garrison_strength = 1.0
}

# Caroline Islands
684 = {
	start_resistance = yes
	set_compliance = 25
	set_resistance = 0
	set_garrison_strength = 1.0
}

# Marshall Islands
633 = {
	start_resistance = yes
	set_compliance = 25
	set_resistance = 0
	set_garrison_strength = 1.0
}

# Korea 

# Heian-Koukai
527 = {
	start_resistance = yes
	set_compliance = 5
	set_resistance = 5
	set_garrison_strength = 1.0
}

# Kankyou
1028 = {
	start_resistance = yes
	set_compliance = 5
	set_resistance = 5
	set_garrison_strength = 1.0
}

# Keiki 
525 = {
	start_resistance = yes
	set_compliance = 5
	set_resistance = 5
	set_garrison_strength = 1.0
}

# Kougen 
1029 = {
	start_resistance = yes
	set_compliance = 5
	set_resistance = 5
	set_garrison_strength = 1.0
}

# Keishou 
1030 = {
	start_resistance = yes
	set_compliance = 5
	set_resistance = 5
	set_garrison_strength = 1.0
}

# Chuusei-Zenra 
1031 = {
	start_resistance = yes
	set_compliance = 5
	set_resistance = 5
	set_garrison_strength = 1.0
}



###########################
### Starting Technology ###
###########################

set_technology = {
	
	# Military Tech
	infantry_weapons = 1
	#infantry_weapons1 = 1
	tech_support = 1		
	marines  = 1
	gw_artillery = 1
	bicycle_infantry = 1 # They start with it now 
	JAP_silver_wheels = 1 # Small bicycle terrain boost 
	JAP_lighter_tanks = 1 # Small tank terrain boost 
	# Civilian Tech
	basic_train = 1
	
}

set_grand_doctrine = grand_battleplan
set_grand_doctrine = new_base_strike

# Cruiser Subs were already in production at the time
complete_special_project = {
	project = sp:sp_naval_cruiser_submarine
	scientist = JAP_keiji_fukuda
	state = 529
}

# SET UP STARTING BRAKTHROUGH PROGRESS
add_breakthrough_progress = {
	specialization = specialization_naval
	value = 0.1
}
add_breakthrough_progress = {
	specialization = specialization_air
	value = 0.1
}
#add_breakthrough_progress = {
#	specialization = specialization_land
#	value = 0.1
#}

IF = {
	limit = {
		has_dlc = "Man the Guns"
	}
	set_technology = {
		basic_naval_mines = 1
		submarine_mine_laying = 1
		basic_torpedo = 1
		basic_battery = 1
		basic_light_battery = 1
		basic_heavy_battery = 1
		#basic_medium_battery = 1
		improved_ship_torpedo_launcher = 1
		early_ship_hull_submarine = 1
		basic_ship_hull_submarine = 1
		early_ship_hull_light = 1
		basic_ship_hull_light = 1
		early_ship_hull_cruiser = 1
		basic_ship_hull_cruiser = 1
		early_ship_hull_heavy = 1
		basic_ship_hull_heavy = 1
		early_ship_hull_carrier = 1
		basic_ship_hull_carrier = 1
		mtg_transport = 1
		coastal_defense_ships = 1
		basic_depth_charges = 1
		basic_cruiser_armor_scheme = 1
		#cruiser_submarines = 1
		basic_dp_light_battery = 1
	}
	set_naval_oob = "JAP_1936_naval"
}
IF = {
	limit = { 
		NOT = { 
			has_dlc = "Man the Guns" 
		} 
	}
	set_technology = {
		early_submarine = 1
		basic_submarine = 1
		early_destroyer = 1
		basic_destroyer = 1
		early_light_cruiser = 1
		basic_light_cruiser = 1
		early_heavy_cruiser = 1
		basic_heavy_cruiser = 1
		early_battleship = 1
		basic_battleship = 1
		early_battlecruiser = 1
		early_carrier = 1
		basic_carrier = 1
		transport = 1
	}
	set_naval_oob = "JAP_1936_naval_legacy"
}

IF = {
	limit = { 
		has_dlc = "By Blood Alone" 
	}
	set_air_oob = "JAP_1936_air_bba"
	set_technology = {
		aa_lmg = 1
		engines_1 = 1
		early_bombs = 1
		iw_small_airframe = 1
		air_torpedoe_1 = 1
	}
	ELSE = {
		set_air_oob = "JAP_1936_air_legacy"
		set_technology = {
			cv_early_fighter = 1
			cv_CAS1 = 1
			cv_naval_bomber1 = 1
			early_fighter = 1
		}
	}
}



IF = {
	limit = {
		has_dlc = "La Resistance"
	}
	JAP_create_yoshiko_kawashima_operative = yes
	JAP_create_takeo_yoshikawa_operative = yes
}

# We should start with a lot of convoys
set_convoys = 400

### SETUP PUPPETS ###
set_autonomy = {
	target = MAN
	autonomous_state = autonomy_wtt_imperial_protectorate
}

# Setup Politics 
set_politics = {
	ruling_party = neutrality
	last_election = "1936.1.1"
	election_frequency = 48
	elections_allowed = yes
}
set_popularities = {
	fascism = 35
	neutrality = 40
	democratic = 23
	communism = 2
}

### Recruiting Characters ### 
recruit_character = JAP_tetsu_katayama
recruit_character = JAP_kyuichi_tokuda
recruit_character = JAP_emperor_hirohito
recruit_character = JAP_tomoyuki_yamashita
recruit_character = JAP_hisaichi_terauchi
recruit_character = JAP_shunroku_hata
recruit_character = JAP_akira_muto
recruit_character = JAP_kanji_ishiwara
recruit_character = JAP_shizuichi_tanaka
recruit_character = JAP_yasuji_okamura
recruit_character = JAP_toshizo_nishio
recruit_character = JAP_rikichi_ando
recruit_character = JAP_naruhiko_higashikuni
recruit_character = JAP_seishiro_itagaki
recruit_character = JAP_takashi_sakai
recruit_character = JAP_kenji_doihara
recruit_character = JAP_kenkichi_ueda
recruit_character = JAP_shigeru_honjo
recruit_character = JAP_yoshijiro_umezu
recruit_character = JAP_otozo_yamada
recruit_character = JAP_hatazo_adachi
recruit_character = JAP_iwane_matsui
recruit_character = JAP_sadao_araki
recruit_character = JAP_keisuke_fujie
recruit_character = JAP_kiichiro_higuchi
recruit_character = JAP_masaharu_homma
recruit_character = JAP_harukichi_hyakutake
recruit_character = JAP_jo_iimura
recruit_character = JAP_hitoshi_imamura
recruit_character = JAP_masatane_kanda
recruit_character = JAP_kuniaki_koiso
recruit_character = JAP_isoroku_yamamoto
recruit_character = JAP_mineichi_koga
recruit_character = JAP_kiyoshi_hasegawa
recruit_character = JAP_shigeyoshi_inoue
recruit_character = JAP_nobutake_kondo
recruit_character = JAP_takeo_takagi
recruit_character = JAP_soemu_toyoda
recruit_character = JAP_jisaburo_ozawa
recruit_character = JAP_zengo_yoshida
recruit_character = JAP_hiroaki_abe
recruit_character = JAP_tadashige_daigo
recruit_character = JAP_gengo_hyakutake
recruit_character = JAP_yoshitoshi_tokugawa
recruit_character = JAP_fushimi_hiroyasu
recruit_character = JAP_korechika_anami
recruit_character = JAP_mitsuo_fuchida
recruit_character = JAP_minoru_genda
recruit_character = JAP_tateo_kato
recruit_character = JAP_osami_nagano
recruit_character = JAP_torashiro_kawabe
recruit_character = JAP_shigetaro_shimada
recruit_character = JAP_yoshio_nishina
recruit_character = JAP_hideo_itokawa
recruit_character = JAP_kanin_kotohito
recruit_character = JAP_hideki_tojo
recruit_character = JAP_matome_ugaki
recruit_character = JAP_nishizo_tsukahara
recruit_character = JAP_hajime_sugiyama
recruit_character = JAP_chuichi_nagumo
recruit_character = JAP_hino_kumazo
recruit_character = JAP_mitsumasa_yonai
recruit_character = JAP_takuo_godo
recruit_character = JAP_chiune_sugihara
recruit_character = JAP_kingoro_hashimoto
recruit_character = JAP_sanzo_nosaka
recruit_character = JAP_hiroshi_oshima
recruit_character = JAP_kijuro_shidehara
recruit_character = JAP_kijiro_nambu
recruit_character = JAP_keiji_fukuda
recruit_character = JAP_jiro_horikoshi
recruit_character = JAP_hideki_yukawa
recruit_character = JAP_yoji_ito
recruit_character = JAP_hideo_iwakuro
recruit_character = JAP_yuzuru_hiraga
recruit_character = JAP_keisuke_okada
recruit_character = JAP_shun_akikusa
recruit_character = JAP_koki_hirota
recruit_character = JAP_kazushige_ugaki
recruit_character = JAP_fumimaro_konoe
recruit_character = JAP_senjuro_hayashi
recruit_character = JAP_jinzaburo_masaki
recruit_character = JAP_emperor_yasuhito
recruit_character = JAP_tokugawa_iesato
recruit_character = JAP_masafumi_arima
recruit_character = JAP_tsuneyoshi_takeda
recruit_character = JAP_yasuhiko_asaka
recruit_character = JAP_isamu_cho
recruit_character = JAP_hayao_tada
recruit_character = JAP_nashimoto_morimasa
recruit_character = JAP_michitaro_komatsubara
recruit_character = JAP_takahashi_korekiyo
recruit_character = JAP_naoki_hoshino
recruit_character = JAP_koichi_kido
recruit_character = JAP_shigenori_togo
recruit_character = JAP_heisuke_yanagawa
recruit_character = JAP_yosuke_matsuoka
recruit_character = JAP_genki_abe
recruit_character = JAP_nobusuke_kishi
recruit_character = JAP_masatoshi_okochi
recruit_character = JAP_shumei_okawa
recruit_character = JAP_okinori_kaya
recruit_character = JAP_koyata_iwasaki
recruit_character = JAP_chikuhei_nakajima
recruit_character = JAP_yoshisuke_aikawa
recruit_character = JAP_kenjiro_matsumoto
recruit_character = JAP_uzo_nishiyama
recruit_character = JAP_gotaro_ogawa
recruit_character = JAP_kiichiro_hiranuma
recruit_character = JAP_yamauchi_sachiko
recruit_character = JAP_wakatsuki_reijiro
recruit_character = JAP_shinji_sogo
recruit_character = JAP_jotaro_watanabe
recruit_character = JAP_masakazu_kawabe
recruit_character = JAP_harukichi_shimoi
recruit_character = JAP_teijiro_toyoda
recruit_character = JAP_chuuichi_nagumo
recruit_character = JAP_tamon_yamaguchi
recruit_character = JAP_toyoaki_horiuchi
recruit_character = JAP_tadaichi_wakamatsu
recruit_character = JAP_masanobu_tsuji


### DLC-SPECIFIC CHARACTERS ###
IF = {
	limit = {
		has_dlc = "No Compromise, No Surrender"
	}
	recruit_character = JAP_ichiro_hatoyama
	recruit_character = JAP_machida_chuuji
	recruit_character = JAP_abe_isoo
	recruit_character = JAP_hitoshi_yamakawa
	recruit_character = JAP_kanson_arahata
	recruit_character = JAP_yamakawa_kikue
	recruit_character = JAP_empress_nagako
	recruit_character = JAP_yoshio_kodama
	recruit_character = JAP_adachi_kenzo
	recruit_character = JAP_seigo_nakano
	recruit_character = JAP_saburo_aizawa
	recruit_character = JAP_yoshiyuki_kawashima
	recruit_character = JAP_teruzo_ando
	recruit_character = JAP_shiro_nonaka
	recruit_character = JAP_asaichi_isobe
	recruit_character = JAP_yasuhide_kurihara
	recruit_character = JAP_kiyosada_koda
	recruit_character = JAP_takaji_muranaka
	recruit_character = JAP_morihei_ueshiba
	recruit_character = JAP_fukumoto_kazuo
	recruit_character = JAP_nissho_inoue
	recruit_character = JAP_bin_akao
	recruit_character = JAP_yukio_ozaki
	recruit_character = JAP_toyama_mitsuru
	recruit_character = JAP_hajime_kawakami
	recruit_character = JAP_osamu_shimomura
	recruit_character = JAP_hideo_shima
	recruit_character = JAP_ichikawa_fusae
	recruit_character = JAP_komakichi_matsuoka
	recruit_character = JAP_yoshio_shiga
	recruit_character = JAP_hisachi_aso
	recruit_character = JAP_suzuki_bunji
	recruit_character = JAP_hakamada_satomi
	recruit_character = JAP_noboru_yamaguchi
	recruit_character = JAP_tsuji_jun
	recruit_character = JAP_hiratsuka_raicho
	recruit_character = JAP_masamichi_royama
	recruit_character = JAP_minoru_takano
	recruit_character = JAP_kojiro_fukushi
	recruit_character = JAP_hotsumi_ozaki
	recruit_character = JAP_onisaburo_deguchi
	recruit_character = JAP_saionji_kinmochi
	recruit_character = JAP_gempo_yamamoto
	recruit_character = JAP_akira_kurosawa
	recruit_character = JAP_emperor_nobuhito
	recruit_character = JAP_yoshihige_abe
	recruit_character = JAP_kozo_sasaki
	recruit_character = JAP_giro_senoo
	recruit_character = JAP_taketora_ogata
	ELSE_IF = {
		limit = {
			NOT = {
				has_dlc = "No Compromise, No Surrender"
			}
		}
		recruit_character = JAP_random_general_1
		recruit_character = JAP_random_general_2
		recruit_character = JAP_random_general_3
	}
}

# Tojo leads the army side of the cw, and should not be aligned
JAP_hideki_tojo = {
	set_character_flag = JAP_do_not_align_me_flag
}

# Do not align any scientists plz 
JAP_yuzuru_hiraga = {
	set_character_flag = JAP_do_not_align_me_flag
}
JAP_hideo_iwakuro = {
	set_character_flag = JAP_do_not_align_me_flag
}
JAP_hideo_iwakuro = {
	set_character_flag = JAP_do_not_align_me_flag
}
JAP_yoshitoshi_tokugawa = {
	set_character_flag = JAP_do_not_align_me_flag
}

# Yamamoto will not join the militarists 
JAP_isoroku_yamamoto = {
	set_character_flag = JAP_do_not_align_me_flag
}

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

	create_equipment_variant = {
		name = "Type 92 Tankette"
		type = light_tank_chassis_0
		design_team = mio:JAP_osaka_army_arsenal_organization
		parent_version = 0
		modules = {
			main_armament_slot = tank_heavy_machine_gun
			turret_type_slot = tank_light_one_man_tank_turret
			suspension_type_slot = tank_bogie_suspension
			armor_type_slot = tank_riveted_armor
			engine_type_slot = tank_gasoline_engine
			special_type_slot_1 = secondary_turret_hmg
			special_type_slot_2 = empty
			special_type_slot_3 = empty
			special_type_slot_4 = empty
		}
		upgrades = {
			tank_nsb_engine_upgrade = 0
			tank_nsb_armor_upgrade = 0
		}
		obsolete = yes
		icon = "GFX_JAP_basic_light_tank_medium"
	}

	create_equipment_variant = {
		name = "Type 94 Tankette"
		type = light_tank_chassis_1
		design_team = mio:JAP_osaka_army_arsenal_organization
		parent_version = 0
		modules = {
			main_armament_slot = tank_heavy_machine_gun
			turret_type_slot = tank_light_one_man_tank_turret
			suspension_type_slot = tank_bogie_suspension
			armor_type_slot = tank_riveted_armor
			engine_type_slot = tank_gasoline_engine 
			special_type_slot_1 = empty
			special_type_slot_2 = empty
			special_type_slot_3 = empty
			special_type_slot_4 = empty
		}
		upgrades = {
			tank_nsb_engine_upgrade = 0
			tank_nsb_armor_upgrade = 0
		}
		obsolete = yes
		icon = "GFX_JAP_basic_light_tank_medium"
	}

	create_equipment_variant = {
		name = "Type 89 I-Go"
		type = medium_tank_chassis_0
		design_team = mio:JAP_sagami_army_arsenal_organization
		parent_version = 0
		modules = {
			main_armament_slot = tank_close_support_gun
			turret_type_slot = tank_medium_two_man_tank_turret 
			suspension_type_slot = tank_bogie_suspension
			armor_type_slot = tank_riveted_armor
			engine_type_slot = tank_diesel_engine
			special_type_slot_1 = additional_machine_guns
			special_type_slot_2 = empty
			special_type_slot_3 = empty
			special_type_slot_4 = empty
		}
		upgrades = {
			tank_nsb_engine_upgrade = 4
			tank_nsb_armor_upgrade = 0
		}
		icon = "GFX_JAP_basic_medium_tank_medium"
	}

	create_equipment_variant = { #Note: There is a copy of this variant in Finnish National Focus file (FIN_bring_foreign_armor_experts). Any changes here should also be applied there
		name = "Type 95 Ha-Go"
		type = light_tank_chassis_2
		design_team = mio:JAP_osaka_army_arsenal_organization
		parent_version = 0
		modules = {
			main_armament_slot = tank_small_cannon
			turret_type_slot = tank_light_one_man_tank_turret
			suspension_type_slot = tank_bogie_suspension
			armor_type_slot = tank_riveted_armor
			engine_type_slot = tank_gasoline_engine 
			special_type_slot_1 = additional_machine_guns
			special_type_slot_2 = empty
			special_type_slot_3 = empty
			special_type_slot_4 = empty
		}
		upgrades = {
			tank_nsb_engine_upgrade = 4
			tank_nsb_armor_upgrade = 2
		}
		icon = "GFX_JAP_improved_light_tank_medium"
	}

}

create_equipment_variant = {
	type = infantry_equipment_1
	design_team = mio:JAP_kokura_arsenal_organization
	show_position = no
	mark_older_equipment_obsolete = yes
}
create_equipment_variant = {
	type = support_equipment_1
	design_team = mio:JAP_nagoya_arsenal_organization
	show_position = no
	mark_older_equipment_obsolete = yes
}
create_equipment_variant = {
	type = artillery_equipment_1
	design_team = mio:JAP_osaka_army_arsenal_artillery_organization
	show_position = no
	mark_older_equipment_obsolete = yes
}
create_equipment_variant = {
	type = motorized_equipment_1
	design_team = mio:JAP_nissan_organization
	show_position = no
	mark_older_equipment_obsolete = yes
}
create_equipment_variant = {
	type = transport_plane_equipment_1
	design_team = mio:JAP_kawasaki_aircraft_industries_organization
	show_position = no
	mark_older_equipment_obsolete = yes
}
IF = {
	limit = {
		has_dlc = "La Resistance"
	}
	create_equipment_variant = {
		type = gw_armored_car_equipment
		design_team = mio:JAP_tokyo_automobile_industries_organization
		show_position = no
		mark_older_equipment_obsolete = yes
	}
}

IF = {

	limit = {
		has_dlc = "By Blood Alone"
	}

	create_equipment_variant = {
		name = "Ki-10"
		type = small_plane_airframe_0
		modules = {
			fixed_main_weapon_slot = light_mg_2x
			engine_type_slot = engine_1_1x
			special_type_slot_1 = empty
		}
	}

	create_equipment_variant = {
		name = "Ki-2"
		type = small_plane_cas_airframe_0
		modules = {
			fixed_main_weapon_slot = small_bomb_bay
			engine_type_slot = engine_1_2x
			special_type_slot_1 = lmg_defense_turret
		}
		icon = "GFX_JAP_CAS1_medium"
	}

	create_equipment_variant = {
		name = "Ki-1"
		type = medium_plane_airframe_0
		modules = {
			fixed_main_weapon_slot = medium_bomb_bay
			engine_type_slot = engine_1_2x
			special_type_slot_1 = lmg_defense_turret
		}
	}

	create_equipment_variant = {
		name = "Ki-3"
		type = small_plane_cas_airframe_0
		modules = {
			fixed_main_weapon_slot = bomb_locks
			engine_type_slot = engine_1_1x
			special_type_slot_1 = lmg_defense_turret
		}
		icon = "GFX_JAP_early_fighter_medium"
	}

	create_equipment_variant = {
		name = "Aichi D1A2"
		type = cv_small_plane_cas_airframe_0
		modules = {
			fixed_main_weapon_slot = bomb_locks
			engine_type_slot = engine_1_1x
			special_type_slot_1 = dive_brakes_small
			special_type_slot_2 = lmg_defense_turret
		}
		icon = "GFX_JAP_CAS1_medium"
	}

	create_equipment_variant = {
		name = "A4N"
		type = cv_small_plane_airframe_0
		modules = {
			fixed_main_weapon_slot = light_mg_2x
			engine_type_slot = engine_1_1x
			special_type_slot_1 = empty
		}
	}

	create_equipment_variant = {
		name = "B2M"
		type = cv_small_plane_naval_bomber_airframe_0
		modules = {
			fixed_main_weapon_slot = torpedo_mounting
			engine_type_slot = engine_1_1x
			special_type_slot_1 = lmg_defense_turret
		}
		obsolete = yes
		icon = "GFX_JAP_cv_naval_bomber1_medium"
	}

	create_equipment_variant = {
		name = "B4Y"
		type = cv_small_plane_naval_bomber_airframe_1
		modules = {
			fixed_main_weapon_slot = torpedo_mounting
			fixed_auxiliary_weapon_slot_1 = bomb_locks
			engine_type_slot = engine_2_1x
			special_type_slot_1 = lmg_defense_turret
		}
		icon = "GFX_JAP_cv_naval_bomber1_medium"
	}

}


### VARIANTS ###
# 1936 Start #

### Carrier Variants
create_equipment_variant = {
	name = "Akagi Class"
	type = ship_hull_carrier_conversion_bb
	name_group = JAP_CV_HISTORICAL
	design_team = mio:JAP_yokosuka_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_deck_slot_1 = ship_deck_space
		fixed_ship_deck_slot_2 = ship_deck_space
		fixed_ship_anti_air_slot = ship_anti_air_1
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = heavy_ship_engine_2
		fixed_ship_secondaries_slot = ship_secondaries_2
		mid_1_custom_slot = ship_deck_space
		fixed_ship_armor_slot = ship_armor_cruiser_1
	}
	obsolete = yes
}
create_equipment_variant = {
	name = "Kaga Class"
	type = ship_hull_carrier_conversion_bb
	name_group = JAP_CV_HISTORICAL
	design_team = mio:JAP_yokosuka_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_deck_slot_1 = ship_deck_space
		fixed_ship_deck_slot_2 = ship_deck_space
		fixed_ship_anti_air_slot = ship_anti_air_1
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = heavy_ship_engine_2
		fixed_ship_secondaries_slot = ship_secondaries_2
		mid_1_custom_slot = ship_deck_space
		fixed_ship_armor_slot = ship_armor_cruiser_1
	}
	obsolete = yes
}
create_equipment_variant = {
	name = "Soryu Class"
	type = ship_hull_carrier_1
	name_group = JAP_CV_HISTORICAL
	design_team = mio:JAP_yokosuka_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_deck_slot_1 = ship_deck_space
		fixed_ship_deck_slot_2 = ship_deck_space
		fixed_ship_anti_air_slot = ship_anti_air_1
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = carrier_ship_engine_2
		fixed_ship_secondaries_slot = ship_secondaries_1
		front_1_custom_slot = ship_deck_space
	}
}
create_equipment_variant = {
	name = "Zuiho Class"
	type = ship_hull_carrier_conversion_ca
	name_group = JAP_CVL_HISTORICAL
	design_team = mio:JAP_yokosuka_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_deck_slot_1 = ship_deck_space
		fixed_ship_deck_slot_2 = ship_deck_space
		fixed_ship_anti_air_slot = ship_anti_air_1
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = carrier_ship_engine_2
		fixed_ship_secondaries_slot = ship_secondaries_1
	}
}
create_equipment_variant = {
	name = "Hosho Class"
	name_group = JAP_CVL_HISTORICAL
	design_team = mio:JAP_yokosuka_naval_arsenal_organization
	type = ship_hull_carrier_conversion_ca
	parent_version = 0
	modules = {
		fixed_ship_deck_slot_1 = ship_deck_space
		fixed_ship_deck_slot_2 = empty
		fixed_ship_anti_air_slot = empty
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = carrier_ship_engine_1
		fixed_ship_secondaries_slot = ship_secondaries_1
		fixed_ship_armor_slot = empty
	}
	obsolete = yes
}
create_equipment_variant = {
	name = "Ryujo Class"
	name_group = JAP_CVL_HISTORICAL
	design_team = mio:JAP_yokosuka_naval_arsenal_organization
	type = ship_hull_carrier_1
	parent_version = 0
	modules = {
		fixed_ship_deck_slot_1 = ship_deck_space
		fixed_ship_deck_slot_2 = ship_deck_space
		fixed_ship_anti_air_slot = ship_anti_air_1
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = carrier_ship_engine_1
		fixed_ship_secondaries_slot = ship_secondaries_1
		front_1_custom_slot = empty
	}
	obsolete = yes
}

### Battleship Variants	
create_equipment_variant = {
	name = "Nagato Class"
	name_group = JAP_BB_HISTORICAL
	design_team = mio:JAP_sasebo_naval_arsenal_organization
	type = ship_hull_heavy_1
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_heavy_battery_2
		fixed_ship_anti_air_slot = ship_anti_air_1
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		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_bb_1
		front_1_custom_slot = ship_anti_air_1
		mid_1_custom_slot = ship_secondaries_1
		mid_2_custom_slot = ship_airplane_launcher_1
		rear_1_custom_slot = ship_heavy_battery_2
	}
}
create_equipment_variant = {
	name = "Kongo Class"
	name_group = JAP_BB_HISTORICAL
	design_team = mio:JAP_sasebo_naval_arsenal_organization
	type = ship_hull_heavy_1
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_heavy_battery_1
		fixed_ship_anti_air_slot = ship_anti_air_1
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		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_bc_2
		front_1_custom_slot = ship_anti_air_1
		mid_1_custom_slot = ship_secondaries_1
		mid_2_custom_slot = ship_airplane_launcher_1
		rear_1_custom_slot = ship_heavy_battery_1
	}
}
create_equipment_variant = {
	name = "Fuso/Ise Class"
	type = ship_hull_heavy_1
	design_team = mio:JAP_sasebo_naval_arsenal_organization
	name_group = JAP_BB_HISTORICAL
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_heavy_battery_1
		fixed_ship_anti_air_slot = ship_anti_air_1
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		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_bb_1
		front_1_custom_slot = ship_heavy_battery_1
		mid_1_custom_slot = ship_secondaries_1
		mid_2_custom_slot = ship_airplane_launcher_1
		rear_1_custom_slot = ship_heavy_battery_1
	}
	obsolete = yes
}
	
### Cruiser Variants			
create_equipment_variant = {
	name = "Takao Class"
	type = ship_hull_cruiser_2
	name_group = JAP_CA_HISTORICAL
	design_team = mio:JAP_sasebo_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_medium_battery_2
		fixed_ship_anti_air_slot = empty
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = cruiser_ship_engine_2
		fixed_ship_armor_slot = ship_armor_cruiser_2
		fixed_ship_secondaries_slot = ship_secondaries_1
		front_1_custom_slot = ship_medium_battery_2
		mid_1_custom_slot = ship_torpedo_1
		mid_2_custom_slot = ship_torpedo_1
		rear_1_custom_slot = ship_airplane_launcher_1
	}
	obsolete = yes
}
create_equipment_variant = {
	name = "Myoko Class"
	type = ship_hull_cruiser_2
	name_group = JAP_CA_HISTORICAL
	design_team = mio:JAP_sasebo_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_medium_battery_2
		fixed_ship_anti_air_slot = empty
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = cruiser_ship_engine_2
		fixed_ship_armor_slot = ship_armor_cruiser_2
		fixed_ship_secondaries_slot = ship_secondaries_1
		front_1_custom_slot = ship_medium_battery_2
		mid_1_custom_slot = ship_torpedo_2
		mid_2_custom_slot = ship_torpedo_2
		rear_1_custom_slot = ship_airplane_launcher_1
	}
	obsolete = yes
}

create_equipment_variant = {
	name = "Furutaka/Aoba Class"
	type = ship_hull_cruiser_2
	name_group = JAP_CA_HISTORICAL
	design_team = mio:JAP_sasebo_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_medium_battery_2
		fixed_ship_anti_air_slot = empty
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = cruiser_ship_engine_1
		fixed_ship_armor_slot = ship_armor_cruiser_1
		fixed_ship_secondaries_slot = ship_secondaries_1
		mid_1_custom_slot = ship_torpedo_2
		mid_2_custom_slot = ship_torpedo_2
		rear_1_custom_slot = empty
	}
	obsolete = yes
}

create_equipment_variant = {
	name = "Chikuma Class"
	type = ship_hull_cruiser_1
	name_group = JAP_CA_HISTORICAL
	design_team = mio:JAP_sasebo_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_light_medium_battery_1
		fixed_ship_anti_air_slot = empty
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = cruiser_ship_engine_1
		fixed_ship_armor_slot = ship_armor_cruiser_1
		fixed_ship_secondaries_slot = ship_secondaries_1
		mid_1_custom_slot = ship_torpedo_1
		mid_2_custom_slot = empty
		rear_1_custom_slot = empty
	}
	obsolete = yes
}
create_equipment_variant = {
	name = "Izumo Class"
	type = ship_hull_cruiser_coastal_defense_ship
	name_group = JAP_CA_HISTORICAL
	design_team = mio:JAP_sasebo_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_medium_battery_1
		fixed_ship_anti_air_slot = empty
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = cruiser_ship_engine_1
		fixed_ship_armor_slot = ship_armor_cruiser_2
		mid_1_custom_slot = ship_secondaries_1
		mid_2_custom_slot = ship_secondaries_1
		rear_1_custom_slot = ship_torpedo_1
	}
	obsolete = yes
}

create_equipment_variant = {
	name = "Tone Class"
	type = ship_hull_cruiser_2
	name_group = JAP_CA_HISTORICAL
	design_team = mio:JAP_sasebo_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_medium_battery_2
		fixed_ship_anti_air_slot = ship_anti_air_1
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = cruiser_ship_engine_2
		fixed_ship_armor_slot = ship_armor_cruiser_2
		fixed_ship_secondaries_slot = ship_secondaries_1
		front_1_custom_slot = ship_medium_battery_1
		mid_1_custom_slot = ship_torpedo_2
		mid_2_custom_slot = ship_airplane_launcher_1
		rear_1_custom_slot = ship_airplane_launcher_1
	}
}

create_equipment_variant = {
	name = "Tokiwa Class"
	type = ship_hull_cruiser_coastal_defense_ship
	name_group = JAP_CA_HISTORICAL
	design_team = mio:JAP_sasebo_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_medium_battery_1
		fixed_ship_anti_air_slot = empty
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = cruiser_ship_engine_1
		fixed_ship_armor_slot = ship_armor_cruiser_2
		mid_1_custom_slot = ship_secondaries_1
		mid_2_custom_slot = ship_secondaries_1
		rear_1_custom_slot = ship_mine_layer_1
	}
	obsolete = yes
}

create_equipment_variant = {
	name = "Mogami Class"
	type = ship_hull_cruiser_2
	name_group = JAP_CL_HISTORICAL
	design_team = mio:JAP_maizuru_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_light_medium_battery_2
		fixed_ship_anti_air_slot = ship_anti_air_1
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = cruiser_ship_engine_2
		fixed_ship_armor_slot = ship_armor_cruiser_2
		fixed_ship_secondaries_slot = ship_secondaries_1
		front_1_custom_slot = ship_light_medium_battery_2
		mid_1_custom_slot = ship_torpedo_2
		mid_2_custom_slot = ship_torpedo_2
		rear_1_custom_slot = ship_airplane_launcher_1
	}
}

create_equipment_variant = {
	name = "Yubari Class"
	type = ship_hull_cruiser_2
	name_group = JAP_CL_HISTORICAL
	design_team = mio:JAP_maizuru_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_light_medium_battery_1
		fixed_ship_anti_air_slot = empty
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = cruiser_ship_engine_1
		fixed_ship_armor_slot = ship_armor_cruiser_1
		mid_1_custom_slot = ship_torpedo_1
		mid_2_custom_slot = empty
		rear_1_custom_slot = ship_mine_layer_1
	}
	obsolete = yes
}

create_equipment_variant = {
	name = "Sendai Class"
	type = ship_hull_cruiser_1
	name_group = JAP_CL_HISTORICAL
	design_team = mio:JAP_maizuru_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_light_medium_battery_1
		fixed_ship_anti_air_slot = empty
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = cruiser_ship_engine_2
		fixed_ship_armor_slot = ship_armor_cruiser_1
		fixed_ship_secondaries_slot = ship_secondaries_1
		mid_1_custom_slot = ship_torpedo_1
		mid_2_custom_slot = ship_airplane_launcher_1
		rear_1_custom_slot = ship_mine_layer_1
	}
	obsolete = yes
}

create_equipment_variant = {
	name = "Tenryu Class"
	type = ship_hull_cruiser_1
	name_group = JAP_CL_HISTORICAL
	design_team = mio:JAP_maizuru_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_light_medium_battery_1
		fixed_ship_anti_air_slot = empty
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = cruiser_ship_engine_2
		fixed_ship_armor_slot = ship_armor_cruiser_1
		mid_1_custom_slot = ship_torpedo_1
		mid_2_custom_slot = empty
		rear_1_custom_slot = empty
	}
	obsolete = yes
}

create_equipment_variant = {
	name = "Kuma/Nagara Class"
	type = ship_hull_cruiser_1
	name_group = JAP_CL_HISTORICAL
	design_team = mio:JAP_maizuru_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_light_medium_battery_1
		fixed_ship_anti_air_slot = empty
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = cruiser_ship_engine_2
		fixed_ship_armor_slot = ship_armor_cruiser_1
		mid_1_custom_slot = ship_torpedo_1
		mid_2_custom_slot = empty
		rear_1_custom_slot = ship_mine_layer_1
	}
	obsolete = yes
}

create_equipment_variant = {
	name = "Okinoshima Class"					# cruiser minelayer
	type = ship_hull_cruiser_1
	name_group = JAP_MINELAYERS_HISTORICAL
	design_team = mio:JAP_maizuru_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_light_medium_battery_1
		fixed_ship_anti_air_slot = ship_anti_air_1
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = cruiser_ship_engine_1
		fixed_ship_armor_slot = empty
		mid_1_custom_slot = empty
		mid_2_custom_slot = empty
		rear_1_custom_slot = ship_mine_layer_1
	}
}

create_equipment_variant = {
	name = "Chitose/Mizuho Class"
	type = ship_hull_cruiser_2
	name_group = JAP_CL_HISTORICAL
	design_team = mio:JAP_maizuru_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_light_battery_1
		fixed_ship_anti_air_slot = ship_anti_air_1
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = cruiser_ship_engine_1
		fixed_ship_armor_slot = empty
		mid_1_custom_slot = ship_airplane_launcher_1
		mid_2_custom_slot = ship_airplane_launcher_1
		rear_1_custom_slot = empty
	}
}

### Destroyer Variants
create_equipment_variant = {
	name = "Mutsuki Class" #collection of various WWI and early interwar ships with similiar capabilities
	type = ship_hull_light_1
	name_group = JAP_DD_HISTORICAL
	design_team = mio:JAP_sasebo_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_light_battery_1
		fixed_ship_anti_air_slot = empty
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = light_ship_engine_2
		fixed_ship_torpedo_slot = ship_torpedo_1
		mid_1_custom_slot = ship_torpedo_1
		rear_1_custom_slot = ship_depth_charge_1
	}
	obsolete = yes
}

create_equipment_variant = {
	name = "Minekaze Class" 
	type = ship_hull_light_1
	name_group = JAP_DD_HISTORICAL
	design_team = mio:JAP_maizuru_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_light_battery_1
		fixed_ship_anti_air_slot = empty
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = light_ship_engine_1
		fixed_ship_torpedo_slot = ship_torpedo_1
		mid_1_custom_slot = ship_torpedo_1
		rear_1_custom_slot = ship_depth_charge_1
	}
	obsolete = yes
}

create_equipment_variant = {
	name = "Momi Class" 
	type = ship_hull_light_1
	name_group = JAP_DD_HISTORICAL
	parent_version = 0
	design_team = mio:JAP_kawasaki_dockyards_organization
	modules = {
		fixed_ship_battery_slot = ship_light_battery_1
		fixed_ship_anti_air_slot = empty
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = light_ship_engine_1
		fixed_ship_torpedo_slot = ship_torpedo_1
		mid_1_custom_slot = empty
		rear_1_custom_slot = empty
	}
	obsolete = yes
}

create_equipment_variant = {
	name = "Chidori/Otori Class"
	type = ship_hull_light_1
	name_group = JAP_DD_HISTORICAL
	design_team = mio:JAP_maizuru_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_light_battery_1
		fixed_ship_anti_air_slot = empty
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = light_ship_engine_1
		fixed_ship_torpedo_slot = ship_torpedo_1
		mid_1_custom_slot = empty
		rear_1_custom_slot = ship_depth_charge_1
	}
}

create_equipment_variant = {
	name = "Fubuki Class"
	type = ship_hull_light_2
	name_group = JAP_DD_HISTORICAL
	design_team = mio:JAP_maizuru_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_light_battery_2
		fixed_ship_anti_air_slot = empty
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = light_ship_engine_2
		fixed_ship_torpedo_slot = ship_torpedo_2
		mid_1_custom_slot = ship_torpedo_2
		rear_1_custom_slot = ship_depth_charge_1
	}
}

create_equipment_variant = {
	name = "Sokuten Class" 				# collection of interwar DD-sized minelayers
	type = ship_hull_light_1
	name_group = JAP_MINELAYERS_HISTORICAL
	design_team = mio:JAP_maizuru_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_light_battery_1
		fixed_ship_anti_air_slot = empty
		fixed_ship_fire_control_system_slot = empty
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = light_ship_engine_1
		fixed_ship_torpedo_slot = empty
		mid_1_custom_slot = ship_mine_layer_1
		rear_1_custom_slot = ship_mine_layer_1
	}
}	

create_equipment_variant = {
	name = "Momo Class" # Momo-class destroyers, successors to the Kaba's, one of which is transferred to Manchukuo in 1937
	type = ship_hull_light_1
	name_group = JAP_DD_HISTORICAL
	design_team = mio:JAP_maizuru_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_light_battery_1
		fixed_ship_anti_air_slot = empty
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = light_ship_engine_1
		fixed_ship_torpedo_slot = ship_torpedo_1
		mid_1_custom_slot = ship_torpedo_1
		rear_1_custom_slot = empty
	}
	obsolete = yes
}

create_equipment_variant = {
	name = "Asashio Class"
	type = ship_hull_light_2
	name_group = JAP_DD_HISTORICAL
	design_team = mio:JAP_maizuru_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_light_battery_2
		fixed_ship_anti_air_slot = ship_anti_air_1
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = light_ship_engine_2
		fixed_ship_torpedo_slot = ship_torpedo_2
		mid_1_custom_slot = ship_torpedo_2
		rear_1_custom_slot = ship_depth_charge_1
	}
}

create_equipment_variant = {
	name = "Hatsuharu Class"
	type = ship_hull_light_2
	name_group = JAP_DD_HISTORICAL
	design_team = mio:JAP_maizuru_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_light_battery_2
		fixed_ship_anti_air_slot = empty
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = light_ship_engine_2
		fixed_ship_torpedo_slot = ship_torpedo_1
		mid_1_custom_slot = empty
		rear_1_custom_slot = ship_depth_charge_1
	}
	obsolete = yes
}

create_equipment_variant = {
	name = "Shiratsuyu Class"
	type = ship_hull_light_2
	name_group = JAP_DD_HISTORICAL
	design_team = mio:JAP_maizuru_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_battery_slot = ship_light_battery_2
		fixed_ship_anti_air_slot = empty
		fixed_ship_fire_control_system_slot = ship_fire_control_system_0
		fixed_ship_radar_slot = empty
		fixed_ship_engine_slot = light_ship_engine_2
		fixed_ship_torpedo_slot = ship_torpedo_2
		mid_1_custom_slot = ship_torpedo_1
		rear_1_custom_slot = ship_depth_charge_1
	}
	obsolete = yes
}

### Submarine Variants	
create_equipment_variant = {
	name = "Kaidai III Class"
	type = ship_hull_submarine_2
	name_group = JAP_SS_HISTORICAL
	design_team = mio:JAP_sasebo_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_torpedo_slot = ship_torpedo_sub_1
		fixed_ship_engine_slot = sub_ship_engine_1
		rear_1_custom_slot = ship_torpedo_sub_1
	}
}	

create_equipment_variant = {
	name = "Kaichū IV Class"
	type = ship_hull_submarine_1
	design_team = mio:JAP_sasebo_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_torpedo_slot = ship_torpedo_sub_1
		fixed_ship_engine_slot = sub_ship_engine_1
		rear_1_custom_slot = empty
	}
}

create_equipment_variant = {
	name = "Kiraisen Class"
	type = ship_hull_submarine_2
	name_group = JAP_SS_HISTORICAL
	design_team = mio:JAP_sasebo_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_torpedo_slot = ship_torpedo_sub_1
		fixed_ship_engine_slot = sub_ship_engine_1
		rear_1_custom_slot = ship_mine_layer_sub
	}
}	

create_equipment_variant = {
	name = "I-1 Class"
	type = ship_hull_cruiser_submarine
	name_group = JAP_SS_HISTORICAL
	design_team = mio:JAP_sasebo_naval_arsenal_organization
	parent_version = 0
	modules = {
		fixed_ship_torpedo_slot = ship_torpedo_sub_1
		fixed_ship_engine_slot = sub_ship_engine_1
		front_1_custom_slot = ship_light_battery_sub
		mid_1_custom_slot = empty
		rear_1_custom_slot = ship_torpedo_sub_1
	}
}