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

Get array of compatible mods for an items mod slot (generate pool if it doesnt exist already)

Parameters

itemTpl: string

item to look up

slotName: string

slot to get compatible mods for

Returns

string[]

tpls that fit the slot