From 3f5fc5376d8fb4c5f18ef76c93a31c1e2afe8733 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Sat, 24 Jan 2026 14:33:38 +0300 Subject: [PATCH] elevate minimum ore generation height by 6 before blocks generation priority added --- res/content/base/modules/generation/ores.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/content/base/modules/generation/ores.lua b/res/content/base/modules/generation/ores.lua index 3b2c2f915..64b0c2a64 100644 --- a/res/content/base/modules/generation/ores.lua +++ b/res/content/base/modules/generation/ores.lua @@ -18,7 +18,7 @@ function ores.place(placements, x, z, w, d, seed, hmap, chunk_height) for i=1,count do local sx = math.random() * w local sz = math.random() * d - local sy = math.random() * (chunk_height * 0.5) + local sy = math.random() * (chunk_height * 0.5) + 6 if sy < hmap:at(sx, sz) * chunk_height - 6 then table.insert(placements, {ore.struct, {sx, sy, sz}, math.random()*4, -1}) end