diff --git a/mods/default/mapgen.lua b/mods/default/mapgen.lua index a319ea1..d5f320c 100644 --- a/mods/default/mapgen.lua +++ b/mods/default/mapgen.lua @@ -123,7 +123,7 @@ minetest.register_biome( name = "Chaparral", node_top = "default:dirt_with_dry_grass", - node_filler = "default:dirt", + node_filler = "default:dry_dirt", depth_filler = 0, depth_top = 1, @@ -140,7 +140,7 @@ minetest.register_biome( name = "Savanna", node_top = "default:dirt_with_dry_grass", - node_filler = "default:dirt", + node_filler = "default:dry_dirt", depth_filler = 2, depth_top = 1, @@ -169,6 +169,23 @@ minetest.register_biome( humidity_point = 20, }) +minetest.register_biome( + { + name = "Wasteland", + + node_top = "default:dry_dirt", + node_filler = "default:sandstone", + + depth_filler = 3, + depth_top = 1, + + y_min = -32000, + y_max = 32000, + + heat_point = 80, + humidity_point = 20, + }) + -- Oceans minetest.register_biome( @@ -464,6 +481,36 @@ minetest.register_decoration( rotation = "0", }) +-- Rocks + +minetest.register_decoration( + { + deco_type = "schematic", + place_on = {"default:sandstone"}, + sidelen = 16, + fill_ratio = 0.006, + biomes = {"Wasteland"}, + flags = "place_center_x, place_center_z", + schematic = minetest.get_modpath("default").."/schematics/default_small_rock.mts", + y_min = -32000, + y_max = 32000, + rotation = "random", + }) + +minetest.register_decoration( + { + deco_type = "schematic", + place_on = {"default:sandstone"}, + sidelen = 16, + fill_ratio = 0.004, + biomes = {"Wasteland"}, + flags = "place_center_x, place_center_z", + schematic = minetest.get_modpath("default").."/schematics/default_large_rock.mts", + y_min = -32000, + y_max = 32000, + rotation = "random", + }) + -- -- Ore generation -- diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index 0991b46..4684cac 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -87,6 +87,17 @@ minetest.register_node( sounds = default.node_sound_dirt_defaults(), }) +minetest.register_node( + "default:dry_dirt", + { + description = "Dry Dirt", + tiles ={"default_dirt.png"}, + stack_max = 240, + groups = {crumbly=3, soil=1, fall_damage_add_percent=-10}, + is_ground_content = true, + sounds = default.node_sound_dirt_defaults(), + }) + minetest.register_node( "default:swamp_dirt", { diff --git a/mods/default/schematics/default_large_rock.mts b/mods/default/schematics/default_large_rock.mts new file mode 100644 index 0000000..d76f957 Binary files /dev/null and b/mods/default/schematics/default_large_rock.mts differ diff --git a/mods/default/schematics/default_small_rock.mts b/mods/default/schematics/default_small_rock.mts new file mode 100644 index 0000000..771d53d Binary files /dev/null and b/mods/default/schematics/default_small_rock.mts differ