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,574
Reaction score
875
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,574
Reaction score
875
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

Ami
--- Diary ---

M.Mage: It's the F.Mage's Diary. While she isn't here,i can read it.

May, 10: I'm hurt after the battle with the Minotaur. But luckily,F.Healer heal me with her Heal-2. That why,i Fall in Love with her.

M.Mage: Eh???
So... some of my Desktop hardware has kicked it apparently (still trying to figure out what and how at the moment :/ ) .... yay?
Stream will be live shortly with some Darkest Dungeon! Feel free to drop by!
Made a HUGE (YYOOOOJJ) Update to Monstructs and moving towards a Steam Early Access release!

Forum statistics

Threads
104,225
Messages
1,004,813
Members
135,741
Latest member
touchegambling
Top