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

Look for newly available quests after completing a quest with a requirement to wait x minutes (time-locked) before being available and add data to profile

Parameters

pmcData: IPmcData

Player profile to update

quests: IQuest[]

Quests to look for wait conditions in

completedQuestId: string

Quest just completed