diff --git a/cavestuff/mapgen.lua b/cavestuff/mapgen.lua index 92989bc..64de328 100644 --- a/cavestuff/mapgen.lua +++ b/cavestuff/mapgen.lua @@ -1,39 +1,65 @@ --Map Generation Stuff -biome_lib.register_on_generate( - { - surface = { - "default:dirt_with_grass", - "default:gravel", - "default:stone", - "default:permafrost_with_stones" - }, - max_count = 50, - rarity = 0, - plantlife_limit = -1, - check_air = true, - random_facedir = {0, 3} - }, - { +minetest.register_decoration({ + decoration = { "cavestuff:pebble_1", "cavestuff:pebble_2" - } -) - -biome_lib.register_on_generate( - { - surface = { - "default:desert_sand", - "default:desert_stone" - }, - max_count = 50, - rarity = 0, - plantlife_limit = -1, - check_air = true, - random_facedir = {0, 3} }, - { + place_on = { + "default:dirt_with_grass", + "default:gravel", + "default:stone", + "default:permafrost_with_stones" + }, + noise_params = { + offset = 0, + scale = 0.0078125, + spread = { + y = 100, + z = 100, + x = 100 + }, + seed = 0, + octaves = 3, + persist = 0.6, + flags = "absvalue", + lacunarity = 2 + }, + param2 = 0, + flags = "all_floors", + deco_type = "simple", + param2_max = 3, + y_min = -16, + y_max = 48 +}) + +minetest.register_decoration({ + decoration = { "cavestuff:desert_pebble_1", "cavestuff:desert_pebble_2" - } -) + }, + place_on = { + "default:desert_sand", + "default:desert_stone" + }, + noise_params = { + offset = 0, + scale = 0.0078125, + spread = { + y = 100, + z = 100, + x = 100 + }, + seed = 0, + octaves = 3, + persist = 0.6, + flags = "absvalue", + lacunarity = 2 + }, + param2 = 0, + flags = "all_floors", + deco_type = "simple", + param2_max = 3, + y_min = -16, + y_max = 48 +}) \ No newline at end of file diff --git a/cavestuff/mod.conf b/cavestuff/mod.conf index 55cdcab..b021c9e 100644 --- a/cavestuff/mod.conf +++ b/cavestuff/mod.conf @@ -1,2 +1,2 @@ name = cavestuff -depends = default,biome_lib +depends = default