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,587
Reaction score
880
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,587
Reaction score
880
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 Posts

Latest Profile Posts

I always told my DA fans how much I hate slot machines. They're fine in games as a risk-and-reward system. But when you're spending REAL MONEY in a Vegas casino to try and hit the jackpot (which very, very few people will), it can really hurt your budget. Gambling is a bad habit, and I don't like wasting my money on a slim chance. Go to Vegas for the experience, not the jackpot.
Took the kids to a corn maze. They gave us a map and had lights at certain points in the maze. Not overwhelming... or underwhelming... just... whelming.
Okay, vacuuming fruit flies out of the air is surprisingly effective.
Finally finished my menu redesign after like a month of coding! I hate designing menus... Good news though - I thought of a complete redesign for it now, so yay...
Still no scam calls all day... also I got a quick gig designing a mascot drawing for a small business, so I might actually make some green of my own after all. That would be a perfect job for me, since I love art and digital design.

Forum statistics

Threads
104,390
Messages
1,006,035
Members
135,919
Latest member
SuitonKoton
Top