http://pastebin.com/DCiChxLv
So basically, I check if there is sand, then dig.
Two issues:
1) If there is sand below, I get "Sand6:31: attempt to index ? (a nil value)" , which is turle.down()
2) If there is no sand below, it just digs the sand around it then continues to turn forever, never moving.
I am basically just trying to set this up in a desert and have it go mine all the same efficiently it can find, and not mine anything else. Any help would be appreciated.
1
Getting starting with turtles, don't understand why mine won't move after digging
Started by brianxx, Mar 15 2017 07:29 PM
3 replies to this topic
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users