DefaultConvstayTopicclassactor.t[4876]

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  

convstayTagactor.t[4922]

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).

matchNonConvactor.t[4911]
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.

matchObjOVERRIDDENactor.t[4881]
We want to match kissTopicObj, hitTopicObj & touchTopicObj in addition to everything DefaultAnyTopic matches.

nonConvResponseactor.t[4915]
The response we show to KISS, HIT, or FEEL. Game code can override.

Methods  

handleTopic ( )OVERRIDDENactor.t[4887]

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

Adv3Lite Library Reference Manual
Generated on 26/02/2025 from adv3Lite version 2.2