Use mod.conf for dependencies and description
|1 year ago|
|LICENSE||3 years ago|
|README.md||3 years ago|
|init.lua||3 years ago|
|mod.conf||2 years ago|
|screenshot.png||3 years ago|
|screenshot_2.png||3 years ago|
A Minetest mod which solves the fence connection problem.
Recently I was building a house and was quite frustrated that my fence nodes wouldn't connect to the mossy cobblestone:
So, I submitted a PR to make fences connect to all nodes, and it was promptly closed because running fences along a cobble wall would look terrible. This made total sense, but it was still frustrating because the only 2 options (fences that connect to all nodes and fences that connect to only fences) both look terrible in some situations.
Better fences overrides default fences and walls and replaces them with 2 fence types, one which connects to all nodes and one which only connects to other fences and walls.
Whenever you place or dig a fence, this mod will determine if the fence you just placed will connect to 2 or more adjacent fences or walls, if it will it places the fence which only connects to fences, otherwise it places the fence which connects to all nodes. Every dig and place will result in the surrounding 4 fences (if they exist) being checked and updated if necessary as well.
This behaviour results in only the fences at the end of a line of fences connecting to all nodes:
So you get the best of both worlds, ability to connect to nodes like stone, and also to not have a line of fences running along a wall look like trash:
Code License: LGPL 2.1+
Optional Dependencies: walls