Saveobject
Special “save” action. This command saves the current game state to an external file for later restoration.
Save
:
Action
Superclass Tree (in declaration order)
Save
Action
ReplaceRedirector
Redirector
` object`
Summary of Properties
fileDisposition
filePromptMsg
fileTypeID
includeInUndo
isRepeatable
Inherited from Action
:
actionFailed
advanceOnFailure
againRepeatsParse
allowAll
extraMessageParams
failCheckMsg
failedActionCountsAsTurn
implicitTimeTaken
isConversational
isImplicit
oldRoom
parentAction
parentAllowAll
preCond
redirectParent
reportImplicitActions
scopeList
spellingPriority
synthParamID
timeTaken
turnsTaken
unhides
verifyObj
wasIlluminated
Summary of Methods
Inherited from Action
:
acknowledgeNotifyStatus
addExtraScopeItems
addImplicitTime
advanceTime
afterAction
announceObject
beforeAction
buildImplicitActionAnnouncement
buildScopeList
checkAction
checkActionPreconditions
commandNotPresent
exec
execAction
execCycle
execGroup
getAll
getAllUnhidden
getMessageParam
implicitAnnouncement
reportAction
scoreObjects
setMessageParam
setMessageParams
spPrefix
spSuffix
synthMessageParam
turnSequence
verify
verifyObjRole
wrapObjectsNP
Inherited from ReplaceRedirector
:
redirect
Inherited from Redirector
:
doInstead
doNested
doOtherAction
Properties
fileDisposition
we’re asking for a file to save, or type t3-save
filePromptMsg
the file dialog prompt
fileTypeID
no description available
includeInUndo
OVERRIDDEN
Saving has no effect on game state, so it’s irrelevant whether or not it’s undoable; but it might be confusing to say we undid a “save” command, because the player might think we deleted the saved file. To avoid such confusion, do not include “save” commands in the undo log.
isRepeatable
OVERRIDDEN
Don’t allow this to be repeated with AGAIN. There’s no point in repeating a SAVE immediately, as nothing will have changed in the game state to warrant saving again.
Methods
performFileOp (fname, ack, desc, :?)
perform a save
showCancelMsg ( )
cancel message
Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1