Valens-AIO/config/ts/items.ts
VforValens 49455958e9 v1.6.0 Release Ready.
v1.6.0 Changelog
* Compatible with SPT-Aki v3.2.2
* Updated Readme with new features.
* Combined armorPlusArmorVests into removeGearRestrictions so that it now removes all gear restrictions. Located in config/armor.json
* Adjusted PMC Difficulty Weights to be 0/40/30/30 by default. Located in config/bots.json
* Removed Remove Backpack Filter. Located in config/items.json
* Added Remove Backpack, Container, In Raid Items, and Secured Container Restrictions. Located in config/items.json
* Added the ability to adjust the time it takes to examine items. Located in config/items.json/examineTime
* Added the ability to enable/disable updateTime for traders. Located in config/traders.json If you have custom traders they will need to be added to the updateTime array (Simply copy/paste one of the lines including the {} and add in the traderId for your custom trader.)
* Fixed logic for Fence blacklist because JS sucks /s. Located in config/traders.json
* Cleaned up armor.ts code and moved a lot of the armor materials to their own individual functions.
* Fixed types in items.ts, and cleaned up a lot of functions, and general code.
2022-09-05 17:31:19 -04:00

31 lines
680 B
TypeScript

export interface ItemsConfig
{
standardStash: Stash
behindStash: Stash
escapeStash: Stash
eodStash: Stash
examinedByDefault: boolean
examineTime: ExamineTime
removeBackpacksRestrictions: boolean
removeContainersRestrictions: boolean
removeDiscardLimit: boolean
removeInRaidItemRestrictions: boolean
removeKeyUsageMax: boolean
removeSecureContainersRestrictions: boolean
dollarsMaxStack: number
eurosMaxStack: number
roublesMaxStack: number
weightModifier: number
}
export interface ExamineTime
{
enabled: boolean
examineTime: number
}
export interface Stash
{
vertical: number
horizontal: number
}