summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cactus.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/cactus.lua b/cactus.lua
index 08df1aa..57b457e 100644
--- a/cactus.lua
+++ b/cactus.lua
@@ -104,7 +104,13 @@ end
local datum = vector.new(-18, 128, -1837)
moveto(datum)
-turn_to_face(vector.new(0,0,+1))
+turn_to_face(vector.new(0,0,1))
+
+local function check_column()
+ if turtle.detectDown() then
+ for i =1,4 do turtle.turnRight() end
+ end
+end
repeat
do_column()