From 175a9f8ff5d5d93299a7aa39daff297e5444c9b5 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 7c6d3823..8ec5aa7a 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 = {