Server/project/src/models/spt/config/IPlayerScavConfig.ts
TheSparta 418d9f2a8f Import path alias on the whole project (!157)
- Ability to use @spt-aki path alias on the whole project.
- Swapped all imports from relative paths, for imports using the path alias.

Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/157
Co-authored-by: TheSparta <thesparta@noreply.dev.sp-tarkov.com>
Co-committed-by: TheSparta <thesparta@noreply.dev.sp-tarkov.com>
2023-10-19 17:21:17 +00:00

34 lines
782 B
TypeScript

import { GenerationData } from "@spt-aki/models/eft/common/tables/IBotType";
import { IBaseConfig } from "@spt-aki/models/spt/config/IBaseConfig";
export interface IPlayerScavConfig extends IBaseConfig
{
kind: "aki-playerscav"
karmaLevel: Record<string, KarmaLevel>
}
export interface KarmaLevel
{
botTypeForLoot: string
modifiers: Modifiers
itemLimits: ItemLimits
equipmentBlacklist: Record<string, string[]>
labsAccessCardChancePercent: number
}
export interface Modifiers
{
equipment: Record<string, number>
mod: Record<string, number>
}
export interface ItemLimits
{
healing: GenerationData
drugs: GenerationData
stims: GenerationData
looseLoot: GenerationData
magazines: GenerationData
grenades: GenerationData
}