SDJB_SaveManager
PluginName: SDJB_SaveManagerAuthor: ShadowDragon
This plugin is completely rewritten from the ground up
and works differently as it was before.
Smoother and save as its own object entirely!
https://forums.rpgmakerweb.com/attachments/savemanager-png.364174/
Spoiler: How to use Code:
Introduction
͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
This plugin adds per-save-file changes to the database.
It makes unique (one-of-a-kind) weapons or armors
easy to upgrade without adding or removing them from the inventory.
How to use
͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
Types: "weapon" and "armor"
Available parameters: mhp, mmp, atk, def, mat, mdf, agi, luk
Upgrade an item using a script call:
=> Example for armor
SDJB_SaveManager.saveNewValue("armor", 1, {
name: "Shield +1",
iconIndex: 20,
atk: -3,
def: 20,
description: "New upgraded shield",
});
=> Example for weapon
SDJB_SaveManager.saveNewValue("weapon", 1, {
name: "Sword +1",
iconIndex: 10,
atk: 15,
description: "New upgraded sword",
});
Or fully override the params array (armor or weapon):
SDJB_SaveManager.saveNewValue("weapon", 1, {
name: "Sword +1",
iconIndex: 10,
params: ,
description: "New upgraded sword",
});
Both methods update the name, icon, parameters, and description
of $dataWeapons.
First example: only attack changes to 15.
Second example: only the attack parameter (params) changes,
but it requires the full array to set the new values:
.
First option is cleaner, but both are valid.
=== TERMS OF USE ===
Free for Non-Commercial and Commercial use when credit is given.
credit one of the following:
ShadowDragon
ShadowDragonJB
=== WARNING ===
YOU ARE NOT ALLOWED TO REDISTRIBUTE OR SELL IT OR TAKE CODE FOR YOUR OWN.
DO NOT REMOVE THE HEADER.
(require my base plugin (SDJB_Base or SDJB_BaseMVZ (minified version))
leave Feedback and or suggestions.
Download from itch.io
本贴来自国际rpgmaker官方论坛作者:ShadowDragon处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/sdjb_savemanager.149222/
页:
[1]