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