Skip to content

Commit

Permalink
Sync tenplus1 'master'/https://notabug.org/TenPlus1/nssb for newer fu…
Browse files Browse the repository at this point in the history
…nctions and ores

* optimized ore generation by removing iterations and using stratum feature
  as note this feature are only from 5.0 as documented and check in
  luanti-org/luanti@9f6d90a
  this was a good move by tenplus cos works as a unique plain layer cos
  creates single undulating ore stratum that is continuous across mapchunk
  borders and horizontally spans the world, as a layer..
  the ore type its used only on the generation of the space of the 7 layers
  that defines the morlendor space, before and after there are indestructible ones
* this is a merge of two optimizations commits:
  the commit 26c8022
  and commit f728f41
  later i added a next commit with a compatibility hack for 0.4 engines
* merge the initial "optimization" that only removed more of the
  generation of ore nodes in the morlendor space  that is
  a merge of commit f728f41
  with cosmetics changes that just difficult the comparison of code forks
* adde configuration of the level of the morlendor layer,
  make it compatible with other mods like cavereamls and nether
  TODO: added a detection of those levels to auto configure morlendor
* use newer funcions of commit ee84ab5
  change `minetest.env:get_node` by `minetest.get_node` so 0.4.15 its minimal
  change `tile_images` of `minetest.register_node` by `tile`
  change `alpha = 650` of `minetest.register_node` by `use_texture_alpha = "blend",`
  change `obj:setpos` by `obj:set_pos` of previous commit
* add changelog updated and cosmetic changes by tenplus1
  • Loading branch information
mckaygerhard committed Jul 26, 2022
2 parents 6376430 + d8f8f53 commit be9daac
Show file tree
Hide file tree
Showing 7 changed files with 1,292 additions and 881 deletions.
8 changes: 7 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
v2.1 - 3rd Feb 2022 (Edited by TenPlus1)
- Switch to new functions
- Add configurable level in settings (nssb.morlendor_level)
- Replace registered_ore iterations with "stratum" feature for speed increase
- Fix any errors

v2.0 - 22-11-16
- added the Morlendor dimension and all its materials;
- added the compatibility with the mapgen v7 and valleys (and also fractal and flat);
- added the portals to go to Morlendor and come back.

v1.0 - 22-03-16
First stable release
13 changes: 7 additions & 6 deletions init.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
--Nssb
nssb = {}
local path = minetest.get_modpath("nssb")
dofile(path.."/nodes.lua")
dofile(path.."/mapgen.lua")
dofile(path.."/spawn.lua")
nssb = {}

local path = minetest.get_modpath("nssb")

dofile(path .. "/nodes.lua")
dofile(path .. "/mapgen.lua")
dofile(path .. "/spawn.lua")
1,585 changes: 1,000 additions & 585 deletions mapgen.lua

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions mod.conf
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
name = nssb
depends = default, nssm, tnt
Loading

1 comment on commit be9daac

@mckaygerhard
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this close NPXcoot#5

Please sign in to comment.