From 802bf612b87bf9015c6d2206744a32329070c547 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Tue, 6 Apr 2021 04:21:06 -0400 Subject: [PATCH] update biome_lib and cavestuff --- mods/biome_lib/search_functions.lua | 1 + mods/cavestuff/mapgen.lua | 12 ++++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/mods/biome_lib/search_functions.lua b/mods/biome_lib/search_functions.lua index 2527dcf0..3f9d4149 100644 --- a/mods/biome_lib/search_functions.lua +++ b/mods/biome_lib/search_functions.lua @@ -66,6 +66,7 @@ minetest.register_on_generated(function(minp, maxp, blockseed) local bmin = {x=minx, y=miny, z=minz} local bmax = {x=minx + 15, y=miny + 15, z=minz + 15} biome_lib.block_log[#biome_lib.block_log + 1] = { bmin, bmax, true } + biome_lib.block_log[#biome_lib.block_log + 1] = { bmin, bmax, false } end end end diff --git a/mods/cavestuff/mapgen.lua b/mods/cavestuff/mapgen.lua index b25109d8..5c8aae39 100644 --- a/mods/cavestuff/mapgen.lua +++ b/mods/cavestuff/mapgen.lua @@ -2,7 +2,12 @@ biome_lib:register_generate_plant( { - surface = { "default:dirt_with_grass", "default:gravel", "default:stone", "default:permafrost_with_stones" }, + surface = { + "default:dirt_with_grass", + "default:gravel", + "default:stone", + "default:permafrost_with_stones" + }, max_count = 50, rarity = 0, plantlife_limit = -1, @@ -17,7 +22,10 @@ biome_lib:register_generate_plant( biome_lib:register_generate_plant( { - surface = { "default:desert_sand", "default:desert_stone" }, + surface = { + "default:desert_sand", + "default:desert_stone" + }, max_count = 50, rarity = 0, plantlife_limit = -1,