Valens-AIO/config/ts/bots.ts
VforValens 065c5098b9 v1.4.0 Changelog
* Bugfixes for non-working features
* Code Refactor, and cleanup
* Separated out all instances of the config files to their own separate entities. DebugMode is the only entity existing within the original config.json which will enable logging in the server for every feature enabled.
* Removed Progression from the AIO and separated it out to its own individual modification.

New Features
* Added SMG In Holsters to Weapons.json
* Added Skill Progression/Fatigue rates to Skills.json
* Added Remove Discard Limit, and Remove Item Restrictions to Items.json
* Reworked Insurance, and added minHr, maxHr, and storageMaxHr alongside the previously existing priceCoefficient, and returnChance in Insurance.json
* Added Armor Materials to Armor.json
2022-08-17 17:51:28 -04:00

60 lines
1.0 KiB
TypeScript

export interface BotsConfig
{
bossChance: BossChance
maxBotCap: number
pmc: Pmc
scav: Scav
}
export interface BossChance
{
activated: boolean
chance: number
}
export interface Pmc
{
chanceSameSideIsHostile: number
containersOnPMCs: boolean
isUsec: number
lootNValue: number
maxBackpackLootTotalRub: number
maxPocketLootTotalRub: number
maxVestLootTotalRub: number
difficultyWeights: DifficultyWeights
convertIntoPmcChance: ConvertIntoPmcChance
looseWeaponInBackpackChance: number
looseWeaponInBackpackLoot: LooseWeapon
}
export interface DifficultyWeights
{
difficulty: string
useWeights: boolean
weights: Record<string, number>
}
export interface ConvertIntoPmcChance
{
assault: PmcChance
cursedAssault: PmcChance
pmcBot : PmcChance
exUsec : PmcChance
}
export interface PmcChance
{
min: number
max: number
}
export interface LooseWeapon
{
min: number
max: number
}
export interface Scav
{
lootNValue: number
}