naval_carrier = {
	category = naval
	
	blocked_for = {
		JAP
	}
	
	available_for = {
	}
	
	roles = {
		naval_carrier
	}
	
	priority = {
		factor = 10
		modifier = {
			factor = 30
			is_major = yes
		}
		modifier = {
			num_of_naval_factories > 50
			factor = 20
		}
	}

	carrier_2 = {
		
		priority = {
			factor = 1
		}

		role_icon_index = 7
		
		enable = { 
			has_tech = early_engine
			not = { 
				has_tech = improved_ship_hull_carrier
				has_tech = advanced_ship_hull_carrier
				has_tech = improved_dp_light_battery_2
			}
		}
		
		target_variant = {
			match_value = 1000.0
			
			type = nrm_ship_hull_carrier_2
			modules = {
				fixed_ship_hullform_slot = nrm_ship_hullform_carrier_2
				fixed_ship_engine_slot = nrm_capital_engine_100
				fixed_ship_armor_layout_slot = nrm_armour_layout_CV
				fixed_ship_armor_slot < nrm_carrier_armour_02_2
				fixed_ship_damagecontrol_slot = nrm_damagecontrol
				fixed_ship_range_slot = {
					any_of = { nrm_range_capital_3 }
				}
				fixed_ship_radar_slot = nrm_radar_fc
				fixed_ship_fire_control_system_slot = nrm_fire_control
				fixed_ship_fire_control_system_aa_slot = nrm_fire_control_aa
				fixed_ship_secondary_slot = empty
				fixed_ship_tertiary_slot = nrm_capital_tertiary_HA_5_x12
				fixed_ship_flightdeck_slot = nrm_carrier_flightdeck_EH_050
				custom_slot_1 = nrm_support_capital_AA
				custom_slot_2 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_3 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_4 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_5 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_6 = nrm_support_capital_AA
			}
		}
		
		allowed_modules = {
		}
	}
	
	carrier_2_dp = {
		
		priority = {
			factor = 1
		}

		role_icon_index = 7
		
		enable = { 
			has_tech = early_engine
			not = { 
				has_tech = improved_ship_hull_carrier
				has_tech = advanced_ship_hull_carrier
			}
		}
		
		target_variant = {
			match_value = 1000.0
			
			type = nrm_ship_hull_carrier_2
			modules = {
				fixed_ship_hullform_slot = nrm_ship_hullform_carrier_2
				fixed_ship_engine_slot = nrm_capital_engine_100
				fixed_ship_armor_layout_slot = nrm_armour_layout_CV
				fixed_ship_armor_slot < nrm_carrier_armour_02_2
				fixed_ship_damagecontrol_slot = nrm_damagecontrol
				fixed_ship_range_slot = {
					any_of = { nrm_range_capital_3 }
				}
				fixed_ship_radar_slot = nrm_radar_fc
				fixed_ship_fire_control_system_slot = nrm_fire_control
				fixed_ship_fire_control_system_aa_slot = nrm_fire_control_aa
				fixed_ship_secondary_slot = empty
				fixed_ship_tertiary_slot = nrm_capital_tertiary_DP_5_x12
				fixed_ship_flightdeck_slot = nrm_carrier_flightdeck_EH_050
				custom_slot_1 = nrm_support_capital_AA
				custom_slot_2 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_3 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_4 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_5 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_6 = nrm_support_capital_AA
			}
		}
		
		allowed_modules = {
		}
	}
	
	carrier_3_eh = {
		
		priority = {
			factor = 1
		}

		role_icon_index = 7
		
		enable = { 
			has_tech = early_engine
			not = { 
				has_tech = advanced_ship_hull_carrier
				has_tech = improved_dp_light_battery_2
				has_tech = open_hangar
			}
		}
		
		target_variant = {
			match_value = 1000.0
			
			type = nrm_ship_hull_carrier_3
			modules = {
				fixed_ship_hullform_slot = nrm_ship_hullform_carrier_3
				fixed_ship_engine_slot = nrm_capital_engine_120
				fixed_ship_armor_layout_slot = nrm_armour_layout_CV
				fixed_ship_armor_slot = nrm_carrier_armour_02
				fixed_ship_damagecontrol_slot = nrm_damagecontrol
				fixed_ship_range_slot = {
					any_of = { nrm_range_capital_3 }
				}
				fixed_ship_radar_slot = nrm_radar_fc
				fixed_ship_fire_control_system_slot = nrm_fire_control
				fixed_ship_fire_control_system_aa_slot = nrm_fire_control_aa
				fixed_ship_secondary_slot = empty
				fixed_ship_tertiary_slot = nrm_capital_tertiary_HA_5_x12
				fixed_ship_flightdeck_slot = nrm_carrier_flightdeck_EH_060
				custom_slot_1 = nrm_support_capital_AA
				custom_slot_2 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_3 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_4 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_5 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_6 = nrm_support_capital_AA
			}
		}
		
		allowed_modules = {
		}
	}
	
	carrier_3_oh = {
		
		priority = {
			factor = 1
		}

		role_icon_index = 7
		
		enable = { 
			has_tech = early_engine
			not = { 
				has_tech = advanced_ship_hull_carrier
				has_tech = improved_dp_light_battery_2
			}
		}
		
		target_variant = {
			match_value = 1000.0
			
			type = nrm_ship_hull_carrier_3
			modules = {
				fixed_ship_hullform_slot = nrm_ship_hullform_carrier_3
				fixed_ship_engine_slot = nrm_capital_engine_120
				fixed_ship_armor_layout_slot = nrm_armour_layout_CV
				fixed_ship_armor_slot = nrm_carrier_armour_02
				fixed_ship_damagecontrol_slot = nrm_damagecontrol
				fixed_ship_range_slot = {
					any_of = { nrm_range_capital_3 }
				}
				fixed_ship_radar_slot = nrm_radar_fc
				fixed_ship_fire_control_system_slot = nrm_fire_control
				fixed_ship_fire_control_system_aa_slot = nrm_fire_control_aa
				fixed_ship_secondary_slot = empty
				fixed_ship_tertiary_slot = nrm_capital_tertiary_HA_5_x12
				fixed_ship_flightdeck_slot = nrm_carrier_flightdeck_OH_060
				custom_slot_1 = nrm_support_capital_AA
				custom_slot_2 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_3 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_4 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_5 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_6 = nrm_support_capital_AA
			}
		}
		
		allowed_modules = {
		}
	}
	
	carrier_3_eh_dp = {
		
		priority = {
			factor = 1
		}

		role_icon_index = 7
		
		enable = { 
			has_tech = early_engine
			not = { 
				has_tech = advanced_ship_hull_carrier
				has_tech = open_hangar
			}
		}
		
		target_variant = {
			match_value = 1000.0
			
			type = nrm_ship_hull_carrier_3
			modules = {
				fixed_ship_hullform_slot = nrm_ship_hullform_carrier_3
				fixed_ship_engine_slot = nrm_capital_engine_120
				fixed_ship_armor_layout_slot = nrm_armour_layout_CV
				fixed_ship_armor_slot = nrm_carrier_armour_02
				fixed_ship_damagecontrol_slot = nrm_damagecontrol
				fixed_ship_range_slot = {
					any_of = { nrm_range_capital_3 }
				}
				fixed_ship_radar_slot = nrm_radar_fc
				fixed_ship_fire_control_system_slot = nrm_fire_control
				fixed_ship_fire_control_system_aa_slot = nrm_fire_control_aa
				fixed_ship_secondary_slot = empty
				fixed_ship_tertiary_slot = nrm_capital_tertiary_DP_5_x12
				fixed_ship_flightdeck_slot = nrm_carrier_flightdeck_EH_060
				custom_slot_1 = nrm_support_capital_AA
				custom_slot_2 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_3 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_4 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_5 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_6 = nrm_support_capital_AA
			}
		}
		
		allowed_modules = {
		}
	}
	
	carrier_3_oh_dp = {
		
		priority = {
			factor = 1
		}

		role_icon_index = 7
		
		enable = { 
			has_tech = early_engine
			not = { 
				has_tech = advanced_ship_hull_carrier
			}
		}
		
		target_variant = {
			match_value = 1000.0
			
			type = nrm_ship_hull_carrier_3
			modules = {
				fixed_ship_hullform_slot = nrm_ship_hullform_carrier_3
				fixed_ship_engine_slot = nrm_capital_engine_120
				fixed_ship_armor_layout_slot = nrm_armour_layout_CV
				fixed_ship_armor_slot = nrm_carrier_armour_02
				fixed_ship_damagecontrol_slot = nrm_damagecontrol
				fixed_ship_range_slot = {
					any_of = { nrm_range_capital_3 }
				}
				fixed_ship_radar_slot = nrm_radar_fc
				fixed_ship_fire_control_system_slot = nrm_fire_control
				fixed_ship_fire_control_system_aa_slot = nrm_fire_control_aa
				fixed_ship_secondary_slot = empty
				fixed_ship_tertiary_slot = nrm_capital_tertiary_DP_5_x12
				fixed_ship_flightdeck_slot = nrm_carrier_flightdeck_OH_060
				custom_slot_1 = nrm_support_capital_AA
				custom_slot_2 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_3 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_4 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_5 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_6 = nrm_support_capital_AA
			}
		}
		
		allowed_modules = {
		}
	}
	
	carrier_4_eh = {
		
		priority = {
			factor = 1
		}

		role_icon_index = 7
		
		enable = { 
			has_tech = early_engine
			not = { 
				has_tech = improved_dp_light_battery_2
				has_tech = open_hangar
			}
		}
		
		target_variant = {
			match_value = 1000.0
			
			type = nrm_ship_hull_carrier_4
			modules = {
				fixed_ship_hullform_slot = nrm_ship_hullform_carrier_4
				fixed_ship_engine_slot = nrm_capital_engine_130
				fixed_ship_armor_layout_slot = nrm_armour_layout_CV
				fixed_ship_armor_slot = nrm_carrier_armour_02
				fixed_ship_damagecontrol_slot = nrm_damagecontrol
				fixed_ship_range_slot = {
					any_of = { nrm_range_capital_3 }
				}
				fixed_ship_radar_slot = nrm_radar_fc
				fixed_ship_fire_control_system_slot = nrm_fire_control
				fixed_ship_fire_control_system_aa_slot = nrm_fire_control_aa
				fixed_ship_secondary_slot = empty
				fixed_ship_tertiary_slot = nrm_capital_tertiary_HA_5_x16
				fixed_ship_flightdeck_slot = nrm_carrier_flightdeck_EH_065
				custom_slot_1 = nrm_support_capital_AA
				custom_slot_2 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_3 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_4 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_5 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_6 = nrm_support_capital_AA
			}
		}
		
		allowed_modules = {
		}
	}
	
	carrier_4_oh = {
		
		priority = {
			factor = 1
		}

		role_icon_index = 7
		
		enable = { 
			has_tech = early_engine
			not = { 
				has_tech = improved_dp_light_battery_2
			}
		}
		
		target_variant = {
			match_value = 1000.0
			
			type = nrm_ship_hull_carrier_4
			modules = {
				fixed_ship_hullform_slot = nrm_ship_hullform_carrier_4
				fixed_ship_engine_slot = nrm_capital_engine_130
				fixed_ship_armor_layout_slot = nrm_armour_layout_CV
				fixed_ship_armor_slot = nrm_carrier_armour_02
				fixed_ship_damagecontrol_slot = nrm_damagecontrol
				fixed_ship_range_slot = {
					any_of = { nrm_range_capital_3 }
				}
				fixed_ship_radar_slot = nrm_radar_fc
				fixed_ship_fire_control_system_slot = nrm_fire_control
				fixed_ship_fire_control_system_aa_slot = nrm_fire_control_aa
				fixed_ship_secondary_slot = empty
				fixed_ship_tertiary_slot = nrm_capital_tertiary_HA_5_x16
				fixed_ship_flightdeck_slot = nrm_carrier_flightdeck_OH_065
				custom_slot_1 = nrm_support_capital_AA
				custom_slot_2 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_3 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_4 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_5 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_6 = nrm_support_capital_AA
			}
		}
		
		allowed_modules = {
		}
	}
	
	carrier_4_eh_dp = {
		
		priority = {
			factor = 1
		}

		role_icon_index = 7
		
		enable = { 
			has_tech = early_engine
			not = { 
				has_tech = open_hangar
			}
		}
		
		target_variant = {
			match_value = 1000.0
			
			type = nrm_ship_hull_carrier_4
			modules = {
				fixed_ship_hullform_slot = nrm_ship_hullform_carrier_4
				fixed_ship_engine_slot = nrm_capital_engine_130
				fixed_ship_armor_layout_slot = nrm_armour_layout_CV
				fixed_ship_armor_slot = nrm_carrier_armour_02
				fixed_ship_damagecontrol_slot = nrm_damagecontrol
				fixed_ship_range_slot = {
					any_of = { nrm_range_capital_3 }
				}
				fixed_ship_radar_slot = nrm_radar_fc
				fixed_ship_fire_control_system_slot = nrm_fire_control
				fixed_ship_fire_control_system_aa_slot = nrm_fire_control_aa
				fixed_ship_secondary_slot = nrm_capital_secondary_DP_5_x08
				fixed_ship_tertiary_slot = nrm_capital_tertiary_DP_5_x12
				fixed_ship_flightdeck_slot = nrm_carrier_flightdeck_EH_065
				custom_slot_1 = nrm_support_capital_AA
				custom_slot_2 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_3 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_4 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_5 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_6 = nrm_support_capital_AA
			}
		}
		
		allowed_modules = {
		}
	}
	
	carrier_4_oh_dp = {
		
		priority = {
			factor = 1
		}

		role_icon_index = 7
		
		enable = { 
			has_tech = early_engine
		}
		
		target_variant = {
			match_value = 1000.0
			
			type = nrm_ship_hull_carrier_4
			modules = {
				fixed_ship_hullform_slot = nrm_ship_hullform_carrier_4
				fixed_ship_engine_slot = nrm_capital_engine_130
				fixed_ship_armor_layout_slot = nrm_armour_layout_CV
				fixed_ship_armor_slot = nrm_carrier_armour_02
				fixed_ship_damagecontrol_slot = nrm_damagecontrol
				fixed_ship_range_slot = {
					any_of = { nrm_range_capital_3 }
				}
				fixed_ship_radar_slot = nrm_radar_fc
				fixed_ship_fire_control_system_slot = nrm_fire_control
				fixed_ship_fire_control_system_aa_slot = nrm_fire_control_aa
				fixed_ship_secondary_slot = nrm_capital_secondary_DP_5_x08
				fixed_ship_tertiary_slot = nrm_capital_tertiary_DP_5_x12
				fixed_ship_flightdeck_slot = nrm_carrier_flightdeck_OH_065
				custom_slot_1 = nrm_support_capital_AA
				custom_slot_2 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_3 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_4 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_5 = {
					any_of = { nrm_support_capital_HAA nrm_support_capital_AA }
				}
				custom_slot_6 = nrm_support_capital_AA
			}
		}
		
		allowed_modules = {
		}
	}
}