From da03c0ee7174cb3d6d7ac73021a357c91cbbc2fd Mon Sep 17 00:00:00 2001 From: Navid Sassan Date: Sun, 3 Dec 2023 17:22:56 +0100 Subject: [PATCH] lava-collector: require redstone signal to start --- lava-collector | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lava-collector b/lava-collector index f8d96a4..b5c3308 100644 --- a/lava-collector +++ b/lava-collector @@ -98,6 +98,10 @@ local function despositRefill() print('sleeping for 15 seconds, waiting for the buckets to be returned') os.sleep(15) 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 local function refuel()