mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Biome API / dungeons: Add biome-defined dungeon nodes
Add new biome fields 'node_dungeon', 'node_dungeon_alt', 'node_dungeon_stair'. If 'node_dungeon' is not defined dungeons fall back to classic behaviour. Remove messy and imprecise dungeon material code from 'generateBiomes()'. Code deciding dungeon materials is now in 'generateDungeons()' and uses the biome at mapchunk centre for more precision. Remove hardcoded 'MG_STONE' types as long intended.
This commit is contained in:
parent
460b375cad
commit
746ca41f58
12 changed files with 97 additions and 97 deletions
|
@ -53,6 +53,9 @@ public:
|
|||
content_t c_riverbed;
|
||||
content_t c_dust;
|
||||
content_t c_cave_liquid;
|
||||
content_t c_dungeon;
|
||||
content_t c_dungeon_alt;
|
||||
content_t c_dungeon_stair;
|
||||
|
||||
s16 depth_top;
|
||||
s16 depth_filler;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue