diff options
author | Calinou <calinou@opmbx.org> | 2014-07-03 19:31:43 +0200 |
---|---|---|
committer | Calinou <calinou@opmbx.org> | 2014-07-03 19:31:43 +0200 |
commit | abfd2adcfdad16d2886880e8652784370cd6ca24 (patch) | |
tree | da081c159b438ffa1d8c9c87045f78899231398a /stairsplus/slabs.lua | |
parent | fb227f2a011030deb3c8015b30ac4c7f14acdaaf (diff) |
New recipes, code cleanup.
Diffstat (limited to 'stairsplus/slabs.lua')
-rw-r--r-- | stairsplus/slabs.lua | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/stairsplus/slabs.lua b/stairsplus/slabs.lua index bee4af3..1e9b097 100644 --- a/stairsplus/slabs.lua +++ b/stairsplus/slabs.lua @@ -80,22 +80,34 @@ function stairsplus:register_slab(modname, subname, recipeitem, fields) end minetest.register_alias("stairs:slab_"..subname, modname..":slab_"..subname) - -- Some saw-less recipe. + -- Some saw-less recipes: minetest.register_craft({ output = "moreblocks:slab_" .. subname .. " 6", - recipe = { - {recipeitem, recipeitem, recipeitem}, - }, + recipe = {{recipeitem, recipeitem, recipeitem}}, }) + 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}, }) + + minetest.register_craft({ + type = "shapeless", + output = recipeitem, + recipe = {"moreblocks:slab_" .. subname, "moreblocks:slab_" .. subname}, + }) + + minetest.register_craft({ + type = "shapeless", + output = "moreblocks:slab_" .. subname .. " 3", + recipe = {"moreblocks:stair_" .. subname, "moreblocks:stair_" .. subname}, + }) end |