Hey all.
Like the title says, I'm using Triancontane's Zweihander plugin.
It seems to apply the effects of the plugin if a weapon in slot 1 seals slot 2, which is well and good.
What I would like is for the second slot to not just be 'greyed out' but have the weapon name appear there as well, so you can visually see that weapon is taking both hands to use.
I currently also have this bit of code edited to label empty slots with "Empty," in case this would affect any js that will do what I'd like.
Again, any and all help is appreciated! Thanks!
Like the title says, I'm using Triancontane's Zweihander plugin.
It seems to apply the effects of the plugin if a weapon in slot 1 seals slot 2, which is well and good.
What I would like is for the second slot to not just be 'greyed out' but have the weapon name appear there as well, so you can visually see that weapon is taking both hands to use.
I currently also have this bit of code edited to label empty slots with "Empty," in case this would affect any js that will do what I'd like.
Code:
Window_EquipSlot.prototype.drawItem = function(index) {
if (this._actor) {
const slotName = this.actorSlotName(this._actor, index);
const item = this.itemAt(index);
const slotNameWidth = this.slotNameWidth();
const rect = this.itemLineRect(index);
const itemWidth = rect.width - slotNameWidth;
const itemNameY = rect.y + 3;
this.changeTextColor(ColorManager.systemColor());
this.changePaintOpacity(this.isEnabled(index));
this.drawText(slotName, rect.x, rect.y, slotNameWidth, rect.height);
if (item) {
this.drawItemName(item, rect.x + slotNameWidth, itemNameY, itemWidth);
} else {
this.drawText('Empty', rect.x + slotNameWidth, itemNameY, itemWidth);
}
this.changePaintOpacity(true);
}
};
Again, any and all help is appreciated! Thanks!