local version = minetest.get_version() do local major, minor, patch = version.string:match("(%d+)%.(%d+)%.(%d+)") version = tonumber(major) * 0x10000 + tonumber(minor) * 0x100 + tonumber(patch) end