implement despositRefill

This commit is contained in:
Navid Sassan 2023-11-23 01:18:26 +01:00
parent e79a49cdd1
commit 6ef79df3d9

View File

@ -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()