Module:Items: Difference between revisions

Swapped Mining over to using SkillData
(Slight wording tweak on dungeon requirements)
(Swapped Mining over to using SkillData)
Line 245: Line 245:
     table.insert(tables, p.buildCreationTable(skill, lvl, xp, req, qty, time))
     table.insert(tables, p.buildCreationTable(skill, lvl, xp, req, qty, time))
   end
   end
   if item.miningLevel ~= nil then
   if item.miningID ~= nil then
     skill = 'Mining'
     skill = 'Mining'
     lvl = item.miningLevel
     lvl = SkillData.Mining[item.miningID].level
     time = 3
     time = 3
     xp = item.miningXP
     xp = item.miningXP
Line 616: Line 616:


   --MineCheck:
   --MineCheck:
   if item.miningLevel ~= nil then
   if item.miningID ~= nil then
     table.insert(lineArray, Icons._SkillReq("Mining", item.miningLevel))
     table.insert(lineArray, Icons._SkillReq("Mining", SkillData.Mining[item.miningID].level))
   end
   end