From 11646a37978b0170a7a6a21a012ab424950451aa Mon Sep 17 00:00:00 2001 From: XeonMations Date: Thu, 15 Aug 2024 12:25:12 +0300 Subject: [PATCH] ID card activation --- code/game/machinery/firealarm.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/machinery/firealarm.dm b/code/game/machinery/firealarm.dm index 91838b318c286..d429b35023c00 100644 --- a/code/game/machinery/firealarm.dm +++ b/code/game/machinery/firealarm.dm @@ -200,6 +200,8 @@ /obj/machinery/firealarm/attackby(obj/item/W, mob/user, params) add_fingerprint(user) + if(istype(W, /obj/item/card/id)||istype(W, /obj/item/modular_computer/tablet/pda)) // trying to unlock the cover with an ID card + try_lock(user) if(W.tool_behaviour == TOOL_SCREWDRIVER && buildstage == 2) W.play_tool_sound(src) panel_open = !panel_open