Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- 26 ladders in slot 13
- -- 64 ladders in slot 14
- -- 30 solid blocks in slot 15
- -- 30 pistons in slot 16
- local curSlot = 16
- turtle.select(16)
- function checkFuel(min)
- if turtle.getFuelLevel() < min then
- turtle.select(1)
- turtle.refuel(1)
- turtle.select(curSlot)
- end
- end
- function getMaterial()
- if turtle.getItemCount(curSlot) == 0 then
- for s=16,1,-1 do
- if turtle.getItemCount(s) > 0 then
- break
- end
- end
- turtle.select(s)
- curSlot = s
- end
- end
- function platform()
- checkFuel(50)
- getMaterial()
- turtle.placeDown()
- for i=1,14,1 do
- turtle.forward()
- getMaterial()
- turtle.placeDown()
- end
- turtle.turnLeft()
- turtle.forward()
- getMaterial()
- turtle.placeDown()
- for i=1,14,1 do
- turtle.forward()
- getMaterial()
- turtle.placeDown()
- end
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- end
- function manyPlatforms()
- platform()
- turtle.up()
- platform()
- for i=1,46,1 do
- turtle.down()
- end
- platform()
- turtle.up()
- platform()
- turtle.up()
- platform()
- for i=1,7,1 do
- turtle.forward()
- end
- turtle.turnRight()
- turtle.forward()
- turtle.forward()
- for i=1,46,1 do
- turtle.down()
- end
- end
- manyPlatforms()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement