Allows you to tuck the nuclear authentication disk (and plushes) into bed. (#55940)

Adds an element, the tuckable element. Objects with this element can be tucked into bed by hitting a bed with it.

You can now make beds by hitting them with a blanket.
You can now tuck plushes into bed.
You can now tuck the disk into bed, too.
This commit is contained in:
MrMelbert
2021-01-05 17:57:11 -05:00
committed by GitHub
parent 701a87e7cf
commit 4b9869b97d
5 changed files with 76 additions and 0 deletions
@@ -27,6 +27,7 @@ LINEN BINS
/obj/item/bedsheet/Initialize(mapload)
. = ..()
AddComponent(/datum/component/surgery_initiator, null)
AddElement(/datum/element/bed_tuckable, 0, 0, 0)
/obj/item/bedsheet/attack_self(mob/user)
if(!user.CanReach(src)) //No telekenetic grabbing.