diff options
Diffstat (limited to 'stairsplus/microblocks.lua')
-rw-r--r-- | stairsplus/microblocks.lua | 37 |
1 files changed, 17 insertions, 20 deletions
diff --git a/stairsplus/microblocks.lua b/stairsplus/microblocks.lua index 24eaffb..6774848 100644 --- a/stairsplus/microblocks.lua +++ b/stairsplus/microblocks.lua @@ -82,29 +82,26 @@ function stairsplus:register_micro(modname, subname, recipeitem, fields) minetest.register_alias(modname..":micro_"..subname.."_bottom", modname..":micro_"..subname) - -- Some saw-less recipe. + -- Some saw-less recipes: - minetest.register_craft({ - output = "moreblocks:micro_" .. subname .. " 6", - recipe = { - {"moreblocks:stair_" .. subname}, - }, + 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 .. " 4", + recipe = {{"moreblocks:slab_" .. subname}}, }) - minetest.register_craft({ - output = "moreblocks:micro_" .. subname .. " 2", - recipe = { - {"moreblocks:panel_" .. 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}, + + 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 |