added wasteland biome

This commit is contained in:
kaadmy 2015-10-03 15:17:00 -07:00
parent b0546b260b
commit 820d520061
4 changed files with 60 additions and 2 deletions

View File

@ -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
--

View File

@ -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",
{

Binary file not shown.

Binary file not shown.