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

Properties

adjustPriceWhenBelowHandbookPrice: boolean

Shuld offer price be adjusted when below handbook price

maxPriceDifferenceBelowHandbookPercent: number

How big a percentage difference does price need to vary from handbook to be considered for adjustment

handbookPriceMultipier: number

How much to multiply the handbook price to get the new price

priceThreshholdRub: number

What is the minimum rouble price to consider adjusting price of item