Module:Sandbox/User:Alsang/PotionList: Difference between revisions

reorder columns
(back to testing, wont format properly through template)
(reorder columns)
Line 167:
table.insert(headerRow, '!! colspan="10" | Sell Value')
table.insert(headerRow, '!! colspan="10" | Profit')
table.insert(headerRow, '!! colspan="10" | Profit/hr')
table.insert(headerRow, '!! XP')
table.insert(headerRow, '!! KP')
table.insert(headerRow, '!! colspan="10" | Profit/XP')
table.insert(headerRow, '!! XP/hr')
table.insert(headerRow, '!! colspan="10" | Profit/XP')
table.insert(headerRow, '!! KP')
table.insert(headerRow, '!! KP/hr')
table.insert(headerRow, '!! colspan="10" | Profit/hr')
table.insert(out, table.concat(headerRow, ' '))
Line 190:
table.insert(itemRow, item.sellString )
table.insert(itemRow, item.profitString )
table.insert(itemRow, item.profitPerHourString )
table.insert(itemRow, item.XPString )
table.insert(itemRow, item.KPString )
table.insert(itemRow, item.profitPerXPString )
table.insert(itemRow, item.XPPerHourString )
table.insert(itemRow, item.profitPerXPString )
table.insert(itemRow, item.KPString )
table.insert(itemRow, item.KPPerHourString )
table.insert(itemRow, item.profitPerHourString )
table.insert(out, table.concat(itemRow, ' '))
929

edits