Module:Skills: Difference between revisions

From Melvor Idle
(Fixed issue with farming tables)
(Added manual exception for Bird Nest Potions to fix the PotionNav template)
Line 150: Line 150:
       table.insert(CombatPots, Icons.Icon({potData.name, type='item', img=(potData.name..' I')}))
       table.insert(CombatPots, Icons.Icon({potData.name, type='item', img=(potData.name..' I')}))
     else
     else
       table.insert(SkillPots, Icons.Icon({potData.name, type='item', img=(potData.name..' I')}))
       if potData.name == 'Bird Nests Potion' then
        table.insert(SkillPots, Icons.Icon({"Bird Nest Potion", type='item', img="Bird Nest Potion I"}))
      else
        table.insert(SkillPots, Icons.Icon({potData.name, type='item', img=(potData.name..' I')}))
      end
     end
     end
   end
   end