summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2018-04-05 17:21:41 +0100
committerGitHub <noreply@github.com>2018-04-05 17:21:41 +0100
commit32d456bd2d4dda50f77c01c702d1b5a5ff26134b (patch)
tree5f70367cacdc3901d3a9746563aad5ed3b3054c4 /doc
parent077f231111082272359a916c3e41049aaf699151 (diff)
downloadminetest-32d456bd2d4dda50f77c01c702d1b5a5ff26134b.tar.gz
minetest-32d456bd2d4dda50f77c01c702d1b5a5ff26134b.tar.bz2
minetest-32d456bd2d4dda50f77c01c702d1b5a5ff26134b.zip
Biome API / cavegen: Add definable cave liquid for a biome (#7192)
Add 'node_cave_liquid' as a new field in biome registration. If field is absent cave liquids fall back to classic behaviour.
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 0c995b54e..ea8e8b254 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -5662,6 +5662,10 @@ Definition tables
node_riverbed = "default:gravel",
depth_riverbed = 2,
-- ^ Node placed under river water and thickness of this layer.
+ node_cave_liquid = "default:water_source",
+ -- ^ Nodes placed as a blob of liquid in 50% of large caves.
+ -- ^ If absent, cave liquids fall back to classic behaviour of lava or
+ -- ^ water distributed according to a hardcoded 3D noise.
y_max = 31000,
y_min = 1,
-- ^ Upper and lower limits for biome.