Anonymous

Module:Items/SourceTables: Difference between revisions

From Melvor Idle
m
_getItemSources: Adds summoning as a source for familiars
m (Fix for summoning time in crafting table)
m (_getItemSources: Adds summoning as a source for familiars)
Line 498: Line 498:
   end
   end


   --WoodcuttingCheck
   --WoodcuttingCheck:
   if item.type == 'Logs' then
   if item.type == 'Logs' then
     local treeData = SkillData.Woodcutting.Trees[item.id + 1]
     local treeData = SkillData.Woodcutting.Trees[item.id + 1]
     local lvl = treeData.level
     local lvl = treeData.level
     table.insert(lineArray, Icons._SkillReq("Woodcutting", lvl))
     table.insert(lineArray, Icons._SkillReq("Woodcutting", lvl))
  end
  --SummoningCheck:
  if item.summoningLevel ~= nil then
    table.insert(lineArray, Icons._SkillReq("Summoning", item.summoningLevel))
   end
   end