Module:Skills: Difference between revisions

no edit summary
(Added abyssal level support to getThievingSourcesForItem)
No edit summary
Line 93: Line 93:
local reqText = {}
local reqText = {}
if recipe.abyssalLevel ~= nil and recipe.abyssalLevel > 0 then
if recipe.abyssalLevel ~= nil and recipe.abyssalLevel > 0 then
table.insert(reqText, Icons._AbyssalSkillReq(skillName, recipe.abyssalLevel, false))
table.insert(reqText, Icons._SkillReq(skillName, recipe.abyssalLevel, false, 'melvorItA:Abyssal'))
elseif recipe.level ~= nil and recipe.level > 0 then
elseif recipe.level ~= nil and recipe.level > 0 then
table.insert(reqText, Icons._SkillReq(skillName, recipe.level, false))
table.insert(reqText, Icons._SkillReq(skillName, recipe.level, false))
2,875

edits