FactConsultTopic class | facts.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` :
`autoName curiosityAroused curiositySatisfied includeInList listOrder name suggestAs`

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

Summary of Methods

``

Inherited from `FactHelper` :
`alreadyKnewMsg doubtFactMsg getFacts topicResponse`

Inherited from `ConsultTopic` :
`buildName initializeTopicEntry`

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

Properties

`autoInform` OVERRIDDEN | `facts.t[937]`

no description available

`autoReveal` OVERRIDDEN | `facts.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.

`matchScore` OVERRIDDEN | `facts.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.

`noFactsMsg` OVERRIDDEN | `facts.t[930]`

no description available

`prefix` OVERRIDDEN | `facts.t[929]`

no description available

Methods

(none)

Adv3Lite Library Reference Manual
Generated on 13/06/2025 from adv3Lite version 2.2.1