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 |