diff options
Diffstat (limited to 'stairsplus')
-rw-r--r-- | stairsplus/microblocks.lua | 22 | ||||
-rw-r--r-- | stairsplus/panels.lua | 10 | ||||
-rw-r--r-- | stairsplus/slabs.lua | 22 | ||||
-rw-r--r-- | stairsplus/stairs.lua | 60 |
4 files changed, 57 insertions, 57 deletions
diff --git a/stairsplus/microblocks.lua b/stairsplus/microblocks.lua index 9ef7533..aac69ee 100644 --- a/stairsplus/microblocks.lua +++ b/stairsplus/microblocks.lua @@ -86,37 +86,37 @@ function stairsplus:register_micro(modname, subname, recipeitem, fields) minetest.register_craft({ type = "shapeless", - output = "moreblocks:micro_" .. subname .. " 7", - recipe = {"moreblocks:stair_" .. subname .. "_inner"}, + output = modname .. ":micro_" .. subname .. " 7", + recipe = {modname .. ":stair_" .. subname .. "_inner"}, }) minetest.register_craft({ - output = "moreblocks:micro_" .. subname .. " 6", + output = modname .. ":micro_" .. subname .. " 6", type = "shapeless", - recipe = {"moreblocks:stair_" .. subname}, + recipe = {modname .. ":stair_" .. subname}, }) minetest.register_craft({ type = "shapeless", - output = "moreblocks:micro_" .. subname .. " 5", - recipe = {"moreblocks:stair_" .. subname .. "_outer"}, + output = modname .. ":micro_" .. subname .. " 5", + recipe = {modname .. ":stair_" .. subname .. "_outer"}, }) minetest.register_craft({ type = "shapeless", - output = "moreblocks:micro_" .. subname .. " 4", - recipe = {"moreblocks:slab_" .. subname}, + output = modname .. ":micro_" .. subname .. " 4", + recipe = {modname .. ":slab_" .. subname}, }) minetest.register_craft({ type = "shapeless", - output = "moreblocks:micro_" .. subname .. " 2", - recipe = {"moreblocks:panel_" .. subname}, + output = modname .. ":micro_" .. subname .. " 2", + recipe = {modname .. ":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}, + recipe = {modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname}, }) end 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 diff --git a/stairsplus/slabs.lua b/stairsplus/slabs.lua index ae15c40..bbae96b 100644 --- a/stairsplus/slabs.lua +++ b/stairsplus/slabs.lua @@ -83,38 +83,38 @@ function stairsplus:register_slab(modname, subname, recipeitem, fields) -- Some saw-less recipes: minetest.register_craft({ - output = "moreblocks:slab_" .. subname .. " 6", + output = modname .. ":slab_" .. subname .. " 6", 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}, + output = modname .. ":slab_" .. subname, + recipe = {modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname}, }) minetest.register_craft({ - output = "moreblocks:slab_" .. subname, - recipe = {{"moreblocks:panel_" .. subname, "moreblocks:panel_" .. subname}}, + output = modname .. ":slab_" .. subname, + recipe = {{modname .. ":panel_" .. subname, modname .. ":panel_" .. subname}}, }) minetest.register_craft({ - output = "moreblocks:slab_" .. subname, + output = modname .. ":slab_" .. subname, recipe = { - {"moreblocks:panel_" .. subname}, - {"moreblocks:panel_" .. subname}, + {modname .. ":panel_" .. subname}, + {modname .. ":panel_" .. subname}, }, }) minetest.register_craft({ type = "shapeless", output = recipeitem, - recipe = {"moreblocks:slab_" .. subname, "moreblocks:slab_" .. subname}, + recipe = {modname .. ":slab_" .. subname, modname .. ":slab_" .. subname}, }) minetest.register_craft({ type = "shapeless", - output = "moreblocks:slab_" .. subname .. " 3", - recipe = {"moreblocks:stair_" .. subname, "moreblocks:stair_" .. subname}, + output = modname .. ":slab_" .. subname .. " 3", + recipe = {modname .. ":stair_" .. subname, modname .. ":stair_" .. subname}, }) end diff --git a/stairsplus/stairs.lua b/stairsplus/stairs.lua index ee1e8ec..b921d08 100644 --- a/stairsplus/stairs.lua +++ b/stairsplus/stairs.lua @@ -124,7 +124,7 @@ function stairsplus:register_stair(modname, subname, recipeitem, fields) -- Some saw-less recipes: minetest.register_craft({ - output = "moreblocks:stair_" .. subname .. " 8", + output = modname .. ":stair_" .. subname .. " 8", recipe = { {recipeitem, "", ""}, {recipeitem, recipeitem, ""}, @@ -133,7 +133,7 @@ function stairsplus:register_stair(modname, subname, recipeitem, fields) }) minetest.register_craft({ - output = "moreblocks:stair_" .. subname .. " 8", + output = modname .. ":stair_" .. subname .. " 8", recipe = { {"", "", recipeitem}, {"", recipeitem, recipeitem}, @@ -143,83 +143,83 @@ function stairsplus:register_stair(modname, subname, recipeitem, fields) minetest.register_craft({ type = "shapeless", - output = "moreblocks:stair_" .. subname, - recipe = {"moreblocks:panel_" .. subname, "moreblocks:slab_" .. subname}, + output = modname .. ":stair_" .. subname, + recipe = {modname .. ":panel_" .. subname, modname .. ":slab_" .. subname}, }) minetest.register_craft({ type = "shapeless", - output = "moreblocks:stair_" .. subname, - recipe = {"moreblocks:panel_" .. subname, "moreblocks:panel_" .. subname, "moreblocks:panel_" .. subname}, + output = modname .. ":stair_" .. subname, + recipe = {modname .. ":panel_" .. subname, modname .. ":panel_" .. subname, modname .. ":panel_" .. subname}, }) minetest.register_craft({ type = "shapeless", - output = "moreblocks:stair_" .. subname .. "_outer", - recipe = {"moreblocks:micro_" .. subname, "moreblocks:slab_" .. subname}, + output = modname .. ":stair_" .. subname .. "_outer", + recipe = {modname .. ":micro_" .. subname, modname .. ":slab_" .. subname}, }) minetest.register_craft({ type = "shapeless", - output = "moreblocks:stair_" .. subname .. "_half", - recipe = {"moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname}, + output = modname .. ":stair_" .. subname .. "_half", + recipe = {modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname}, }) minetest.register_craft({ type = "shapeless", - output = "moreblocks:stair_" .. subname .. "_half", - recipe = {"moreblocks:panel_" .. subname, "moreblocks:micro_" .. subname}, + output = modname .. ":stair_" .. subname .. "_half", + recipe = {modname .. ":panel_" .. subname, modname .. ":micro_" .. subname}, }) minetest.register_craft({ type = "shapeless", - output = "moreblocks:stair_" .. subname .. "_right_half", - recipe = {"moreblocks:stair_" .. subname .. "_half"}, + output = modname .. ":stair_" .. subname .. "_right_half", + recipe = {modname .. ":stair_" .. subname .. "_half"}, }) minetest.register_craft({ type = "shapeless", - output = "moreblocks:stair_" .. subname .. "_half", - recipe = {"moreblocks:stair_" .. subname .. "_right_half"}, + output = modname .. ":stair_" .. subname .. "_half", + recipe = {modname .. ":stair_" .. subname .. "_right_half"}, }) minetest.register_craft({ type = "shapeless", - output = "moreblocks:stair_" .. subname, - recipe = {"moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname}, + output = modname .. ":stair_" .. subname, + recipe = {modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname}, }) minetest.register_craft({ type = "shapeless", - output = "moreblocks:stair_" .. subname .. "_inner", - recipe = {"moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname}, + output = modname .. ":stair_" .. subname .. "_inner", + recipe = {modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname}, }) minetest.register_craft({ type = "shapeless", - output = "moreblocks:stair_" .. subname .. "_outer", - recipe = {"moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname, "moreblocks:micro_" .. subname}, + output = modname .. ":stair_" .. subname .. "_outer", + recipe = {modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname, modname .. ":micro_" .. subname}, }) minetest.register_craft({ type = "shapeless", - output = "moreblocks:stair_" .. subname, - recipe = {"moreblocks:panel_" .. subname, "moreblocks:panel_" .. subname, "moreblocks:panel_" .. subname}, + output = modname .. ":stair_" .. subname, + recipe = {modname .. ":panel_" .. subname, modname .. ":panel_" .. subname, modname .. ":panel_" .. subname}, }) minetest.register_craft({ -- See mirrored variation of the recipe below. - output = "moreblocks:stair_" .. subname .. "_alt", + output = modname .. ":stair_" .. subname .. "_alt", recipe = { - {"moreblocks:panel_" .. subname, ""}, - {"" , "moreblocks:panel_" .. subname}, + {modname .. ":panel_" .. subname, ""}, + {"" , modname .. ":panel_" .. subname}, }, }) minetest.register_craft({ -- Mirrored variation of the recipe above. - output = "moreblocks:stair_" .. subname .. "_alt", + output = modname .. ":stair_" .. subname .. "_alt", recipe = { - {"" , "moreblocks:panel_" .. subname}, - {"moreblocks:panel_" .. subname, ""}, + {"" , modname .. ":panel_" .. subname}, + {modname .. ":panel_" .. subname, ""}, }, }) end |