pathfinding (backwards unknowns are a problem)
This commit is contained in:
parent
b5ff23f66e
commit
d052d2fc73
1 changed files with 94 additions and 32 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue