Re coding for turtles 2

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Calibra

New Member
Jul 29, 2019
38
0
0
A few questions

Do i need a separate computer for each turtle ?
What is the difference between running a turtle program called "runme" and one called startup ?
And i assume i cant have more than one turtle using the same startup program on the same computer ?
Can I have more than one startup program with different code for different turtles on the same computer ?
And what is the printer for ?


It would be great if there was a tutorial to,explain all this.

Thanks
 

gattsuru

Well-Known Member
May 25, 2013
364
103
68
Do i need a separate computer for each turtle ?...
And i assume i cant have more than one turtle using the same startup program on the same computer ?
Can I have more than one startup program with different code for different turtles on the same computer ?
You can run a Turtle without a separate computer -- Turtles are essentially their own computer, hence the need for a computer in their construction, which happens to have certain Turtle functions available. Turtles can not read programs written on another computer, unless you transfer that file (normally done by floppy disk and disk drive, but network communications are possible), and you have to setLabel and move the startup programs to each turtle individually.
What is the difference between running a turtle program called "runme" and one called startup ?
ComputerCraft machines will automatically run programs named "startup" when booting -- this is most useful if you setLabel the machine and are placing it. Other than that, programs act the same regardless of name.
And what is the printer for ?
It lets you print out in-game pages or books, which may be easier or more useful than writing with a Journal.