Get rid of Armors and Weapons tabs

● ARCHIVED · READ-ONLY
Started by doodlebound 2 posts View original ↗
  1. I'm making a game where I only really need the items and key items tabs, and I have no actual use for the Armors or Weapons. How can I make my items menu not show them?
  2. This is the function that creates the options in that window, so you can add this as a plugin and it will overwrite it:

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