code/_globalvars/lists/reagents.dm 
| MAX_RANDOMIZED_REACTION_RETRY_ATTEMPTS | Maximum number of times to register a randomized reaction before giving up when collisions happen |
|---|---|
| /proc/init_chemical_reagent_list | Initialises all /datum/reagent into a list indexed by reagent id |
| /proc/build_chemical_reactions_lists | Chemical 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_name2reagentlist | Builds map of reagent name to its datum path |
Define Details
MAX_RANDOMIZED_REACTION_RETRY_ATTEMPTS 
Maximum number of times to register a randomized reaction before giving up when collisions happen