Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Autor Animum
- --Program version 1.0
- --refueling turtles through
- --the lava bucket in the current slot
- --and tank of mekanism
- --Minecraft version 1.16.3
- --Forge version 34.1.25
- --CCTweaked version 1.93.0
- --Mekanism version 10.0.12.437
- --The program can adapt
- --to the turtle version - normal/advanced
- if term.isColor() then
- term.setTextColour(colors.white)
- end
- term.clear()
- repeat
- --move the empty bucket to the tank
- --in front of the turtles
- turtle.drop()
- sleep(1)
- --move the lava bucket from the tank
- --in front of the turtles
- ending = turtle.suck()
- --Mekanism tank is not empty?
- if ending
- then
- turtle.refuel()
- term.setCursorPos(1,1)
- term.write(turtle.getFuelLevel())
- end
- --Mekanism tank is empty?
- until not ending
- term.setCursorPos(1,1)
- if term.isColor() then
- term.setTextColour(colors.lime)
- end
- term.write("done")
- sleep(1)
- term.clear()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement