From 9b89200536285db54dbdb8c2830413c84794f00d Mon Sep 17 00:00:00 2001 From: crabman77 Date: Thu, 19 Mar 2015 00:15:01 +0100 Subject: [PATCH] add no generate DARKAGE in nether -19600 --- mods/darkage/mapgen.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/darkage/mapgen.lua b/mods/darkage/mapgen.lua index ce9c4c3f..6d91643a 100755 --- a/mods/darkage/mapgen.lua +++ b/mods/darkage/mapgen.lua @@ -212,6 +212,7 @@ local function generate_ore(name, wherein, minp, maxp, seed, chunks_per_volume, end minetest.register_on_generated(function(minp, maxp, seed) +if minp.y < -19600 then return end print("DARKAGE: Generate stratus"); generate_claylike("darkage:mud", minp, maxp, seed+1, 4, 0, 2, 0) generate_claylike("darkage:silt", minp, maxp, seed+2, 4, -1, 1, 1)