Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local runif = 1
- local pillarHeight = 0
- turtle.select(1)
- turtle.refuel()
- print(turtle.getFuelLevel())
- local selectedSlot = 2
- turtle.select(selectedSlot)
- while runif do
- if turtle.getItemCount() == 0 then
- selectedSlot = selectedSlot + 1
- turtle.select(selectedSlot)
- end
- if (turtle.detectUp()) or (pillarHeight > 200) then
- runif = 0
- turtle.back()
- turtle.place()
- for i = 0, pillarHeight do
- turtle.down()
- end
- else
- pillarHeight = pillarHeight + 1
- turtle.up()
- turtle.placeDown()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement