From d5856ad60911e6f3524d9dd8e090620a1b8b7930 Mon Sep 17 00:00:00 2001 From: PKPenguin321 Date: Sat, 28 Oct 2017 09:59:12 -0700 Subject: [PATCH 1/2] Allows RPD to place pipes on catwalks/girders (#32141) * Allows RPD to place pipes on catwalks * allows girders too * fixes parenthesis i sniff glue --- 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 585f632f80..76fabdc8e8 100644 --- a/code/game/objects/items/RPD.dm +++ b/code/game/objects/items/RPD.dm @@ -548,7 +548,7 @@ GLOBAL_LIST_INIT(RPD_recipes, list( //make sure what we're clicking is valid for the current mode var/is_paintable = (p_class == PAINT_MODE && istype(A, /obj/machinery/atmospherics/pipe)) var/is_consumable = (p_class == EATING_MODE && (istype(A, /obj/item/pipe) || istype(A, /obj/item/pipe_meter) || istype(A, /obj/structure/disposalconstruct))) - var/can_make_pipe = ((atmos_piping_mode || p_class == DISPOSALS_MODE) && isturf(A)) + var/can_make_pipe = ((atmos_piping_mode || p_class == DISPOSALS_MODE) && (isturf(A)) || istype(A, /obj/structure/lattice/catwalk) || istype(A, /obj/structure/girder)) if(!is_paintable && !is_consumable && !can_make_pipe) return ..()