diff --git a/code/modules/mining/aux_base.dm b/code/modules/mining/aux_base.dm index 925ea5b1f97..76c03c397a4 100644 --- a/code/modules/mining/aux_base.dm +++ b/code/modules/mining/aux_base.dm @@ -5,6 +5,7 @@ #define BAD_AREA 2 #define BAD_COORDS 3 #define BAD_TURF 4 +#define BAD_LAYER 5 /area/shuttle/auxiliary_base name = "Auxiliary Base" @@ -224,7 +225,9 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/computer/auxiliary_base, 32) var/turf/place = colony_turfs[i] if(!place) return BAD_COORDS - if(!istype(place.loc, /area/lavaland/surface)) + if(istype(place.loc, /area/icemoon/surface)) + return BAD_LAYER + if(!istype(place.loc, /area/lavaland/surface) && !istype(place.loc, /area/icemoon/underground)) return BAD_AREA if(disallowed_turf_types[place.type]) return BAD_TURF @@ -295,6 +298,8 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/computer/auxiliary_base, 32) to_chat(user, span_warning("Location is too close to the edge of the station's scanning range. Move several paces away and try again.")) if(BAD_TURF) to_chat(user, span_warning("The landing zone contains turfs unsuitable for a base. Make sure you've removed all walls and dangerous terrain from the landing zone.")) + if(BAD_LAYER) + to_chat(user, span_warning("This area is not hazardous enough to justify an auxiliary base. Try again on a deeper layer.")) /obj/item/assault_pod/mining/unrestricted name = "omni-locational landing field designator" @@ -443,3 +448,4 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/computer/auxiliary_base, 32) #undef BAD_AREA #undef BAD_COORDS #undef BAD_TURF +#undef BAD_LAYER