diff options
author | Weblate <42@minetest.ru> | 2013-04-03 20:32:13 +0200 |
---|---|---|
committer | Weblate <42@minetest.ru> | 2013-04-03 20:32:13 +0200 |
commit | 82709549ff61b4963e8b446fca4ead114650ce1a (patch) | |
tree | 691bea32cd002742a6f844b2fe4e74a08aa95296 /doc | |
parent | 6e96bc98ded56ebefb5e597f3d8bee4d4d692dd8 (diff) | |
parent | 9ff8012655f13269f33d406f024374c67b650a9a (diff) | |
download | minetest-82709549ff61b4963e8b446fca4ead114650ce1a.tar.gz minetest-82709549ff61b4963e8b446fca4ead114650ce1a.tar.bz2 minetest-82709549ff61b4963e8b446fca4ead114650ce1a.zip |
Merge remote branch 'origin/master'
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index beb70db15..ca00fc1f9 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -394,6 +394,13 @@ All default ores are of the uniformly-distributed scatter type. Places ore if there are no more than clust_scarcity number of specified nodes within a Von Neumann neighborhood of clust_size radius. +Ore attributes +------------------- +Currently supported flags: absheight + - absheight + Also produce this same ore between the height range of -height_max and -height_min. + Useful for having ore in sky realms without having to duplicate ore entries. + Representations of simple things -------------------------------- Position/vector: @@ -1723,6 +1730,8 @@ Ore definition (register_ore) ^ In this example, there is a 3x3x3 cluster where 8 out of the 27 nodes are coal ore height_min = -31000, height_max = 64, + flags = "", + ^ Attributes for this ore generation noise_threshhold = 0.5, ^ If noise is above this threshhold, 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} |