Skip to main content
The Deno 2 Release Candidate is here
Learn more
method BotEquipmentModPoolService.prototype.getModsForWeaponSlot
import { BotEquipmentModPoolService } from "https://deno.land/x/sptaki@1.2.0/services/BotEquipmentModPoolService.d.ts";

Get mods for a weapon by its tpl

Parameters

itemTpl: string

Weapons tpl to look up mods for

Returns

Record<string, string[]>

Dictionary of mods (keys are mod slot names) with array of compatible mod tpls as value