summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-04-04 00:41:24 +0100
committerubq323 <ubq323@ubq323.website>2024-04-04 00:41:24 +0100
commit40adebb26f915d550fb427d7d226a29f29a9e6bc (patch)
tree1c6d55df2f43800befb8ef6e158040d1c9a41f04
parentfa7f48bac1c8e87695598e66aadb7b198805b919 (diff)
launch cactus
-rw-r--r--cactus.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/cactus.lua b/cactus.lua
index 30603e3..8c2a670 100644
--- a/cactus.lua
+++ b/cactus.lua
@@ -72,6 +72,7 @@ local function move_linear(n)
local dir = turtle.forward
if n < 0 then dir = turtle.back end
for i = 1,math.abs(n) do dir() end
+ print(POS,n,FACING)
POS = POS + n*FACING
end