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,367
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,463
Reaction score
5,589
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

Hike was successful guys! I made it to the top!
Add Film-like Visual Effects During Test-Play, Deploy Games with Electron | RPG Maker News #69

brain broken as soon as i figure out whats wrong with my game im taking a long nap
Hey guys anyone is interested in playing my game? Just PM me and I'll give you a Steam key! Here's my latest video! ->
cst.PNG
What would you assume this thing was/is?

Forum statistics

Threads
112,182
Messages
1,066,418
Members
145,777
Latest member
rag1993
Top