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

Properties

optional
scopeLimit: number

How many scopes are allowed on a weapon - hard coded to work with OPTIC_SCOPE, ASSAULT_SCOPE, COLLIMATOR, COMPACT_COLLIMATOR

optional
lightLaserLimit: number

How many lasers or lights are allowed on a weapon - hard coded to work with TACTICAL_COMBO, and FLASHLIGHT