Yanfly's Equip Core - Optimize (and Optimize in general) in MV <RESOLVED>

Status
Not open for further replies.

marbeltoast

Your future fish emporer
Veteran
Joined
Nov 11, 2018
Messages
80
Reaction score
28
First Language
English
Primarily Uses
RMMV
Hey all!

I'll cut to the point. I don't like the fact that the weapon/armour equipment system in RPG maker MV has an "optimize" command for auto-equiping a character with high stat weapons and armour. I don't want it in my game for a cavalcade of reasons. Trouble is, I don't know how to get rid of it.

I am using Yanfly's Equip Core plugin, so that's an extra layer of complexity to the problem. Anyone who does know how to remove the command from this alternate equipment menu, please let me know!

Cheers, and have a nice day!


Forum choice note: I think this is the right forum for this, but I've got some doubts. I'm pretty sure this is more of a javascript issue, due to the fact that the solution would require knowledge of how the engine's code works and/or how the plugin's code works, but if I'm wrong, please do shift this to the appropriate forum.
 

ramza

Lunatic Coder
Veteran
Joined
Jan 28, 2013
Messages
776
Reaction score
487
First Language
English
Primarily Uses
RMMV
I'm not sure if you ever found an answer to this issue or not, but since I've found this thread, I took a look into it and this should do the trick.

JavaScript:
Window_EquipCommand.prototype.makeCommandList = function() {
    this.addCommand(TextManager.equip2,   'equip');
//    this.addCommand(TextManager.optimize, 'optimize');
    this.addCommand(TextManager.clear,    'clear');
};
Copy this text into a notepad, save it as a .js file and import it into your plugin manager above YEP_EquipCore. Basically, it just comments out the part of the core script that draws the optimize command, which should effectively remove it from the command window entirely.
 

marbeltoast

Your future fish emporer
Veteran
Joined
Nov 11, 2018
Messages
80
Reaction score
28
First Language
English
Primarily Uses
RMMV
Thanks fam! So, how do you want to be credited for this? Would just "Ramza" in the plugins section of the credits work for you, or do you have a preffered name you'd rather I use?
 

ramza

Lunatic Coder
Veteran
Joined
Jan 28, 2013
Messages
776
Reaction score
487
First Language
English
Primarily Uses
RMMV
Thanks fam! So, how do you want to be credited for this? Would just "Ramza" in the plugins section of the credits work for you, or do you have a preffered name you'd rather I use?
Ramza is fine if you want to credit me, but it's not really necessary for something as basic as this.
 

marbeltoast

Your future fish emporer
Veteran
Joined
Nov 11, 2018
Messages
80
Reaction score
28
First Language
English
Primarily Uses
RMMV
You might think so, but without this, a lot of things could go wrong with my design, so I feel like it's necessary. Again, thanks!
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,847
Messages
1,016,968
Members
137,561
Latest member
JaCrispy85
Top