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