WoWInterface SVN Egacle

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /tags
    from Rev 10 to Rev 9
    Reverse comparison

Rev 10 → Rev 9

Egacle-0.1beta/Egacle.lua
10,8 → 10,6
local nameOfItem = "Mysterious Egg"
local timeOfOneWeek = 604800
 
local iconPath = "Interface\\Icons\\INV_egg_09"
 
local timeBetweenChecks = 60
local elapsed = timeBetweenChecks
 
22,7 → 20,7
local itemname = string.match(arg1,"%[(.-)%]",1)
if itemname == nameOfItem then
--Mysterious Egg bought, start new finish time for this char
--print("Bought one "..itemname)
print("Bought one "..itemname)
if Egacle.data[charRealm] == nil then Egacle.data[charRealm]={} end
Egacle.data[charRealm][charName]=time()+timeOfOneWeek
end
45,7 → 43,7
end
end)
 
local ldbstream = ldb:NewDataObject("Egacle",{type = "data source",icon=iconPath, label="Egacle", text = "Egacle"})
local ldbstream = ldb:NewDataObject("Egacle",{type = "data source", label="Egacle", text = ""})
 
function ldbstream:OnTooltipShow()
self:AddLine("Egacle:")