Initial commit
This commit is contained in:
1291
CLEUParser.lua
Normal file
1291
CLEUParser.lua
Normal file
File diff suppressed because it is too large
Load Diff
28
Dechickenator.lua
Normal file
28
Dechickenator.lua
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
local addonname, shared = ...
|
||||||
|
---@cast addonname string
|
||||||
|
|
||||||
|
---@class DechickenatorData
|
||||||
|
---@field blacklistedBuffs table<string, boolean>
|
||||||
|
|
||||||
|
local function init()
|
||||||
|
print("Dechickenator loaded!")
|
||||||
|
end
|
||||||
|
|
||||||
|
local loadedFrame = CreateFrame("Frame")
|
||||||
|
loadedFrame:RegisterEvent("ADDON_LOADED")
|
||||||
|
loadedFrame:SetScript("OnEvent", function(self, event, addonName)
|
||||||
|
if addonName == addonname then
|
||||||
|
init()
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
|
||||||
|
SlashCmdList["DECHICKENATOR_TOGGLE_BLACKLISTED_BUFF"] = function(input)
|
||||||
|
print("Toggling blacklisted buff: " .. tostring(input))
|
||||||
|
if shared.Dechickenator_Data.blacklistedBuffs[input] then
|
||||||
|
shared.Dechickenator_Data.blacklistedBuffs[input] = nil
|
||||||
|
else
|
||||||
|
shared.Dechickenator_Data.blacklistedBuffs[input] = true
|
||||||
|
end
|
||||||
|
print(shared.Dechickenator_Data.blacklistedBuffs[input])
|
||||||
|
end
|
||||||
|
SLASH_DECHICKENATOR_TOGGLE_BLACKLISTED_BUFF1 = "/dechicken"
|
9
Dechickenator.toc
Normal file
9
Dechickenator.toc
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
## Interface: 70300
|
||||||
|
## Title: Dechickenator
|
||||||
|
## Notes: Removes chickens from your life
|
||||||
|
## Author: Cyka
|
||||||
|
## SavedVariables: Dechickenator_Data
|
||||||
|
|
||||||
|
#core
|
||||||
|
CLEUParser.lua
|
||||||
|
Dechickenator.lua
|
Reference in New Issue
Block a user