Rename the addon to ShagaTweaks-extras

Folder, toc and title follow the ShagaTweaks rename. The addon now depends
on ShagaTweaks and loads its textures from the ShagaTweaks-extras folder.
This commit is contained in:
2026-10-13 17:09:02 +00:00
parent e5140e52fb
commit d03121b67f
3 changed files with 12 additions and 12 deletions
@@ -1,10 +1,10 @@
## Interface: 11200
## Title: |cffffcc00Shagu|cffffffffTweaks |cffcccccc[Extras]
## Title: |cffffcc00Shaga|cffffffffTweaks |cffcccccc[Extras]
## Author: Shagu
## Notes: A collection of tweaks and enhancements to the Default UI
## Notes-ruRU: Коллекция настроек и улучшений для стандартного пользовательского интерфейса.
## Version: GIT
## Dependencies: ShaguTweaks
## Dependencies: ShagaTweaks
# translations
locales\translations_deDE.lua
+6 -6
View File
@@ -21,16 +21,16 @@ module.enable = function(self)
-- replace original gryphons by dragonflight versions
if module.config["dragonfly.gryphon"] == "retail" and UnitFactionGroup("player") == "Horde" then
-- retail horde
MainMenuBarLeftEndCap:SetTexture("Interface\\AddOns\\ShaguTweaks-extras\\img\\df-wyvern")
MainMenuBarRightEndCap:SetTexture("Interface\\AddOns\\ShaguTweaks-extras\\img\\df-wyvern")
MainMenuBarLeftEndCap:SetTexture("Interface\\AddOns\\ShagaTweaks-extras\\img\\df-wyvern")
MainMenuBarRightEndCap:SetTexture("Interface\\AddOns\\ShagaTweaks-extras\\img\\df-wyvern")
elseif module.config["dragonfly.gryphon"] == "retail" and UnitFactionGroup("player") == "Alliance" then
-- retail alliance
MainMenuBarLeftEndCap:SetTexture("Interface\\AddOns\\ShaguTweaks-extras\\img\\df-gryphon")
MainMenuBarRightEndCap:SetTexture("Interface\\AddOns\\ShaguTweaks-extras\\img\\df-gryphon")
MainMenuBarLeftEndCap:SetTexture("Interface\\AddOns\\ShagaTweaks-extras\\img\\df-gryphon")
MainMenuBarRightEndCap:SetTexture("Interface\\AddOns\\ShagaTweaks-extras\\img\\df-gryphon")
else
-- beta artwork
MainMenuBarLeftEndCap:SetTexture("Interface\\AddOns\\ShaguTweaks-extras\\img\\df-gryphon-beta")
MainMenuBarRightEndCap:SetTexture("Interface\\AddOns\\ShaguTweaks-extras\\img\\df-gryphon-beta")
MainMenuBarLeftEndCap:SetTexture("Interface\\AddOns\\ShagaTweaks-extras\\img\\df-gryphon-beta")
MainMenuBarRightEndCap:SetTexture("Interface\\AddOns\\ShagaTweaks-extras\\img\\df-gryphon-beta")
end
-- move gryphons above action buttons
+4 -4
View File
@@ -45,14 +45,14 @@ module.enable = function(self)
ShaguTweaks.AddBorder(MainMenuBarPerformanceBarFrameButton, { -12, -0.5, -8, 4.5 }, { r=.7, g=.7, b=.7, a=1 })
-- replace reputation bar texture
ReputationWatchStatusBar:SetStatusBarTexture("Interface\\AddOns\\ShaguTweaks-extras\\img\\xpbar")
ReputationWatchStatusBarBackground:SetTexture("Interface\\AddOns\\ShaguTweaks-extras\\img\\xpbar")
ReputationWatchStatusBar:SetStatusBarTexture("Interface\\AddOns\\ShagaTweaks-extras\\img\\xpbar")
ReputationWatchStatusBarBackground:SetTexture("Interface\\AddOns\\ShagaTweaks-extras\\img\\xpbar")
ReputationWatchStatusBarBackground:SetVertexColor(0, 0, 0, .5)
-- replace experience bar texture
MainMenuExpBar:SetStatusBarTexture("Interface\\AddOns\\ShaguTweaks-extras\\img\\xpbar")
MainMenuExpBar:SetStatusBarTexture("Interface\\AddOns\\ShagaTweaks-extras\\img\\xpbar")
local _, _, _, _, _, background = MainMenuExpBar:GetRegions()
background:SetTexture("Interface\\AddOns\\ShaguTweaks-extras\\img\\xpbar")
background:SetTexture("Interface\\AddOns\\ShagaTweaks-extras\\img\\xpbar")
background:SetVertexColor(0, 0, 0, .5)
-- update reputation bar position