summaryrefslogtreecommitdiff
path: root/build/example.py
blob: b1ac778e7077868ac8650bb224351ac8424e7a19 (plain)
1
2
3
4
5
6
7
8
9
10
11
import tpt
import random
#                    example script

def noise(typ,amount=50):
    for xx in range(284,316):
        for yy in range(184,216):
            if(random.randrange(0,100)<amount):
                tpt.create(xx,yy,typ)