did stuff
This commit is contained in:
parent
8be2b417e4
commit
6dc855b4cf
@ -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
|
||||||
|
@ -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)
|
Loading…
Reference in New Issue
Block a user