WoWInterface SVN EasyDaily

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 142 to Rev 143
    Reverse comparison

Rev 142 → Rev 143

EasyDaily/core.lua
107,6 → 107,9
self.db.profile.tableconv = true
end
 
SlashCmdList["EDTOGGLE"] = function() EasyDaily:SlashToggleQuest() end
SLASH_EDTOGGLE1 = "/edtoggle"
 
self.vars.version = VERSION
self.db.global.locale = LOCALE
 
EasyDaily/turnin.lua
85,11 → 85,21
local t = self:GetQuestTableByTitle(title)
if t then
t.disabled = not t.disabled
return t.disabled
else
table.insert( self.db.profile.data.custom, { name = title } )
return t.disabled
end
end
 
function EasyDaily:SlashToggleQuest()
local title = GetTitleText()
if title then
local disabled = self:ToggleQuestState(title)
self:Print(string.format("%s: %s", title, ( disabled and "Disabled" ) or "Enabled"))
end
end
 
--------------------------------------------------------------------------------------------------
-- Quest Completion Queries
--------------------------------------------------------------------------------------------------