diff options
author | Calinou <calinou9999spam@gmail.com> | 2013-09-15 14:52:18 +0200 |
---|---|---|
committer | Calinou <calinou9999spam@gmail.com> | 2013-09-15 14:52:18 +0200 |
commit | 474d62ac7c6f540318ccba9777f4f2c8d35007ec (patch) | |
tree | a46abe31ce8454cfaa1dca2107c573394b8c3ec5 /stairsplus/slabs.lua | |
parent | d8d84f75797223734add22031b148783703100db (diff) |
Allow stair/slab crafting by default, can be disabled in _config.txt
Diffstat (limited to 'stairsplus/slabs.lua')
-rw-r--r-- | stairsplus/slabs.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/stairsplus/slabs.lua b/stairsplus/slabs.lua index 458c8b9..875ebc8 100644 --- a/stairsplus/slabs.lua +++ b/stairsplus/slabs.lua @@ -115,8 +115,10 @@ function register_slab(modname, subname, recipeitem, groups, images, description end }) - -- Unregister default recipes + -- Unregister default recipes, optional, see _config.txt +if allow_stair_slab_crafting == false +then minetest.register_craft({ output = "moreblocks:nothing 1", recipe = { @@ -124,4 +126,5 @@ function register_slab(modname, subname, recipeitem, groups, images, description }, }) end +end |