2022-09-03 19:43:25 -04:00
|
|
|
export interface ScavConfig
|
|
|
|
{
|
|
|
|
scavProgression: boolean
|
2022-09-05 20:30:53 -04:00
|
|
|
customWhitelist1: EquipmentFilters
|
2022-09-03 19:43:25 -04:00
|
|
|
customWhitelist2: EquipmentFilterDetails
|
|
|
|
customWhitelist3: EquipmentFilterDetails
|
|
|
|
customWhitelist4: EquipmentFilterDetails
|
|
|
|
customWhitelist5: EquipmentFilterDetails
|
|
|
|
}
|
|
|
|
|
2022-09-05 20:30:53 -04:00
|
|
|
export interface EquipmentFilters
|
|
|
|
{
|
|
|
|
weaponModLimits: ModLimits;
|
|
|
|
randomisedWeaponModSlots?: string[];
|
|
|
|
blacklist: EquipmentFilterDetails[];
|
|
|
|
whitelist: EquipmentFilterDetails[];
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ModLimits {
|
|
|
|
/** How many scopes are allowed on a weapon - hard coded to work with OPTIC_SCOPE, ASSAULT_SCOPE, COLLIMATOR, COMPACT_COLLIMATOR */
|
|
|
|
scopeLimit?: number;
|
|
|
|
/** How many lasers or lights are allowed on a weapon - hard coded to work with TACTICAL_COMBO, and FLASHLIGHT */
|
|
|
|
lightLaserLimit?: number;
|
|
|
|
}
|
|
|
|
|
2022-09-03 19:43:25 -04:00
|
|
|
export interface EquipmentFilterDetails
|
|
|
|
{
|
|
|
|
levelRange: MinMax;
|
|
|
|
equipment: Record<string, string[]>;
|
|
|
|
cartridge: Record<string, string[]>;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface MinMax
|
|
|
|
{
|
|
|
|
max: number;
|
|
|
|
min: number;
|
|
|
|
}
|