Active Member Mind Rapist 188 Posted July 23, 2016 Active Member Share Posted July 23, 2016 Hello devs, is there a release tut about this? It's just a little yellow message above the price of the item Thanks in advance Link to comment Share on other sites More sharing options...
Denis 1474 Posted July 24, 2016 Share Posted July 24, 2016 uitooltip..py AppendSellingPrice/AppendPrice 2 Link to comment Share on other sites More sharing options...
VegaS 1087 Posted July 24, 2016 Share Posted July 24, 2016 Here is a small check: s_Color = [0xffFFC700, 0xffFFC700] if (12010 <= itemVnum and itemVnum <= 12019): # 12010 | 12011 | 12012 | 12013 | 12014 | 12015 | 12016 | 12017 | 12018 | 12019 self.AppendTextLine("Description for item 12019 <= 12019!", s_Color[0]) if (1 <= itemVnum and itemVnum <= 20009): # 1 | 2 | 3 | 4 | 5 etc etc...max 20009 self.AppendTextLine("Description for all items!", s_Color[1]) And if u want to add extented line simple: if itemVnum in (50011, 50012, 50013): pItem_list = { 50011 : ["[i]", "Item description 1!", "ServerName: %s" % "|cFF6af200" + localeInfo.APP_TITLE], 50012 : ["[i]", "Item description 2!", "ServerName: %s" % "|cFF6af200" + localeInfo.APP_TITLE], 50013 : ["[i]", "Item description 3!", "ServerName: %s" % "|cFF6af200" + localeInfo.APP_TITLE]} self.AppendSpace(5) for i in xrange(len(pItem_list[itemVnum])): self.AppendTextLine(pItem_list[itemVnum][i], self.SPECIAL_POSITIVE_COLOR) Link to comment Share on other sites More sharing options...
Shang 369 Posted July 24, 2016 Share Posted July 24, 2016 45 minutes ago, VegaS said: s_Color = [0xffFFC700, 0xffFFC700] if (12010 <= itemVnum and itemVnum <= 12019): # 12010 | 12011 | 12012 | 12013 | 12014 | 12015 | 12016 | 12017 | 12018 | 12019 self.AppendTextLine("Description for item 12019 <= 12019!", s_Color[0]) if (1 <= itemVnum and itemVnum <= 20009): # 1 | 2 | 3 | 4 | 5 etc etc...max 20009 self.AppendTextLine("Description for all items!", s_Color[1]) if (12010 <= itemVnum and itemVnum <= 12019): # 12010 | 12011 | 12012 | 12013 | 12014 | 12015 | 12016 | 12017 | 12018 | 12019 if (1 <= itemVnum and itemVnum <= 20009): # 1 | 2 | 3 | 4 | 5 etc etc...max 20009 Hmm... 12010 <= it checks values less than 12010 too. The same with the other conditional. Link to comment Share on other sites More sharing options...
Tasho 243 Posted July 24, 2016 Share Posted July 24, 2016 48 minutes ago, Shang said: if (12010 <= itemVnum and itemVnum <= 12019): # 12010 | 12011 | 12012 | 12013 | 12014 | 12015 | 12016 | 12017 | 12018 | 12019 if (1 <= itemVnum and itemVnum <= 20009): # 1 | 2 | 3 | 4 | 5 etc etc...max 20009 Hmm... 12010 <= it checks values less than 12010 too. The same with the other conditional. it check values starting from 12010 to 12019 for fu.ck sake. Link to comment Share on other sites More sharing options...
Active Member Mind Rapist 188 Posted July 24, 2016 Author Active Member Share Posted July 24, 2016 Thanks so much Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now