Anonymous

Module:Items/SourceTables: Difference between revisions

From Melvor Idle
Fixed mining level reference
m (Resolve cookingInterval being interpreted as seconds instead of milliseconds)
(Fixed mining level reference)
Line 103: Line 103:
   if item.masteryID ~= nil and item.masteryID[1] == 4 then
   if item.masteryID ~= nil and item.masteryID[1] == 4 then
     skill = 'Mining'
     skill = 'Mining'
     lvl = SkillData.Mining.Rocks[item.masteryID[2] + 1].level
     lvl = SkillData.Mining.Rocks[item.masteryID[2] + 1].levelRequired
     time = 3
     time = 3
     xp = item.miningXP
     xp = item.miningXP
Line 483: Line 483:
   --MineCheck:
   --MineCheck:
   if item.masteryID ~= nil and item.masteryID[1] == 4 then
   if item.masteryID ~= nil and item.masteryID[1] == 4 then
     table.insert(lineArray, Icons._SkillReq("Mining", SkillData.Mining.Rocks[item.masteryID[2] + 1].level))
     table.insert(lineArray, Icons._SkillReq("Mining", SkillData.Mining.Rocks[item.masteryID[2] + 1].levelRequired))
   end
   end