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
no description available
checkIobjProp
no description available
curIobj
The current indirect object of this action.
ioActionList
A list of the indirect objects that this actually actually ends up acting on at the action stage.
preCondIobjProp
no description available
resolveIobjFirst
Flag: should we resolve the indirect object of this action before the direct object?
verIobjProp
The various methods to call on the indirect object of this action.
Methods
checkAction (cmd)
OVERRIDDEN
Carry out the check phase for this command.
doActionOnce ( )
OVERRIDDEN
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
execute this action.
execResolvedAction ( )
OVERRIDDEN
Execute this action as a resolved action, that is once its direct and indirect objects are known.
getMessageParam (objName)
OVERRIDDEN
Get the message parameters relating to this action
getVerbPhrase (inf, ctx)
OVERRIDDEN
get the verb phrase in infinitive or participle form
getVerbPhrase2 (inf, vp, dobjText, dobjIsPronoun, iobjText)
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
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
Reset the action variables to their initial state.
resolvedObjectsInScope ( )
OVERRIDDEN
Test whether both the direct and the indirect objects for this action are in scope.
setResolvedObjects (dobj, iobj)
OVERRIDDEN
Set the resolved objects for this action.
Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1