Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function iff (x,y)
- if a[x][y]==1 then
- turtle.select(1)
- elseif a[x][y]==2 then
- turtle.select(2)
- elseif a[x][y]==3 then
- turtle.select(3)
- elseif a[x][y]==4 then
- turtle.select(4)
- elseif a[x][y]==5
- turtle.select(5)
- elseif a[x][y]==6 then
- turtle.select(6)
- end
- end
- a={{1,1,1,2,2,2,2,2,1,1,1} ,
- {2,2,2,2,2,2,2,2,2,2,2} ,
- {1,1,2,1,3,2,3,1,2,1,1} ,
- {1,1,1,2,2,2,2,2,1,1,1} ,
- {1,1,1,2,2,2,2,2,1,1,1} ,
- {1,2,4,4,5,5,5,4,4,
Advertisement
Add Comment
Please, Sign In to add comment