From 907febbdcf76a3e6d8d56f48f0a79d5319ebee38 Mon Sep 17 00:00:00 2001 From: blessedmulligan <30278162+blessedmulligan@users.noreply.github.com> Date: Mon, 22 Apr 2019 22:43:37 -0500 Subject: [PATCH] Allow RPD to place pipes on tiles with grilles/windows (#43671) Before, clicking on windows or grilles with rpds would not do anything. Now, it will attempt to place a pipe/whatever on that tile. the inability to build pipes through windows without deconstructing them is obnoxious and arbitrary, especially since you can build through walls no problem. This streamlines the workflow of almost any atmos funtime shenanigans. --- code/game/objects/items/RPD.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/RPD.dm b/code/game/objects/items/RPD.dm index ff6fe1c2d0d..cb20bc36d4e 100644 --- a/code/game/objects/items/RPD.dm +++ b/code/game/objects/items/RPD.dm @@ -333,7 +333,7 @@ GLOBAL_LIST_INIT(transit_tube_recipes, list( //make sure what we're clicking is valid for the current category var/static/list/make_pipe_whitelist if(!make_pipe_whitelist) - make_pipe_whitelist = typecacheof(list(/obj/structure/lattice, /obj/structure/girder, /obj/item/pipe)) + make_pipe_whitelist = typecacheof(list(/obj/structure/lattice, /obj/structure/girder, /obj/item/pipe, /obj/structure/window, /obj/structure/grille)) var/can_make_pipe = (isturf(A) || is_type_in_typecache(A, make_pipe_whitelist)) . = FALSE