lava-collector: require redstone signal to start
This commit is contained in:
parent
0657c9b336
commit
da03c0ee71
@ -98,6 +98,10 @@ local function despositRefill()
|
|||||||
print('sleeping for 15 seconds, waiting for the buckets to be returned')
|
print('sleeping for 15 seconds, waiting for the buckets to be returned')
|
||||||
os.sleep(15)
|
os.sleep(15)
|
||||||
turtle.suckUp(16)
|
turtle.suckUp(16)
|
||||||
|
while not redstone.getInput("right") then
|
||||||
|
print('no active redstone signal on the right side, waiting to start')
|
||||||
|
os.sleep(5)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local function refuel()
|
local function refuel()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user