diff options
Diffstat (limited to 'build/example.py')
| -rw-r--r-- | build/example.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build/example.py b/build/example.py new file mode 100644 index 0000000..b1ac778 --- /dev/null +++ b/build/example.py @@ -0,0 +1,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) + + |
