How can I alter the order of the tabs in Item menu?

DiegoAngelGamer

Yanfly Follower
Veteran
Joined
Apr 15, 2019
Messages
33
Reaction score
10
First Language
Spanish/English
Primarily Uses
RMMV
Hello, I've been working around the Item menu and I want to alter the order of the tabs. (I have YEP_ItemCore installed)

When you enter the Items menu in my game (in Spanish) it shows up this:


As you see, the menu is:
Objetos
Arma
Armadura
Objeto clave

What if I want to change Objetos to Objeto clave?

- Diego
 

megumi014

Veteran
Veteran
Joined
Mar 8, 2017
Messages
130
Reaction score
212
First Language
Spanish
Primarily Uses
RMMV
I don't know if Yanfly's Core will affect this, but a way to change the order manually is open the rpg_windows.js file from the js folder of your game and go to Window_ItemCategory.prototype.makeCommandList.

rpg_windows.js Window_ItemCategory.png

And change the order. So for example if you want to switch the order of Objetos and Objetos claves write it like this:

Code:
Window_ItemCategory.prototype.makeCommandList = function() {
    this.addCommand(TextManager.keyItem, 'keyItem');
    this.addCommand(TextManager.weapon,  'weapon');
    this.addCommand(TextManager.armor,   'armor');
    this.addCommand(TextManager.item,    'item');
};
 

DiegoAngelGamer

Yanfly Follower
Veteran
Joined
Apr 15, 2019
Messages
33
Reaction score
10
First Language
Spanish/English
Primarily Uses
RMMV
Yeah, it works!!! You are the best, thank you!!!
 

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

Latest Threads

Latest Profile Posts

So I have a lighter work schedule next week. Is that a sign to move on to MZ?
I got a new rpg idea yesterday, titled "The Hero We Summoned to Save Us is a War Criminal from our Past?!"
Work on Yanfly's MZ plug-ins is coming along nicely. Looking forward to getting them: http://www.yanfly.moe/wiki/Core_Engine_VisuStella_MZ
so uh variables can only be used for num lol? I guess I gotta fix that once MZ come out lol

Forum statistics

Threads
100,726
Messages
978,830
Members
132,353
Latest member
BM_ANDERSON
Top