Skip to main content
Deno 2 is finally here 🎉️
Learn more
interface ILocationConfig
implements IBaseConfig
import { type ILocationConfig } from "https://deno.land/x/sptaki@1.2.0/models/spt/config/ILocationConfig.d.ts";

Properties

kind: "aki-location"
fixEmptyBotWavesSettings: IFixEmptyBotWavesSettings

Waves with a min/max of the same value don't spawn any bots, bsg only spawn the difference between min and max

rogueLighthouseSpawnTimeSettings: IRogueLighthouseSpawnTimeSettings

Rogues are classified as bosses and spawn immediatly, this can result in no scavs spawning, delay rogues spawning to allow scavs to spawn first

splitWaveIntoSingleSpawnsSettings: ISplitWaveSettings

When a map has hit max alive bots, any wave that should spawn will be reduced to 1 bot in size and placed in a spawn queue, this splits waves into smaller sizes to reduce the impact of this behaviour

looseLootMultiplier: LootMultiplier
staticLootMultiplier: LootMultiplier
customWaves: CustomWaves

Custom bot waves to add to a locations base json on game start if addCustomBotWavesToMaps is true

openZones: Record<string, string[]>

Open zones to add to map

forcedLootSingleSpawnById: Record<string, string[]>

Key = map id, value = item tpls that should only have one forced loot spawn position

fitLootIntoContainerAttempts: number

How many attempts should be taken to fit an item into a container before giving up

addOpenZonesToAllMaps: boolean

Add all possible zones to each maps OpenZones property

addCustomBotWavesToMaps: boolean

Allow addition of custom bot waves designed by SPT to be added to maps - defined in configs/location.json.customWaves

enableBotTypeLimits: boolean

Should the limits defined inside botTypeLimits to appled to locations on game start

botTypeLimits: Record<string, IBotTypeLimit[]>

Add limits to a locations base.MinMaxBots array if enableBotTypeLimits is true

containerRandomisationSettings: IContainerRandomistionSettings

container randomisation settings

minFillLooseMagazinePercent: number

How full must a random loose magazine be %

minFillStaticMagazinePercent: number

How full must a random static magazine be %

allowDuplicateItemsInStaticContainers: boolean
magazineLootHasAmmoChancePercent: number

Chance loose magazines have ammo in them TODO - rename to dynamicMagazineLootHasAmmoChancePercent

staticMagazineLootHasAmmoChancePercent: number

Chance static magazines have ammo in them

looseLootBlacklist: Record<string, string[]>

Key: map, value: loose loot ids to ignore

scavRaidTimeSettings: IScavRaidTimeSettings

Key: map, value: settings to control how long scav raids are

equipmentLootSettings: IEquipmentLootSettings

Settings to adjust mods for lootable equipment in raid

sandboxMaxPatrolvalue: number

Sets the max Patrol Value of the Boxzone on the map Ground Zero