package manager + tweaks to milo

This commit is contained in:
kepler155c
2018-11-06 16:21:31 -05:00
parent d113b1da1a
commit 01452ced72
9 changed files with 117 additions and 63 deletions

View File

@@ -106,7 +106,7 @@ local function harvest(blocks)
turtle.equip('right', 'plethora:module:2')
end
turtle.run(function()
local s, m = turtle.run(function()
local facing = scanner.getBlockMeta(0, 0, 0).state.facing
turtle.point.heading = Point.facings[facing].heading
@@ -125,3 +125,7 @@ turtle.run(function()
end
until turtle.isAborted()
end)
if not s and m then
error(m)
end