//=============================================================================
// Yanfly Engine Plugins - Item Core Extension - Item Menu Categories
// YEP_X_ItemCategories.js
//=============================================================================
var Imported = Imported || {};
Imported.YEP_X_ItemCategories = true;
var Yanfly = Yanfly || {};
Yanfly.ItemCat = Yanfly.ItemCat || {};
Yanfly.ItemCat.version = 1.01;
//=============================================================================
/*:
* @plugindesc v1.01 (Requires YEP_ItemCore.js) Assign items to various
* categories under the item menu.
* @author Yanfly Engine Plugins + Sylvester Collaboration
*
* @param ---General---
* @default
*
* @param Category Order
* @parent ---General---
* @desc Here is the order of all the categories shown in the item
* menu. Look in the plugin's help file for more information.
* @default Items, Weapons, Armors, KeyItems
*
* @param ---Naming---
* @default
*
* @param Hidden Item A
* @parent ---Naming---
* @desc How this category is named in the Item Menu
* @default Special Items
*
* @param Hidden Item B
* @parent ---Naming---
* @desc How this category is named in the Item Menu
* @default Unique Items
*
* @param Consumable
* @parent ---Naming---
* @desc How this category is named in the Item Menu
* @default Consumable
*
* @param Nonconsumable
* @parent ---Naming---
* @desc How this category is named in the Item Menu
* @default Nonconsumable
*
* @param Always Usable
* @parent ---Naming---
* @desc How this category is named in the Item Menu
* @default Usable
*
* @param Battle Usable
* @parent ---Naming---
* @desc How this category is named in the Item Menu
* @default Battle
*
* @param Field Usable
* @parent ---Naming---
* @desc How this category is named in the Item Menu
* @default Field
*
* @param Never Usable
* @parent ---Naming---
* @desc How this category is named in the Item Menu
* @default Misc
*
* @help
* ============================================================================
* Introduction
* ============================================================================
*
* This plugin requires YEP_ItemCore. Make sure this plugin is located under
* YEP_ItemCore in the plugin list.
*
* In RPG Maker MV, there exists only four categories seen in the item menu:
* Items, Weapons, Armors, and Key Items. Adding extra categories wouldn't be
* possible without plugins. This plugin, through the help of Item Core, will
* allow you to add in many more categories in addition to many premade ones
* that are automatically added based on weapon types, armor types, equipment
* types, item usage, and more!
*
* This is a collaboration plugin by Sylvester and Yanfly to ensure
* compatibility with the Yanfly Engine Plugins library.
*
* ============================================================================
* Instructions
* ============================================================================
*
* To change the item categories that appear in the item menu, go to the plugin
* parameters and alter the list. Separate each category with a comma (,). Each
* category must be spelled correctly using the following formats:
*
* ----------------------- --------------------------------------------------
* Plugin Parameter Syntax Description
* ----------------------- --------------------------------------------------
* Items Lists only Regular Item types
* AllItems All items in the items database with Key Items
*
* RegularItems Lists only Regular Item types
* KeyItems Lists only Key Item types
* HiddenItemA Lists only Hidden Item A types
* HiddenItemB Lists only Hidden Item B types
* Consumable Lists only consumable items
* Nonconsumable Lists only nonconsumeable items
* AlwaysUsable Lists only always usable items
* BattleUsable Lists only battle usable items
* FieldUsable Lists only field usable items
* NeverUsable Lists only never usable items
*
* Weapons Lists all weapons
* WType:x Lists weapons of type x (replace x with ID)
*
* Armors Lists all armors
* AType:x Lists armors of armor type x (replace x with ID)
*
* EType:x Lists items of equip type x (replace x with ID)
*
* Category:x Lists items of category x (replace x with text)
*
* An example of a list that would display something like:
* Items
* Key Items
* Dagger
* Sword
* Bodygear
* Accessory
* Herbs
*
* Would look like this for the plugin parameters:
*
* Items, KeyItems, WType:1, WType2, AType1, AType2, Category:Herbs
*
* The categories go in the order they're listed so plan them out accordingly.
*
* ============================================================================
* Notetags
* ============================================================================
*
* To add custom categories to items, use the following notetag:
*
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*
* Item, Weapon, and Armor Notetags:
*
*