From 40adebb26f915d550fb427d7d226a29f29a9e6bc Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 4 Apr 2024 00:41:24 +0100 Subject: launch cactus --- cactus.lua | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3