[Mod] fence registration [fence_registration]
This mod adds a function for adding fences.
For example to add an acacia wood fence, you only need to write following:
minetest.register_fence({fence_of = "default:acacia_wood"})
the syntax looks approximately like this:
minetest.register_fence({fence_of = string[, texture = string, recipe = string, add_crafting = bool]}, table)
the second param can be used to set custom parts of the node definition, e.g.
https://github.com/HybridDog/sumpf/blob/master/sumpf/birke.lua#L81-L82
License: see LICENSE.txt
Download: zip, tar.gz
If you got ideas or found bugs, please tell them to me.
Description
Languages
Lua
100%