1
0
mirror of https://github.com/Splizard/minetest-mod-snow.git synced 2025-06-30 07:10:21 +02:00

Modif biomes

This commit is contained in:
sys4-fr
2018-11-14 22:26:29 +01:00
parent 6120890c5d
commit 794fb251ba
6 changed files with 42 additions and 43 deletions

View File

@ -22,12 +22,26 @@ minetest.register_biome({
depth_filler = 2,
node_riverbed = "default:sand",
depth_riverbed = 2,
y_min = 40,
y_min = 2,
y_max = 31000,
heat_point = 20.0,
humidity_point = 70.0,
})
minetest.register_biome({
name = "pine_forest",
node_top = "default:dirt_with_grass",
depth_top = 1,
node_filler = "default:dirt",
depth_filler = 3,
node_riverbed = "default:sand",
depth_riverbed = 2,
y_min = 60,
y_max = 31000,
heat_point = 40,
humidity_point = 68,
})
minetest.register_biome({
name = "snow_biome_lush",
node_dust = "default:snow",
@ -37,25 +51,25 @@ minetest.register_biome({
depth_filler = 2,
node_riverbed = "default:sand",
depth_riverbed = 2,
y_min = 60,
y_min = 2,
y_max = 31000,
heat_point = 10.0,
humidity_point = 70.0,
})
--[[minetest.register_biome({
minetest.register_biome({
name = "snow_biome_alpine",
node_top = "default:stone",
node_top = "default:dirt_with_snow",
depth_top = 1,
node_filler = "default:stone",
y_min = snow.min_height+60,
y_min = 60,
y_max = 31000,
heat_point = 10.0,
humidity_point = 40.0,
})
]]--
minetest.register_biome({
name = "snow_biome_sand",
@ -85,28 +99,28 @@ minetest.register_decoration({
persist = 0.7,
},
y_max = 31000,
y_min = 60,
biomes = {"snowy_grassland", "coniferous_forest", "taiga"},
y_min = 4,
biomes = {"snowy_grassland", "coniferous_forest", "taiga", "snow_biome_alpine"},
schematic = minetest.get_modpath("snow").."/schematics/pine.mts",
flags = "place_center_x, place_center_z",
})
minetest.register_decoration({
deco_type = "schematic",
place_on = "default:dirt_with_snow",
place_on = {"default:dirt_with_snow", "default:dirt_with_grass"},
sidelen = 16,
noise_params = {
--offset = 0.036,
offset = 0.020,
scale = 0.022,
scale = 0.002,
spread = {x = 250, y = 250, z = 250},
seed = 2861,
octaves = 3,
persist = 0.66
},
y_max = 31000,
y_min = 40,
biomes = {"snow_biome_forest"},
y_min = 4,
biomes = {"snow_biome_forest", "pine_forest"},
schematic = minetest.get_modpath("snow").."/schematics/pine.mts",
flags = "place_center_x, place_center_z",
})
@ -117,7 +131,7 @@ minetest.register_decoration({
sidelen = 16,
fill_ratio = 0.05,
y_max = 31000,
y_min = 60,
y_min = 4,
biomes = {"snow_biome_lush"},
schematic = minetest.get_modpath("snow").."/schematics/pine.mts",
flags = "place_center_x, place_center_z",
@ -209,7 +223,7 @@ minetest.register_decoration({
decoration = "default:snow",
})
--[[minetest.register_decoration({
minetest.register_decoration({
deco_type = "simple",
place_on = "default:stone",
sidelen = 16,
@ -219,4 +233,3 @@ minetest.register_decoration({
biomes = {"snow_biome_alpine"},
decoration = "default:snow",
})
]]