1

Merge netherite/excavation controllers, overhaul movement logic with verticality support

This commit is contained in:
2025-10-06 22:29:33 +02:00
parent 13b506923b
commit b5cb13732e
6 changed files with 350 additions and 292 deletions

View File

@ -1,18 +1,15 @@
local TestingController = require("controller.testing_controller")
local VolumeExcavationController = require("controller.volume_excavation_controller")
local NetheriteController = require("controller.netherite_controller")
local ExcavationController = require("controller.excavation_controller")
local controllers = {
TestingController:Create(),
VolumeExcavationController:Create(),
NetheriteController:Create(),
ExcavationController:Create(),
}
print("Multiple controllers are available:")
print("1: Testing Mode")
print("2: Volume Excavation")
print("3: Netherite Excavation")
local choice = 0
while choice < 1 or choice > #controllers do
@ -20,4 +17,13 @@ while choice < 1 or choice > #controllers do
choice = tonumber(io.read()) or 0
end
controllers[choice]:Run()
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)