Module:TConstruct
From ATLauncher Wiki
Documentation for this module may be created at Module:TConstruct/doc
local p = {}
p.minelvl = {"Stone", "Iron", "Redstone", "Obsidian", "Cobalt", "Manyullyn"}
function p.mwMineLvl(frame)
local lvl = frame.args[1]
if lvl and tonumber(lvl) and p.minelvl[lvl + 1] then
return lvl .. " (" .. p.minelvl[lvl + 1] .. ")"
end
return lvl
end
return p