RMMV Attachable Augments (YEP) Text Color Help

Jeremyr

Villager
Member
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.

Attach augment 1.png

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.
Attach augment 2.png

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);
};
 

Attachments

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,611
Reaction score
887
First Language
Dutch
Primarily Uses
RMMV
how did you set it up in the editor? do you use color text plugin?
like TSR_TextColorAddon or rarity color? or a different color?

if not, then there is a compability issue, or need to add the function
in order to work.
 

Jeremyr

Villager
Member
Joined
Jun 13, 2019
Messages
6
Reaction score
1
First Language
English
Primarily Uses
RMMV
I just use yanfly Item core to change the item color with <Text Color: x>.

It looks like, something very similar, to what the rarity color plugin you linked did, is what needs to be done to make this work.
 

Jeremyr

Villager
Member
Joined
Jun 13, 2019
Messages
6
Reaction score
1
First Language
English
Primarily Uses
RMMV

ShadowDragon

Veteran
Veteran
Joined
Oct 8, 2018
Messages
2,611
Reaction score
887
First Language
Dutch
Primarily Uses
RMMV
TSR_TextColorAddon cna change color from message, menu, skills, items, etc,
if it wasn't working, he could make a compability for it so it will work :)

but it works alot and better than rarity color as well :) (if you ask me).

but if it's working for you, good luck on your project further :)
 

Jeremyr

Villager
Member
Joined
Jun 13, 2019
Messages
6
Reaction score
1
First Language
English
Primarily Uses
RMMV
TSR_TextColorAddon cna change color from message, menu, skills, items, etc,
if it wasn't working, he could make a compability for it so it will work :)

but it works alot and better than rarity color as well :) (if you ask me).

but if it's working for you, good luck on your project further :)
Thank you and thanks for letting me know of the plugin.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts


230 paths... roughly 250 light sources on the screen... One serious lag fiesta... But I finally got it all the screen at once. I guess I could have also just made an event to spawn each one in exactly the location I needed, but that's sooo much less fun. :LZSwink:
A wee radio thing I made months and months and months ago. 2020 has felt like such a long year. Maybe made this before 2020.IDK anymore.

Made this one much more recently.
Stream will be live shortly with a surprise session of the Interactive Text Adventure! Feel free to drop by!

Forum statistics

Threads
104,497
Messages
1,006,723
Members
135,996
Latest member
lunette
Top