1
0
mirror of https://github.com/HybridDog/nether-pack.git synced 2025-07-04 00:51:20 +02:00
Commit Graph

56 Commits

Author SHA1 Message Date
8be1f839c5 Move most of mapgen into mapgen thread 2024-04-03 17:16:20 +02:00
9c3fc65544 Also move out the grow_structure functions 2024-04-03 17:16:20 +02:00
0351e12bac Move mapgen code out of init.lua 2024-04-03 17:16:20 +02:00
1c033a048f Helper functions for other mods and an obsidian portal bugfix (#15)
* The obsidian portal is the first way for a player to reach the nether,
  so if damage is enabled and `nether.trap_players` is disabled,
  the obsidian portal should teleport the player instead of killing him/her
  since after death he/she respawns in the overworld and not in the nether.
  A small change in `obsi_teleport_player` fixes this problem.
  Fixes #16.
* There exist other mods which need to check if players are in the nether and
  teleport them to/from the nether, so we add four helper functions:
  `nether.is_player_in_nether`, `nether.is_player_trapped_in_nether`.
  `nether.external_nether_teleport` and `nether.registry_update`.
  Fixes #14.
* Add the `in_hell`, `trapped_in_hell` and `update_hells_registry` chat
  commands, which can be used for debugging
* `players_in_nether` has no meaningful effect if `nether.trap_players` is
  disabled, so we rename it to `players_trapped_in_nether`.
* Add `nether.bottom`, which approximately corresponds to the lower end of the
  nether
2024-02-29 21:05:03 +01:00
817efcdd29 Add settingtypes.txt to configure player trapping and message logging
There are also some changes to fix problems when trapping is enabled while damage is disabled or the other way round.
2022-08-16 17:25:41 +02:00
c35d18a519 Fix some deprecation warnings 2021-12-22 18:46:56 +01:00
fb1eca6c11 Add .luacheckrc and do some code fixes 2021-12-22 18:46:52 +01:00
5925dc5606 mapgen: Use buffers for memory usage optimisation 2018-03-18 18:39:44 +01:00
8a3d0b0634 Update debug messages 2017-12-26 09:58:32 +01:00
2ce9440fdf Use the light update parameter of write_to_map instead of the obsolete update_map (vmanip)
And use minetest.fix_light instead of a custom function (surprisingly it didn't cause a noticeable performance difference)
Also, a few code style changes
2017-12-26 09:39:17 +01:00
12dc8ae004 Fix code style
I've also made a few other changes:
Use minetest.pos_to_string instead of manually creating the string
Do not use table_contains to test if a node id belongs to a nether tree, instead use lua table hashmap behaviour
2017-12-26 09:19:11 +01:00
69b3e65c85 Fix missing unknown node test in grass_allowed 2017-12-26 08:40:18 +01:00
0a2dbbb0f8 Fix small stuff (thanks to warnings from luacheck) 2017-12-25 21:23:34 +01:00
6019bbce66 Do not use old vector_extras functions 2017-12-25 21:22:32 +01:00
e8a666f34e replace deprecated setting methods 2017-07-05 18:52:46 +02:00
c33e306849 reduce index calculations (untested)
M  nether/init.lua
2016-09-15 11:57:06 +02:00
6d92487f20 🐈 2016-05-26 12:17:06 +02:00
578919c469 fix old newbie mistake 2016-05-04 18:42:45 +02:00
780b95bfbc further optimazion of ws func 2016-05-04 17:43:37 +02:00
f3cec2fe06 🐈 2016-03-10 20:47:16 +01:00
06099dcec3 🐈 2016-02-06 12:04:17 +01:00
b5807be921 use functions from vector_extras which should improve speed 2016-01-10 13:42:16 +01:00
163bd4a021 update nether tree loop, @Ombridride l hope it works for you, and fix missing degrotate paramtype2 of leaves 2016-01-10 12:49:32 +01:00
2ddf5c81a4 🐈 2015-08-05 10:35:32 +02:00
87f870db57 🐈 2015-07-05 21:01:13 +02:00
b09a30c141 🐈 2015-05-29 12:08:27 +02:00
de4b04f35b l think the texture is not symmetrical enough for 90° rotation 2015-05-27 10:31:27 +02:00
314930714b …fix one perlin noise outside [-1; 1] problem 2015-05-21 17:14:54 +02:00
0d07fa3cd4 use the weierstrass function to decorate the nether forest top (similar to http://a.pomf.se/niypzy.png) 2015-05-20 21:01:10 +02:00
21171ceb2c this should fix the problem that nether forest trees often have so many missing leaves 2015-05-20 19:57:51 +02:00
81821263c6 fix mapgen noise mistake (untested) @crabman77 this was the problem l searched @LeMagnesium 2015-05-16 23:49:04 +02:00
79a2e8186b fix nether mapgen 2015-03-19 16:13:24 +01:00
7c75dafcdb at least a bit history 2015-02-18 18:34:03 +01:00
4dba4e8cb1 update 2014-04-18 22:02:24 +02:00
48d6f4aa64 update readme 2014-04-17 11:20:20 +02:00
c4fe70ba30 change nether trees 2013-11-17 21:04:15 +01:00
566f9be204 update 2013-08-24 12:45:30 +02:00
5b3b1ffb78 change mapgen 2013-08-15 01:06:30 +02:00
ca3168c387 use vm 2013-08-12 18:14:29 +02:00
21ae7c52a5 remove obsidian 2013-08-12 16:54:11 +02:00
00dced390c Fixed a lot of bugs with the portal generator 2012-04-19 19:05:07 -06:00
c63b569709 Added glowstone 2012-04-19 13:55:39 -06:00
2ca265bcbb Used DD's original texture for netherrack, added nether lava which is brighter than normal lava (and does not ignite fire), added moat around the throne of hades, fixed a dumb bug with saving portals to nether, and made the portals emit light 2012-04-19 09:50:20 -06:00
fde1f90f46 I have no idea why I had "nether_netherrack.png" as the drop lol. Fixed 2012-04-18 22:11:42 -06:00
462eebe11b Fixed multiple teleportation!! 2012-04-18 21:27:04 -06:00
d707f0a6a3 Added nether pearls 2012-04-18 21:00:45 -06:00
d9c3f26c87 Fine tuned the spawn and changed the netherrack texture to a modified version of DD's netherrack texture 2012-04-18 19:28:47 -06:00
ac70dda036 Made the nether much deeper, and fixed spawning when the nether isn't loaded (i.e. no portals) 2012-04-18 18:38:58 -06:00
9c845230e8 Made lava even more frequent 2012-04-18 18:26:07 -06:00
d597ef63a4 Made lava twice as frequent, and diminished the size of lava "bubbles" 2012-04-18 17:53:36 -06:00