Skip to content

Commit

Permalink
Use persistence instead of persist in NoiseParams examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalabasa committed Jul 10, 2021
1 parent 52128ae commit 42fbc75
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions doc/lua_api.txt
Expand Up @@ -3676,7 +3676,7 @@ For 2D or 3D perlin noise or perlin noise maps:
spread = {x = 500, y = 500, z = 500},
seed = 571347,
octaves = 5,
persist = 0.63,
persistence = 0.63,
lacunarity = 2.0,
flags = "defaults, absvalue",
}
Expand Down Expand Up @@ -3766,7 +3766,7 @@ The following is a decent set of parameters to work from:
spread = {x=200, y=200, z=200},
seed = 5390,
octaves = 4,
persist = 0.5,
persistence = 0.5,
lacunarity = 2.0,
flags = "eased",
},
Expand Down Expand Up @@ -7943,7 +7943,7 @@ See [Ores] section above for essential information.
spread = {x = 100, y = 100, z = 100},
seed = 23,
octaves = 3,
persist = 0.7
persistence = 0.7
},
-- NoiseParams structure describing one of the perlin noises used for
-- ore distribution.
Expand Down Expand Up @@ -7972,15 +7972,15 @@ See [Ores] section above for essential information.
spread = {x = 100, y = 100, z = 100},
seed = 47,
octaves = 3,
persist = 0.7
persistence = 0.7
},
np_puff_bottom = {
offset = 4,
scale = 2,
spread = {x = 100, y = 100, z = 100},
seed = 11,
octaves = 3,
persist = 0.7
persistence = 0.7
},

-- vein
Expand All @@ -7993,7 +7993,7 @@ See [Ores] section above for essential information.
spread = {x = 100, y = 100, z = 100},
seed = 17,
octaves = 3,
persist = 0.7
persistence = 0.7
},
stratum_thickness = 8,
}
Expand Down Expand Up @@ -8120,7 +8120,7 @@ See [Decoration types]. Used by `minetest.register_decoration`.
spread = {x = 100, y = 100, z = 100},
seed = 354,
octaves = 3,
persist = 0.7,
persistence = 0.7,
lacunarity = 2.0,
flags = "absvalue"
},
Expand Down

0 comments on commit 42fbc75

Please sign in to comment.