Skip to main content
The Deno 2 Release Candidate is here
Learn more
method ItemHelper.prototype.getItemAndChildrenPrice
Re-export
import { ItemHelper } from "https://deno.land/x/sptaki@1.2.0/helpers/mod.ts";

Returns the items total price based on the handbook or as a fallback from the prices.json if the item is not found in the handbook. If the price can't be found at all return 0

Parameters

tpls: string[]

item tpls to look up the price of

Returns

number

Total price in roubles