Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- 0 - nothing
- -- 1 - brown
- -- 2 - sand
- -- 3 - white wool
- -- 4 - black wool
- -- 5 - pink wool
- pic = {
- {0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0},
- {0, 1, 2, 2, 2, 1, 1, 2, 2, 2, 1, 0}
- }
- row = 2
- column = 1
- slot = 0
- for row=1, 2 do
- for column=1, 12 do
- slot = pic[row][column]
- if slot == 0 then
- turtle.forward()
- else
- turtle.select(slot)
- turtle.placeDown()
- turtle.forward()
- end
- end
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- for column = 1, 12 do
- turtle.back()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement