Anonymous

Module:Items/SourceTables: Difference between revisions

From Melvor Idle
Added brute force grabbing of Stardust & Golden Stardust for the item sources list
(_getItemSources/_getItemLootSourceTable: Support Impending Darkness event rewards)
(Added brute force grabbing of Stardust & Golden Stardust for the item sources list)
Line 469: Line 469:


   --If all else fails, I guess we should check if we can make it ourselves
   --If all else fails, I guess we should check if we can make it ourselves
  --AstrologyCheck
  --(Just a brute force for now because only two items and I'm lazy)
  if item.name == 'Stardust' or item.name == 'Golden Stardust' then
  table.insert(lineArray, Icons.Icon({"Astrology", type="Skill"}))
  end
 
   --SmithCheck:
   --SmithCheck:
   if item.smithingLevel ~= nil then
   if item.smithingLevel ~= nil then