QuestGoal(quest, config, player)

Representation of a goal of a quest. The Quest guide has instructions on to create new quest goals for quests

new QuestGoal(quest, config, player)

Parameters:
Name Type Description
quest Quest

Quest this goal is for

config object
player Player

Extends

  • EventEmitter

Methods

complete()

Put any cleanup activities after the quest is finished here

getProgress() → {Object}

Returns:
Object