did stuff

This commit is contained in:
Julian Brammer 2024-06-24 18:12:05 +02:00
parent 8be2b417e4
commit 6dc855b4cf
2 changed files with 17 additions and 2 deletions

View File

@ -240,7 +240,7 @@ local function mineRow()
--inventoryRework() --only needed when ore found --inventoryRework() --only needed when ore found
--clearInventory() --clearInventory()
--checkInventory() --checkInventory()ußgelder zwischen 10 und 80
--save path progress --save path progress
state["dataCurrentPathProgress"] = i+1 state["dataCurrentPathProgress"] = i+1

View File

@ -1,3 +1,5 @@
basic = require("lib.basic")
function excavate(depth, width, height) function excavate(depth, width, height)
-- Digging loop -- Digging loop
for h = 1, height do for h = 1, height do
@ -40,4 +42,17 @@ function excavate(depth, width, height)
for h=1, height do for h=1, height do
turtle.down() turtle.down()
end end
end end
basic.clearDisplay()
print("[Digs a Quader]")
write("depth: ")
depth = tonumber(read())
write("width: ")
width = tonumber(read())
write("height: ")
height = tonumber(read())
basic.clearDisplay()
excavate(depth, width, height)