[MZ] DoubleX RMMZ Dynamic Data

Started by DoubleX, August 28, 2020, 05:35:35 am

Previous topic - Next topic

DoubleX

August 28, 2020, 05:35:35 am Last Edit: Today at 10:31:39 am by DoubleX
DoubleX RMMZ Dynamic Data
Authors: DoubleX
Version: v1.00a
Type: Database Add-on
Key Term: Misc Add-on

Purpose
Lets you edit some database data on the fly and such edits will be saved

Introduction
1. This plugins lets you change some database data on the fly, and those changes will be saved in save files
2. Changing too many database data in the same save can lead to the save file being too big, so only make absolutely necessary changes
3. This plugin doesn't work with dynamic map data, and I've no plans to support this, as it's all too complicated and convoluted to make it work well without creating even greater troubles, like the game file being too big and map reload issues
4. CHANGING DATA ON THE FLY SHOULD NEVER BE TAKEN LIGHTLY, SO THIS PLUGIN'S SPECIFICALLY DESIGNED TO NOT HAVE RMMZ BEGINNERS IN MIND

Video

Games using this plugin
None so far

Script Calls
 *    # Databse data manipulations
 *      1. $gameSystem.setDynamicData(containerName, data)
 *        - Applies the edit of data stored by container with name
 *          containerName, and the edited data will be saved in save
 *          files so those edits will be preserved
 *        - data must be a valid database data which must be serializable
 *          (It means that this plugin doesn't support foreign plugins adding
 *            undisclosed unserializable properties to database data)
 *        - containerName must be either of the following:
 *          "$dataActors"
 *          "$dataClasses"
 *          "$dataSkills"
 *          "$dataItems"
 *          "$dataWeapons"
 *          "$dataArmors"
 *          "$dataEnemies"
 *          "$dataTroops"
 *          "$dataStates"
 *          "$dataAnimations"
 *          "$dataTilesets"
 *          "$dataCommonEvents"
 *          "$dataSystem"
 *          "$dataMapInfos"
 *        - E.g.:
 *          $gameSystem.setDynamicData("$dataSkills", $dataSkills[3]) applies
 *          the edit of skill with id 3 stored by $dataSkills and that edited
 *          skill will be saved in save files so those edits will be
 *          preserved

Prerequisites
Plugins:
1. DoubleX RMMZ Enhanced Codebase
Abilities:
2. Little RMMZ plugin development proficiency
  (Elementary Javascript exposures being able to write beginner codes up to 300LoC scale)

Terms Of Use
 *      1. Commercial use's always allowed and crediting me's always optional.
 *      2. You shall keep this plugin's Plugin Info part's contents intact.
 *      3. You shalln't claim that this plugin's written by anyone other than
 *        DoubleX or my aliases. I always reserve the right to deny you from
 *        using any of my plugins anymore if you've violated this.
 *      4. If you repost this plugin directly(rather than just linking back),
 *        you shall inform me of these direct repostings. I always reserve
 *        the right to request you to edit those direct repostings.
 *      5. CC BY 4.0, except those conflicting with any of the above, applies
 *        to this plugin, unless you've my permissions not needing follow so.
 *      6. I always reserve the right to deny you from using this plugin
 *        anymore if you've violated any of the above.

Contributors
 *      Authors:
 *      1. DoubleX
 *      Plugin Development Collaborators:
 *      - None So Far
 *      Bug Reporters:
 *      - None So Far
 *      Compatibility Issue Raisers:
 *      - None So Far
 *      Feature Requesters:
 *      - None So Far

Changelog
 *      { codebase: "1.0.0", plugin: "v1.00a" }(2020 Aug 28 GMT 0700):
 *      1. 1st version of this plugin finished

Download Link
Demo Link
My RMVXA/RMMV/RMMZ scripts/plugins: http://rpgmaker.net/users/DoubleX/scripts/

DoubleX

My RMVXA/RMMV/RMMZ scripts/plugins: http://rpgmaker.net/users/DoubleX/scripts/