Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
Currency Unit - CurrencyUnit.js
Plugin desc : Currency Unit Switch Ver1.3.7 (2023/9/11)
License : MIT License
Author : PotatoDragon
Website : https://github.com/pota-gon/RPGMakerMZ/wiki
Desc page : https://raw.githubusercontent.com/pota-gon/RPGMakerMZ/refs/heads/main/plugins/Scene/Shop/CurrencyUnit.js
Download Page : https://raw.githubusercontent.com/munokura/PotatoDragon-MZ-plugins/main/CurrencyUnit.js
File name : CurrencyUnit.js
Help of plugin :
@target MZ @url https://raw.githubusercontent.com/pota-gon/RPGMakerMZ/refs/heads/main/plugins/Scene/Shop/CurrencyUnit.js @plugindesc Currency Unit Switch Ver1.3.7 (2023/9/11) @author PotatoDragon @license MIT License @help English Help Translator: munokura This is an unofficial English translation of the plugin help, created to support global RPG Maker users. Feedback is welcome to improve translation quality (see: https://github.com/munokura/PotatoDragon-MZ-plugins ). Original plugin by PotatoDragon. Please check the latest official version at: https://github.com/pota-gon/RPGMakerMZ/wiki ----- ## Overview Switch between two currency units using the plugin command. The currency unit will switch when you use the "Currency Switch" plugin command. ## Usage ### Usage Example 1 (Prize Exchange) This process is assumed at installation. You can create a prize exchange by setting the event execution details as follows. ◆ Plugin Command: CurrencyUnit, Currency Switch ◆ Shop Execution: Potion ◆ Plugin Command: CurrencyUnit, Currency Switch Change the prize contents in the shop execution. Also, limiting the shop execution to purchases will create a more realistic prize exchange. ### Usage Example 2 (Second Currency) By changing the parameters as follows and setting the event execution details as follows, you can set a second world currency, such as the yen. Location transfer is specified, but this is not necessary. The currency will switch when the plugin is called. Parameters Purchase Command Name: Purchase Second Currency Name: Yen ● G → Yen (Event Setup) ◆ Plugin Command: CurrencyUnit, Currency Switch ◆ Location: Japan (0,0) ● Yen → G (Event Setup) ◆ Plugin Command: CurrencyUnit, Currency Switch ◆ Location: Fantasy World (0,0) @param CurrencyUnitSwitch @text Currency switch @desc Switch to second currency when ON @type switch @default 25 @param CurrencyVariable @text Currency Switching Variable @desc Variable ID for temporary currency management @type variable @default 30 @param BuyName @text Purchase Command Name @desc Second currency purchase command name @default Exchange @param SecondCurrencyUnitName @text Second currency name @desc Second currency name @default pieces @param BuyRate @text Purchase Rate @desc Purchase ratio @type number @default 1.00 @min 0 @decimals 2 @param SecondBuyRate @text Second Currency Buying Rate @desc Second currency purchase multiplier @type number @default 1.00 @min 0 @decimals 2 @param SellRate @text Selling Rate @desc Selling ratio @type number @default 0.50 @min 0 @decimals 2 @param SecondSellRate @text Second Currency Selling Rate @desc Second currency selling rate @type number @default 0.50 @min 0 @decimals 2 @command change_currency_unit @text Currency Switcher @desc Switch currency units