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

Should a ragfair offer be visible to the player

Parameters

searchRequest: ISearchRequestData

Search request

itemsToAdd: string[]

?

traderAssorts: Record<string, ITraderAssort>

Trader assort items

The flea offer

pmcProfile: IPmcData

Player profile

Returns

boolean

True = should be shown to player