2023-03-18 18:29:26 +01:00
|
|
|
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
|
2023-03-18 18:29:26 +01:00
|
|
|
airdropTypeWeightings: Record<AirdropTypeEnum, number>
|
2023-03-03 16:23:46 +01:00
|
|
|
planeMinFlyHeight: number
|
|
|
|
planeMaxFlyHeight: number
|
|
|
|
planeVolume: number
|
|
|
|
planeSpeed: number
|
|
|
|
crateFallSpeed: number
|
2023-07-09 15:47:02 +02:00
|
|
|
containerIds: Record<string, string>
|
2023-03-03 16:23:46 +01:00
|
|
|
airdropMinStartTimeSeconds: number
|
|
|
|
airdropMaxStartTimeSeconds: number
|
2023-03-18 18:29:26 +01:00
|
|
|
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
|
|
|
|
{
|
2023-03-18 18:29:26 +01:00
|
|
|
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>
|
2023-03-18 18:29:26 +01:00
|
|
|
armorLevelWhitelist?: number[]
|
2023-03-03 16:23:46 +01:00
|
|
|
}
|
|
|
|
|