Update 'Turtle/Wheat.lua'
This commit is contained in:
parent
cc3f3c0e21
commit
38f32f6e1c
@ -127,13 +127,16 @@ function Wheat:createMatrix()
|
|||||||
turtle.turnRight()
|
turtle.turnRight()
|
||||||
digForward()
|
digForward()
|
||||||
turtle.turnRight()
|
turtle.turnRight()
|
||||||
|
self.dir = (self.dir + 2) % 4
|
||||||
else
|
else
|
||||||
turtle.turnLeft()
|
turtle.turnLeft()
|
||||||
digForward()
|
digForward()
|
||||||
turtle.turnLeft()
|
turtle.turnLeft()
|
||||||
|
self.dir = (self.dir + 2) % 4
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
self.x, self.y, self.z = gps.locate()
|
||||||
end
|
end
|
||||||
|
|
||||||
function Wheat:clearInv(goBack)
|
function Wheat:clearInv(goBack)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user