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

Gets a flat list of reward items for the given quest at a specific state (e.g. Fail/Success)

Parameters

quest: IQuest

quest to get rewards for

status: QuestStatus

Quest status that holds the items (Started, Success, Fail)

Returns

array of items with the correct maxStack