[MIRROR] atmos binary devices code cleanup + docs (#3525)

* atmos binary devices code cleanup + docs (#57019)

* atmos binary devices code cleanup + docs

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-02-20 00:48:19 +00:00
committed by GitHub
co-authored by Ghilker
parent 7a30eb2eae
commit fddd4fd8f0
9 changed files with 132 additions and 95 deletions
@@ -16,7 +16,11 @@
/obj/machinery/atmospherics/components/binary/getNodeConnects()
return list(turn(dir, 180), dir)
///Used by binary devices to set what the offset will be for each layer
/**
* Used by binary devices to set what the offset will be for each layer, called in update_icon_nopipes()
* Arguments:
* * -pipe_layer: is the pipe layer the component should be set to
*/
/obj/machinery/atmospherics/components/binary/proc/set_overlay_offset(pipe_layer)
switch(pipe_layer)
if(1, 3, 5)