Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- minetest.register_biome({
- name = "Ocean",
- terrain_type = "normal",
- top_node = "default:sand",
- top_depth = 2,
- filler_node = "default:stone",
- filler_height = 0,
- height_min = -31000,
- height_max = -2,
- heat_point = 40.0,
- humidity_point = 40.0
- })
- minetest.register_biome({
- name = "Gravel Ocean",
- terrain_type = "normal",
- top_node = "default:gravel",
- top_depth = 2,
- filler_node = "default:stone",
- filler_height = 0,
- height_min = -31000,
- height_max = -2,
- heat_point = 0.0,
- humidity_point = 60.0
- })
- minetest.register_biome({
- name = "Beach",
- terrain_type = "normal",
- top_node = "default:sand",
- top_depth = 2,
- filler_node = "default:sandstone",
- filler_height = -10,
- height_min = -1,
- height_max = 2,
- heat_point = 50.0,
- humidity_point = 10.0
- })
- minetest.register_biome({
- name = "Gravel Beach",
- terrain_type = "normal",
- top_node = "default:gravel",
- top_depth = 2,
- filler_node = "default:stone",
- filler_height = 0,
- height_min = -1,
- height_max = 2,
- heat_point = -10.0,
- humidity_point = 60.0
- })
- minetest.register_biome({
- name = "Oceanside",
- terrain_type = "normal",
- top_node = "default:dirt",
- top_depth = 2,
- filler_node = "default:stone",
- filler_height = 0,
- height_min = -1,
- height_max = 2,
- heat_point = 30.0,
- humidity_point = 30.0
- })
- minetest.register_biome({
- name = "Snow Plains",
- terrain_type = "normal",
- top_node = "default:dirt_with_snow",
- top_depth = 2,
- filler_node = "default:stone",
- filler_height = -15,
- height_min = 3,
- height_max = 20,
- heat_point = -10.0,
- humidity_point = 50.0
- })
- minetest.register_biome({
- name = "Plains",
- terrain_type = "normal",
- top_node = "default:dirt",
- top_depth = 2,
- filler_node = "default:stone",
- filler_height = -15,
- height_min = 3,
- height_max = 20,
- heat_point = 40.0,
- humidity_point = 50.0
- })
- minetest.register_biome({
- name = "Hills",
- terrain_type = "normal",
- top_node = "default:dirt",
- top_depth = 2,
- filler_node = "default:stone",
- filler_height = -15,
- height_min = 21,
- height_max = 40,
- heat_point = 40.0,
- humidity_point = 50.0
- })
- minetest.register_biome({
- name = "Snow Hills",
- terrain_type = "normal",
- top_node = "default:dirt_with_snow",
- top_depth = 2,
- filler_node = "default:stone",
- filler_height = -15,
- height_min = 21,
- height_max = 300,
- heat_point = -10.0,
- humidity_point = 50.0
- })
- minetest.register_biome({
- name = "Extreme Hills",
- terrain_type = "normal",
- top_node = "default:dirt",
- top_depth = 2,
- filler_node = "default:stone",
- filler_height = -15,
- height_min = 41,
- height_max = 300,
- heat_point = 40.0,
- humidity_point = 40.0
- })
- minetest.register_biome({
- name = "Desert",
- terrain_type = "normal",
- top_node = "default:desert_sand",
- top_depth = 2,
- filler_node = "default:desert_stone",
- filler_height = -15,
- height_min = 3,
- height_max = 15,
- heat_point = 90.0,
- humidity_point = 0.0
- })
- --trees
- minetest.register_decoration({
- deco_type = "schematic",
- place_on = "default:dirt_with_grass",
- sidelen = 8,
- schematic = "treewprob.mts",
- flags = "place_center_x, place_center_z",
- noise_params = {
- offset = 0,
- scale = 0.033,
- spread = {x=125, y=125, z=125},
- seed = 2,
- octaves = 4,
- persist = 0.66
- }
- })
- --papyrus
- minetest.register_decoration({
- deco_type = "simple",
- place_on = "default:dirt_with_grass",
- sidelen = 8,
- decoration = "default:papyrus",
- height = 2,
- height_max = 4,
- noise_params = {
- offset = -20 / 64,
- scale = 45 / 64,
- spread = {x=100, y=100, z=100},
- seed = 354,
- octaves = 3,
- persist = 0.7
- },
- spawn_by = "default:water_source",
- num_spawn_by = 1
- })
- --cactuses
- minetest.register_decoration({
- deco_type = "simple",
- place_on = "default:desert_sand",
- sidelen = 4,
- decoration = "default:cactus",
- height = 3,
- height_max = 4,
- noise_params = {
- offset = -1 / 20,
- scale = 1 / 15,
- spread = {x=100, y=100, z=100},
- seed = 230,
- octaves = 3,
- persist = 0.6
- }
- })
- --grass
- minetest.register_decoration({
- deco_type = "simple",
- place_on = "default:dirt_with_grass",
- sidelen = 4,
- decoration = {
- "default:grass_1",
- "default:grass_2",
- "default:grass_3",
- "default:grass_4",
- "default:grass_5"
- },
- height = 1,
- noise_params = {
- offset = 0,
- scale = 3 / 16, -- originally ^3 as well...
- spread = {x=100, y=100, z=100},
- seed = 329,
- octaves = 3,
- persist = 0.6
- }
- })
- --desert shrubs
- minetest.register_decoration({
- deco_type = "simple",
- place_on = "default:desert_sand",
- sidelen = 4,
- decoration = "default:dry_shrub",
- height = 1,
- noise_params = {
- offset = 0,
- scale = 1 / 16, -- originally ^3 as well...
- spread = {x=100, y=100, z=100},
- seed = 329,
- octaves = 3,
- persist = 0.6
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement