aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen/mg_biome.h
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 /src/mapgen/mg_biome.h
parent077f231111082272359a916c3e41049aaf699151 (diff)
downloadhax-minetest-server-32d456bd2d4dda50f77c01c702d1b5a5ff26134b.tar.gz
hax-minetest-server-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 'src/mapgen/mg_biome.h')
-rw-r--r--src/mapgen/mg_biome.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mapgen/mg_biome.h b/src/mapgen/mg_biome.h
index 086cf56fe..27b6ebf95 100644
--- a/src/mapgen/mg_biome.h
+++ b/src/mapgen/mg_biome.h
@@ -52,6 +52,7 @@ public:
content_t c_river_water;
content_t c_riverbed;
content_t c_dust;
+ content_t c_cave_liquid;
s16 depth_top;
s16 depth_filler;