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

portable_atmospherics

Vars

air_contentsStores the gas mixture of the portable component. Don't access this directly, use return_air() so you support the temporary processing it provides
connected_portStores the reference of the connecting port
excitedUsed to track if anything of note has happen while running process_atmos()
holdingStores the reference of the tank the machine is holding
volumeVolume (in L) of the inside of the machine

Procs

connectAllow the portable machine to be connected to a connector Arguments:
disconnectAllow the portable machine to be disconnected from the connector
replace_tankAllow the player to place a tank inside the machine. Arguments:
unregister_holdingHolding tanks can get to zero integrity and be destroyed without other warnings due to pressure change. This checks for that case and removes our reference to it.

Var Details

air_contents

Stores the gas mixture of the portable component. Don't access this directly, use return_air() so you support the temporary processing it provides

connected_port

Stores the reference of the connecting port

excited

Used to track if anything of note has happen while running process_atmos()

holding

Stores the reference of the tank the machine is holding

volume

Volume (in L) of the inside of the machine

Proc Details

connect

Allow the portable machine to be connected to a connector Arguments:

disconnect

Allow the portable machine to be disconnected from the connector

replace_tank

Allow the player to place a tank inside the machine. Arguments:

unregister_holding

Holding tanks can get to zero integrity and be destroyed without other warnings due to pressure change. This checks for that case and removes our reference to it.