Merge pull request #11493 from VOREStation/upstream-merge-8241

[MIRROR] Sleep Tight Disky
This commit is contained in:
Aronai Sieyes
2021-08-26 16:53:03 +00:00
committed by Chompstation Bot
parent 145f8172f4
commit 46c1fc90d1
@@ -131,6 +131,13 @@
playsound(src, W.usesound, 100, 1)
remove_padding()
else if(istype(W, /obj/item/weapon/disk) || (istype(W, /obj/item/toy/plushie)))
user.drop_from_inventory(W, get_turf(src))
W.pixel_x = 10 //make sure they reach the pillow
W.pixel_y = -6
if(istype(W, /obj/item/weapon/disk))
user.visible_message("<span class='notice'>[src] sleeps soundly. Sleep tight, disky.</span>")
else if(istype(W, /obj/item/weapon/grab))
var/obj/item/weapon/grab/G = W
var/mob/living/affecting = G.affecting