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

44 lines
1.1 KiB
TypeScript
Raw Normal View History

import { AirdropTypeEnum } from "../../../models/enums/AirdropType";
import { MinMax } from "../../common/MinMax";
import { IBaseConfig } from "./IBaseConfig";
2023-03-03 16:23:46 +01:00
export interface IAirdropConfig extends IBaseConfig
{
kind: "aki-airdrop"
airdropChancePercent: AirdropChancePercent
airdropTypeWeightings: Record<AirdropTypeEnum, number>
2023-03-03 16:23:46 +01:00
planeMinFlyHeight: number
planeMaxFlyHeight: number
planeVolume: number
planeSpeed: number
crateFallSpeed: number
containerIds: Record<string, string>
2023-03-03 16:23:46 +01:00
airdropMinStartTimeSeconds: number
airdropMaxStartTimeSeconds: number
loot: Record<string, AirdropLoot>
2023-03-03 16:23:46 +01:00
}
export interface AirdropChancePercent
{
bigmap: number
woods: number
lighthouse: number
shoreline: number
interchange: number
reserve: number
tarkovStreets: number
}
export interface AirdropLoot
{
presetCount?: MinMax
2023-03-03 16:23:46 +01:00
itemCount: MinMax
2023-06-20 17:59:15 +02:00
weaponCrateCount: MinMax
2023-03-03 16:23:46 +01:00
itemBlacklist: string[]
itemTypeWhitelist: string[]
/** key: item base type: value: max count */
itemLimits: Record<string, number>
itemStackLimits: Record<string, MinMax>
armorLevelWhitelist?: number[]
2023-03-03 16:23:46 +01:00
}