[MIRROR] Componentizes Surgery-Initiation Devices (#174)

* Componentizes Surgery-Initiation Devices (#52295)

* meow

* doc moment

* meow

* Componentizes Surgery-Initiation Devices

Co-authored-by: girl <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>
This commit is contained in:
SkyratBot
2020-08-03 07:48:34 +01:00
committed by GitHub
co-authored by girl
parent a574f7b88c
commit 99a084fbd7
5 changed files with 167 additions and 126 deletions
+3 -3
View File
@@ -24,9 +24,9 @@ LINEN BINS
dog_fashion = /datum/dog_fashion/head/ghost
var/list/dream_messages = list("white")
/obj/item/bedsheet/attack(mob/living/M, mob/user)
if(!attempt_initiate_surgery(src, M, user))
..()
/obj/item/bedsheet/Initialize(mapload)
. = ..()
AddComponent(/datum/component/surgery_initiator, null)
/obj/item/bedsheet/attack_self(mob/user)
if(!user.CanReach(src)) //No telekenetic grabbing.