WoWInterface SVN Ranch

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 16 to Rev 17
    Reverse comparison

Rev 16 → Rev 17

trunk/ranch.lua
241,9 → 241,17
end
RanchGameTip:ClearLines();
RanchGameTip:SetBagItem(i,j);
if ((RanchGameTipTextLeft2:GetText() == ranch_QGT) or (RanchGameTipTextLeft3:GetText() == ranch_QGT) or RanchGameTipTextLeft4:GetText() == ranch_QGT) then
tinsert(ranch_qg, itemId)
 
-- Looking for Quest Giving Items
local iRow
for iRow = 2, 4 do
if _G["RanchGameTipTextLeft"..iRow] ~= nil then
if _G["RanchGameTipTextLeft"..iRow]:GetText() == ranch_QGT then
tinsert(ranch_qg, itemId)
end
end
end
 
if ranch_temp[itemId] ~= nil then
ranch_temp[itemId] = GetItemCount(itemLink)
end