actionbar-df-gryphon: add option to use df gryphons
This commit is contained in:
@@ -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
|
||||
|
||||
Binary file not shown.
@@ -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
|
||||
Reference in New Issue
Block a user