MZ用プラグイン

GABA アイテム保存 - GABA_ItemKeeper.js

シェア用テキスト:
▼GABA アイテム保存(ガバチョ(溟犬一六)様作) - GABA_ItemKeeper.js
https://plugin-mz.fungamemake.com/archives/4032
アイテム・武器・防具を変数に保存・復元します。

ふりがな:あいてむほぞん

機能概要: アイテム・武器・防具を変数に保存・復元します。

利用規約(ライセンス): MITライセンス

作者:ガバチョ(溟犬一六)

作者サイト:https://star-write-dream.com/

解説ページ:https://star-write-dream.com/#/MZ-ItemKeeper

ファイル名:GABA_ItemKeeper.js

プラグインのヘルプ:

/*:ja
 * @target MZ
 * @plugindesc アイテム・武器・防具を変数に保存・復元します。
 * @author ガバチョ(溟犬一六)
 * @url https://star-write-dream.com/
 *
 * @help GABA_ItemKeeper.js(ver1.0.0)
 *
 * パーティが所持しているアイテム・武器・防具の個数を変数に保存します。
 * 保存したデータは、任意のタイミングで復元(現在の所持品に追加)できます。
 *
 * 保存・復元はプラグインコマントで実行します。
 * アイテム・武器・防具を空にするプラグインコマンドもあります。
 *
 * ■メモ
 * ・変数に数値以外のデータが保存されます。
 *   この変数を計算に使わないように注意してください。
 *
 * ・保存される所持数は「アイテム」で表示される数です。
 *   装備品も含めて処理したい場合は、まずエディタで装備を外してください。
 *
 * --------------------------
 * Copyright (c) 2021 Gabacho(Ichiro Meiken)
 * Released under the MIT license
 * https://opensource.org/licenses/mit-license.php
 * --------------------------
 *
 * @command saveItem
 * @text アイテムを保存する
 * @desc アイテムの所持数を指定の変数に保存します。
 *
 * @arg v
 * @text 変数
 * @type variable
 * @desc 保存先の変数を指定します。
 * @default 0
 *
 * @arg itemType
 * @type select
 * @desc アイテムタイプを選択します。
 * @option すべて
 * @value 0
 * @option 通常アイテム
 * @value 1
 * @option 大事なもの
 * @value 2
 * @option 隠しアイテムA
 * @value 3
 * @option 隠しアイテムB
 * @value 4
 * @default 0
 *
 * @command loadItem
 * @text アイテムを復元する
 * @desc 変数に保存したアイテムを現在の所持品に追加します。
 *
 * @arg v
 * @text 変数
 * @type variable
 * @desc アイテムが保存されている変数を指定します。
 * @default 0
 *
 * @command deleteItem
 * @text アイテムを消去する
 * @desc アイテムを消去します。
 *
 * @arg itemType
 * @type select
 * @desc アイテムタイプを選択します。
 * @option すべて
 * @value 0
 * @option 通常アイテム
 * @value 1
 * @option 大事なもの
 * @value 2
 * @option 隠しアイテムA
 * @value 3
 * @option 隠しアイテムB
 * @value 4
 * @default 0
 *
 * @command saveWeapon
 * @text 武器を保存する
 * @desc 武器の所持数を指定の変数に保存します。
 *
 * @arg v
 * @text 変数
 * @type variable
 * @desc 保存先の変数を指定します。
 * @default 0
 *
 * @command loadWeapon
 * @text 武器を復元する
 * @desc 変数に保存した武器を現在の所持品に追加します。
 *
 * @arg v
 * @text 変数
 * @type variable
 * @desc 武器が保存されている変数を指定します。
 * @default 0
 *
 * @command deleteWeapon
 * @text 武器を消去する
 * @desc 武器を消去します。
 *
 * @command saveArmor
 * @text 防具を保存する
 * @desc 防具の所持数を指定の変数に保存します。
 *
 * @arg v
 * @text 変数
 * @type variable
 * @desc 保存先の変数を指定します。
 * @default 0
 *
 * @command loadArmor
 * @text 防具を復元する
 * @desc 変数に保存した防具を現在の所持品に追加します。
 *
 * @arg v
 * @text 変数
 * @type variable
 * @desc 防具が保存されている変数を指定します。
 * @default 0
 *
 * @command deleteArmor
 * @text 防具を消去する
 * @desc 防具を消去します。
 *
 */

スポンサードリンク

スポンサードリンク

-MZ用プラグイン

Copyright© #ツクプラMZ , 2026 All Rights Reserved.