Daedalus Dock - Modules - TypesVar Details - Proc Details

reagents

Vars

chemical_reactions_listList of all /datum/chemical_reaction datums indexed by their typepath. Use this for general lookup stuff
chemical_reactions_list_product_indexList of all /datum/chemical_reaction datums. Used for the reaction lookup UI. Indexed by PRODUCT type
chemical_reactions_list_reactant_indexList of all /datum/chemical_reaction datums. Used during chemical reactions. Indexed by REACTANT types
chemical_reactions_results_lookup_listList of all reactions with their associated product and result ids. Used for reaction lookups
chemical_reagents_listList of all /datum/reagent datums indexed by reagent id. Used by chemistry stuff
previous_world_timeWhat time was it when we last ticked

Procs

init_chemical_reagent_listInitialises all /datum/reagent into a list indexed by reagent id

Var Details

chemical_reactions_list

List of all /datum/chemical_reaction datums indexed by their typepath. Use this for general lookup stuff

chemical_reactions_list_product_index

List of all /datum/chemical_reaction datums. Used for the reaction lookup UI. Indexed by PRODUCT type

chemical_reactions_list_reactant_index

List of all /datum/chemical_reaction datums. Used during chemical reactions. Indexed by REACTANT types

chemical_reactions_results_lookup_list

List of all reactions with their associated product and result ids. Used for reaction lookups

chemical_reagents_list

List of all /datum/reagent datums indexed by reagent id. Used by chemistry stuff

previous_world_time

What time was it when we last ticked

Proc Details

init_chemical_reagent_list

Initialises all /datum/reagent into a list indexed by reagent id