diff --git a/Assets/Identities/goldboys.tga b/Assets/Identities/goldboys.tga deleted file mode 100644 index cbaf2a2f..00000000 Binary files a/Assets/Identities/goldboys.tga and /dev/null differ diff --git a/Assets/Identities/highrollerz.tga b/Assets/Identities/highrollerz.tga deleted file mode 100644 index 196d5650..00000000 Binary files a/Assets/Identities/highrollerz.tga and /dev/null differ diff --git a/Assets/Identities/joe.tga b/Assets/Identities/joe.tga deleted file mode 100644 index 67e8df5f..00000000 Binary files a/Assets/Identities/joe.tga and /dev/null differ diff --git a/Assets/Identities/steel.tga b/Assets/Identities/steel.tga deleted file mode 100644 index 79684465..00000000 Binary files a/Assets/Identities/steel.tga and /dev/null differ diff --git a/Assets/Identities/xippo.tga b/Assets/Identities/xippo.tga deleted file mode 100644 index 507f6c1e..00000000 Binary files a/Assets/Identities/xippo.tga and /dev/null differ diff --git a/Gargul.toc b/Gargul.toc index 1a8bd9a0..735109a2 100644 --- a/Gargul.toc +++ b/Gargul.toc @@ -1,11 +1,22 @@ ## Interface: 100206 ## Interface-Wrath: 30403 -## Interface-Classic: 11501 +## Interface-Classic: 11502 ## Interface-Cata: 40400 ## Title: Gargul |c00967FD2@project-version@|r -## Author: Zhorax - Firemaw +## Title-deDE: Gargul |c00967FD2@project-version@|r +## Title-esES: Gargul |c00967FD2@project-version@|r +## Title-esMX: Gargul |c00967FD2@project-version@|r +## Title-frFR: Gargul |c00967FD2@project-version@|r +## Title-itIT: Gargul |c00967FD2@project-version@|r +## Title-koKR: Gargul |c00967FD2@project-version@|r +## Title-ptBR: Gargul |c00967FD2@project-version@|r +## Title-ruRU: Gargul |c00967FD2@project-version@|r +## Title-zhCN: Gargul |c00967FD2@project-version@|r +## Title-zhTW: Gargul |c00967FD2@project-version@|r ## Notes: Loot addon that supports GDKP, softres sr, thatsmybis tmb, auto looting, plus one tracking and much more -## Version: 7.4.3 +## IconTexture: Interface\AddOns\Gargul\Assets\Buttons\minimap +## Author: Zhorax - Firemaw +## Version: 7.4.4 ## DefaultState: enabled ## SavedVariables: GargulDB ## X-Donate: https://www.patreon.com/gargul diff --git a/Interface/Identity.lua b/Interface/Identity.lua index 374728db..6fb16b8b 100644 --- a/Interface/Identity.lua +++ b/Interface/Identity.lua @@ -90,7 +90,7 @@ GL.Interface.Identity = { return Window; end, - ---@return Frame + ---@return Frame, function bidder = function () local Identity = GL.Interface.Identity.default; @@ -142,7 +142,7 @@ GL.Interface.Identity = { end; end, - ---@return Frame + ---@return Frame, function roller = function () local Identity = GL.Interface.Identity.default; @@ -304,7 +304,7 @@ GL.Interface.Identity = { return Window; end, - ---@return Frame + ---@return Frame, function roller = function () local Identity = GL.Interface.Identity["4095158674-3607791837"]; @@ -411,7 +411,7 @@ GL.Interface.Identity = { return Window; end, - ---@return Frame + ---@return Frame, function bidder = function () local Identity = GL.Interface.Identity["54402906-2451533554"]; @@ -453,7 +453,7 @@ GL.Interface.Identity = { end; end, - ---@return Frame + ---@return Frame, function roller = function () local Identity = GL.Interface.Identity["54402906-2451533554"]; @@ -493,312 +493,6 @@ GL.Interface.Identity = { end, }, - --[[ ================== STEEL ================== ]] - ["2728411460-1372754882"] = { - id = "steel", - url = "https://discord.gg/928Dc9Pb", - urlInfo = "Follow Steel, Whitemane's most popular GDKP host!", - tooltip = "Follow Steel on Discord", - cutMailSubject = "STEEL GDKP: %sg", - Realms = { "whitemane", }, - - ---@return Frame - ledger = function() - local Identity = GL.Interface.Identity["2728411460-1372754882"]; - - ---@type Frame - local Window = CreateFrame("Frame", nil, UIParent); - Window:SetSize(80, 80); - Interface:addTooltip(Window, Identity.tooltip); - - ---@type Texture - local Logo = Window:CreateTexture(); - Logo:SetTexture("Interface/AddOns/Gargul/Assets/Identities/" .. Identity.id); - Logo:SetAllPoints(); - - Window:SetScript("OnMouseUp", function(_, button) - if (button == 'LeftButton') then - GL.Interface.Dialogs.HyperlinkDialog:open{ - description = Identity.urlInfo, - hyperlink = Identity.url, - }; - end - end); - - LCG.PixelGlow_Stop(Window); - LCG.PixelGlow_Start(Window, {.59, .5, .82, 1}, 26, .02, 5, 2); - - return Window; - end, - - ---@return Frame - multiAuctionClient = function () - local Identity = GL.Interface.Identity["2728411460-1372754882"]; - - ---@type Frame - local Window = CreateFrame("Frame", nil, UIParent, "BackdropTemplate"); - Window:SetSize(110, 110); - Window:SetBackdrop(_G.BACKDROP_DARK_DIALOG_32_32); - Interface:addTooltip(Window, Identity.tooltip); - - ---@type Texture - local Logo = Window:CreateTexture(); - Logo:SetPoint("CENTER", Window, "CENTER", 0, -1); - Logo:SetSize(74, 74); - Logo:SetTexture("Interface/AddOns/Gargul/Assets/Identities/" .. Identity.id); - - ---@type FontString - local TextTop = Interface:createFontString(Window, "FOLLOW"); - TextTop:SetPoint("CENTER", Window, "CENTER"); - TextTop:SetPoint("TOP", Window, "TOP", 0, -13); - TextTop:SetFont(1.1, "OUTLINE"); - - ---@type FontString - local TextBottom = Interface:createFontString(Window, "STEEL"); - TextBottom:SetPoint("CENTER", Window, "CENTER"); - TextBottom:SetPoint("BOTTOM", Window, "BOTTOM", 0, 11); - TextBottom:SetFont(1.1, "OUTLINE"); - - Window:SetScript("OnMouseUp", function(_, button) - if (button == 'LeftButton') then - GL.Interface.Dialogs.HyperlinkDialog:open{ - description = Identity.urlInfo, - hyperlink = Identity.url, - }; - end - end); - - return Window; - end, - - ---@return Frame - bidder = function () - local Identity = GL.Interface.Identity["2728411460-1372754882"]; - - ---@type Frame - local Window = CreateFrame("Frame", nil, UIParent); - Window:SetSize(92, 98); - - local Texture = Window:CreateTexture(nil, "BACKGROUND"); - Texture:SetColorTexture(0, 0, 0, .6); - Texture:SetPoint("TOPLEFT", Window, "TOPLEFT", 0, -2); - Texture:SetPoint("TOPRIGHT", Window, "TOPRIGHT", 0, -2); - Texture:SetPoint("BOTTOMLEFT", Window, "BOTTOMLEFT"); - Texture:SetPoint("BOTTOMRIGHT", Window, "BOTTOMRIGHT"); - - ---@type Texture - local Logo = Window:CreateTexture(); - Logo:SetPoint("CENTER", Window, "CENTER"); - Logo:SetSize(72, 72); - Logo:SetTexture("Interface/AddOns/Gargul/Assets/Identities/" .. Identity.id); - - ---@type FontString - local TextTop = Interface:createFontString(Window, "FOLLOW"); - TextTop:SetPoint("CENTER", Window, "CENTER"); - TextTop:SetPoint("TOP", Window, "TOP", 0, -5); - TextTop:SetFont(1.2, "OUTLINE"); - - ---@type FontString - local TextBottom = Interface:createFontString(Window, "STEEL"); - TextBottom:SetPoint("CENTER", Window, "CENTER"); - TextBottom:SetPoint("BOTTOM", Window, "BOTTOM", 0, 2); - TextBottom:SetFont(1.2, "OUTLINE"); - - Interface:addTooltip(Window, Identity.tooltip); - Window:SetScript("OnMouseUp", function(_, button) - if (button == 'LeftButton') then - GL.Interface.Dialogs.HyperlinkDialog:open{ - description = Identity.urlInfo, - hyperlink = Identity.url, - }; - end - end); - - return Window; - end, - - ---@return Frame - roller = function () - local Identity = GL.Interface.Identity["2728411460-1372754882"]; - - ---@type Frame - local Window = CreateFrame("Frame", nil, UIParent); - Window:SetSize(48, 48); - - local Texture = Window:CreateTexture(nil, "BACKGROUND"); - Texture:SetColorTexture(0, 0, 0, .6); - Texture:SetAllPoints(Window); - - ---@type Texture - local Logo = Window:CreateTexture(); - Logo:SetPoint("CENTER", Window, "CENTER"); - Logo:SetSize(48, 48); - Logo:SetTexture("Interface/AddOns/Gargul/Assets/Identities/" .. Identity.id); - - ---@type FontString - local Text = Interface:createFontString(Window, "STEEL"); - Text:SetPoint("CENTER", Window, "CENTER"); - Text:SetPoint("BOTTOM", Window, "BOTTOM", 0, -5); - Text:SetFont(1.1, "OUTLINE"); - - Interface:addTooltip(Window, Identity.tooltip); - Window:SetScript("OnMouseUp", function(_, button) - if (button == 'LeftButton') then - GL.Interface.Dialogs.HyperlinkDialog:open{ - description = Identity.urlInfo, - hyperlink = Identity.url, - }; - end - end); - - return Window, function (Element, Anchor) - Element:SetPoint("TOPRIGHT", Anchor, "TOPLEFT", -4, 0); - end; - end, - }, - - --[[ ================== GOLD BOYS ================== ]] - ["3666447951-3772521060"] = { - id = "goldboys", - url = "https://discord.gg/agZUUaypWq", - urlInfo = "Join our Discord server to learn more about Gold Boys!", - tooltip = "Gold Boys discord", - cutMailSubject = L.CUT_MAIL_SUBJECT, - Realms = { "pyrewoodvillage" }, - - ---@return Frame - ledger = function() - local Identity = GL.Interface.Identity["3666447951-3772521060"]; - - ---@type Frame - local Window = CreateFrame("Frame", nil, UIParent); - Window:SetSize(80, 80); - Interface:addTooltip(Window, Identity.tooltip); - - ---@type Texture - local Logo = Window:CreateTexture(); - Logo:SetTexture("Interface/AddOns/Gargul/Assets/Identities/" .. Identity.id); - Logo:SetPoint("CENTER", Window, "CENTER"); - Logo:SetSize(74, 74); - - Window:SetScript("OnMouseUp", function(_, button) - if (button == 'LeftButton') then - GL.Interface.Dialogs.HyperlinkDialog:open{ - description = Identity.urlInfo, - hyperlink = Identity.url, - }; - end - end); - - LCG.PixelGlow_Stop(Window); - LCG.PixelGlow_Start(Window, {.59, .5, .82, 1}, 26, .02, 5, 2); - - return Window; - end, - - ---@return Frame - multiAuctionClient = function () - local Identity = GL.Interface.Identity["3666447951-3772521060"]; - - ---@type Frame - local Window = CreateFrame("Frame", nil, UIParent, "BackdropTemplate"); - Window:SetSize(110, 110); - Window:SetBackdrop(_G.BACKDROP_DARK_DIALOG_32_32); - Interface:addTooltip(Window, Identity.tooltip); - - ---@type Texture - local Logo = Window:CreateTexture(); - Logo:SetPoint("CENTER", Window, "CENTER", 0, 5); - Logo:SetSize(75, 75); - Logo:SetTexture("Interface/AddOns/Gargul/Assets/Identities/" .. Identity.id); - - ---@type FontString - local Text = Interface:createFontString(Window, "Gold Boys"); - Text:SetPoint("CENTER", Window, "CENTER"); - Text:SetPoint("BOTTOM", Window, "BOTTOM", 0, 11); - Text:SetFont(1, "OUTLINE"); - Text:SetColor("bc9968"); - - Window:SetScript("OnMouseUp", function(_, button) - if (button == 'LeftButton') then - GL.Interface.Dialogs.HyperlinkDialog:open{ - description = Identity.urlInfo, - hyperlink = Identity.url, - }; - end - end); - - return Window; - end, - - ---@return Frame - bidder = function () - local Identity = GL.Interface.Identity["3666447951-3772521060"]; - - ---@type Frame - local Window = CreateFrame("Frame", nil, UIParent); - Window:SetSize(80, 90); - - ---@type Texture - local Logo = Window:CreateTexture(); - Logo:SetPoint("CENTER", Window, "CENTER"); - Logo:SetSize(80, 80); - Logo:SetTexture("Interface/AddOns/Gargul/Assets/Identities/" .. Identity.id); - - ---@type FontString - local Text = Interface:createFontString(Window, "Gold Boys"); - Text:SetPoint("CENTER", Window, "CENTER"); - Text:SetPoint("BOTTOM", Window, "BOTTOM", 0, 2); - Text:SetFont(1.1, "OUTLINE"); - Text:SetColor("bc9968"); - - Interface:addTooltip(Window, Identity.tooltip); - - Window:SetScript("OnMouseUp", function(_, button) - if (button == 'LeftButton') then - GL.Interface.Dialogs.HyperlinkDialog:open{ - description = Identity.urlInfo, - hyperlink = Identity.url, - }; - end - end); - - return Window, function (Element, Anchor) - Element:SetPoint("TOPRIGHT", Anchor, "TOPLEFT", -6, -2); - end; - end, - - ---@return Frame - roller = function () - local Identity = GL.Interface.Identity["3666447951-3772521060"]; - - ---@type Frame - local Window = CreateFrame("Frame", nil, UIParent); - Window:SetSize(48, 48); - - ---@type Texture - local Logo = Window:CreateTexture(); - Logo:SetPoint("CENTER", Window, "CENTER"); - Logo:SetSize(44, 44); - Logo:SetTexture("Interface/AddOns/Gargul/Assets/Identities/" .. Identity.id); - - Interface:addTooltip(Window, Identity.tooltip); - - Window:SetScript("OnMouseUp", function(_, button) - if (button == 'LeftButton') then - GL.Interface.Dialogs.HyperlinkDialog:open{ - description = Identity.urlInfo, - hyperlink = Identity.url, - }; - end - end); - - return Window, function (Element, Anchor) - Element:SetPoint("TOPRIGHT", Anchor, "TOPLEFT", -4, 0); - end; - end, - }, - --[[ ================== GG GDKP ================== ]] ["2118133100-1868759167"] = { id = "gggdkp", @@ -866,7 +560,7 @@ GL.Interface.Identity = { return Window; end, - ---@return Frame + ---@return Frame, function bidder = function () local Identity = GL.Interface.Identity["2118133100-1868759167"]; @@ -894,7 +588,7 @@ GL.Interface.Identity = { end; end, - ---@return Frame + ---@return Frame, function roller = function () local Identity = GL.Interface.Identity["2118133100-1868759167"]; @@ -923,88 +617,6 @@ GL.Interface.Identity = { end; end, }, - - --[[ ================== XIPPO ================== ]] - ["86558097-712084183"] = { - id = "xippo", - cutMailSubject = L.CUT_MAIL_SUBJECT, - Realms = { "faerlina", }, - - ---@return Frame - ledger = function() - local Identity = GL.Interface.Identity["86558097-712084183"]; - - ---@type Frame - local Window = CreateFrame("Frame", nil, UIParent); - Window:SetSize(80, 80); - Interface:addTooltip(Window, Identity.tooltip); - - ---@type Texture - local Logo = Window:CreateTexture(); - Logo:SetTexture("Interface/AddOns/Gargul/Assets/Identities/" .. Identity.id); - Logo:SetAllPoints(); - - LCG.PixelGlow_Stop(Window); - LCG.PixelGlow_Start(Window, {.59, .5, .82, 1}, 26, .02, 5, 2); - - return Window; - end, - - ---@return Frame - multiAuctionClient = function () - local Identity = GL.Interface.Identity["86558097-712084183"]; - - ---@type Frame - local Window = CreateFrame("Frame", nil, UIParent, "BackdropTemplate"); - Window:SetSize(110, 110); - Window:SetBackdrop(_G.BACKDROP_DARK_DIALOG_32_32); - Interface:addTooltip(Window, Identity.tooltip); - - ---@type Texture - local Logo = Window:CreateTexture(); - Logo:SetPoint("CENTER", Window, "CENTER"); - Logo:SetSize(74, 74); - Logo:SetTexture("Interface/AddOns/Gargul/Assets/Identities/" .. Identity.id); - - return Window; - end, - - ---@return Frame - bidder = function () - local Identity = GL.Interface.Identity["86558097-712084183"]; - - ---@type Frame - local Window = CreateFrame("Frame", nil, UIParent); - Window:SetSize(95, 95); - - ---@type Texture - local Logo = Window:CreateTexture(); - Logo:SetAllPoints(Window); - Logo:SetTexture("Interface/AddOns/Gargul/Assets/Identities/" .. Identity.id); - - return Window, function (Element, Anchor) - Element:SetPoint("TOPRIGHT", Anchor, "TOPLEFT", -6, 0); - end; - end, - - ---@return Frame - roller = function () - local Identity = GL.Interface.Identity["86558097-712084183"]; - - ---@type Frame - local Window = CreateFrame("Frame", nil, UIParent); - Window:SetSize(48, 48); - - ---@type Texture - local Logo = Window:CreateTexture(); - Logo:SetAllPoints(Window); - Logo:SetTexture("Interface/AddOns/Gargul/Assets/Identities/" .. Identity.id); - - return Window, function (Element, Anchor) - Element:SetPoint("TOPRIGHT", Anchor, "TOPLEFT", -4, 0); - end; - end, - }, }; local Identity = GL.Interface.Identity; @@ -1023,6 +635,8 @@ Identity["3188539266-4063358498"] = Identity["4095158674-3607791837"]; Identity["1784466978-533458395"] = Identity["4095158674-3607791837"]; Identity["3110547987-1844148009"] = Identity["4095158674-3607791837"]; Identity["2425115384-2043966142"] = Identity["4095158674-3607791837"]; +Identity["251005388-2533294014"] = Identity["4095158674-3607791837"]; +Identity["3096962827-176799304"] = Identity["4095158674-3607791837"]; --[[ GARGUL ALIASES ]] Identity["126782309-4184359051"] = Identity["54402906-2451533554"]; @@ -1030,11 +644,6 @@ Identity["4091637282-1561179"] = Identity["54402906-2451533554"]; Identity["3046712350-2962835883"] = Identity["54402906-2451533554"]; Identity["2644832658-2651387317"] = Identity["54402906-2451533554"]; ---[[ XIPPO ALIASES ]] -Identity["4209972553-3499284415"] = Identity["86558097-712084183"]; -Identity["2208482902-2275005731"] = Identity["86558097-712084183"]; -Identity["2724529675-176490976"] = Identity["86558097-712084183"]; - --[[ GG GDKP ]] Identity["1890643919-4143577729"] = Identity["2118133100-1868759167"]; Identity["3628029066-969996875"] = Identity["2118133100-1868759167"];