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

atmos_reaction_recorder

Component for atmos-related atoms to be able to record and transmit their reaction_results data Use this ONLY for atoms, gasmixtures will be accessed by calling return air on the object. Add this component after gasmixes has been initialized.

Vars

copied_reaction_resultsThe list we write append each reaction tick to. This is often a list initialized by something else (passed as a reference under Initialize).
registered_signalsSignals we have been listening to.

Procs

InitializeVerify that parent is indeed an atom, and then register signals. Args:
update_dataFetches reaction_results and updates the list.

Var Details

copied_reaction_results

The list we write append each reaction tick to. This is often a list initialized by something else (passed as a reference under Initialize).

registered_signals

Signals we have been listening to.

Proc Details

Initialize

Verify that parent is indeed an atom, and then register signals. Args:

update_data

Fetches reaction_results and updates the list.