mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 12:47:16 +01:00
Fixes invisible Heat Exchange Pipes
This commit is contained in:
@@ -134,9 +134,13 @@ GLOBAL_LIST_INIT(disposal_pipe_recipes, list(
|
||||
dirtype = initial(construction_type.dispenser_class)
|
||||
if (dirtype == PIPE_TRIN_M)
|
||||
icon_state_m = "[icon_state]m"
|
||||
<<<<<<< HEAD
|
||||
|
||||
// YW Edit: Add HE pipes to non-paintable objects list.
|
||||
paintable = ispath(path, /obj/machinery/atmospherics/pipe) && !(ispath(path, /obj/machinery/atmospherics/pipe/vent)) && !(ispath(path, /obj/machinery/atmospherics/pipe/simple/heat_exchanging)) // VOREStation Add
|
||||
=======
|
||||
paintable = !ispath(path, /obj/machinery/atmospherics/pipe/simple/heat_exchanging) && ispath(path, /obj/machinery/atmospherics/pipe) && !(ispath(path, /obj/machinery/atmospherics/pipe/vent)) // VOREStation Add
|
||||
>>>>>>> ae163eb20b... Merge pull request #11812 from FartMaster69420/Fix-HE-Pipes
|
||||
|
||||
|
||||
//
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
item_icons = list(
|
||||
slot_l_hand_str = 'icons/mob/items/lefthand_vr.dmi',
|
||||
slot_r_hand_str = 'icons/mob/items/righthand_vr.dmi',
|
||||
)
|
||||
)
|
||||
flags = NOBLUDGEON
|
||||
force = 10
|
||||
throwforce = 10
|
||||
@@ -184,9 +184,9 @@
|
||||
activate()
|
||||
animate_deletion(A)
|
||||
return
|
||||
|
||||
|
||||
if((mode & PAINT_MODE)) //Paint pipes
|
||||
if(istype(A, /obj/machinery/atmospherics/pipe))
|
||||
if(!istype(A, /obj/machinery/atmospherics/pipe/simple/heat_exchanging) && istype(A, /obj/machinery/atmospherics/pipe))
|
||||
var/obj/machinery/atmospherics/pipe/P = A
|
||||
playsound(src, 'sound/machines/click.ogg', 50, 1)
|
||||
P.change_color(pipe_colors[paint_color])
|
||||
|
||||
Reference in New Issue
Block a user