73
edits
(Created page with "local p = {} --This module polls various game data sources to produce a full list of skill --level unlocks for each skill. The game has a hard-coded set of "milestones" --for each skill that does the same thing, but it is not exhaustive and not --permanently visible for most combat skills. local Shared = require('Module:Shared') local Icons = require('Module:Icons') local Items = require('Module:Items') function p._getAllItemsWithSkillRequirement(skillReqLabel) local...") |
No edit summary |
||
Line 31: | Line 31: | ||
end | end | ||
function p. | function p._getSkillUnlockTable(skillName) | ||
local skillReqLabel = skillName .. 'LevelRequired' | local skillReqLabel = skillName .. 'LevelRequired' | ||
local itemList = p._getAllItemsWithSkillRequirement(skillReqLabel) | local itemList = p._getAllItemsWithSkillRequirement(skillReqLabel) | ||
Line 73: | Line 73: | ||
return table.concat(resultPart) | return table.concat(resultPart) | ||
end | |||
function p.getSkillUnlockTable(frame) | |||
local skillName = frame.args ~= nil and frame.args[1] | |||
return p._getSkillUnlockTable(skillName) | |||
end | end | ||
return p | return p |
edits