Skip to main content
The Deno 2 Release Candidate is here
Learn more
interface EquipmentFilters
import { type EquipmentFilters } from "https://deno.land/x/sptaki@1.2.0/models/spt/config/IBotConfig.d.ts";

Properties

weaponModLimits: ModLimits

Limits for mod types per weapon .e.g. scopes

weaponSightWhitelist: Record<string, string[]>

Whitelist for weapon sight types allowed per gun

optional
faceShieldIsActiveChancePercent: number

Chance face shield is down/active

optional
lightIsActiveDayChancePercent: number

Chance gun flashlight is active during the day

optional
lightIsActiveNightChancePercent: number

Chance gun flashlight is active during the night

optional
laserIsActiveChancePercent: number

Chance gun laser is active during the day

optional
nvgIsActiveChanceDayPercent: number

Chance NODS are down/active during the day

optional
nvgIsActiveChanceNightPercent: number

Chance NODS are down/active during the night

optional
forceOnlyArmoredRigWhenNoArmor: boolean
optional
filterPlatesByLevel: boolean

Should plates be filtered by level

optional
weaponSlotIdsToMakeRequired: string[]

What additional slot ids should be seen as required when choosing a mod to add to a weapon

randomisation: RandomisationDetails[]

Adjust weighting/chances of items on bot by level of bot

Blacklist equipment by level of bot

Whitelist equipment by level of bot

weightingAdjustmentsByBotLevel: WeightingAdjustmentDetails[]

Adjust equipment/ammo

optional
weightingAdjustmentsByPlayerLevel: WeightingAdjustmentDetails[]

Same as weightingAdjustments but based on player level instead of bot level

optional
forceStock: boolean

Should the stock mod be forced to spawn on bot

optional
armorPlateWeighting: IArmorPlateWeights[]