/tg/ Station 13 - Modules - Types

code/__HELPERS/atmospherics.dm

/proc/gas_mixture_parser
/proc/atmos_handbooks_init Automatically populates gas_handbook and reaction_handbook. They are formatted lists containing information regarding gases and reactions they participate in. Structure can be found in TS form at AtmosHandbook.tsx
/proc/return_atmos_handbooks Final product is a numbered list, this one is assoc just so we can generate the "reactions" entry easily. Returns an assoc list of the gas handbook and the reaction handbook. For UIs, simply do data += return_atmos_handbooks() to use.
/proc/check_gases A simple helped proc that checks if the contents of a list of gases are within acceptable terms.
/proc/print_gas_mixture Check that gases absent from the turf have a lower boundary of zero or none at all, otherwise return FALSE