Desert dungeons in v5 and v7 maps?

User avatar
y.st.
Member
 
Posts: 38
Joined: Fri Mar 20, 2015 01:24
GitHub: y-st
IRC: Yst
In-game: Yst

Desert dungeons in v5 and v7 maps?

by y.st. » Sun Jul 26, 2015 06:32

I love the desert dungeons in v6 worlds. Not only are they more spacious than their cobblestone counterparts, they're also usually more coherent. However, it seems that even if I add desert biomes, the desert dungeons don't spawn. "mapgen_v5.cpp" mentions both "mapgen_sandstonebrick" and "mapgen_stair_sandstone", but I can't figure out how to activate that part of the code. "mapgen_v7.cpp" doesn't mention these nodes, so maybe it's not possible to spawn desert jungles in v7, though v7 also doesn't mention "mapgen_mossycobble", "mapgen_cobble", or "mapgen_stair_cobble" and still manages to spawn cobblestone dungeons (probably with the help of "dungeongen.cpp", though "mapgen_v5.cpp" and "mapgen_v6.cpp" seem to contain dungeon code themselves).

How do I spawn desert dungeons in v5 maps (and maybe v7 maps)?
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: Desert dungeons in v5 and v7 maps?

by paramat » Mon Jul 27, 2015 03:52

In mgv5 and mgv7 the alternative dungeons are triggered by stone type, so in the biome definition define the biome stone to be sandstone or desert stone:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
node_stone = "default:desert_stone",

However you need latest 0.4.12dev or the soon released 0.4.13 stable.
 

User avatar
y.st.
Member
 
Posts: 38
Joined: Fri Mar 20, 2015 01:24
GitHub: y-st
IRC: Yst
In-game: Yst

Re: Desert dungeons in v5 and v7 maps?

by y.st. » Wed Jul 29, 2015 05:40

That's what I tried, but it didn't work. I'll try using the unstable version (where you changed biomes to reach deeper) and see if I have better luck with deeper desert stone.

EDIT: THat does seem to be what the problem was. When the biome doesn't reach deeply enough, even the surface dungeons that are within the desert stone spawn as cobblestone dungeons. Thanks for the help!
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 18 guests

cron