Module:ItemsTable: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 11: Line 11:
local UseTables = require('Module:Items/UseTables')
local UseTables = require('Module:Items/UseTables')


local itemCount = Shared.tableCount(ItemData.Items)
local itemCount = Shared.tableCount(ItemData.Items) - 1


function p.getItemsTable(frame)
function p.getItemsTable(frame)
Line 30: Line 30:
     table.insert(itemList, '||')
     table.insert(itemList, '||')
     table.insert(itemList, SourceTables.getItemSources(item.name))
     table.insert(itemList, SourceTables.getItemSources(item.name))
    table.insert(itemList, '||')
    table.insert(itemList, UseTables.getItemUses(item.name))
     i = i + 1
     i = i + 1
   end
   end
444

edits