TIActionclassaction.t[2086], english.t[5640]

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[5640]:
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  

actionIobjPropaction.t[2095]

no description available

checkIobjPropaction.t[2094]
no description available

curIobjaction.t[2089]
The current indirect object of this action.

ioActionListaction.t[2102]
A list of the indirect objects that this actually actually ends up acting on at the action stage.

preCondIobjPropaction.t[2096]
no description available

resolveIobjFirstaction.t[2108]
Flag: should we resolve the indirect object of this action before the direct object?

verIobjPropaction.t[2093]
The various methods to call on the indirect object of this action.

Methods  

checkAction (cmd)OVERRIDDENaction.t[2141]

Carry out the check phase for this command.

doActionOnce ( )OVERRIDDENaction.t[2299]
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)OVERRIDDENaction.t[2119]
execute this action.

execResolvedAction ( )OVERRIDDENaction.t[2226]
Execute this action as a resolved action, that is once its direct and indirect objects are known.

getMessageParam (objName)OVERRIDDENaction.t[2207]
Get the message parameters relating to this action

getVerbPhrase (inf, ctx)OVERRIDDENenglish.t[5642]
get the verb phrase in infinitive or participle form

getVerbPhrase2 (inf, vp, dobjText, dobjIsPronoun, iobjText)english.t[5675]
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 ( )OVERRIDDENaction.t[2190]
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 ( )OVERRIDDENaction.t[2111]
Reset the action variables to their initial state.

resolvedObjectsInScope ( )OVERRIDDENaction.t[2174]
Test whether both the direct and the indirect objects for this action are in scope.

setResolvedObjects (dobj, iobj)OVERRIDDENaction.t[2164]
Set the resolved objects for this action.

Adv3Lite Library Reference Manual
Generated on 25/04/2024 from adv3Lite version 2.0