conversationManagerobject | output.t[2101] |
Superclass Tree | Property Summary | Method Summary | Property Details | Method Details |
conversationManager : OutputFilter PreinitObject
conversationManager
OutputFilter
object
PreinitObject
ModuleExecObject
object
convnodeSetTurn
customTags
factTagMarker
idToActor
objNameTab
pendingTopicInventory
pendingTopicInventoryKey
respondingActor
tagPat
Inherited from PreinitObject
:
execBeforeMe
reverseGlobalSymbols
Inherited from ModuleExecObject
:
execAfterMe
hasInitialized_
isDoingExec_
isExecuted_
doCustomTag
execute
filterText
manageKeys
scheduleTopicInventory
setInformed
setRevealed
setUnrevealed
showAgendaError
showKnownError
showObjDoesNotBelongToActorError
showObjNotExistError
showStateError
showWrongKindofObjectError
stripFactTagMarker
topicInventoryDaemon
Inherited from ModuleExecObject
:
_execute
classExec
convnodeSetTurn | actor.t[5834] |
customTags | output.t[2119] |
First, add a 'customTags' property that defines a regular expression for your added tags. This will be incorporated into the main pattern we use to look for tags. Simply specify a string that lists your tags separated by "|" characters, like this:
customTags = 'foo|bar'
Second, define a doCustomTag() method to process the tags. The filter routine will call your doCustomTag() method whenever it finds one of your custom tags in the output stream.
factTagMarker | actor.t[5426] |
idToActor | actor.t[6059] |
objNameTab | actor.t[6109] |
pendingTopicInventory | actor.t[6104] |
pendingTopicInventoryKey | actor.t[6107] |
respondingActor | actor.t[5424] |
tagPat | output.t[2197] |
doCustomTag (tag, arg) | output.t[2120], actor.t[5418] |
execute ( ) OVERRIDDEN | actor.t[6062] |
filterText (ostr, txt) OVERRIDDEN | output.t[2122], actor.t[5438] |
manageKeys ( ) | actor.t[5847] |
scheduleTopicInventory (key, =, nil) | actor.t[5860] |
setInformed (tag, val?) | actor.t[5938] |
setRevealed (tag, val?) | output.t[2204], actor.t[5887] |
Modified in actor.t[5887]:
Mark a tag as revealed. This adds an entry for the tag to the revealedNameTab table. We simply set the table entry to 'true'; the presence of the tag in the table constitutes the indication that the tag has been revealed.
(Games and library extensions can use 'modify' to override this and store more information in the table entry. For example, you could store the time when the information was first revealed, or the location where it was learned. If you do override this, just be sure to set the revealedNameTab entry for the tag to a non-nil and non-zero value, so that any code testing the presence of the table entry will see that the slot is indeed set.)
The actual method and the revealedNameTab are on libGlobal rather than here in order to make them available to games that don't include actor.t.
setUnrevealed (tag) | actor.t[5929] |
The actual method and the revealedNameTab are on libGlobal rather than here in order to make them available to games that don't include actor.t.
showAgendaError (tag, arg) | actor.t[5975] |
showKnownError (tag, arg) | actor.t[6017] |
showObjDoesNotBelongToActorError (tag, arg, typ) | actor.t[6051] |
showObjNotExistError (tag, arg, typ) | actor.t[6036] |
showStateError (tag, arg) | actor.t[5997] |
showWrongKindofObjectError (tag, arg, typ) | actor.t[6044] |
stripFactTagMarker (arg) | actor.t[5432] |
topicInventoryDaemon ( ) | actor.t[6082] |