Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- arg = {...}
- c = 1
- turtle.select(1)
- function place ()
- turtle.placeDown()
- turtle.forward()
- item()
- end
- function item ()
- if (turtle.getItemCount(c) == 0) then
- c = c +1
- turtle.select(c)
- end
- end
- function row ()
- for i=2, arg[2], 1 do
- place()
- end
- item()
- turtle.placeDown()
- end
- for j=1, arg[1],1 do
- row()
- turtle.up()
- turtle.turnRight()
- turtle.turnRight()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement