Skip to content
This repository was archived by the owner on Feb 22, 2025. It is now read-only.

Create versioning system for .story files #13

Open
Atlinx opened this issue Jun 28, 2021 · 0 comments
Open

Create versioning system for .story files #13

Atlinx opened this issue Jun 28, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Atlinx
Copy link
Member

Atlinx commented Jun 28, 2021

Store a variable in .story files called "version" which will be an integer. Developers will be able to set the version to whatever they want, and the intended workflow is to increment version every time developers release a modified version of the same story file. Then when loading a save slot, StorySaveManager will first check to see if the version from both the save slot and the slot's save file are the same before attempting to load the save file.

A feature like this would allow developers to modify their stories after shipping their game by letting FracturalVNE detect if a save file is loadable and avoids simply crashing the game if the user loads an unloadable save slot.

@Atlinx Atlinx added the enhancement New feature or request label Jun 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant