Status
Not open for further replies.

Ameer

Veteran
Veteran
Joined
Oct 13, 2018
Messages
85
Reaction score
13
First Language
English
Primarily Uses
RMMV
Hey I don't want armors in my game so is there a way I can remove armor option in items menu
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,421
Reaction score
1,436
First Language
Spanish
Primarily Uses
RMVXA
Code:
Window_ItemCategory.prototype.makeCommandList = function() {
    this.addCommand(TextManager.item,    'item');
    this.addCommand(TextManager.weapon,  'weapon');
    this.addCommand(TextManager.armor,   'armor');  // delete or comment out
    this.addCommand(TextManager.keyItem, 'keyItem');
};

Window_ItemCategory.prototype.maxCols = function() {
    return 4;  //return 3
};
 

PHAZE7

Veteran
Veteran
Joined
Jan 25, 2016
Messages
42
Reaction score
22
First Language
Portuguese
Primarily Uses
RMVXA
Code:
Window_ItemCategory.prototype.makeCommandList = function() {
    this.addCommand(TextManager.item,    'item');
    this.addCommand(TextManager.weapon,  'weapon');
    this.addCommand(TextManager.armor,   'armor');  // delete or comment out
    this.addCommand(TextManager.keyItem, 'keyItem');
};

Window_ItemCategory.prototype.maxCols = function() {
    return 4;  //return 3
};

Adding to this, for OP's benefit, this code can be found in rpg_windows.js inside the js folder in your project folder.
 

Ameer

Veteran
Veteran
Joined
Oct 13, 2018
Messages
85
Reaction score
13
First Language
English
Primarily Uses
RMMV
@PHAZE7 Thanks for suggestion but it messed up my custom menu layout
@gstv87 Thanks it worked
@PHAZE7 Thanks i updated code
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
8,738
Reaction score
5,764
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

welp, I literally can't continue working on ALEX now that my MZ trial is up (unless I somehow place in the jam which I don't remotely deserve to for my unfinished crap) so I am back on my bullshit
some test stuff. Empty for now. My other project (this project) needs more attention. The lagging really kicks up when I try to capture gameplay. ✨
Real-Time Battles, Pixel Filter, Animate Cursor & Menus & Windows | RPG Maker News #114

When your side job becomes more interesting than your dayjob and you think "do I quit again or finally actually do the same thing for more than five consecutive years..." I don't think I'll ever be able to say that though, I just cannot stick with one thing like you're 'supposed to'.
Does the word "research" imply that you're searching for something that had been found before?

Forum statistics

Threads
113,879
Messages
1,078,153
Members
147,969
Latest member
mvkgant
Top