import { ItemHelper } from "https://deno.land/x/sptaki@1.2.0/helpers/mod.ts";
Add child items (cartridges) to a magazine
Parameters
magazine: Item[]
Magazine to add child items to
magTemplate: ITemplateItem
Db template of magazine
staticAmmoDist: Record<string, IStaticAmmoDetails[]>
Cartridge distribution
optional
weapon: ITemplateItemWeapon the magazine will be used for (if passed in uses Chamber as whitelist)