summaryrefslogtreecommitdiff
path: root/cactus.lua
diff options
context:
space:
mode:
Diffstat (limited to 'cactus.lua')
-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