Module:Navboxes: Difference between revisions

m
no edit summary
(moved getPotionNavbox here from Module:Skills)
mNo edit summary
Line 78: Line 78:
   local combinationRunes = {}
   local combinationRunes = {}
   for i, item in pairs(ItemData.Items) do
   for i, item in pairs(ItemData.Items) do
     if (i >= 389 and i < 399) or (i >= 820 and i < 823) then
     if (i >= 390 and i < 400) or (i >= 821 and i < 824) then
     table.insert(standardRunes, Icons.Icon({item.name, type='item'}))
     table.insert(standardRunes, Icons.Icon({item.name, type='item'}))
     elseif i >= 823 and i < 830 then
     elseif i >= 824 and i < 832 then
     table.insert(combinationRunes, Icons.Icon({item.name, type='item'}))
     table.insert(combinationRunes, Icons.Icon({item.name, type='item'}))
     end
     end
444

edits