Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- Variabeln
- ---
- curslot = 2
- function turnright()
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- end
- function turnleft()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- end
- function checkblockcount()
- if turtle.getItemCount(curslot) == 0 then
- selnextslot()
- end
- end
- function selnextslot()
- curslot = curslot + 1
- if curslot > 16 then
- print("Out of blocks, terminating")
- error()
- end
- turtle.select(curslot)
- end
- function place()
- checkblockcount()
- turtle.placeDown()
- turtle.forward()
- end
- ----------
- for i=1, 3 do
- place()
- end
- turnright()
- for i=1, 3 do
- place()
- end
- turnleft()
- for i=1, 3 do
- place()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement