TIActionclass | action.t[2210], english.t[5593]

A TIAction is an action that applies to both a direct object and an indirect object. Since it inherits from TAction we only need to define the additional methods and properties relating to the handling of indirect objects.

Modified in english.t[5593]:
return the complete phrase string

`class TIAction : TAction`

Superclass Tree (in declaration order)

`TIAction`
`TAction`
`Action`
`ReplaceRedirector`
`Redirector`
`object`

Subclass Tree

`TIAction`
`TIAAction`

Global Objects

`AttachTo AttackWith BurnWith CleanWith CutWith DetachFrom DigWith DoNothing FastenTo GiveTo LockWith MoveTo MoveWith PlugInto PourInto PourOnto PushTravelClimbDown PushTravelClimbUp PushTravelEnter PushTravelGetOutOf PushTravelThrough PutBehind PutIn PutOn PutUnder ScrewWith ShowTo TakeFrom ThrowAt ThrowTo TurnWith UnfastenFrom UnlockWith UnplugFrom UnscrewWith`

Summary of Properties

`actionIobjProp checkIobjProp curIobj ioActionList preCondIobjProp resolveIobjFirst verIobjProp`

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

`checkAction doActionOnce execAction execResolvedAction getMessageParam getVerbPhrase getVerbPhrase2 reportAction reset resolvedObjectsInScope setResolvedObjects`

Inherited from `TAction` :
`addVerifyResult check checkPreCond doAction execCycle getAll getVerbPhrase1 makeScopeUniversal`

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 verify verifyObjRole wrapObjectsNP`

Inherited from `ReplaceRedirector` :
`redirect`

Inherited from `Redirector` :
`doInstead doNested doOtherAction`

Properties

`actionIobjProp` | `action.t[2219]`

no description available

`checkIobjProp` | `action.t[2218]`

no description available

`curIobj` | `action.t[2213]`

The current indirect object of this action.

`ioActionList` | `action.t[2226]`

A list of the indirect objects that this actually actually ends up acting on at the action stage.

`preCondIobjProp` | `action.t[2220]`

no description available

`resolveIobjFirst` | `action.t[2232]`

Flag: should we resolve the indirect object of this action before the direct object?

`verIobjProp` | `action.t[2217]`

The various methods to call on the indirect object of this action.

Methods

`checkAction (cmd)`OVERRIDDEN | `action.t[2265]`

Carry out the check phase for this command.

`doActionOnce ( )`OVERRIDDEN | `action.t[2423]`

Execute the action phase of the action on both objects. Note that although some TIActions can operate on multiple direct objects, none defined in the library acts on multiple indirect objects, so there's only minimal support for the latter possibility.

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

execute this action.

`execResolvedAction ( )`OVERRIDDEN | `action.t[2350]`

Execute this action as a resolved action, that is once its direct and indirect objects are known.

`getMessageParam (objName)`OVERRIDDEN | `action.t[2331]`

Get the message parameters relating to this action

`getVerbPhrase (inf, ctx)`OVERRIDDEN | `english.t[5595]`

get the verb phrase in infinitive or participle form

`getVerbPhrase2 (inf, vp, dobjText, dobjIsPronoun, iobjText)` | `english.t[5628]`

Get the verb phrase for a two-object (dobj + iobj) phrasing. This is a class method, so that it can be reused by unrelated (i.e., non-TIAction) classes that also use two-object syntax but with other internal structures. This is the two-object equivalent of TAction.getVerbPhrase1().

`reportAction ( )`OVERRIDDEN | `action.t[2314]`

Carry out the report phase for this action. If there's anything in the ioActionList and we're not an implicit action, call the report method on the indirect object. Then carry out the inherited handling (which does the same on the direct object). Note that this method is called by the current Command object once its finished iterating over all the objects involved in the command.

`reset ( )`OVERRIDDEN | `action.t[2235]`

Reset the action variables to their initial state.

`resolvedObjectsInScope ( )`OVERRIDDEN | `action.t[2298]`

Test whether both the direct and the indirect objects for this action are in scope.

`setResolvedObjects (dobj, iobj)`OVERRIDDEN | `action.t[2288]`

Set the resolved objects for this action.

Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1