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 Change Equipment - NRP_ChangeEquipment.js

Plugin desc : v1.03 Change the actor's equipment at will.

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_ChangeEquipment.js

Desc page : http://newrpg.seesaa.net/article/489100727.html

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

File name : NRP_ChangeEquipment.js

Help of plugin :

Change the actor's equipment at will.
 * 
 * The normal event command "Change Equipment" can only select equipment
 * that the actor himself or his initial class is capable of.
 * 
 * In other words, if an actor changes classes in the middle of the game,
 * or if the equipment is extended by some plugin,
 * you will not be able to select a valid equipment.
 * 
 * With this plugin, you can change equipment without those restrictions.
 * 
 * -------------------------------------------------------------------
 * [Plugin Commands MZ]
 * -------------------------------------------------------------------
 * ◆ChangeEquipmentAuto
 * Change the actor's equipment.
 * WeaponId/ArmorId/ItemId only needs to be specified for one of them.
 * 
 * The slot to equip is automatically obtained from the item data.
 * If there are multiple identical equipment types, such as Dual Wield,
 * the equipment location can be selected by the OrderNo.
 *
 * Both items can be formulated by changing to text mode.
 * Example: "$gameVariables.value(1)" is the value of variable 1.
 * 
 * ◆ReleaseEquipment
 * Release the actor's equipment.
 * If EquipType and OrderNo are unspecified, all are targeted.
 * ※"EquipType" corresponds to the registered value in the database.
 * (Default: 1:Weapon, 2:Shield, 3:Head, 4:Body, 5:Accessory)
 * 
 * ◆ChangeEquipment(Old)
 * The equipment type must be specified here.
 * ※"EquipType" corresponds to the registered value in the database.
 * (Default: 1:Weapon, 2:Shield, 3:Head, 4:Body, 5:Accessory)
 * 
 * If the equipment slot has been changed by an external plugin,
 * it is not recommended because there is a problem
 * that the equipment cannot be changed properly.
 * 
 * -------------------------------------------------------------------
 * [Notice]
 * -------------------------------------------------------------------
 * As with regular "Change Equipment",
 * you cannot equip items that are not owned by the player.
 * Do not forget to "Change Weapons/Armors" first if necessary.
 * 
 * Also, actors cannot be forced to equip items
 * that they are currently unable to equip.
 * 
 * -------------------------------------------------------------------
 * [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 Commands]
 * @------------------------------------------------------------------
 * 
 * @command ChangeEquipmentAuto
 * @desc Change the actor's equipment.
 * Only one WeaponId/ArmorId/ItemId should be specified.
 * 
 * @arg ActorId
 * @type actor
 * @desc Actor to change equipment.
 * 
 * @arg WeaponId
 * @type weapon
 * @desc Weapon to be equipped.
 * 
 * @arg ArmorId
 * @type armor
 * @desc Armor to be equipped.
 * 
 * @arg ItemId
 * @type item
 * @desc Item to be equipped.
 * Use with a plugin that can equip items.
 * 
 * @arg OrderNo
 * @type number
 * @min 1
 * @desc The order in which the same equip types are present.
 * For example, specify 2 for the lower side of Dual Wield.
 * 
 * @------------------------------------------------------------------
 * 
 * @command ReleaseEquipment
 * @desc Release the actor's equipment. If EquipType and OrderNo are unspecified, all are targeted.
 * 
 * @arg ActorId
 * @type actor
 * @desc Actor to change equipment.
 * 
 * @arg EquipType
 * @type number
 * @min 1
 * @desc Equipment Type. Below are the default values for DB.
 * (1:Weapon, 2:Shield, 3:Head, 4:Body, 5:Accessory)
 * 
 * @arg OrderNo
 * @type number
 * @min 1
 * @desc The order in which the same equip types are present.
 * For example, specify 2 for the lower side of Dual Wield.
 * 
 * @------------------------------------------------------------------
 * 
 * @command ChangeEquipment
 * @text ChangeEquipment(Old)
 * @desc Change the actor's equipment.
 * Only one WeaponId/ArmorId/ItemId should be specified.
 * 
 * @arg ActorId
 * @type actor
 * @desc Actor to change equipment.
 * 
 * @arg EquipType
 * @type number
 * @min 1
 * @desc Equipment Type. Below are the default values for DB.
 * (1:Weapon, 2:Shield, 3:Head, 4:Body, 5:Accessory)
 * 
 * @arg WeaponId
 * @type weapon
 * @desc Weapon to be equipped.
 * 
 * @arg ArmorId
 * @type armor
 * @desc Armor to be equipped.
 * 
 * @arg ItemId
 * @type item
 * @desc Item to be equipped.
 * Use with a plugin that can equip items.
 * 
 * @------------------------------------------------------------------
 * @ [Plugin Parameters]
 * @------------------------------------------------------------------

スポンサードリンク

-MZ plugins

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