Space Station 13 - Modules - TypesVar Details - Proc Details

atmospherics

Vars

can_be_undertileCan this be put under a tile?
can_unwrenchCan this be unwrenched?
connect_typesType of pipes this machine can connect to
connected_toWhat this machine is connected to
icon_connect_typeIcon suffix for connection, can be "-supply" or "-scrubbers"
initialize_directionsDirections to initialize in to grab pipes
layer_offsetGeneric over VISIBLE and HIDDEN, should be less than 0.01, or you'll reorder non-pipe things.
onIf the machine is currently operating or not.
pipe_colorPipe colour, not used for all subtypes
pipe_vision_imgThe image of the pipe/device used for ventcrawling
vent_movementThe bitflag that's being checked on ventcrawling. Default is to allow ventcrawling and seeing pipes.
weldedWhether its currently welded

Procs

find_connectingFind a connecting /obj/machinery/atmospherics in specified direction, called by relaymove() used by ventcrawling mobs to check if they can move inside a pipe in a specific direction Arguments:
relaymoveVentrcrawling
return_pipenetsGetter of a list of pipenets
toggleTurns the machine either on, or off. If this is done by a user, display a message to them.

Var Details

can_be_undertile

Can this be put under a tile?

can_unwrench

Can this be unwrenched?

connect_types

Type of pipes this machine can connect to

connected_to

What this machine is connected to

icon_connect_type

Icon suffix for connection, can be "-supply" or "-scrubbers"

initialize_directions

Directions to initialize in to grab pipes

layer_offset

Generic over VISIBLE and HIDDEN, should be less than 0.01, or you'll reorder non-pipe things.

on

If the machine is currently operating or not.

pipe_color

Pipe colour, not used for all subtypes

pipe_vision_img

The image of the pipe/device used for ventcrawling

vent_movement

The bitflag that's being checked on ventcrawling. Default is to allow ventcrawling and seeing pipes.

welded

Whether its currently welded

Proc Details

find_connecting

Find a connecting /obj/machinery/atmospherics in specified direction, called by relaymove() used by ventcrawling mobs to check if they can move inside a pipe in a specific direction Arguments:

relaymove

Ventrcrawling

return_pipenets

Getter of a list of pipenets

called in relaymove() to create the image for vent crawling

toggle

Turns the machine either on, or off. If this is done by a user, display a message to them.

NOTE: Only applies to atmospherics machines which can be toggled on or off, such as pumps, or other devices.

Arguments: