DefaultTopicclass
A DefaultTopic is a kind of TopicEntry for use as a fallback when the player attempts to discuss a topic that game code doesn’t explicitly cater for.
class
DefaultTopic
:
ActorTopicEntry
Superclass Tree (in declaration order)
DefaultTopic
ActorTopicEntry
ReplaceRedirector
Redirector
` object
[
TopicEntry](../object/TopicEntry.html)
object`
Subclass Tree
DefaultTopic
DefaultAnyTopic
DefaultAgendaTopic
DefaultAnyNonSayTopic
DefaultAskForTopic
DefaultAskQueryTopic
DefaultAskTellTopic
DefaultAskTopic
DefaultCommandTopic
DefaultConversationTopic
DefaultNonSayTopic
DefaultGiveShowTopic
DefaultGiveTopic
DefaultQueryTopic
DefaultSayQueryTopic
DefaultSayTellTalkTopic
DefaultSayTellTopic
DefaultSayTopic
DefaultShowTopic
DefaultTalkTopic
DefaultTellTalkTopic
DefaultTellTopic
Global Objects
(none)
Summary of Properties
exceptions
matchObj
matchScore
Inherited from ActorTopicEntry
:
activated
active
autoName
convKeys
curiosityAroused
getActor
impliesGreeting
isConversational
keyTopics
listOrder
name
suggestAs
timesInvoked
Inherited from TopicEntry
:
includeInList
isActive
matchExactCase
matchPattern
scoreBoost
topicMatched
Summary of Methods
Inherited from ActorTopicEntry
:
activate
addToConvKeyTable
buildName
curiositySatisfied
deactivate
getKeyTopics
handleTopic
initializeTopicEntry
isReachable
nodeActive
showKeyTopics
timesToSuggest
Inherited from ReplaceRedirector
:
redirect
Inherited from Redirector
:
doInstead
doNested
doOtherAction
Inherited from TopicEntry
:
addTopic
scoreBooster
topicResponse
Properties
exceptions
A list of topics we don’t want this DefaultTopic to match, so matching can fall through to another topic database to handle it (thereby facilitating the common handling of some topics across ActorStates).
matchObj
OVERRIDDEN
A DefaultTopic matches any Thing or Topic or yes or no
matchScore
OVERRIDDEN
A DefaultTopic has a very low matchScore to allow anything more specific to take precedence.
Methods
avoidMatching (top)
Do we want to avoid this DefaultTopic matching top, so that it can be matched elsewhere? By default we do so if top is listed in our exceptions.
matchTopic (top)
OVERRIDDEN
Don’t match this DefaultTopic if top is one of the topics we want to avoid matching. Otherwise carry out the inherited handling.
Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1