From bc2c102195ce764405b8b35478e1c34181d8167c Mon Sep 17 00:00:00 2001 From: brulijam Date: Sun, 2 Jun 2024 02:08:01 +0200 Subject: [PATCH] updated fibo miner --- src/main/programs/turtle-miner-fibo.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/programs/turtle-miner-fibo.lua b/src/main/programs/turtle-miner-fibo.lua index f798f9e..07449bf 100644 --- a/src/main/programs/turtle-miner-fibo.lua +++ b/src/main/programs/turtle-miner-fibo.lua @@ -170,9 +170,9 @@ local function recursiveOreMining() end end -local function mineRow(distance) +local function mineRow() --mine a 3 Block high Tunnel for Blocks - for i=state["dataCurrentPathProgress"], distance-2 do + for i=state["dataCurrentPathProgress"], state["dataGoalPathProgress"]-2 do print("row: " .. state["dataCurrentRow"]+1 .. "/" .. state["dataGoalRows"] .. ", pathProgress: " .. state["dataCurrentPathProgress"]+1 .. "/" .. state["dataGoalPathProgress"]) turtle.dig()