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.
NUUN Item Category - NUUN_ItemCategory.js
Plugin desc : Item category customization
License : MIT License
Author : NUUN
Website : https://github.com/nuun888/MZ/blob/master/NUUN_ItemCategory.js
Download Page : https://raw.githubusercontent.com/nuun888/MZ/master/NUUN_ItemCategory.js
File name : NUUN_ItemCategory.js
Help of plugin :
* @target MZ
* @plugindesc Item category customization
* @author NUUN
* @version 1.6.0
* @base NUUN_Base
* @orderAfter NUUN_Base
* @orderAfter NUUN_ItemNum
*
* @help
* You can add your own categories to your items.
* Set the category key in the plugin parameters and enter <CategoryType:[typeName]> in the memo field for items, weapons and armor.
* Items will be displayed in the category with the same category key as the [typeName] entered in the memo field.
* If you enter "allItems" in the category key, the category excludes hidden items
* All items are displayed.
* item:Items without category keys or non-essential items.
* weapon:Weapons with no category key.
* armor:Armor with no category key.
* keyItem:something important.
* allItems:Items, Weapons, Armor, and all that matters.
* allItem:all items.
*
* [typeName]:Category key
* About category keys
* item, weapon, armor, and keyItem cannot be used as keys for custom categories.
* Example
* <CategoryType:sozai> Items with this tag will appear in the "sozai" category.
*
* Items, Weapons, and Armor Notes
* <NoItemNum> Do not display the number of items.
*
* If you uncheck the database item category, even if you set it with this plugin, the unchecked category will not be displayed.
*
*
* Terms of Use
* This plugin is distributed under the MIT license.
*
* Log
* 9/22/2024 Ver.1.6.0
* Added a function to display only items of a specified category on the item selection screen.
* 9/12/2024 Ver.1.5.1
* Added a plugin command that allows you to display specified sales categories.
* 10/14/2023 Ver.1.5.0
* Added a function that allows you to set the category to be displayed when selling.
* 7/16/2023 Ver.1.4.0
* Added ability to hide the number of specific items, weapons, and armor.
* 11/12/2022 Ver.1.3.2
* Changed the display in languages other than Japanese to English.
* 6/12/2021 Ver.1.3.1
* Added a function to apply the number hiding even in battle.
* 5/8/2021 Ver.1.3.0
* Added a function to change the category to be displayed.
* Changed the setting method of the category key.
* 12/28/2021 Ver.1.2.0
* Added ability to view items and key items.
* Change category key to combo box.
* 8/22/2021 Ver.1.1.3
* Competitive measures by adding a unique category function to the item picture book.
* 3/15/2021 Ver.1.1.2
* Fixed an issue where item counts were not displayed during combat.
* 3/8/2021 Ver.1.1.1
* Fixed to reflect the display of the number of items other than keyItem in all item display.
* 3/7/2021 Ver.1.1.0
* Added a function that allows you to select whether to display the number of items in each category.
* Fixed to reflect the number of display lines even on the sale screen.
* 11/18/2020 Ver.1.0.0
* first edition.
*
* @command AddCategory
* @desc Change the category to display.
* @text Display category change
*
* @arg ItemCategory
* @text Category item
* @desc Category item settings.
* @default []
* @type struct<ItemCategoryList>[]
*
* @command ResetCategory
* @desc Returns the category to be displayed.
* @text Display category reset
*
* @command SaleCategoryCommand
* @desc Change the categories displayed for sale.
* @text Change display sales category
*
* @arg SaleCategoryList
* @text Selling category items
* @desc Setting up sale category items.
* @default
* @type struct<ItemCategoryList>[]
*
* @command ResetSaleCategory
* @desc Change back to the original sales category displayed.
* @text Display sale category reset
*
* @command SelectCategoryItem
* @desc Display the item selection screen.
* @text Item selection screen display
*
* @arg CategoryItemIdVariable
* @desc Variable that stores the item ID.
* @text Storage Variables
* @type variable
* @default 0
*
* @arg Categorykey
* @text Category Key
* @desc Set the category key. If the key is not in the list, enter it directly.
* @type combo
* @option 'allItem'
* @default
*
*
* @param CategoryCols
* @desc The number of display columns for categories.
* @text Number of categorical columns
* @type number
* @default 4
*
* @param CategoryRows
* @desc The number of rows displayed for categories.
* @text Number of category rows
* @type number
* @default 1
*
* @param ItemCategory
* @text Category item
* @desc Category item settings.
* @default ["{¥"CategoryName¥":¥"¥",¥"Categorykey¥":¥"'item'¥",¥"NumShow¥":¥"true¥"}","{¥"CategoryName¥":¥"¥",¥"Categorykey¥":¥"'weapon'¥",¥"NumShow¥":¥"true¥"}","{¥"CategoryName¥":¥"¥",¥"Categorykey¥":¥"'armor'¥",¥"NumShow¥":¥"true¥"}","{¥"CategoryName¥":¥"¥",¥"Categorykey¥":¥"'keyItem'¥",¥"NumShow¥":¥"true¥"}"]
* @type struct<ItemCategoryList>[]
*
* @param SaleCategory
* @text Sale category item
* @desc Setting of sale category items. If there is no setting, the category set in the category item will be displayed.
* @default
* @type struct<ItemCategoryList>[]
*
* @param BattleNumVisible
* @text Hide number during battle
* @desc Turn off the number display even during battle, and apply the number non-display of category items with the display of the number of important items turned off.
* @type boolean
* @default true
*