Anonymous

Module:Items/UseTables: Difference between revisions

From Melvor Idle
Added Summoning to ItemUse list
(Added Necromancer Potion to the potion use array)
(Added Summoning to ItemUse list)
Line 223: Line 223:
   if item.type == 'Bar' or item.type == 'Ore' or Shared.contains(itemUseArray.Smithing, item.name) then
   if item.type == 'Bar' or item.type == 'Ore' or Shared.contains(itemUseArray.Smithing, item.name) then
     table.insert(useArray, chr..Icons.Icon({'Smithing', type='skill'}))
     table.insert(useArray, chr..Icons.Icon({'Smithing', type='skill'}))
  end
  --Summoning
  if item.type == 'Shard' or item.type == 'Familiar' or Shared.contains(itemUseArray.Summoning, item.name) then
    table.insert(useArray, chr..Icons.Icon({'Summoning', type='skill'}))
   end
   end
   --Thieving
   --Thieving