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:
2146
sys/etc/recipes.db
Normal file
2146
sys/etc/recipes.db
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user