Skip to content

Commit

Permalink
Update bed.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
AndroBetel committed Dec 18, 2023
1 parent a7d2e30 commit 04cbc1c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/game/objects/structures/stool_bed_chair_nest/bed.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 04cbc1c

Please sign in to comment.