mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-25 13:30:50 +00:00
disable unfavorable settings interfering with SuperCleveRoidMacros when addon is present
This commit is contained in:
@@ -879,6 +879,7 @@ function pfUI:LoadConfig()
|
|||||||
pfUI:UpdateConfig("thirdparty", "bcs", "enable", "1")
|
pfUI:UpdateConfig("thirdparty", "bcs", "enable", "1")
|
||||||
pfUI:UpdateConfig("thirdparty", "crafty", "enable", "1")
|
pfUI:UpdateConfig("thirdparty", "crafty", "enable", "1")
|
||||||
pfUI:UpdateConfig("thirdparty", "clevermacro", "enable", "1")
|
pfUI:UpdateConfig("thirdparty", "clevermacro", "enable", "1")
|
||||||
|
pfUI:UpdateConfig("thirdparty", "supercleveroidmacros", "enable", "1")
|
||||||
pfUI:UpdateConfig("thirdparty", "flightmap", "enable", "1")
|
pfUI:UpdateConfig("thirdparty", "flightmap", "enable", "1")
|
||||||
pfUI:UpdateConfig("thirdparty", "sheepwatch", "enable", "1")
|
pfUI:UpdateConfig("thirdparty", "sheepwatch", "enable", "1")
|
||||||
pfUI:UpdateConfig("thirdparty", "totemtimers", "enable", "1")
|
pfUI:UpdateConfig("thirdparty", "totemtimers", "enable", "1")
|
||||||
|
|||||||
@@ -2426,6 +2426,7 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
|
|||||||
CreateConfig(nil, "BetterCharacterStats", C.thirdparty.bcs, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
|
CreateConfig(nil, "BetterCharacterStats", C.thirdparty.bcs, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
|
||||||
CreateConfig(nil, "Crafty", C.thirdparty.crafty, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
|
CreateConfig(nil, "Crafty", C.thirdparty.crafty, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
|
||||||
CreateConfig(nil, "CleverMacro", C.thirdparty.clevermacro, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
|
CreateConfig(nil, "CleverMacro", C.thirdparty.clevermacro, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
|
||||||
|
CreateConfig(nil, "SuperCleveRoidMacros", C.thirdparty.supercleveroidmacros, "enable", "checkbox", nil, nil, nil, nil, "vanilla")
|
||||||
CreateConfig(nil, "AckisRecipeList", C.thirdparty.ackis, "enable", "checkbox", nil, nil, nil, nil, "tbc")
|
CreateConfig(nil, "AckisRecipeList", C.thirdparty.ackis, "enable", "checkbox", nil, nil, nil, nil, "tbc")
|
||||||
CreateConfig(nil, "SheepWatch", C.thirdparty.sheepwatch, "enable", "checkbox", nil, nil, nil, nil, "tbc")
|
CreateConfig(nil, "SheepWatch", C.thirdparty.sheepwatch, "enable", "checkbox", nil, nil, nil, nil, "tbc")
|
||||||
CreateConfig(nil, "TotemTimers", C.thirdparty.totemtimers, "enable", "checkbox", nil, nil, nil, nil, "tbc")
|
CreateConfig(nil, "TotemTimers", C.thirdparty.totemtimers, "enable", "checkbox", nil, nil, nil, nil, "tbc")
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
pfUI:RegisterModule("macrotweak", "vanilla", function ()
|
pfUI:RegisterModule("macrotweak", "vanilla", function ()
|
||||||
|
-- disable macrotweak when SuperCleveRoidMacros is loaded
|
||||||
|
if IsAddOnLoaded("SuperCleveRoidMacros") then return end
|
||||||
|
|
||||||
-- do not write macro calls into chat input history
|
-- do not write macro calls into chat input history
|
||||||
if ChatFrameEditBox._AddHistoryLine then
|
if ChatFrameEditBox._AddHistoryLine then
|
||||||
local userinput
|
local userinput
|
||||||
|
|||||||
@@ -927,6 +927,15 @@ pfUI:RegisterModule("thirdparty-vanilla", "vanilla", function()
|
|||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
-- SuperCleveRoidMacros
|
||||||
|
HookAddonOrVariable("SuperCleveRoidMacros", function()
|
||||||
|
if C.thirdparty.supercleveroidmacros.enable == "0" then return end
|
||||||
|
if not pfUI.bars then return end
|
||||||
|
|
||||||
|
-- disable pfUI macro scanning
|
||||||
|
pfUI.bars.skip_macro = true
|
||||||
|
end)
|
||||||
|
|
||||||
HookAddonOrVariable("AtlasLoot", function()
|
HookAddonOrVariable("AtlasLoot", function()
|
||||||
if C.thirdparty.atlasloot.enable == "0" then return end
|
if C.thirdparty.atlasloot.enable == "0" then return end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user