diff options
author | Calinou <calinou@opmbx.org> | 2014-07-28 10:02:55 +0200 |
---|---|---|
committer | Calinou <calinou@opmbx.org> | 2014-07-28 10:02:55 +0200 |
commit | 3b1392ce04beea79b6e202598b71dbaf22895867 (patch) | |
tree | 9ca4651e105bd92b9f0ddc8bb34a28177cfa9277 /stairsplus/panels.lua | |
parent | f7916005c2fe14a2aa7f9052abcffd250b67ffcc (diff) |
Make Stairs+ recipes mod-agnostic.
Diffstat (limited to 'stairsplus/panels.lua')
-rw-r--r-- | stairsplus/panels.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stairsplus/panels.lua b/stairsplus/panels.lua index bbf785c..f93f1cf 100644 --- a/stairsplus/panels.lua +++ b/stairsplus/panels.lua @@ -84,7 +84,7 @@ function stairsplus:register_panel(modname, subname, recipeitem, fields) -- Some saw-less recipes: minetest.register_craft({ - output = "moreblocks:panel_" .. subname .. " 12", + output = modname .. ":panel_" .. subname .. " 12", recipe = { {recipeitem, ""}, {recipeitem, recipeitem}, @@ -92,7 +92,7 @@ function stairsplus:register_panel(modname, subname, recipeitem, fields) }) minetest.register_craft({ - output = "moreblocks:panel_" .. subname .. " 12", + output = modname .. ":panel_" .. subname .. " 12", recipe = { {"", recipeitem}, {recipeitem, recipeitem}, @@ -101,13 +101,13 @@ function stairsplus:register_panel(modname, subname, recipeitem, fields) minetest.register_craft({ type = "shapeless", - output = "moreblocks:panel_" .. subname, - recipe = {"moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname}, + output = modname .. ":panel_" .. subname, + recipe = {modname .. ":micro_" .. subname, modname .. ":micro_" .. subname}, }) minetest.register_craft({ type = "shapeless", output = recipeitem, - recipe = {"moreblocks:panel_" .. subname, "moreblocks:panel_" .. subname, "moreblocks:panel_" .. subname, "moreblocks:panel_" .. subname}, + recipe = {modname .. ":panel_" .. subname, modname .. ":panel_" .. subname, modname .. ":panel_" .. subname, modname .. ":panel_" .. subname}, }) end |