Skip to main content
The Deno 2 Release Candidate is here
Learn more
method ItemHelper.prototype.createCartridges
Re-export
import { ItemHelper } from "https://deno.land/x/sptaki@1.2.0/helpers/mod.ts";

Create a basic cartrige object

Parameters

parentId: string

container cartridges will be placed in

ammoTpl: string

Cartridge to insert

stackCount: number

Count of cartridges inside parent

location: number

Location inside parent (e.g. 0, 1)

optional
foundInRaid: boolean

OPTIONAL - Are cartridges found in raid (SpawnedInSession)