
naval_carrier = {
	category = naval
	roles = { carrier }
	priority = { base = 10 }

	# carrier_1936 = {
	# 	role_icon_index = 7

	# 	priority = {
	# 		base = 10
	# 		modifier = { factor = 0 has_tech = improved_ship_hull_carrier }
	# 	}

	# 	target_variant = {
	# 		match_value = 1000.0

	# 		type = ship_hull_carrier_1
	# 		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
	# 			fixed_ship_engine_slot = carrier_ship_engine_2 
	# 			fixed_ship_secondaries_slot = ship_secondaries
	# 			fixed_ship_radar_slot = empty
	# 			front_1_custom_slot = empty
	# 		}
	# 	}
	# }

	carrier_1936_dummy = {
		role_icon_index = 7

		priority = {
			base = 10
			modifier = {
                        factor = 0 
                        has_tech = improved_ship_hull_carrier 
                        }
		}
		target_variant = {
			match_value = 1000.0

			type = ship_hull_carrier_1
			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
				fixed_ship_engine_slot = carrier_ship_engine_2 
				fixed_ship_secondaries_slot = ship_secondaries
				fixed_ship_radar_slot = ship_radar
				front_1_custom_slot = ship_deck_space
				mid_1_custom_slot = ship_deck_space
			}
		}
                allowed_modules = {
			ship_deck_space
			ship_anti_air
			carrier_ship_engine_2 
			ship_secondaries
			ship_radar
			ship_deck_space
		}
	}

	carrier_1940 = {
		role_icon_index = 7

		priority = {
			base = 10
			modifier = {
                        factor = 0 
                        or ={ has_tech = advanced_ship_hull_carrier
                                not ={ has_tech = improved_ship_hull_carrier }
                               }
                        }
		}

		target_variant = {
			match_value = 1000.0

			type = ship_hull_carrier_2
			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
				fixed_ship_engine_slot = carrier_ship_engine_3 
				fixed_ship_secondaries_slot = ship_secondaries
				fixed_ship_radar_slot = ship_radar
				front_1_custom_slot = ship_deck_space
				mid_1_custom_slot = ship_deck_space
                                mid_2_custom_slot = ship_deck_space
			}
		}
                allowed_modules = {
			ship_deck_space
			ship_anti_air
			carrier_ship_engine_3 
			ship_secondaries
			ship_radar
			ship_deck_space
		}
	}
        carrier_ice = {

		priority = {
			base = 100
		}

		target_variant = {
			match_value = 3000.0

			type = ship_hull_mega_carrier
			modules = {
				fixed_ship_deck_slot_1 = big_ship_deck_space
				fixed_ship_deck_slot_2 = big_ship_deck_space
				fixed_ship_anti_air_slot = ship_anti_air
				fixed_ship_engine_slot = carrier_ship_engine_3 
				fixed_ship_secondaries_slot = ship_secondaries
				fixed_ship_radar_slot = ship_radar
				front_1_custom_slot = big_ship_deck_space
				mid_1_custom_slot = big_ship_deck_space
                                mid_2_custom_slot = big_ship_deck_space
                                rear_1_custom_slot = big_ship_deck_space
			}
		}
                allowed_modules = {
			big_ship_deck_space
			ship_anti_air
			carrier_ship_engine_3 
			ship_secondaries
			ship_radar
			ship_deck_space
		}
	}
	carrier_1944 = {
		role_icon_index = 7

		priority = {
			base = 20
                        modifier = {
                        factor = 0 
                        not ={ has_tech = advanced_ship_hull_carrier }
                        }
                }

		target_variant = {
			match_value = 1000.0

			type = ship_hull_carrier_3
			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
				fixed_ship_engine_slot = carrier_ship_engine_4 
				fixed_ship_secondaries_slot = ship_secondaries
				fixed_ship_radar_slot = ship_radar
				front_1_custom_slot = ship_deck_space
				mid_1_custom_slot = ship_deck_space
                                mid_2_custom_slot = ship_deck_space
                                rear_1_custom_slot = ship_deck_space
			}
		}
                allowed_modules = {
			ship_deck_space
			ship_anti_air
			carrier_ship_engine_4
			ship_secondaries
			ship_radar
			ship_deck_space
		}
	}
}

