You're awesome, thank you so much. I went ahead and created a new file, and it works like a charm.
If you could figure out a way to make it use up a turn, that would be incredible!
I appreciate this so much! This is a great feature that I've been trying to implement but failing. It works beautifully. How should I credit you?
As your handle here, or full name?
Oh, one thing! The file has the .js extension twice, so anyone downloading it should rename and pull one of those off.
Thanks for pointing that out. I'll correct it.
As for thanks, my handle here will be fine.
Glad to have been able to help!
I tried this plugin with MV and found a bug. When you select equip and then equip again in battle then the game breaks.
Would there be a way to remove certain equip slots from the menu in battle? I have a few custom equip slots and I'd prefer the equip menu to just be those instead of including the default ones (Weapon, Accessory, Head, Body) as well. I'm aware you can disable them and I do have them disabled, but I'd rather them not be there at all.
I'm getting this error when trying to equip stuff. Seems to be another Yanfly issue.
YEP_CoreEngine.js:1098
TypeError: Cannot read property 'setObject' of undefined
at Game_Actor.forceChangeEquip (rpg_objects.js:3638)
at Window_EquipItem.updateHelp (rpg_windows.js:2502)
at Window_EquipItem.Window_Selectable.callUpdateHelp (rpg_windows.js:1233)
at Window_EquipItem.Window_Selectable.select (rpg_windows.js:797)
at Window_EquipItem.Window_Selectable.reselect (rpg_windows.js:805)
at Window_EquipItem.Window_Selectable.activate (rpg_windows.js:784)
at Scene_Battle.onSlotOk (Equip Battle Command.js:403)
at Window_EquipSlot.Window_Selectable.callHandler (rpg_windows.js:902)
at Window_EquipSlot.Window_Selectable.callOkHandler (rpg_windows.js:1171)
at Window_EquipSlot.Window_Selectable.processOk (rpg_windows.js:1156)
SceneManager.catchException @ YEP_CoreEngine.js:1098