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

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

MZ plugins

NUUN Purchase Category - NUUN_PurchaseCategory.js

Plugin desc : Shop purchase category

License : MIT License

Author : NUUN

Website : https://github.com/nuun888/MZ/blob/master/NUUN_PurchaseCategory.js

Download Page : https://raw.githubusercontent.com/nuun888/MZ/master/NUUN_PurchaseCategory.js

File name : NUUN_PurchaseCategory.js

Help of plugin :

* @target MZ
 * @plugindesc Shop purchase category
 * @author NUUN
 * @base NUUN_Base
 * @orderAfter NUUN_Base
 * @version 1.1.2
 * 
 * @help
 * Display the item category on the purchase screen of the shop.
 * 
 * Plugin command
 * Change display category of purchase
 *  Set the categories to display.
 *  A separate "NUUN_ItemCategory" is required to display with any key.
 * 
 * Purchase display category reset
 *  Resets the category settings set in Change Display Category of Purchases.
 *  Returns to default state.
 * 
 * Terms of Use
 * This plugin is distributed under the MIT license.
 * 
 * Log
 * 8/25/2023 Ver.1.1.2
 * Fixed an issue that resulted in an error when opening the shop.
 * 8/23/2023 Ver.1.1.1
 * Fixed an issue that resulted in an error when opening the shop.
 * 12/10/2022 Ver.1.1.0
 * Added a switch that allows you to set whether to display or hide the category display.
 * 12/7/2022 Ver.1.0.2
 * Added a switch to show/hide categories.
 * 12/3/2022 Ver.1.0.1
 * Minor fix.
 * 12/3/2022 Ver.1.0.0
 * First edition.
 * 
 * @param BuyCategoryCols
 * @desc The number of display columns for categories.
 * @text Number of category col
 * @type number
 * @default 3
 * 
 * @param BuyCategoryRows
 * @desc The number of rows displayed for categories.
 * @text Number of category rows
 * @type number
 * @default 1
 * 
 * @param BuyCategoryWidthMode
 * @text Category display width mode
 * @desc Makes the width of the item category at the time of purchase the width of the purchase window.(false: UI size)
 * @type boolean
 * @default true
 * 
 * @param ShowKeyItem
 * @text Key Item display
 * @desc Key Item is displayed in the category at the time of purchase.
 * @type boolean
 * @default false
 * 
 * @param BuyCategorySwitch
 * @desc A switch that applies the purchase category. A setting of 0 will always show the category.
 * @text Purchasing category applicable switch ID
 * @type switch
 * @default 0
 * 
 * 
 * @command AddBuyCategory
 * @desc Change the displayed category of purchases.
 * @text Change display category of purchase
 * 
 * @arg ItemBuyCategory
 * @text Purchasing category item
 * @desc Setting of category items for purchase.
 * @default []
 * @type struct<ItemBuyCategoryList>[]
 * 
 * @command ResetBuyCategory
 * @desc Resets the displayed category of purchases.
 * @text Purchase display category reset
 *

スポンサードリンク

-MZ plugins

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