·
|
stateDesc -
|
·
|
specialDesc -
|
·
|
distantSpecialDesc -
|
·
|
remoteSpecialDesc(actor) -
|
·
|
obeyCommand(issuingActor, action) -
|
·
|
takeTurn() -
|
·
|
afterAction() -
|
·
|
beforeAction() -
|
·
|
beforeTravel(traveler, connector)
|
·
|
afterTravel(traveler, connector) -
|
|
fire notifications even when travel isn't actually possible. A beforeTravel() method can veto the travel action using "exit". The notification is invoked before the travel is actually performed, and even before a description of the departure is produced.
|
·
|
isInitState -
|
·
|
arrivingTurn() -
|
·
|
autoSuggest -
|
·
|
noResponse -
|
·
|
accompanyTravel(leadActor, conn) { return leadActor == gPlayerChar; } to make NPC follow player.
|
·
|
getAccompanyingTravelState(leadActor, conn) { return new WhoeverTravelState(location, leadActor, self); }
|
·
|
sayDeparting(conn) -
|
·
|
specialDesc -
|
·
|
inConvState -
|
·
|
Greeting Protocols -
|
|
LeaveByeTopic and ImpByeTopic, located in the ConversationReadyState. The ImpXXXTopic forms are for implicit greeting or parting; if absent, the XXXTopic entry will be used instead. Use ActorByeTopic, BoredByeTopic and LeaveByeTopic for particular types of implied parting.
|
·
|
attentionSpan -
|
·
|
nextState -
|
·
|
initiateConversation(state, node) -
|
·
|
initiateTopic(obj) -
|
·
|
AskTopic answers an ASK ABOUT question;
|
·
|
TellTopic responds to a TELL ABOUT command;
|
·
|
AskTellTopic answers either an ASK ABOUT or TELL ABOUT command;
|
·
|
GiveTopic responds to a GIVE TO command;
|
·
|
ShowTopic responds to a SHOW TO command;
|
·
|
GiveShowTopic responds to either a GIVE TO or SHOW TO command; AskTellGiveShowTopic.
|
·
|
AskForTopic responds to an ASK FOR command
|
·
|
AskAboutForTopic, AskTellAboutForTopic
|
·
|
YesTopic responds to a YES command.
|
·
|
NoTopic responds to a NO command.
|
·
|
ByeTopic & ImpByeTopic & HelloGoodbyeTopic & ActorByeTopic & BoredByeTopic & LeaveByeTopic
|
·
|
HelloTopic & ImpHelloTopic -
|