WoWInterface SVN Ranch

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 7 to Rev 8
    Reverse comparison

Rev 7 → Rev 8

ranch.lua
39,6 → 39,10
-- Register the BAG_UPDATE event.
RanchFrame:RegisterEvent("BAG_UPDATE");
 
-- Initialise the slash command handler.
SLASH_RANCH1 = "/ranch"
SlashCmdList["RANCH"] = Ranch_Command;
 
end
 
function Ranch_Command(slashargs)
50,6 → 54,7
else
ranchtrack = restOfString
end
Ranch_BAG_UPDATE(nil)
elseif firstWord == "temp" then
ranch_temp[Ranch_ItemID(restOfString)] = true
elseif firstWord == "add" then
88,9 → 93,6
end
end
 
SLASH_RANCH1 = "/ranch"
SlashCmdList["RANCH"] = Ranch_Command;
 
function dataobj:OnTooltipShow()
local i, j
local ranch_items = {}