From b27f3a148f72db526c581a5784e4c2b98382a8e2 Mon Sep 17 00:00:00 2001 From: Killian <49700375+KillianKirilenko@users.noreply.github.com> Date: Fri, 25 Nov 2022 03:27:39 +0000 Subject: [PATCH] Update hacktool.dm --- code/game/objects/items/devices/hacktool.dm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/game/objects/items/devices/hacktool.dm b/code/game/objects/items/devices/hacktool.dm index 6c124485602..17615a0a9d1 100644 --- a/code/game/objects/items/devices/hacktool.dm +++ b/code/game/objects/items/devices/hacktool.dm @@ -46,10 +46,12 @@ // Note, if you ever want to expand supported_types, you must manually add the custom state argument to their tgui_interact // DISABLED: too fancy, too high-effort // A.tgui_interact(user, custom_state = hack_state) - // Just brute-force it open + // Just brute-force it if(istype(A, /obj/machinery/door/airlock)) var/obj/machinery/door/airlock/D = A - if(D.locked == TRUE && full_override == FALSE) + if(!D.arePowerSystemsOn()) + to_chat(user, "No response from remote, check door power.") + else if(D.locked == TRUE && full_override == FALSE) to_chat(user, "Unable to override door bolts!") else if(D.locked == TRUE && full_override == TRUE && D.arePowerSystemsOn()) to_chat(user, "Door bolts overridden.")