diff --git a/debian/changelog b/debian/changelog index 1618e5f..0991721 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +minetest-mod-nether (2+git20170104.1.bc2ccfb-1) UNRELEASED; urgency=low + + * New upstream snapshot. + + -- Debian Janitor Fri, 16 Apr 2021 11:11:31 -0000 + minetest-mod-nether (2-4) unstable; urgency=medium * Move Vcs-* to salsa. diff --git a/init.lua b/init.lua index b874b26..51712e5 100644 --- a/init.lua +++ b/init.lua @@ -3,6 +3,7 @@ local NETHER_DEPTH = -5000 local TCAVE = 0.6 local BLEND = 128 +local DEBUG = false -- 3D noise @@ -13,7 +14,9 @@ spread = {x = 384, y = 128, z = 384}, -- squashed 3:1 seed = 59033, octaves = 5, - persist = 0.7 + persist = 0.7, + lacunarity = 2.0, + --flags = "" } @@ -534,10 +537,11 @@ -- Mapgen --- Initialize noise object and localise noise buffer +-- Initialize noise object, localise noise and data buffers local nobj_cave = nil local nbuf_cave +local dbuf -- Content ids @@ -589,7 +593,7 @@ local vm, emin, emax = minetest.get_mapgen_object("voxelmanip") local area = VoxelArea:new{MinEdge = emin, MaxEdge = emax} - local data = vm:get_data() + local data = vm:get_data(dbuf) local x11 = emax.x -- Limits of mapchunk plus mapblock shell local y11 = emax.y @@ -678,6 +682,8 @@ vm:update_liquids() vm:write_to_map() - local chugent = math.ceil((os.clock() - t1) * 1000) - print ("[nether] generate chunk " .. chugent .. " ms") + if DEBUG then + local chugent = math.ceil((os.clock() - t1) * 1000) + print ("[nether] generate chunk " .. chugent .. " ms") + end end) diff --git a/textures/nether_brick.png b/textures/nether_brick.png index 3e8c803..eae4e36 100644 Binary files a/textures/nether_brick.png and b/textures/nether_brick.png differ diff --git a/textures/nether_rack.png b/textures/nether_rack.png index 201a11a..bb77406 100644 Binary files a/textures/nether_rack.png and b/textures/nether_rack.png differ diff --git a/textures/nether_sand.png b/textures/nether_sand.png index 8ec343d..96fa6b9 100644 Binary files a/textures/nether_sand.png and b/textures/nether_sand.png differ