Модуль:Prototypes/Механика/Стоимость: различия между версиями

мНет описания правки
мНет описания правки
Строка 31: Строка 31:
     local itemData = frame:preprocess('{{#invoke:Entity Lookup|getname|' .. item.id .. '}}')
     local itemData = frame:preprocess('{{#invoke:Entity Lookup|getname|' .. item.id .. '}}')
         table.insert(output, '|-')
         table.insert(output, '|-')
         table.insert(output, '| [[File:' .. item.id .. '|32px]] [[' .. itemData .. '|' .. itemData .. ']]')
         table.insert(output, '| [[File:' .. item.id .. '.png|32px]] [[' .. itemData .. '|' .. itemData .. ']]')
         table.insert(output, '| {{ColorPalette|Other|price|' .. item.StaticPrice.price .. '}}$')
         table.insert(output, '| {{ColorPalette|Other|price|' .. item.StaticPrice.price .. '}}$')
     end
     end