Anonymous

Module:ModifierTables/Sandbox: Difference between revisions

From Melvor Idle
no edit summary
No edit summary
No edit summary
Line 297: Line 297:
    row.name = node.skillName .. " - " .. node.name
    row.name = node.skillName .. " - " .. node.name
     
     
local iconWrapper = '<div style="display:flex; align-items:center;">'
local iconWrapper = '<div style="display: inline-flex; align-items: center; gap: 4px;">'
local firstIcon = Icons.Icon({"", img='Skill Tree', nolink=true})
local firstIcon = Icons.Icon({"", img='Skill Tree', nolink=true})
local secondIcon = Icons.Icon({node.skillName..'%23#Skill_Tree', node.name, type='skill', img=node.skillName})
local secondIcon = Icons.Icon({node.skillName..'%23#Skill_Tree', node.name, type='skill', img=node.skillName})
row.icon = iconWrapper .. firstIcon .. " " .. secondIcon .. '</div>'
row.icon = iconWrapper .. firstIcon .. secondIcon .. '</div>'
 
     
     
    row.expIcon = Icons.getDLCColumnIcon(node.id)
    row.expIcon = Icons.getDLCColumnIcon(node.id)
393

edits