From ed11869a798de2a743a15c890f345062ecbefe90 Mon Sep 17 00:00:00 2001 From: Xhuis Date: Sun, 27 Nov 2016 05:07:40 -0500 Subject: [PATCH] Gives cyborgs the ability to open morgue trays (#21747) * Gives cyborgs the ability to open morgue trays * Small balance changes --- code/game/objects/structures/morgue.dm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/code/game/objects/structures/morgue.dm b/code/game/objects/structures/morgue.dm index 9c78cd44f8a..9d3a2dca47f 100644 --- a/code/game/objects/structures/morgue.dm +++ b/code/game/objects/structures/morgue.dm @@ -61,6 +61,11 @@ close() add_fingerprint(user) +/obj/structure/bodycontainer/attack_robot(mob/user) + if(!user.Adjacent(src)) + return + return attack_hand(user) + /obj/structure/bodycontainer/attackby(obj/P, mob/user, params) add_fingerprint(user) if(istype(P, /obj/item/weapon/pen)) @@ -150,6 +155,10 @@ var/global/list/crematoriums = new/list() opendir = SOUTH var/id = 1 +/obj/structure/bodycontainer/crematorium/attack_robot(mob/user) //Borgs can't use crematoriums without help + user << "[src] is locked against you." + return + /obj/structure/bodycontainer/crematorium/Destroy() crematoriums.Remove(src) return ..()