VforValens
1f49331d9c
**v1.2.0 Changelog** * Compatible with SPT-Aki v3.2.2 * Updated Readme * Separated progression.ts into scav.ts and pmc.ts * Added config/scav.json and config/pmc.json * Added the ability to fully customize the whitelist(s) to your desire(s) with 5 whole templates to customize. * Nerfed RFB, and M1A spawn rates on Scavs from 3.35% to 1.07% * Nerfed Scavs to adopt Template 2 at Lv 33 instead of Lv 26 to compensate for Workbench 3 at Lv 30.
37 lines
1.0 KiB
TypeScript
37 lines
1.0 KiB
TypeScript
export interface ScavConfig
|
|
{
|
|
scavProgression: boolean
|
|
customWhitelist1: EquipmentFilters
|
|
customWhitelist2: EquipmentFilterDetails
|
|
customWhitelist3: EquipmentFilterDetails
|
|
customWhitelist4: EquipmentFilterDetails
|
|
customWhitelist5: EquipmentFilterDetails
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
export interface EquipmentFilterDetails
|
|
{
|
|
levelRange: MinMax;
|
|
equipment: Record<string, string[]>;
|
|
cartridge: Record<string, string[]>;
|
|
}
|
|
|
|
export interface MinMax
|
|
{
|
|
max: number;
|
|
min: number;
|
|
} |