Valens-AIO/config/ts/armor.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

27 lines
546 B
TypeScript

export interface ArmorConfig
{
removeGearRestrictions: boolean
armorMaterials: Armor
}
export interface Armor
{
uhmwpe: Materials
aramid: Materials
combined: Materials
titan: Materials
aluminium: Materials
armoredSteel: Materials
ceramic: Materials
glass: Materials
}
export interface Materials
{
destructibility: number
minRepairDegradation: number
maxRepairDegradation: number
explosionDestructibility: number
minRepairKitDegradation: number
maxRepairKitDegradation: number
}