atmospherics 
Vars | |
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 |
Procs | |
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 |
toggle | Turns 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:
- direction - the direction we are checking against
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:
- user - the mob who is toggling the machine.