Weapon Names Greyed Out in Inventory Menu/Scene

My game only has equipable accessories so I'm using the Weapons tab as a Tutorials/Field guide tab by changing the terms. Sadly, the names of the Field Guide entries appear grey. It's not the end of the world, but changing to white would be great.

I wanted to ask what governs whether weapons appear greyed out in the inventory menu. Is it possible to have them appear white like usable items do? I've tried making the field guide entries a weapon type equipable by the player but that didn't seem to affect it.

1702327914301.png
They're grey because they can't be used.

Paste the below into a text editor, save as a *.js file and include as a plugin. It should cause weapons to print as white.

Code:
Window_ItemList.prototype.drawItem = function(index) {
    var item = this._data[index];
    if (item) {
        var numberWidth = this.numberWidth();
        var rect = this.itemRect(index);
        rect.width -= this.textPadding();
        this.changePaintOpacity(this.isEnabled(item) || this._category == "weapon");
        this.drawItemName(item, rect.x, rect.y, rect.width - numberWidth);
        this.drawItemNumber(item, rect.x, rect.y, rect.width);
        this.changePaintOpacity(1);
    }
};
They're grey because they can't be used.

Paste the below into a text editor, save as a *.js file and include as a plugin. It should cause weapons to print as white.

Code:
Window_ItemList.prototype.drawItem = function(index) {
    var item = this._data[index];
    if (item) {
        var numberWidth = this.numberWidth();
        var rect = this.itemRect(index);
        rect.width -= this.textPadding();
        this.changePaintOpacity(this.isEnabled(item) || this._category == "weapon");
        this.drawItemName(item, rect.x, rect.y, rect.width - numberWidth);
        this.drawItemNumber(item, rect.x, rect.y, rect.width);
        this.changePaintOpacity(1);
    }
};
It looks like it worked!

1702331843234.png


Should use your username, ATT_Turan, to credit you in the plugin credits? As well, please let me know if you have any additional use stipulations and preferences. Thank you so much. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/weapon-names-greyed-out-in-inventory-menu-scene.163771/