feat: Add mining command to initiate exploration mode
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user