mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 20:17:15 +01:00
Atmos Pipe Improvements (#19478)
* pumps use their layer to connect pipes visually * connectors for supply and scrubbers * pump dmi stuff * fixed volume pump dmi * Vents support multiple connection types * prevent multiple pipes attaching to the same side * old code * prioritize linking already connecting pipes * constructable pressure tanks * tank icon fix * color fix * fixes * multiple connection universal pipes * possible network fix * buh buh * tanks no longer go invisible
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
var/node_connect = dir
|
||||
var/turf/one_step = get_step(src,node_connect)
|
||||
|
||||
for(var/obj/machinery/atmospherics/target in get_step(one_step,node_connect))
|
||||
for(var/obj/machinery/atmospherics/target in get_prioritized_nodes(get_step(one_step,node_connect)))
|
||||
if(can_be_node(target, 1))
|
||||
node = target
|
||||
break
|
||||
@@ -62,7 +62,7 @@
|
||||
var/turf/one_step = get_step(src,node_connect)
|
||||
var/turf/two_step = get_step(one_step,node_connect)
|
||||
|
||||
for(var/obj/machinery/atmospherics/target in get_step(two_step,node_connect))
|
||||
for(var/obj/machinery/atmospherics/target in get_prioritized_nodes(get_step(two_step,node_connect)))
|
||||
if(can_be_node(target, 1))
|
||||
node = target
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user