Модуль:TableOfChemicals

Материал из МК14 | Space Station 14 Wiki

Для документации этого модуля может быть создана страница Модуль:TableOfChemicals/doc

return { test = function()
local ok, result = pcall(function()
local f = mw.getCurrentFrame(); if f then local r = {}; for k,v in pairs(getmetatable(f) or {}) do r[#r+1] = k .. "=" .. type(v) end; return table.concat(r, ",") else return "no frame" end
end)
if ok then return tostring(result) else return 'ERR: ' .. tostring(result) end
end, }