LiteralTActionclass | action.t[2552]

A LiteralTAction is an action that involves one physical object and one string, e.g. TYPE HELLO ON TERMINAL.

`class LiteralTAction : TAction`

Superclass Tree (in declaration order)

`LiteralTAction`
`TAction`
`Action`
`ReplaceRedirector`
`Redirector`
`object`

Subclass Tree

(none)

Global Objects

`EnterOn SetTo TellTo TurnTo TypeOn WriteOn`

Summary of Properties

`literal num`

Inherited from `TAction` :
`actionList announceMultiAction announceMultiCheck announceMultiVerify aqinfo curDobj curObj dqinfo gActor haltOnMessageInCheck iqinfo lastVerifyMsg reportFailureAfterSuccess reportList signal verifyTab`

Inherited from `Action` :
`actionFailed advanceOnFailure againRepeatsParse allowAll extraMessageParams failCheckMsg failedActionCountsAsTurn implicitTimeTaken includeInUndo isConversational isImplicit isRepeatable oldRoom parentAction parentAllowAll preCond redirectParent reportImplicitActions scopeList spellingPriority synthParamID timeTaken turnsTaken unhides verifyObj wasIlluminated`

``

``

Summary of Methods

`execAction verify`

Inherited from `TAction` :
`addVerifyResult check checkAction checkPreCond doAction doActionOnce execCycle execResolvedAction getAll getMessageParam getVerbPhrase getVerbPhrase1 makeScopeUniversal reportAction reset resolvedObjectsInScope setResolvedObjects`

Inherited from `Action` :
`acknowledgeNotifyStatus addExtraScopeItems addImplicitTime advanceTime afterAction announceObject beforeAction buildImplicitActionAnnouncement buildScopeList checkActionPreconditions commandNotPresent exec execGroup getAllUnhidden implicitAnnouncement scoreObjects setMessageParam setMessageParams spPrefix spSuffix synthMessageParam turnSequence verifyObjRole wrapObjectsNP`

Inherited from `ReplaceRedirector` :
`redirect`

Inherited from `Redirector` :
`doInstead doNested doOtherAction`

Properties

`literal` | `action.t[2594]`

The literal value associated with this command

`num` | `action.t[2597]`

The numerical value of our literal

Methods

`execAction (cmd)`OVERRIDDEN | `action.t[2553]`

no description available

`verify (obj, role)`OVERRIDDEN | `action.t[2587]`

Whichever object slot a verify routine is notionally trying to verify for given the grammatical form of the command, in practice only the direct object (the thing involved in the command) can be verified. E.g. for WRITE FOO ON BALL we treat BALL as the direct object of the command and FOO as the literal, even if the Parser thinks it needs to verify the Indirect Object to disambiguate BALL.

Adv3Lite Library Reference Manual
Generated on 01/03/2024 from adv3Lite version 1.6.2