/tg/ Station 13 - 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
volumeThe volume of the gas mixture
windowThe image showing the gases inside of the tank

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

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

volume

The volume of the gas mixture

window

The image showing the gases inside of the tank

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