- Joined
- Jun 13, 2019
- Messages
- 6
- Reaction score
- 1
- First Language
- English
- Primarily Uses
- RMMV
Hello, I was wondering if anyone could help me with this. So with the Attachable Augments plugin http://www.yanfly.moe/wiki/Attachable_Augments_(YEP), the text when selecting an augment, will take the color change from http://www.yanfly.moe/wiki/Item_Core_(YEP) like the image below.
But once you equip the item, it will become white, or whatever you set as the color in the plugins parameter, like the image below, which the problem is I would like to have the individual colors, rather then all the same text/color.
As far as I could find, this is the code in the script that displays the text, but I have no idea how to make it use the Item cores, if anyone can help or know how to change this, would be much appreciated.
But once you equip the item, it will become white, or whatever you set as the color in the plugins parameter, like the image below, which the problem is I would like to have the individual colors, rather then all the same text/color.
As far as I could find, this is the code in the script that displays the text, but I have no idea how to make it use the Item cores, if anyone can help or know how to change this, would be much appreciated.
Window_ItemActionCommand.prototype.addAugmentSlots = function() {
ItemManager.checkAugmentSlots(this._item);
var length = this._item.augmentSlots.length;
for (var i = 0; i < length; ++i) {
var enabled = this._item.augmentSlotEnable;
var fmt = Yanfly.Param.AugmentSlotFmt;
var slot = this._item.augmentSlots;
var name = this.getAugmentSlotItemName(i);
var text = fmt.format(slot, name);
this.addCommand(text, 'augment', enabled, i);
}
this.changePaintOpacity(true);
};
ItemManager.checkAugmentSlots(this._item);
var length = this._item.augmentSlots.length;
for (var i = 0; i < length; ++i) {
var enabled = this._item.augmentSlotEnable;
var fmt = Yanfly.Param.AugmentSlotFmt;
var slot = this._item.augmentSlots;
var name = this.getAugmentSlotItemName(i);
var text = fmt.format(slot, name);
this.addCommand(text, 'augment', enabled, i);
}
this.changePaintOpacity(true);
};
Attachments
-
29.9 KB Views: 0
-
26.3 KB Views: 0

