From 3f7edb39a140ee5b9429db8e7226b99f3b7fd7c9 Mon Sep 17 00:00:00 2001 From: Foz Date: Fri, 29 Dec 2017 01:06:35 -0500 Subject: [PATCH] Adjust shelf recipies. - The math of returning glass framents will never work when cleaning a shelf because we would need to return 1.5 fragments so just return glass bottles instead. - Removed the recipe for a vessels:shelf from group:vessels because it doesn't make sense to return glass bottles if, for example, the shelf was crafted from steel bottles. --- crafting.lua | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/crafting.lua b/crafting.lua index e71aad2..11e7b09 100644 --- a/crafting.lua +++ b/crafting.lua @@ -185,8 +185,7 @@ minetest.register_craft({ output = "moreblocks:empty_shelf", type = "shapeless", recipe = {"moreblocks:sweeper", "vessels:shelf"}, - replacements = {{"vessels:shelf", "vessels:glass_fragments 4"}}, - -- When obtaining an empty shelf, return four glass_fragment pieces + replacements = {{"vessels:shelf", "vessels:glass_bottle 3"}}, }) minetest.register_craft({ @@ -195,12 +194,6 @@ minetest.register_craft({ recipe = {"moreblocks:empty_shelf", "default:book", "default:book", "default:book"}, }) -minetest.register_craft({ - type = "shapeless", - output = "vessels:shelf", - recipe = {"moreblocks:empty_shelf", "group:vessel", "group:vessel", "group:vessel"}, -}) - minetest.register_craft({ output = "moreblocks:empty_shelf", recipe = {