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,368
Reaction score
1,403
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,464
Reaction score
5,591
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 Profile Posts

It's almost 3 month and this piece of drawing is still not finished yet.
aaaa.jpg

Really busy with other stuffs like commission and coping with personal problem.
Stella & Elyune, maybe used for promotional art if my game project finished one day.
My ex put my heart upon a self he said don't give me no lines and keep my hands to myself :,(
An Old... old Harold | RPG Maker News #71

Did a test on myself and I was negative on COVID. I was sitting near my aunt the whole time while doing stuff.

Forum statistics

Threads
112,248
Messages
1,066,816
Members
145,854
Latest member
markikilouis231
Top