That's exactly what I was looking for, thank you.
@LunaFamiliar To hide the parameter, comment out line 921:
JavaScript:this.drawText(text, 0, this.lineHeight(), this.contents.width, 'center');
Next, to make the "Can't Equip" text red, look for the function starting on line 1019. Replace it with this:
Code
JavaScript:Window_ShopStatus.prototype.drawActorEquipInfo = function(x, y, actor) {
var enabled = actor.canEquip(this._item);
this.changePaintOpacity(enabled);
this.resetTextColor();
this.resetFontSettings();
this.drawText(actor.name(), x, y, this.contents.width - x);
var item1 = this.currentEquippedItem(actor, this._item.etypeId);
if (enabled) {
this.contents.fontSize = Yanfly.Param.ShopStatFontSize;
this.drawActorParamChange(x, y, actor, item1);
} else {
this.contents.fontSize = Yanfly.Param.ShopCantSize;
var ww = this.contents.width - this.textPadding();
this.drawText('\\c[10]Can\'t Equip\\c[0]', x, y, ww, 'right');
}
this.changePaintOpacity(true);
};
The change is on line 14 of the above code.
To change the "Possession" text, look to the "Terms" tab of the Database. In the list on the right-hand side, the 7th from the top entry will let you change the text to your liking.
As for the adding of the equipped, that is still going to take me some time.
@LunaFamiliar Sorry to spam you but I forgot to add this code:
Consistent Colors
JavaScript:Window_ShopStatus.prototype.drawActorParamChange =
function(x, y, actor, item1) {
var width = this.contents.width - this.textPadding() - x;
var paramId = this.paramId();
var change = this._item.params[paramId]
change -= (item1 ? item1.params[paramId] : 0);
var itemId = this._item.id;
var equips = [];
this.changeTextColor(this.paramchangeTextColor(change));
var text = (change > 0 ? '+' : '') + Yanfly.Util.toGroup(change);
for (i = 0; i < actor.equips().length - 1; i++) {
if (actor.equips()[i] !== null) {
equips.push(actor.equips()[i].baseItemId);
}
}
if (equips.contains(itemId)) {
text = 'Equipped';
} else if (actor.canEquip(this._item)) {
text = '\\c[3]Can Equip\\c[0]';
}
this.drawText(text, x, y, width, 'right');
};
The above code should make the colors consistent with the equip status. You may notice I removed the final 'else' handler, as it appears to not be needed.