btech.parts

btech.parts provides the part catalogue and object stores.

Where a BtechPartRef accepts a packed integer ID, that ID must be from 0 through 2,147,483,647; values outside this range raise mux.arg.invalid.

Functions

FunctionDescription
adjust_storesAdjusts a stored part quantity.
categoriesLists the canonical part categories.
listLists parts, optionally restricted to one category.
resolveResolves a part reference to its canonical record.
searchSearches the part catalogue by name.
set_costSets a part’s configured cost.
store_quantityReturns one stored part quantity.
storesLists every stored part with a nonzero quantity.