/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/atmospherics/atmos_helpers.dm

CANATMOSPASSCheck if an atom (A) and a turf (O) allow gas passage based on the atom's can_atmos_pass var, do not use. (V) is if the share is vertical or not. True or False
PIPING_LAYER_SHIFTMoves the icon of the device based on the piping layer and on the direction
PIPING_FORWARD_SHIFTMoves the icon of the device based on the piping layer and on the direction, the shift amount is dictated by more_shift
PIPING_LAYER_DOUBLE_SHIFTMoves the icon of the device based on the piping layer on both x and y
THERMAL_ENERGYCalculate the thermal energy of the selected gas (J)
GAS_OVERLAYSReturns a list of overlays of every gas in the mixture

Define Details

CANATMOSPASS

Check if an atom (A) and a turf (O) allow gas passage based on the atom's can_atmos_pass var, do not use. (V) is if the share is vertical or not. True or False

GAS_OVERLAYS

Returns a list of overlays of every gas in the mixture

PIPING_FORWARD_SHIFT

Moves the icon of the device based on the piping layer and on the direction, the shift amount is dictated by more_shift

PIPING_LAYER_DOUBLE_SHIFT

Moves the icon of the device based on the piping layer on both x and y

PIPING_LAYER_SHIFT

Moves the icon of the device based on the piping layer and on the direction

THERMAL_ENERGY

Calculate the thermal energy of the selected gas (J)