Code Gras


def Gras (x,z):
    h = 0
    while h < 400:
        a = randint(0, 85)
        s = randint(0, 38)
        blocks.place(TALLGRASS, world(x+a, 4, z+s))
        h = h+1
 
    v = 0
    while v < 40:
        q = randint(0, 85)
        w = randint(0, 38)
        blocks.place(POPPY, world(x+q, 4, z+w))
        v = v+1

zurück