pathfinding (backwards unknowns are a problem)

This commit is contained in:
Andy Killorin 2023-12-17 01:06:43 -06:00
commit d052d2fc73
Signed by: ank
GPG key ID: B6241CA3B552BCA4

View file

@ -65,11 +65,15 @@ repeat
elseif command == "Forward" then
turtle.forward()
elseif command == "Backward" then
turtle.backward()
turtle.back()
elseif command == "Left" then
turtle.left()
turtle.turnLeft()
elseif command == "Right" then
turtle.right()
turtle.turnRight()
elseif command == "Up" then
turtle.up()
elseif command == "Down" then
turtle.down()
elseif command == "Update" then
args = {...}
if args[1] == "nested" then