/tg/ Station 13 - Modules - Types

code/_globalvars/lists/reagents.dm

/proc/init_chemical_reagent_listInitialises all /datum/reagent into a list indexed by reagent id
/proc/build_chemical_reactions_listsChemical Reactions - Initialises all /datum/chemical_reaction into a list It is filtered into multiple lists within a list. For example: chemical_reactions_list_reactant_index/datum/reagent/toxin/plasma is a list of all reactions relating to plasma For chemical reaction list product index - indexes reactions based off the product reagent type - see get_recipe_from_reagent_product() in helpers For chemical reactions list lookup list - creates a bit list of info passed to the UI. This is saved to reduce lag from new windows opening, since it's a lot of data.
/proc/build_name2reagentlistBuilds map of reagent name to its datum path