Daedalus Dock - Modules - TypesVar Details - Proc Details

materials

Vars

base_stack_recipesList of stackcrafting recipes for materials using base recipes
material_combosA cache of all material combinations that have been used
materialids_by_categoryDictionary of category || list of material ids, mostly used by rnd machines like autolathes.
materialids_by_typeDictionary of type || list of material ids
materialsDictionary of material.id || material ref
materials_by_categoryDictionary of category || list of material refs
materials_by_typeDictionary of type || list of material refs
rigid_stack_recipesList of stackcrafting recipes for materials using rigid recipes
template_paths_by_rarityBlank versions of all of the mining templates, indexed by rarity.

Procs

FindOrCreateMaterialComboReturns a list to be used as an object's custom_materials. Lists will be cached and re-used based on the parameters.
GetIdFromArgumentsGenerates a unique ID from a list of arguments. Does not support passing in lists.
GetMaterialNameReturns the name of a supplied material datum or reagent ID.
InitializeMaterial
InitializeMaterialsRan on initialize, populated the materials and materials_by_category dictionaries with their appropiate vars (See these variables for more info)
_GetMaterialRef

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

materialids_by_category

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

materialids_by_type

Dictionary of type || list of material ids

materials

Dictionary of material.id || material ref

materials_by_category

Dictionary of category || list of material refs

materials_by_type

Dictionary of type || list of material refs

rigid_stack_recipes

List of stackcrafting recipes for materials using rigid recipes

template_paths_by_rarity

Blank versions of all of the mining templates, indexed by rarity.

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.

GetIdFromArguments

Generates a unique ID from a list of arguments. Does not support passing in lists.

GetMaterialName

Returns the name of a supplied material datum or reagent ID.

InitializeMaterial

InitializeMaterials

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

_GetMaterialRef