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

Materials

Vars

materialsDictionary of material.type || material ref
materials_by_categoryDictionary of category || list of material refs
materialtypes_by_categoryDictionary of category || list of material types, mostly used by rnd machines like autolathes.
rigid_stack_recipesList of stackcrafting recipes for materials using rigid materials

Procs

InitializeMaterialsRan on initialize, populated the materials and materials_by_category dictionaries with their appropiate vars (See these variables for more info)

Var Details

materials

Dictionary of material.type || material ref

materials_by_category

Dictionary of category || list of material refs

materialtypes_by_category

Dictionary of category || list of material types, mostly used by rnd machines like autolathes.

rigid_stack_recipes

List of stackcrafting recipes for materials using rigid materials

Proc Details

InitializeMaterials

Ran on initialize, populated the materials and materials_by_category dictionaries with their appropiate vars (See these variables for more info)