Skip to main content
The Deno 2 Release Candidate is here
Learn more
method BotGeneratorHelper.prototype.isItemIncompatibleWithCurrentItems
Re-export
import { BotGeneratorHelper } from "https://deno.land/x/sptaki@1.2.0/helpers/mod.ts";

Can item be added to another item without conflict

Parameters

itemsEquipped: Item[]

Items to check compatibilities with

tplToCheck: string

Tpl of the item to check for incompatibilities

equipmentSlot: string

Slot the item will be placed into

Returns

false if no incompatibilities, also has incompatibility reason