did stuff
This commit is contained in:
parent
8be2b417e4
commit
6dc855b4cf
@ -240,7 +240,7 @@ local function mineRow()
|
||||
|
||||
--inventoryRework() --only needed when ore found
|
||||
--clearInventory()
|
||||
--checkInventory()
|
||||
--checkInventory()ußgelder zwischen 10 und 80
|
||||
|
||||
--save path progress
|
||||
state["dataCurrentPathProgress"] = i+1
|
||||
|
@ -1,3 +1,5 @@
|
||||
basic = require("lib.basic")
|
||||
|
||||
function excavate(depth, width, height)
|
||||
-- Digging loop
|
||||
for h = 1, height do
|
||||
@ -40,4 +42,17 @@ function excavate(depth, width, height)
|
||||
for h=1, height do
|
||||
turtle.down()
|
||||
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)
|
Loading…
Reference in New Issue
Block a user