diff options
author | kwolekr <kwolekr@minetest.net> | 2013-03-24 22:35:23 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-03-24 22:35:23 -0400 |
commit | 26cad481d08432df1c9ace5f1ac23f1fad9a403f (patch) | |
tree | 23b4209d9643f859cbc9b2b9440cc797f3cfc1bd /doc | |
parent | 8d13967aa3a802df8fa8d97fcce32fea2b46f2bf (diff) | |
download | minetest-26cad481d08432df1c9ace5f1ac23f1fad9a403f.tar.gz minetest-26cad481d08432df1c9ace5f1ac23f1fad9a403f.tar.bz2 minetest-26cad481d08432df1c9ace5f1ac23f1fad9a403f.zip |
Vary ore sheet y position by noise
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 23f7f8568..38b89f140 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -383,9 +383,12 @@ All default ores are of the uniformly-distributed scatter type. that point is greater than the noise_threshhold, giving the ability to create a non-equal distribution of ore. - sheet - Creates a sheet of ore in a blob shape according to the 2d perlin noise described by - the noise_params structure. The height of the blob is randomly scattered, with a maximum - height of clust_size. Here, clust_scarcity and clust_num_ores are ignored. + Creates a sheet of ore in a blob shape according to the 2d perlin noise described by noise_params. + The relative height of the sheet can be controlled by the same perlin noise as well, by specifying + a non-zero 'scale' parameter in noise_params. IMPORTANT: The noise is not transformed by offset or + scale when comparing against the noise threshhold, but scale is used to determine relative height. + The height of the blob is randomly scattered, with a maximum height of clust_size. + clust_scarcity and clust_num_ores are ignored. This is essentially an improved version of the so-called "stratus" ore seen in some unofficial mods. - claylike - NOT YET IMPLEMENTED Places ore if there are no more than clust_scarcity number of specified nodes within a Von Neumann |