factManager object | facts.t[481]

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

`factTab` | `facts.t[487]`

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[490]`

Add a fact to our factTab

`execute ( )`OVERRIDDEN | `facts.t[581]`

Setup method to call at preInit.

`getFact (tag)` | `facts.t[501]`

Retrieve a Fact from our factTab via its name (passed as the tag parameter.

`getFactDesc (tag)` | `facts.t[504]`

Retrieve the base description of a Fact via its name (passed as the tag parameter.

`getPcComment (tag, topic)` | `facts.t[533]`

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[519]`

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[558]`

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 08/12/2025 from adv3Lite version 2.2.2