From 887d21dfefe2b2f37b224ddded6d92589be9da1e Mon Sep 17 00:00:00 2001 From: SabreML <57483089+SabreML@users.noreply.github.com> Date: Tue, 30 Jan 2024 12:51:20 +0000 Subject: [PATCH] Fixes facehuggers being able to flip tables (#5580) # About the pull request Fixes #5563 by adding a `mob_size` check to the table flipping verb. # Explain why it's good for the game Probably not an intentional feature lol # Testing Photographs and Procedure
Screenshots & Videos Put screenshots and videos here with an empty line between the screenshots and the `
` tags.
# Changelog :cl: fix: Fixed facehuggers being able to flip tables. /:cl: --- code/game/objects/structures/tables_racks.dm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/code/game/objects/structures/tables_racks.dm b/code/game/objects/structures/tables_racks.dm index 1856dc5dd750..d62c4b574629 100644 --- a/code/game/objects/structures/tables_racks.dm +++ b/code/game/objects/structures/tables_racks.dm @@ -353,7 +353,12 @@ set category = "Object" set src in oview(1) - if(!can_touch(usr) || ismouse(usr)) + if(!can_touch(usr)) + return + + // Small regular mob, or very small xeno. + if(usr.mob_size == MOB_SIZE_SMALL || usr.mob_size == MOB_SIZE_XENO_VERY_SMALL) + to_chat(usr, SPAN_WARNING("[isxeno(usr) ? "We are" : "You're"] too small to flip [src].")) return if(usr.a_intent != INTENT_HARM)