Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require("programs/globalVars")
- if FUEL<=STEPS then
- shell.run("invDump "+ tostring(FIRST_FREE_SLOT)) --make sure invetory is empty to accept potential items
- turnAround()
- while (turtle.detect()) do --makes space for chests even if it has to dig mulitiple blocks
- turtle.dig()
- end
- turtle.select(1) -- select lava enderchest
- turtle.place()
- turtle.select(16) -- last slot specially for fuel
- turtle.suck() --get lava bucket
- turtle.refuel()
- turtle.select(1) -- lavachest slot
- turtle.dig()
- turtle.select(2) -- bucket chest slot
- turtle.place()
- turtle.select(16) --empty bucket
- turtle.drop() --puts bucket in enderchest
- turtle.select(2)
- turtle.dig()
- turnAround()
- FUEL = turtle.getFuelLevel()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement