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.
MNKR Suppon Shop Stock MZ - MNKR_SupponShopStockMZ.js
Plugin desc : Set up a store with an inventory system.
License : MIT License
Author : munokura
Website : http://x.com/munokura
Desc page : https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SupponShopStockMZ.js
File name : MNKR_SupponShopStockMZ.js
Help of plugin :
@target MZ @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_SupponShopStockMZ.js @plugindesc Set up a store with an inventory system. @author munokura @license MIT License @help Use the following functions with plugin commands. - Create a shop - Add items - Add weapons - Add armor - Delete items - Delete weapons - Delete armor - Start a shop - Delete a shop - Specify the inventory quantity of an item not managed by a variable and assign it to a variable. # Plugin inquiries This is a plugin originally created for RPG Maker MV that has been ported to MZ. Please contact the modifier with any inquiries. # Terms of Use MIT License. http://opensource.org/licenses/mit-license.php You may modify and redistribute this without permission, and there are no restrictions on its use (commercial, 18+, etc.). @param Label of stock Number @text Stock quantity notation @desc Set the display of stock quantity @default 在庫数 @param Label of sold out @text Sold out sign @desc Set sold out indication @default 売り切れ @param Display option @text Display stock quantity @desc If true, the stock quantity will be displayed next to the number of items you have. @type boolean @on Display stock quantity @off Hide stock quantity @default false @param Display option space @text Option display space @desc This is the display space for the number of items you have and the number of items in stock. @default 12 @command makeShop @text Shop Creation @desc Create a shop. @arg shopName @text Shop name @desc The name of the shop. Can be a number. @default shop1 @arg shopType @text Shop Type @desc Specify the shop type. @type select @default 2 @option Purchase only (cannot sell) @value 0 @option Available for purchase and sale @value 1 @option Buy, sell and sell items added to products @value 2 @command addItem @text Adding items @desc Add items to the shop. @arg shopName @text Shop name @desc The name of the shop. Can be a number. @default shop1 @arg itemId @text Additional items @desc The ID of the item to add. @type item @default 1 @arg variableId @text Inventory variable ID @desc This is the ID of the variable to assign the inventory quantity to. If you set it to -1 (Text tab), the variable will not be used and inventory will be handled using internal data. @type variable @default -1 @arg stock @text Quantity in stock @desc The set value for the stock quantity. @default 1 @command addWeapon @text Add weapon @desc Add weapons to the shop. @arg shopName @text Shop name @desc The name of the shop. Can be a number. @default shop1 @arg weaponId @text additional weapons @desc The ID of the weapon to add. @type weapon @default 1 @arg variableId @text Inventory variable ID @desc This is the ID of the variable to assign the inventory quantity to. If you set it to -1 (Text tab), the variable will not be used and inventory will be handled using internal data. @type variable @default -1 @arg stock @text Quantity in stock @desc The set value for the stock quantity. @default 1 @command addArmor @text Added armor @desc Add armor to the shop. @arg shopName @text Shop name @desc The name of the shop. Can be a number. @default shop1 @arg armorId @text Additional Armor @desc The ID of the armor to add. @type armor @default 1 @arg variableId @text Inventory variable ID @desc This is the ID of the variable to assign the inventory quantity to. If you set it to -1 (Text tab), the variable will not be used and inventory will be handled using internal data. @type variable @default -1 @arg stock @text Quantity in stock @desc The set value for the stock quantity. @default 1 @command removeItem @text Item deletion @desc Remove the item from the shop. @arg shopName @text Shop name @desc The name of the shop. Can be a number. @default shop1 @arg itemId @text Deleted Items @desc The ID of the item to delete. @type item @default 1 @command removeWeapon @text Weapon removal @desc Removes weapons from the shop. @arg shopName @text Shop name @desc The name of the shop. Can be a number. @default shop1 @arg weaponId @text Removed Weapons @desc The ID of the weapon to remove. @type weapon @default 1 @command removeArmor @text Delete Armor @desc Removes armor from the shop. @arg shopName @text Shop name @desc The name of the shop. Can be a number. @default shop1 @arg armorId @text Removed Armor @desc The ID of the armor to delete. @type armor @default 1 @command openShop @text Open a shop @desc Open a shop. @arg shopName @text Shop name @desc The name of the shop. Can be a number. @default shop1 @arg sort @text Sorting Options @desc Sorting options when purchasing. @type select @default 2 @option Added order @value 0 @option Item ID order, weapon ID order, armor ID order @value 1 @option Sort by ID in selected category @value 2 @command deleteShop @text Delete Shop @desc Delete the shop. @arg shopName @text Shop name @desc The name of the shop. Can be a number. @default shop1 @command getNumItem @text Get inventory item count @desc Assign the number of items in stock to a variable. @arg shopName @text Shop name @desc The name of the shop. Can be a number. @default shop1 @arg itemId @text Item ID @desc The ID of the item to retrieve. @type item @default 1 @arg variableId @text Variable ID @desc The ID of the variable to which the number of items in stock will be assigned. @type variable @default 1 @command getNumWeapon @text Get number of weapons in stock @desc Assign the number of weapons in stock to a variable. @arg shopName @text Shop name @desc The name of the shop. Can be a number. @default shop1 @arg weaponId @text Weapon ID @desc The ID of the weapon to retrieve. @type weapon @default 1 @arg variableId @text Variable ID @desc The ID of the variable to which the number of items in stock will be assigned. @type variable @default 1 @command getNumArmor @text Get the number of armor in stock @desc Assign the number of armor pieces in stock to a variable. @arg shopName @text Shop name @desc The name of the shop. Can be a number. @default shop1 @arg armorId @text Armor ID @desc The ID of the armor to retrieve. @type armor @default 1 @arg variableId @text Variable ID @desc The ID of the variable to which the number of items in stock will be assigned. @type variable @default 1