fix: category order
This commit is contained in:
@@ -57,15 +57,15 @@ local CATEGORY_ORDER = {
|
|||||||
["Weapon"] = 4, -- Non-equippable weapons
|
["Weapon"] = 4, -- Non-equippable weapons
|
||||||
["Armor"] = 5, -- Non-equippable armor
|
["Armor"] = 5, -- Non-equippable armor
|
||||||
["Tools"] = 6,
|
["Tools"] = 6,
|
||||||
["Class Items"] = 7,
|
|
||||||
["Quiver"] = 8,
|
["Quiver"] = 8,
|
||||||
["Reagent"] = 9,
|
["Reagent"] = 9,
|
||||||
["Trade Goods"] = 10,
|
["Trade Goods"] = 10,
|
||||||
["Recipe"] = 11,
|
["Recipe"] = 11,
|
||||||
["Container"] = 12,
|
["Container"] = 12,
|
||||||
["Quest"] = 13,
|
|
||||||
["Key"] = 14,
|
["Key"] = 14,
|
||||||
["Miscellaneous"] = 15,
|
["Miscellaneous"] = 15,
|
||||||
|
["Quest"] = 16,
|
||||||
|
["Class Items"] = 17,
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Subclass ordering for grouping related items
|
-- Subclass ordering for grouping related items
|
||||||
|
|||||||
+1
-1
@@ -403,7 +403,7 @@ function BagFrame:DisplayItemsByCategory(bagData, isOtherChar, charName)
|
|||||||
-- Group items by category
|
-- Group items by category
|
||||||
local categories = {}
|
local categories = {}
|
||||||
local categoryList = {
|
local categoryList = {
|
||||||
"Weapon", "Armor", "Consumable", "Food", "Drink", "Class Items", "Quest", "Trade Goods", "Reagent", "Recipe", "Quiver", "Container", "Soul Bag", "Keyring", "Miscellaneous"
|
"Weapon", "Armor", "Consumable", "Food", "Drink", "Trade Goods", "Reagent", "Recipe", "Quiver", "Container", "Soul Bag", "Keyring", "Miscellaneous", "Quest", "Class Items"
|
||||||
}
|
}
|
||||||
for _, cat in ipairs(categoryList) do categories[cat] = {} end
|
for _, cat in ipairs(categoryList) do categories[cat] = {} end
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -255,7 +255,7 @@ function BankFrame:DisplayItemsByCategory(bankData, isOtherChar, charName)
|
|||||||
-- Group items by category
|
-- Group items by category
|
||||||
local categories = {}
|
local categories = {}
|
||||||
local categoryList = {
|
local categoryList = {
|
||||||
"Weapon", "Armor", "Consumable", "Food", "Drink", "Class Items", "Quest", "Trade Goods", "Reagent", "Recipe", "Quiver", "Container", "Soul Bag", "Miscellaneous"
|
"Weapon", "Armor", "Consumable", "Food", "Drink", "Trade Goods", "Reagent", "Recipe", "Quiver", "Container", "Soul Bag", "Miscellaneous", "Quest", "Class Items"
|
||||||
}
|
}
|
||||||
for _, cat in ipairs(categoryList) do categories[cat] = {} end
|
for _, cat in ipairs(categoryList) do categories[cat] = {} end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user