Automatic programming

Started by Cervis Iam, Jul 15, 2020, 04:45 pm

Previous topic - Next topic
I would like to create self enlarging structure with computercraft, but the structure will need more computers as it gets bigger, and I'm not exactly keen on running to every placed computer to copy and run needed programs. Is it possible to make turtle copy program to computer and then run it?


Computers will use startup files on disks instead of the ones on their internal drive if they find a disk while starting up. Combine this with being able to copy programs with the FS API and reading config files that are made for that computer, you can have your program change it's behaviour with the config without having to rewrite the whole program each time.