minor tweaks
tooltip source should be more consistent now attempt to stop error messages from wishlist some text edits
This commit is contained in:
+5
-4
@@ -257,13 +257,14 @@ function AtlasLoot_CategorizeWishList(wlTable)
|
||||
if ((table.getn(result) + 1) - math.floor((table.getn(result) + 1)/15)*15) == 0 then table.insert(result, { 0, "", "", "" }) end
|
||||
-- Subheading
|
||||
|
||||
--[[ some debug code that I've used to fix WishList errors before due to people adding drops to AtlasLoot incorrectly.
|
||||
-- some debug code that I've used to fix WishList errors before due to people adding drops to AtlasLoot incorrectly.
|
||||
local box = k or "Unknown"
|
||||
local cat = categories[k][1][5] or "Unknown"
|
||||
print("box: "..box.." - cat: "..cat)
|
||||
table.insert(result, { 0, "INV_Box_01", "=q6="..box, "=q0="..GetLootTableParent(strsplit("|", cat)) });]]--
|
||||
local parent = GetLootTableParent(strsplit("|", cat)) or "Unknown"
|
||||
--print("box: "..box.." - cat: "..cat)
|
||||
table.insert(result, { 0, "INV_Box_01", "=q6="..box, "=q0="..parent });
|
||||
|
||||
table.insert(result, { 0, "INV_Box_01", "=q6="..k, "=q0="..GetLootTableParent(strsplit("|", categories[k][1][5])) });
|
||||
--table.insert(result, { 0, "INV_Box_01", "=q6="..k, "=q0="..GetLootTableParent(strsplit("|", categories[k][1][5])) });
|
||||
-- Sort first then add items
|
||||
table.sort(v, AtlasLoot_WishListSortCheck); -- not works?
|
||||
for i = 1, table.getn(v) do table.insert(result, v[i]) end
|
||||
|
||||
Reference in New Issue
Block a user