From 15c423556208e3d1579a664ed5a88e1c58bfa7bd Mon Sep 17 00:00:00 2001 From: Treer Date: Sun, 5 Jul 2020 19:48:47 +1000 Subject: [PATCH] Reduce lava in biomes-based mapgen The biomes-based mapgen was creating the same amount of lava as the original nether mapgen, but it doesn't have the same issue of chunk emerge order sometimes causing lava in the overdraw regions to get removed. This adjustment will hopefully balance that a little. Also makes glowstone stalactite a bit rarer. Adjusting lava ore scarcity in the biomes-mapgen doesn't cause forwards or backwards compatibilty issues with existing maps, likewise with schematic rarety like glowstone stalactites, so can afford to fiddle and tune. --- mapgen.lua | 4 ++-- mapgen_decorations.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mapgen.lua b/mapgen.lua index 41b8453..982e75e 100644 --- a/mapgen.lua +++ b/mapgen.lua @@ -113,7 +113,7 @@ override_underground_biomes() -- nether:native_mapgen is used to prevent ores and decorations being generated according -- to landforms created by the native mapgen. --- Ores and decorations are registered against "nether:rack" instead, and the lua +-- Ores and decorations can be registered against "nether:rack" instead, and the lua -- on_generate() callback will carve the Nether with nether:rack before invoking -- generate_decorations and generate_ores. minetest.register_node("nether:native_mapgen", {}) @@ -160,7 +160,7 @@ minetest.register_ore({ ore_type = "scatter", ore = "default:lava_source", wherein = "nether:rack", - clust_scarcity = 32 * 32 * 32, + clust_scarcity = 36 * 36 * 36, clust_num_ores = 4, clust_size = 2, y_max = NETHER_CEILING, diff --git a/mapgen_decorations.lua b/mapgen_decorations.lua index b210db8..5b7d7e3 100644 --- a/mapgen_decorations.lua +++ b/mapgen_decorations.lua @@ -113,7 +113,7 @@ minetest.register_decoration({ deco_type = "schematic", place_on = "nether:rack", sidelen = 80, - fill_ratio = 0.0004, + fill_ratio = 0.0003, biomes = {"nether_caverns"}, y_max = nether.DEPTH_CEILING, -- keep compatibility with mapgen_nobiomes.lua y_min = nether.DEPTH_FLOOR, @@ -127,7 +127,7 @@ minetest.register_decoration({ deco_type = "schematic", place_on = "nether:rack", sidelen = 80, - fill_ratio = 0.0007, + fill_ratio = 0.0008, biomes = {"nether_caverns"}, y_max = nether.DEPTH_CEILING, -- keep compatibility with mapgen_nobiomes.lua y_min = nether.DEPTH_FLOOR,