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

Find quest with 'findItem' condition that needs the item tpl be handed in

Parameters

itemTpl: string

item tpl to look for

questIds: string[]

Quests to search through for the findItem condition

allQuests: IQuest[]

Returns

Record<string, string>

quest id with 'FindItem' condition id