This commit is contained in:
kepler155c@gmail.com
2019-02-23 07:26:57 -05:00
parent 9db6d22ab5
commit 6bd90ef46e
4 changed files with 8 additions and 2 deletions

View File

@@ -99,7 +99,7 @@ Needs work
\030 \031f\030f\031e\139\030e\128\030f\159\129\0314\130\131\131\129",
run = "recorder.lua",
},
[ "4486006f811b88cacd5f211fd579717e29b600cd" ] = {
[ "swarm" ] = {
title = "Swarm",
category = "Turtle",
icon = " \0315\\\030 \031 \

View File

@@ -33,6 +33,10 @@ function Adapter:listItems(throttle)
end
end
-- TODO: cache number of slots, free slots, used slots
-- useful for when inserting into chests
-- ie. insert only if chest does not have item and has free slots
self.cache = cache
end

View File

@@ -8,7 +8,7 @@
run = "simpleMiner.lua",
requires = 'turtle',
},
[ "4486006f811b88cacd5f211fd579717e29b600cd" ] = {
[ "scanningMiner" ] = {
title = "Scanning",
category = "Mining",
icon = " \0315\\\030 \031 \

View File

@@ -113,6 +113,8 @@ local function run(member)
end
os.sleep(.5)
if os.clock() - c > 3 then
Sound.play('entity.villager.no')
print('stuck: ' .. member.id)
turtle.set({ status = 'Stuck' })
end
end