TActionclass | action.t[3066], en_us.t[8421] |
Superclass Tree | Subclass Tree | Global Objects | Property Summary | Method Summary | Property Details | Method Details |
For simplicity, this object is its own object resolver - we really don't need a separate resolver object because we have only one object list for this verb. (In contrast, an action with both a direct and indirect object might need separate resolution rules for the two objects, and hence would need separate resolver objects for the two.)
The advantage of implementing the Resolver behavior in this object, rather than using a separate object, is that it's less trouble to override object resolution rules - simply override the resolver methods in the subclass where you define the grammar rule for the action.
Modified in en_us.t[8421]:
English-specific additions for single-object verbs.
TAction
Action
BasicProd
object
Resolver
object
TAction
AttackAction
predicate(Attack)
BoardAction
predicate(Board)
BreakAction
predicate(Break)
BurnAction
predicate(Burn)
CleanAction
predicate(Clean)
ClimbAction
predicate(Climb)
ClimbDownAction
predicate(ClimbDown)
predicate(ClimbDownWhat)
ClimbUpAction
predicate(ClimbUp)
predicate(ClimbUpWhat)
CloseAction
predicate(Close)
ConsultAction
predicate(Consult)
CutAction
DetachAction
predicate(Detach)
DigAction
predicate(Dig)
DoffAction
predicate(Doff)
DrinkAction
predicate(Drink)
DropAction
predicate(Drop)
EatAction
predicate(Eat)
EnterAction
predicate(Enter)
ExamineAction
predicate(Examine)
ExtinguishAction
predicate(Extinguish)
FastenAction
predicate(Fasten)
FeelAction
predicate(Feel)
FlipAction
predicate(Flip)
FollowAction
predicate(Follow)
GetOffOfAction
predicate(GetOffOf)
GetOutOfAction
predicate(GetOutOf)
GoThroughAction
predicate(GoThrough)
JumpOffAction
predicate(JumpOff)
JumpOverAction
predicate(JumpOver)
KissAction
predicate(Kiss)
LieOnAction
predicate(LieOn)
LightAction
predicate(Light)
ListenToAction
predicate(ListenTo)
LiteralTAction
EnterOnAction
predicate(EnterOn)
predicate(EnterOnWhat)
SetToAction
predicate(SetTo)
TurnToAction
predicate(TurnTo)
TypeLiteralOnAction
predicate(TypeLiteralOn)
predicate(TypeLiteralOnWhat)
LockAction
predicate(Lock)
LookBehindAction
predicate(LookBehind)
LookInAction
predicate(LookIn)
LookThroughAction
predicate(LookThrough)
LookUnderAction
predicate(LookUnder)
MoveAction
predicate(Move)
OpenAction
predicate(Open)
PlugInAction
predicate(PlugIn)
PourAction
predicate(Pour)
PullAction
predicate(Pull)
PushAction
predicate(Push)
PushTravelAction
PushTravelDirAction
predicate(PushTravelDir)
PushAftAction
PushDownAction
PushEastAction
PushForeAction
PushInAction
PushNorthAction
PushNortheastAction
PushNorthwestAction
PushOutAction
PushPortAction
PushSouthAction
PushSoutheastAction
PushSouthwestAction
PushStarboardAction
PushUpAction
PushWestAction
PushTravelViaIobjAction
PushTravelClimbDownAction
predicate(PushTravelClimbDown)
PushTravelClimbUpAction
predicate(PushTravelClimbUp)
PushTravelEnterAction
predicate(PushTravelEnter)
PushTravelGetOutOfAction
predicate(PushTravelGetOutOf)
PushTravelThroughAction
predicate(PushTravelThrough)
ReadAction
predicate(Read)
RemoveAction
predicate(Remove)
ScrewAction
predicate(Screw)
SearchAction
predicate(Search)
SetAction
predicate(Set)
SitOnAction
predicate(SitOn)
SmellAction
predicate(Smell)
StandOnAction
predicate(StandOn)
StrikeAction
predicate(Strike)
SwitchAction
predicate(Switch)
TakeAction
predicate(Take)
TalkToAction
predicate(TalkTo)
predicate(TalkToWhat)
TasteAction
predicate(Taste)
ThrowAction
predicate(Throw)
ThrowDirAction
predicate(ThrowDir)
predicate(ThrowDirDown)
TIAction
AttachToAction
predicate(AttachTo)
predicate(AttachToWhat)
AttackWithAction
predicate(AttackWith)
BurnWithAction
predicate(BurnWith)
CleanWithAction
predicate(CleanWith)
CutWithAction
predicate(CutWith)
predicate(CutWithWhat)
DetachFromAction
predicate(DetachFrom)
DigWithAction
predicate(DigWith)
FastenToAction
predicate(FastenTo)
GiveToAction
predicate(GiveTo)
predicate(GiveToType2)
predicate(GiveToWhom)
LockWithAction
predicate(LockWith)
MoveToAction
predicate(MoveTo)
MoveWithAction
predicate(MoveWith)
PlugIntoAction
predicate(PlugInto)
predicate(PlugIntoWhat)
PourIntoAction
predicate(PourInto)
PourOntoAction
predicate(PourOnto)
PushTravelViaIobjAction
PushTravelClimbDownAction
predicate(PushTravelClimbDown)
PushTravelClimbUpAction
predicate(PushTravelClimbUp)
PushTravelEnterAction
predicate(PushTravelEnter)
PushTravelGetOutOfAction
predicate(PushTravelGetOutOf)
PushTravelThroughAction
predicate(PushTravelThrough)
PutBehindAction
predicate(PutBehind)
PutInAction
predicate(PutIn)
predicate(PutInWhat)
PutOnAction
predicate(PutOn)
PutUnderAction
predicate(PutUnder)
ScrewWithAction
predicate(ScrewWith)
ShowToAction
predicate(ShowTo)
predicate(ShowToType2)
predicate(ShowToWhom)
TakeFromAction
predicate(TakeFrom)
ThrowAtAction
predicate(ThrowAt)
ThrowToAction
predicate(ThrowTo)
predicate(ThrowToType2)
TurnWithAction
predicate(TurnWith)
UnfastenFromAction
predicate(UnfastenFrom)
UnlockWithAction
predicate(UnlockWith)
UnplugFromAction
predicate(UnplugFrom)
UnscrewWithAction
predicate(UnscrewWith)
TopicTAction
AskVagueAction
predicate(AskVague)
predicate(TellVague)
ConsultAboutAction
predicate(ConsultAbout)
predicate(ConsultWhatAbout)
ConvTopicTAction
AskAboutAction
predicate(AskAbout)
predicate(AskAboutImplicit)
predicate(AskAboutWhat)
AskForAction
predicate(AskFor)
predicate(AskWhomFor)
TellAboutAction
predicate(TellAbout)
predicate(TellAboutImplicit)
predicate(TellAboutWhat)
TellVagueAction
TravelViaAction
EnTravelVia
TurnAction
predicate(Turn)
TurnOffAction
predicate(TurnOff)
TurnOnAction
predicate(TurnOn)
TypeOnAction
predicate(TypeOn)
UnfastenAction
predicate(Unfasten)
UnlockAction
predicate(Unlock)
UnplugAction
predicate(Unplug)
UnscrewAction
predicate(Unscrew)
WearAction
predicate(Wear)
actionAllowsAll
actionDobjProp
actor_
askDobjResponseProd
checkDobjProp
dobjCur_
dobjInfoCur_
dobjList_
dobjMatch
dobjResolver_
issuer_
preCondDobjProp
predicateNounPhrases
remapDobjProp
verDobjProp
whichMessageObject
Inherited from Action
:
actionTime
afterActionMainList
beforeAfterObjs
defaultForRecursion
extraMessageParams
implicitMsg
includeInUndo
isImplicit
isRepeatable
iterationCanceled
originalAction
parentAction
preCond
pronounOverride
remappedFrom
showDefaultReports
synthParamID
verbFlags
verifiedOkay
Inherited from BasicProd
:
firstTokenIndex
isSpecialResponseMatch
lastTokenIndex
Inherited from Resolver
:
action_
equivs_
isGlobalScope
isSubResolver
scope_
whichObject
adjustDefaultObjectPrep
announceAllDefaultObjects
announceDefaultObject
canDobjResolveTo
checkAction
checkRemapping
construct
createDobjResolver
createForMissingDobj
createForRetry
doActionMain
execAction
filterAmbiguousDobj
filterPluralDobj
getAllDobj
getCurrentObjects
getDefaultDobj
getDobj
getDobjCount
getDobjFlags
getDobjInfo
getDobjResolver
getDobjTokens
getDobjWords
getMatchForRole
getMessageParam
getObjectForRole
getObjResponseProd
getPreCondDescList
getPreCondPropForRole
getQuestionInf
getRemapPropForRole
getResolvedDobjList
getResolvedObjList
getResolveInfo
getRoleFromIndex
getVerbPhrase
getVerbPhrase1
getVerifyPropForRole
initForMissingDobj
initResolver
initTentative
resetAction
resolvedObjectsInScope
resolveNouns
retryWithAmbiguousDobj
retryWithMissingDobj
setCurrentObjects
setObjectMatches
setResolvedDobj
setResolvedObjects
testRetryDefaultDobj
verifyAction
whatObj
Inherited from Action
:
actionOfKind
addBeforeAfterObj
afterAction
afterActionMain
announceActionObject
beforeAction
beforeActionMain
cacheMultiObjectAnnouncements
callAfterActionMain
callCatchAllProp
callPreConditions
callVerifyPreCond
callVerifyProp
cancelIteration
checkPreConditions
combineRemappedVerifyResults
createActionFrom
createActionInstance
createTopicQualifierResolver
doAction
doActionOnce
filterAmbiguousWithVerify
filterFacets
filterPluralWithVerify
finishResolveList
getAnaphoricBinding
getDefaultWithVerify
getEnteredVerbPhrase
getImplicitPhrase
getInfPhrase
getNotifyTable
getObjPreCondDescList
getObjPreConditions
getOriginalAction
getOrigTokenList
getOtherObjectRole
getParticiplePhrase
getPredicate
getPronounOverride
getRemappedFrom
getSimpleSynonymRemap
getSortedVerifyResults
isConversational
isNestedIn
isPartOf
isRemapped
makeResolveInfo
makeResolveInfoList
maybeAnnounceDefaultObject
maybeAnnounceImplicit
maybeAnnounceMultiObject
noMatch
notifyBeforeAfter
objListPronoun
preAnnounceActionObject
recalcSenseContext
repeatAction
resolveAction
runBeforeNotifiers
saveActionForAgain
setImplicit
setMessageParam
setMessageParams
setNested
setOriginalAction
setPronounOverride
setRemapped
spPrefix
spSuffix
synthMessageParam
verifyHandlersExist
whatTranslate
withVerifyResults
zeroActionTime
Inherited from BasicProd
:
canResolveTo
getOrigText
setOrigTokenList
Inherited from Resolver
:
allowAll
cacheScopeList
filterAll
filterAmbiguousEquivalents
filterAmbiguousNounPhrase
filterPluralPhrase
filterPossRank
getAction
getAll
getAllDefaults
getDefaultObject
getPossessiveResolver
getPronounDefault
getQualifierResolver
getRawPronounAntecedent
getReflexiveBinding
getScopeList
getTargetActor
matchName
objInScope
resetResolver
resolvePronounAntecedent
resolveUnknownNounPhrase
selectIndefinite
withGlobals
actionAllowsAll | action.t[3669] |
Note that the inventory management verbs (TAKE, TAKE FROM, DROP, PUT IN, PUT ON) override this to allow "all" to be used, so disallowing "all" here (or via gameMain) won't disable "all" for those verbs.
actionDobjProp | action.t[3620] |
actor_ OVERRIDDEN | action.t[3786] |
askDobjResponseProd | action.t[3221] |
Note that language modules might want to override this to allow for special responses. For example, in English, some verbs might want to override this with a specialized production that allows the appropriate preposition in the response.
checkDobjProp | action.t[3619] |
dobjCur_ | action.t[3745] |
dobjInfoCur_ | action.t[3748] |
dobjList_ | action.t[3737] |
dobjMatch | action.t[3734] |
dobjResolver_ | action.t[3751] |
issuer_ OVERRIDDEN | action.t[3783] |
preCondDobjProp | action.t[3617] |
predicateNounPhrases OVERRIDDEN | action.t[3269] |
remapDobjProp | action.t[3618] |
verDobjProp | action.t[3616] |
preconditions: preCondDobjAction
verifier: verDobjAction
remap: remapDobjAction
check: checkDobjAction
action: actionDobjAction
where the 'Action' suffix is replaced by the name of the action. The DefineTAction macro applies this convention, so in most cases library and game authors will never have to create all of those property names manually.
whichMessageObject OVERRIDDEN | action.t[3795] |
adjustDefaultObjectPrep (prep, obj) | en_us.t[8466] |
announceAllDefaultObjects (allResolved) OVERRIDDEN | en_us.t[8469] |
announceDefaultObject (obj, whichObj, resolvedAllObjects) OVERRIDDEN | en_us.t[8434] |
canDobjResolveTo (obj) | action.t[3241] |
checkAction ( ) OVERRIDDEN | action.t[3555] |
For a single-object transitive action, this runs the catch-all 'check' properties (the dobjFor(Default) and dobjFor(All) 'check' methods) on the direct object, then calls the individual 'check' routine for this specific action.
checkRemapping ( ) OVERRIDDEN | action.t[3531] |
construct ( ) OVERRIDDEN | action.t[3067] |
createDobjResolver (issuingActor, targetActor) | action.t[3651] |
createForMissingDobj (orig, asker) | action.t[3182] |
createForRetry (orig) | action.t[3085] |
doActionMain ( ) | action.t[3431] |
execAction ( ) OVERRIDDEN | action.t[3584] |
filterAmbiguousDobj (lst, requiredNum, np) | action.t[3683] |
filterPluralDobj (lst, np) | action.t[3692] |
getAllDobj (actor, scopeList) | action.t[3677] |
getCurrentObjects ( ) OVERRIDDEN | action.t[3484] |
getDefaultDobj (np, resolver) | action.t[3700] |
getDobj ( ) | action.t[3708] |
getDobjCount ( ) | action.t[3717] |
getDobjFlags ( ) | action.t[3714] |
getDobjInfo ( ) | action.t[3711] |
getDobjResolver (issuingActor, targetActor, reset) | action.t[3631] |
getDobjTokens ( ) | action.t[3720] |
getDobjWords ( ) | action.t[3727] |
getMatchForRole (role) OVERRIDDEN | action.t[3286] |
getMessageParam (objName) OVERRIDDEN | action.t[3413] |
getObjectForRole (role) OVERRIDDEN | action.t[3279] |
getObjResponseProd (resolver) OVERRIDDEN | action.t[3224] |
getPreCondDescList ( ) OVERRIDDEN | action.t[3469] |
getPreCondPropForRole (role) OVERRIDDEN | action.t[3299] |
getQuestionInf (which) OVERRIDDEN | en_us.t[8476] |
getRemapPropForRole (role) OVERRIDDEN | action.t[3305] |
getResolvedDobjList ( ) | action.t[3351] |
getResolvedObjList (which) OVERRIDDEN | action.t[3344] |
getResolveInfo (obj, oldRole) OVERRIDDEN | action.t[3311] |
getRoleFromIndex (idx) OVERRIDDEN | action.t[3272] |
getVerbPhrase (inf, ctx) OVERRIDDEN | en_us.t[8492] |
getVerbPhrase1 (inf, vp, dobjText, dobjIsPronoun) | en_us.t[8534] |
'inf' is a flag indicating whether to use the infinitive form (true) or the present participle form (nil); 'vp' is the verbPhrase string; 'dobjText' is the direct object phrase's text; and 'dobjIsPronoun' is true if the dobj text is rendered as a pronoun.
getVerifyPropForRole (role) OVERRIDDEN | action.t[3293] |
initForMissingDobj (orig) | action.t[3209] |
initResolver (issuingActor, targetActor) | action.t[3769] |
initTentative (issuingActor, targetActor, whichObj) OVERRIDDEN | action.t[3520] |
resetAction ( ) OVERRIDDEN | action.t[3073] |
resolvedObjectsInScope ( ) OVERRIDDEN | action.t[3402] |
resolveNouns (issuingActor, targetActor, results) | action.t[3253] |
retryWithAmbiguousDobj (orig, objs, asker, objPhrase) | action.t[3138] |
retryWithMissingDobj (orig, asker) | action.t[3127] |
This routine terminates with 'exit' if it doesn't throw some other error.
setCurrentObjects (lst) OVERRIDDEN | action.t[3490] |
setObjectMatches (dobj) OVERRIDDEN | action.t[3389] |
setResolvedDobj (dobj) | action.t[3368] |
setResolvedObjects (dobj) OVERRIDDEN | action.t[3361] |
testRetryDefaultDobj (orig) | action.t[3164] |
verifyAction ( ) OVERRIDDEN | action.t[3499] |
whatObj (which) OVERRIDDEN | en_us.t[8423] |