summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-04-04 01:38:37 +0100
committerubq323 <ubq323@ubq323.website>2024-04-04 01:38:37 +0100
commit32a35293402f8a233c49da8edbd83c98ab616639 (patch)
treece16024666553387ee9385e43802f3cf473338b8
parent451ca4a0313fbb1efd74a97671858c8433c3b0f9 (diff)
launch cactus
-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()