Модуль:Prototypes/Машина/Станок: различия между версиями
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) Нет описания правки |
||
| Строка 217: | Строка 217: | ||
if next(recipe.materials) then | if next(recipe.materials) then | ||
for material, amount in pairs(recipe.materials) do | for material, amount in pairs(recipe.materials) do | ||
output = output .. '< | output = output .. '<b>[[File:' .. material .. '.png]] ' .. amount .. ' ' .. material .. '</b>' | ||
end | end | ||
else | else | ||
| Строка 225: | Строка 225: | ||
-- Информация об исследовании | -- Информация об исследовании | ||
if recipe.discipline ~= "Static" and recipe.discipline ~= "Unknown" then | if recipe.discipline ~= "Static" and recipe.discipline ~= "Unknown" then | ||
output = output .. '|info= | output = output .. '|info=[[File:' .. recipe.discipline .. '.png]] {{#invoke:Ftl|main|translation|' .. recipe.researchName | ||
output = output .. '}} (Уровень: ' .. recipe.tier .. ')' | output = output .. '}} (Уровень: ' .. recipe.tier .. ')' | ||
end | end | ||