From 6e7ba366fc58c437640c7d603d28668b52ba79c7 Mon Sep 17 00:00:00 2001 From: Paramat Date: Mon, 18 Feb 2019 02:53:33 +0000 Subject: lua_api.txt, settingtypes.txt: Various improvements (#8252) --- doc/lua_api.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index b506d43b2..2edd0d9de 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -3967,7 +3967,7 @@ Environment access * Return value: Table with all node positions with a node air above * Area volume is limited to 4,096,000 nodes * `minetest.get_perlin(noiseparams)` -* `minetest.get_perlin(seeddiff, octaves, persistence, scale)` +* `minetest.get_perlin(seeddiff, octaves, persistence, spread)` * Return world-specific perlin noise (`int(worldseed)+seeddiff`) * `minetest.get_voxel_manip([pos1, pos2])` * Return voxel manipulator object. @@ -5347,9 +5347,9 @@ It can be created via `PcgRandom(seed)` or `PcgRandom(seed, sequence)`. ------------- A perlin noise generator. -It can be created via `PerlinNoise(seed, octaves, persistence, scale)` +It can be created via `PerlinNoise(seed, octaves, persistence, spread)` or `PerlinNoise(noiseparams)`. -Alternatively with `minetest.get_perlin(seeddiff, octaves, persistence, scale)` +Alternatively with `minetest.get_perlin(seeddiff, octaves, persistence, spread)` or `minetest.get_perlin(noiseparams)`. ### Methods -- cgit v1.2.3