View Single Post
03/18/18, 05:40 PM   #3
nightstrike2
Join Date: Sep 2017
Posts: 18
Thanks for the pointer. I seem to be on the right track with this:

Lua Code:
  1. local f = ItemTooltip["SetStoreItem"]
  2. ItemTooltip["SetStoreItem"] = function(self, index)
  3.     f(self, index)
  4.     local types = { GetStoreEntryTypeInfo(index) }
  5.     for i = 1, #types do
  6.         if (types[i] == ITEMFILTERTYPE_FURNISHING) then
  7.             self:AddLine("xxx")
  8.             break
  9.         end
  10.     end
  11. end

But now somehow I need to know whether the achievement text is already there. I used GetStoreItemLink on the entry and dumped it out to chat, and discovered that the item link itself doesn't contain the red achievement text in it. So, it gets added somewhere else. Do you know what adds that text, and how it gets added?

Last edited by nightstrike2 : 03/24/18 at 08:14 PM.
  Reply With Quote