Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n=32
- t=turtle
- for c=0,3 do
- for s=1,4 do
- if t.getItemCount(s+(c*4))<=0 then
- print ("1 - steklo")
- print ("2 - osnova")
- print ("3 - pesok")
- print ("4 - kaktus")
- return
- end
- end
- t.forward()
- for i=1,n do
- for j=2,3 do
- t.select(j+(c*4))
- t.turnLeft()
- t.place()
- t.turnRight()
- t.turnRight()
- t.place()
- t.turnLeft()
- t.up()
- end
- t.up()
- t.select(4+(c*4))
- t.turnLeft()
- t.forward()
- t.placeDown()
- t.back()
- t.back()
- t.placeDown()
- t.forward()
- t.up()
- t.turnRight()
- t.select(1+(c*4))
- t.placeDown()
- t.forward()
- t.forward()
- for i=1,4 do
- t.down()
- end
- end
- for i=1,4 do
- t.up()
- end
- for i=1,65 do
- t.back()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement