This commit is contained in:
Julian Brammer 2024-06-18 19:22:41 +02:00
parent 412c0d491d
commit 71fee0ae95
2 changed files with 19 additions and 1 deletions

View File

@ -23,7 +23,7 @@ local copyList = {
[15] = "/brulijam/files/shape-hex-64-20.svg", [15] = "/brulijam/files/shape-hex-64-20.svg",
[16] = "/brulijam/files/shape-hex-64.svg", [16] = "/brulijam/files/shape-hex-64.svg",
[17] = "/brulijam/t-farmer.lua", [17] = "/brulijam/t-farmer.lua",
[18] = "/brulijam/t-path-miner.lua",
} }

View File

@ -0,0 +1,18 @@
local function mineStraightLine(length)
slot = 1
turtle.digUp()
turtle.dig()
turtle.forward()
if not turtle.detectDown()
if turtle.getItemCount == 0 then
slot = slot + 1
turtle.select(slot)
end
turtle.placeDown()
end
end
mineStraightLine(500)