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/microblocks.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/microblocks.lua')
-rw-r--r-- | stairsplus/microblocks.lua | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/stairsplus/microblocks.lua b/stairsplus/microblocks.lua index 6348bf6..6a19bf1 100644 --- a/stairsplus/microblocks.lua +++ b/stairsplus/microblocks.lua @@ -83,5 +83,31 @@ function stairsplus:register_micro(modname, subname, recipeitem, fields) end minetest.register_alias(modname..":micro_"..subname.."_bottom", modname..":micro_"..subname) + + -- Some saw-less recipe. + + minetest.register_craft({ + output = "moreblocks:micro_" .. subname .. " 6", + recipe = { + {"moreblocks:stair_" .. subname}, + }, + }) + minetest.register_craft({ + output = "moreblocks:micro_" .. subname .. " 4", + recipe = { + {"moreblocks:slab_" .. subname}, + }, + }) + minetest.register_craft({ + output = "moreblocks:micro_" .. subname .. " 2", + recipe = { + {"moreblocks:panel_" .. subname}, + }, + }) + minetest.register_craft({ + type = "shapeless", + output = recipeitem, + recipe = {"moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname}, + }) end |