Allows human mobs to alt+click to unlock APC and Air Alarms (#20742)

* alt+click to unlock airalarms and apc

* Update code/modules/atmospherics/machinery/airalarm.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

---------

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
ppi13
2023-04-22 09:18:31 +02:00
committed by GitHub
parent c2176e3598
commit bcbce645b1
2 changed files with 11 additions and 0 deletions
+4
View File
@@ -362,6 +362,10 @@
else
return ..()
/obj/machinery/power/apc/AltClick(mob/user)
if(Adjacent(user))
togglelock(user)
/obj/machinery/power/apc/run_obj_armor(damage_amount, damage_type, damage_flag = 0, attack_dir)
if(stat & BROKEN)
return damage_amount