From 3b1392ce04beea79b6e202598b71dbaf22895867 Mon Sep 17 00:00:00 2001 From: Calinou Date: Mon, 28 Jul 2014 10:02:55 +0200 Subject: Make Stairs+ recipes mod-agnostic. --- stairsplus/microblocks.lua | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'stairsplus/microblocks.lua') 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 -- cgit v1.2.3