.
This commit is contained in:
parent
c461befe64
commit
b13ad89a61
@ -64,11 +64,13 @@ local function down(y)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function left(r)
|
local function left(r)
|
||||||
|
turtle.turnLeft()
|
||||||
r = (r-1) % 4
|
r = (r-1) % 4
|
||||||
return r
|
return r
|
||||||
end
|
end
|
||||||
|
|
||||||
local function right(r)
|
local function right(r)
|
||||||
|
turtle.turnRight()
|
||||||
r = (r+1) % 4
|
r = (r+1) % 4
|
||||||
return r
|
return r
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user