comparison ProspectMe.lua @ 18:8e12723d408d v1.7.0.2

Consolidated Gem Chips into their singular result; may require users to reset their database or manually edit their saved variables to remove incorrect chips.
author Geoff Brock <mischivin@gmail.com>
date Sun, 04 Sep 2016 16:51:15 -0400
parents 56a8d7064c9a
children dc011841fcb4
comparison
equal deleted inserted replaced
17:4f5357900609 18:8e12723d408d
58 58
59 --Creates a session table entry, this will be cleared on log out/UI reload 59 --Creates a session table entry, this will be cleared on log out/UI reload
60 if not PM_SessionTable[containerID] then 60 if not PM_SessionTable[containerID] then
61 PM_SessionTable[containerID] = {timesProspected = 0} 61 PM_SessionTable[containerID] = {timesProspected = 0}
62 end 62 end
63 63
64 for i = 1, GetNumLootItems() do 64 for i = 1, GetNumLootItems() do
65 local itemID = GetLootSlotLink(i):match("Hitem:(%d+)") 65 local itemID = GetLootSlotLink(i):match("Hitem:(%d+)")
66 if itemID == "129099" or itemID == "130200" or itemID == "130201" or itemID == "130202" or itemID == "130203" or itemID == "130204" then --consolidate Colored Gem Chips into their resulting item
67 itemID = "129100"
68 end
66 local quantity = select(3, GetLootSlotInfo(i)) 69 local quantity = select(3, GetLootSlotInfo(i))
67 if not PM_ItemTable[itemID] then 70 if not PM_ItemTable[itemID] then
68 CreateTableEntry(itemID) 71 CreateTableEntry(itemID)
69 end 72 end
70 if PM_ResultsTable[containerID][itemID] then 73 if PM_ResultsTable[containerID][itemID] then