IActionclass
An IAction is an Action that doesn’t directly act on any objects. At least in this version of the library it works just like the base Action class.
class
IAction
:
Action
Superclass Tree (in declaration order)
IAction
Action
ReplaceRedirector
Redirector
` object`
Subclass Tree
IAction
LiteralAction
MiscConvAction
NumericAction
SystemAction
FileOpAction
TopicAction
ImplicitConversationAction
Global Objects
ClimbDownVague
ClimbUpVague
Continue
FiatLux
GetOut
GoBack
Goodbye
GoSomewhere
Hello
Inventory
Jump
JumpOffIntransitive
Lie
Listen
Look
LookHere
Sit
Sleep
Smell
Stand
Think
VagueTravel
Wait
WhereAmI
WhereGo
WhoAmI
Yell
Summary of Properties
Inherited from Action
:
actionFailed
advanceOnFailure
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
execCycle
execResolvedAction
resolvedObjectsInScope
scoreObjects
setResolvedObjects
Inherited from Action
:
acknowledgeNotifyStatus
addExtraScopeItems
addImplicitTime
advanceTime
afterAction
announceObject
beforeAction
buildImplicitActionAnnouncement
buildScopeList
checkAction
checkActionPreconditions
commandNotPresent
exec
execAction
execGroup
getAll
getAllUnhidden
getMessageParam
implicitAnnouncement
reportAction
setMessageParam
setMessageParams
spPrefix
spSuffix
synthMessageParam
turnSequence
verify
verifyObjRole
wrapObjectsNP
Inherited from ReplaceRedirector
:
redirect
Inherited from Redirector
:
doInstead
doNested
doOtherAction
Properties
againRepeatsParse
OVERRIDDEN
There’s usually no point in parsing an IAction again when it’s repeated since there are no objects to have changed.
Methods
execCycle (cmd)
OVERRIDDEN
Otherwise, display the normal output from this action
execResolvedAction ( )
These methods are provided to allow an IAction to be invoked as an implicit action.
resolvedObjectsInScope ( )
An IAction has no resolved objects, so we simply return true to indicate that scope is not a problem.
scoreObjects (cmd, role, lst)
OVERRIDDEN
For an IAction there’s no point in trying to score anything but the Actor object; attempting to score objects via their verify properties will cause a run-time error, since IActions don’t define verify properties and the like.
setResolvedObjects ([objs])
Nothing to do here.
Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1