Welcome to PGMV! 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.
FTKR Ex Item Box - FTKR_ExItemBox.js
Plugin desc : v1.0.0 Change the item box specifications
License : MIT License
Author : Futokoro
Desc page : https://github.com/munokura/futokoro-MV-plugins
Download Page : https://raw.githubusercontent.com/munokura/futokoro-MV-plugins/refs/heads/master/FTKR_ExItemBox.js
File name : FTKR_ExItemBox.js
Help of plugin :
@plugindesc v1.0.0 Change the item box specifications @author Futokoro @url https://github.com/munokura/futokoro-MV-plugins @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/futokoro-MV-plugins ). Original plugin by Futokoro. Please check the URL below for the latest version of the plugin. URL https://github.com/futokoro/RPGMaker ----- ----------------------------------------------------------------------------- Overview ----------------------------------------------------------------------------- Implementing this plugin changes the specifications of your item box. 1. You can change the display layout within your item box. 2. You can change the item category (items, weapons, armor, valuables). 3. You can set the item box's inventory capacity. 4. If you exceed the maximum item stack size, you can stack items separately. 5. After selecting an item, a subcommand will appear, allowing you to discard the item. ----------------------------------------------------------------------------- Setup Instructions ----------------------------------------------------------------------------- 1. Add this plugin to the "Plugin Manager." 2. When using the item box inventory capacity setting and stack change functions, existing save data cannot be used. ----------------------------------------------------------------------------- Changing the Display Layout ----------------------------------------------------------------------------- You can change the display layout of your item box. You can set this in the Plugin Parameters - Display Settings. The following changes can be made: 1. Number of columns in the item box and spacing between columns 2. Icon display and icon size 3. Item name display and font size 4. Separator between item name and possession count 5. Display of possession count and number of digits displayed 6. Display height of item name and possession count per row ----------------------------------------------------------------------------- Changing Item Categories ----------------------------------------------------------------------------- Changes the display of item categories on the item screen and shop screen. To use this function, enable the <Enable Category> plugin parameter. 1. Changing Item Category Display You can change the display of item categories depending on the settings in the <Items Category> plugin parameter. The input information is as follows: item - Displays "Items" weapon - Displays "Weapons" armor - Displays "Armor" keyItem - Displays "Key Item" all - Displays the display name set in the plugin parameter <Category All Name> Displays all items, weapons, armor, and Key Item in the item box any character - Displays any character entered Sets this string as a new category name (*1) Multiple categories can be set using a comma (,). Item categories will be displayed in the order entered. (*1) Adding a Category By entering the following tag in the Note field of an item, weapon, or armor, you can set the added category to the item, weapon, or armor. <EIB_CATEGORY: category_name> <EIB_CATEGORY: category_name> 2. Eliminating Item Category Selection Disabling the plugin parameter <Enable Category> eliminates the item category selection and allows you to directly select the item box. The item category displayed in the item box will be the category set first in the plugin parameter <Items Category>. ----------------------------------------------------------------------------- Setting Item Box Capacity ----------------------------------------------------------------------------- You can set the item box capacity. To use this Traits, enable the plugin parameter <Enable Capacity>. Setting the capacity will limit the number of items you can hold in that category to the number you set. You will not be able to hold any more items than this number, and any items you acquire will be automatically discarded. If you set the item capacity to 10, you will only be able to hold 10 different items. In this case, it does not matter how many of each item you have. There are three categories you can set: "Items," "Weapons," and "Armor." "Key Item" are included in the category of items. You can determine whether your item box has space using the following script: $gameParty.isItemsCapacityOk() - Item capacity $gameParty.isWeaponsCapacityOk() - Weapon capacity $gameParty.isArmorsCapacityOk() - Armor capacity Set capacity as follows: 1. Set the [Initial Value] in the plugin parameters. <Item Capacity> <Weapon Capacity> <Armor Capacity> : Setting this to 0 will set unlimited capacity. 2. Set the [Additional Capacity] in the plugin command. This additional capacity is calculated separately from the plugin parameter value. EIB_SetCapacity [Category] [Value] [Calculation Method] EIB_SET_CAPACITY [category] [value] [calc_method] The [Category] entry specifies which category's capacity to change. Item or ITEM Weapon or WEAPON Armor or ARMOR [Number] Input ¥V[x] references the value of the in-game variable ID x. [Calculation Method] specifies how [Number] is calculated. If no calculation method is specified, substitution is applied. ADD or + SUBTRACT or - MULTIPLY or * DIVIDE or / MOD or % Substitution or SUBSTITUTE or = Example) EIB_SET_CAPACITY ITEM 10 ADD EIB_SET_CAPACITY ARMOR ¥V[1] SUBSTITUTE EIB_SET_CAPACITY WEAPON 5 SUBTRACT The above settings result in the following inventory capacity. Inventory Capacity = Initial Value + Additional Item ----------------------------------------------------------------------------- Item Stacking Settings ----------------------------------------------------------------------------- In the item box, each item is displayed on a separate line. The inventory count shows how many of that item you have. This is the item stack. This plugin allows you to change this stacking function. To use this Traits, enable the plugin parameter <Enable Capacity>. You can set the number of items that can be stacked in the following ways: 1. Set with the plugin parameter <Max Stack Number> 2. Enter the following tag in the item's Note field: <EIB_STACK: x> : x - Max Stack Number If settings overlap, the Note field setting takes priority. You cannot possess more items than this setting, and any items you acquire will be automatically discarded. If the plugin parameter <Enable Duplicate Stack> is enabled, you can possess more items than the stack limit. Any items exceeding the stack limit will be displayed on a separate line. Note that items displayed on this separate line are counted as separate items in your inventory. For example, if you have 20 "Potions" and the maximum stack limit is 10, there will be two "Potion" lines. In this case, you will be counted as having two types of item. ----------------------------------------------------------------------------- About Subcommands ----------------------------------------------------------------------------- This plugin adds subcommands after selecting an item on the Item screen in the menu. To use this Traits, enable the plugin parameter <Enable Subcommand>. Subcommands include the following: 1. Use - Uses an item. Grayed out if unavailable. 2. Discard - Discards an item. "Key Item" cannot be discarded. 3. Cancel - Closes the subcommand. When you select "Drop," you set the number of items to discard. Once you select the number, a confirmation screen will appear. You can discard the items by selecting "Execute" on that screen. The confirmation screen can be hidden using the plugin parameter <Enable Confirmation>. ----------------------------------------------------------------------------- License for this plugin ----------------------------------------------------------------------------- This plugin is released under the MIT License. Copyright (c) 2017 Futokoro http://opensource.org/licenses/mit-license.php ---------------------------------------------------------------------------- Change History ----------------------------------------------------------------------------- v1.0.0 - June 4, 2017: First version created ----------------------------------------------------------------------------- @param --機能の有効無効設定-- @text --Traits enable/disable settings-- @param Enable Category @desc Enables the category setting Traits. 1 - Enable, 0 - Disable @default 0 @param Enable Capacity @desc Enables the capacity and stack configuration Traits. 1 - Enable, 0 - Disable @default 0 @param Enable SubCommand @desc Enables the subcommand Traits. 1 - Enable, 0 - Disable @default 0 @param --表示設定-- @text --Display settings-- @param Number of Columns @desc Number of items to arrange horizontally @default 2 @param Horizontal Space @desc Display interval when items are arranged horizontally @default 48 @param Window Line Height @desc The height of one line in the window @default 36 @param Display Item Icon @desc Show item icons: 1 - Show, 0 - Don't show @default 1 @param Icon Scale @desc Set the icon display size (%). If you set it to 100% or more, the row height will also change. @default 100 @param Display Item Name @desc Show item names: 1 - Show, 0 - Don't show @default 1 @param Font Size @desc Set the font size. The line height will also change depending on the size. @default 28 @param Display Separator @desc Specify the delimiter between the item name and the number of items you own. @default : @param Display Item Number @desc Display the number of items you own. 0 - Do not display, 1 - Display, 2 - Do not display when the number of items you own is 1. @default 1 @param Display Number of Digit @desc Set the number of digits to display for the number of items you own. If the number of digits you own exceeds the number of digits to display, it will be compressed horizontally. @default 2 @param Display Text Position Y @desc Set the display height of the item name and possession count. 0 - Top aligned, 1 - Centered, 2 - Bottom aligned @default 1 @param --カテゴリー設定-- @text --Category Settings-- @param Items Category @desc Categories to display in the item box. Separate them with a comma (,). @default item, weapon, armor, keyItem @param Category All Name @desc Display name for category 'all' @default All @param --アイテムボックス容量設定-- @text --Item box capacity setting-- @param Item Capacity @desc Item carrying capacity: 0 - unlimited, 1~ - specified number @default 0 @param Weapon Capacity @desc Weapon Capacity: 0 - Unlimited, 1~ - Specified number @default 0 @param Armor Capacity @desc Armor carrying capacity: 0 - unlimited, 1~ - specified number @default 0 @param --スタック設定-- @text --Stack Settings-- @param Max Stack Number @desc Maximum stack count @default 99 @param Enable Duplicate Stack @desc Can duplicate items be stacked? 1 - Allowed, 0 - Not allowed @default 0 @param --購入設定-- @text --Purchase Settings-- @param Max Buy Number @desc Maximum number of items that can be purchased at one time @default 99 @param --サブコマンド-- @text --Subcommand-- @param Command Use Format @desc Set the command name to use for the execution command. @default 使う @param Command Discard Format @desc Set the command name for the execution command "Discard". @default Discard @param Command Cancel Format @desc Set the command name for the execution command "Stop". @default Cancel @param --確認画面-- @text --Confirmation screen-- @param Enable Confirmation @desc Whether to display a confirmation screen when discarding an item. 1 - Display, 0 - Do not display @default 1 @param Conf Title Format @desc Set the confirmation content when discarding items. %1 - Item name, %2 - Number to discard @default Discard [%2] [%1]? @param Confirmation Ok Format @desc Set the command name for the confirmation command "Execute". @default Ok @param Confirmation Cancel Format @desc Set the command name for the confirmation command "Do not execute." @default Cancel