From 8f869b659b3802afe32432df5259762934c6f074 Mon Sep 17 00:00:00 2001 From: Pepsilawn Date: Thu, 11 Aug 2022 07:43:39 +0200 Subject: [PATCH] Moves sinks' layer to above the object layer (#68964) This PR moves sinks to layer 3.2 as opposed to 3, the object layer. Sinks are coded in with a pixel displacement and kitchen sinks are large enough for the collision check to fail if the sink is against a solid structure on an above layer, such as a window or an airlock. Another big issue is that it looks bad This is at the cost of 3 pixels appearing on top of a window if placed facing south against one, so this isn't a complete fix to the aesthetic of it, the primary focus of the PR is to make the sink interactable, and even then I believe it's a better trade-off: --- code/game/objects/structures/watercloset.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/game/objects/structures/watercloset.dm b/code/game/objects/structures/watercloset.dm index 43eef8609a6..5589b81c5d0 100644 --- a/code/game/objects/structures/watercloset.dm +++ b/code/game/objects/structures/watercloset.dm @@ -256,6 +256,7 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/structure/urinal, 32) icon_state = "sink" desc = "A sink used for washing one's hands and face. Passively reclaims water over time." anchored = TRUE + layer = ABOVE_OBJ_LAYER pixel_z = 1 ///Something's being washed at the moment var/busy = FALSE