Skip to main content
Deno 2 is finally here 🎉️
Learn more
interface IRagfairConfig.IBarterDetails
import { type IRagfairConfig } from "https://deno.land/x/sptaki@1.2.0/models/spt/config/mod.ts";
const { IBarterDetails } = IRagfairConfig;

Properties

chancePercent: number

Percentage change an offer is listed as a barter

itemCountMin: number

Min number of required items for a barter requirement

itemCountMax: number

Max number of required items for a barter requirement

priceRangeVariancePercent: number

How much can the total price of requested items vary from the item offered

minRoubleCostToBecomeBarter: number

Min rouble price for an offer to be considered for turning into a barter

itemTypeBlacklist: string[]

Item Tpls to never be turned into a barter