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

  • Attach augment 1.png
    Attach augment 1.png
    29.9 KB · Views: 0
  • Attach augment 2.png
    Attach augment 2.png
    26.3 KB · Views: 0

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,501
Reaction score
727
First Language
indonesian
sorry can't help you... since that plugin is paywalled thus no one that not buying that plugin could help you...

you should ask the plugin creator yanfly directly instead...
check this link and follow his requirement first before asking...
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,007
Reaction score
1,521
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

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,007
Reaction score
1,521
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.
 

Latest Threads

Latest Posts

Latest Profile Posts

Is there any way to get more than 8 enemies in a troop in RMMV or is that limit pretty much hardcoded into the engine?
Stream will be live shortly with some game development! Feel free to drop by!
Finally working actively on Tundra! I'd like to share my wife's WIP art for the starting map and a rough draft of one of the later characters, Katrina. She's very eager to hear any feedback you might have!1623790662347.png
Got my first vax today, arm is a bit numb, but nothing odd so far. :kaopride:
dYOm9IY.jpg
image_2021-06-15_212613.png
Looks a bit.....kid friendly. Then again, I suppose that does with with a lot of retro themes... Crap, already spotted a flaw xD

Forum statistics

Threads
112,266
Messages
1,066,942
Members
145,882
Latest member
Vincentus
Top