Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = read()
- z = 1
- turtle.select(1)
- for i = 1, x do
- turtle.place()
- turtle.forward()
- if turtle.getItemCount() < 2 then
- z = z+1
- turtle.select(z)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement