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

Look up quest in db by accepted quest id and construct a profile-ready object ready to store in profile

Parameters

pmcData: IPmcData

Player profile

newState: QuestStatus

State the new quest should be in when returned

Details of accepted quest from client