HermitActorStateclass | actor.t[4804] |
Superclass Tree | Subclass Tree | Global Objects | Property Summary | Method Summary | Property Details | Method Details |
class
HermitActorState : ActorState
(none)
(none)
Inherited from
Inherited from
Inherited from
Inherited from
Inherited from
Inherited from
Inherited from HermitActorState
ActorState
TravelMessageHandler
object
ActorTopicDatabase
TopicDatabase
object
ActorState
:
autoSuggest
getImpliedConvState
isInitState
location
stateDesc
stateSuggestedTopics
ActorTopicDatabase
:
askForTopics
askTopics
commandTopics
giveTopics
initiateTopics
miscTopics
showTopics
specialTopics
tellTopics
TopicDatabase
:
limitSuggestions
suggestedTopics
topicGroupActive
topicGroupScoreAdjustment
ActorState
:
activateState
afterAction
afterTravel
arrivingTurn
arrivingWithDesc
beforeAction
beforeTravel
construct
deactivateState
distantSpecialDesc
endConversation
getActor
getNominalTraveler
getSuggestedTopicList
getTopicOwner
initializeActorState
justFollowed
notifyTopicResponse
obeyCommand
remoteSpecialDesc
showSpecialDescInContents
specialDesc
specialDescListWith
suggestTopicsFor
takeTurn
TravelMessageHandler
:
sayArriving
sayArrivingDir
sayArrivingDownStairs
sayArrivingLocally
sayArrivingThroughPassage
sayArrivingUpStairs
sayArrivingViaPath
sayDeparting
sayDepartingDir
sayDepartingDownStairs
sayDepartingLocally
sayDepartingThroughPassage
sayDepartingUpStairs
sayDepartingViaPath
sayTravelingRemotely
ActorTopicDatabase
:
initiateTopic
showTopicResponse
TopicDatabase
:
addSuggestedTopic
addTopic
addTopicToList
findTopicResponse
handleTopic
removeSuggestedTopic
removeTopic
removeTopicFromList
showSuggestedTopicList
handleConversation (otherActor, topic, convType) OVERRIDDEN | actor.t[4827] |
noResponse ( ) | actor.t[4824] |
Note that it's fairly easy to create a shuffled list of random messages, if you want to add some variety to the actor's responses. To do this, use an embedded ShuffledEventList:
myState: HermitActorState
noResponse() { myList.doScript(); }
myList: ShuffledEventList {
['message1', 'message2', 'message3'] }
;