materials
Vars | |
base_stack_recipes | List of stackcrafting recipes for materials using base recipes |
---|---|
material_combos | A cache of all material combinations that have been used |
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 recipes |
Procs | |
FindOrCreateMaterialCombo | Returns a list to be used as an object's custom_materials. Lists will be cached and re-used based on the parameters. |
InitializeMaterials | Ran on initialize, populated the materials and materials_by_category dictionaries with their appropiate vars (See these variables for more info) |
Var Details
base_stack_recipes
List of stackcrafting recipes for materials using base recipes
material_combos
A cache of all material combinations that have been used
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 recipes
Proc Details
FindOrCreateMaterialCombo
Returns a list to be used as an object's custom_materials. Lists will be cached and re-used based on the parameters.
InitializeMaterials
Ran on initialize, populated the materials and materials_by_category dictionaries with their appropiate vars (See these variables for more info)