WoWInterface SVN NotBloated

Compare Revisions

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

Rev 4 → Rev 5

trunk/NotBloated/main.lua
2,19 → 2,23
 
NotBloated.4
Kesava, Auchindoun EU
 
 
--]]
 
-- Initialize
 
-- Change this to false to disable the larger warning
-- The number must correspond to another in the warningsDone table
--[[
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 }
]]
local bigWarning = { 5, 5 }
-- local bigWarning = { false, false }
 
-- As it says, the times are in minutes. If you want a warning at
-- 25 minutes, add this line:
-- [25] = 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 },
]]
local warningsDone = {
['big'] = { false, false },
-- In minutes:
26,10 → 30,12
[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 = {}
40,7 → 46,9
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 ---
 
255,4 → 263,4
NotBloated:SetScript('OnUpdate', NotBloated.OnUpdate)
NotBloated:SetScript('OnEvent', NotBloated.OnEvent)
 
NotBloated:RegisterEvent('ADDON_LOADED')
\ No newline at end of file +NotBloated:RegisterEvent('ADDON_LOADED')