DefaultConvstayTopic class | actor.t[5074]

A DefaultConvstayTopic is a specialised form of DefaultAnyTopic for use in a ConvNode. It automatically adds a <.convstay> (or optionally, <.convstayt>) tag to any response so the game author doesn't need to type it. Additionally, unlike a normal DefaultAnyTopic it also matches KISS, HIT and TOUCH commands, so that these won't result in players accidentally breaking out of a ConvNode.

`class DefaultConvstayTopic : DefaultAnyTopic`

Superclass Tree (in declaration order)

`DefaultConvstayTopic`
`DefaultAnyTopic`
`DefaultTopic`
`ActorTopicEntry`
`ReplaceRedirector`
`Redirector`
`object`
`TopicEntry`
`object`

Subclass Tree

(none)

Global Objects

(none)

Summary of Properties

`convstayTag matchNonConv matchObj nonConvResponse`

Inherited from `DefaultAnyTopic` :
`includeInList matchGreetings`

Inherited from `DefaultTopic` :
`exceptions matchScore`

Inherited from `ActorTopicEntry` :
`activated activateKeyTopics active agenda agendaPath arouseKeyTopics aTag autoName autoSuppress autoSuppressSubTopics autoUseAgenda convKeys curiosityAroused getActor impliesGreeting keyTopics lastConvResponse lcrScriptClass listOrder mayAddSubtopics name nextStep suggestAs timesInvoked tTag wasConversational`

``

``

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

Summary of Methods

`handleTopic`

``

Inherited from `DefaultTopic` :
`avoidMatching matchTopic`

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

Inherited from `ReplaceRedirector` :
`redirect`

Inherited from `Redirector` :
`askMissingLiteral doInstead doNested doOtherAction`

Inherited from `TopicEntry` :
`addTopic factText informFact informNewFact interpret revealFact revealNewFact scoreBooster topicResponse`

Properties

`convstayTag` | `actor.t[5120]`

The tag to add to the end of every response. By default this is <.convstay> but game code could override it to <.convstayt> (or even to a <.convode...> tag if you wanted every response to lead to a new ConvMode).

`matchNonConv` | `actor.t[5109]`

Do we want this DefaultTopic to match the non-conversational commands KISS, HIT and FEEL?. By default we so as we probably don't want these commands to break our of the ConvNode.

`matchObj` OVERRIDDEN | `actor.t[5079]`

We want to match kissTopicObj, hitTopicObj & touchTopicObj in addition to everything DefaultAnyTopic matches.

`nonConvResponse` | `actor.t[5113]`

The response we show to KISS, HIT, or FEEL. Game code can override.

Methods

`handleTopic ( )`OVERRIDDEN | `actor.t[5085]`

If we've matched kissTopicObj. hitTopicObj or touchTopicObj then display our nonConvResponse, otherwiae carry out our inherited handling.

Adv3Lite Library Reference Manual
Generated on 08/12/2025 from adv3Lite version 2.2.2