Anonymous

Module:Items/SourceTables: Difference between revisions

From Melvor Idle
Shop in Source list now uses the icon
(Moved getItemShopTable to Module:Shop and tinkered with things to reflect that.)
(Shop in Source list now uses the icon)
Line 502: Line 502:
   local shopSources = Shop.getItemSourceArray(item.id)
   local shopSources = Shop.getItemSourceArray(item.id)
   if Shared.tableCount(shopSources) > 0 then
   if Shared.tableCount(shopSources) > 0 then
     table.insert(lineArray, '[[Shop]]')
     table.insert(lineArray, Icons.Icon({'Shop'}))
   end
   end