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

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

MZ plugins

NRP Original Shop - NRP_OriginalShop.js

Plugin desc : v1.01 Create a store using your original currency.

License :
・Copyright: Retained
・Commercial Use: Allowed
・Modification: Allowed
・Redistribution: Allowed
・Details: See Download Page / In-plugin documentation

Author : Takeshi Sunagawa (https://newrpg.seesaa.net/)

Website : https://github.com/NewRPGProject/MZMV_Plugin/blob/main/NRP_OriginalShop.js

Desc page : https://newrpg.seesaa.net/article/498394064.html

Download Page : https://raw.githubusercontent.com/NewRPGProject/MZMV_Plugin/main/NRP_OriginalShop.js

File name : NRP_OriginalShop.js

Help of plugin :

Create a store using your original currency.
 * Refer to variables for values of original currency.
 * Can be used for prizes such as casinos as well as
 * for original systems。
 * 
 * You can also prohibit the sale of specified items at regular stores
 * so that they can only be traded in the original currency.
 * 
 * -------------------------------------------------------------------
 * [Usage]
 * -------------------------------------------------------------------
 * Register the variable you want to treat
 * as the original currency in "CurrencyVariable".
 * 
 * If you call the store with "Switch" turned on,
 * you can trade in the original currency.
 * 
 * If the switch is turned on and you specify ¥$ in the message,
 * the notation of the money in your possession will also be
 * in the original currency.
 * 
 * ※Note that this plugin by itself does not support functions
 *   such as "displaying original currency on the menu screen"
 *   or "gaining original currency during battle victories".
 * 
 * -------------------------------------------------------------------
 * [Trade Restriction]
 * -------------------------------------------------------------------
 * The specified items can be sold only at the original currency store.
 * Specify the conditions in the "TargetItemList", "TargetWeaponList"
 * and "TargetArmorList" plugin parameters.
 * 
 * Also, items registered here will not be able to be sold
 * at regular stores.
 * 
 * -------------------------------------------------------------------
 * [Terms]
 * -------------------------------------------------------------------
 * There are no restrictions.
 * Modification, redistribution freedom, commercial availability,
 * and rights indication are also optional.
 * The author is not responsible,
 * but will deal with defects to the extent possible.
 * 
 * @-----------------------------------------------------
 * @ [Plugin Parameters]
 * @-----------------------------------------------------
 * 
 * @param CurrencyVariable
 * @type variable
 * @desc This variable is treated as the original currency.
 * 
 * @param Switch
 * @type switch
 * @default 1
 * @desc This switch enables the original currency.
 * Switches the store only when this is on.
 * 
 * @param <TargetItems>
 * 
 * @param TargetItemList
 * @parent <TargetItems>
 * @type struct<TargetItem>[]
 * @desc A list specifying the conditions for the target items.
 * Only items specified here can be sold.
 * 
 * @param TargetWeaponList
 * @parent <TargetItems>
 * @type struct<TargetWeapon>[]
 * @desc A list specifying the conditions for the target weapons.
 * Only weapons specified here can be sold.
 * 
 * @param TargetArmorList
 * @parent <TargetItems>
 * @type struct<TargetArmor>[]
 * @desc A list specifying the conditions for the target armors.
 * Only armors specified here can be sold.
 * 
 * @param NoCategory
 * @parent <TargetItems>
 * @type boolean
 * @default false
 * @desc No category is displayed at the time of sale.
 * 
 * @param <Message>
 * 
 * @param Prefix
 * @parent <Message>
 * @type string
 * @desc String to be displayed in front of the original currency.
 * Icon (¥i[?]) is also valid.
 * 
 * @param Suffix
 * @parent <Message>
 * @type string
 * @default
 * @desc String to be displayed after the original currency.
 * Icon (¥i[?]) is also valid.
 * 
 * @param MessageBuy
 * @parent <Message>
 * @type string
 * @desc The message to be displayed as a buy command.
 * 
 * @param MessageSale
 * @parent <Message>
 * @type string
 * @desc The message to be displayed as a sale command.
 * 
 * @param MessageCancel
 * @parent <Message>
 * @type string
 * @desc The message to be displayed as a cancel command.
 * 
 * @param <Sound>
 * 
 * @param SoundBuy
 * @parent <Sound>
 * @type file
 * @dir audio/se
 * @desc This is the sound effect of the buy.
 * 
 * @param SoundSale
 * @parent <Sound>
 * @type file
 * @dir audio/se
 * @desc This is the sound effect of the sale.

スポンサードリンク

-MZ plugins

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