An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

PANDA Shop Used Gold - PANDA_ShopUsedGold.js

Plugin desc : stores the amount of money purchased and sold in "Shop Processing".

License : MIT License

Author : panda(werepanda.jp)

Website : https://www.werepanda.jp/

Desc page : http://www.werepanda.jp/blog/20230323212518.html

File name : PANDA_ShopUsedGold.js

Help of plugin :

* @target MV MZ
 * @plugindesc stores the amount of money purchased and sold in "Shop Processing".
 * @author panda(werepanda.jp)
 * @url http://www.werepanda.jp/blog/20230323212518.html
 * 
 * @help In "Shop Processing" event command, the amount of money purchased and
 * sold is stored in designated variables.
 * The variables will be reset to 0 when "Shop Processing" is executed.
 * 
 * It is possible to branch depending on whether or not the purchase was made,
 * or to trigger ab event when the purchase amount exceeds a certain amount.
 * If the shop is for purchase only, you can compare the before and after gold,
 * but if the shop allows selling, you cannot get the amount of money used
 * by simple comparison.
 * With this plug-in, you can get the purchase and selling amounts separately,
 * so you can judge the exact amount of money used.
 * 
 * [License]
 * this plugin is released under MIT license.
 * https://opensource.org/licenses/mit-license.php
 * 
 * @param BuyGoldVariable
 * @text Purchase Amount Variable
 * @desc Specify a variable to store the amount of money spent on purchasing in "Shop Processing".
 * @type variable
 * @default 0
 * 
 * @param SellGoldVariable
 * @text Selling Amount Variable
 * @desc Specify a variable to store the amount of money earned from selling in "Shop Processing".
 * @type variable
 * @default 0
 *

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.