From 04cbc1c3099d422c8db8949cf408e1bf5fd5f064 Mon Sep 17 00:00:00 2001 From: AndroBetel <44546836+AndroBetel@users.noreply.github.com> Date: Tue, 19 Dec 2023 02:56:13 +0300 Subject: [PATCH] Update bed.dm --- code/game/objects/structures/stool_bed_chair_nest/bed.dm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/code/game/objects/structures/stool_bed_chair_nest/bed.dm b/code/game/objects/structures/stool_bed_chair_nest/bed.dm index bc3b4ad7f4..dae0eab420 100644 --- a/code/game/objects/structures/stool_bed_chair_nest/bed.dm +++ b/code/game/objects/structures/stool_bed_chair_nest/bed.dm @@ -411,6 +411,14 @@ var/global/list/activated_medevac_stretchers = list() buckling_y = 0 foldabletype = /obj/item/roller/bedroll accepts_bodybag = FALSE + buckling_sound = "rustle" + +/obj/structure/bed/bedroll/clicked(mob/user, list/mods) + if(mods["alt"] && !buckled_mob) + buckle_lying = !buckle_lying + to_chat(user, SPAN_NOTICE("You tuck [src] for comfortable [buckle_lying ? "lying" : "sitting"].")) + return TRUE + return ..() /obj/item/roller/bedroll name = "folded bedroll"