diff options
author | Calinou <Calinou@users.noreply.github.com> | 2015-06-28 18:45:12 +0200 |
---|---|---|
committer | Calinou <Calinou@users.noreply.github.com> | 2015-06-28 18:45:12 +0200 |
commit | 9efa7a3b5b650cdc9c107a8f4cc2cb93998faabc (patch) | |
tree | 58c00026c8a06263e58130556e94f7316fc39cf1 /stairsplus | |
parent | 54edd00d52593e89fc70d35ac8ebb1245716d5d7 (diff) | |
parent | 49d52791a433738a0e780a3f9d0cb1a938cdf951 (diff) | |
download | moreblocks-9efa7a3b5b650cdc9c107a8f4cc2cb93998faabc.tar.gz moreblocks-9efa7a3b5b650cdc9c107a8f4cc2cb93998faabc.tar.bz2 moreblocks-9efa7a3b5b650cdc9c107a8f4cc2cb93998faabc.zip |
Merge pull request #14 from beyondlimits/master
Add circular crafting rule to 3-microblock stairs
Diffstat (limited to 'stairsplus')
-rw-r--r-- | stairsplus/microblocks.lua | 6 | ||||
-rw-r--r-- | stairsplus/stairs.lua | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/stairsplus/microblocks.lua b/stairsplus/microblocks.lua index 8d52c4a..07e16a2 100644 --- a/stairsplus/microblocks.lua +++ b/stairsplus/microblocks.lua @@ -112,6 +112,12 @@ function stairsplus:register_micro(modname, subname, recipeitem, fields) minetest.register_craft({ type = "shapeless", + output = modname .. ":micro_" .. subname .. " 3", + recipe = {modname .. ":stair_" .. subname .. "_right_half"}, + }) + + minetest.register_craft({ + type = "shapeless", output = modname .. ":micro_" .. subname .. " 2", recipe = {modname .. ":panel_" .. subname}, }) diff --git a/stairsplus/stairs.lua b/stairsplus/stairs.lua index a93cda0..3be0e23 100644 --- a/stairsplus/stairs.lua +++ b/stairsplus/stairs.lua @@ -181,12 +181,6 @@ function stairsplus:register_stair(modname, subname, recipeitem, fields) minetest.register_craft({ type = "shapeless", - output = modname .. ":stair_" .. subname .. "_half", - recipe = {modname .. ":stair_" .. subname .. "_right_half"}, - }) - - minetest.register_craft({ - type = "shapeless", output = modname .. ":stair_" .. subname, recipe = {modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname}, }) |