forked from thunderdog1138/star_wars
Biomes: Add tundra lowland with permafrost, stones, moss and snow
Move previous tundra to highland and remove the snowblocks that are unsuitable for a fairly dry biome, use snow slabs instead.
This commit is contained in:
parent
b52ea3de15
commit
ace7ec953e
|
@ -114,6 +114,10 @@ paramat (CC BY-SA 3.0):
|
|||
default_bookshelf_slot.png -- Derived from a texture by Gambit (CC-BY-SA 3.0)
|
||||
default_marram_grass_*.png -- Derived from textures by TumeniNodes (CC-BY-SA 3.0)
|
||||
default_emergent_jungle_sapling.png
|
||||
default_permafrost.png -- Derived from a texture by Neuromancer (CC BY-SA 3.0)
|
||||
default_stones.png -- Derived from a texture by sofar (CC0 1.0)
|
||||
default_moss.png
|
||||
default_moss_side.png
|
||||
|
||||
TumeniNodes (CC BY-SA 3.0):
|
||||
default_desert_cobble.png -- Derived from a texture by brunob.santos (CC BY-SA 3.0)
|
||||
|
|
|
@ -948,11 +948,25 @@ function default.register_biomes(upper_limit)
|
|||
-- Tundra
|
||||
|
||||
minetest.register_biome({
|
||||
name = "tundra",
|
||||
node_dust = "default:snowblock",
|
||||
name = "tundra_highland",
|
||||
node_dust = "default:snow",
|
||||
node_riverbed = "default:gravel",
|
||||
depth_riverbed = 2,
|
||||
y_max = upper_limit,
|
||||
y_min = 49,
|
||||
heat_point = 0,
|
||||
humidity_point = 40,
|
||||
})
|
||||
|
||||
minetest.register_biome({
|
||||
name = "tundra",
|
||||
node_top = "default:permafrost_with_stones",
|
||||
depth_top = 1,
|
||||
node_filler = "default:permafrost",
|
||||
depth_filler = 1,
|
||||
node_riverbed = "default:gravel",
|
||||
depth_riverbed = 2,
|
||||
y_max = 48,
|
||||
y_min = 2,
|
||||
heat_point = 0,
|
||||
humidity_point = 40,
|
||||
|
@ -2028,6 +2042,52 @@ function default.register_decorations()
|
|||
},
|
||||
})
|
||||
|
||||
-- Tundra moss
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:permafrost_with_stones"},
|
||||
sidelen = 4,
|
||||
noise_params = {
|
||||
offset = -0.8,
|
||||
scale = 2.0,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 53995,
|
||||
octaves = 3,
|
||||
persist = 1.0
|
||||
},
|
||||
biomes = {"tundra"},
|
||||
y_max = 48,
|
||||
y_min = 2,
|
||||
decoration = "default:permafrost_with_moss",
|
||||
place_offset_y = -1,
|
||||
flags = "force_placement",
|
||||
})
|
||||
|
||||
-- Tundra patchy snow
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {
|
||||
"default:permafrost_with_moss",
|
||||
"default:permafrost_with_stones",
|
||||
"default:stone"
|
||||
},
|
||||
sidelen = 4,
|
||||
noise_params = {
|
||||
offset = 0,
|
||||
scale = 1.0,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 172555,
|
||||
octaves = 3,
|
||||
persist = 1.0
|
||||
},
|
||||
biomes = {"tundra"},
|
||||
y_max = 48,
|
||||
y_min = 2,
|
||||
decoration = "default:snow",
|
||||
})
|
||||
|
||||
-- Coral reef
|
||||
|
||||
minetest.register_decoration({
|
||||
|
|
|
@ -53,6 +53,10 @@ default:dirt_with_snow
|
|||
default:dirt_with_rainforest_litter
|
||||
default:dirt_with_coniferous_litter
|
||||
|
||||
default:permafrost
|
||||
default:permafrost_with_stones
|
||||
default:permafrost_with_moss
|
||||
|
||||
default:sand
|
||||
default:desert_sand
|
||||
default:silver_sand
|
||||
|
@ -63,7 +67,6 @@ default:clay
|
|||
|
||||
default:snow
|
||||
default:snowblock
|
||||
|
||||
default:ice
|
||||
default:cave_ice
|
||||
|
||||
|
@ -490,6 +493,34 @@ minetest.register_node("default:dirt_with_coniferous_litter", {
|
|||
}),
|
||||
})
|
||||
|
||||
minetest.register_node("default:permafrost", {
|
||||
description = "Permafrost",
|
||||
tiles = {"default_permafrost.png"},
|
||||
groups = {cracky = 3},
|
||||
sounds = default.node_sound_dirt_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("default:permafrost_with_stones", {
|
||||
description = "Permafrost with Stones",
|
||||
tiles = {"default_permafrost.png^default_stones.png",
|
||||
"default_permafrost.png"},
|
||||
groups = {cracky = 3},
|
||||
drop = "default:permafrost",
|
||||
sounds = default.node_sound_gravel_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("default:permafrost_with_moss", {
|
||||
description = "Permafrost with Moss",
|
||||
tiles = {"default_moss.png", "default_permafrost.png",
|
||||
{name = "default_permafrost.png^default_moss_side.png",
|
||||
tileable_vertical = false}},
|
||||
groups = {cracky = 3},
|
||||
drop = "default:permafrost",
|
||||
sounds = default.node_sound_dirt_defaults({
|
||||
footstep = {name = "default_grass_footstep", gain = 0.25},
|
||||
}),
|
||||
})
|
||||
|
||||
minetest.register_node("default:sand", {
|
||||
description = "Sand",
|
||||
tiles = {"default_sand.png"},
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 485 B |
Binary file not shown.
After Width: | Height: | Size: 328 B |
Binary file not shown.
After Width: | Height: | Size: 283 B |
Binary file not shown.
After Width: | Height: | Size: 411 B |
Loading…
Reference in New Issue