Модуль:Prototypes/Хранилище/Предмет: различия между версиями

мНет описания правки
мНет описания правки
Строка 36: Строка 36:
         end
         end
     end
     end
 
   
    return string.format('{{LinkСard|SideStyle=1|background-color=#d7d7ff0b|image=%s|name=%s%s%s }} {{#invoke:Prototypes/Хранилище/Предмет|main|framing|contained|%s}}', image, name, amount, prob, content.id)
if mode == 'framing' then
    return string.format('{{LinkСard|SideStyle=1|background-color=#d7d7ff0b|image=%s|name=%s%s%s }} {{#invoke:Prototypes/Хранилище/Предмет|main|framing|contained|%s}}', image, name, amount, prob, content.id)
else
return string.format('{{LinkСard|SideStyle=1|background-color=#d7d7ff0b|image=%s|name=%s%s%s }}', image, name, amount, prob)
end
end
end