How would I do this? I don't really like the functions to begin with, and some of my weapons and armors actually impose decreased stats to balance out higher values in others (i.e., my heavy armors reduce AGI), which would mess with the Optimize function. I'd imagine it's somewhere in the json file, but I don't know enough about JavaScript to know what I should be looking for. If anyone can help, I'd appreciate it XD
Removing Optimize and Clear Equipment with Yanfly Equip Core?
RPG Maker MV SupportI don't know if there's a way to remove optimize from plugin commands. If there isn't, the part that makes the command is in rpg_windows and is called "this.addCommand(TextManager.optimize, 'optimize');" inside Window_EquipCommand.prototype.makeCommandlList. If that wasn't there, then there wouldn't be an optimize command.
In rpg_windows.js
go to 2355 and 2356 you will find
this.addCommand(TextManager.optimize, 'optimize');
this.addCommand(TextManager.clear, 'clear');
you can delete it or put // before them
go to 2355 and 2356 you will find
this.addCommand(TextManager.optimize, 'optimize');
this.addCommand(TextManager.clear, 'clear');
you can delete it or put // before them
Yeah, when I did that it messed the plug-in up... :/
Though, I do suppose that, the way I've changed my gear system, I don't really even NEED the Equip Core anymore haha XD
Though, I do suppose that, the way I've changed my gear system, I don't really even NEED the Equip Core anymore haha XD
You don't need to edit the plugin parameters - my mistake. For some reason I thought you wanted the Finish command gone, too - not sure why I thought that. Make sure you set Remove Icon back to 16, too, to see if that's your problem with Undefined. Did you make any changes in rpg_windows? (I tried commenting in there as mrcopra suggested and that worked fine, too).
Your plugin version is a bit behind, too - that might be causing some problems.
Your plugin version is a bit behind, too - that might be causing some problems.
Original thread: https://forums.rpgmakerweb.com/threads/removing-optimize-and-clear-equipment-with-yanfly-equip-core.65034/


