22 lines
605 B
Plaintext
22 lines
605 B
Plaintext
/obj/machinery/atmospherics/components/binary
|
|
icon = 'icons/obj/atmospherics/components/binary_devices.dmi'
|
|
dir = SOUTH
|
|
initialize_directions = SOUTH|NORTH
|
|
use_power = IDLE_POWER_USE
|
|
device_type = BINARY
|
|
layer = GAS_PUMP_LAYER
|
|
|
|
/obj/machinery/atmospherics/components/binary/SetInitDirections()
|
|
switch(dir)
|
|
if(NORTH, SOUTH)
|
|
initialize_directions = NORTH|SOUTH
|
|
if(EAST, WEST)
|
|
initialize_directions = EAST|WEST
|
|
|
|
/obj/machinery/atmospherics/components/binary/hide(intact)
|
|
update_icon()
|
|
..()
|
|
|
|
/obj/machinery/atmospherics/components/binary/getNodeConnects()
|
|
return list(turn(dir, 180), dir)
|