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

Get mods for a piece of gear by its tpl

Parameters

itemTpl: string

items 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