factManagerobjectfacts.t[359]

The factManager object initializes Facts at preInit and provides a number of service methods for dealing with Facts.

factManager :   PreinitObject

Superclass Tree   (in declaration order)

factManager
        PreinitObject
                ModuleExecObject
                        object

Summary of Properties  

factTab 

Inherited from PreinitObject :
execBeforeMe  reverseGlobalSymbols 

Inherited from ModuleExecObject :
execAfterMe  hasInitialized_  isDoingExec_  isExecuted_ 

Summary of Methods  

addFact  execute  getFact  getFactDesc  getPcComment  getQualifiedFactDesc  setPcComment 

Inherited from ModuleExecObject :
_execute  classExec 

Properties  

factTabfacts.t[365]

A LookUpTable of all the Facts defined in the game, to allow a Fact to be accessed via its name property.

Methods  

addFact (fact)facts.t[368]

Add a fact to our factTab

execute ( )OVERRIDDENfacts.t[459]
Setup method to call at preInit.

getFact (tag)facts.t[379]
Retrieve a Fact from our factTab via its name (passed as the tag parameter.

getFactDesc (tag)facts.t[382]
Retrieve the base description of a Fact via its name (passed as the tag parameter.

getPcComment (tag, topic)facts.t[411]
Get the player character's comment on the fact whose name is tag when it is retrieved in relation to topic (typically by a THINK ABOUT topic commannd).

getQualifiedFactDesc (actor, tag, topic, sender)facts.t[397]
Retrieve the qualified description of a Fact: actor is the actor or Consultable that is the source of the information, tag is the fact's name (name property, not programmatic name) and topic is the topic that has just been matched by a TopicEntry, while sender will normally be self.

setPcComment (tag, txt)facts.t[436]
Set the current player character's comment on the Fact identified by tag; txt is a single-quote string containing the comment.

Adv3Lite Library Reference Manual
Generated on 25/04/2024 from adv3Lite version 2.0