WoWInterface SVN NotBloated

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 5 to Rev 4
    Reverse comparison

Rev 5 → Rev 4

trunk/NotBloated/main.lua
2,23 → 2,19
 
NotBloated.4
Kesava, Auchindoun EU
 
 
--]]
--[[
Change both the numbers in this to false to disable the large warning.
The number must correspond to another in the warningsDone table.
 
Example for disabling:
local bigWarning = { false, false }
]]
 
-- Initialize
 
-- Change this to false to disable the larger warning
-- The number must correspond to another in the warningsDone table
local bigWarning = { 5, 5 }
-- local bigWarning = { false, false }
 
--[[
As it says, the times are in minutes.
For example, if you wanted a warning at 25 minutes, you'd add this line:
 
[25] = { false, false },
]]
-- As it says, the times are in minutes. If you want a warning at
-- 25 minutes, add this line:
-- [25] = false,
local warningsDone = {
['big'] = { false, false },
-- In minutes:
30,12 → 26,10
[0] = { false, false }
}
 
--[[
Battlezones to ignore.
Current indexes: 1 = Wintergrasp, 2 = Tol'Barad
]]
-- Battlezones to ignore.
-- Current indexes: 1 = Wintergrasp, 2 = Tol'Barad
local Ignore = {
[1] = true -- so just remove this line if you want Wintergrasp back
[1] = true -- so just remove this line if you want Wintergrasp back
}
 
local Times = {}
46,9 → 40,7
local debug = false
local NotBloated = CreateFrame('Frame', 'NotBloated')
 
local function print(msg)
DEFAULT_CHAT_FRAME:AddMessage('NotBloated: ' .. msg)
end
local function print(msg) DEFAULT_CHAT_FRAME:AddMessage('NotBloated: ' .. msg) end
 
--- Functions ---
 
263,4 → 255,4
NotBloated:SetScript('OnUpdate', NotBloated.OnUpdate)
NotBloated:SetScript('OnEvent', NotBloated.OnEvent)
 
NotBloated:RegisterEvent('ADDON_LOADED')
NotBloated:RegisterEvent('ADDON_LOADED')
\ No newline at end of file