Skip to main content
The Deno 2 Release Candidate is here
Learn more
method RagfairPriceService.prototype.getFleaPriceForItem
import { RagfairPriceService } from "https://deno.land/x/sptaki@1.2.0/services/RagfairPriceService.d.ts";

Get the dynamic price for an item. If value doesn't exist, use static (handbook) value. if no static value, return 1

Parameters

tplId: string

Item tpl id to get price for

Returns

number

price in roubles