FactConsultTopicclassfacts.t[919]

A FactConsultTopic can be used to generate an automated response to a potentially wide range of queries directed to the associated Consultable, provided that the Consultable in question has been listed in the various relevant facts' initiallyKnownBy list (or subquently added to its informedNameTab if the Consultable is updatable). A DefaultFactConsultTopic can also act like a regular DefaultConsultTopic when its Consultable has no facts corresponding to the topic that's just been looked up.

class FactConsultTopic :   FactHelper   ConsultTopic

Superclass Tree   (in declaration order)

FactConsultTopic
        FactHelper
                object
        ConsultTopic
                TopicEntry
                        object

Subclass Tree  

(none)

Global Objects  

(none)

Summary of Properties  

autoInform  autoReveal  matchScore  noFactsMsg  prefix 

Inherited from FactHelper :
addLineBreaks  factIntro  knewFactAlreadyMsg  listSources  matchObj  noteContradictions  suffix  tagList  updateSources 

Inherited from ConsultTopic :
includeInList 

Inherited from TopicEntry :
active  getActor  isActive  matchExactCase  matchPattern  narrator  scoreBoost  topicMatched 

Summary of Methods  

Inherited from FactHelper :
alreadyKnewMsg  doubtFactMsg  getFacts  topicResponse 

Inherited from TopicEntry :
addTopic  factText  informFact  informNewFact  initializeTopicEntry  interpret  matchTopic  qualifiedDesc  revealFact  revealNewFact  scoreBooster 

Properties  

autoInformOVERRIDDENfacts.t[937]

no description available

autoRevealOVERRIDDENfacts.t[936]
On a FactConsultTopic it makes sense to reveal the tags encountered in the display of our TopicResponse (since the player character may be learning something new.

matchScoreOVERRIDDENfacts.t[927]
We give a FactConsultTopic a matchScore of 50 since it's not a mere DefaultConsultTopic that always gives a generic response to the effect that the Consultable has no useful information on every topic the DefaultTopic attempts to handle, but on the other hand we want it to defer to any regular ConsultTopic that gives a more tailored response to a particular topic or topics.

noFactsMsgOVERRIDDENfacts.t[930]
no description available

prefixOVERRIDDENfacts.t[929]
no description available

Methods  

(none)

Adv3Lite Library Reference Manual
Generated on 03/07/2024 from adv3Lite version 2.1