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 Random Treasure - MNKR_RandomTreasure.js
Plugin desc : v1.0.1 Random Treasure Chest Plugin
License : MIT License
Author : munokura
Website : http://x.com/munokura
Desc page : https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_RandomTreasure.js
File name : MNKR_RandomTreasure.js
Help of plugin :
@target MZ @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_RandomTreasure.js @plugindesc v1.0.1 Random Treasure Chest Plugin @author munokura @license MIT License @help Random Treasure Chest Plugin This plugin makes it easy to implement a treasure chest that randomly acquires items. It simplifies the process of randomly acquiring items. Plugin Command: Prepare Gacha Processing Shop Processing Plugin Command: Acquire Item Use this plugin with the above settings. The shop processing will be replaced with the gacha information (items and number of wins). You can also obtain information about the last item acquired from $gameLastRandomTreasure . # Contact Information This plugin was originally created for RPG Maker MV and has been adapted for MZ. Please contact the modifier for any inquiries. # Terms of Use MIT License. http://opensource.org/licenses/mit-license.php You may modify and redistribute this plugin without permission, and there are no restrictions on its use (commercial, 18+, etc.). @param itemName @text Item name substitution variable @desc Variable to store the name of the acquired item @type variable @default 0 @param itemIcon @text Item icon number substitution variable @desc Variable to store the icon number of the acquired item @type variable @default 0 @param itemLot @text Item Gacha number assignment variable @desc A variable to store the number of gacha items obtained (used for effects based on rarity, etc.) @type variable @default 0 @command randomTreasure @text Random treasure chest action @desc Determines the action to be taken after the command. @arg action @text operation @desc Gacha processing preparation: Replace the following ”shop processing” with the gacha options and number / Item acquisition: Acquire the item drawn in the gacha @type select @default start @option Gacha processing preparation @value start @option Item Acquisition @value get