naval_cruiser_heavy = {
	category = naval
	
	blocked_for = {
		JAP
	}
	
	available_for = {
	}
	
	roles = {
		naval_cruiser_heavy
	}
	
	priority = {
		factor = 800
		modifier = {
			factor = 0.25
			has_navy_size = {
			    size < 15
			}
		}
		modifier = {
			factor = 0
			num_of_naval_factories < 10
		}
	}
	
	cruiser_heavy_1 = {
		
		priority = {
			factor = 400
		}

		role_icon_index = 1
		
		enable = { 
			has_tech = early_engine
			has_tech = basic_medium_battery_2
			not = { 
				has_tech = basic_ship_hull_cruiser
				has_tech = improved_ship_hull_cruiser
				has_tech = advanced_ship_hull_cruiser
			}
		}
		
		target_variant = {
			match_value = 1000.0
			
			type = nrm_ship_hull_cruiser_1
			modules = {
				fixed_ship_hullform_slot = nrm_ship_hullform_cruiser_1
				fixed_ship_engine_slot = nrm_cruiser_engine_070
				fixed_ship_armor_layout_slot = nrm_armour_layout
				fixed_ship_armor_slot < nrm_cruiser_armour_03_3
				fixed_ship_damagecontrol_slot = nrm_damagecontrol
				fixed_ship_range_slot = nrm_range_cruiser_2
				fixed_ship_radar_slot = nrm_radar
				fixed_ship_fire_control_system_slot < nrm_fire_control_4
				fixed_ship_fire_control_system_aa_slot = empty
				fixed_ship_battery_slot = {
					any_of = { nrm_cruiser_battery_8_4_x06 nrm_cruiser_battery_8_x06 }
				}
				fixed_ship_tertiary_slot = {
					any_of = { nrm_cruiser_tertiary_HA_4_x04 }
				}
				custom_slot_1 = nrm_support_cruiser_AA
				custom_slot_2 = {
					any_of = { nrm_support_cruiser_FP nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_3 = nrm_support_cruiser_TRP_21_x04
				custom_slot_4 = {
					any_of = { nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_5 = {
					any_of = { nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_6 = nrm_support_cruiser_AA
			}
		}
		
		allowed_modules = {
		}
	}
	cruiser_heavy_1_upgrade = {
	
		priority = {
			factor = 20
			modifier = {
				factor = 20
				has_war = yes
			}
		}
		
		enable = { 
			has_tech = early_engine
			has_tech = basic_medium_battery_2
			not = { 
				has_tech = basic_ship_hull_cruiser
				has_tech = improved_ship_hull_cruiser
				has_tech = advanced_ship_hull_cruiser
			}
		}
		
		role_icon_index = 1
		
		target_variant = {
			match_value = 1100.0
			
			type = nrm_ship_hull_cruiser_1
			modules = {
				fixed_ship_hullform_slot = { module = nrm_ship_hullform_cruiser_1 upgrade = current }
				fixed_ship_engine_slot = { module = nrm_cruiser_engine_070 upgrade = current }
				fixed_ship_armor_layout_slot = { module = nrm_armour_layout upgrade = current }
				fixed_ship_armor_slot = { module < nrm_cruiser_armour_03_3 upgrade = current }
				fixed_ship_damagecontrol_slot = { module = nrm_damagecontrol upgrade = current }
				fixed_ship_range_slot = { module = nrm_range_cruiser_2 upgrade = current }
				fixed_ship_radar_slot = nrm_radar
				fixed_ship_fire_control_system_slot < nrm_fire_control_4
				fixed_ship_fire_control_system_aa_slot = empty
				fixed_ship_battery_slot = {
					any_of = { nrm_cruiser_battery_8_4_x06 nrm_cruiser_battery_8_x06 }
					upgrade = current
				}
				fixed_ship_tertiary_slot = {
					any_of = { nrm_cruiser_tertiary_HA_4_x04 }
					upgrade = current
				}
				custom_slot_1 = nrm_support_cruiser_AA
				custom_slot_2 = {
					any_of = { nrm_support_cruiser_FP nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_3 = nrm_support_cruiser_TRP_21_x04
				custom_slot_4 = {
					any_of = { nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_5 = {
					any_of = { nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_6 = nrm_support_cruiser_AA
			}
		}
	}
	
	cruiser_heavy_2 = {
		
		priority = {
			factor = 400
		}

		role_icon_index = 1
		
		enable = { 
			has_tech = early_engine
			has_tech = basic_medium_battery_2
			not = { 
				has_tech = improved_ship_hull_cruiser
				has_tech = advanced_ship_hull_cruiser
			}
		}
		
		target_variant = {
			match_value = 2000.0
			
			type = nrm_ship_hull_cruiser_2
			modules = {
				fixed_ship_hullform_slot = nrm_ship_hullform_cruiser_2
				fixed_ship_engine_slot = nrm_cruiser_engine_080
				fixed_ship_armor_layout_slot = nrm_armour_layout
				fixed_ship_armor_slot = nrm_cruiser_armour_04
				fixed_ship_damagecontrol_slot = nrm_damagecontrol
				fixed_ship_range_slot = nrm_range_cruiser_2
				fixed_ship_radar_slot = nrm_radar_fc
				fixed_ship_fire_control_system_slot = nrm_fire_control
				fixed_ship_fire_control_system_aa_slot = empty
				fixed_ship_battery_slot = {
					any_of = { nrm_cruiser_battery_8_4_x06 nrm_cruiser_battery_8_x08 }
				}
				fixed_ship_tertiary_slot = {
					any_of = { nrm_cruiser_tertiary_DP_5_x08 nrm_cruiser_tertiary_HA_5_x08 }
				}
				custom_slot_1 = nrm_support_cruiser_AA
				custom_slot_2 = {
					any_of = { nrm_support_cruiser_FP nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_3 = nrm_support_cruiser_TRP_21_x06
				custom_slot_4 = {
					any_of = { nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_5 = {
					any_of = { nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_6 = nrm_support_cruiser_AA
			}
		}
		
		allowed_modules = {
		}
	}
	cruiser_heavy_2_upgrade = {
	
		priority = {
			factor = 20
			modifier = {
				factor = 20
				has_war = yes
			}
		}
		
		enable = { 
			has_tech = early_engine
			has_tech = basic_medium_battery_2
			not = { 
				has_tech = improved_ship_hull_cruiser
				has_tech = advanced_ship_hull_cruiser
			}
		}
		
		role_icon_index = 1
		
		target_variant = {
			match_value = 2100.0
			
			type = nrm_ship_hull_cruiser_2
			modules = {
				fixed_ship_hullform_slot = { module = nrm_ship_hullform_cruiser_2 upgrade = current }
				fixed_ship_engine_slot = { module = nrm_cruiser_engine_080 upgrade = current }
				fixed_ship_armor_layout_slot = { module = nrm_armour_layout upgrade = current }
				fixed_ship_armor_slot = { module = nrm_cruiser_armour_04 upgrade = current }
				fixed_ship_damagecontrol_slot = { module = nrm_damagecontrol upgrade = current }
				fixed_ship_range_slot = { module = nrm_range_cruiser_2 upgrade = current }
				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_battery_slot = {
					any_of = { nrm_cruiser_battery_8_4_x06 nrm_cruiser_battery_8_x08 }
					upgrade = current
				}
				fixed_ship_tertiary_slot = {
					any_of = { nrm_cruiser_tertiary_DP_5_x08 nrm_cruiser_tertiary_HA_5_x08 }
					upgrade = current
				}
				custom_slot_1 = nrm_support_cruiser_AA
				custom_slot_2 = {
					any_of = { nrm_support_cruiser_FP nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_3 = nrm_support_cruiser_TRP_21_x06
				custom_slot_4 = {
					any_of = { nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_5 = {
					any_of = { nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_6 = nrm_support_cruiser_AA
			}
		}
	}
	
	cruiser_heavy_3 = {
		
		priority = {
			factor = 400
		}

		role_icon_index = 1
		
		enable = { 
			has_tech = early_engine
			has_tech = basic_medium_battery_2
			not = { 
				has_tech = advanced_ship_hull_cruiser
			}
		}
		
		target_variant = {
			match_value = 3000.0
			
			type = nrm_ship_hull_cruiser_3
			modules = {
				fixed_ship_hullform_slot = nrm_ship_hullform_cruiser_3
				fixed_ship_engine_slot = nrm_cruiser_engine_090
				fixed_ship_armor_layout_slot = nrm_armour_layout
				fixed_ship_armor_slot = nrm_cruiser_armour_04
				fixed_ship_damagecontrol_slot = nrm_damagecontrol
				fixed_ship_range_slot = nrm_range_cruiser_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_battery_slot = {
					any_of = { nrm_cruiser_battery_8_4_x06 nrm_cruiser_battery_8_x08 }
				}
				fixed_ship_tertiary_slot = {
					any_of = { nrm_cruiser_tertiary_DP_5_x12 nrm_cruiser_tertiary_HA_5_x08 }
				}
				custom_slot_1 = nrm_support_cruiser_AA
				custom_slot_2 = {
					any_of = { nrm_support_cruiser_FP nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_3 = nrm_support_cruiser_TRP_21_x08
				custom_slot_4 = {
					any_of = { nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_5 = {
					any_of = { nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_6 = nrm_support_cruiser_AA
			}
		}
		
		allowed_modules = {
		}
	}
	cruiser_heavy_3_upgrade = {
	
		priority = {
			factor = 20
			modifier = {
				factor = 20
				has_war = yes
			}
		}
		
		enable = { 
			has_tech = early_engine
			has_tech = basic_medium_battery_2
			not = { 
				has_tech = advanced_ship_hull_cruiser
			}
		}
		
		role_icon_index = 1
		
		target_variant = {
			match_value = 3100.0
			
			type = nrm_ship_hull_cruiser_3
			modules = {
				fixed_ship_hullform_slot = { module = nrm_ship_hullform_cruiser_3 upgrade = current }
				fixed_ship_engine_slot = { module = nrm_cruiser_engine_090 upgrade = current }
				fixed_ship_armor_layout_slot = { module = nrm_armour_layout upgrade = current }
				fixed_ship_armor_slot = { module = nrm_cruiser_armour_04 upgrade = current }
				fixed_ship_damagecontrol_slot = { module = nrm_damagecontrol upgrade = current }
				fixed_ship_range_slot = { module = nrm_range_cruiser_3 upgrade = current }
				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_battery_slot = {
					any_of = { nrm_cruiser_battery_8_4_x06 nrm_cruiser_battery_8_x08 }
					upgrade = current
				}
				fixed_ship_tertiary_slot = {
					any_of = { nrm_cruiser_tertiary_DP_5_x12 nrm_cruiser_tertiary_HA_5_x08 }
					upgrade = current
				}
				custom_slot_1 = nrm_support_cruiser_AA
				custom_slot_2 = {
					any_of = { nrm_support_cruiser_FP nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_3 = nrm_support_cruiser_TRP_21_x08
				custom_slot_4 = {
					any_of = { nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_5 = {
					any_of = { nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_6 = nrm_support_cruiser_AA
			}
		}
	}
	
	cruiser_heavy_4 = {
		
		priority = {
			factor = 400
		}

		role_icon_index = 1
		
		enable = { 
			has_tech = early_engine
			has_tech = basic_medium_battery_2
		}
		
		target_variant = {
			match_value = 4000.0
			
			type = nrm_ship_hull_cruiser_4
			modules = {
				fixed_ship_hullform_slot = nrm_ship_hullform_cruiser_4
				fixed_ship_engine_slot = nrm_cruiser_engine_100
				fixed_ship_armor_layout_slot = nrm_armour_layout
				fixed_ship_armor_slot = nrm_cruiser_armour_04h
				fixed_ship_damagecontrol_slot = nrm_damagecontrol
				fixed_ship_range_slot = nrm_range_cruiser_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_battery_slot = {
					any_of = { nrm_cruiser_battery_8_x08 nrm_cruiser_battery_8_x09 }
				}
				fixed_ship_tertiary_slot = {
					any_of = { nrm_cruiser_tertiary_DP_5_x12 nrm_cruiser_tertiary_HA_5_x12 }
				}
				custom_slot_1 = nrm_support_cruiser_AA
				custom_slot_2 = {
					any_of = { nrm_support_cruiser_FP nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_3 = nrm_support_cruiser_TRP_21_x08
				custom_slot_4 = {
					any_of = { nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_5 = {
					any_of = { nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_6 = nrm_support_cruiser_AA
			}
		}
		
		allowed_modules = {
		}
	}
	cruiser_heavy_3_upgrade = {
	
		priority = {
			factor = 20
			modifier = {
				factor = 20
				has_war = yes
			}
		}
		
		enable = { 
			has_tech = early_engine
			has_tech = basic_medium_battery_2
			not = { 
				has_tech = advanced_ship_hull_cruiser
			}
		}
		
		role_icon_index = 1
		
		target_variant = {
			match_value = 4100.0
			
			type = nrm_ship_hull_cruiser_4
			modules = {
				fixed_ship_hullform_slot = { module = nrm_ship_hullform_cruiser_4 upgrade = current }
				fixed_ship_engine_slot = { module = nrm_cruiser_engine_100 upgrade = current }
				fixed_ship_armor_layout_slot = { module = nrm_armour_layout upgrade = current }
				fixed_ship_armor_slot = { module = nrm_cruiser_armour_04h upgrade = current }
				fixed_ship_damagecontrol_slot = { module = nrm_damagecontrol upgrade = current }
				fixed_ship_range_slot = { module = nrm_range_cruiser_3 upgrade = current }
				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_battery_slot = {
					any_of = { nrm_cruiser_battery_8_x08 nrm_cruiser_battery_8_x09 }
					upgrade = current
				}
				fixed_ship_tertiary_slot = {
					any_of = { nrm_cruiser_tertiary_DP_5_x12 nrm_cruiser_tertiary_HA_5_x12 }
					upgrade = current
				}
				custom_slot_1 = nrm_support_cruiser_AA
				custom_slot_2 = {
					any_of = { nrm_support_cruiser_FP nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_3 = nrm_support_cruiser_TRP_21_x08
				custom_slot_4 = {
					any_of = { nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_5 = {
					any_of = { nrm_support_cruiser_HAA nrm_support_cruiser_AA }
				}
				custom_slot_6 = nrm_support_cruiser_AA
			}
		}
	}
}