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

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

MZ plugins

PANDA Find Item Event - PANDA_FindItemEvent.js

Plugin desc : standardize item finding events.

License : MIT License

Author : panda(werepanda.jp)

Website : https://www.werepanda.jp/

Desc page : http://www.werepanda.jp/blog/20200828185317.html

File name : PANDA_FindItemEvent.js

Help of plugin :

* @target MZ
 * @plugindesc standardize item finding events.
 * @author panda(werepanda.jp)
 * @url http://www.werepanda.jp/blog/20200828185317.html
 * 
 * @help It will be helpful to install "PANDA_ConvertDataName.js" together.
 * 
 * [How to Use]
 * Input "Type character + Item ID number" in the Event Name.
 * When the Plugin Command "Find Item" is executed,
 * the player gets the Money or Item specified in the Event Name,
 * and you can get the Type number of the item in "Type Number Variable",
 * and also you can get the Item number in "Item Number Variable"
 * specified in the parameters of this plugin.
 * You can use a Common Event for the SE or messages etc. when getting items,
 * also it is easy to change the content of treasure boxes.
 * 
 * Type character and Type number
 *  g = 1 : gold (amount instead of item ID number)
 *  i = 2 : item
 *  w = 3 : weapon
 *  a = 4 : armor
 *  e = 5 : troop
 * 
 * [Example]
 * If you input "i15" as the Event Name, you can get an Item number 15,
 * you can get 2 in "Type Number Variable" and 15 in "Item Number Variable".
 * You can show the Item Name by entering "¥item[¥V[n]]",
 * if you have installed "PANDA_ConvertDataName.js".
 * 
 * [License]
 * this plugin is released under MIT license.
 * https://opensource.org/licenses/mit-license.php
 * 
 * @param TypeVarID
 * @text Type Number Variable ID
 * @desc The ID number of variables to get Type number.
 * @default 9
 * @type variable
 * 
 * @param ItemVarID
 * @text Item Number Variable ID
 * @desc The ID number of variables to get Item number.
 * @default 10
 * @type variable
 * 
 * @command FIND_ITEM
 * @text Find Item
 * @desc Get the item specified by the event name and get the type and item ID in the variables specified in the plugin parameters.

スポンサードリンク

-MZ plugins

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