/tg/ Station 13 - Modules - TypesVar Details - Proc Details

tank_compressor

Vars

inserted_diskReference to a disk we are going to print to.

Procs

ExitedWe rely on exited to clear references.
eject_tankEjecting a tank. Also called on insertion to clear previous tanks.
explosion_handleUse this to absorb explosions.
flush_bufferEverytime a tank is destroyed or a new tank is inserted, our buffer is flushed. Mole requirements in experiments are tracked by buffer data.
process_atmosGlorified volume pump.
record_dataThis proc should be called whenever we want to store our buffer data.
tank_destructionRecording of last pressure of the tank. Ran when a tank is about to explode or disintegrate. We dont care about last pressure if the tank is ejected.

Var Details

inserted_disk

Reference to a disk we are going to print to.

Proc Details

Exited

We rely on exited to clear references.

eject_tank

Ejecting a tank. Also called on insertion to clear previous tanks.

explosion_handle

Use this to absorb explosions.

flush_buffer

Everytime a tank is destroyed or a new tank is inserted, our buffer is flushed. Mole requirements in experiments are tracked by buffer data.

process_atmos

Glorified volume pump.

record_data

This proc should be called whenever we want to store our buffer data.

tank_destruction

Recording of last pressure of the tank. Ran when a tank is about to explode or disintegrate. We dont care about last pressure if the tank is ejected.