equipments = {

	ship_hull_light = {
		year = 1906

		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  }
			}
			fixed_ship_sonar_slot = {
				required = no
				allowed_module_categories = { 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 }
			}
			fixed_engine_type_slot = {
				required = yes
				allowed_module_categories = { ship_engine_type }
			}
			front_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
				}
			}
			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 = mid_1_custom_slot
		}

		module_count_limit = {
			category = ship_radar
			count < 2
		}

		module_count_limit = {
			category = ship_sonar
			count < 2
		}

		module_count_limit = {
		category = ship_seaplane_tender
count < 2
}

module_count_limit = {
			module = ship_depth_charge_1
			count < 3
		}

		module_count_limit = {
			module = ship_depth_charge_2
			count < 3
		}

		module_count_limit = {
			module = ship_depth_charge_3
			count < 3
		}

		module_count_limit = {
			module = ship_depth_charge_4
			count < 3
		}

		module_count_limit = {
			module = ship_depth_charge_5
			count < 2
		}

		module_count_limit = {
			module = ship_depth_charge_6
			count < 2
		}

		module_count_limit = {
			module = ship_depth_charge_7
			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

		carrier_size = 0

		surface_detection = 20
		sub_detection = 2.5
		surface_visibility = 10
		naval_speed = 32
		reliability = 0.80

		naval_range = 1500

		max_strength = 25


		fuel_consumption = 0

		build_cost_ic = 400
		resources = {
			steel = 1
		}

		manpower = 250
		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"
		year = 1906

		archetype = ship_hull_light
		priority = 2000
		#alias = destroyer_1

		module_slots = inherit
		naval_dominance_factor = 24
	}

	ship_hull_light_2 = {
		abbreviation = "hdc"
		year = 1920

		archetype = ship_hull_light
		priority = 2000
		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_sonar_slot = inherit
			fixed_ship_torpedo_slot = inherit
			fixed_ship_engine_slot = inherit
			fixed_engine_type_slot = inherit

			front_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
				}
			}

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

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


		reliability = 0.85
		naval_range = 1800
		max_strength = 40
		build_cost_ic = 500
		sub_detection = 3
		resources = {
			steel = 2
		}
		manpower = 325
		naval_dominance_factor = 30
	}

	ship_hull_light_3 = {
		abbreviation = "hdd"
		year = 1924

		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 = inherit
			fixed_ship_sonar_slot = inherit
			fixed_ship_torpedo_slot = inherit
			fixed_ship_engine_slot = inherit
			fixed_engine_type_slot = inherit

			front_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
				}
			}
			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_torpedo
					ship_mine_warfare
					ship_mine_layer
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
				}
			}
		}


		resources = {
			steel = 2
		}
		sub_detection = 3.5
		surface_detection = 20
		surface_visibility = 10
		reliability = 0.90
		naval_range = 2000
		max_strength = 50
		build_cost_ic = 550
		manpower = 400
		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"
		year = 1928

		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 = inherit
			fixed_ship_sonar_slot = inherit
			fixed_ship_torpedo_slot = inherit
			fixed_ship_engine_slot = inherit
			fixed_engine_type_slot = inherit
			front_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
				}
			}
			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 = mid_1_custom_slot
			rear_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
				}
			}
		}
		naval_dominance_factor = 40

		sub_detection = 4
		surface_detection = 20
		reliability = 0.92
		naval_range = 2500
		max_strength = 60
		build_cost_ic = 600
		resources = {
			steel = 2
			chromium = 1
		}
		manpower = 500
	}

	ship_hull_light_5 = {
		year = 1934

		naval_dominance_factor = 45

		archetype = ship_hull_light
		priority = 2000
		parent = ship_hull_light_4
		#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 = inherit
			fixed_ship_sonar_slot = inherit
			fixed_ship_torpedo_slot = inherit
			fixed_ship_engine_slot = inherit
			fixed_engine_type_slot = inherit
			front_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
				}
			}
			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 = mid_1_custom_slot
			rear_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
				}
			}
		}


		sub_detection = 4.5
		surface_detection = 20
		reliability = 0.92
		naval_range = 2750
		max_strength = 70
		build_cost_ic = 600
		resources = {
			steel = 3
			chromium = 1
		}
		manpower = 500
	}

	ship_hull_light_6 = {
		year = 1939

		naval_dominance_factor = 50

		archetype = ship_hull_light
		priority = 2000
		parent = ship_hull_light_5
		#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 = inherit
			fixed_ship_sonar_slot = inherit
			fixed_ship_torpedo_slot = inherit
			fixed_ship_engine_slot = inherit
			fixed_engine_type_slot = inherit
			front_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
				}
			}
			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 = mid_1_custom_slot
			rear_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
				}
			}
		}


		sub_detection = 5
		surface_detection = 20
		reliability = 0.92
		naval_range = 3000
		max_strength = 80
		build_cost_ic = 600
		resources = {
			steel = 3
			chromium = 1
			aluminium = 1
		}
		manpower = 500
	}

	ship_hull_light_7 = {
		year = 1939
		naval_dominance_factor = 60

		archetype = ship_hull_light
		priority = 2000
		parent = ship_hull_light_6
		#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 = inherit
			fixed_ship_sonar_slot = inherit
			fixed_ship_torpedo_slot = inherit
			fixed_ship_engine_slot = inherit
			fixed_engine_type_slot = inherit
			fixed_aircraft_facilities_slot = {
				required = no
				allowed_module_categories = { naval_helicopter_module }
			}
			front_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
				}
			}
			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
					ship_sam_missile_battery
					ship_dp_missile_battery
					ship_light_ASM_battery
					dp_light_battery
				}
			}
			mid_2_custom_slot = mid_1_custom_slot
			rear_1_custom_slot = {
				required = yes
				allowed_module_categories = {
					ship_sam_missile_battery
					ship_dp_missile_battery
					ship_light_ASM_battery
					dp_light_battery
				}
			}
		}


		sub_detection = 5.5
		surface_detection = 20
		reliability = 0.92
		naval_range = 3500
		max_strength = 90
		build_cost_ic = 600
		resources = {
			steel = 3
			chromium = 1
			aluminium = 1
		}
		manpower = 500
	}

	destroyer_1 = {
		year = 1906

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

		max_strength = 25


		fuel_consumption = 7

		build_cost_ic = 400
		resources = {
			#oil = 1
			steel = 2
		}

		manpower = 250
	}
	destroyer_2 = {
		year = 1920

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

		max_strength = 40



		type = {
			screen_ship
			anti_air
		}

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

	destroyer_3 = {
		year = 1924

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

		max_strength = 50



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

	destroyer_4 = {
		year = 1939

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

		max_strength = 60



		type = {
			screen_ship
			anti_air
		}

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

	ship_hull_light_converted_missile = {
		year = 1939
		naval_dominance_factor = 55

		archetype = ship_hull_light
		priority = 2000
		can_convert_from = { ship_hull_light_5 ship_hull_light_6 }
		#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 = inherit
			fixed_ship_sonar_slot = inherit
			fixed_ship_torpedo_slot = inherit
			fixed_ship_engine_slot = inherit
			fixed_engine_type_slot = inherit
			front_1_custom_slot = {
				required = no
				allowed_module_categories = {
					ship_depth_charge
					ship_anti_air
					ship_light_battery
					dp_light_battery
				}
			}
			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
				}
			}
			mid_2_custom_slot = mid_1_custom_slot
			rear_1_custom_slot = {
				required = yes
				allowed_module_categories = {
					ship_sam_missile_battery
					ship_light_ASM_battery
				}
			}
		}


		surface_detection = 20
		reliability = 0.90
		naval_range = 3000
		max_strength = 80
		build_cost_ic = 600
		resources = {
			steel = 3
			chromium = 1
			aluminium = 1
		}
		manpower = 500
	}
}
