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

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

MZ plugins

NRP Custom Optimize - NRP_CustomOptimize.js

Plugin desc : v1.001 Customize Optimize function.

License :
・Copyright: Retained
・Commercial Use: Allowed
・Modification: Allowed
・Redistribution: Allowed
・Details: See Download Page / In-plugin documentation

Author : Takeshi Sunagawa (http://newrpg.seesaa.net/)

Website : https://github.com/NewRPGProject/MZMV_Plugin/blob/main/NRP_CustomOptimize.js

Desc page : https://newrpg.seesaa.net/article/489626316.html

Download Page : https://raw.githubusercontent.com/NewRPGProject/MZMV_Plugin/main/NRP_CustomOptimize.js

File name : NRP_CustomOptimize.js

Help of plugin :

Customize Optimize function.
 * There are two main functions
 * 
 * ◆Limited Optimize equipment type
 * Normally, the Optimize & Clear function
 * on the equipment scene covers all equipment slots.
 * 
 * The plugin allows you to limit
 * the scope of Optimize (and Clear) by equipment type.
 * 
 * ◆Hide Optimize area & make a separate window
 * Omit the optimize area so that the equipment can be changed
 * from the beginning.
 * The optimize area can be called up as a separate window
 * by pressing Shift or other keys.
 * 
 * In doing so, the Optimize area can be set to
 * a more detailed function than usual.
 * For example, "All Optimize", "Optimize Excluding Accessories",
 * "All Clear", "Clear Excluding Accessories",
 * and many other functions can be provided.
 * 
 * -------------------------------------------------------------------
 * [Usage]
 * -------------------------------------------------------------------
 * The setting method varies depending
 * on the two functions described above.
 * It does not make sense to set both.
 * 
 * ◆Limited Optimize equipment type
 * Set the equipment types you want to target
 * in the "OptimizeEquipmentType" and "ClearEquipmentType" fields.
 * 
 * ◆Hide Optimize area & make a separate window
 * Turn on "HideOptimizeArea".
 * 
 * In addition, the contents registered
 * in "OptimizeCommandList" can be called up as a separate window.
 * You can set the equipment type you want to target
 * for each registered command.
 * 
 * Note that "Optimize" and "Clear" are registered
 * from the initial state.
 * 
 * -------------------------------------------------------------------
 * [Terms]
 * -------------------------------------------------------------------
 * There are no restrictions.
 * Modification, redistribution freedom, commercial availability,
 * and rights indication are also optional.
 * The author is not responsible,
 * but will deal with defects to the extent possible.
 * 
 * @-----------------------------------------------------
 * @ [Plugin Parameters]
 * @-----------------------------------------------------
 * 
 * @param OptimizeEquipmentType
 * @type string
 * @desc Equipment type to be covered by Optimize. If blank, all. Multiple can be specified. (e.g.: 4,6)
 * 
 * @param ClearEquipmentType
 * @type string
 * @desc Equipment type to be covered by Clear. If blank, all. Multiple can be specified. (e.g.: 4,6)
 * 
 * @param SlotActorSwitch
 * @type boolean
 * @default true
 * @desc Actor switching by Pageup and Pagedown is also enabled when changing equipment slots.
 * 
 * @param HideOptimizeArea
 * @type boolean
 * @default false
 * @desc Hides the Optimize area and goes directly to selecting an equipment slot.
 * 
 * @param OptimizeKey
 * @parent HideOptimizeArea
 * @default shift
 * @type select
 * @option Invalid @value
 * @option shift
 * @option control
 * @option tab
 * @desc If the Optimize area is hidden, this key is used to open it in a separate window.
 * 
 * @param OptimizeCommandList
 * @parent HideOptimizeArea
 * @type struct<Optimize>[]
 * @default ["{¥"Name¥":¥"Optimize¥",¥"EquipOrRelease¥":¥"equip¥",¥"TargetEquipmentType¥":¥"¥"}","{¥"Name¥":¥"Clear¥",¥"EquipOrRelease¥":¥"release¥",¥"TargetEquipmentType¥":¥"¥"}"]
 * @desc List of commands to be displayed in the window for Optimize.

スポンサードリンク

-MZ plugins

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