diff --git a/extras/SolarPlains.mt b/extras/SolarPlains.mt new file mode 100644 index 0000000..c0de5e0 --- /dev/null +++ b/extras/SolarPlains.mt @@ -0,0 +1,21 @@ +{ "name" : "Solar Plains", "biomeList": [ + { "name": "Plains", "color": { "r":99, "g":199, "b":77 }, "y_min": 1, "y_max": 120, "heat_point": 45.00, "humidity_point": 50.00 }, + { "name": "Highlands", "color": { "r":25, "g":60, "b":62 }, "y_min": 30, "y_max": 220, "heat_point": 45.00, "humidity_point": 76.00 }, + { "name": "Forest", "color": { "r":62, "g":137, "b":72 }, "y_min": 10, "y_max": 80, "heat_point": 45.00, "humidity_point": 10.00 }, + { "name": "Gravel Beach", "color": { "r":200, "g":200, "b":200 }, "y_min": 0, "y_max": 4, "heat_point": 45.00, "humidity_point": 76.00 }, + { "name": "Beach", "color": { "r":248, "g":225, "b":169 }, "y_min": 0, "y_max": 4, "heat_point": 45.00, "humidity_point": 35.00 }, + + { "name": "Hot Beach", "color": { "r":248, "g":225, "b":169 }, "y_min": 0, "y_max": 4, "heat_point": 75.00, "humidity_point": 50.00 }, + { "name": "Wildlands", "color": { "r":113, "g":148, "b":46 }, "y_min": 4, "y_max": 60, "heat_point": 75.00, "humidity_point": 50.00 }, + { "name": "Desert", "color": { "r":232, "g":204, "b":136 }, "y_min": 15, "y_max": 1000, "heat_point": 85.00, "humidity_point": 75.00 }, + { "name": "Jungle", "color": { "r":86, "g":119, "b":64 }, "y_min": 4, "y_max": 60, "heat_point": 85.00, "humidity_point": 30.00 }, + + { "name": "Mountain", "color": { "r":155, "g":155, "b":155 }, "y_min": 150, "y_max": 1000, "heat_point": 50.00, "humidity_point": 50.00 }, + { "name": "Ocean", "color": { "r":18, "g":78, "b":137 }, "y_min": -112, "y_max": 0, "heat_point": 50.00, "humidity_point": 50.00 }, + + { "name": "Beach Cold", "color": { "r":255, "g":255, "b":255 }, "y_min": 0, "y_max": 4, "heat_point": 20.00, "humidity_point": 35.00 }, + { "name": "Snowy Plains", "color": { "r":233, "g":243, "b":255 }, "y_min": 4, "y_max": 150, "heat_point": 20.00, "humidity_point": 50.00 }, + { "name": "Snowy Forest", "color": { "r":203, "g":225, "b":251 }, "y_min": 50, "y_max": 150, "heat_point": 12.00, "humidity_point": 25.00 }, + { "name": "Glacier", "color": { "r":116, "g":177, "b":255 }, "y_min": 100, "y_max": 350, "heat_point": 10.00, "humidity_point": 80.00 }, + ] +} \ No newline at end of file diff --git a/game.conf b/game.conf index bafc7ba..56af760 100644 --- a/game.conf +++ b/game.conf @@ -1 +1,2 @@ name = Solar Fields +disallowed_mapgens = v5,v6,flat,carpathian,v7,fractal,singlenode \ No newline at end of file diff --git a/minetest.conf b/minetest.conf index 4898485..234c9a1 100644 --- a/minetest.conf +++ b/minetest.conf @@ -2,4 +2,54 @@ time_speed = 60 #mapgen_settings_here +mg_biome_np_heat = { + offset = 50, + scale = 200, + spread = (1000, 1000, 1000), + seed = 5349, + octaves = 3, + persistence = 0.5, + lacunarity = 2.0, + flags = "eased" +# } + +# Small-scale temperature variation for blending biomes on borders. +# type: noise_params_2d +mg_biome_np_heat_blend = { + offset = 0, + scale = 2, + spread = (8, 8, 8), + seed = 13, + octaves = 2, + persistence = 1.0, + lacunarity = 2.0, + flags = "eased" +} + +# Humidity variation for biomes. +# type: noise_params_2d +mg_biome_np_humidity = { + offset = 50, + scale = 200, + spread = (1000, 1000, 1000), + seed = 842, + octaves = 3, + persistence = 0.5, + lacunarity = 2.0, + flags = "eased" +} + +# Small-scale humidity variation for blending biomes on borders. +# type: noise_params_2d +mg_biome_np_humidity_blend = { + offset = 0, + scale = 2, + spread = (8, 8, 8), + seed = 90003, + octaves = 2, + persistence = 1.0, + lacunarity = 2.0, + flags = "eased" +} + #time_speed = 60 \ No newline at end of file diff --git a/mods/core/mapgen.lua b/mods/core/mapgen.lua index cf9a3f0..f7976ad 100644 --- a/mods/core/mapgen.lua +++ b/mods/core/mapgen.lua @@ -692,7 +692,7 @@ minetest.register_biome({ node_water = "core:water_source", node_river_water = "core:water_source", - heat_point = 50, + heat_point = 45, humidity_point = 50, }) @@ -707,14 +707,14 @@ minetest.register_biome({ node_filler = "core:dirt", depth_filler = 3, - y_min = 1, - y_max = 120, + y_min = 30, + y_max = 220, node_water = "core:water_source", node_river_water = "core:water_source", - heat_point = 50, - humidity_point = 25, + heat_point = 45, + humidity_point = 76, }) @@ -728,39 +728,17 @@ minetest.register_biome({ node_filler = "core:dirt", depth_filler = 3, - y_min = 4, + y_min = 10, y_max = 80, node_water = "core:water_source", node_river_water = "core:water_source", - heat_point = 50, - humidity_point = 75, + heat_point = 45, + humidity_point = 10, }) -minetest.register_biome({ - - name = "wildlands", - - node_top = "core:grass_wildland", - depth_top = 1, - - node_filler = "core:dirt", - depth_filler = 3, - - y_min = 4, - y_max = 120, - - node_water = "core:water_source", - node_river_water = "core:water_source", - - heat_point = 85, - humidity_point = 50, - -}) - - minetest.register_biome({ name = "beach", @@ -777,8 +755,8 @@ minetest.register_biome({ node_water = "core:water_source", node_river_water = "core:water_source", - heat_point = 50, - humidity_point = 50, + heat_point = 45, + humidity_point = 35, }) @@ -798,8 +776,8 @@ minetest.register_biome({ node_water = "core:water_source", node_river_water = "core:water_source", - heat_point = 50, - humidity_point = 25, + heat_point = 45, + humidity_point = 76, }) @@ -824,8 +802,8 @@ minetest.register_biome({ node_water_top = "core:ice", depth_water_top = 1, - heat_point = 15, - humidity_point = 50, + heat_point = 20, + humidity_point = 35, }) @@ -850,7 +828,7 @@ minetest.register_biome({ y_min = 4, y_max = 150, - heat_point = 15, + heat_point = 20, humidity_point = 50, }) @@ -890,7 +868,7 @@ minetest.register_biome({ node_filler = "core:dirt", depth_filler = 3, - y_min = 4, + y_min = 50, y_max = 150, node_water = "core:water_source", @@ -899,12 +877,38 @@ minetest.register_biome({ node_water_top = "core:ice", depth_water_top = 1, - heat_point = 15, - humidity_point = 75, + heat_point = 12, + humidity_point = 25, }) --- deserts + +minetest.register_biome({ + + name = "glacier", + + node_top = "core:ice", + depth_top = 1, + + node_filler = "core:ice", + depth_filler = 8, + + y_min = 100, + y_max = 350, + + node_water = "core:ice", + node_river_water = "core:ice", + + node_water_top = "core:ice", + depth_water_top = 1, + + heat_point = 10, + humidity_point = 80, + +}) + + +-- man's not hot minetest.register_biome({ @@ -921,11 +925,11 @@ minetest.register_biome({ node_water = "core:water_source", node_river_water = "core:water_source", - y_min = 4, + y_min = 15, y_max = 1000, heat_point = 85, - humidity_point = 25, + humidity_point = 75, }) @@ -947,7 +951,7 @@ minetest.register_biome({ y_min = 0, y_max = 4, - heat_point = 85, + heat_point = 75, humidity_point = 50, }) @@ -956,20 +960,41 @@ minetest.register_biome({ name = "jungle", - node_top = "core:grass", + node_top = "core:grass_wildland", depth_top = 1, node_filler = "core:dirt", depth_filler = 3, y_min = 4, - y_max = 120, + y_max = 60, node_water = "core:water_source", node_river_water = "core:water_source", heat_point = 85, - humidity_point = 75, + humidity_point = 30, + +}) + +minetest.register_biome({ + + name = "wildlands", + + node_top = "core:grass_wildland", + depth_top = 1, + + node_filler = "core:dirt", + depth_filler = 3, + + y_min = 4, + y_max = 60, + + node_water = "core:water_source", + node_river_water = "core:water_source", + + heat_point = 75, + humidity_point = 50, })