pronounUsePreParserobject
Trap commands that start with a pronoun (e.g. I AM LOST or YOU ARE SILLY) and advise the player that they are likely to be unproductive, suggesting the format of commands that are more likely to work.
Note that we have to make exceptions that allow valid commands starting with I where I is an abbreviation for INVENTORY, such as I itself, I TALL and I WIDE. We also have to make exceptions when a conversation is in progress, since the command could be a valid SayTopic.
pronounUsePreParser
:
StringPreParser
Superclass Tree (in declaration order)
pronounUsePreParser
StringPreParser
PreinitObject
ModuleExecObject
` object`
Summary of Properties
Inherited from StringPreParser
:
` isActive
regList
regListSorted
runOrder
`
Inherited from PreinitObject
:
` execBeforeMe
reverseGlobalSymbols
`
Inherited from ModuleExecObject
:
` execAfterMe
hasInitialized_
isDoingExec_
isExecuted_
`
Summary of Methods
` doParsing
`
Inherited from StringPreParser
:
` construct
execute
registerPreParser
runAll
`
Inherited from ModuleExecObject
:
` _execute
classExec
`
Properties
pat
no description available
pat2
no description available
pat3
no description available
Methods
doParsing (str, which)
OVERRIDDEN
no description available
Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1