Anonymous

Module:Items/SourceTables/Sandbox: Difference between revisions

From Melvor Idle
m
Fix level concat in table
m (Add level requirement for Alt magic and mining)
m (Fix level concat in table)
Line 804: Line 804:
if typeText == nil then typeText = type end
if typeText == nil then typeText = type end
table.insert(rowPart, '\r\n|style="text-align: left;" data-sort-value="'..typeText..'"|'..expIcon..type)
table.insert(rowPart, '\r\n|style="text-align: left;" data-sort-value="'..typeText..'"|'..expIcon..type)
table.insert(rowPart, '\r\n|' ..level ..'"|')
table.insert(rowPart, '\r\n|' ..level)
table.insert(rowPart, '\r\n|style="text-align: right;" data-sort-value="'..qty..'"|'..Shared.formatnum(minqty))
table.insert(rowPart, '\r\n|style="text-align: right;" data-sort-value="'..qty..'"|'..Shared.formatnum(minqty))
if qty ~= minqty then table.insert(rowPart, ' - '..Shared.formatnum(qty)) end
if qty ~= minqty then table.insert(rowPart, ' - '..Shared.formatnum(qty)) end
2,875

edits