73
edits
No edit summary |
No edit summary |
||
Line 32: | Line 32: | ||
function p._getSkillUnlockTable(skillName) | function p._getSkillUnlockTable(skillName) | ||
local skillReqLabel = skillName:lower() .. 'LevelRequired' | |||
local itemList = p._getAllItemsWithSkillRequirement(skillReqLabel) | local itemList = p._getAllItemsWithSkillRequirement(skillReqLabel) | ||
Line 49: | Line 48: | ||
local resultPart = {} | local resultPart = {} | ||
table.insert(resultPart, '{| class="wikitable"\r\n|-class="headerRow-0"') | table.insert(resultPart, '{| class="wikitable"\r\n|-class="headerRow-0"') | ||
table.insert(resultPart, '\r\n!Level') | table.insert(resultPart, '\r\n!' .. Icons.Icon({skillName, type='skill', notext='true'}) .. ' Level') | ||
table.insert(resultPart, '\r\n!Unlocks') | table.insert(resultPart, '\r\n!Unlocks') | ||
edits