summaryrefslogtreecommitdiff
path: root/build/example.py
blob: 3bde517bd22e6025137647a3d5562ae4d289d957 (plain)
1
2
3
4
5
6
7
8
9
10
import tpt
import random
import time
#                    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)