rename lib

This commit is contained in:
Bunny67
2018-07-07 20:45:46 +03:00
parent 48c18db70b
commit 15f42c6142
3 changed files with 12 additions and 12 deletions
+10 -10
View File
@@ -26,7 +26,7 @@ local DURABILITY_TEMPLATE = gsub(DURABILITY_TEMPLATE, "%%d / %%d", "(%%d+) / (%%
--Libs --Libs
local LBC = LibStub("LibBabble-Class-3.0"):GetLookupTable() local LBC = LibStub("LibBabble-Class-3.0"):GetLookupTable()
local LBZ = LibStub("LibBabble-Zone-3.0"):GetLookupTable() local LBZ = LibStub("LibBabble-Zone-3.0"):GetLookupTable()
local LBBF = LibStub("LibBabble-BagFamily-3.0"):GetLookupTable() local LBIF = LibStub("LibBabble-ItemFamily-3.0"):GetLookupTable()
CLASS_SORT_ORDER = { CLASS_SORT_ORDER = {
"WARRIOR", "WARRIOR",
@@ -267,15 +267,15 @@ function GetMapNameByID(id)
end end
local bagTypes = { local bagTypes = {
[LBBF["Bag"]] = 0, [LBIF["Bag"]] = 0,
[LBBF["Quiver"]] = 1, [LBIF["Quiver"]] = 1,
[LBBF["Ammo Pouch"]] = 2, [LBIF["Ammo Pouch"]] = 2,
[LBBF["Soul Bag"]] = 4, [LBIF["Soul Bag"]] = 4,
[LBBF["Leatherworking Bag"]] = 8, [LBIF["Leatherworking Bag"]] = 8,
[LBBF["Herb Bag"]] = 16, [LBIF["Herb Bag"]] = 16,
[LBBF["Enchanting Bag"]] = 32, [LBIF["Enchanting Bag"]] = 32,
[LBBF["Engineering Bag"]] = 64, [LBIF["Engineering Bag"]] = 64,
[LBBF["Mining Bag"]] = 128 [LBIF["Mining Bag"]] = 128
} }
function GetItemFamily(id) function GetItemFamily(id)
@@ -1,4 +1,4 @@
local MAJOR_VERSION = "LibBabble-BagFamily-3.0" local MAJOR_VERSION = "LibBabble-ItemFamily-3.0"
local MINOR_VERSION = 90000 + tonumber(string.match("$Revision: 50 $", "%d+")) local MINOR_VERSION = 90000 + tonumber(string.match("$Revision: 50 $", "%d+"))
if not LibStub then error(MAJOR_VERSION .. " requires LibStub.") end if not LibStub then error(MAJOR_VERSION .. " requires LibStub.") end
+1 -1
View File
@@ -3,5 +3,5 @@
<Script file="LibBabble-3.0.lua"/> <Script file="LibBabble-3.0.lua"/>
<Script file="LibBabble-Class-3.0.lua"/> <Script file="LibBabble-Class-3.0.lua"/>
<Script file="LibBabble-Zone-3.0.lua"/> <Script file="LibBabble-Zone-3.0.lua"/>
<Script file="LibBabble-BagFamily-3.0.lua"/> <Script file="LibBabble-ItemFamily-3.0.lua"/>
</Ui> </Ui>