Модуль:Prototypes/Объект/Торгомат: различия между версиями
Pok (обсуждение | вклад) мНет описания правки |
Pok (обсуждение | вклад) мНет описания правки |
||
| Строка 59: | Строка 59: | ||
for _, restockPack in ipairs(restock.canRestock) do | for _, restockPack in ipairs(restock.canRestock) do | ||
if restockPack == packId then | if restockPack == packId then | ||
return mw.getCurrentFrame():preprocess("{{#invoke:Предмет|main|" .. restock.id .. "| | return mw.getCurrentFrame():preprocess("{{#invoke:Предмет|main|" .. restock.id .. "|size=64px|link=|label=|repository=|wrapper=}}") | ||
end | end | ||
end | end | ||