1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-23 07:10:19 +01:00

Biomes: New surface node for rainforest

Moist rainforest plant litter.
Textures by npx.
This commit is contained in:
paramat 2017-02-26 01:37:35 +00:00
parent 9d3a526324
commit d1b132555b
5 changed files with 24 additions and 4 deletions

View File

@ -198,6 +198,10 @@ Ferk (CC0 1.0)
default_item_smoke.png default_item_smoke.png
default_item_smoke.ogg, based on sound by http://opengameart.org/users/bart 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): Glass breaking sounds (CC BY 3.0):
1: http://www.freesound.org/people/cmusounddesign/sounds/71947/ 1: http://www.freesound.org/people/cmusounddesign/sounds/71947/
2: http://www.freesound.org/people/Tomlija/sounds/97669/ 2: http://www.freesound.org/people/Tomlija/sounds/97669/

View File

@ -1058,7 +1058,7 @@ function default.register_biomes()
minetest.register_biome({ minetest.register_biome({
name = "rainforest", name = "rainforest",
--node_dust = "", --node_dust = "",
node_top = "default:dirt_with_grass", node_top = "default:dirt_with_rainforest_litter",
depth_top = 1, depth_top = 1,
node_filler = "default:dirt", node_filler = "default:dirt",
depth_filler = 3, depth_filler = 3,
@ -1322,7 +1322,7 @@ function default.register_decorations()
minetest.register_decoration({ minetest.register_decoration({
deco_type = "schematic", deco_type = "schematic",
place_on = {"default:dirt_with_grass", "default:dirt"}, place_on = {"default:dirt_with_rainforest_litter", "default:dirt"},
sidelen = 80, sidelen = 80,
fill_ratio = 0.1, fill_ratio = 0.1,
biomes = {"rainforest", "rainforest_swamp"}, biomes = {"rainforest", "rainforest_swamp"},
@ -1335,7 +1335,7 @@ function default.register_decorations()
minetest.register_decoration({ minetest.register_decoration({
deco_type = "schematic", deco_type = "schematic",
place_on = {"default:dirt_with_grass", "default:dirt"}, place_on = {"default:dirt_with_rainforest_litter", "default:dirt"},
sidelen = 80, sidelen = 80,
fill_ratio = 0.005, fill_ratio = 0.005,
biomes = {"rainforest", "rainforest_swamp"}, biomes = {"rainforest", "rainforest_swamp"},
@ -1596,7 +1596,7 @@ function default.register_decorations()
minetest.register_decoration({ minetest.register_decoration({
deco_type = "simple", deco_type = "simple",
place_on = {"default:dirt_with_grass"}, place_on = {"default:dirt_with_rainforest_litter"},
sidelen = 80, sidelen = 80,
fill_ratio = 0.1, fill_ratio = 0.1,
biomes = {"rainforest"}, biomes = {"rainforest"},

View File

@ -44,6 +44,7 @@ default:dirt_with_grass
default:dirt_with_grass_footsteps default:dirt_with_grass_footsteps
default:dirt_with_dry_grass default:dirt_with_dry_grass
default:dirt_with_snow default:dirt_with_snow
default:dirt_with_rainforest_litter
default:sand default:sand
default:desert_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", { minetest.register_node("default:sand", {
description = "Sand", description = "Sand",
tiles = {"default_sand.png"}, tiles = {"default_sand.png"},

Binary file not shown.

After

Width:  |  Height:  |  Size: 940 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 B