Commit Graph

152 Commits

Author SHA1 Message Date
Troy Young / Cianaodh Óg
b0db3aa475
Reverted to original 2024-04-16 13:17:59 -05:00
Troy Young / Cianaodh Óg
43e7d2cf14
Added toolranks support to tools. 2024-04-16 04:27:46 -05:00
Jacob Lifshay
d16b530685
Call old on_place when not clicking on portal material (#74)
This is needed to work with telemosaic since telemosaic depends on `on_rightclick` being called on beacon node when wielding a mese crystal fragment.
2024-03-09 19:29:03 +01:00
Treer
ea677c5a1b
Hide unknown nodes under the nether bug (#72)
Hides bug #51 - the node_stone of the biome appears in the whole chunk under the Nether, so make nether:native_mapgen look the same as default:stone, and drop whatever default:stone drops
2023-05-06 14:44:54 +02:00
Treer
21c7e2801d restore string key in template
903025e accidently dropped a .
2023-04-16 01:38:43 +10:00
JoeEnderman
3470b1e22e add some French translations
I Hope all of the formatting is the same. I did check it multiple times.
2023-04-16 01:38:43 +10:00
Treer
3e809a811b
Merge pull request #65 from Treer/feature/fix-netherrack-slab-upstream
Update localization files
2023-04-15 12:51:51 +10:00
Treer
6c6a182366 Update localization files 2023-04-15 12:43:56 +10:00
JoeEnderman
9c1fa2c843
A fix for Netherrack slab being called Deep Netherrack slab (#63)
* fix netherrack slab being called Deep Netherrack
* Fix several lowercase block names

Several slabs and stairs were incorrectly named.
2023-04-15 12:34:20 +10:00
Treer
957fdc887b
Add giant crystal geodes (#35) 2023-01-26 15:59:05 +01:00
Treer
7dc32f6bb8
fix the sky in the nether caverns when using climate_api (#61)
The mantle and geode skys were working correctly, but not the sky in the main nether area - it would always switch back to stars.
Issue was found by process of elimination, so I don't know why climate_api doesn't accept "nether:nether" as a unique weather name identifier, or how this issue wasn't noticed earlier (did something change?).

climate_api's api_doc.md file says the name "should be prefixed with the mod's name in a way that could look like ``mymod:awesome_weather``. This name should only be used once."

so perhaps names of the form "mymod:mymod" cause issues? (I don't plan on figuring this climate_api behavior out though)
2022-11-20 01:05:03 +11:00
fluxionary
a8a6bb00c5
fumaroles: don't extinguish fires outside of the nether (#60)
thanks
2022-11-14 00:55:49 +11:00
fluxionary
12ca98c25a
Add gravel sounds to lava crust (#58) 2022-11-12 22:30:31 +11:00
Treer
a03375c5a4
Use Minetest_game fences API if it's available (#57)
Fixes #56, and adds netherbrick rails (for consistency with MTG) if the fences API is found.
Using the MTG fence system adds interop between different fence types, and support for the "Tall fences and walls" option.

I've left the nether's register_craft() call unchanged, it overrides the recipe that default.register_fence() registers, granting 6 fences per crafting instead of MTG's 4.
2022-09-11 14:51:23 +02:00
Treer
d3f79e961b Update locale templates 2022-02-13 14:14:03 +11:00
Treer
d8e6a6aca3
Treasures (#50)
* Add Netherrack slabs and walls

Also adds deep netherrack stairs, and deep nether brick stairs, slabs, inner stairs and outer stairs.
Adds 9 new nodes in total.

* Treasure: Nether pickaxe takes 10x less wear damage when mining netherrack

cracky-3 mining time of Nether pickaxe reduced from 0.4 to 0.3 to mine netherrack faster.
maxlevel of nether pickaxe dropped from 3 to 2 to increase wear damage with non-netherrack nodes.

* Treasure: Nether staff of light

Adds "Nether staff of Light" and "Nether staff of Eternal Light"
One is limited to 60 uses, and the other has unlimited uses but the glowstone it creates will only last for 40 seconds.
There are no crafting recipes as I hope these to eventually be treasure that can be found in the nether.

See the pull request (#50) for more discussion
2021-11-27 15:40:00 +11:00
Treer
247ca0844b Switch Deep-netherbrick to a texture with licence allowing adaption & redistribution (CC BY-SA 4.0)
To fix #52, while trying to capture some of the feel of the original texture.
2021-10-28 23:09:26 +11:00
Treer
52038017f3
Make ShiftExistingBiomes available via API (#40)
* bug fixes

Fixes wrong new_y_min when shift_existing_biomes() shifts a biome below the nether floor,
find_surface_anchorPos() no longer assumes y=0 will be outside the nether.
Nil-reference fixed when a mods tries to register a portal after mods are finished loading, but the portal shape+material was already registered by another mod.

* Make ShiftExistingBiomes available via API

makes the ShiftExistingBiomes function available to other mods via the nether global, since it's not a simple function and biomes would also need to be shifted if another mod wants to add a second nether layer.

* Allow layers to extend the depth of nether effects

Mods can set/lower nether.DEPTH_FLOOR_LAYERS when creating a layer under the nether. This allows multiple layer mods to know where their ceiling should start, and to be included in the effects which only happen in the nether.

* document nether API

More of a tentative interop guide than an API.
Use snake_case for API functions.
2021-07-18 16:44:37 +10:00
tenplus1
54613d673a Update README.md
add texture license info
2021-07-11 12:11:39 +10:00
tenplus1
023539c297
add deep nether brick (#47)
* add deep nether brick
* Update crafts.lua
2021-07-11 12:10:58 +10:00
tenplus1
b90afa0b86 fix nil bug in portal_api.lua
fixes a nil bug in portal_api.lua where nodedef.is_ground_content isn't available.
2021-07-08 10:14:24 +10:00
sys4-fr
fb6b666895
Fix deprecation warnings (#44)
Co-authored-by: sys4 <bricassa@sys4.fr>
2021-04-18 16:30:05 +02:00
Treer
fb3c358f74 #43 Ethereal compatibility
Ethereal clears every biome when it starts to get rid of the default mapgen, which breaks the nether and can cause crashes.
Adding Ethereal as an optional dependency ensures the nether is loaded after Ethereal has already cleared the biomes.
2021-03-14 16:37:48 +11:00
Treer
ecce6e27c9 #42 make lava crust walkable
Fixes issue #42 - mobs not being able to walk on lava_crust
2021-03-14 16:37:48 +11:00
Treer
3f4b014298 #41 Allow nether to be in the sky
fixes issue #41
(Now that the Nether no longer extends all the way to -31000)
2021-03-14 16:37:48 +11:00
Treer
bafa4e8ea1 Improve dungeons
* clears netherrack from dungeon stairways
* Adds pillars or mezzanine floors to large rooms
* slightly more careful with window placement
* glowstone sometimes added behind in windows
2021-02-13 16:47:26 +11:00
Treer
b30272d2dd Move dungeon excavation functions to separate file 2021-02-13 16:47:26 +11:00
Treer
87f0ea7a51 Implement PR feedback 2021-02-13 13:00:41 +11:00
Treer
3008b167b2 climate_api support - add distance fog
Add more appropriate/atmosphere distance fog to the nether, via climate_api mod to avoid conflicting with other mods.
Any game or server with climate_api mod installed will be expecting climate_api to take control of sky values.
2021-02-13 13:00:41 +11:00
Treer
00099f2aa2 Fix #36 - better handling of biome definition tables
Add support for min_pos and max_pos in biome definition tables, and follow the same interpretation logic as Minetest, same defaults/fallbacks etc.
2021-02-06 00:25:27 +11:00
Treer
89a467698a minor fixes
Fixes issue #34 (get_node_group deprecated), and removes nether:lava_source from creative_inventory
2021-02-02 17:15:22 +11:00
Treer
979493ed64 Fix nil reference
The error below was reported, so handle the existence of a mod called "bucket" which doesn't have any liquids field:

Runtime error from mod 'nether' in callback on_mods_loaded(): /mods/environment/nether/nodes.lua:378: attempt to index field 'liquids' (a nil value)
stack traceback:
/mods/environment/nether/nodes.lua:378: in function /mods/environment/nether/nodes.lua:373
/minetest/builtin/game/register.lua:429: in function /minetest/builtin/game/register.lua:413
2021-01-26 19:49:10 +11:00
Treer
1fbab7451e Update README.md 2021-01-22 15:35:50 +11:00
Treer
4b508f8492 Update README.md 2021-01-15 00:29:23 +11:00
Treer
24845dce1e Update descriptions 2021-01-15 00:29:23 +11:00
Treer
00cda53a13 Add the Mantle
Adds a magma oceans region to the nether outside the existing nether caverns, which can be reached via tunnels.

Other misc changes:
* chatcomment nether_whereami, a debug aid for knowing which perlin-noise region you are in
* Nether ores no longer obtainable on the ceiling
* Move crafts into crafts.lua
* Add steam to lava cooling, and play bubbling lava upon death by lava
* Add cracked netherbrick
    a decorative node which can only be obtained from dungeons or structures
    I encourage someone to improve or replace the cracked netherbrick texture. For copyright purposes it's currently a derivative work (by me, 2020) from nether_brick.png, which is licensed under CC BY-SA 3.0 by PilzAdam, so it can fall under the "All other media" PilzAdam's credit in readme.md rather than need its own entry.
2021-01-15 00:29:23 +11:00
Treer
5a2a6c63f1 Add tools attributions 2021-01-04 18:05:48 +11:00
Treer
00bb132edb add "fire" optional dependency
fumaroles use flame nodes if available
2021-01-04 18:05:48 +11:00
lortas
c7776cc082
Add nether based tools to mod (#31)
* textures for new tool items

* axe, shovel, pick, sword based on nether

* run also tools.lua

* Textture for Compressed Netherbrick

* new node "Compressed Netherbrick"

* define how to craft "Compressed Netherbrick"

* change recipe for NetherLump and remove old node

* Delete nether_nether_compressed.png
2021-01-01 23:54:48 +11:00
Treer
09ca1efd62 Square smoke puffs
The round ones look nice and cartoony, but not the right art direction for Minetest Nether.
Making use of the existing default_item_smoke.png is also a close contender for smoke puffs, but it's not translucent and I think the roundness of it reduces how much the puffs form into plumes.
2020-12-28 20:38:55 +11:00
Treer
f3c6f2df23 Add fumaroles (Nether chimneys)
Or they can be used on the surface as cottage chimneys.
2020-12-28 20:38:55 +11:00
Treer
2fb93b8c74 Add Concealed crevice / Lava sinkhole 2020-12-28 20:38:55 +11:00
Louis
1268049706 Remove string.lower so item name is correctly translated 2020-09-28 00:07:03 +10:00
Louis
c70a669709 Add french translation 2020-09-28 00:07:03 +10:00
Treer
02d062b9c9 Handle large protected depths
Portals will now fail to ignite instead of defaulting to a fallback depth of (starty - 256) when no unprotected target can be found.
The search depth is also increased from (starty - 256) to (starty - 646)

This is to properly handle large protected areas that are sometimes set up at spawn - see issue #26
2020-08-02 12:19:30 +10:00
Treer
e326a94266
Add nether.debug() (#28) 2020-07-26 15:07:39 +10:00
Treer
5b3b56ebec
Respect protected areas when spawning remote portals (#27)
* respect protected areas when spawning remote portals

* Use portal_shape to determine area to check for natural/protected

* Log warning on deprecated function call
2020-07-26 14:34:06 +10:00
Treer
8769593d6f
Reduce lava in biomes-based mapgen (#25)
The biomes-based mapgen was creating the same amount of lava as the original nether mapgen, but it doesn't have the same issue of chunk emerge order sometimes causing lava in the overdraw regions to get removed. This adjustment will hopefully balance that a little.

Also makes glowstone stalactite a bit rarer.

Adjusting lava ore scarcity in the biomes-mapgen doesn't cause forwards or backwards compatibilty issues with existing maps, likewise with schematic rarety like glowstone stalactites, so can afford to fiddle and tune.
2020-07-12 12:12:00 +10:00
Treer
5cb9e5fb27
Merge pull request #24 from Treer/bugfix/OutOfMemory
Fix Out Of Memory issue
2020-06-18 00:47:03 +10:00
Treer
ab4a031c1c Fix Out Of Memory issue
Also another naming convention update - it's been get_3d_map_flat() sin Jan 2018.
2020-06-18 00:41:07 +10:00