Module:Items: Difference between revisions

Added 'Alt Magic' header to Superheat section
(Added getSuperheatTable)
(Added 'Alt Magic' header to Superheat section)
Line 1,169: Line 1,169:
     if string.len(result) > 0 then result = result..'\r\n' end
     if string.len(result) > 0 then result = result..'\r\n' end
     result = result..'===Creation===\r\n'..creationTable  
     result = result..'===Creation===\r\n'..creationTable  
  end
  if item.type == 'Bar' then
    result = result..'\r\n'..p._getItemSuperheatTable(item)
   end
   end


Line 1,181: Line 1,177:
     result = result..upgradeTable
     result = result..upgradeTable
   end
   end
  if item.type == 'Bar' then
    result = result..'\r\n==='..Icons.Icon({'Alt Magic', type='skill'})..'===\r\n'..p._getItemSuperheatTable(item)
  end
   local lootTable = p._getItemLootSourceTable(item)
   local lootTable = p._getItemLootSourceTable(item)
   if string.len(lootTable) > 0 then
   if string.len(lootTable) > 0 then