[MIRROR] Allows you to tuck the nuclear authentication disk (and plushes) into bed. (#2515)

* 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.

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

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-01-06 02:26:01 +01:00
committed by GitHub
parent 1c270ab03a
commit 02c83dcd8a
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.