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

Add unique items into combined pool

Parameters

poolToAddTo: ITemplateItem[]

Pool of items to add to

itemsToAdd: ITemplateItem[]

items to add to combined pool if unique