MV Show Element Rate of equipment in menus

I'm using yanfly's ItemCore in my game, which changes to a menu that shows the parameter bonuses of equipment.
Since my game's equipment/weapons don't effect parameters I decided to disable it, which is fine for Items and Weapons as I can easily describe them in the default description, but the armours change a list of Element Rates and I don't have enough space to show them in the description.

What i want is a plugin to show the Element Rates (and possibly other stats) of Equipment in the Item and Equip menus, is there an existing plugin that does this?
If you have the base game elements, 8 in total (not counting physical), then that's the same as 8 parameters and you can show them like this:

Window_ItemStatus.prototype.drawEquipInfo = function(item) {
var rect = new Rectangle();
if (eval(Yanfly.Param.ItemShowIcon)) {
rect.width = (this.contents.width - Window_Base._faceWidth) / 2;
} else {
rect.width = this.contents.width / 2;
}
for (var i = 2; i < 10; ++i) {
rect = this.getRectPosition(rect, i-2);
var dx = rect.x + this.textPadding();
var dw = rect.width - this.textPadding() * 2;
this.changeTextColor(this.systemColor());
this.drawText($dataSystem.elements[i], dx, rect.y, dw);
var elementRate = item.traits.find(trait => trait.code === 11 && trait.dataId === i);
if (elementRate) {
var text = (elementRate.value * 100).toString() + "%";
if (elementRate.value > 1) {
this.changeTextColor(this.textColor(11));
} else {
this.changeTextColor(this.textColor(10));
}
} else {
this.changePaintOpacity(false);
var text = "100%"
}
this.drawText(text, dx, rect.y, dw, 'right');
this.changePaintOpacity(true);
}
};

EDIT: This is for item menu, don't know if equip menu needs something else.
If you have the base game elements, 8 in total (not counting physical), then that's the same as 8 parameters and you can show them like this:

Window_ItemStatus.prototype.drawEquipInfo = function(item) {
var rect = new Rectangle();
if (eval(Yanfly.Param.ItemShowIcon)) {
rect.width = (this.contents.width - Window_Base._faceWidth) / 2;
} else {
rect.width = this.contents.width / 2;
}
for (var i = 2; i < 10; ++i) {
rect = this.getRectPosition(rect, i-2);
var dx = rect.x + this.textPadding();
var dw = rect.width - this.textPadding() * 2;
this.changeTextColor(this.systemColor());
this.drawText($dataSystem.elements[i], dx, rect.y, dw);
var elementRate = item.traits.find(trait => trait.code === 11 && trait.dataId === i);
if (elementRate) {
var text = (elementRate.value * 100).toString() + "%";
if (elementRate.value > 1) {
this.changeTextColor(this.textColor(11));
} else {
this.changeTextColor(this.textColor(10));
}
} else {
this.changePaintOpacity(false);
var text = "100%"
}
this.drawText(text, dx, rect.y, dw, 'right');
this.changePaintOpacity(true);
}
};

EDIT: This is for item menu, don't know if equip menu needs something else.
Thanks! That works perfectly.
I found a plugin by DreamX that should help me with the rest

Original thread: https://forums.rpgmakerweb.com/threads/show-element-rate-of-equipment-in-menus.180963/