Jump to content

Item description color


Go to solution Solved by Crow,

Recommended Posts

Dear Devs,

I want to change the color of my item descriptions.

Currently, they are at the base, more gray or semi-white. I want them to be completely white.

I found this line in uitooltip.py:

		### Description ###
		self.AppendDescription(itemDesc, 26)
		self.AppendDescription(itemSummary, 26, self.CONDITION_COLOR)

If I do itemDesc as an example of itemSummary, nothing happens.

Does anyone know where these might be colored?

In itemdesc.txt I tried the following: |cffffffffdescriptionhere...   But it did not become whiter, and even |c. text was written in front of it.

Hope someone can help.

Sincerely, Crow

Edited by Crow
Link to comment
Share on other sites

  • Solution

edit: I solved it.

first:

### Description ###
		self.AppendDescription(itemDesc, 26, self.NORMAL_COLOR)

There was a second one:

### Hair Preview Image ###
		if self.__IsHair(itemVnum):	
			self.__AppendHairIcon(itemVnum)

		### Description ###
		self.AppendDescription(itemDesc, 26, self.NORMAL_COLOR)

They are not snow-white, but.. Then I'll look at a different, easier to read color.

 

 

Thank you. Maybe I should look at the client source as well. I might find something about itemSummary and make itemDesc based on it.

Edited by Crow
  • Good 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.