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.
This commit is contained in:
Treer
2022-09-11 22:51:23 +10:00
committed by GitHub
parent d3f79e961b
commit a03375c5a4
4 changed files with 31 additions and 21 deletions

View File

@ -26,7 +26,7 @@ the nether first, or basalt might be a crafting ingredient required to reach
a particular branch of the tech-tree.
Netherbrick tools are provided (pick, shovel, axe, & sword), see tools.lua
The Nether pickaxe has a 10x bonus again wear when mining netherrack.
The Nether pickaxe has a 10x bonus against wear when mining netherrack.
## License of source code: