From 2fa9e5c42568dd9969a14293897ee7acbced3e87 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 25 Mar 2024 18:33:19 +0100 Subject: [PATCH] [MIRROR] Give smoke machines the simple_rotation component (#27022) * Give smoke machines the simple_rotation component (#82169) ## About The Pull Request Smoke machines have a plumbing input, but as opposed to as far as I know all other plumbing machines they cannot easily be rotated. This is *really* awkward, and in some positions makes it a massive pain in the ass to position properly. Giving it the `/datum/component/simple_rotation` component that all other such machines have fixes this. ## Why It's Good For The Game It's really really awkward to orient where its plumbing input goes without this. Try put it against a wall with its plumbing end away from the wall, it sucks. ## Changelog :cl: qol: Smoke machines can actually be rotated with alt-click when unwrenched. /:cl: * Give smoke machines the simple_rotation component --------- Co-authored-by: _0Steven <42909981+00-Steven@users.noreply.github.com> --- code/modules/reagents/chemistry/machinery/smoke_machine.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/reagents/chemistry/machinery/smoke_machine.dm b/code/modules/reagents/chemistry/machinery/smoke_machine.dm index e91aea78d59..41294c80676 100644 --- a/code/modules/reagents/chemistry/machinery/smoke_machine.dm +++ b/code/modules/reagents/chemistry/machinery/smoke_machine.dm @@ -37,6 +37,7 @@ . = ..() create_reagents(REAGENTS_BASE_VOLUME, INJECTABLE) AddComponent(/datum/component/plumbing/simple_demand) + AddComponent(/datum/component/simple_rotation) for(var/datum/stock_part/matter_bin/B in component_parts) reagents.maximum_volume += REAGENTS_BASE_VOLUME * B.tier if(is_operational)