Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tArgs = {...}
- local emptycells = right
- local verticle = false
- if #tArgs < 1 then print("please put in program max-imput")
- end
- if #tArgs > 1 then print("please put in program max-imput")
- end
- local a = tArgs[1]
- local discharge = false
- local A = 30000 / a
- if verticle == false then
- if emptycells == right then
- print(" please put a chest with empty redstone energy cells to the right and an empty chest to the right")
- wait(15)
- shell.run(clear)
- print(" make sure theturtle is facing a bc power source")
- wait(15)
- shell.run(clear)
- while true do
- turtle.turnRight()
- turtle.suck()
- turtle.turnLeft()
- turtle.place()
- wait(A)
- turtle.dig()
- turtle.turnLeft()
- while turtle.getitemcount(1) == 1 do
- turtle.drop()
- end
- turtle.turnRight()
- end
- end
- if emptycells == left then
- print(" please put a chest with empty redstone energy cells to the left and an empty chest to the right")
- wait(15)
- shell.run(clear)
- print(" make sure theturtle is facing a bc power source")
- wait(15)
- shell.run(clear)
- while true do
- turtle.turnLeft()
- turtle.suck()
- turtle.turnRight()
- turtle.place()
- wait(A)
- turtle.dig()
- turtle.turnRight()
- while turtle.getitemcount(1) == 1 do
- turtle.drop()
- end
- turtle.turnLeft()
- end
- end
- end
- if verticle == true then
- print("place a chest above the turtle for empty cells and below for full cells")
- print(" make sure theturtle is facing a bc power source")
- wait(15)
- shell.run(clear)
- while true do
- turtle.suckUp()
- turtle.place()
- wait(A)
- turtle.dig()
- while turtle.getitemcount(1) == 1 do
- turtle.dropDown()
- end
- end
- end
- end
- if discarge == true then
- if verticle == false then
- if emptycells == left then
- print(" please put a chest with full redstone energy cells to the right and an empty chest to the left")
- wait(15)
- shell.run(clear)
- print(" make sure theturtle is facing a bc power source")
- wait(15)
- shell.run(clear)
- while true do
- turtle.turnRight()
- turtle.suck()
- turtle.turnLeft()
- turtle.place()
- wait(A)
- turtle.dig()
- turtle.turnLeft()
- while turtle.getitemcount(1) == 1 do
- turtle.drop()
- end
- turtle.turnRight()
- end
- end
- if emptycells == Right then
- print(" please put a chest with full redstone energy cells to the left and an empty chest to the right")
- wait(15)
- shell.run(clear)
- print(" make sure theturtle is facing a bc power source")
- wait(15)
- shell.run(clear)
- while true do
- turtle.turnLeft()
- turtle.suck()
- turtle.turnRight()
- turtle.place()
- wait(A)
- turtle.dig()
- turtle.turnRight()
- while turtle.getitemcount(1) == 1 do
- turtle.drop()
- end
- turtle.turnLeft()
- end
- end
- end
- if verticle == true then
- print("place a chest above the turtle for full cells and below for empty cells")
- print(" make sure theturtle is facing a bc power source")
- wait(15)
- shell.run(clear)
- while true do
- turtle.suckUp()
- turtle.place()
- wait(A)
- turtle.dig()
- while turtle.getitemcount(1) == 1 do
- turtle.dropDown()
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement