Skip to content

Commit

Permalink
ID card activation
Browse files Browse the repository at this point in the history
  • Loading branch information
XeonMations committed Aug 15, 2024
1 parent 76d2848 commit 11646a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/game/machinery/firealarm.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 11646a3

Please sign in to comment.