Server/project/src/models/spt/config/IScavCaseConfig.ts

36 lines
799 B
TypeScript
Raw Normal View History

2023-03-03 16:23:46 +01:00
import { MinMax } from "../../common/MinMax"
import { IBaseConfig } from "./IBaseConfig"
export interface IScavCaseConfig extends IBaseConfig
{
kind: "aki-scavcase"
rewardItemValueRangeRub: Record<string, MinMax>
moneyRewards: MoneyRewards
ammoRewards: AmmoRewards
rewardItemParentBlacklist: string[]
rewardItemBlacklist: string[]
}
export interface MoneyRewards
{
moneyRewardChancePercent: number
rubCount: MoneyLevels
usdCount: MoneyLevels
eurCount: MoneyLevels
}
export interface MoneyLevels
{
common: MinMax
rare: MinMax
superrare: MinMax
}
export interface AmmoRewards
{
ammoRewardChancePercent: number
ammoRewardBlacklist: Record<string, string[]>
ammoRewardValueRangeRub: Record<string, MinMax>
minStackSize: number
}