393
edits
No edit summary |
No edit summary |
||
Line 295: | Line 295: | ||
local nodeList = p.getSkillTreeNodesWithModifier(modifierCriteria) | local nodeList = p.getSkillTreeNodesWithModifier(modifierCriteria) | ||
for i, | for i, nodeWithSkill in ipairs(nodeList) do | ||
local node = | local node = nodeWithSkill.nodeData | ||
local skillName = nodeWithSkill.skillName | |||
local row = {} | local row = {} | ||
row.name = | |||
-- Display the skill name alongside the node name | |||
row.name = skillName .. " - " .. node.name | |||
row.icon = Icons.Icon({'SkillTree%23'..string.gsub(node.name, ' ', ''), node.name, type='skill', img='SkillTree'}) | row.icon = Icons.Icon({'SkillTree%23'..string.gsub(node.name, ' ', ''), node.name, type='skill', img='SkillTree'}) | ||
row.expIcon = Icons.getDLCColumnIcon(node.id) | row.expIcon = Icons.getDLCColumnIcon(node.id) | ||
Line 315: | Line 319: | ||
table.insert(tableArray, row) | table.insert(tableArray, row) | ||
end | end | ||
local obstList = p.getObstaclesWithModifier(modifierCriteria) | local obstList = p.getObstaclesWithModifier(modifierCriteria) |
edits