mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
update bags add JunkIcon and QuestIcon to bags
This commit is contained in:
@@ -32,6 +32,7 @@ local TIMEMANAGER_PM = gsub(TIME_TWELVEHOURPM, "^.-(%w+)$", "%1")
|
||||
local LBC = LibStub("LibBabble-Class-3.0"):GetLookupTable()
|
||||
local LBZ = LibStub("LibBabble-Zone-3.0"):GetLookupTable()
|
||||
local IFDB = LibStub("ItemFamilyDB")
|
||||
local QIS = LibStub("QuestItemStarterDB")
|
||||
|
||||
CLASS_SORT_ORDER = {
|
||||
"WARRIOR",
|
||||
@@ -559,6 +560,22 @@ function GetThreatStatus(currentThreat, maxThreat)
|
||||
end
|
||||
end
|
||||
|
||||
function GetQuestItemStarterInfo(link)
|
||||
for _, info in pairs(QIS.QuestItemStarterIDs) do
|
||||
if match(link, "item:(%d+):") == info then
|
||||
return true
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function GetInvalidQuestItemInfo(link)
|
||||
for _, info in pairs(QIS.InvalidQuestItemIDs) do
|
||||
if match(link, "item:(%d+):") == info then
|
||||
return true
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
local LAST_ITEM_ID = 24283
|
||||
local itemInfoDB = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user