Anonymous

Module:Shop: Difference between revisions

From Melvor Idle
Tweaked formatting on shop tables slightly
(Tinkered with p.getItemShopTable to match new data formatting (and moved here from Items/SourceTables)
(Tweaked formatting on shop tables slightly)
Line 209: Line 209:
     table.insert(containArray, '+'..purchase.charges..' '..Icons.Icon({purchase.name, type='item'})..' Charges')
     table.insert(containArray, '+'..purchase.charges..' '..Icons.Icon({purchase.name, type='item'})..' Charges')
   end
   end
   result = result..'\r\n|'..table.concat(containArray, '<br/>')
   result = result..'\r\n|style="text-align:right;"|'..table.concat(containArray, '<br/>')


   result = result..'\r\n|}'
   result = result..'\r\n|}'