Skip to content
Permalink
Browse files

Biomes: New surface node for rainforest

Moist rainforest plant litter.
Textures by npx.
  • Loading branch information...
paramat committed Feb 26, 2017
1 parent 9d3a526 commit d1b132555b47fa83d6b1cbe0d2c6dd6e48fa54b4
@@ -198,6 +198,10 @@ Ferk (CC0 1.0)
default_item_smoke.png
default_item_smoke.ogg, based on sound by http://opengameart.org/users/bart

npx (CC BY-SA 3.0)
default_rainforest_litter.png
default_rainforest_litter_side.png

Glass breaking sounds (CC BY 3.0):
1: http://www.freesound.org/people/cmusounddesign/sounds/71947/
2: http://www.freesound.org/people/Tomlija/sounds/97669/
@@ -1058,7 +1058,7 @@ function default.register_biomes()
minetest.register_biome({
name = "rainforest",
--node_dust = "",
node_top = "default:dirt_with_grass",
node_top = "default:dirt_with_rainforest_litter",
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 3,
@@ -1322,7 +1322,7 @@ function default.register_decorations()

minetest.register_decoration({
deco_type = "schematic",
place_on = {"default:dirt_with_grass", "default:dirt"},
place_on = {"default:dirt_with_rainforest_litter", "default:dirt"},
sidelen = 80,
fill_ratio = 0.1,
biomes = {"rainforest", "rainforest_swamp"},
@@ -1335,7 +1335,7 @@ function default.register_decorations()

minetest.register_decoration({
deco_type = "schematic",
place_on = {"default:dirt_with_grass", "default:dirt"},
place_on = {"default:dirt_with_rainforest_litter", "default:dirt"},
sidelen = 80,
fill_ratio = 0.005,
biomes = {"rainforest", "rainforest_swamp"},
@@ -1596,7 +1596,7 @@ function default.register_decorations()

minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
place_on = {"default:dirt_with_rainforest_litter"},
sidelen = 80,
fill_ratio = 0.1,
biomes = {"rainforest"},
@@ -44,6 +44,7 @@ default:dirt_with_grass
default:dirt_with_grass_footsteps
default:dirt_with_dry_grass
default:dirt_with_snow
default:dirt_with_rainforest_litter
default:sand
default:desert_sand
@@ -386,6 +387,21 @@ minetest.register_node("default:dirt_with_snow", {
}),
})

minetest.register_node("default:dirt_with_rainforest_litter", {
description = "Dirt with Rainforest Litter",
tiles = {
"default_rainforest_litter.png",
"default_dirt.png",
{name = "default_dirt.png^default_rainforest_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.
Binary file not shown.

0 comments on commit d1b1325

Please sign in to comment.
You can’t perform that action at this time.