48 Commits

Author SHA1 Message Date
2c9ea6faca workaround for bulk_set_node newer implementations on onder engines
* 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
2024-04-29 10:29:47 -04:00
6b53a21c96 backguard compatibility for 4.X on translator and noisebuffer loading
* the wrokaround is done waithing until mod loads using minetest.after,
 at older engines we only can callit one time at load, but now the error
 generates in other place..  check for more elaborate solution
 at https://codeberg.org/minetest-stuffs/minetest-mod-tsm_pyramids/issues/2#issuecomment-1712924
* reported at https://codeberg.org/Wuzzy/minetest_tsm_pyramids/issues/2
* related to https://github.com/minetest/minetest/issues/10385#issuecomment-1674162787
2024-03-24 18:48:20 -04:00
sys4
1eb0bc363e Ajoute remplissage des coffres 30 minutes après ouverture
et modifie les items générés par ceux de nalc_trm
2019-12-27 01:22:46 +01:00
Wuzzy
63572c5c23 Fix crash 2019-10-01 13:06:20 +02:00
Wuzzy
2538680eea Fix undeclared global warnings 2019-09-26 14:31:24 +02:00
Wuzzy
5abc9c1e47 Fix some bugs with traps generating 2019-08-25 16:33:14 +02:00
Wuzzy
c2167e305a Add new trap type: Deep drop 2019-08-25 15:17:04 +02:00
Wuzzy
f71ca591c9 More treasure variety 2019-08-25 14:00:03 +02:00
Wuzzy
9d5dace4fb Guarantee 1 chest with treasures 2019-08-25 12:37:36 +02:00
Wuzzy
e6a76549f6 Enable traps for more rooms 2019-08-25 00:50:22 +02:00
Wuzzy
4bce10ff7d Implement custom room walls 2019-08-25 00:19:35 +02:00
Wuzzy
a7b45cbba7 Implement stype restriction 2019-08-24 23:19:41 +02:00
Wuzzy
694d279ff0 Add reverse sandstone room style 2019-08-24 22:30:38 +02:00
Wuzzy
e3a6dac028 Distiction between column and sandstone 2019-08-24 17:43:18 +02:00
Wuzzy
71393b0368 Improve hieroglpyhs room 2019-08-24 17:14:08 +02:00
Wuzzy
479d625484 Fix crash when spawning traps 2019-08-24 16:24:23 +02:00
Wuzzy
6f24883fa3 Add 4 new rooms 2019-08-24 16:08:11 +02:00
Wuzzy
fe41da8bd0 More tiles to place traps on 2019-08-23 14:37:38 +02:00
Wuzzy
1e6f18253e Prevent traps generating below pillars 2019-08-23 14:34:42 +02:00
Wuzzy
1fdb855347 Build walls around trap section 2019-08-23 13:53:43 +02:00
Wuzzy
f1a7d039e7 Generate 2 solid layers at bottom of pit
To prevent lava escaping
2019-08-23 13:30:33 +02:00
Wuzzy
2f82b3665c Remove outdated TODOs/FIXMEs 2019-08-23 13:02:18 +02:00
Wuzzy
e40a41e473 Merge branch 'desert_stone' 2019-08-23 12:58:27 +02:00
Wuzzy
e824fa467e Randomly rotate pyramids 2019-08-22 14:50:26 +02:00
Wuzzy
08a750820b Don't use sand in desert sand pyramids 2019-08-20 20:47:11 +02:00
Wuzzy
7b0c42954f Fix broken desert stone pyramid trap 2019-08-20 20:36:50 +02:00
Wuzzy
783a5d8666 Add desert stone pyramids (still a bit buggy) 2019-08-20 20:16:11 +02:00
Wuzzy
b00f540567 Use bulk_set_node to improve efficiency 2019-08-20 14:58:51 +02:00
Wuzzy
104b2e947a Replace room: hallway 2019-08-20 06:16:03 +02:00
Wuzzy
51bf3783ff Randomize column engravings 2019-08-20 05:17:25 +02:00
Wuzzy
6a43244322 Fix various flood_sand bugs 2019-08-20 03:26:54 +02:00
Wuzzy
fb6cbbea66 Put sand into chests in sand-flooded pyramids 2019-08-20 03:14:39 +02:00
Wuzzy
acc22a5576 Flood every 8th pyramid with sand 2019-08-20 02:58:37 +02:00
Wuzzy
d3187e4a08 Distribute treasures more evenly across chests 2019-08-20 02:08:44 +02:00
Wuzzy
9e9433dcae Add room type argument in spawnpyramid command 2019-08-20 01:07:42 +02:00
Wuzzy
d64e5d5b47 Disable traps in some rooms 2019-08-20 00:45:46 +02:00
Wuzzy
4c52d902e4 Rotate chests correctly 2019-08-20 00:43:04 +02:00
Wuzzy
7aadb0f0ac Add a bunch of new rooms 2019-08-20 00:27:25 +02:00
Wuzzy
e91b61f849 Randomize trap positions 2019-08-19 19:41:20 +02:00
Wuzzy
6b453f781e Refactor room.lua a bit 2019-08-19 18:38:48 +02:00
Wuzzy
3c0d699fd1 Rename global pyramids table 2019-08-19 18:06:55 +02:00
Wuzzy
8901184f72 Add desert sandstone trap 2019-08-19 17:30:15 +02:00
Wuzzy
30f29c8490 Randomize engraving sandstones 2018-05-25 00:34:33 +02:00
Wuzzy
a069c026fd Spawn desert sandstone pyramids 2018-05-25 00:23:05 +02:00
Wuzzy
ee8c87470e Make indentation consistent 2016-12-30 14:22:38 +01:00
Wuzzy
5f1bbb097a Change shortname to “tsm_pyramids” 2014-10-04 08:38:08 +02:00
BlockMen
b0d4fdd1d9 Version 0.4 2013-10-01 14:37:40 +02:00
BlockMen
f64171b2a8 Version 0.3
Fix floating, add better room, improve spawning
2013-09-26 01:37:24 +02:00