Skip to main content
The Deno 2 Release Candidate is here
Learn more
interface ILocationGenerator
import { type ILocationGenerator } from "https://deno.land/x/sptaki@1.2.0/models/mod.ts";

Methods

generateContainerLoot(
containerIn: IStaticContainerProps,
staticForced: IStaticForcedProps[],
staticLootDist: Record<string, IStaticLootDetails>,
staticAmmoDist: Record<string, IStaticAmmoDetails[]>,
locationName: string,
): IStaticContainerProps
generateDynamicLoot(
dynamicLootDist: ILooseLoot,
staticAmmoDist: Record<string, IStaticAmmoDetails[]>,
locationName: string,
): SpawnpointTemplate[]