/obj/machinery/atmospherics

Vars | |
can_unwrench | Check if the object can be unwrenched |
---|---|
device_type | The type of the device (UNARY, BINARY, TRINARY, QUATERNARY) |
hide | This only works on pipes, because they have 1000 subtypes wich need to be visible and invisible under tiles, so we track this here |
init_processing | If we should init and immediately start processing |
initialize_directions | Bitflag of the initialized directions (NORTH | SOUTH | EAST | WEST) |
pipe_color | The color of the pipe |
pipe_flags | The flags of the pipe/component (PIPING_ALL_LAYER | PIPING_ONE_PER_TURF | PIPING_DEFAULT_LAYER_ONLY | PIPING_CARDINAL_AUTONORMALIZE) |
pipe_vision_img | The image of the pipe/device used for ventcrawling |
piping_layer | What layer the pipe is in (from 1 to 5, default 3) |
quick_toggle | Can this be quick-toggled on and off using right click or ctrl-click? |
rebuilding | Is the thing being rebuilt by SSair or not. Prevents list bloat |
vent_movement | The bitflag that's being checked on ventcrawling. Default is to allow ventcrawling and seeing pipes. |
Procs | |
get_pipe_image | Getter for piping layer shifted, pipe colored overlays |
shuttleRotate | Machine rotate procs |
Var Details
can_unwrench

Check if the object can be unwrenched
device_type

The type of the device (UNARY, BINARY, TRINARY, QUATERNARY)
hide

This only works on pipes, because they have 1000 subtypes wich need to be visible and invisible under tiles, so we track this here
init_processing

If we should init and immediately start processing
initialize_directions

Bitflag of the initialized directions (NORTH | SOUTH | EAST | WEST)
pipe_color

The color of the pipe
pipe_flags

The flags of the pipe/component (PIPING_ALL_LAYER | PIPING_ONE_PER_TURF | PIPING_DEFAULT_LAYER_ONLY | PIPING_CARDINAL_AUTONORMALIZE)
pipe_vision_img

The image of the pipe/device used for ventcrawling
piping_layer

What layer the pipe is in (from 1 to 5, default 3)
quick_toggle

Can this be quick-toggled on and off using right click or ctrl-click?
rebuilding

Is the thing being rebuilt by SSair or not. Prevents list bloat
vent_movement

The bitflag that's being checked on ventcrawling. Default is to allow ventcrawling and seeing pipes.
Proc Details
get_pipe_image
Getter for piping layer shifted, pipe colored overlays
Creates the image for the pipe underlay that all components use, called by get_pipe_underlay() in components_base.dm Arguments:
- iconfile - path of the iconstate we are using (ex: 'icons/obj/machines/atmospherics/thermomachine.dmi')
- iconstate - the image we are using inside the file
- direction - the direction of our device
- color - the color (in hex value, like #559900) that the pipe should have
- piping_layer - the piping_layer the device is in, used inside PIPING_LAYER_SHIFT
- trinary - if TRUE we also use PIPING_FORWARD_SHIFT on layer 1 and 5 for trinary devices (filters and mixers)
shuttleRotate
Machine rotate procs