Module:Items/UseTables: Difference between revisions

Added agility override to item use array
(More attempted fixes for Performance Enhancing Potion)
(Added agility override to item use array)
Line 148: Line 148:
     table.insert(useArray, '* [[Upgrading Items]]')
     table.insert(useArray, '* [[Upgrading Items]]')
   end
   end
      
 
  --Agility
  if Shared.contains(itemUseArray.Agility, item.name) then
     table.insert(useArray, '* '..Icons.Icon({'Agility', type='skill'}))
  end
   --Cooking
   --Cooking
   if item.cookedItemID ~= nil or Shared.contains(itemUseArray.Cooking, item.name) then
   if item.cookedItemID ~= nil or Shared.contains(itemUseArray.Cooking, item.name) then