Module:Items/UseTables: Difference between revisions

_getItemUseTable: Correct Farming base harvest quantity
(Substitute links with Icons.Icon() where possible to benefit from ambiguous link handling)
(_getItemUseTable: Correct Farming base harvest quantity)
Line 470: Line 470:
     local xp = item.farmingXP
     local xp = item.farmingXP
     local rowReq = item.farmingLevel
     local rowReq = item.farmingLevel
     local qty = 5
     local qty = (item.tier ~= nil and item.tier == 'Tree' and 35 or 15)
     table.insert(useArray, {item = item2, qty = qty, mats = mat, skill = 'Farming', req = rowReq, xp = xp})
     table.insert(useArray, {item = item2, qty = qty, mats = mat, skill = 'Farming', req = rowReq, xp = xp})
   end
   end