Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Building Materials Check
- if turtle.getItemCount(16)<1 then
- print "Out of Building Materials."
- turtle.reboot()
- end
- --Set r
- r=1
- turtle.select(r)
- --Height
- for h=1,5 do
- --4 part circle
- for c=1,4 do
- turtle.digUp()
- turtle.up()
- turtle.placeDown()
- --Item Check/Switch
- if r<16 and turtle.getItemCount(r)<1 then
- r=r+1
- turtle.select(r)
- end
- if turtle.getItemCount(16)<1 then
- print "Out of Building Materials."
- turtle.reboot()
- end
- for t=1,8 do
- turtle.turnRight()
- turtle.dig()
- turtle.forward()
- turtle.turnLeft()
- turtle.dig()
- turtle.forward()
- turtle.digDown()
- turtle.placeDown()
- if r<16 and turtle.getItemCount(r)<1 then
- r=r+1
- turtle.select(r)
- end
- if turtle.getItemCount(16)<1 then
- print "Out of Building Materials."
- turtle.reboot()
- end
- turtle.dig()
- turtle.forward()
- turtle.digDown()
- turtle.placeDown()
- if r<16 and turtle.getItemCount(r)<1 then
- r=r+1
- turtle.select(r)
- end
- if turtle.getItemCount(16)<1 then
- print "Out of Building Materials."
- turtle.reboot()
- end
- end
- for f=1,7 do
- turtle.dig()
- turtle.forward()
- turtle.digDown()
- turtle.placeDown()
- if r<16 and turtle.getItemCount(r)<1 then
- r=r+1
- turtle.select(r)
- end
- if turtle.getItemCount(16)<1 then
- print "Out of Building Materials."
- turtle.reboot()
- end
- end
- for b=1,7 do
- turtle.dig()
- turtle.forward()
- turtle.turnLeft()
- turtle.dig()
- turtle.forward()
- turtle.turnRight()
- turtle.digDown()
- turtle.placeDown()
- if r<16 and turtle.getItemCount(r)<1 then
- r=r+1
- turtle.select(r)
- end
- if turtle.getItemCount(16)<1 then
- print "Out of Building Materials."
- turtle.reboot()
- end
- turtle.dig()
- turtle.forward()
- turtle.digDown()
- turtle.placeDown()
- if r<16 and turtle.getItemCount(r)<1 then
- r=r+1
- turtle.select(r)
- end
- if turtle.getItemCount(16)<1 then
- print "Out of Building Materials."
- turtle.reboot()
- end
- end
- turtle.dig()
- turtle.forward()
- turtle.turnLeft()
- turtle.dig()
- turtle.forward()
- turtle.digDown()
- turtle.placeDown()
- if r<16 and turtle.getItemCount(r)<1 then
- r=r+1
- turtle.select(r)
- end
- if turtle.getItemCount(16)<1 then
- print "Out of Building Materials."
- turtle.reboot()
- end
- turtle.turnRight()
- turtle.dig()
- turtle.forward()
- turtle.turnLeft()
- turtle.dig()
- turtle.forward()
- turtle.down()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement