Saveobject | actions.t[2656]

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

`performFileOp showCancelMsg`

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` | `actions.t[2661]`

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

`filePromptMsg` | `actions.t[2658]`

the file dialog prompt

`fileTypeID` | `actions.t[2662]`

no description available

`includeInUndo` OVERRIDDEN | `actions.t[2715]`

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 | `actions.t[2722]`

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[2668]`

perform a save

`showCancelMsg ( )` | `actions.t[2665]`

cancel message

Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1