diff options
author | Marcin <beyondlimits@10g.pl> | 2015-06-27 23:06:43 +0200 |
---|---|---|
committer | Marcin <beyondlimits@10g.pl> | 2015-06-27 23:06:43 +0200 |
commit | 49d52791a433738a0e780a3f9d0cb1a938cdf951 (patch) | |
tree | 21bc6a882d698b86109dd362ad9d8bdfb109e213 | |
parent | 18d3ff69517e36de4fb69062305a806eb2887205 (diff) |
Added circular crafting rule to 3-microblock stairs
-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}, }) |