mckaygerhard 762b2d7838 fix perlin noise returns null on some rarte cases as reported in minetest
* i was first checked at https://forum.minetest.net/viewtopic.php?t=8157
  as "minetest.get_perlin() and minetest.get_perlin_map() Return nil" by prestidigitator
  The `minetest.get_perlin()` function returns nil since 0.4.8+ until 5.1.0
  The `PerlinNoise()` constructor does return a valid object, on the other hand,
  barely documented as alternatrive cos is internally used only and not api public
  cos can only call it after the environment is created, so the code
  must bne inside `minetest.after(0, ...)` it only works the first time,
  or must be used an alternative
* was reported also https://github.com/minetest/minetest/issues/10385 that
  does not properly handle large world seeds
* Close https://codeberg.org/Wuzzy/minetest_tsm_pyramids/issues/2
* Close https://codeberg.org/minetest-stuffs/minetest-mod-tsm_pyramids/issues/2
* Also uses older get2d vs get_2d for newer engines older pre 5.0.0
  as seen on https://github.com/minetest-LOTR/Lord-of-the-Test/issues/139
  detect newer engine and uses proper method to get agains perlin object
  Closes https://codeberg.org/minetest-stuffs/minetest-mod-tsm_pyramids/issues/2
2024-04-29 10:17:25 -04:00
2019-08-20 21:01:42 +02:00
2018-05-24 23:53:51 +02:00
2022-10-16 16:20:37 +02:00
2022-10-16 16:26:55 +02:00
2022-10-16 17:06:50 +02:00
2019-08-19 17:58:59 +02:00
2019-09-02 20:45:11 +02:00

Pyramids (with Treasurer support) [tsm_pyramids]

  • Version: 1.0.4

Description

This is a mod for Minetest Game which adds randomly spawned pyramids in deserts and sandstone deserts. The pyramids are very rare and contain chests with stuff. Also there are mummies inside, which attack the player if found in their radius.

Historic notes

This mod is a fork of the old pyramids mod by BlockMen and intended to be a direct (but unofficial) successor of it.

Licensing

This program is free software. It comes without any warranty, to the extent permitted by applicable law.

Source code and textures

Mummy model

  • MIT License
  • (c) Copyright Pavel_S (2013)

Textures

  • tsm_pyramids_eye.png by bas080, CC-BY-SA 3.0
  • tsm_pyramids_men.png by bas080, CC-BY-SA 3.0
  • tsm_pyramids_sun.png by bas080, CC-BY-SA 3.0
  • All other: BlockMen (MIT License)

Sounds

The authors are (freesound.org):

  • mummy.1.ogg by Raventhornn, CC0
  • mummy.2.ogg by Raventhornn, CC0
  • mummy_hurt.1.ogg by Under7dude, CC0
  • mummy_death.1.ogg by scorpion67890 (modified by Wuzzy), CC0
Description
Languages
Lua 100%