Save-Point
DoubleX RMMZ Dynamic Data - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Plugins and Mods (https://www.save-point.org/forum-74.html)
+---- Forum: RPGMaker MV/MZ Engines (https://www.save-point.org/forum-120.html)
+---- Thread: DoubleX RMMZ Dynamic Data (/thread-8153.html)



DoubleX RMMZ Dynamic Data - DoubleX - 08-28-2020

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

Introduction
Code:
*    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
Code:
*    # 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
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
Code:
*      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
Code:
*      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
Code:
*      { codebase: "1.0.0", plugin: "v1.00a" }(2020 Aug 28 GMT 0700):
*      1. 1st version of this plugin finished

Download Link
DoubleX RMMZ Dynamic Data

Demo Link
Demo Link


RE: DoubleX RMMZ Dynamic Data - DoubleX - 09-22-2020

Updates
Added the Demo Link:
Demo Link