===== Baum / Allee ===== def Baum(xpos, ypos, zpos): for i in range(0,13,1): blocks.place(BROWN_WOOL,world(xpos,ypos+i,zpos)) for p in range(4,13,1): blocks.place(GREEN_WOOL,world(xpos+1,ypos+p,zpos)) blocks.place(GREEN_WOOL,world(xpos-1,ypos+p,zpos)) blocks.place(GREEN_WOOL,world(xpos,ypos+p,zpos+1)) blocks.place(GREEN_WOOL,world(xpos,ypos+p,zpos-1)) for l in range(6,12,1): blocks.place(GREEN_WOOL,world(xpos+2,ypos+l,zpos)) blocks.place(GREEN_WOOL,world(xpos-2,ypos+l,zpos)) blocks.place(GREEN_WOOL,world(xpos,ypos+l,zpos+2)) blocks.place(GREEN_WOOL,world(xpos,ypos+l,zpos-2)) for s in range(6,12,1): blocks.place(GREEN_WOOL,world(xpos+1,ypos+s,zpos+1)) blocks.place(GREEN_WOOL,world(xpos-1,ypos+s,zpos-1)) blocks.place(GREEN_WOOL,world(xpos+1,ypos+s,zpos-1)) blocks.place(GREEN_WOOL,world(xpos-1,ypos+s,zpos+1)) for o in range(12,14,1): blocks.place(GREEN_WOOL,world(xpos,ypos+o,zpos)) def baeume(): for f in range(110,210,10): Baum(f,4,120) Baum(f,4,130)