1.1.0 Update

# Atlasloot v1.1.0

• Added recommended levels to dungeons
• Atlasloot attempts to opens at the last page you were on
• WSG Landing page and overhaul
• AB Landing Page
• Core fixes
• Fixed some bugs that were breaking the Search function
• **3,167 drop rates updated**
• Checked drop rates for all World Bosses and Rare Spawns
• Gardening
• Sorted the reputation list A-Z
• Added faction colours to the reputation list
• Added and fixed MANY missing drops, items, recipies, etc.
• Reworked Silvermoon and Revantusk pages
• Update announce code using LFT as well as SendAddonMessage

-- 1.17.0 Patch --

• Lower Karazhan Halls
• Emerald Sanctum
• Gilneas City
• Rare Spawns
• Enchants
• First Aid
• Tailoring
• Leatherworking
• Mining
• _Some_ of Blacksmithing

# THERE IS STILL A LOT MORE 1.17.0 THINGS THAT NEED TO BE ADDED
This commit is contained in:
Lexie
2023-10-29 07:12:47 +11:00
parent 24d2f7f7aa
commit c20b44e6e0
43 changed files with 21857 additions and 16733 deletions
+296 -157
View File
@@ -29,10 +29,10 @@ AtlasLootOptions_OpaqueToggle()
AtlasLootOptions_ItemIDToggle()
AtlasLootOptions_ItemSpam()
AtlasLoot_ShowItemsFrame()
AtlasLoot_DewDropClick(tablename, text, tabletype)
AtlasLoot_DewDropSubMenuClick(tablename, text)
AtlasLoot_DewdropSubMenuRegister(loottable)
AtlasLoot_DewdropRegister()
AtlasLoot_HewdropClick(tablename, text, tabletype)
AtlasLoot_HewdropSubMenuClick(tablename, text)
AtlasLoot_HewdropSubMenuRegister(loottable)
AtlasLoot_HewdropRegister()
AtlasLootItemsFrame_OnCloseButton()
AtlasLoot_Toggle()
AtlasLootMenuItem_OnClick()
@@ -68,8 +68,8 @@ local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
--Establish version number and compatible version of Atlas
local VERSION_MAJOR = "1";
local VERSION_MINOR = "0";
local VERSION_BOSSES = "9";
local VERSION_MINOR = "1";
local VERSION_BOSSES = "0";
ATLASLOOT_VERSION = "|cffFF8400AtlasLoot TW Edition v"..VERSION_MAJOR.."."..VERSION_MINOR.."."..VERSION_BOSSES.."|r";
ATLASLOOT_CURRENT_ATLAS = "1.12.0";
ATLASLOOT_PREVIEW_ATLAS = "1.12.1";
@@ -81,9 +81,9 @@ ATLASLOOT_OPTIONS_EQUIPCOMPARE_DISABLED = AL["|cff9d9d9dUse EquipCompare|r"];
--Standard indent to line text up with Atlas text
ATLASLOOT_INDENT = " ";
--Make the Dewdrop menu in the standalone loot browser accessible here
AtlasLoot_Dewdrop = AceLibrary("Dewdrop-2.0");
AtlasLoot_DewdropSubMenu = AceLibrary("Dewdrop-2.0");
--Make the Hewdrop menu in the standalone loot browser accessible here
AtlasLoot_Hewdrop = AceLibrary("Hewdrop-2.0");
AtlasLoot_HewdropSubMenu = AceLibrary("Hewdrop-2.0");
--Variable to cap debug spam
ATLASLOOT_DEBUGSHOWN = false;
@@ -195,6 +195,7 @@ AtlasLoot_MenuList = {
"TAILORINGMENU",
"CRAFTSET",
"COOKINGMENU",
"SURVIVALMENU",
};
--entrance maps to instance maps NOT NEEDED FOR ATLAS 1.12
@@ -253,6 +254,7 @@ function AtlasLootDefaultFrame_OnShow()
--Show the last displayed loot table
if AtlasLoot_IsLootTableAvailable(AtlasLootCharDB.LastBoss) then
AtlasLoot_ShowBossLoot(AtlasLootCharDB.LastBoss, AtlasLootCharDB.LastBossText, pFrame);
--AtlasLoot_HewdropSubMenuRegister(AtlasLootCharDB.LastBoss);
else
AtlasLoot_ShowBossLoot("EmptyInstance", AL["AtlasLoot"], pFrame);
end
@@ -401,7 +403,7 @@ function AtlasLoot_OnVariablesLoaded()
);
end
--Set up the menu in the loot browser
AtlasLoot_DewdropRegister();
AtlasLoot_HewdropRegister();
--Enable or disable AtlasLootFu based on seleced options
--If EquipCompare is available, use it
if((IsAddOnLoaded("EquipCompare")) and (AtlasLootCharDB.EquipCompare == true)) then
@@ -420,6 +422,10 @@ function AtlasLoot_OnVariablesLoaded()
AtlasLootDefaultFrame_SelectedCategory:Show();
AtlasLootDefaultFrame_SelectedTable:Show();
AtlasLootDefaultFrame_SubMenu:Disable();
--Load the last loaded sebmenu
if AtlasLootCharDB["LastMenu"] then
AtlasLoot_HewdropClick(AtlasLootCharDB["LastMenu"][1],AtlasLootCharDB["LastMenu"][2],AtlasLootCharDB["LastMenu"][3])
end
end
--[[
@@ -481,8 +487,8 @@ Atlas_FreshOptions:
Sets default options on a fresh start.
]]
function AtlasLootOptions_Fresh()
AtlasLootCharDB.SafeLinks = true;
AtlasLootCharDB.AllLinks = false;
AtlasLootCharDB.SafeLinks = false;
AtlasLootCharDB.AllLinks = true;
AtlasLootCharDB.DefaultTT = true;
AtlasLootCharDB.LootlinkTT = false;
AtlasLootCharDB.ItemSyncTT = false;
@@ -533,21 +539,20 @@ function AtlasLoot_SlashCommand(msg)
AtlasLootOptions_Toggle();
else
AtlasLootDefaultFrame:Show();
DEFAULT_CHAT_FRAME:AddMessage("|cffbe5eff[AtlasLoot]|r |cffddabffIf you find anything missing, please /w Lexie or message me on Discord Lexie#4024|r")
end
end
--[[
AtlasLootDefaultFrame_OnHide:
When we close the loot browser, re-bind the item table to Atlas
and close all Dewdrop menus
and close all Hewdrop menus
]]
function AtlasLootDefaultFrame_OnHide()
if AtlasFrame then
AtlasLoot_SetupForAtlas();
end
AtlasLoot_Dewdrop:Close(1);
AtlasLoot_DewdropSubMenu:Close(1);
AtlasLoot_Hewdrop:Close(1);
AtlasLoot_HewdropSubMenu:Close(1);
end
--[[
@@ -905,7 +910,6 @@ Legacy function used in Cosmos integration to open the loot browser
]]
function AtlasLoot_ShowMenu()
AtlasLootDefaultFrame:Show();
DEFAULT_CHAT_FRAME:AddMessage("|cffbe5eff[AtlasLoot]|r |cffddabffIf you find anything missing, please /w Lexie or message me on Discord Lexie#4024|r")
end
--[[
@@ -1178,6 +1182,8 @@ function AtlasLoot_ShowItemsFrame(dataID, dataSource, boss, pFrame)
AtlasLoot_TailoringMenu();
elseif(dataID=="COOKINGMENU") then
AtlasLoot_CookingMenu();
elseif(dataID=="SURVIVALMENU") then
AtlasLoot_SurvivalMenu();
else
--Iterate through each item object and set its properties
for i = 1, 30, 1 do
@@ -1521,13 +1527,14 @@ function AtlasLoot_ShowItemsFrame(dataID, dataSource, boss, pFrame)
end
--[[
AtlasLoot_DewDropClick(tablename, text, tabletype):
AtlasLoot_HewdropClick(tablename, text, tabletype):
tablename - Name of the loot table in the database
text - Heading for the loot table
tabletype - Whether the tablename indexes an actual table or needs to generate a submenu
Called when a button in AtlasLoot_Dewdrop is clicked
Called when a button in AtlasLoot_Hewdrop is clicked
]]
function AtlasLoot_DewDropClick(tablename, text, tabletype)
function AtlasLoot_HewdropClick(tablename, text, tabletype)
AtlasLootCharDB.LastMenu = { tablename, text, tabletype }
--Definition of where I want the loot table to be shown
pFrame = { "TOPLEFT", "AtlasLootDefaultFrame_LootBackground", "TOPLEFT", "2", "-2" };
@@ -1547,30 +1554,30 @@ function AtlasLoot_DewDropClick(tablename, text, tabletype)
--Enable the submenu button
AtlasLootDefaultFrame_SubMenu:Enable();
--Show the first loot table associated with the submenu
AtlasLoot_ShowBossLoot(AtlasLoot_DewDropDown_SubTables[tablename][1][2], AtlasLoot_DewDropDown_SubTables[tablename][1][1], pFrame);
AtlasLoot_ShowBossLoot(AtlasLoot_HewdropDown_SubTables[tablename][1][2], AtlasLoot_HewdropDown_SubTables[tablename][1][1], pFrame);
--Save needed info for fuure re-display of the table
AtlasLootCharDB.LastBoss = AtlasLoot_DewDropDown_SubTables[tablename][1][2];
AtlasLootCharDB.LastBossText = AtlasLoot_DewDropDown_SubTables[tablename][1][1];
AtlasLootCharDB.LastBoss = AtlasLoot_HewdropDown_SubTables[tablename][1][2];
AtlasLootCharDB.LastBossText = AtlasLoot_HewdropDown_SubTables[tablename][1][1];
--Load the correct submenu and associated with the button
AtlasLoot_DewdropSubMenu:Unregister(AtlasLootDefaultFrame_SubMenu);
AtlasLoot_DewdropSubMenuRegister(AtlasLoot_DewDropDown_SubTables[tablename]);
AtlasLoot_HewdropSubMenu:Unregister(AtlasLootDefaultFrame_SubMenu);
AtlasLoot_HewdropSubMenuRegister(AtlasLoot_HewdropDown_SubTables[tablename]);
--Show a text label of what has been selected
AtlasLootDefaultFrame_SelectedTable:SetText(AtlasLoot_DewDropDown_SubTables[tablename][1][1]);
AtlasLootDefaultFrame_SelectedTable:SetText(AtlasLoot_HewdropDown_SubTables[tablename][1][1]);
AtlasLootDefaultFrame_SelectedTable:Show();
end
--Show the category that has been selected
AtlasLootDefaultFrame_SelectedCategory:SetText(text);
AtlasLootDefaultFrame_SelectedCategory:Show();
AtlasLoot_Dewdrop:Close(1);
AtlasLoot_Hewdrop:Close(1);
end
--[[
AtlasLoot_DewDropSubMenuClick(tablename, text):
AtlasLoot_HewdropSubMenuClick(tablename, text):
tablename - Name of the loot table in the database
text - Heading for the loot table
Called when a button in AtlasLoot_DewdropSubMenu is clicked
Called when a button in AtlasLoot_HewdropSubMenu is clicked
]]
function AtlasLoot_DewDropSubMenuClick(tablename, text)
function AtlasLoot_HewdropSubMenuClick(tablename, text)
--Definition of where I want the loot table to be shown
pFrame = { "TOPLEFT", "AtlasLootDefaultFrame_LootBackground", "TOPLEFT", "2", "-2" };
--Show the select loot table
@@ -1581,36 +1588,36 @@ function AtlasLoot_DewDropSubMenuClick(tablename, text)
--Show the table that has been selected
AtlasLootDefaultFrame_SelectedTable:SetText(text);
AtlasLootDefaultFrame_SelectedTable:Show();
AtlasLoot_DewdropSubMenu:Close(1);
AtlasLoot_HewdropSubMenu:Close(1);
end
--[[
AtlasLoot_DewdropSubMenuRegister(loottable):
AtlasLoot_HewdropSubMenuRegister(loottable):
loottable - Table defining the sub menu
Generates the sub menu needed by passing a table of loot tables and titles
]]
function AtlasLoot_DewdropSubMenuRegister(loottable)
AtlasLoot_DewdropSubMenu:Register(AtlasLootDefaultFrame_SubMenu,
function AtlasLoot_HewdropSubMenuRegister(loottable)
AtlasLoot_HewdropSubMenu:Register(AtlasLootDefaultFrame_SubMenu,
'point', function(parent)
return "TOP", "BOTTOM"
end,
'children', function(level, value)
if level == 1 then
for k,v in pairs(loottable) do
AtlasLoot_DewdropSubMenu:AddLine(
AtlasLoot_HewdropSubMenu:AddLine(
'text', v[1],
'func', AtlasLoot_DewDropSubMenuClick,
'func', AtlasLoot_HewdropSubMenuClick,
'arg1', v[2],
'arg2', v[1],
'notCheckable', true
)
end
AtlasLoot_DewdropSubMenu:AddLine(
AtlasLoot_HewdropSubMenu:AddLine(
'text', AL["Close Menu"],
'textR', 0,
'textG', 1,
'textB', 1,
'func', function() AtlasLoot_DewdropSubMenu:Close() end,
'func', function() AtlasLoot_HewdropSubMenu:Close() end,
'notCheckable', true
)
end
@@ -1620,28 +1627,28 @@ function AtlasLoot_DewdropSubMenuRegister(loottable)
end
--[[
AtlasLoot_DewdropRegister:
AtlasLoot_HewdropRegister:
Constructs the main category menu from a tiered table
]]
function AtlasLoot_DewdropRegister()
AtlasLoot_Dewdrop:Register(AtlasLootDefaultFrame_Menu,
function AtlasLoot_HewdropRegister()
AtlasLoot_Hewdrop:Register(AtlasLootDefaultFrame_Menu,
'point', function(parent)
return "TOP", "BOTTOM"
end,
'children', function(level, value)
if level == 1 then
if AtlasLoot_DewDropDown then
for k,v in ipairs(AtlasLoot_DewDropDown) do
if AtlasLoot_HewdropDown then
for k,v in ipairs(AtlasLoot_HewdropDown) do
--If a link to show a submenu
if (type(v[1]) == "table") and (type(v[1][1]) == "string") then
local checked = false;
if v[1][3] == "Submenu" then
AtlasLoot_Dewdrop:AddLine(
AtlasLoot_Hewdrop:AddLine(
'text', v[1][1],
'textR', 1,
'textG', 0.82,
'textB', 0,
'func', AtlasLoot_DewDropClick,
'func', AtlasLoot_HewdropClick,
'arg1', v[1][2],
'arg2', v[1][1],
'arg3', v[1][3],
@@ -1653,7 +1660,7 @@ function AtlasLoot_DewdropRegister()
--If an entry linked to a subtable
for i,j in pairs(v) do
if lock==0 then
AtlasLoot_Dewdrop:AddLine(
AtlasLoot_Hewdrop:AddLine(
'text', i,
'textR', 1,
'textG', 0.82,
@@ -1669,12 +1676,12 @@ function AtlasLoot_DewdropRegister()
end
end
--Close button
AtlasLoot_Dewdrop:AddLine(
AtlasLoot_Hewdrop:AddLine(
'text', AL["Close Menu"],
'textR', 0,
'textG', 1,
'textB', 1,
'func', function() AtlasLoot_Dewdrop:Close() end,
'func', function() AtlasLoot_Hewdrop:Close() end,
'notCheckable', true
)
elseif level == 2 then
@@ -1685,12 +1692,12 @@ function AtlasLoot_DewdropRegister()
local checked = false;
--If an entry to show a submenu
if v[1][3] == "Submenu" then
AtlasLoot_Dewdrop:AddLine(
AtlasLoot_Hewdrop:AddLine(
'text', v[1][1],
'textR', 1,
'textG', 0.82,
'textB', 0,
'func', AtlasLoot_DewDropClick,
'func', AtlasLoot_HewdropClick,
'arg1', v[1][2],
'arg2', v[1][1],
'arg3', v[1][3],
@@ -1698,9 +1705,9 @@ function AtlasLoot_DewdropRegister()
)
--An entry to show a specific loot page
else
AtlasLoot_Dewdrop:AddLine(
AtlasLoot_Hewdrop:AddLine(
'text', v[1][1],
'func', AtlasLoot_DewDropClick,
'func', AtlasLoot_HewdropClick,
'arg1', v[1][2],
'arg2', v[1][1],
'arg3', v[1][3],
@@ -1712,7 +1719,7 @@ function AtlasLoot_DewdropRegister()
--Entry to link to a sub table
for i,j in pairs(v) do
if lock==0 then
AtlasLoot_Dewdrop:AddLine(
AtlasLoot_Hewdrop:AddLine(
'text', i,
'textR', 1,
'textG', 0.82,
@@ -1728,12 +1735,12 @@ function AtlasLoot_DewdropRegister()
end
end
end
AtlasLoot_Dewdrop:AddLine(
AtlasLoot_Hewdrop:AddLine(
'text', AL["Close Menu"],
'textR', 0,
'textG', 1,
'textB', 1,
'func', function() AtlasLoot_Dewdrop:Close() end,
'func', function() AtlasLoot_Hewdrop:Close() end,
'notCheckable', true
)
elseif level == 3 then
@@ -1743,21 +1750,21 @@ function AtlasLoot_DewdropRegister()
if type(v[1]) == "string" then
local checked = false;
if v[3] == "Submenu" then
AtlasLoot_Dewdrop:AddLine(
AtlasLoot_Hewdrop:AddLine(
'text', v[1],
'textR', 1,
'textG', 0.82,
'textB', 0,
'func', AtlasLoot_DewDropClick,
'func', AtlasLoot_HewdropClick,
'arg1', v[2],
'arg2', v[1],
'arg3', v[3],
'notCheckable', true
)
else
AtlasLoot_Dewdrop:AddLine(
AtlasLoot_Hewdrop:AddLine(
'text', v[1],
'func', AtlasLoot_DewDropClick,
'func', AtlasLoot_HewdropClick,
'arg1', v[2],
'arg2', v[1],
'arg3', v[3],
@@ -1765,7 +1772,7 @@ function AtlasLoot_DewdropRegister()
)
end
elseif type(v) == "table" then
AtlasLoot_Dewdrop:AddLine(
AtlasLoot_Hewdrop:AddLine(
'text', k,
'textR', 1,
'textG', 0.82,
@@ -1777,12 +1784,12 @@ function AtlasLoot_DewdropRegister()
end
end
end
AtlasLoot_Dewdrop:AddLine(
AtlasLoot_Hewdrop:AddLine(
'text', AL["Close Menu"],
'textR', 0,
'textG', 1,
'textB', 1,
'func', function() AtlasLoot_Dewdrop:Close() end,
'func', function() AtlasLoot_Hewdrop:Close() end,
'notCheckable', true
)
end
@@ -1819,7 +1826,23 @@ Requests the relevant loot page from a menu screen
]]
function AtlasLootMenuItem_OnClick()
if this.isheader == nil or this.isheader == false then
AtlasLoot_ShowBossLoot(this.lootpage, getglobal(this:GetName().."_Name"):GetText(), AtlasLoot_AnchorFrame);
local pagename = getglobal(this:GetName().."_Name"):GetText()
for k,v in ipairs(AtlasLoot_HewdropDown) do
if not (type(v[1]) == "table") then
for k2, v2 in pairs(v) do
for k3, v3 in pairs(v2) do
for k4, v4 in pairs(v3) do
if not (type(v4[1]) == "table") then
if v4[1] == pagename then
AtlasLoot_HewdropClick(v4[2],v4[1],v4[3])
end
end
end
end
end
end
end
AtlasLoot_ShowBossLoot(this.lootpage, pagename, AtlasLoot_AnchorFrame);
end
end
@@ -1834,7 +1857,10 @@ function AtlasLoot_NavButton_OnClick()
elseif string.sub(this.lootpage, 1, 12) == "WishListPage" then
AtlasLoot_ShowItemsFrame("WishList", this.lootpage, AL["WishList"], AtlasLootItemsFrame.refresh[4]);
else
AtlasLootCharDB.LastBoss = this.lootpage;
AtlasLootCharDB.LastBossText = this.title;
AtlasLoot_ShowItemsFrame(this.lootpage, AtlasLootItemsFrame.refresh[2], this.title, AtlasLootItemsFrame.refresh[4]);
end
elseif AtlasLootItemsFrame.refresh and AtlasLootItemsFrame.refresh[2] then
AtlasLoot_ShowItemsFrame(this.lootpage, AtlasLootItemsFrame.refresh[2], this.title, AtlasFrame);
@@ -1884,53 +1910,53 @@ button: Identity of the button pressed to trigger the function
Shows the GUI for setting Quicklooks
]]
function AtlasLoot_ShowQuickLooks(button)
local dewdrop = AceLibrary("Dewdrop-2.0");
if dewdrop:IsOpen(button) then
dewdrop:Close(1);
local Hewdrop = AceLibrary("Hewdrop-2.0");
if Hewdrop:IsOpen(button) then
Hewdrop:Close(1);
else
local setOptions = function()
dewdrop:AddLine(
Hewdrop:AddLine(
"text", AL["QuickLook"].." 1",
"tooltipTitle", AL["QuickLook"].." 1",
"tooltipText", AL["Assign this loot table\n to QuickLook"].." 1",
"func", function()
AtlasLootCharDB["QuickLooks"][1]={AtlasLootItemsFrame.refresh[1], AtlasLootItemsFrame.refresh[2], AtlasLootItemsFrame.refresh[3], AtlasLootItemsFrame.refresh[4]};
AtlasLoot_RefreshQuickLookButtons();
dewdrop:Close(1);
Hewdrop:Close(1);
end
);
dewdrop:AddLine(
Hewdrop:AddLine(
"text", AL["QuickLook"].." 2",
"tooltipTitle", AL["QuickLook"].." 2",
"tooltipText", AL["Assign this loot table\n to QuickLook"].." 2",
"func", function()
AtlasLootCharDB["QuickLooks"][2]={AtlasLootItemsFrame.refresh[1], AtlasLootItemsFrame.refresh[2], AtlasLootItemsFrame.refresh[3], AtlasLootItemsFrame.refresh[4]};
AtlasLoot_RefreshQuickLookButtons();
dewdrop:Close(1);
Hewdrop:Close(1);
end
);
dewdrop:AddLine(
Hewdrop:AddLine(
"text", AL["QuickLook"].." 3",
"tooltipTitle", AL["QuickLook"].." 3",
"tooltipText", AL["Assign this loot table\n to QuickLook"].." 3",
"func", function()
AtlasLootCharDB["QuickLooks"][3]={AtlasLootItemsFrame.refresh[1], AtlasLootItemsFrame.refresh[2], AtlasLootItemsFrame.refresh[3], AtlasLootItemsFrame.refresh[4]};
AtlasLoot_RefreshQuickLookButtons();
dewdrop:Close(1);
Hewdrop:Close(1);
end
);
dewdrop:AddLine(
Hewdrop:AddLine(
"text", AL["QuickLook"].." 4",
"tooltipTitle", AL["QuickLook"].." 4",
"tooltipText", AL["Assign this loot table\n to QuickLook"].." 4",
"func", function()
AtlasLootCharDB["QuickLooks"][4]={AtlasLootItemsFrame.refresh[1], AtlasLootItemsFrame.refresh[2], AtlasLootItemsFrame.refresh[3], AtlasLootItemsFrame.refresh[4]};
AtlasLoot_RefreshQuickLookButtons();
dewdrop:Close(1);
Hewdrop:Close(1);
end
);
end;
dewdrop:Open(button,
Hewdrop:Open(button,
'point', function(parent)
return "BOTTOMLEFT", "BOTTOMRIGHT";
end,
@@ -2155,7 +2181,7 @@ end
--This is a multi-layer table defining the main loot listing.
--Entries have the text to display, loot table or sub table to link to and if the link is to a loot table or sub table
AtlasLoot_DewDropDown = {
AtlasLoot_HewdropDown = {
[1] = {
[AL["Dungeons & Raids"]] = {
[1] = {
@@ -2187,10 +2213,10 @@ AtlasLoot_DewDropDown = {
},
[10] = {
[AL["Scarlet Monastery"]] = {
{ AL["Scarlet Monastery"].." "..AL["Graveyard"], "SMGraveyard", "Submenu" },
{ AL["Scarlet Monastery"].." "..AL["Library"], "SMLibrary", "Submenu" },
{ AL["Scarlet Monastery"].." "..AL["Armory"], "SMArmory", "Submenu" },
{ AL["Scarlet Monastery"].." "..AL["Cathedral"], "SMCathedral", "Submenu" },
{ AL["Scarlet Monastery (Graveyard)"], "SMGraveyard", "Submenu" },
{ AL["Scarlet Monastery (Library)"], "SMLibrary", "Submenu" },
{ AL["Scarlet Monastery (Armory)"], "SMArmory", "Submenu" },
{ AL["Scarlet Monastery (Cathedral)"], "SMCathedral", "Submenu" },
},
},
[11] = {
@@ -2200,67 +2226,76 @@ AtlasLoot_DewDropDown = {
{ AL["Uldaman"], "Uldaman", "Submenu" },
},
[13] = {
{ AL["Maraudon"], "Maraudon", "Submenu" },
{ AL["Gilneas City"], "GilneasCity", "Submenu" },
},
[14] = {
{ AL["Zul'Farrak"], "ZulFarrak", "Submenu" },
{ AL["Maraudon"], "Maraudon", "Submenu" },
},
[15] = {
{ AL["The Sunken Temple"], "SunkenTemple", "Submenu" },
{ AL["Zul'Farrak"], "ZulFarrak", "Submenu" },
},
[16] = {
{ AL["Hateforge Quarry"], "HateforgeQuarry", "Submenu" },
{ AL["The Sunken Temple"], "SunkenTemple", "Submenu" },
},
[17] = {
{ AL["Blackrock Depths"], "BlackrockDepths", "Submenu" },
{ AL["Hateforge Quarry"], "HateforgeQuarry", "Submenu" },
},
[18] = {
[AL["Dire Maul"]] = {
{ AL["Dire Maul"].." "..AL["East"], "DireMaulEast", "Submenu" },
{ AL["Dire Maul"].." "..AL["West"], "DireMaulWest", "Submenu" },
{ AL["Dire Maul"].." "..AL["North"], "DireMaulNorth", "Submenu" },
},
{ AL["Blackrock Depths"], "BlackrockDepths", "Submenu" },
},
[19] = {
{ AL["Scholomance"], "Scholomance", "Submenu" },
[AL["Dire Maul"]] = {
{ AL["Dire Maul (East)"], "DireMaulEast", "Submenu" },
{ AL["Dire Maul (West)"], "DireMaulWest", "Submenu" },
{ AL["Dire Maul (North)"], "DireMaulNorth", "Submenu" },
},
},
[20] = {
{ AL["Stratholme"], "Stratholme", "Submenu" },
{ AL["Scholomance"], "Scholomance", "Submenu" },
},
[21] = {
{ AL["Lower Blackrock Spire"], "LowerBlackrock", "Submenu" },
{ AL["Stratholme"], "Stratholme", "Submenu" },
},
[22] = {
{ AL["Upper Blackrock Spire"], "UpperBlackrock", "Submenu" },
{ AL["Lower Blackrock Spire"], "LowerBlackrock", "Submenu" },
},
[23] = {
{ AL["Karazhan Crypt"], "KarazhanCrypt", "Submenu" },
{ AL["Upper Blackrock Spire"], "UpperBlackrock", "Submenu" },
},
[24] = {
{ AL["Caverns of Time: Black Morass"], "CavernsOfTimeBlackMorass", "Submenu" },
{ AL["Karazhan Crypt"], "KarazhanCrypt", "Submenu" },
},
[25] = {
{ AL["Stormwind Vault"], "StormwindVault", "Submenu" },
{ AL["Caverns of Time: Black Morass"], "CavernsOfTimeBlackMorass", "Submenu" },
},
[26] = {
{ AL["Zul'Gurub"], "ZulGurub", "Submenu" },
{ AL["Stormwind Vault"], "StormwindVault", "Submenu" },
},
[27] = {
{ AL["Ruins of Ahn'Qiraj"], "RuinsofAQ", "Submenu" },
{ AL["Zul'Gurub"], "ZulGurub", "Submenu" },
},
[28] = {
{ AL["Molten Core"], "MoltenCore", "Submenu" },
{ AL["Ruins of Ahn'Qiraj"], "RuinsofAQ", "Submenu" },
},
[29] = {
{ AL["Onyxia's Lair"], "Onyxia", "Submenu" },
{ AL["Molten Core"], "MoltenCore", "Submenu" },
},
[30] = {
{ AL["Blackwing Lair"], "BlackwingLair", "Submenu" },
{ AL["Onyxia's Lair"], "Onyxia", "Submenu" },
},
[31] = {
{ AL["Temple of Ahn'Qiraj"], "TempleofAQ", "Submenu" },
{ AL["Lower Karazhan Halls"], "LowerKara", "Submenu" },
},
[32] = {
{ AL["Blackwing Lair"], "BlackwingLair", "Submenu" },
},
[33] = {
{ AL["Emerald Sanctum"], "EmeraldSanctum", "Submenu" },
},
[34] = {
{ AL["Temple of Ahn'Qiraj"], "TempleofAQ", "Submenu" },
},
[35] = {
{ AL["Naxxramas"], "Naxxramas", "Submenu" },
},
},
@@ -2354,7 +2389,7 @@ AtlasLoot_DewDropDown = {
[7] = {
[AL["World Events"]] = {
[1] = {
{ AL["Abyssal Council"], "AbyssalCouncil1", "Submenu" },
{ AL["Abyssal Council"], "AbyssalCouncil", "Submenu" },
},
[2] = {
{ AL["Children's Week"], "ChildrensWeek", "Table" },
@@ -2406,7 +2441,7 @@ AtlasLoot_DewDropDown = {
[8] = { { (AL["Tailoring"]), "Tailoring", "Submenu" }, },
[9] = { { (AL["Cooking"]), "Cooking", "Submenu" }, },
[10] = { { (AL["First Aid"]), "FirstAid1", "Table" }, },
[11] = { { (AL["Survival"]), "Survival1", "Table" }, },
[11] = { { (AL["Survival"]), "Survival", "Submenu" }, },
[12] = { { (AL["Poisons"]), "Poisons1", "Table" }, },
[13] = {
[AL["Crafted Sets"]] = {
@@ -2422,7 +2457,7 @@ AtlasLoot_DewDropDown = {
--This table defines all the subtables needed for the full menu
--Each sub table entry contains the text entry and the loot table that goes wih it
AtlasLoot_DewDropDown_SubTables = {
AtlasLoot_HewdropDown_SubTables = {
["HateforgeQuarry"] = {
{ AL["High Foreman Bargul Blackhammer"], "HQHighForemanBargulBlackhammer" },
{ AL["Engineer Figgles"], "HQEngineerFiggles" },
@@ -2502,11 +2537,16 @@ AtlasLoot_DewDropDown_SubTables = {
{ AL["Commander Anderson"], "KCCommanderAnderson" },
{ AL["Alarus"], "KCAlarus" },
{ AL["Half-Buried Treasure Chest"], "KCTreasure" },
{ AL["Trash Mobs"], "KCTrash" },
},
["CavernsOfTimeBlackMorass"] = {
{ AL["Chronar"], "COTBMChronar" },
{ AL["Harbinger Aph'ygth"], "COTBMHarbingerAphygth" },
{ AL["Epidamu"], "COTBMEpidamu" },
{ AL["Drifting Avatar of Time"], "COTBMDriftingAvatar" },
{ AL["Time-Lord Epochronos"], "COTBMTimeLordEpochronos" },
{ AL["Mossheart"], "COTBMMossheart" },
{ AL["Rotmaw"], "COTBMRotmaw" },
{ AL["Antnormi"], "COTBMAntnormi" },
{ AL["Infinite Chromie"], "COTBMInfiniteChromie" },
},
@@ -2516,8 +2556,7 @@ AtlasLoot_DewDropDown_SubTables = {
{ AL["Black Bride"], "SWVBlackBride" },
{ AL["Damian"], "SWVDamian" },
{ AL["Volkan Cruelblade"], "SWVVolkanCruelblade" },
{ AL["Arc'tiras"], "SWVArctiras" },
{ AL["Vault Armory Equipment"], "SWVVaultArmoryEquipment" },
{ AL["Arc'tiras / Vault Armory Equipment"], "SWVVaultArmoryEquipment" },
},
["BlackwingLair"] = {
{ AL["Razorgore the Untamed"], "BWLRazorgore" },
@@ -2712,6 +2751,17 @@ AtlasLoot_DewDropDown_SubTables = {
{ AL["Archaedas"], "UldArchaedas" },
{ AL["Trash Mobs"], "UldTrash" },
},
["GilneasCity"] = {
{ AL["Matthias Holtz"], "GCMatthiasHoltz" },
{ AL["Packmaster Ragetooth"], "GCPackmasterRagetooth" },
{ AL["Judge Sutherland"], "GCJudgeSutherland" },
{ AL["Dustivan Blackcowl"], "GCDustivanBlackcowl" },
{ AL["Marshal Magnus Greystone"], "GCMarshalMagnusGreystone" },
{ AL["Horsemaster Levvin"], "GCHorsemasterLevvin" },
{ AL["Harlow Family Chest"], "GCHarlowFamilyChest" },
{ AL["Genn Greymane"], "GCGennGreymane" },
{ AL["Trash Mobs"], "GCTrash" },
},
["ZulGurub"] = {
{ AL["High Priestess Jeklik"], "ZGJeklik" },
{ AL["High Priest Venoxis"], "ZGVenoxis" },
@@ -2867,6 +2917,23 @@ AtlasLoot_DewDropDown_SubTables = {
{ AL["Chief Ukorz Sandscalp"], "ZFChiefUkorzSandscalp" },
{ AL["Trash Mobs"], "ZFTrash" },
},
["EmeraldSanctum"] = {
{ AL["Erennius"], "ESErennius" },
{ AL["Solnius the Awakener"], "ESSolnius1" },
{ AL["Solnius the Awakener (Page 2)"], "ESSolnius2" },
{ AL["Favor of Erennius (ES Hard Mode)"], "ESHardMode" },
{ AL["Trash Mobs"], "ESTrash" },
},
["LowerKara"] = {
{ AL["Master Blacksmith Rolfen"], "LKHRolfen" },
{ AL["Brood Queen Araxxna"], "LKHBroodQueenAraxxna" },
{ AL["Grizikil"], "LKHGrizikil" },
{ AL["Clawlord Howlfang"], "LKHClawlordHowlfang" },
{ AL["Lord Blackwald II"], "LKHLordBlackwaldII" },
{ AL["Moroes"], "LKHMoroes" },
{ AL["Trash Mobs"], "LKHTrash" },
{ AL["LKH Enchants"], "LKHEnchants" },
},
["WorldBosses"] = {
{ AL["Azuregos"], "AAzuregos" },
{ AL["Emeriss"], "DEmeriss" },
@@ -2874,7 +2941,7 @@ AtlasLoot_DewDropDown_SubTables = {
{ AL["Taerar"], "DTaerar" },
{ AL["Ysondre"], "DYsondre" },
{ AL["Lord Kazzak"], "KKazzak"},
{ "Turtlhu, the Black Turtle of Doom", "Turtlhu" },
--{ "Turtlhu, the Black Turtle of Doom", "Turtlhu" },
{ "Nerubian Overseer", "Nerubian" },
{ "Dark Reaver of Karazhan", "Reaver" },
{ "Ostarius", "Ostarius" },
@@ -2882,19 +2949,43 @@ AtlasLoot_DewDropDown_SubTables = {
{ "There Is No Cow Level", "CowKing" },
},
["RareSpawns"] = {
{ "Tarangos The Dampener", "Tarangos" },
{ "Blademaster Kargron", "Kargron" },
{ "Xalvic Blackclaw", "Xalvic" },
{ "Mallon The Moontouched", "Mallon" },
{ "Grug'thok the Seer", "Grugthok" },
{ "The Wandering Knight", "WanderingKnight" },
{ "Crusader Larsarius The Scarlet Crusade", "CrusaderLarsarius" },
{ "Zareth Terrorblade Demon Hunter", "Zareth" },
{ "Jal'akar Dire Troll", "Jalakar" },
{ "Explorer Ashbeard", "Ashbeard" },
{ "Admiral Barean Westwind", "AdmiralBareanWestwind" },
{ "|cffffffff[17]|cffffd200 Earthcaller Rezengal |cffffffff(Stonetalon)", "EarthcallerRezengal" },
{ "|cffffffff[17]|cffffd200 Shade Mage |cffffffff(Tirisfal Uplands)", "ShadeMage" },
{ "|cffffffff[18]|cffffd200 Graypaw Alpha |cffffffff(Tirisfal Uplands)", "GraypawAlpha" },
{ "|cffffffff[24]|cffffd200 Blazespark |cffffffff(Stonetalon)", "Blazespark" },
{ "|cffffffff[35]|cffffd200 Witch Doctor Tan'zo |cffffffff(Ruins of Zul'Rasaz)", "WitchDoctorTanzo" },
{ "|cffffffff[40]|cffffd200 Dawnhowl |cffffffff(Gilneas)", "Dawnhowl" },
{ "|cffffffff[43]|cffffd200 Maltimor's Prototype |cffffffff(Gilneas)", "MaltimorsPrototype" },
{ "|cffffffff[44]|cffffd200 Bonecruncher |cffffffff(Gilneas)", "Bonecruncher" },
{ "|cffffffff[44]|cffffd200 Duskskitter |cffffffff(Gilneas)", "Duskskitter" },
{ "|cffffffff[45]|cffffd200 Baron Perenolde |cffffffff(Gilneas)", "BaronPerenolde" },
{ "|cffffffff[47]|cffffd200 Grug'thok the Seer |cffffffff(Feralas)", "Grugthok" },
{ "|cffffffff[49]|cffffd200 Explorer Ashbeard |cffffffff(Searing Gorge)", "Ashbeard" },
{ "|cffffffff[50]|cffffd200 Jal'akar |cffffffff(Hinterlands)", "Jalakar" },
{ "|cffffffff[51]|cffffd200 Embereye |cffffffff(Gilijim Isle)", "Embereye" },
{ "|cffffffff[51]|cffffd200 Ruk'thok the Pyromancer |cffffffff(Lapidis Isle)", "Rukthok" },
{ "|cffffffff[51]|cffffd200 Tarangos |cffffffff(Azshara)", "Tarangos" },
{ "|cffffffff[51-52]|cffffd200 Ripjaw |cffffffff(Lapidis Isle)", "Ripjaw" },
{ "|cffffffff[53]|cffffd200 Xalvic Blackclaw |cffffffff(Felwood)", "Xalvic" },
{ "|cffffffff[54]|cffffd200 Aquitus |cffffffff(Gilijim Isle)", "Aquitus" },
{ "|cffffffff[55]|cffffd200 Firstborn of Arugal |cffffffff(Gilneas)", "FirstbornofArugal" },
{ "|cffffffff[55]|cffffd200 Letashaz |cffffffff(Gilijim Isle)", "Letashaz" },
{ "|cffffffff[55]|cffffd200 Margon the Mighty |cffffffff(Lapidis Isle)", "MargontheMighty" },
{ "|cffffffff[55]|cffffd200 The Wandering Knight |cffffffff(WPL)", "WanderingKnight" },
{ "|cffffffff[56]|cffffd200 Stoneshell |cffffffff(Tel'abim)", "Stoneshell" },
{ "|cffffffff[57]|cffffd200 Zareth Terrorblade |cffffffff(Blasted Lands)", "Zareth" },
{ "|cffffffff[58]|cffffd200 Highvale Silverback |cffffffff(Tel'abim)", "HighvaleSilverback" },
{ "|cffffffff[58]|cffffd200 Mallon The Moontouched |cffffffff(Winterspring)", "Mallon" },
{ "|cffffffff[59]|cffffd200 Blademaster Kargron |cffffffff(Burning Steppes)", "Kargron" },
{ "|cffffffff[60]|cffffd200 Admiral Barean Westwind |cffffffff(Sarlet Enclave)", "AdmiralBareanWestwind" },
{ "|cffffffff[60]|cffffd200 Azurebeak |cffffffff(Hyjal)", "Azurebeak" },
{ "|cffffffff[60]|cffffd200 Barkskin Fisher |cffffffff(Hyjal)", "BarkskinFisher" },
{ "|cffffffff[61]|cffffd200 Crusader Larsarius |cffffffff(EPL)", "CrusaderLarsarius" },
{ "|cffffffff[61]|cffffd200 Shadeflayer Goliath |cffffffff(Hyjal)", "ShadeflayerGoliath" },
{ "|cffffffff[??]|cffffd200 Widow of the Woods |cffffffff(Gilneas)", "WidowoftheWoods" },
{ "|cffffffff[??]|cffffd200 M-0L1Y |cffffffff(???)", "M0L1Y" },
},
["AbyssalCouncil1"] = {
["AbyssalCouncil"] = {
{ AL["Abyssal Council"].." - "..AL["Templars"], "AbyssalTemplars" },
{ AL["Abyssal Council"].." - "..AL["Dukes"], "AbyssalDukes" },
{ AL["Abyssal Council"].." - "..AL["High Council"], "AbyssalLords" },
@@ -2906,27 +2997,28 @@ AtlasLoot_DewDropDown_SubTables = {
{ AL["Cenarion Circle"], "Cenarion1" },
{ AL["Dalaran"], "Dalaran" },
{ AL["Darkmoon Faire"], "Darkmoon" },
{ AL["Darkspear Trolls"], "DarkspearTrolls" },
{ AL["Darnassus"], "Darnassus" },
{ AL["Durotar Labor Union"], "DurotarLaborUnion" },
{ AL["Frostwolf Clan"], "Frostwolf1" },
{ AL["Gelkis Clan Centaur"], "GelkisClan1" },
{ AL["Hydraxian Waterlords"], "WaterLords1" },
{ AL["Magram Clan Centaur"], "MagramClan1" },
{ AL["Stormpike Guard"], "Stormpike1" },
{ AL["Thorium Brotherhood"], "Thorium1" },
{ AL["Timbermaw Hold"], "Timbermaw" },
{ AL["Wardens of Time"], "Warderns1" },
{ AL["Wintersaber Trainers"], "Wintersaber1" },
{ AL["Zandalar Tribe"], "Zandalar1" },
{ AL["Darnassus"], "Darnassus" },
{ AL["Gnomeregan Exiles"], "GnomereganExiles" },
{ AL["Hydraxian Waterlords"], "WaterLords1" },
{ AL["Ironforge"], "Ironforge" },
{ AL["Silvermoon Remnant"], "Helf" },
{ AL["Stormwind"], "Stormwind" },
{ AL["Darkspear Trolls"], "DarkspearTrolls" },
{ AL["Durotar Labor Union"], "DurotarLaborUnion" },
{ AL["Magram Clan Centaur"], "MagramClan1" },
{ AL["Orgrimmar"], "Orgrimmar" },
{ AL["Revantusk Trolls"], "Revantusk" },
{ AL["Silvermoon Remnant"], "Helf" },
{ AL["Stormpike Guard"], "Stormpike1" },
{ AL["Stormwind"], "Stormwind" },
{ AL["Thorium Brotherhood"], "Thorium1" },
{ AL["Thunder Bluff"], "ThunderBluff" },
{ AL["Timbermaw Hold"], "Timbermaw" },
{ AL["Undercity"], "Undercity" },
{ AL["Wardens of Time"], "Warderns1" },
{ AL["Wildhammer Clan"], "Wildhammer" },
{ AL["Wintersaber Trainers"], "Wintersaber1" },
{ AL["Zandalar Tribe"], "Zandalar1" },
},
["BoEWorldEpics"] = {
{ AtlasLoot_TableNames["WorldEpics3"][1], "WorldEpics3" },
@@ -3058,22 +3150,23 @@ AtlasLoot_DewDropDown_SubTables = {
{ AL["Zul'Gurub Rings"], "ZGRings" },
},
["BRRewards"] = {
{ AL["Exalted Reputation Rewards"], "BRRepExalted" },
{ AL["Revered Reputation Rewards"], "BRRepRevered" },
{ AL["Honored Reputation Rewards"], "BRRepHonored" },
{ AL["Friendly Reputation Rewards"], "BRRepFriendly" },
{ AL["Honored Reputation Rewards"], "BRRepHonored" },
{ AL["Revered Reputation Rewards"], "BRRepRevered" },
{ AL["Exalted Reputation Rewards"], "BRRepExalted" },
},
["AVRewards"] = {
{ AL["Exalted Reputation Rewards"], "AVRepExalted" },
{ AL["Revered Reputation Rewards"], "AVRepRevered" },
{ AL["Honored Reputation Rewards"], "AVRepHonored" },
{ AL["Friendly Reputation Rewards"], "AVRepFriendly" },
{ AL["Honored Reputation Rewards"], "AVRepHonored" },
{ AL["Revered Reputation Rewards"], "AVRepRevered" },
{ AL["Exalted Reputation Rewards"], "AVRepExalted" },
},
["ABRewards"] = {
{ AL["Exalted Reputation Rewards"], "ABRepExalted" },
{ AL["Revered Reputation Rewards"], "ABRepRevered5059" },
{ "Arathi Basin Menu", "ABRepMenu" },
{ AL["Friendly Reputation Rewards"], "ABRepFriendly" },
{ AL["Honored Reputation Rewards"], "ABRepHonored5059" },
{ AL["Friendly Reputation Rewards"], "ABRepFriendly5059" },
{ AL["Revered Reputation Rewards"], "ABRepRevered5059" },
{ AL["Exalted Reputation Rewards"], "ABRepExalted" },
},
["PvPArmorSets"] = {
{ AL["Priest"], "PVPPriest" },
@@ -3087,10 +3180,11 @@ AtlasLoot_DewDropDown_SubTables = {
{ AL["Warrior"], "PVPWarrior" },
},
["WSGRewards"] = {
{ AL["Exalted Reputation Rewards"], "WSGRepExalted60" },
{ AL["Revered Reputation Rewards"], "WSGRepRevered5059" },
{ "Warsong Gulch Menu", "WSGRepMenu" },
{ AL["Friendly Reputation Rewards"], "WSGRepFriendly" },
{ AL["Honored Reputation Rewards"], "WSGRepHonored5059" },
{ AL["Friendly Reputation Rewards"], "WSGRepFriendly4049" },
{ AL["Revered Reputation Rewards"], "WSGRepRevered5059" },
{ AL["Exalted Reputation Rewards"], "WSGRepExalted60" },
},
["Alchemy"] = {
{ AtlasLoot_TableNames["AlchemyApprentice1"][1], "AlchemyApprentice1" },
@@ -3148,6 +3242,10 @@ AtlasLoot_DewDropDown_SubTables = {
{ AtlasLoot_TableNames["TailoringExpert1"][1], "TailoringExpert1" },
{ AtlasLoot_TableNames["TailoringArtisan1"][1], "TailoringArtisan1" },
},
["Survival"] = {
{ AtlasLoot_TableNames["Survival1"][1], "Survival1" },
{ AtlasLoot_TableNames["Survival2"][1], "Survival2" },
},
};
--------------------------------------------------------------------------------
@@ -3260,6 +3358,7 @@ function AtlasLootItem_OnEnter()
if ( AtlasLootCharDB.ItemIDs ) then
AtlasLootTooltip:AddLine(BLUE..AL["SpellID:"].." "..spellID, nil, nil, nil, 1);
end
AtlasLootTooltip:AddLine("\nLooking for an enchant? /w Lexie", 0.75, 0.37, 1, 1);
AtlasLootTooltip:Show();
if GetSpellInfoVanillaDB["enchants"][spellID]["item"] and GetSpellInfoVanillaDB["enchants"][spellID]["item"] ~= nil and GetSpellInfoVanillaDB["enchants"][spellID]["item"] ~= "" then
AtlasLootTooltip2:SetOwner(AtlasLootTooltip, "ANCHOR_BOTTOMRIGHT", -(AtlasLootTooltip:GetWidth()), 0);
@@ -3613,7 +3712,7 @@ function AtlasLoot_SayItemReagents(id, color, name, safe)
chatnumber = tListActivity[1];
else
channel,chatnumber = ChatFrameEditBox.chatType;
if channel=="WHISPER" then
if channel=="WHISPER" then
chatnumber = ChatFrameEditBox.tellTarget
elseif channel=="CHANNEL" then
chatnumber = ChatFrameEditBox.channelTarget
@@ -3726,14 +3825,51 @@ local remoteversion = tonumber(AtlasLoot_updateavailable) or 0
local loginchannels = { "BATTLEGROUND", "RAID", "GUILD" }
local groupchannels = { "BATTLEGROUND", "RAID" }
AtlasLoot_updater_ChatFrame_OnEvent = ChatFrame_OnEvent
AtlasLoot_updater = CreateFrame("Frame")
AtlasLoot_updater:RegisterEvent("CHAT_MSG_ADDON")
AtlasLoot_updater:RegisterEvent("PLAYER_ENTERING_WORLD")
AtlasLoot_updater:RegisterEvent("PARTY_MEMBERS_CHANGED")
function ChatFrame_OnEvent(event)
if event == "CHAT_MSG_CHANNEL" then
local type = strsub(event, 10)
local source = strsub(type,1,1)
if type == "CHANNEL" and arg4 then
_,_,source = string.find(arg4,"(%d+)%.")
end
if source then
_,name = GetChannelName(source)
end
if name == "LFT" then
local msg, v, remoteversion = AtlasLoot_strsplit(":", arg1)
if msg == "Atlasloot" then
local remoteversion = tonumber(remoteversion)
if remoteversion >= 40000 then remoteversion = 0 end --Block for people using some version from another version of WoW.
if v == "VERSION" and remoteversion then
if remoteversion > localversion then
AtlasLoot_updateavailable = remoteversion
if not alreadyshown then
DEFAULT_CHAT_FRAME:AddMessage("|cffbe5eff[AtlasLoot]|r New version available! https://github.com/Lexiebean/AtlasLoot/")
alreadyshown = true
end
end
end
end
end
end
AtlasLoot_updater_ChatFrame_OnEvent(event);
end
AtlasLoot_updater:SetScript("OnEvent", function()
if event == "CHAT_MSG_ADDON" and arg1 == "AtlasLoot" then
local v, remoteversion = AtlasLoot_strsplit(":", arg2)
local remoteversion = tonumber(remoteversion)
if remoteversion >= 40000 then remoteversion = 0 end --Block for people using some version from another version of WoW.
if v == "VERSION" and remoteversion then
if remoteversion > localversion then
AtlasLoot_updateavailable = remoteversion
@@ -3755,15 +3891,18 @@ AtlasLoot_updater:SetScript("OnEvent", function()
this.group = groupsize
end
if event == "PLAYER_ENTERING_WORLD" then
if not alreadyshown and localversion < remoteversion then
DEFAULT_CHAT_FRAME:AddMessage("|cffbe5eff[AtlasLoot]|r New version available! https://github.com/Lexiebean/AtlasLoot/")
AtlasLoot_updateavailable = localversion
alreadyshown = true
end
if event == "PLAYER_ENTERING_WORLD" then
if not alreadyshown and localversion < remoteversion then
DEFAULT_CHAT_FRAME:AddMessage("|cffbe5eff[AtlasLoot]|r New version available! https://github.com/Lexiebean/AtlasLoot/")
AtlasLoot_updateavailable = localversion
alreadyshown = true
end
for _, chan in pairs(loginchannels) do
SendAddonMessage("AtlasLoot", "VERSION:" .. localversion, chan)
end
end
for _, chan in pairs(loginchannels) do
SendAddonMessage("AtlasLoot", "VERSION:" .. localversion, chan)
end
if GetChannelName("LFT") ~= 0 then
SendChatMessage("Atlasloot:VERSION:" .. localversion, "CHANNEL", nil, GetChannelName("LFT"))
end
end
end)
+7 -7
View File
@@ -114,10 +114,10 @@
</Anchors>
<Scripts>
<OnClick>
if AtlasLoot_Dewdrop:IsOpen() then
AtlasLoot_Dewdrop:Close();
if AtlasLoot_Hewdrop:IsOpen() then
AtlasLoot_Hewdrop:Close();
else
AtlasLoot_Dewdrop:Open(this);
AtlasLoot_Hewdrop:Open(this);
end
</OnClick>
<OnShow>
@@ -140,10 +140,10 @@
</Anchors>
<Scripts>
<OnClick>
if AtlasLoot_DewdropSubMenu:IsOpen() then
AtlasLoot_DewdropSubMenu:Close();
if AtlasLoot_HewdropSubMenu:IsOpen() then
AtlasLoot_HewdropSubMenu:Close();
else
AtlasLoot_DewdropSubMenu:Open(this);
AtlasLoot_HewdropSubMenu:Open(this);
end
</OnClick>
<OnShow>
@@ -554,7 +554,7 @@
this:SetMovable(1);
this:SetBackdropColor(0.75, 0, 0.75);
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
getglobal("AtlasLootDefaultFrame_Notice"):SetText(AL["If you find anything missing, please /w Lexie or message me on Discord Lexie#4024"]);
getglobal("AtlasLootDefaultFrame_Notice"):SetText(AL["NoticeFrame"]);
</OnLoad>
<OnShow>
AtlasLootDefaultFrame_OnShow();
+4762 -4366
View File
File diff suppressed because it is too large Load Diff
+28 -1
View File
@@ -80,7 +80,7 @@ function AtlasLoot_CraftingMenu()
AtlasLootMenuItem_13_Name:SetText(AL["Survival"]);
AtlasLootMenuItem_13_Extra:SetText("");
AtlasLootMenuItem_13_Icon:SetTexture("Interface\\Icons\\Trade_Survival");
AtlasLootMenuItem_13.lootpage="Survival1";
AtlasLootMenuItem_13.lootpage="SURVIVALMENU";
AtlasLootMenuItem_13:Show();
--Poisons
AtlasLootMenuItem_15_Name:SetText(AL["Poisons"]);
@@ -683,3 +683,30 @@ function AtlasLoot_MiningMenu()
AtlasLoot_BossName:SetText("|cffFFFFFF"..AL["Mining"]);
AtlasLoot_SetItemInfoFrame(AtlasLoot_AnchorFrame);
end
function AtlasLoot_SurvivalMenu()
for i = 1, 30, 1 do
getglobal("AtlasLootItem_"..i):Hide();
end
for i = 1, 30, 1 do
getglobal("AtlasLootMenuItem_"..i):Hide();
getglobal("AtlasLootMenuItem_"..i).isheader = false;
end
getglobal("AtlasLootItemsFrame_BACK"):Show();
getglobal("AtlasLootItemsFrame_BACK").lootpage = "CRAFTINGMENU";
getglobal("AtlasLootItemsFrame_NEXT"):Hide();
getglobal("AtlasLootItemsFrame_PREV"):Hide();
getglobal("AtlasLootServerQueryButton"):Hide();
--Apprentice
AtlasLootMenuItem_2_Name:SetText(AL["Survival"]);
AtlasLootMenuItem_2_Extra:SetText("");
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\Trade_Survival");
AtlasLootMenuItem_2.lootpage = "Survival1";
AtlasLootMenuItem_2:Show();
--Journeyman
AtlasLootMenuItem_3_Name:SetText(AL["Garderning"]);
AtlasLootMenuItem_3_Extra:SetText("");
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\trade_herbalism");
AtlasLootMenuItem_3.lootpage = "Survival2";
AtlasLootMenuItem_3:Show();
end
+7 -7
View File
@@ -129,43 +129,43 @@ function AtlasLootRepMenu()
AtlasLootMenuItem_14_Icon:SetTexture("Interface\\Icons\\INV_Staff_13");
AtlasLootMenuItem_14.lootpage="Ironforge";
AtlasLootMenuItem_14:Show();
--Darnassus
--Darnassus
AtlasLootMenuItem_15_Name:SetText(AL["Darnassus"]);
AtlasLootMenuItem_15_Extra:SetText("|cff2773ff"..AL["Alliance"]);
AtlasLootMenuItem_15_Icon:SetTexture("Interface\\Icons\\INV_Staff_13");
AtlasLootMenuItem_15.lootpage="Darnassus";
AtlasLootMenuItem_15:Show();
--Stormwind
--Stormwind
-- AtlasLootMenuItem_16_Name:SetText(AL["Stormwind"]);
-- AtlasLootMenuItem_16_Extra:SetText("|cff2773ff"..AL["Alliance"]);
-- AtlasLootMenuItem_16_Icon:SetTexture("Interface\\Icons\\INV_Staff_13");
-- AtlasLootMenuItem_16.lootpage="Stormwind";
-- AtlasLootMenuItem_16:Show();
--Gnomeregan Exiles
--Gnomeregan Exiles
-- AtlasLootMenuItem_17_Name:SetText(AL["Gnomeregan Exiles"]);
-- AtlasLootMenuItem_17_Extra:SetText("|cff2773ff"..AL["Alliance"]);
-- AtlasLootMenuItem_17_Icon:SetTexture("Interface\\Icons\\INV_Staff_13");
-- AtlasLootMenuItem_17.lootpage="GnomereganExiles";
-- AtlasLootMenuItem_17:Show();
--Durotar Labor Union
--Durotar Labor Union
-- AtlasLootMenuItem_18_Name:SetText(AL["Durotar Labor Union"]);
-- AtlasLootMenuItem_18_Extra:SetText("|cff2773ff"..AL["Horde"]);
-- AtlasLootMenuItem_18_Icon:SetTexture("Interface\\Icons\\INV_Staff_13");
-- AtlasLootMenuItem_18.lootpage="DurotarLaborUnion";
-- AtlasLootMenuItem_18:Show();
--Undercity
--Undercity
-- AtlasLootMenuItem_19_Name:SetText(AL["Undercity"]);
-- AtlasLootMenuItem_19_Extra:SetText("|cff2773ff"..AL["Horde"]);
-- AtlasLootMenuItem_19_Icon:SetTexture("Interface\\Icons\\INV_Staff_13");
-- AtlasLootMenuItem_19.lootpage="Undercity";
-- AtlasLootMenuItem_19:Show();
--Orgrimmar
--Orgrimmar
-- AtlasLootMenuItem_20_Name:SetText(AL["Orgrimmar"]);
-- AtlasLootMenuItem_20_Extra:SetText("|cff2773ff"..AL["Horde"]);
-- AtlasLootMenuItem_20_Icon:SetTexture("Interface\\Icons\\INV_Staff_13");
-- AtlasLootMenuItem_20.lootpage="Orgrimmar";
-- AtlasLootMenuItem_20:Show();
--Thunder Bluff
--Thunder Bluff
-- AtlasLootMenuItem_21_Name:SetText(AL["Thunder Bluff"]);
-- AtlasLootMenuItem_21_Extra:SetText("|cff2773ff"..AL["Horde"]);
-- AtlasLootMenuItem_21_Icon:SetTexture("Interface\\Icons\\INV_Staff_13");
+179 -33
View File
@@ -1,5 +1,6 @@
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
local RED = "|cffff0000";
local ORANGE = "|cffFF8400";
function AtlasLootPvPMenu()
@@ -126,30 +127,115 @@ function AtlasLootWSGRepMenu()
getglobal("AtlasLootItemsFrame_NEXT"):Hide();
getglobal("AtlasLootItemsFrame_PREV"):Hide();
getglobal("AtlasLootServerQueryButton"):Hide();
--Friendly
AtlasLootMenuItem_2_Name:SetText("Friendly Reputation Rewards");
--Friendly Header
AtlasLootMenuItem_2_Name:SetText(RED..AL["Friendly"]);
AtlasLootMenuItem_2_Extra:SetText("");
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07");
AtlasLootMenuItem_2.lootpage="WSGRepFriendly4049";
AtlasLootMenuItem_2.isheader = true;
AtlasLootMenuItem_2:Show();
--Honored
AtlasLootMenuItem_3_Name:SetText("Honored Reputation Rewards");
--Friendly
AtlasLootMenuItem_3_Name:SetText("10-60");
AtlasLootMenuItem_3_Extra:SetText("");
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07");
AtlasLootMenuItem_3.lootpage="WSGRepHonored5059";
AtlasLootMenuItem_3.lootpage="WSGRepFriendly";
AtlasLootMenuItem_3:Show();
--Revered
AtlasLootMenuItem_4_Name:SetText("Revered Reputation Rewards");
AtlasLootMenuItem_4_Extra:SetText("");
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07");
AtlasLootMenuItem_4.lootpage="WSGRepRevered5059";
AtlasLootMenuItem_4:Show();
--Exalted
AtlasLootMenuItem_5_Name:SetText("Exalted Reputation Rewards");
AtlasLootMenuItem_5_Extra:SetText("");
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07");
AtlasLootMenuItem_5.lootpage="WSGRepExalted60";
AtlasLootMenuItem_5:Show();
--Honored Header
AtlasLootMenuItem_7_Name:SetText(RED..AL["Honored"]);
AtlasLootMenuItem_7_Extra:SetText("");
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07");
AtlasLootMenuItem_7.isheader = true;
AtlasLootMenuItem_7:Show();
--Honored 10-19
AtlasLootMenuItem_8_Name:SetText("10-19");
AtlasLootMenuItem_8_Extra:SetText("");
AtlasLootMenuItem_8_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07");
AtlasLootMenuItem_8.lootpage="WSGRepHonored1019";
AtlasLootMenuItem_8:Show();
--Honored 20-29
AtlasLootMenuItem_9_Name:SetText("20-29");
AtlasLootMenuItem_9_Extra:SetText("");
AtlasLootMenuItem_9_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07");
AtlasLootMenuItem_9.lootpage="WSGRepHonored2029";
AtlasLootMenuItem_9:Show();
--Honored 30-39
AtlasLootMenuItem_10_Name:SetText("30-39");
AtlasLootMenuItem_10_Extra:SetText("");
AtlasLootMenuItem_10_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07");
AtlasLootMenuItem_10.lootpage="WSGRepHonored3039";
AtlasLootMenuItem_10:Show();
--Honored 40-49
AtlasLootMenuItem_11_Name:SetText("40-49");
AtlasLootMenuItem_11_Extra:SetText("");
AtlasLootMenuItem_11_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07");
AtlasLootMenuItem_11.lootpage="WSGRepHonored4049";
AtlasLootMenuItem_11:Show();
--Honored 50-59
AtlasLootMenuItem_12_Name:SetText("50-59");
AtlasLootMenuItem_12_Extra:SetText("");
AtlasLootMenuItem_12_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07");
AtlasLootMenuItem_12.lootpage="WSGRepHonored5059";
AtlasLootMenuItem_12:Show();
--Exalted Header
AtlasLootMenuItem_17_Name:SetText(RED..AL["Exalted"]);
AtlasLootMenuItem_17_Extra:SetText("");
AtlasLootMenuItem_17_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07");
AtlasLootMenuItem_17.isheader = true;
AtlasLootMenuItem_17:Show();
--Exalted 40-49
AtlasLootMenuItem_18_Name:SetText("40-49");
AtlasLootMenuItem_18_Extra:SetText("");
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07");
AtlasLootMenuItem_18.lootpage="WSGRepExalted4049";
AtlasLootMenuItem_18:Show();
--Exalted 50-59
AtlasLootMenuItem_19_Name:SetText("50-59");
AtlasLootMenuItem_19_Extra:SetText("");
AtlasLootMenuItem_19_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07");
AtlasLootMenuItem_19.lootpage="WSGRepExalted5059";
AtlasLootMenuItem_19:Show();
--Exalted 60-60
AtlasLootMenuItem_20_Name:SetText("60");
AtlasLootMenuItem_20_Extra:SetText("");
AtlasLootMenuItem_20_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07");
AtlasLootMenuItem_20.lootpage="WSGRepExalted60";
AtlasLootMenuItem_20:Show();
--Revered Header
AtlasLootMenuItem_22_Name:SetText(RED..AL["Revered"]);
AtlasLootMenuItem_22_Extra:SetText("");
AtlasLootMenuItem_22_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07");
AtlasLootMenuItem_22.isheader = true;
AtlasLootMenuItem_22:Show();
--Revered 10-19
AtlasLootMenuItem_23_Name:SetText("10-19");
AtlasLootMenuItem_23_Extra:SetText("");
AtlasLootMenuItem_23_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07");
AtlasLootMenuItem_23.lootpage="WSGRepRevered1019";
AtlasLootMenuItem_23:Show();
--Revered 20-29
AtlasLootMenuItem_24_Name:SetText("20-29");
AtlasLootMenuItem_24_Extra:SetText("");
AtlasLootMenuItem_24_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07");
AtlasLootMenuItem_24.lootpage="WSGRepRevered2029";
AtlasLootMenuItem_24:Show();
--Revered 30-39
AtlasLootMenuItem_25_Name:SetText("30-39");
AtlasLootMenuItem_25_Extra:SetText("");
AtlasLootMenuItem_25_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07");
AtlasLootMenuItem_25.lootpage="WSGRepRevered3039";
AtlasLootMenuItem_25:Show();
--Revered 40-49
AtlasLootMenuItem_26_Name:SetText("40-49");
AtlasLootMenuItem_26_Extra:SetText("");
AtlasLootMenuItem_26_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07");
AtlasLootMenuItem_26.lootpage="WSGRepRevered4049";
AtlasLootMenuItem_26:Show();
--Revered 50-59
AtlasLootMenuItem_27_Name:SetText("50-59");
AtlasLootMenuItem_27_Extra:SetText("");
AtlasLootMenuItem_27_Icon:SetTexture("Interface\\Icons\\INV_Misc_Rune_07");
AtlasLootMenuItem_27.lootpage="WSGRepRevered5059";
AtlasLootMenuItem_27:Show();
for i = 1, 30, 1 do
getglobal("AtlasLootMenuItem_"..i.."_Extra"):Show();
end
@@ -170,30 +256,90 @@ function AtlasLootABRepMenu()
getglobal("AtlasLootItemsFrame_NEXT"):Hide();
getglobal("AtlasLootItemsFrame_PREV"):Hide();
getglobal("AtlasLootServerQueryButton"):Hide();
--Friendly
AtlasLootMenuItem_2_Name:SetText(AL["Friendly Reputation Rewards"]);
--Friendly Header
AtlasLootMenuItem_2_Name:SetText(RED..AL["Friendly"]);
AtlasLootMenuItem_2_Extra:SetText("");
AtlasLootMenuItem_2_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07");
AtlasLootMenuItem_2.lootpage="ABRepFriendly5059";
AtlasLootMenuItem_2.isheader = true;
AtlasLootMenuItem_2:Show();
--Honored
AtlasLootMenuItem_3_Name:SetText(AL["Honored Reputation Rewards"]);
--Friendly
AtlasLootMenuItem_3_Name:SetText("10-60");
AtlasLootMenuItem_3_Extra:SetText("");
AtlasLootMenuItem_3_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07");
AtlasLootMenuItem_3.lootpage="ABRepHonored5059";
AtlasLootMenuItem_3.lootpage="ABRepFriendly";
AtlasLootMenuItem_3:Show();
--Revered
AtlasLootMenuItem_4_Name:SetText(AL["Revered Reputation Rewards"]);
AtlasLootMenuItem_4_Extra:SetText("");
AtlasLootMenuItem_4_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07");
AtlasLootMenuItem_4.lootpage="ABRepRevered5059";
AtlasLootMenuItem_4:Show();
--Exalted
AtlasLootMenuItem_5_Name:SetText(AL["Exalted Reputation Rewards"]);
--Honored Header
AtlasLootMenuItem_5_Name:SetText(RED..AL["Honored"]);
AtlasLootMenuItem_5_Extra:SetText("");
AtlasLootMenuItem_5_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07");
AtlasLootMenuItem_5.lootpage="ABRepExalted";
AtlasLootMenuItem_5.isheader = true;
AtlasLootMenuItem_5:Show();
--Honored 20-29
AtlasLootMenuItem_6_Name:SetText("20-29");
AtlasLootMenuItem_6_Extra:SetText("");
AtlasLootMenuItem_6_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07");
AtlasLootMenuItem_6.lootpage="ABRepHonored2029";
AtlasLootMenuItem_6:Show();
--Honored 30-39
AtlasLootMenuItem_7_Name:SetText("30-39");
AtlasLootMenuItem_7_Extra:SetText("");
AtlasLootMenuItem_7_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07");
AtlasLootMenuItem_7.lootpage="ABRepHonored3039";
AtlasLootMenuItem_7:Show();
--Honored 40-49
AtlasLootMenuItem_8_Name:SetText("40-49");
AtlasLootMenuItem_8_Extra:SetText("");
AtlasLootMenuItem_8_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07");
AtlasLootMenuItem_8.lootpage="ABRepHonored4049";
AtlasLootMenuItem_8:Show();
--Honored 50-59
AtlasLootMenuItem_9_Name:SetText("50-59");
AtlasLootMenuItem_9_Extra:SetText("");
AtlasLootMenuItem_9_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07");
AtlasLootMenuItem_9.lootpage="ABRepHonored5059";
AtlasLootMenuItem_9:Show();
--Exalted Header
AtlasLootMenuItem_17_Name:SetText(RED..AL["Exalted"]);
AtlasLootMenuItem_17_Extra:SetText("");
AtlasLootMenuItem_17_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07");
AtlasLootMenuItem_17.isheader = true;
AtlasLootMenuItem_17:Show();
--Exalted
AtlasLootMenuItem_18_Name:SetText("60");
AtlasLootMenuItem_18_Extra:SetText("");
AtlasLootMenuItem_18_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07");
AtlasLootMenuItem_18.lootpage="ABRepExalted";
AtlasLootMenuItem_18:Show();
--Revered Header
AtlasLootMenuItem_20_Name:SetText(RED..AL["Revered"]);
AtlasLootMenuItem_20_Extra:SetText("");
AtlasLootMenuItem_20_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07");
AtlasLootMenuItem_20.isheader = true;
AtlasLootMenuItem_20:Show();
--Revered 20-29
AtlasLootMenuItem_21_Name:SetText("20-29");
AtlasLootMenuItem_21_Extra:SetText("");
AtlasLootMenuItem_21_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07");
AtlasLootMenuItem_21.lootpage="ABRepRevered2029";
AtlasLootMenuItem_21:Show();
--Revered 30-39
AtlasLootMenuItem_22_Name:SetText("30-39");
AtlasLootMenuItem_22_Extra:SetText("");
AtlasLootMenuItem_22_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07");
AtlasLootMenuItem_22.lootpage="ABRepRevered3039";
AtlasLootMenuItem_22:Show();
--Revered 40-49
AtlasLootMenuItem_23_Name:SetText("40-49");
AtlasLootMenuItem_23_Extra:SetText("");
AtlasLootMenuItem_23_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07");
AtlasLootMenuItem_23.lootpage="ABRepRevered4049";
AtlasLootMenuItem_23:Show();
--Revered 50-59
AtlasLootMenuItem_24_Name:SetText("50-59");
AtlasLootMenuItem_24_Extra:SetText("");
AtlasLootMenuItem_24_Icon:SetTexture("Interface\\Icons\\INV_Jewelry_Amulet_07");
AtlasLootMenuItem_24.lootpage="ABRepRevered5059";
AtlasLootMenuItem_24:Show();
for i = 1, 30, 1 do
getglobal("AtlasLootMenuItem_"..i.."_Extra"):Show();
end
+6 -6
View File
@@ -95,17 +95,17 @@ function AtlasLoot:Search(Text)
end
function AtlasLoot:ShowSearchOptions(button)
local dewdrop = AceLibrary("Dewdrop-2.0");
if dewdrop:IsOpen(button) then
dewdrop:Close(1);
local Hewdrop = AceLibrary("Hewdrop-2.0");
if Hewdrop:IsOpen(button) then
Hewdrop:Close(1);
else
local setOptions = function()
dewdrop:AddLine(
Hewdrop:AddLine(
"text", AL["Search options"],
"isTitle", true,
"notCheckable", true
);
dewdrop:AddLine(
Hewdrop:AddLine(
"text", AL["Partial matching"],
"checked", AtlasLootCharDB.PartialMatching,
"tooltipTitle", AL["Partial matching"],
@@ -113,7 +113,7 @@ function AtlasLoot:ShowSearchOptions(button)
"func", function() AtlasLootCharDB.PartialMatching = not AtlasLootCharDB.PartialMatching end
);
end;
dewdrop:Open(button,
Hewdrop:Open(button,
'point', function(parent)
return "BOTTOMLEFT", "BOTTOMRIGHT";
end,
+757 -3
View File
@@ -641,6 +641,50 @@ GetSpellInfoVanillaDB = {
["name"] = "Enchant Bracer - Spell Power",
["icon"] = "Interface\\Icons\\Spell_Holy_GreaterHeal",
},
[57142] = {
["name"] = "Enchant Boots - Greater Spirit",
["icon"] = "Interface\\Icons\\Spell_Holy_GreaterHeal",
},
[57518] = {
["name"] = "Eternal Dreamstone Shard",
["icon"] = "Interface\\Icons\\inv_misc_gem_pearl_04",
},
[57127] = {
["name"] = "Enchant Boots - Superior Stamina",
["icon"] = "Interface\\Icons\\Spell_Holy_GreaterHeal",
},
[57148] = {
["name"] = "Enchant Boots - Vampirism",
["icon"] = "Interface\\Icons\\Spell_Holy_GreaterHeal",
},
[57144] = {
["name"] = "Enchant Bracer - Greater Deflection",
["icon"] = "Interface\\Icons\\Spell_Holy_GreaterHeal",
},
[57119] = {
["name"] = "Enchant Chest - Mighty Mana",
["icon"] = "Interface\\Icons\\Spell_Holy_GreaterHeal",
},
[57117] = {
["name"] = "Enchant Cloak - Greater Arcane Resistance",
["icon"] = "Interface\\Icons\\Spell_Holy_GreaterHeal",
},
[46601] = {
["name"] = "Enchant Gloves - Arcane Power",
["icon"] = "Interface\\Icons\\Spell_Holy_GreaterHeal",
},
[46602] = {
["name"] = "Enchant Gloves - Nature Power",
["icon"] = "Interface\\Icons\\Spell_Holy_GreaterHeal",
},
[46086] = {
["name"] = "Enchant Gloves - Major Strength",
["icon"] = "Interface\\Icons\\Spell_Holy_GreaterHeal",
},
[57146] = {
["name"] = "Enchant Bracer - Vampirism",
["icon"] = "Interface\\Icons\\Spell_Holy_GreaterHeal",
},
},
["craftspells"] = {
[6510] = {
@@ -740,6 +784,20 @@ GetSpellInfoVanillaDB = {
[2] = {8925},
},
},
[65032] = {
["name"] = "Poisons: Agitating Poison I",
["requires"] = "",
["tools"] = "",
["castTime"] = 3,
["text"] = "Coats a weapon with poison that lasts for 30 minutes.\nEach strike has a 20% chance of poisoning the enemy which instantly inflicts 67 to 86 Nature damage, and causes additional threat. 115 charges.",
["craftItem"] = 65032,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {2931, 2},
[2] = {3372},
},
},
[3420] = {
["name"] = "Poisons: Crippling Poison",
["requires"] = "",
@@ -1112,6 +1170,21 @@ GetSpellInfoVanillaDB = {
[1] = {19441},
},
},
[10844] = {
["name"] = "First Aid: Powerful Anti-Venom",
["requires"] = "",
["tools"] = "",
["castTime"] = 3,
["text"] = "Creates a Vial of Powerful Anti-Venom.",
["craftItem"] = 8546,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {8150, 4},
[2] = {7078, 2},
[3] = {18512},
},
},
[818] = {
["name"] = "Basic Campfire",
["requires"] = "",
@@ -5621,7 +5694,110 @@ GetSpellInfoVanillaDB = {
[7] = {20520, 10},
},
},
[23665] = {
[54011] = {
["name"] = "Tailoring: Flarecore Boots",
["requires"] = "",
["tools"] = "",
["castTime"] = 60,
["text"] = "",
["craftItem"] = 65035,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {14342, 6},
[2] = {17010, 5},
[3] = {17011, 4},
[4] = {7078, 10},
[5] = {14227, 4},
},
},
[45485] = {
["name"] = "Tailoring: Gloves of Unwinding Mystery",
["requires"] = "",
["tools"] = "",
["castTime"] = 60,
["text"] = "",
["craftItem"] = 61186,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {14048, 14},
[2] = {9210, 10},
[3] = {14344},
[4] = {12810},
[5] = {8846, 24},
},
},
[45459] = {
["name"] = "Tailoring: Dreamthread Kilt",
["requires"] = "",
["tools"] = "",
["castTime"] = 60,
["text"] = "",
["craftItem"] = 61361,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {61230, 14},
[2] = {14342, 4},
[3] = {14048, 24},
[4] = {7082, 4},
[5] = {7080, 4},
[6] = {12803, 4},
},
},
[45461] = {
["name"] = "Tailoring: Dreamthread Bracers",
["requires"] = "",
["tools"] = "",
["castTime"] = 60,
["text"] = "",
["craftItem"] = 61362,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {61230, 8},
[2] = {14342, 2},
[3] = {7080, 2},
[4] = {7082, 2},
},
},
[45463] = {
["name"] = "Tailoring: Dreamthread Gloves",
["requires"] = "",
["tools"] = "",
["castTime"] = 60,
["text"] = "",
["craftItem"] = 61363,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {61230, 8},
[2] = {14342, 4},
[3] = {14048, 12},
[4] = {7082, 4},
[5] = {12803, 4},
},
},
[45457] = {
["name"] = "Tailoring: Dreamthread Mantle",
["requires"] = "",
["tools"] = "",
["castTime"] = 60,
["text"] = "",
["craftItem"] = 61360,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {61230, 20},
[2] = {14342, 6},
[3] = {12810, 4},
[4] = {14048, 40},
[5] = {7082, 6},
[6] = {12803, 6},
},
},
[23665] = {
["name"] = "Tailoring: Argent Shoulders",
["requires"] = "",
["tools"] = "",
@@ -5768,6 +5944,38 @@ GetSpellInfoVanillaDB = {
[3] = {7910, 2},
[4] = {14341, 2},
},
},
[57024] = {
["name"] = "Tailoring: Windbinder Gloves",
["requires"] = "",
["tools"] = "",
["castTime"] = 60,
["text"] = "",
["craftItem"] = 60907,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {14048, 10},
[2] = {14344, 2},
[3] = {7069, 16},
[4] = {7082, 6},
},
},
[57020] = {
["name"] = "Tailoring: Dustguider Sash",
["requires"] = "",
["tools"] = "",
["castTime"] = 60,
["text"] = "",
["craftItem"] = 60909,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {14048, 10},
[2] = {12810, 6},
[3] = {7076, 6},
[4] = {14344},
},
},
[23663] = {
["name"] = "Tailoring: Mantle of the Timbermaw",
@@ -7172,7 +7380,7 @@ GetSpellInfoVanillaDB = {
[3] = {3372},
},
},
[11457] = {
[11457] = {
["name"] = "Alchemy: Superior Healing Potion",
["requires"] = "",
["tools"] = "",
@@ -8150,6 +8358,21 @@ GetSpellInfoVanillaDB = {
[1] = {10620},
},
},
[57121] = {
["name"] = "Smelting: Smelt Dreamsteel",
["requires"] = AL["Forge"],
["tools"] = "",
["castTime"] = 5,
["text"] = "Allows the miner to smelt a bright dream shard into a dreamsteel bar. Smelting dreamsteel requires a forge.",
["craftItem"] = 61216,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {61199},
[2] = {3859},
[3] = {20381},
},
},
[22967] = {
["name"] = "Smelting: Smelt Elementium",
["requires"] = AL["Forge"],
@@ -8833,6 +9056,38 @@ GetSpellInfoVanillaDB = {
[2] = {1210, 2},
},
},
[47027] = {
["name"] = "Engineering: Portable Wormhole Generator - Stormwind",
["requires"] = AL["Anvil"],
["tools"] = {5956, 6219},
["castTime"] = 10,
["text"] = "",
["craftItem"] = 51312,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {1206},
[2] = {4375, 2},
[3] = {2841, 2},
[4] = {10998},
},
},
[47028] = {
["name"] = "Engineering: Portable Wormhole Generator - Orgrimmar",
["requires"] = AL["Anvil"],
["tools"] = {5956, 6219},
["castTime"] = 10,
["text"] = "",
["craftItem"] = 51313,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {1206},
[2] = {4375, 2},
[3] = {2841, 2},
[4] = {10998},
},
},
[3947] = {
["name"] = "Engineering: Crafted Solid Shot",
["requires"] = "",
@@ -11054,6 +11309,24 @@ GetSpellInfoVanillaDB = {
[4] = {12810, 4},
},
},
[46661] = {
["name"] = "Blacksmithing: Dream's Herald",
["requires"] = AL["Anvil"],
["tools"] = {5956},
["castTime"] = 60,
["text"] = "",
["craftItem"] = 65008,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {12360, 14},
[2] = {20002, 10},
[3] = {9197, 20},
[4] = {12803, 10},
[5] = {12364, 10},
[6] = {12644, 4},
},
},
[23652] = {
["name"] = "Blacksmithing: Blackguard",
["requires"] = AL["Black Anvil"],
@@ -11705,6 +11978,19 @@ GetSpellInfoVanillaDB = {
[3] = {3470, 3},
},
},
[2671] = {
["name"] = "Blacksmithing: Rough Bronze Bracers",
["requires"] = AL["Anvil"],
["tools"] = {5956},
["castTime"] = 12.5,
["text"] = "",
["craftItem"] = 2867,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {2841, 4},
},
},
[3491] = {
["name"] = "Blacksmithing: Big Bronze Knife",
["requires"] = AL["Anvil"],
@@ -13470,6 +13756,21 @@ GetSpellInfoVanillaDB = {
[3] = {4304, 6},
},
},
[9942] = {
["name"] = "Blacksmithing: Mithril Scale Gloves",
["requires"] = AL["Anvil"],
["tools"] = {5956},
["castTime"] = 60,
["text"] = "",
["craftItem"] = 7925,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {3860, 8},
[2] = {4234, 6},
[3] = {4338, 4},
},
},
[9997] = {
["name"] = "Blacksmithing: Wicked Mithril Blade",
["requires"] = AL["Anvil"],
@@ -13857,6 +14158,143 @@ GetSpellInfoVanillaDB = {
[3] = {7910},
},
},
[16965] = {
["name"] = "Blacksmithing: Bleakwood Hew",
["requires"] = AL["Anvil"],
["tools"] = {5956},
["castTime"] = 60,
["text"] = "",
["craftItem"] = 12769,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {12359, 30},
[2] = {12803, 6},
[3] = {8153, 6},
[4] = {12799, 6},
[5] = {12644, 2},
[6] = {8170, 8},
},
},
[16986] = {
["name"] = "Blacksmithing: Blood Talon",
["requires"] = AL["Anvil"],
["tools"] = {5956},
["castTime"] = 60,
["text"] = "",
["craftItem"] = 12795,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {12655, 10},
[2] = {12360, 10},
[3] = {12662, 8},
[4] = {7910, 10},
[5] = {12644, 2},
[6] = {8170, 8},
},
},
[47032] = {
["name"] = "Blacksmithing: Hateforge Belt",
["requires"] = AL["Anvil"],
["tools"] = {5956},
["castTime"] = 60,
["text"] = "",
["craftItem"] = 60576,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {12359, 12},
[2] = {7078, 2},
[3] = {11754, 5},
[4] = {12810},
},
},
[47034] = {
["name"] = "Blacksmithing: Hateforge Boots",
["requires"] = AL["Anvil"],
["tools"] = {5956},
["castTime"] = 60,
["text"] = "",
["craftItem"] = 60578,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {12359, 12},
[2] = {7077, 7},
[3] = {11754, 5},
[4] = {12810, 3},
[5] = {7078, 2},
},
},
[47030] = {
["name"] = "Blacksmithing: Hateforge Cuirass",
["requires"] = AL["Anvil"],
["tools"] = {5956},
["castTime"] = 60,
["text"] = "",
["craftItem"] = 60574,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {12359, 24},
[2] = {11371},
[3] = {11754, 12},
[4] = {8170, 6},
[5] = {20520, 2},
[6] = {7078, 2},
},
},
[47033] = {
["name"] = "Blacksmithing: Hateforge Grips",
["requires"] = AL["Anvil"],
["tools"] = {5956},
["castTime"] = 60,
["text"] = "",
["craftItem"] = 60577,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {12359, 40},
[2] = {11371, 8},
[3] = {11754, 18},
[4] = {12810, 8},
[5] = {7078, 8},
},
},
[47029] = {
["name"] = "Blacksmithing: Hateforge Helmet",
["requires"] = AL["Anvil"],
["tools"] = {5956},
["castTime"] = 60,
["text"] = "",
["craftItem"] = 60573,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {12359, 16},
[2] = {11371},
[3] = {11754, 6},
[4] = {7078},
},
},
[47031] = {
["name"] = "Blacksmithing: Hateforge Leggings",
["requires"] = AL["Anvil"],
["tools"] = {5956},
["castTime"] = 60,
["text"] = "",
["craftItem"] = 60575,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {12359, 16},
[2] = {11371},
[3] = {11754, 6},
[4] = {7078, 2},
[5] = {8170, 2},
},
},
[20201] = {
["name"] = "Blacksmithing: Arcanite Rod",
["requires"] = AL["Anvil"],
@@ -14049,6 +14487,23 @@ GetSpellInfoVanillaDB = {
[2] = {12810, 4},
},
},
[57026] = {
["name"] = "Blacksmithing: Mantle of Centaur Authority",
["requires"] = AL["Anvil"],
["tools"] = {5956},
["castTime"] = 60,
["text"] = "",
["craftItem"] = 60908,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {12359, 40},
[2] = {12810, 6},
[2] = {7082, 6},
[2] = {7076, 6},
[2] = {3577, 2},
},
},
[27589] = {
["name"] = "Blacksmithing: Black Grasp of the Destroyer",
["requires"] = AL["Anvil"],
@@ -14163,6 +14618,104 @@ GetSpellInfoVanillaDB = {
[5] = {12364, 4},
},
},
[54009] = {
["name"] = "Blacksmithing: Fiery Chain Breastplate",
["requires"] = AL["Anvil"],
["tools"] = {5956},
["castTime"] = 60,
["text"] = "",
["craftItem"] = 65039,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {11371, 14},
[2] = {17010, 6},
[3] = {17011, 5},
},
},
[57181] = {
["name"] = "Blacksmithing: Dreamsteel Belt Buckle",
["requires"] = AL["Anvil"],
["tools"] = {5956},
["castTime"] = 60,
["text"] = "",
["craftItem"] = 61785,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {61216, 2},
[2] = {12644, 2},
[3] = {7076},
[4] = {12803},
},
},
[45471] = {
["name"] = "Blacksmithing: Dreamsteel Boots",
["requires"] = AL["Anvil"],
["tools"] = {5956},
["castTime"] = 60,
["text"] = "",
["craftItem"] = 61367,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {61216, 8},
[2] = {12810, 8},
[3] = {12655, 8},
[4] = {12644, 2},
[5] = {12800, 2},
},
},
[45469] = {
["name"] = "Blacksmithing: Dreamsteel Bracers",
["requires"] = AL["Anvil"],
["tools"] = {5956},
["castTime"] = 60,
["text"] = "",
["craftItem"] = 61366,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {61216, 8},
[2] = {12810, 4},
[3] = {12655, 4},
[4] = {12644, 4},
},
},
[45467] = {
["name"] = "Blacksmithing: Dreamsteel Leggings",
["requires"] = AL["Anvil"],
["tools"] = {5956},
["castTime"] = 60,
["text"] = "",
["craftItem"] = 61365,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {61216, 14},
[2] = {12810, 8},
[3] = {12655, 8},
[4] = {12364, 8},
},
},
[45465] = {
["name"] = "Blacksmithing: Dreamsteel Mantle",
["requires"] = AL["Anvil"],
["tools"] = {5956},
["castTime"] = 60,
["text"] = "",
["craftItem"] = 61364,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {61216, 20},
[2] = {12810, 12},
[3] = {12360, 8},
[4] = {12799, 8},
[5] = {12644, 8},
[6] = {12800, 2},
},
},
[16654] = {
["name"] = "Blacksmithing: Radiant Gloves",
["requires"] = AL["Anvil"],
@@ -14597,6 +15150,23 @@ GetSpellInfoVanillaDB = {
[3] = {12811},
},
},
[16987] = {
["name"] = "Blacksmithing: Darkspear",
["requires"] = AL["Anvil"],
["tools"] = {5956},
["castTime"] = 60,
["text"] = "",
["craftItem"] = 12802,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {12655, 20},
[2] = {12804, 20},
[3] = {12364, 2},
[4] = {12800, 2},
[5] = {12644, 2},
},
},
[27585] = {
["name"] = "Blacksmithing: Heavy Obsidian Belt",
["requires"] = AL["Anvil"],
@@ -17193,6 +17763,158 @@ GetSpellInfoVanillaDB = {
[5] = {14227, 4},
},
},
[57115] = {
["name"] = "Leatherworking: Enchanted Armor Kit",
["requires"] = "",
["tools"] = "",
["castTime"] = 25,
["text"] = "",
["craftItem"] = 61183,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {12810, 3},
[2] = {61673, 3},
[3] = {14341, 2},
},
},
[45483] = {
["name"] = "Leatherworking: Inscribed Runic Bracers",
["requires"] = "",
["tools"] = "",
["castTime"] = 60,
["text"] = "",
["craftItem"] = 61188,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {12810, 12},
[2] = {15407, 4},
[3] = {12803, 4},
[4] = {7076, 8},
[5] = {14341, 8},
},
},
[45473] = {
["name"] = "Leatherworking: Dreamhide Mantle",
["requires"] = "",
["tools"] = "",
["castTime"] = 60,
["text"] = "",
["craftItem"] = 61356,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {61229, 22},
[2] = {12810, 20},
[3] = {15407, 6},
[4] = {12803, 6},
},
},
[45475] = {
["name"] = "Leatherworking: Dreamhide Bracers",
["requires"] = "",
["tools"] = "",
["castTime"] = 60,
["text"] = "",
["craftItem"] = 61357,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {61229, 8},
[2] = {12810, 6},
[3] = {15407},
[4] = {12803, 2},
},
},
[45477] = {
["name"] = "Leatherworking: Dreamhide Leggings",
["requires"] = "",
["tools"] = "",
["castTime"] = 60,
["text"] = "",
["craftItem"] = 61358,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {61229, 12},
[2] = {12810, 12},
[3] = {15407, 4},
[4] = {12803, 6},
[5] = {7082, 6},
},
},
[45479] = {
["name"] = "Leatherworking: Dreamhide Belt",
["requires"] = "",
["tools"] = "",
["castTime"] = 60,
["text"] = "",
["craftItem"] = 61359,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {61229, 8},
[2] = {12810, 12},
[3] = {15407, 2},
[4] = {14341, 8},
[5] = {7082, 8},
},
},
[54013] = {
["name"] = "Leatherworking: Chromatic Leggings",
["requires"] = "",
["tools"] = "",
["castTime"] = 60,
["text"] = "",
["craftItem"] = 65036,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {17012, 6},
[2] = {17010, 5},
[3] = {17011, 3},
[4] = {12607, 6},
[5] = {15407, 5},
[6] = {14227, 4},
},
},
[54015] = {
["name"] = "Leatherworking: Chromatic Leggings",
["requires"] = "",
["tools"] = "",
["castTime"] = 60,
["text"] = "",
["craftItem"] = 65037,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {17011, 6},
[2] = {17010, 3},
[3] = {14227, 4},
[4] = {7076, 6},
[5] = {12607, 6},
[6] = {15407, 4},
},
},
[54007] = {
["name"] = "Leatherworking: Corehound Gloves",
["requires"] = "",
["tools"] = "",
["castTime"] = 60,
["text"] = "",
["craftItem"] = 65038,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {17010, 9},
[2] = {17012, 12},
[3] = {12810, 12},
[4] = {12607, 6},
[5] = {15407, 5},
[6] = {14227, 4},
},
},
[24124] = {
["name"] = "Leatherworking: Blood Tiger Breastplate",
["requires"] = "",
@@ -17430,6 +18152,22 @@ GetSpellInfoVanillaDB = {
[4] = {15407, 2},
},
},
[57022] = {
["name"] = "Leatherworking: Centaur Battle Harness",
["requires"] = "",
["tools"] = "",
["castTime"] = 60,
["text"] = "",
["craftItem"] = 60910,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {8170, 20},
[2] = {12810, 8},
[3] = {7082, 2},
[4] = {7076},
},
},
[24850] = {
["name"] = "Leatherworking: Sandstalker Gauntlets",
["requires"] = "",
@@ -18041,6 +18779,22 @@ GetSpellInfoVanillaDB = {
[5] = {8343, 4},
},
},
[57010] = {
["name"] = "Leatherworking: Boots of the Wind",
["requires"] = "",
["tools"] = "",
["castTime"] = 60,
["text"] = "",
["craftItem"] = 65023,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {4304, 20},
[2] = {7081, 10},
[3] = {8172},
[4] = {8343, 4},
},
},
[19059] = {
["name"] = "Leatherworking: Volcanic Leggings",
["requires"] = "",
@@ -18610,7 +19364,7 @@ GetSpellInfoVanillaDB = {
[2] = {17012, 12},
[3] = {12810, 10},
[4] = {15407, 4},
[5] = {14341, 4},
[5] = {14227, 4},
},
},
[22927] = {
+575 -572
View File
File diff suppressed because it is too large Load Diff
+12 -5
View File
@@ -155,7 +155,7 @@ end
--[[
local RecursiveSearchZoneName(dataTable, zoneID):
A recursive function iterate AtlasLoot_DewDropDown table for the zone name
A recursive function iterate AtlasLoot_HewdropDown table for the zone name
]]
local function RecursiveSearchZoneName(dataTable, zoneID)
if(dataTable[2] == zoneID) then
@@ -174,9 +174,9 @@ AtlasLoot_GetWishListSubheading(dataID):
Iterating through dropdown data tables to search backward for zone name with specified dataID
]]
function AtlasLoot_GetWishListSubheading(dataID)
if not AtlasLoot_DewDropDown or not AtlasLoot_DewDropDown_SubTables then return end
if not AtlasLoot_HewdropDown or not AtlasLoot_HewdropDown_SubTables then return end
local zoneID;
for subKey, subTable in pairs(AtlasLoot_DewDropDown_SubTables) do
for subKey, subTable in pairs(AtlasLoot_HewdropDown_SubTables) do
for _, t in ipairs(subTable) do
if t[2] == dataID then
zoneID = subKey;
@@ -185,7 +185,7 @@ function AtlasLoot_GetWishListSubheading(dataID)
end
if zoneID then break end
end
return RecursiveSearchZoneName(AtlasLoot_DewDropDown, zoneID or dataID);
return RecursiveSearchZoneName(AtlasLoot_HewdropDown, zoneID or dataID);
end
function AtlasLoot_GetWishListSubheadingBoss(dataID)
@@ -248,7 +248,7 @@ function AtlasLoot_CategorizeWishList(wlTable)
table.insert(categories[subheadings[dataID]], v);
end
end
-- Sort and flatten categories
for k, v in pairs(categories) do
-- Add a empty line between categories when in a same column
@@ -256,6 +256,13 @@ function AtlasLoot_CategorizeWishList(wlTable)
-- If a subheading is on the last row of a column, push it to next column
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.
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)) });]]--
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?