* This will allow pyramids to find some desert sand, but
the astute will notice those are the v7 Heat Noise Parameters,
the (5349, 3, 0.7, 500), and the Humidity for those inclined
to tinker are (842, 3, 0.55, 500), cos mods that rely on
the perlin noise must be in sync.
* try to detect the older simplev7 mod and sync with guessed values
* also detect the multicraft v7 plus mapgen
* seems the mummy is a mob, and `get_objects_inside_radius` also
gets players, dropped items, etc... cos this function checks
for all loaded entities on the server, so you'll need to check
for that mummy around if those objects are only mobs, or not mobs
or players or nodes.. this check is not made by upstream stupid developer,
he just said "works for me"! and close the issue
* that function may returns nil/null if the name of the object is
not EXACT the same, as made `if lua.name == "tsm_pyramids:mummy_spawmer"`
then that the name could fails in rare cases becouse is used as index
also the comparison is made with same olbject that seems
do not have much effect
* The error of a nul vector is related only to the engine!
* Closes https://codeberg.org/minetest-stuffs/minetest-mod-tsm_pyramids/issues/4
* Closes https://github.com/EdenLostMinetest/tsm_pyramids/issues/1
* Closes https://codeberg.org/Wuzzy/minetest_tsm_pyramids/issues/4
* the `bulk_set_node` seems the function is since minetest 5.0 but
it seems does not show in the git-shit-hub search, so found it
manually at 584d00a01c
that is only an optimized bulk way of `set_node` using a list of positions
now with this pyramids will work in older versions of minetest too
* Closes https://codeberg.org/minetest-stuffs/minetest-mod-tsm_pyramids/issues/5
* incorporate a detection of 5.4+ versions of engine
* this was due the change from commit 1eb0bc363e1e7e4e4a754d0b0ca7df73ac3a1f11
of sys4 <sys4@sys4.fr> at Fri Dec 27 01:22:46 2019 +0100
that said: Ajoute remplissage des coffres 30 minutes après ouverture
et modifie les items générés par ceux de nalc_trm
merged at commit dfd03b56c686e821a11a5a53efbee49376f0ce9e
* set a maximun height and use the parameters on mapgen v7 from poikilos,
seems oldcoder already does that! this was taken from old fork
from commit e970ff7955
* the commit only takes the max height part.. the node detection
suggestion was omited (few 3 lines around sand_cnt_max_id check)
cos is already added on the previous function `select_pyramid_type(min, max)`
* Fix crash caused by lack of luaentity nil check and minetest 5.6
from commit d4d89c5cc4
* Add refill to chests 30 minutes after opening; and modify the items
generated by those of nalc_trm (we must change this later)
from commit 1eb0bc363e