Biome API / cavegen: Add definable cave liquid for a biome (#7192)
authorParamat <paramat@users.noreply.github.com>
Thu, 5 Apr 2018 16:21:41 +0000 (17:21 +0100)
committerGitHub <noreply@github.com>
Thu, 5 Apr 2018 16:21:41 +0000 (17:21 +0100)
commit32d456bd2d4dda50f77c01c702d1b5a5ff26134b
tree5f70367cacdc3901d3a9746563aad5ed3b3054c4
parent077f231111082272359a916c3e41049aaf699151
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.
doc/lua_api.txt
src/mapgen/cavegen.cpp
src/mapgen/cavegen.h
src/mapgen/mapgen.cpp
src/mapgen/mapgen_valleys.cpp
src/mapgen/mg_biome.cpp
src/mapgen/mg_biome.h
src/script/lua_api/l_mapgen.cpp