This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Ninja3047's profile picture

Is There A Way To Get The Turtles To Return To A Certain Point For Inventory Refills?

Started by Ninja3047, 26 February 2012 - 05:39 PM
Ninja3047 #1
Posted 26 February 2012 - 06:39 PM
On a server I play on, the spawn is in an ocean biome so i made a small program to cover the water with grass blocks… the problem is the turtle always runs out supplies to cover up the water. Is it possible to make the turtle return to a certain point and gather up more supplies and then return to the same spot it was before? If so can someone help me with it? i just got computercraft yesterday and im still figuring out how to program in lua.
Liraal #2
Posted 26 February 2012 - 06:47 PM
http://www.computercraft.info/forums2/index.php?/topic/202-liraals-turtle-utilities/

goToPos function
Ninja3047 #3
Posted 26 February 2012 - 10:14 PM
ok thank you, btw can turtle get things/ put things into chests?
Liraal #4
Posted 26 February 2012 - 10:16 PM
not without other mods like BuildCraft/Redpower



but it can swap with outer turtles. Ill write a function for it later.
Ninja3047 #5
Posted 26 February 2012 - 11:52 PM
:)/>/>
Ninja3047 #6
Posted 26 February 2012 - 11:54 PM
one small problem though… how do i upload the api to the server without retyping it because retyping can mess it up
ThePH #7
Posted 27 February 2012 - 11:05 PM
for the refill function i made a prog that launches a turtle, its goes back when empty and the other turtle goes when turtle before sends a red signal to it.