equipments = {

	ship_hull_light = {
		year = 1922

		can_be_produced = {
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				NOT = {
					has_idea = BUL_army_restrictions_aat
				}
			}
			else = {
				NOT = {
					has_idea = BUL_army_restrictions
				}
			}
		}

		is_archetype = yes
		is_buildable = no
		type = screen_ship
		interface_category = interface_category_screen_ships
		alias = destroyer
		priority = 2000

		upgrades = {
			ship_torpedo_upgrade
			destroyer_engine_upgrade
			ship_ASW_upgrade
			ship_anti_air_upgrade
		}

		module_slots = {
			fixed_ship_battery_slot = {
				required = yes
				allowed_module_categories = { ship_light_battery dp_light_battery}
			}
			fixed_ship_anti_air_slot = {
				required = no
				allowed_module_categories = { ship_anti_air }
			}
			fixed_ship_fire_control_system_slot = {
				required = no
				allowed_module_categories = { ship_fire_control_system }
			}
			fixed_ship_radar_slot = {
				required = no
				allowed_module_categories = { ship_radar ship_sonar}
			}
			fixed_ship_torpedo_slot = {
				required = no
				allowed_module_categories = { ship_torpedo }
			}
			fixed_ship_engine_slot = {
				required = yes
				allowed_module_categories = { light_ship_engine }
			}

			mid_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_torpedo
					ship_mine_warfare
					ship_mine_layer
					ship_anti_air
					ship_depth_charge
					ship_seaplane_tender
				}
			}
			rear_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_mine_warfare
					ship_mine_layer
					ship_anti_air
					ship_depth_charge
					ship_ssm
					ship_sam
				}
			}
		}
		
		module_count_limit = {
			category = ship_radar
			count < 2
		}
		
		module_count_limit = {
			category = ship_sonar
			count < 2
		}
		
		default_modules = {
			fixed_ship_battery_slot = empty
			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 = empty
			rear_1_custom_slot = empty
		}
		
		lg_armor_piercing = 0
		lg_attack = 0
		
		hg_armor_piercing = 0
		hg_attack = 0
		
		torpedo_attack = 0
		sub_attack = 1
		
		anti_air_attack = 0
		
		armor_value = 0

		
		surface_detection = 20
		sub_detection = 2.5
		surface_visibility = 10
		naval_speed = 32
		reliability = 0.80
		
		naval_range = 3000
		
		max_strength = 25
		

		fuel_consumption = 0
		
		build_cost_ic = 400
		resources = {
			steel = 2
		}
		
		manpower = 120
		naval_dominance_factor = 20
		naval_weather_penalty_factor = 1 #this value gets -1 before its used so 1.5 will increase the effects of weather penalties by 0.5. this is base value is required for MIO stat modifiers
		#MIO stat modifers will factory by the unmodified stat value so here a 0.5 mio stat modifier would make this ships naval_weather_penalty_factor stat 1.5.
		# change this from 1 at your own risk		
	}

	ship_hull_light_1 = {
		abbreviation = "hdb"
		derived_variant_name = destroyer_1
		year = 1922

		archetype = ship_hull_light
		priority = 2000
		#alias = destroyer_1
		
		module_slots = inherit
		naval_dominance_factor = 24
	}

	ship_hull_light_2 = {
		abbreviation = "hdc"
		derived_variant_name = destroyer_2
		year = 1936

		archetype = ship_hull_light
		priority = 2400
		parent = ship_hull_light_1
		#alias = destroyer_2
		
		module_slots = {
			fixed_ship_battery_slot = inherit
			fixed_ship_anti_air_slot = inherit
			fixed_ship_fire_control_system_slot = inherit
			fixed_ship_radar_slot = inherit
			fixed_ship_torpedo_slot = inherit
			fixed_ship_engine_slot = inherit

			mid_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_torpedo
					ship_mine_warfare
					ship_mine_layer
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_seaplane_tender
				}
			}
			rear_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_mine_warfare
					ship_mine_layer
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_seaplane_tender
					ship_ssm
					ship_sam
					ship_shipboard_helicopter
				}
			}
		}

		default_modules = {
			mid_1_custom_slot = empty
			rear_1_custom_slot = empty
			fixed_ship_engine_slot = light_ship_engine_2
		}


		reliability = 0.80
		naval_range = 3200
		max_strength = 40
		build_cost_ic = 500
		sub_detection = 3
		resources = {
			steel = 2
		}
		manpower = 200
		naval_dominance_factor = 30
	}

	ship_hull_light_3 = {
		abbreviation = "hdd"
		derived_variant_name = destroyer_3
		year = 1940

		archetype = ship_hull_light
		priority = 2000
		parent = ship_hull_light_2
		#alias = destroyer_3

		module_slots = {
			fixed_ship_battery_slot = inherit
			fixed_ship_anti_air_slot = inherit
			fixed_ship_fire_control_system_slot = inherit
			fixed_ship_radar_slot = {
				required = no
				allowed_module_categories = { ship_radar }
			}
			fixed_ship_sonar_slot = {
				required = no
				allowed_module_categories = { ship_sonar }
			}
			fixed_ship_torpedo_slot = inherit
			fixed_ship_engine_slot = inherit

			front_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_ssm
					ship_sam
				}
			}
			mid_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_torpedo
					ship_mine_warfare
					ship_mine_layer
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_seaplane_tender
				}
			}
			rear_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_mine_warfare
					ship_mine_layer
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_seaplane_tender
					ship_ssm
					ship_sam
					ship_shipboard_helicopter
				}
			}
		}

		
		resources = {
			steel = 3
		}
		sub_detection = 3.5
		surface_detection = 20
		surface_visibility = 10
		reliability = 0.80
		naval_range = 3500
		max_strength = 50
		build_cost_ic = 550
		manpower = 250
		naval_dominance_factor = 36

		default_modules = {
			mid_1_custom_slot = empty
			rear_1_custom_slot = empty
			fixed_ship_engine_slot = light_ship_engine_3
		}
	}

	ship_hull_light_4 = {
		abbreviation = "hde"
		derived_variant_name = destroyer_4
		year = 1944

		archetype = ship_hull_light
		priority = 2000
		parent = ship_hull_light_3
		#alias = destroyer_4
		
		module_slots = {
			fixed_ship_battery_slot = inherit
			fixed_ship_anti_air_slot = inherit
			fixed_ship_fire_control_system_slot = inherit
			fixed_ship_radar_slot = {
				required = no
				allowed_module_categories = { ship_radar }
			}
			fixed_ship_sonar_slot = {
				required = no
				allowed_module_categories = { ship_sonar }
			}
			fixed_ship_torpedo_slot = inherit
			fixed_ship_engine_slot = inherit
			front_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_ssm
					ship_sam
				}
			}
			mid_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_torpedo
					ship_mine_warfare
					ship_mine_layer
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_seaplane_tender
				}
			}
			mid_2_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_mine_warfare
					ship_mine_layer
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
				}
			}
			rear_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_mine_warfare
					ship_mine_layer
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_seaplane_tender
					ship_ssm
					ship_sam
					ship_shipboard_helicopter
				}
			}
		}

		sub_detection = 4
		surface_detection = 20
		reliability = 0.80
		naval_range = 3600
		max_strength = 60
		build_cost_ic = 600
		naval_dominance_factor = 40
		resources = {
			steel = 4
		}
		manpower = 300
		default_modules = {
			fixed_ship_engine_slot = light_ship_engine_4
		}
	}

	ship_hull_light_5 = {
		derived_variant_name = destroyer_5
		year = 1948

		archetype = ship_hull_light
		priority = 2000
		parent = ship_hull_light_4
		
		module_slots = {
			fixed_ship_battery_slot = inherit
			fixed_ship_anti_air_slot = inherit
			fixed_ship_fire_control_system_slot = inherit
			fixed_ship_radar_slot = {
				required = no
				allowed_module_categories = { ship_radar }
			}
			fixed_ship_sonar_slot = {
				required = no
				allowed_module_categories = { ship_sonar }
			}
			fixed_ship_torpedo_slot = inherit
			fixed_ship_engine_slot = inherit
			front_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_ssm
					ship_sam
				}
			}
			mid_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_torpedo
					ship_mine_warfare
					ship_mine_layer
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_seaplane_tender
				}
			}
			mid_2_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_mine_warfare
					ship_mine_layer
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
				}
			}
			rear_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_mine_warfare
					ship_mine_layer
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_seaplane_tender
					ship_ssm
					ship_sam
					ship_shipboard_helicopter
				}
			}
		}

		sub_detection = 4.5
		surface_detection = 20
		reliability = 0.80
		naval_range = 3800
		max_strength = 70
		build_cost_ic = 650
		naval_dominance_factor = 45
		resources = {
			steel = 4
			chromium = 1
		}
		manpower = 310
		default_modules = {
			fixed_ship_engine_slot = light_ship_engine_5
		}
	}

	ship_hull_light_6 = {
		derived_variant_name = destroyer_6
		year = 1953

		archetype = ship_hull_light
		priority = 2000
		parent = ship_hull_light_5
		
		module_slots = {
			fixed_ship_battery_slot = inherit
			fixed_ship_anti_air_slot = inherit
			fixed_ship_fire_control_system_slot = inherit
			fixed_ship_radar_slot = {
				required = no
				allowed_module_categories = { ship_radar }
			}
			fixed_ship_sonar_slot = {
				required = no
				allowed_module_categories = { ship_sonar }
			}
			fixed_ship_torpedo_slot = inherit
			fixed_ship_engine_slot = inherit
			front_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_ssm
					ship_sam
				}
			}
			mid_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_torpedo
					ship_mine_warfare
					ship_mine_layer
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_seaplane_tender
				}
			}
			mid_2_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_mine_warfare
					ship_mine_layer
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
				}
			}
			rear_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_mine_warfare
					ship_mine_layer
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_seaplane_tender
					ship_ssm
					ship_sam
					ship_shipboard_helicopter
				}
			}
			rear_2_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_mine_warfare
					ship_mine_layer
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_depth_charge
					ship_shipboard_helicopter
				}
			}
		}

		sub_detection = 5
		surface_detection = 20
		reliability = 0.80
		naval_range = 4000
		max_strength = 80
		build_cost_ic = 700
		naval_dominance_factor = 50
		resources = {
			steel = 4
			chromium = 1
		}
		manpower = 320
		default_modules = {
			fixed_ship_engine_slot = light_ship_engine_6
		}
	}

	ship_hull_light_7 = {
		derived_variant_name = destroyer_7
		year = 1958

		archetype = ship_hull_light
		priority = 2000
		parent = ship_hull_light_6
		
		module_slots = {
			fixed_ship_battery_slot = inherit
			fixed_ship_anti_air_slot = inherit
			fixed_ship_fire_control_system_slot = inherit
			fixed_ship_radar_slot = {
				required = no
				allowed_module_categories = { ship_radar }
			}
			fixed_ship_sonar_slot = {
				required = no
				allowed_module_categories = { ship_sonar }
			}
			fixed_ship_torpedo_slot = inherit
			fixed_ship_engine_slot = inherit
			front_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_ssm
					ship_sam
				}
			}
			mid_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_torpedo
					ship_mine_warfare
					ship_mine_layer
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_seaplane_tender
				}
			}
			mid_2_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_mine_warfare
					ship_mine_layer
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
				}
			}
			rear_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_mine_warfare
					ship_mine_layer
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_seaplane_tender
					ship_ssm
					ship_sam
					ship_shipboard_helicopter
				}
			}
			rear_2_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_mine_warfare
					ship_mine_layer
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_depth_charge
					ship_shipboard_helicopter
				}
			}
		}

		sub_detection = 5.5
		surface_detection = 20
		reliability = 0.80
		naval_range = 4400
		max_strength = 90
		build_cost_ic = 750
		naval_dominance_factor = 55
		resources = {
			steel = 5
			chromium = 1
		}
		manpower = 330
		default_modules = {
			fixed_ship_engine_slot = light_ship_engine_7
		}
	}

	ship_hull_light_8 = {
		derived_variant_name = destroyer_8
		year = 1964

		archetype = ship_hull_light
		priority = 2000
		parent = ship_hull_light_7
		
		module_slots = {
			fixed_ship_battery_slot = inherit
			fixed_ship_anti_air_slot = inherit
			fixed_ship_fire_control_system_slot = inherit
			fixed_ship_radar_slot = {
				required = no
				allowed_module_categories = { ship_radar }
			}
			fixed_ship_sonar_slot = {
				required = no
				allowed_module_categories = { ship_sonar }
			}
			fixed_ship_torpedo_slot = inherit
			fixed_ship_engine_slot = inherit
			front_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_ssm
					ship_sam
				}
			}
			mid_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_torpedo
					ship_mine_warfare
					ship_mine_layer
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_seaplane_tender
				}
			}
			mid_2_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_mine_warfare
					ship_mine_layer
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
				}
			}
			rear_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_mine_warfare
					ship_mine_layer
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_seaplane_tender
					ship_ssm
					ship_sam
					ship_shipboard_helicopter
				}
			}
			rear_2_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_mine_warfare
					ship_mine_layer
					ship_anti_air
					ship_light_battery
					dp_light_battery
					ship_depth_charge
					ship_shipboard_helicopter
				}
			}
		}

		sub_detection = 6
		surface_detection = 20
		reliability = 0.80
		naval_range = 4800
		max_strength = 90
		build_cost_ic = 750
		naval_dominance_factor = 60
		resources = {
			steel = 5
			chromium = 1
		}
		manpower = 330
		default_modules = {
			fixed_ship_engine_slot = light_ship_engine_8
		}
	}
	
	destroyer_1 = {
		year = 1922

		archetype = ship_hull_light
		priority = 2000
		module_slots = inherit
		default_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 = light_ship_engine_1
			fixed_ship_torpedo_slot = ship_torpedo_1
			mid_1_custom_slot = empty
			rear_1_custom_slot = ship_depth_charge_1
		}
		lg_armor_piercing = 0
		lg_attack = 0
		
		torpedo_attack = 0
		sub_attack = 1
		
		anti_air_attack = 0
		
		armor_value = 0

		
		surface_detection = 20
		sub_detection = 5
		surface_visibility = 10
		naval_speed = 30
		reliability = 0.80
		
		naval_range = 1800
		
		max_strength = 25
		

		fuel_consumption = 7
		
		build_cost_ic = 400
		resources = {
			#oil = 1
			steel = 2
		}
		
		manpower = 250
	}
	destroyer_2 = {
		year = 1936

		archetype = ship_hull_light
		priority = 2000
		parent = destroyer_1
		module_slots = inherit
		default_modules = {
			fixed_ship_battery_slot = ship_light_battery_2
			fixed_ship_anti_air_slot = ship_anti_air_2
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = light_ship_engine_2
			fixed_ship_torpedo_slot = ship_torpedo_2
			mid_1_custom_slot = empty
			rear_1_custom_slot = ship_depth_charge_2
		}
		lg_armor_piercing = 0
		lg_attack = 0
		torpedo_attack = 0
		sub_attack = 1
		
		anti_air_attack = 0
		
		armor_value = 0

		
		surface_detection = 25
		sub_detection = 10
		surface_visibility = 10
		naval_speed = 30
		reliability = 0.85

		naval_range = 2200
		
		max_strength = 40
		

		
		type = { 
			screen_ship
			anti_air
		}

		build_cost_ic = 500
		resources = {
			#oil = 1
			steel = 3
		}		
		manpower = 325
	}
	
	destroyer_3 = {
		year = 1940

		archetype = ship_hull_light
		priority = 2000
		parent = destroyer_2
		module_slots = inherit
		default_modules = {
			fixed_ship_battery_slot = ship_light_battery_3
			fixed_ship_anti_air_slot = ship_anti_air_3
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = light_ship_engine_3
			fixed_ship_torpedo_slot = ship_torpedo_3
			mid_1_custom_slot = empty
			rear_1_custom_slot = ship_depth_charge_3
		}
		lg_armor_piercing = 0
		lg_attack = 0
		torpedo_attack = 0
		sub_attack = 1
		
		anti_air_attack = 0
		
		armor_value = 0

		
		surface_detection = 40
		sub_detection = 10
		surface_visibility = 10
		naval_speed = 30
		reliability = 0.90

		naval_range = 2600
		
		max_strength = 50
		

		
		type = { 
			screen_ship
			anti_air
		}
		build_cost_ic = 500
		resources = {
			#oil = 2
			steel = 3
		}
		manpower = 400
	}
	
	destroyer_4 = {
		year = 1944

		archetype = ship_hull_light
		priority = 2000
		parent = destroyer_3
		module_slots = inherit
		default_modules = {
			fixed_ship_battery_slot = ship_light_battery_4
			fixed_ship_anti_air_slot = ship_anti_air_4
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = light_ship_engine_4
			fixed_ship_torpedo_slot = ship_torpedo_4
			mid_1_custom_slot = empty
			rear_1_custom_slot = ship_depth_charge_4
		}
		lg_armor_piercing = 0
		lg_attack = 0
		torpedo_attack = 0
		sub_attack = 1
		
		anti_air_attack = 5
		
		armor_value = 0

		
		surface_detection = 40
		sub_detection = 10
		surface_visibility = 10
		naval_speed = 30
		reliability = 0.92

		naval_range = 3200
		
		max_strength = 60
		

		
		type = { 
			screen_ship
			anti_air
		}

		build_cost_ic = 500
		resources = {
			#oil = 2
			steel = 4
			chromium = 1
		}		
		manpower = 500
	}
}
