Skip to main content
The Deno 2 Release Candidate is here
Learn more
method BotEquipmentModPoolService.prototype.getCompatibleModsFoGearSlot
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