summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorJun Zhang <zhangjunphy@gmail.com>2015-12-05 21:00:11 +0800
committerBlockMen <nmuelll@web.de>2015-12-06 11:38:03 +0100
commita78dd7f2b6b0e1fefdbaa1ae21b722dd4459e4f4 (patch)
treeace45f38b9a951185b158fb7e3435680afb5d376 /doc/lua_api.txt
parent70ece71ee4e8f8bff5cbc572710c0fa6fc3b355f (diff)
downloadminetest-a78dd7f2b6b0e1fefdbaa1ae21b722dd4459e4f4.tar.gz
minetest-a78dd7f2b6b0e1fefdbaa1ae21b722dd4459e4f4.tar.bz2
minetest-a78dd7f2b6b0e1fefdbaa1ae21b722dd4459e4f4.zip
Fix spelling of noise_threshold
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 4799a30fa..6e7a5446c 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -763,7 +763,7 @@ Creates veins of ore varying in density by according to the intersection of two
instances of 3d perlin noise with diffferent seeds, both described by
`noise_params`. `random_factor` varies the influence random chance has on
placement of an ore inside the vein, which is `1` by default. Note that
-modifying this parameter may require adjusting `noise_threshhold`.
+modifying this parameter may require adjusting `noise_threshold`.
The parameters `clust_scarcity`, `clust_num_ores`, and `clust_size` are ignored
by this ore type. This ore type is difficult to control since it is sensitive
to small changes. The following is a decent set of parameters to work from:
@@ -777,7 +777,7 @@ to small changes. The following is a decent set of parameters to work from:
persist = 0.5,
flags = "eased",
},
- noise_threshhold = 1.6
+ noise_threshold = 1.6
WARNING: Use this ore type *very* sparingly since it is ~200x more
computationally expensive than any other ore.
@@ -3572,7 +3572,7 @@ Definition tables
y_max = 64,
flags = "",
-- ^ Attributes for this ore generation
- noise_threshhold = 0.5,
+ noise_threshold = 0.5,
-- ^ If noise is above this threshold, ore is placed. Not needed for a uniform distribution
noise_params = {offset=0, scale=1, spread={x=100, y=100, z=100}, seed=23, octaves=3, persist=0.70}
-- ^ NoiseParams structure describing the perlin noise used for ore distribution.