diff options
author | Calinou <calinou@opmbx.org> | 2014-05-04 17:53:15 +0200 |
---|---|---|
committer | Calinou <calinou@opmbx.org> | 2014-05-04 17:53:15 +0200 |
commit | d335d0dd3c060c26264320e5891052b6ff741a26 (patch) | |
tree | f8921ac96060bbcb2874e4e629480309f90b945e /stairsplus/slabs.lua | |
parent | 4cd994e38596509864f97d4c4eba892486fde820 (diff) |
New recipes for Stairs+ nodes. Allows crafting most useful Stairs+ nodes. More accurate nodes still require the usage of the circular saw.
Diffstat (limited to 'stairsplus/slabs.lua')
-rw-r--r-- | stairsplus/slabs.lua | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/stairsplus/slabs.lua b/stairsplus/slabs.lua index a606392..be5b308 100644 --- a/stairsplus/slabs.lua +++ b/stairsplus/slabs.lua @@ -82,15 +82,23 @@ function stairsplus:register_slab(modname, subname, recipeitem, fields) end minetest.register_alias("stairs:slab_"..subname, modname..":slab_"..subname) - -- Unregister default recipes, optional, see config.lua + -- Some saw-less recipe. - if not moreblocks.config.allow_stair_slab_crafting then minetest.register_craft({ - output = "moreblocks:nothing 1", + output = "moreblocks:slab_" .. subname .. " 6", recipe = { {recipeitem, recipeitem, recipeitem}, }, }) - end + minetest.register_craft({ + type = "shapeless", + output = "moreblocks:slab_" .. subname, + recipe = {"moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname}, + }) + minetest.register_craft({ + type = "shapeless", + output = "moreblocks:slab_" .. subname, + recipe = {"moreblocks:panel_" .. subname, "moreblocks:panel_" .. subname}, + }) end |