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

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

MZ plugins

Item Combination MZ - ItemCombinationMZ.js

Plugin desc : [Ver1.1.0]Creates an item combination system.

License : MIT License

Author : Sasuke KANNAZUKI, Jeremy Cannady

Website : https://www.rpgmakerweb.com/products/rpg-maker-mz

Download Page :  C:Program Files (x86)SteamsteamappscommonRPG Maker MZdlcBasicResourcespluginslaunch ItemCombinationMZ.js

File name : ItemCombinationMZ.js

Help of plugin :

* @target MZ
 * @plugindesc [Ver1.1.0]Creates an item combination system.
 * @author Sasuke KANNAZUKI, Jeremy Cannady
 *
 * @param doesAddMenuCommand
 * @text Can Call From Menu Command?
 * @desc Select "No" If It Calls The Scene from Map Directly and It Needs To Hide Command from Menu.
 * @type boolean
 * @on Yes
 * @off No
 * @default true
 *
 * @param dummy4text
 * @text [Text Settings]
 * @desc
 *
 * @param commandName
 * @parent dummy4text
 * @text Command Name
 * @desc Name That Displays At Main Menu
 * @type string
 * @default Combine
 *
 * @param requiredItemText
 * @parent dummy4text
 * @text Required Ingredients
 * @desc The Text That Means "Required Ingredients".
 * @type string
 * @default Required Ingredients :
 *
 * @param combineText
 * @parent dummy4text
 * @text Text of Combine
 * @desc Text That Displays On The Button At Combination Menu
 * @type string
 * @default Combine
 *
 * @param failureText
 * @parent dummy4text
 * @text Text of Failure Item
 * @desc The string that means "item obtains when combine is failure". Set empty not to display item.
 * @type string
 * @default Item Gets When Failure :
 *
 * @command callMenu
 * @text Open Combination Scene
 * @desc Open Item Combination Scene Directly from Map
 *
 * @command learn
 * @text Learn Recipe
 * @desc Learn Recipe for Specified Items
 *
 * @arg itemIds
 * @text Target Items
 * @desc Items to Learn Its Recipe
 * @type item[]
 * @default []
 *
 * @command forget
 * @text Forget Recipe
 * @desc Forget Recipe for Specified Items
 *
 * @arg itemIds
 * @text Target Items
 * @desc Items To Forget Its Recipe
 * @type item[]
 * @default []
 *
 * @command changeChance
 * @text Change Success Rate
 * @desc Change Success Rate for Specified Items
 *
 * @arg itemIds
 * @text Target Items
 * @desc Items To Change Success Rate
 * @type item[]
 * @default []
 *
 * @arg chance
 * @text Success Rate
 * @desc set between 0 and 1. Set 1 to Success Always.
 * @type number
 * @decimals 2
 * @max 1.00
 * @min 0.00
 * @default 1.00
 *
 * @command setEnable
 * @text Enable To Combine?
 * @desc If It Sets False, It Becomes Disable to Item Combination.
 * @type boolean
 * @on Enable
 * @off Disable
 * @default true
 *
 * @arg isEnable
 * @text Validate?
 * @type boolean
 * @on Enable
 * @off Disable
 * @default true
 *
 * @help 
 * This plugin runs under RPG Maker MZ.
 *
 * [Summary]
 * This plugin adds Combine command to main menu.
 * At combine scene, you can do it.
 *
 * NOTE: The command is not added if party doesn't learn any recipies.
 *
 * [NoteTags]
 * Write down following setting in the note of object item:
 * <comboChance:0.95>      where 0.95 is 95%
 * <comboIngredient1:1,1>  where you require one item #1 
 * <comboIngredient2:2,3>	 where you require three of item #2
 * <comboFail:4>           If you fail you make item #4
 *
 * Note: It can set comboIngredient tag at most 5 (comboIngredient5).
 *
 * [Plugin Commands]
 * NOTE: If comboChance Tag Is Not Written in Note, The Item Is Invalid.
 *
 * There's following 5 plugin commands:
 * - Call Item Combination Scene Directly from Map Scene (Since Ver1.1.0)
 * - Learn New Recipe
 *   Be Sure to Run This in Order to Validate Item Combination.
 * - Forget Recipe
 * - Change The Success Rate to Combine
 * - Toggle to Enable/Disable to Do the Item Combination.
 *
 * [Display Failure Item] (since Ver1.1.0)
 * It displays the item that when combination failed.
 * But it doesn't display when...
 * - it sets the parameter "Text of Failure Item" empty string.
 * - it doesn't describe comboFail tag on its note.
 * - comboChance is set >= 1. (i.e. Success Always)
 *
 * [License]
 * this plugin is released under MIT license.
 * http://opensource.org/licenses/mit-license.php

スポンサードリンク

-MZ plugins

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