priceOf beta
Function of @v12-engine/engine
ts
export declare function priceOf(registry: World['registry'], item: string, carried: readonly string[]): {
price: number;
uses: string[];
};What buying an item comes to for someone who carries these things: the items it is made of that are there are used up and taken off the price, and so are the parts of the ones that are not