Skip to main content
Deno 2 is finally 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[]