Added many missing things

* Steel Plate added to Blacksmithing
* Intact Pounder Mainframe added to Gnomer
* Schematic: Hypertech Battery Pack added to Gnomer
* Missing rare trash drops from Maraudon
* Missing rare trash drops from Crescent Grove
* Missing epic trash drops from Molten Core
* Missing Talisman of Binding Shard from Garr
* Missing custom items from the Abyssal Council
* Missing custom items from the Elemental Invasion
* Added Concavius
This commit is contained in:
Lexie
2023-01-25 23:03:10 +11:00
parent b56864c14f
commit 2242fc437b
12 changed files with 329 additions and 73 deletions
+65 -1
View File
@@ -69,7 +69,7 @@ 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 = "5";
local VERSION_BOSSES = "6";
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";
@@ -2536,6 +2536,7 @@ AtlasLoot_DewDropDown_SubTables = {
{ AL["High Priestess A'lathea"], "TCGHighPriestessAlathea" },
{ AL["Fenektis the Deceiver"], "TCGFenektistheDeceiver" },
{ AL["Master Raxxieth"], "TCGMasterRaxxieth" },
{ AL["Trash Mobs"], "TCGTrash" },
},
["Gnomeregan"] = {
{ AL["Grubbis"], "GnGrubbis" },
@@ -2773,6 +2774,7 @@ AtlasLoot_DewDropDown_SubTables = {
{ AL["Tinkerer Gizlock"], "MaraTinkererGizlock" },
{ AL["Rotgrip"], "MaraRotgrip" },
{ AL["Princess Theradras"], "MaraPrincessTheradras" },
{ AL["Trash Mobs"], "MaraTrash" },
},
["Onyxia"] = {
{ AL["Onyxia"], "Onyxia" },
@@ -2864,6 +2866,7 @@ AtlasLoot_DewDropDown_SubTables = {
{ "Nerubian Overseer", "Nerubian" },
{ "Dark Reaver of Karazhan", "Reaver" },
{ "Ostarius", "Ostarius" },
{ "Concavius", "Concavius" },
},
["RareSpawns"] = {
{ "Tarangos The Dampener", "Tarangos" },
@@ -2915,6 +2918,7 @@ AtlasLoot_DewDropDown_SubTables = {
{ AtlasLoot_TableNames["WorldEpics1"][1], "WorldEpics1" },
},
["CraftSetBlacksmith"] = {
{ AL["Steel Plate"], "SteelPlate" },
{ AL["Imperial Plate"], "ImperialPlate" },
{ AL["The Darksoul"], "TheDarksoul" },
{ AL["Bloodsoul Embrace"], "BloodsoulEmbrace" },
@@ -3678,3 +3682,63 @@ function AtlasLoot_GetChatLink(id)
local e = string.sub(d, 2)
return "\124"..e.."\124H"..b.."\124h["..a.."]\124h\124r"
end
--pfUI.api.strsplit
local function AtlasLoot_strsplit(delimiter, subject)
if not subject then return nil end
local delimiter, fields = delimiter or ":", {}
local pattern = string.format("([^%s]+)", delimiter)
string.gsub(subject, pattern, function(c) fields[table.getn(fields)+1] = c end)
return unpack(fields)
end
--Update announcing code taken from pfUI
local major, minor, fix = AtlasLoot_strsplit(".", tostring(GetAddOnMetadata("AtlasLoot", "Version")))
local alreadyshown = false
local localversion = tonumber(major*10000 + minor*100 + fix)
local remoteversion = tonumber(AtlasLoot_updateavailable) or 0
local loginchannels = { "BATTLEGROUND", "RAID", "GUILD" }
local groupchannels = { "BATTLEGROUND", "RAID" }
AtlasLoot_updater = CreateFrame("Frame")
AtlasLoot_updater:RegisterEvent("CHAT_MSG_ADDON")
AtlasLoot_updater:RegisterEvent("PLAYER_ENTERING_WORLD")
AtlasLoot_updater:RegisterEvent("PARTY_MEMBERS_CHANGED")
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 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
if event == "PARTY_MEMBERS_CHANGED" then
local groupsize = GetNumRaidMembers() > 0 and GetNumRaidMembers() or GetNumPartyMembers() > 0 and GetNumPartyMembers() or 0
if ( this.group or 0 ) < groupsize then
for _, chan in pairs(groupchannels) do
SendAddonMessage("AtlasLoot", "VERSION:" .. localversion, chan)
end
end
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
for _, chan in pairs(loginchannels) do
SendAddonMessage("AtlasLoot", "VERSION:" .. localversion, chan)
end
end
end)
+5
View File
@@ -904,6 +904,11 @@ AtlasLoot_ButtonRegistry = {
Back_Page = "PRE60SET";
Back_Title = AL["Pre 60 Sets"];
};
["SteelPlate"] = {
Title = AL["Steel Plate"];
Back_Page = "CRAFTSET";
Back_Title = AL["Crafted Sets"];
};
["ImperialPlate"] = {
Title = AL["Imperial Plate"];
Back_Page = "CRAFTSET";
+15 -8
View File
@@ -168,18 +168,25 @@ function AtlasLootCraftedSetMenu()
AtlasLootMenuItem_11_Icon:SetTexture("Interface\\Icons\\INV_Chest_Plate10");
AtlasLootMenuItem_11.isheader = true;
AtlasLootMenuItem_11:Show();
--Imperial Plate
AtlasLootMenuItem_12_Name:SetText(AL["Imperial Plate"]);
--Steel Plate
AtlasLootMenuItem_12_Name:SetText(AL["Steel Plate"]);
AtlasLootMenuItem_12_Extra:SetText("");
AtlasLootMenuItem_12_Icon:SetTexture("Interface\\Icons\\INV_Belt_01");
AtlasLootMenuItem_12.lootpage="ImperialPlate";
AtlasLootMenuItem_12_Icon:SetTexture("Interface\\Icons\\INV_Helmet_25");
AtlasLootMenuItem_12.lootpage="SteelPlate";
AtlasLootMenuItem_12:Show();
--The Darksoul
AtlasLootMenuItem_13_Name:SetText(AL["The Darksoul"]);
--Imperial Plate
AtlasLootMenuItem_13_Name:SetText(AL["Imperial Plate"]);
AtlasLootMenuItem_13_Extra:SetText("");
AtlasLootMenuItem_13_Icon:SetTexture("Interface\\Icons\\INV_Shoulder_01");
AtlasLootMenuItem_13.lootpage="TheDarksoul";
AtlasLootMenuItem_13_Icon:SetTexture("Interface\\Icons\\INV_Belt_01");
AtlasLootMenuItem_13.lootpage="ImperialPlate";
AtlasLootMenuItem_13:Show();
--The Darksoul
AtlasLootMenuItem_14_Name:SetText(AL["The Darksoul"]);
AtlasLootMenuItem_14_Extra:SetText("");
AtlasLootMenuItem_14_Icon:SetTexture("Interface\\Icons\\INV_Shoulder_01");
AtlasLootMenuItem_14.lootpage="TheDarksoul";
AtlasLootMenuItem_14:Show();
AtlasLootMenuItem_14:Show();
--Leatherworking Leather Header
AtlasLootMenuItem_16_Name:SetText(RED..AL["Leatherworking"]);
AtlasLootMenuItem_16_Extra:SetText(WHITE..AL["Leather"]);
+93
View File
@@ -1823,6 +1823,99 @@ GetSpellInfoVanillaDB = {
[7] = {17010, 10},
},
},
[46626] = {
["name"] = "Blacksmithing: Steel Plate Boots",
["requires"] = AL["Black Anvil"],
["tools"] = {5956},
["castTime"] = 10,
["text"] = "",
["craftItem"] = 83410,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {3859, 14},
[2] = {7966, 2},
},
},
[46627] = {
["name"] = "Blacksmithing: Steel Plate Gauntlets",
["requires"] = AL["Black Anvil"],
["tools"] = {5956},
["castTime"] = 10,
["text"] = "",
["craftItem"] = 83411,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {3859, 16},
[2] = {7966, 4},
},
},
[46628] = {
["name"] = "Blacksmithing: Steel Plate Legguards",
["requires"] = AL["Black Anvil"],
["tools"] = {5956},
["castTime"] = 10,
["text"] = "",
["craftItem"] = 83412,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {3859, 18},
[2] = {7966, 2},
[3] = {3864},
},
},
[46629] = {
["name"] = "Blacksmithing: Steel Plate Armor",
["requires"] = AL["Black Anvil"],
["tools"] = {5956},
["castTime"] = 10,
["text"] = "",
["craftItem"] = 83413,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {3859, 20},
[2] = {7966, 4},
[3] = {3864},
[4] = {1705},
},
},
[46630] = {
["name"] = "Blacksmithing: Steel Plate Pauldrons",
["requires"] = AL["Black Anvil"],
["tools"] = {5956},
["castTime"] = 10,
["text"] = "",
["craftItem"] = 83414,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {3859, 20},
[2] = {7966, 3},
[3] = {3864},
[4] = {6037},
},
},
[46631] = {
["name"] = "Blacksmithing: Steel Plate Barbute",
["requires"] = AL["Black Anvil"],
["tools"] = {5956},
["castTime"] = 10,
["text"] = "",
["craftItem"] = 83415,
["craftQuantityMin"] = "",
["craftQuantityMax"] = "",
["reagents"] = {
[1] = {3859, 10},
[2] = {6037, 8},
[3] = {3864, 4},
[4] = {7966, 3},
[5] = {7909, 2},
[6] = {7922},
},
},
[13028] = {
["name"] = "Cooking: Goldthorn Tea",
["requires"] = AL["Cooking Fire"],
+2
View File
@@ -189,6 +189,7 @@ function AtlasLoot_FixText(text)
text = gsub(text, "#m38#", AL["Coin"]);
text = gsub(text, "#m39#", AL["Bijou"]);
text = gsub(text, "#m40#", AL["Doll"]);
text = gsub(text, "#m41#", AL["(250)"]);
-- Random names
text = gsub(text, "#x1#", AL["Lord Cobrahn"]);
@@ -311,6 +312,7 @@ function AtlasLoot_FixText(text)
-- Blacksmithing Crafted Sets
text = gsub(text, "#craftbp1#", AL["Imperial Plate"]);
text = gsub(text, "#craftbp2#", AL["The Darksoul"]);
text = gsub(text, "#craftbp3#", AL["Steel Plate"]);
text = gsub(text, "#craftbm1#", AL["Bloodsoul Embrace"]);
-- Tailoring Crafted Sets