From 359a24ca7f39db7803ec07b5a79c1bbbb0b844bd Mon Sep 17 00:00:00 2001 From: ZigVert <56202842+Daved27hundred@users.noreply.github.com> Date: Tue, 14 Nov 2023 03:54:20 -0500 Subject: [PATCH] restaurant portal can be moved w/ wrench (#690) ## About The Pull Request The portals that spawn the tourist bots can be unbolted from the floor, pulled around, and rebolted somewhere else. ## Why It's Good For The Game These things are immovable and it gets annoying when you have to build around them because of that, especially if you don't even use them. I initially made them destructible but this is a far better fix ## Changelog :cl: :qol: restaurant portal can bolted and unbolted /:cl: --- code/modules/food_and_drinks/restaurant/_venue.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/modules/food_and_drinks/restaurant/_venue.dm b/code/modules/food_and_drinks/restaurant/_venue.dm index f8e171948a6..29a4a8b7fb3 100644 --- a/code/modules/food_and_drinks/restaurant/_venue.dm +++ b/code/modules/food_and_drinks/restaurant/_venue.dm @@ -171,6 +171,11 @@ /// A weak reference to the mob who turned on the portal var/datum/weakref/turned_on_portal +/obj/machinery/restaurant_portal/wrench_act(mob/living/user, obj/item/tool) + . = ..() + default_unfasten_wrench(user, tool) + return TOOL_ACT_TOOLTYPE_SUCCESS + /obj/machinery/restaurant_portal/Initialize(mapload) . = ..() if(linked_venue)