diff --git a/pocketremote.lua b/pocketremote.lua index a9d8584..02e54cd 100644 --- a/pocketremote.lua +++ b/pocketremote.lua @@ -445,6 +445,24 @@ local function drawModes() sendStateCommand(turtle.turtleID, "moving") end, colors.lightBlue) + btnY = btnY + 3 + addButton(1, btnY, btnW, 2, "SCAN", function() + sendStateCommand(turtle.turtleID, "scan") + end, colors.purple) + + addButton(14, btnY, btnW, 2, "EXTRACT", function() + sendStateCommand(turtle.turtleID, "extraction") + end, colors.magenta) + + btnY = btnY + 3 + addButton(1, btnY, btnW, 2, "BUILD", function() + sendStateCommand(turtle.turtleID, "building") + end, colors.lightBlue) + + addButton(14, btnY, btnW, 2, "AUTOCRAFT", function() + sendStateCommand(turtle.turtleID, "autocraft") + end, colors.pink) + -- Back button addButton(1, h - 1, 12, 2, "< BACK", function() viewMode = "detail"