From 1a415beac0df99e4f1f379b14882540b18fcd72d Mon Sep 17 00:00:00 2001 From: MayaTheShy Date: Mon, 16 Feb 2026 01:27:49 -0500 Subject: [PATCH] feat: Add mining command to initiate exploration mode --- turtle.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/turtle.lua b/turtle.lua index d667855..57d1ec5 100644 --- a/turtle.lua +++ b/turtle.lua @@ -509,6 +509,14 @@ local commands = { return true, "Starting exploration" end, + mine = function() + print("Mine command received") + state.mode = "exploring" -- Use exploring mode for mining + state.stuckCounter = 0 + broadcastStatus() + return true, "Starting mining" + end, + returnHome = function() print("Return home command received") state.mode = "returning"