Anonymous

Module:Items/SourceTables: Difference between revisions

From Melvor Idle
right-aligning some text in the Superheat table
(magicLevelRequired -> level to match v0.22 syntax)
(right-aligning some text in the Superheat table)
Line 854: Line 854:
     local rowPart = {}
     local rowPart = {}
     table.insert(rowPart, '\r\n|-\r\n|'..Icons.Icon({spell.name, type='spell', notext=true, size=50}))
     table.insert(rowPart, '\r\n|-\r\n|'..Icons.Icon({spell.name, type='spell', notext=true, size=50}))
     table.insert(rowPart, '||[['..spell.name..']]||'..item.smithingLevel)
     table.insert(rowPart, '||[['..spell.name..']]||style="text-align:right;"|'..item.smithingLevel)
     table.insert(rowPart, '||'..spell.level..'||'..spell.magicXP..'||'..spell.convertToQty)
     table.insert(rowPart, '||style="text-align:right;"|'..spell.level..'||style="text-align:right;"|'..spell.magicXP..'||style="text-align:right;"|'..spell.convertToQty)
     table.insert(rowPart, '||'..oreString)
     table.insert(rowPart, '||'..oreString)
     if spell.ignoreCoal ~= nil and not spell.ignoreCoal then table.insert(rowPart, coalString) end
     if spell.ignoreCoal ~= nil and not spell.ignoreCoal then table.insert(rowPart, coalString) end