io.open, io.read, and io.write alternatives?
io.open, io.read, and io.write alternatives?
Hello, i was wondering if it was possible, and if so, how to do, file reading/writing.
Re: io.open, io.read, and io.write alternatives?
File writing is possible using write_file: http://lua-api.factorio.com/latest/LuaG ... write_file
File reading is not possible since it would break determinism, see this discussion: viewtopic.php?f=28&t=30285
File reading is not possible since it would break determinism, see this discussion: viewtopic.php?f=28&t=30285