Skip to content

sellValue beta ​

Function of @v12-engine/engine

ts
export declare function sellValue(registry: Registry, item: string, charges: number): number;

What a shop pays for an item: a part of its price (the item's sellRate, or the game's sellPrice), and of what is left of it for what runs out (a stack counts each of it)