Quest

new Quest()

Properties:
Name Type Description
config object

Default config for this quest, see individual quest types for details

player Player
state object

Current completion state

Extends

  • EventEmitter

Methods

complete()

Fires:

emit(event, …args)

Proxy all events to all the goals

Parameters:
Name Type Attributes Description
event string
args * <repeatable>

getProgress() → {Object}

Returns:
Object

onProgressUpdated()

Fires:

Events

complete

progress

Parameters:
Name Type Description
progress object

turn-in-ready