aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Rifqi Priyo Susanto <muhammadrifqipriyosusanto@gmail.com>2017-10-23 11:04:22 +0700
committerparamat <mat.gregory@virginmedia.com>2017-10-23 05:30:45 +0100
commit63c26413b6acc27d15c88d4f6f5312e2020e4b48 (patch)
treef638906f976655b008ec2b6bd058ad8494f9d346
parenta1e1a19ac355dbe7e1a2e060fd6b5fe082298eb6 (diff)
downloadminetest-63c26413b6acc27d15c88d4f6f5312e2020e4b48.tar.gz
minetest-63c26413b6acc27d15c88d4f6f5312e2020e4b48.tar.bz2
minetest-63c26413b6acc27d15c88d4f6f5312e2020e4b48.zip
Lua_api.txt: Revert changes to NoiseParams format example
-rw-r--r--doc/lua_api.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 9e3895d83..eaec90492 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1043,13 +1043,13 @@ Accumulates the absolute value of each noise gradient result.
Noise parameters format example for 2D or 3D perlin noise or perlin noise maps:
np_terrain = {
- offset = "0",
- scale = "1",
- spread = {x="500", y="500", z="500"},
+ offset = 0,
+ scale = 1,
+ spread = {x=500, y=500, z=500},
seed = 571347,
octaves = 5,
- persist = "0.63",
- lacunarity = "2.0",
+ persist = 0.63,
+ lacunarity = 2.0,
flags = "defaults, absvalue"
}
^ A single noise parameter table can be used to get 2D or 3D noise,