mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
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.
This commit is contained in:
parent
077f231111
commit
32d456bd2d
8 changed files with 40 additions and 12 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue