Module:SkillUnlocks: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 32: Line 32:


function p._getSkillUnlockTable(skillName)
function p._getSkillUnlockTable(skillName)
skillName = skillName:lower()
local skillReqLabel = skillName .. 'LevelRequired'
local skillReqLabel = skillName .. 'LevelRequired'
local itemList = p._getAllItemsWithSkillRequirement(skillReqLabel)
local itemList = p._getAllItemsWithSkillRequirement(skillReqLabel)
if Shared.tableIsEmpty(itemList) then
if Shared.tableIsEmpty(itemList) then
73

edits