Skip to main content
Deno 2 is finally here 🎉️
Learn more
interface IAirdropConfig.IAirdropConfig
implements IBaseConfig
Re-export
import { type IAirdropConfig } from "https://deno.land/x/sptaki@1.2.0/models/spt/mod.ts";
const { IAirdropConfig } = IAirdropConfig;

Chance map will have an airdrop occur out of 100 - locations not included count as 0%

Properties

kind: "aki-airdrop"
airdropChancePercent: AirdropChancePercent
airdropTypeWeightings: Record<AirdropTypeEnum, number>
planeMinFlyHeight: number

Lowest point plane will fly at

planeMaxFlyHeight: number

Highest point plane will fly at

planeVolume: number

Loudness of plane engine

planeSpeed: number

Speed plane flies overhead

crateFallSpeed: number

Speed loot crate falls after being dropped

containerIds: Record<string, string>

Container tpls to use when spawning crate - affects container size, keyed by drop type e.g. mixed/weaponArmor/foodMedical/barter

airdropMinStartTimeSeconds: number

Earliest time aircraft will spawn in raid

airdropMaxStartTimeSeconds: number

Latest time aircraft will spawn in raid

loot: Record<string, AirdropLoot>

What rewards will the loot crate contain, keyed by drop type e.g. mixed/weaponArmor/foodMedical/barter

Properties

kind: "aki-airdrop"
airdropChancePercent: AirdropChancePercent
airdropTypeWeightings: Record<AirdropTypeEnum, number>
planeMinFlyHeight: number

Lowest point plane will fly at

planeMaxFlyHeight: number

Highest point plane will fly at

planeVolume: number

Loudness of plane engine

planeSpeed: number

Speed plane flies overhead

crateFallSpeed: number

Speed loot crate falls after being dropped

containerIds: Record<string, string>

Container tpls to use when spawning crate - affects container size, keyed by drop type e.g. mixed/weaponArmor/foodMedical/barter

airdropMinStartTimeSeconds: number

Earliest time aircraft will spawn in raid

airdropMaxStartTimeSeconds: number

Latest time aircraft will spawn in raid

loot: Record<string, AirdropLoot>

What rewards will the loot crate contain, keyed by drop type e.g. mixed/weaponArmor/foodMedical/barter

Properties

bigmap: number
woods: number
lighthouse: number
shoreline: number
interchange: number
reserve: number
tarkovStreets: number
sandbox: number

Properties

optional
weaponPresetCount: MinMax

Min/max of weapons inside crate

optional
armorPresetCount: MinMax

Min/max of armors (head/chest/rig) inside crate

itemCount: MinMax

Min/max of items inside crate

weaponCrateCount: MinMax

Min/max of sealed weapon boxes inside crate

itemBlacklist: string[]

Items to never allow - tpls

itemTypeWhitelist: string[]

Item type (parentId) to allow inside crate

itemLimits: Record<string, number>

Item type/ item tpls to limit count of inside crate - key: item base type: value: max count

itemStackLimits: Record<string, MinMax>

Items to limit stack size of key: item tpl value: min/max stack size

optional
armorLevelWhitelist: number[]

Armor levels to allow inside crate e.g. [4,5,6]

allowBossItems: boolean

Should boss items be added to airdrop crate