diff --git a/ShaguTweaks-extras.toc b/ShaguTweaks-extras.toc index b6bddd1..deb9c9f 100644 --- a/ShaguTweaks-extras.toc +++ b/ShaguTweaks-extras.toc @@ -22,6 +22,7 @@ main.lua # general mods\macro-icons.lua mods\macro-tweaks.lua +mods\actionbar-df-gryphon.lua mods\actionbar-right-center.lua mods\actionbar-reagents.lua mods\actionbar-float.lua diff --git a/img/df-gryphon.tga b/img/df-gryphon.tga new file mode 100644 index 0000000..4512192 Binary files /dev/null and b/img/df-gryphon.tga differ diff --git a/mods/actionbar-df-gryphon.lua b/mods/actionbar-df-gryphon.lua new file mode 100644 index 0000000..5ad8d99 --- /dev/null +++ b/mods/actionbar-df-gryphon.lua @@ -0,0 +1,16 @@ +local _G = ShaguTweaks.GetGlobalEnv() +local T = ShaguTweaks.T + +local module = ShaguTweaks:register({ + title = T["Dragonflight Gryphons"], + description = T["Replaces actionbar gryphons with the dragonflight version."], + expansions = { ["vanilla"] = true, ["tbc"] = false }, + maintainer = "@shagu (GitHub)", + enabled = nil, +}) + +module.enable = function(self) + -- replace original gryphons by dragonflight versions + MainMenuBarLeftEndCap:SetTexture("Interface\\AddOns\\ShaguTweaks-extras\\img\\df-gryphon") + MainMenuBarRightEndCap:SetTexture("Interface\\AddOns\\ShaguTweaks-extras\\img\\df-gryphon") +end