Saveobjectactions.t[2768]

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  verbRule  verifyObj  wasIlluminated 

Summary of Methods  

performFileOp  showCancelMsg 

Inherited from Action :
acknowledgeNotifyStatus  addExtraScopeItems  addImplicitTime  advanceTime  afterAction  announceObject  beforeAction  buildImplicitActionAnnouncement  buildScopeList  checkAction  checkActionPreconditions  commandNotPresent  exec  execAction  execCycle  execGroup  getAll  getAllUnhidden  getMessageParam  getPostImplicitReports  implicitAnnouncement  reportAction  scoreObjects  setMessageParam  setMessageParams  spPrefix  spSuffix  synthMessageParam  turnSequence  verify  verifyObjRole  wrapObjectsNP 

Inherited from ReplaceRedirector :
redirect 

Inherited from Redirector :
askMissingLiteral  doInstead  doNested  doOtherAction 

Properties  

fileDispositionactions.t[2773]

we're asking for a file to save, or type t3-save

filePromptMsgactions.t[2770]
the file dialog prompt

fileTypeIDactions.t[2774]
no description available

includeInUndoOVERRIDDENactions.t[2827]
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.

isRepeatableOVERRIDDENactions.t[2834]
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, :?)actions.t[2780]

perform a save

showCancelMsg ( )actions.t[2777]
cancel message

Adv3Lite Library Reference Manual
Generated on 03/07/2024 from adv3Lite version 2.1