From e09d92985519009fe15bc65c4b27592deb14ea49 Mon Sep 17 00:00:00 2001 From: Cerebulon Date: Mon, 13 Mar 2023 19:49:25 +0000 Subject: [PATCH] Rotatable stools --- .../structures/stool_bed_chair_nest/stools.dm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/code/game/objects/structures/stool_bed_chair_nest/stools.dm b/code/game/objects/structures/stool_bed_chair_nest/stools.dm index 97b21f5917..0dce0560d7 100644 --- a/code/game/objects/structures/stool_bed_chair_nest/stools.dm +++ b/code/game/objects/structures/stool_bed_chair_nest/stools.dm @@ -150,6 +150,20 @@ var/global/list/stool_cache = list() //haha stool else ..() +/obj/item/stool/verb/rotate_clockwise() + set name = "Rotate Stool Clockwise" + set category = "Object" + set src in oview(1) + + if(!usr || !isturf(usr.loc)) + return + if(usr.stat || usr.restrained()) + return + if(ismouse(usr) || (isobserver(usr) && !config.ghost_interaction)) + return + + src.set_dir(turn(src.dir, 270)) + /obj/item/stool/barstool name = "bar stool" desc = "Apply butt."