Skip to content

Commit

Permalink
Mgv6: Add fallback node for gravel
Browse files Browse the repository at this point in the history
Gravel now falls back to stone.
Gravel is not a particularly fundamental node, allowing it to fall back
to stone frees up subgames from having to include a gravel node.
Non-blob-ore gravel is only present in mgv6 as extremely rare 'gravel
biomes'.
  • Loading branch information
paramat committed Feb 4, 2017
1 parent 8e4c114 commit 047168c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mapgen_v6.cpp
Expand Up @@ -99,6 +99,8 @@ MapgenV6::MapgenV6(int mapgenid, MapgenV6Params *params, EmergeManager *emerge)
c_snowblock = ndef->getId("mapgen_snowblock");
c_ice = ndef->getId("mapgen_ice");

if (c_gravel == CONTENT_IGNORE)
c_gravel = c_stone;
if (c_desert_stone == CONTENT_IGNORE)
c_desert_stone = c_stone;
if (c_desert_sand == CONTENT_IGNORE)
Expand Down

0 comments on commit 047168c

Please sign in to comment.