Preparing search index...
The search index is not available
Wayward Types Viewer | 2.14.0-beta.dev.20240903.1
Wayward Types Viewer
game/entity/player/quest/quest/Quest
Quest
Class Quest
Hierarchy
Host
<
IQuestEvents
>
Quest
default
Index
Constructors
constructor
Properties
description?
event
title?
type?
Methods
add
Child
Quests
add
Requirement
create
create
Requirement
create
Requirements
get
Children
get
Description
get
Event
Bus
Triggers
get
Host
Triggers
get
Requirement
get
Requirements
get
Title
needs
Manual
Completion
reset
set
Description
set
Needs
Manual
Completion
set
Skippable
set
Title
skippable
Constructors
constructor
new
Quest
(
type
?:
Challenge
)
:
Quest
Parameters
Optional
type:
Challenge
Returns
Quest
Properties
Optional
description
description
?:
default
|
(
(
quest
:
IQuest
)
=>
default
)
Readonly
event
event
:
IEventEmitter
<
Quest
,
IQuestEvents
>
Optional
title
title
?:
default
|
(
(
quest
:
IQuest
)
=>
default
)
Optional
type
type
?:
Challenge
Methods
add
Child
Quests
add
Child
Quests
(
...
children
:
Challenge
[]
)
:
Quest
Parameters
Rest
...
children:
Challenge
[]
Returns
Quest
add
Requirement
add
Requirement
<
R
>
(
type
:
R
,
...
args
:
RequirementArgs
<
R
>
)
:
Quest
Type Parameters
R
extends
QuestRequirementType
Parameters
type:
R
Rest
...
args:
RequirementArgs
<
R
>
Returns
Quest
add
Requirement
<
RA
>
(
type
:
QuestRequirementType
,
...
args
:
RA
)
:
Quest
Type Parameters
RA
extends
any
[]
Parameters
type:
QuestRequirementType
Rest
...
args:
RA
Returns
Quest
create
create
(
island
:
default
, type
?:
undefined
|
Challenge
)
:
IQuest
Parameters
island:
default
type:
undefined
|
Challenge
= ...
Returns
IQuest
Protected
create
Requirement
create
Requirement
<
R
>
(
type
:
R
,
...
options
:
RequirementArgs
<
R
>
)
:
IQuestRequirement
<
RequirementArgs
<
R
>
,
{}
>
Type Parameters
R
extends
QuestRequirementType
Parameters
type:
R
Rest
...
options:
RequirementArgs
<
R
>
Returns
IQuestRequirement
<
RequirementArgs
<
R
>
,
{}
>
Protected
create
Requirements
create
Requirements
(
island
:
default
)
:
IQuestRequirement
<
any
[]
,
{}
>
[]
Parameters
island:
default
Returns
IQuestRequirement
<
any
[]
,
{}
>
[]
get
Children
get
Children
(
)
:
Challenge
[]
Returns
Challenge
[]
get
Description
get
Description
(
quest
:
IQuest
)
:
undefined
|
default
Parameters
quest:
IQuest
Returns
undefined
|
default
get
Event
Bus
Triggers
get
Event
Bus
Triggers
(
instance
:
IQuest
)
:
[
IQuestRequirement
<
any
[]
,
{}
>
,
Stream
<
readonly
[
GameEmitterOrBus
,
string
|
number
|
symbol
,
(
(
api
:
IQuestRequirementApi
<
[
]
,
{}
>
,
...
args
:
any
[]
)
=>
boolean
)
]
>
]
[]
Parameters
instance:
IQuest
Returns
[
IQuestRequirement
<
any
[]
,
{}
>
,
Stream
<
readonly
[
GameEmitterOrBus
,
string
|
number
|
symbol
,
(
(
api
:
IQuestRequirementApi
<
[
]
,
{}
>
,
...
args
:
any
[]
)
=>
boolean
)
]
>
]
[]
get
Host
Triggers
get
Host
Triggers
(
instance
:
IQuest
)
:
[
IQuestRequirement
<
any
[]
,
{}
>
,
IteratorObject
<
[
keyof
IPlayerEvents
,
(
(
api
:
IQuestRequirementApi
<
[
]
,
{}
>
, player
:
default
,
...
args
:
any
[]
)
=>
boolean
)
]
>
]
[]
Parameters
instance:
IQuest
Returns
[
IQuestRequirement
<
any
[]
,
{}
>
,
IteratorObject
<
[
keyof
IPlayerEvents
,
(
(
api
:
IQuestRequirementApi
<
[
]
,
{}
>
, player
:
default
,
...
args
:
any
[]
)
=>
boolean
)
]
>
]
[]
get
Requirement
get
Requirement
(
host
:
default
, quest
:
IQuest
, requirement
:
IQuestRequirement
<
any
[]
,
{}
>
)
:
undefined
|
RequirementInstance
Parameters
host:
default
quest:
IQuest
requirement:
IQuestRequirement
<
any
[]
,
{}
>
Returns
undefined
|
RequirementInstance
get
Requirements
get
Requirements
(
host
:
default
, instance
:
IQuest
)
:
RequirementInstance
[]
Parameters
host:
default
instance:
IQuest
Returns
RequirementInstance
[]
get
Title
get
Title
(
quest
:
IQuest
)
:
undefined
|
default
Parameters
quest:
IQuest
Returns
undefined
|
default
needs
Manual
Completion
needs
Manual
Completion
(
)
:
boolean
Returns
boolean
reset
reset
(
)
:
void
Returns
void
set
Description
set
Description
(
translation
?:
default
)
:
Quest
Parameters
Optional
translation:
default
Returns
Quest
set
Needs
Manual
Completion
set
Needs
Manual
Completion
(
)
:
Quest
Returns
Quest
set
Skippable
set
Skippable
(
)
:
Quest
Returns
Quest
set
Title
set
Title
(
translation
?:
default
|
(
(
quest
:
IQuest
)
=>
default
)
)
:
Quest
Parameters
Optional
translation:
default
|
(
(
quest
:
IQuest
)
=>
default
)
Returns
Quest
skippable
skippable
(
)
:
boolean
Returns
boolean
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Navigation
Modding Guide
Module Index
Common Modules
@Register
IDoodadDescription
IItemDescription
ITerrainDescription
ITileEventDescription
ICreatureDescription
In This Module
Quest
constructor
description?
event
title?
type?
add
Child
Quests
add
Requirement
create
create
Requirement
create
Requirements
get
Children
get
Description
get
Event
Bus
Triggers
get
Host
Triggers
get
Requirement
get
Requirements
get
Title
needs
Manual
Completion
reset
set
Description
set
Needs
Manual
Completion
set
Skippable
set
Title
skippable
Generated using
TypeDoc