1
0
mirror of https://github.com/kepler155c/opus synced 2025-12-13 11:58:06 +00:00

treefarm + turtle improvements + cleanup

This commit is contained in:
kepler155c@gmail.com
2017-09-12 23:04:44 -04:00
parent e50e6da700
commit 9aca96cc3e
21 changed files with 3652 additions and 1190 deletions

2146
sys/etc/recipes.db Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -46,7 +46,7 @@ local function follow(id)
addBlocks(pt)
addBlocks({ x = pt.x, z = pt.z, y = pt.y + 1 })
if turtle.pathfind(cpt, blocks) then
if turtle.pathfind(cpt, { blocks = blocks }) then
turtle.headTowards(pt)
end
following = false

View File

@@ -23,7 +23,7 @@ turtle.run(function()
error('turtle: No GPS response')
end
if not turtle.pathfind(pt, nil, 64) then
if not turtle.pathfind(pt) then
error('Unable to go to location')
end
end)