2018-07-20 13:32:04 +02:00
💥
2015-12-28 16:00:59 +01:00
💥
2015-12-28 16:00:59 +01:00

[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

I'm a screenshot!

If you got ideas or found bugs, please tell them to me.

How to install a mod?

Description
No description provided
Readme 190 KiB
Languages
Lua 100%