defile rework (#29926)

This commit is contained in:
Kyani
2025-08-06 05:57:14 +00:00
committed by GitHub
parent 1054b263bb
commit d39c12ce5c
2 changed files with 26 additions and 5 deletions
+6 -4
View File
@@ -137,6 +137,12 @@
return
/obj/structure/morgue/attack_hand(mob/user as mob)
toggle_tray()
add_fingerprint()
update_state()
return
/obj/structure/morgue/proc/toggle_tray()
if(connected)
for(var/atom/movable/A in connected.loc)
if(!A.anchored)
@@ -149,10 +155,6 @@
get_revivable(FALSE)
connect()
add_fingerprint(user)
update_state()
return
/obj/structure/morgue/attack_ai(mob/user)
if(isrobot(user) && Adjacent(user)) //Robots can open/close it, but not the AI
attack_hand(user)