added FixedItemIDsDatabase so things we want to keep dont get over written

This commit is contained in:
Anch
2022-01-31 18:30:31 +13:00
parent 4aac63e199
commit 193496dd5d
4 changed files with 12 additions and 5 deletions
+3 -2
View File
@@ -1374,9 +1374,10 @@ Finds the Ids of other difficulties based on the name of the item and the diffic
On the form of {Name, {normal, heroic, mythic, mythic1, mythic2, ... ,mythicN}}
]]
function AL_FindId(name, difficulty)
if ItemIDsDatabase[name] ~= nil then
if FixedItemIDsDatabase[name] ~= nil then
return FixedItemIDsDatabase[name][difficulty], true
elseif ItemIDsDatabase[name] ~= nil then
return ItemIDsDatabase[name][difficulty], true
end
return nil, false;
end
+1
View File
@@ -5,6 +5,7 @@
<Script file="ItemIDsDatabase.lua"/>
<Script file="ItemIDsDatabase2.lua"/>
<Script file="ItemIDsDatabase3.lua"/>
<Script file="FixedItemIDsDatabase.lua"/>
<!--Default Files-->
<Script file="Filter.lua"/>
+5
View File
@@ -0,0 +1,5 @@
--Items not added from generated file
FixedItemIDsDatabase = {};
FixedItemIDsDatabase["Bottled Nethergron Extract"] = {6053891, 2032902, 2232902, 2332902};
FixedItemIDsDatabase["Mmrgrg glm Nuubs"] = {6044831, 44831, 344831, 244831};
FixedItemIDsDatabase["Alembic of Infernal Power"] = {6027896, 27896, 27896, 427896};
+3 -3
View File
@@ -578,6 +578,6 @@ ItemIDsDatabase["Monster - Fist, Zul'Aman (Offhand)"] = {6053890, 53890, 397993,
--Items not added from generated file
ItemIDsDatabase["Bottled Nethergron Extract"] = {6053891, 2032902, 2232902, 2332902};
ItemIDsDatabase["Mmrgrg glm Nuubs"] = {6044831, 44831, 344831, 244831};
ItemIDsDatabase["Alembic of Infernal Power"] = {6027896, 27896, 27896, 427896};
ItemIDsDatabase["Bottled Nethergron Extract"] = {6053891, 53890, 2232902, 2332902};
ItemIDsDatabase["Mmrgrg glm Nuubs"] = {6044831, 53890, 344831, 244831};
ItemIDsDatabase["Alembic of Infernal Power"] = {53890, 27896, 27896, 427896};