import Introduction from 'WTF-Adventure/WTF-Adventure/server/js/game/entity/character/player/quest/misc/introduction.js'
Introduction
Extends:
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
data: * |
|
public |
|
|
public |
lastNPC: * |
|
public |
player: * |
|
public |
stage: * |
Method Summary
Public Methods | ||
public |
finish() |
|
public |
isFinished(): * |
|
public |
load(stage: *) |
|
public |
|
|
public |
onFinishedLoading(callback: *) |
|
public |
progress(type: *) |
|
public |
setStage(stage: *) |
|
public |
|
|
public |
verifyDoor(destX: *, destY: *): * |
Inherited Summary
From class Quest | ||
public |
data: * |
|
public |
description: * |
|
public |
id: * |
|
public |
name: * |
|
public |
|
|
public |
player: * |
|
public |
|
|
public |
|
|
public |
finish() |
|
public |
forceTalk(npc: *, message: *) |
|
public |
getConversation(id: *): * |
|
public |
getDescription(): * |
|
public |
getId(): * |
|
public |
getInfo(): {"id": *, "name": *, "description": *, "stage": *, "finished": *} |
|
public |
getItem(): * |
|
public |
getItemReward(): * |
|
public |
getName(): * |
|
public |
getStage(): * |
|
public |
getTask(): * |
|
public |
hasInventorySpace(id: *, count: *): * |
|
public |
hasItemReward(): * |
|
public |
|
|
public |
hasNPC(id: *): * |
|
public |
isFinished(): * |
|
public |
onNPCTalk(callback: *) |
|
public |
resetTalkIndex(npc: *) Ensures that an NPC does not go off the conversation index and is resetted in order to start a new chat |
|
public |
setStage(stage: *) |
|
public |
triggerTalk(npc: *) |
|
public |
update() |
|
public |
|
Public Constructors
Public Methods
public load(stage: *) source
Params:
Name | Type | Attribute | Description |
stage | * |
public loadCallbacks() source
public onFinishedLoading(callback: *) source
Params:
Name | Type | Attribute | Description |
callback | * |
public progress(type: *) source
Params:
Name | Type | Attribute | Description |
type | * |
public setStage(stage: *) source
Override:
Quest#setStageParams:
Name | Type | Attribute | Description |
stage | * |
public toggleChat() source
public verifyDoor(destX: *, destY: *): * source
Params:
Name | Type | Attribute | Description |
destX | * | ||
destY | * |
Return:
* |