Biomes: Add 'dirt with coniferous litter' node for coniferous forest

This commit is contained in:
paramat 2017-12-22 00:59:42 +00:00 committed by paramat
parent 5b57815af1
commit 8ab7c54d76
6 changed files with 24 additions and 7 deletions

@ -117,6 +117,8 @@ paramat (CC BY-SA 3.0):
TumeniNodes (CC BY-SA 3.0):
default_desert_cobble.png -- Derived from a texture by brunob.santos (CC BY-SA 3.0)
default_coniferous_litter.png
default_coniferous_litter_side.png
BlockMen (CC BY-SA 3.0):
default_aspen_leaves.png -- Derived from Sofar's texture

@ -1064,7 +1064,7 @@ function default.register_biomes(upper_limit)
minetest.register_biome({
name = "coniferous_forest",
--node_dust = "",
node_top = "default:dirt_with_grass",
node_top = "default:dirt_with_coniferous_litter",
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 3,
@ -1613,8 +1613,7 @@ local function register_grass_decoration(offset, scale, length)
persist = 0.6
},
biomes = {"grassland", "grassland_dunes", "deciduous_forest",
"coniferous_forest", "coniferous_forest_dunes",
"floatland_grassland"},
"coniferous_forest_dunes", "floatland_grassland"},
y_min = 1,
y_max = 31000,
decoration = "default:grass_" .. length,
@ -1718,7 +1717,7 @@ function default.register_decorations()
minetest.register_decoration({
deco_type = "schematic",
place_on = {"default:dirt_with_snow", "default:dirt_with_grass"},
place_on = {"default:dirt_with_snow", "default:dirt_with_coniferous_litter"},
sidelen = 16,
noise_params = {
offset = 0.036,
@ -1737,7 +1736,7 @@ function default.register_decorations()
minetest.register_decoration({
deco_type = "schematic",
place_on = {"default:dirt_with_snow", "default:dirt_with_grass"},
place_on = {"default:dirt_with_snow", "default:dirt_with_coniferous_litter"},
sidelen = 80,
noise_params = {
offset = 0.0018,

@ -51,6 +51,7 @@ default:dirt_with_grass_footsteps
default:dirt_with_dry_grass
default:dirt_with_snow
default:dirt_with_rainforest_litter
default:dirt_with_coniferous_litter
default:sand
default:desert_sand
@ -464,6 +465,21 @@ minetest.register_node("default:dirt_with_rainforest_litter", {
}),
})
minetest.register_node("default:dirt_with_coniferous_litter", {
description = "Dirt with Coniferous Litter",
tiles = {
"default_coniferous_litter.png",
"default_dirt.png",
{name = "default_dirt.png^default_coniferous_litter_side.png",
tileable_vertical = false}
},
groups = {crumbly = 3, soil = 1, spreading_dirt_type = 1},
drop = "default:dirt",
sounds = default.node_sound_dirt_defaults({
footstep = {name = "default_grass_footstep", gain = 0.4},
}),
})
minetest.register_node("default:sand", {
description = "Sand",
tiles = {"default_sand.png"},

Binary file not shown.

After

Width:  |  Height:  |  Size: 865 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 604 B

@ -84,7 +84,7 @@ end
local function register_flower(seed, name)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
place_on = {"default:dirt_with_grass", "default:dirt_with_coniferous_litter"},
sidelen = 16,
noise_params = {
offset = -0.02,
@ -105,7 +105,7 @@ end
local function register_mushroom(name)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
place_on = {"default:dirt_with_grass", "default:dirt_with_coniferous_litter"},
sidelen = 16,
noise_params = {
offset = 0,