WoWInterface SVN Egacle

Compare Revisions

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

Rev 9 → Rev 10

Egacle-0.1beta/Egacle.lua
10,6 → 10,8
local nameOfItem = "Mysterious Egg"
local timeOfOneWeek = 604800
 
local iconPath = "Interface\\Icons\\INV_egg_09"
 
local timeBetweenChecks = 60
local elapsed = timeBetweenChecks
 
20,7 → 22,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
43,7 → 45,7
end
end)
 
local ldbstream = ldb:NewDataObject("Egacle",{type = "data source", label="Egacle", text = ""})
local ldbstream = ldb:NewDataObject("Egacle",{type = "data source",icon=iconPath, label="Egacle", text = "Egacle"})
 
function ldbstream:OnTooltipShow()
self:AddLine("Egacle:")