Crafting System Update v1.08
I have updated the Crafting System plugin to version 1.08 with a functionality update.
- Added several new functions to be called from the console window during development which allow for the current recipe list to be backed up to, and restored from a file.
- Ramza.CS.recipeDump(filename)
- Creates a json file at /data/filename that contains your current recipe list information (from the plugin parameters).
- Ramza.CS.restoreRecipeDump(filename)
- Backs up the current recipe data to a duplicate plugin entry in the plugin manager.
- Imports the recipe list data from the file at /data/filename , overwriting the current recipe list data with the backup
- Ramza.CS.createBackupPluginEntry()
- Manually creates a backup plugin entry in the plugin manager containing your current recipe list. This does the same thing as if you'd copy and pasted your current Crafting System plugin entry to the bottom of your plugin manager list.
Exporting the recipe list allows it to be modified by an outside application (such as a text editor), and can lead to more efficient creation of crafting recipes in your project, and perhaps, at some point, I will release an external editor using node.JS that might streamline the process of external editing even further.
Once your recipe dump file has been modified to your liking, you restore it to the database using the function above. Doing this will automatically make a backup of the current recipe list, just in case your modified version has incorrect syntax, or something else wrong with it that causes the plugin to not work correctly.
The backup is found in a duplicate Crafting System plugin entry at the bottom of the plugin manager, which is disabled by default. To restore the backup, simply turn this backup entry on, move it to the correct spot in your load order, and either disable or delete the previous plugin entry.
Important:
Once you restore a recipe dump to your database, you must reload your project in RMMV. If you open the plugin manager without reloading the project in the application, a cached version of the plugin list is shown, and modifying anything in it may cause data corruption of your plugin parameters. Do not modify plugin parameters after loading a recipe list dump until you have reloaded your project in the editor.
Due to the above warning, I also recommend backing up your database files regularly. Database corruption is a real issue with RPGMaker projects, and loss of data can be devastating. These new functions modify the plugins.js file directly, and if you fail to adhere to the above warning, you may cause corruption to it, resulting in the loss of the parameters for all of your plugins. Back up your files before using these new functions, just in case.
That's all for now,
~Ramza
Files
Get MV - Crafting System
MV - Crafting System
Enhance your project with an ingredient based crafting system
More posts
- Version 1.31 Minor UpdateFeb 27, 2022
- Version 1.30 Major UpdateMay 17, 2021
- Version 1.29 bugfixApr 25, 2021
- Version 1.28 UpdateApr 24, 2021
- Version 1.27 UpdateMar 07, 2021
- Version 1.26 BugfixMar 03, 2021
- Version 1.25 Bugfix (revision a)Mar 01, 2021
- Version 1.24 BugfixFeb 21, 2021
- Version 1.23 UpdateFeb 13, 2021
- Version 1.22 UpdateJan 09, 2021
Leave a comment
Log in with itch.io to leave a comment.