View Single Post
03/15/16, 04:39 PM   #7
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
Lua Code:
  1. LostTreasure/LostTreasure.lua +300 function LT:SlotAdded(bagId, slotIndex, slotData)
  2. LostTreasure/LostTreasure.lua +301  if not (bagId == BAG_BACKPACK and slotData and slotData.itemType == ITEMTYPE_TROPHY) then return end
  3. LostTreasure/LostTreasure.lua +302
  4. LostTreasure/LostTreasure.lua +303  local isTreasureMap = zo_plainstrfind(zo_strlower(slotData.name), TREASURE_TEXT[lang])
  5. LostTreasure/LostTreasure.lua +304  local isSurveyMap = zo_plainstrfind(zo_strlower(slotData.name), SURVEYS_TEXT[lang])
  6. LostTreasure/LostTreasure.lua +305
  7. LostTreasure/LostTreasure.lua +306  if isTreasureMap or isSurveyMap then
  8. LostTreasure/LostTreasure.lua +307      local itemID = select(4, ZO_LinkHandler_ParseLink(GetItemLink(BAG_BACKPACK, slotIndex)))
  9. LostTreasure/LostTreasure.lua +308      slotData.itemID = tonumber(itemID)
  10. LostTreasure/LostTreasure.lua +309  end

It's a wild guess, but it may have something to do with how russian translation maps cyrillic to latin-1 because ESO doesn't allow using non-latin unicode characters directly, zo_strlower might be messing that up.
  Reply With Quote