From a56274c230337715b7eebcfb0cd83f5f011bfd0b Mon Sep 17 00:00:00 2001 From: paramat Date: Sat, 3 Jun 2017 22:41:39 +0100 Subject: [PATCH] Stairs: Use one recipe matching inventory appearence No longer have 2 recipes for stairs, choose the one that matches the appearence in inventory (stair rising toward the right). Helps to reduce recipe count now that an increasing number of stairs are being registered. --- mods/stairs/init.lua | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/mods/stairs/init.lua b/mods/stairs/init.lua index 90172ef0..ab80fbbe 100644 --- a/mods/stairs/init.lua +++ b/mods/stairs/init.lua @@ -89,16 +89,7 @@ function stairs.register_stair(subname, recipeitem, groups, images, description, end if recipeitem then - minetest.register_craft({ - output = 'stairs:stair_' .. subname .. ' 8', - recipe = { - {recipeitem, "", ""}, - {recipeitem, recipeitem, ""}, - {recipeitem, recipeitem, recipeitem}, - }, - }) - - -- Flipped recipe for the silly minecrafters + -- Recipe matches appearence in inventory minetest.register_craft({ output = 'stairs:stair_' .. subname .. ' 8', recipe = { -- 2.25.1