Module:Items/SourceTables: Difference between revisions

m
split icon i think
m (notext?)
m (split icon i think)
Line 888: Line 888:
   local table = '{| class="wikitable"\r\n'
   local table = '{| class="wikitable"\r\n'
   table = table..'|-\r\n'
   table = table..'|-\r\n'
   table = table..'! Item\r\n! Passive\r\n'
   table = table..'!colspan="2"|Item\r\n! Passive\r\n'


   for i, item in pairs(ItemData.Items) do
   for i, item in pairs(ItemData.Items) do
     if item.isPassiveItem then
     if item.isPassiveItem then
       table = table..'|-\r\n'
       table = table..'|-\r\n'
       table = table..'! '..Icons.Icon({item.name, type='item'})..'\r\n'
       table = table..'! '..Icons.Icon({item.name, type='item', notext='true'})..'| '..item.name..'\r\n'
       table = table..'| '..item.description..'\r\n'
       table = table..'| '..item.description..'\r\n'
     end
     end
892

edits