Save object | actions.t[2696]

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

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

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

the file dialog prompt

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

no description available

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

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

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

perform a save

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

cancel message

Adv3Lite Library Reference Manual
Generated on 25/04/2024 from adv3Lite version 2.0