Pipe fixes

This commit is contained in:
Markolie
2015-09-27 04:15:57 +02:00
parent 69f71268b8
commit ee130ccbbe
10 changed files with 33 additions and 40 deletions
@@ -42,6 +42,7 @@
return ..()
/obj/machinery/atmospherics/binary/initialize()
..()
var/node2_connect = dir
var/node1_connect = turn(dir, 180)
@@ -57,6 +57,7 @@
return ..()
/obj/machinery/atmospherics/omni/initialize()
..()
for(var/datum/omni_port/P in ports)
if(P.node || P.mode == 0)
continue
@@ -67,7 +67,7 @@
return ..()
/obj/machinery/atmospherics/trinary/initialize()
..()
//Mixer:
//1 and 2 is input
//Node 3 is output
@@ -78,10 +78,6 @@
//Node 2 is filtered output
//Node 3 is rest output
//If we flip the filter, 1 and 3 shall exchange positions
if(can_unwrench) // Overridden here to avoid having to snowflake the flipped/icon_state on the construction
qdel(stored)
stored = new(src, make_from = src)
var/node1_connect = turn(dir, -180)
var/node2_connect = turn(dir, -90)
@@ -23,6 +23,7 @@
return ..()
/obj/machinery/atmospherics/unary/initialize()
..()
for(var/obj/machinery/atmospherics/target in get_step(src, dir))
if(target.initialize_directions & get_dir(target,src))
var/c = check_connect_types(target,src)