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

Given a preset id from globals.json, return an array of items[] with unique ids

Parameters

item: Item

Preset item

Returns

Array of weapon and its children