WoWInterface SVN Ranch

Compare Revisions

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

Rev 8 → Rev 7

ranch.lua
39,10 → 39,6
-- 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)
54,7 → 50,6
else
ranchtrack = restOfString
end
Ranch_BAG_UPDATE(nil)
elseif firstWord == "temp" then
ranch_temp[Ranch_ItemID(restOfString)] = true
elseif firstWord == "add" then
93,6 → 88,9
end
end
 
SLASH_RANCH1 = "/ranch"
SlashCmdList["RANCH"] = Ranch_Command;
 
function dataobj:OnTooltipShow()
local i, j
local ranch_items = {}