Remove hopefully unused 'unpowered' airlock subtype. (#27732)

This commit is contained in:
warriorstar-orion
2024-12-24 02:14:21 +00:00
committed by GitHub
parent c299d98aed
commit c6fc2fbe00
3 changed files with 2 additions and 23 deletions
-20
View File
@@ -1,20 +0,0 @@
/obj/machinery/door/unpowered
explosion_block = 1
/obj/machinery/door/unpowered/Bumped(atom/AM)
if(locked)
return
..()
/obj/machinery/door/unpowered/attackby__legacy__attackchain(obj/item/I, mob/user, params)
if(locked)
return
else
return ..()
/obj/machinery/door/unpowered/emag_act()
return
/obj/machinery/door/unpowered/shuttle
icon = 'icons/turf/shuttle.dmi'
icon_state = "door1"
+2 -2
View File
@@ -93,7 +93,7 @@
/obj/effect/mapping_helpers/airlock
layer = DOOR_HELPER_LAYER
late = TRUE
var/list/blacklist = list(/obj/machinery/door/firedoor, /obj/machinery/door/poddoor, /obj/machinery/door/unpowered)
var/list/blacklist = list(/obj/machinery/door/firedoor, /obj/machinery/door/poddoor)
/obj/effect/mapping_helpers/airlock/Initialize(mapload)
. = ..()
@@ -161,7 +161,7 @@
//part responsible for windoors (thanks S34N)
/obj/effect/mapping_helpers/airlock/windoor
blacklist = list(/obj/machinery/door/firedoor, /obj/machinery/door/poddoor, /obj/machinery/door/unpowered, /obj/machinery/door/airlock)
blacklist = list(/obj/machinery/door/firedoor, /obj/machinery/door/poddoor, /obj/machinery/door/airlock)
/// Apply to a wall (or floor, technically) to ensure it is instantly destroyed by any explosion, even if usually invulnerable
/obj/effect/mapping_helpers/bombable_wall
-1
View File
@@ -942,7 +942,6 @@
#include "code\game\machinery\doors\firedoor.dm"
#include "code\game\machinery\doors\poddoor.dm"
#include "code\game\machinery\doors\shutters.dm"
#include "code\game\machinery\doors\unpowered.dm"
#include "code\game\machinery\doors\windowdoor.dm"
#include "code\game\machinery\pipe\pipe_construction.dm"
#include "code\game\machinery\tcomms\nttc.dm"