diff --git a/lava-collector b/lava-collector index 8c7775b..4b417a6 100644 --- a/lava-collector +++ b/lava-collector @@ -1,5 +1,8 @@ -- vi: ft=lua -- Goal: collect lava using buckets in the nether, deposit the buckets into a fluid transposer that extracts the lava and sends it to a power generator +-- +-- chest above base needs to contain empty buckets +-- the filled buckets will be deposited in a chest below the base local function compareItemName(target) local itemDetail = turtle.getItemDetail() @@ -37,6 +40,12 @@ local function returnToBase() end local function despositRefill() + for i = 1, 16 do + turtle.select(i) + turtle.dropDown() + end + + turtle.suckUp(16) end local function refuel()