1

Add AudioTestingController

This commit is contained in:
2025-10-07 16:51:15 +02:00
parent a5b159fca4
commit 6728841195
3 changed files with 110 additions and 23 deletions

View File

@ -1,17 +1,20 @@
local TestingController = require("controller.testing_controller")
local TurtleTestingController = require("controller.turtle_testing_controller")
local AudioTestingController = require("controller.audio_testing_controller")
local ExcavationController = require("controller.excavation_controller")
local AudioController = require("controller.audio_controller")
local controllers = {
TestingController:Create(),
TurtleTestingController:Create(),
AudioTestingController:Create(),
ExcavationController:Create(),
AudioController:Create(),
}
print("Multiple controllers are available:")
print("1: Testing Mode")
print("2: Volume Excavation")
print("3: Play Bangarang")
print("1: Turtle Testing Mode")
print("2: Audio Testing Mode")
print("3: Volume Excavation")
print("4: Play Bangarang")
local choice = 0
while choice < 1 or choice > #controllers do
@ -21,10 +24,12 @@ end
controllers[choice]:Run()
-- TODO: StackOverflow once the inventory is full, unstocking doesn't work...
-- Is the InventoryFull check wrong?
-- TODO: Test if there's a chest when dropping/sucking/mining (don't mine chests!)
-- TODO: Add controller to build rooms with walls of a specified material
-- TODO: Support specifying the mining height
-- TODO: Add configurable trash_list with items that won't be picked up
-- TODO: Add a speaker to the turtle (listen to music while mining)
-- TODO: When refueling but chest is missing, wait there until the user puts a chest with fuel
-- TODO: Add emergency return routine if can't move (e.g. try to move in different directions first)
-- TODO: Add shortcuts for the volume excavation:
-- - Tunnel forward 3x2 or 3x3 with specified length
-- - Excavate downwards (quarry) in a square, specify side length
-- TODO: Add a stair building mode (specify side length, min 2x2)