Daedalus Dock - Modules - TypesVar Details - Proc Details

tank

Vars

air_contentsReference to the gas mix inside the tank
breaking_soundsThe sounds that play when the tank is breaking from overpressure
crack_statesThe icon states for the cracks in the tank dmi
crack_states_countNumber of crack states to fill the list with. This exists because I'm lazy and didn't want to keeping adding more things manually to the below list.
gas_typeThe typepath of the gas this tank should be filled with.
knob_overlaysShared images for the knob overlay representing a side of the tank that is open to connections
max_pressureThe max pressure of the gas mixture before damaging the tank
merger_idThe merger id used to create/get the merger group in charge of handling tanks that share an internal gas storage
merger_typecacheThe typecache of types which are allowed to merge internal storage
open_portsThe open node directions of the tank, assuming that the tank is facing NORTH.
volumeThe volume of the gas mixture
windowThe image showing the gases inside of the tank
window_iconThe window filter icon. This is a static because we dont need to hash an icon every fucking process call.

Procs

fill_to_pressureFills the tank to the maximum safe pressure. Safety margin is a multiplier for the cap for the purpose of this proc so it doesn't have to be filled completely.
merger_refresh_completeHandles the combined gas tank for the entire merger group, only the origin tank actualy runs this.
refresh_pressure_limitRecalculates pressure based on the current max integrity compared to original
set_portdir_relativeEnables/Disables a port direction in var/open_ports.
Use this, then call set_init_directions() instead of setting initialize_directions directly
This system exists because tanks not having all initialize_directions set correctly breaks shuttle rotations
toggle_portdir_relativeToggles a port direction in var/open_ports
Use this, then call set_init_directions() instead of setting initialize_directions directly
This system exists because tanks not having all initialize_directions set correctly breaks shuttle rotations

Var Details

air_contents

Reference to the gas mix inside the tank

breaking_sounds

The sounds that play when the tank is breaking from overpressure

crack_states

The icon states for the cracks in the tank dmi

crack_states_count

Number of crack states to fill the list with. This exists because I'm lazy and didn't want to keeping adding more things manually to the below list.

gas_type

The typepath of the gas this tank should be filled with.

knob_overlays

Shared images for the knob overlay representing a side of the tank that is open to connections

max_pressure

The max pressure of the gas mixture before damaging the tank

merger_id

The merger id used to create/get the merger group in charge of handling tanks that share an internal gas storage

merger_typecache

The typecache of types which are allowed to merge internal storage

open_ports

The open node directions of the tank, assuming that the tank is facing NORTH.

volume

The volume of the gas mixture

window

The image showing the gases inside of the tank

window_icon

The window filter icon. This is a static because we dont need to hash an icon every fucking process call.

Proc Details

fill_to_pressure

Fills the tank to the maximum safe pressure. Safety margin is a multiplier for the cap for the purpose of this proc so it doesn't have to be filled completely.

merger_refresh_complete

Handles the combined gas tank for the entire merger group, only the origin tank actualy runs this.

refresh_pressure_limit

Recalculates pressure based on the current max integrity compared to original

set_portdir_relative

Enables/Disables a port direction in var/open_ports.
Use this, then call set_init_directions() instead of setting initialize_directions directly
This system exists because tanks not having all initialize_directions set correctly breaks shuttle rotations

toggle_portdir_relative

Toggles a port direction in var/open_ports
Use this, then call set_init_directions() instead of setting initialize_directions directly
This system exists because tanks not having all initialize_directions set correctly breaks shuttle rotations