DefaultTopic class | actor.t[4394]

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`

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 activateKeyTopics active agenda agendaPath arouseKeyTopics aTag autoName autoSuppress autoSuppressSubTopics autoUseAgenda convKeys curiosityAroused getActor impliesGreeting keyTopics lastConvResponse lcrScriptClass listOrder name nextStep suggestAs timesInvoked tTag wasConversational`

``

``

Inherited from `TopicEntry` :
`includeInList isActive matchExactCase matchPattern narrator scoreBoost topicMatched`

Summary of Methods

`avoidMatching matchTopic`

Inherited from `ActorTopicEntry` :
`activate addToConvKeyTable baseHandleTopic buildName curiositySatisfied deactivate filterTopicSuggestions fText getKeyTopics handleTopic infTag initializeTopicEntry isConversational isReachable nodeActive qualifiedDesc revTag showKeyTopics timesToSuggest tryAgenda tryNextStep useAgenda`

Inherited from `ReplaceRedirector` :
`redirect`

Inherited from `Redirector` :
`doInstead doNested doOtherAction`

Inherited from `TopicEntry` :
`addTopic factText informFact revealFact scoreBooster topicResponse`

Properties

`exceptions` | `actor.t[4423]`

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 | `actor.t[4396]`

A DefaultTopic matches any Thing or Topic or yes or no

`matchScore` OVERRIDDEN | `actor.t[4402]`

A DefaultTopic has a very low matchScore to allow anything more specific to take precedence.

Methods

`avoidMatching (top)` | `actor.t[4431]`

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 | `actor.t[4409]`

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 25/04/2024 from adv3Lite version 2.0