From 169ef701d29d218fcce7aaedabeffdc6fcd99b87 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Thu, 16 Jan 2014 13:39:13 -0500 Subject: [PATCH] Make unprocessed plastic base from any kinds of leaves that are in group:leaves also, retire the junglegrass- and dry shrub-based recipes for same, as those nodes are somewhat rare now. --- crafts.lua | 90 ++++++++++++++++++++++-------------------------------- 1 file changed, 36 insertions(+), 54 deletions(-) diff --git a/crafts.lua b/crafts.lua index 50162dc..318c586 100644 --- a/crafts.lua +++ b/crafts.lua @@ -79,38 +79,8 @@ minetest.register_craft( { }, }) --- Various ancillary tube devices - -minetest.register_craft( { - output = "pipeworks:filter 2", - recipe = { - { "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" }, - { "default:stick", "default:mese_crystal", "homedecor:plastic_sheeting" }, - { "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" } - }, -}) - -minetest.register_craft( { - output = "pipeworks:mese_filter 2", - recipe = { - { "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" }, - { "default:stick", "default:mese", "homedecor:plastic_sheeting" }, - { "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" } - }, -}) - -minetest.register_craft( { - output = "pipeworks:autocrafter 2", - recipe = { - { "default:steel_ingot", "default:mese_crystal", "default:steel_ingot" }, - { "homedecor:plastic_sheeting", "default:steel_ingot", "homedecor:plastic_sheeting" }, - { "default:steel_ingot", "default:mese_crystal", "default:steel_ingot" } - }, -}) - - --- The tubes themselves +-- Crafting recipes for pneumatic tubes -- If homedecor is not installed, we need to register its crafting chain for -- plastic sheeting so that pipeworks remains compatible with it. @@ -128,33 +98,15 @@ if minetest.get_modpath("homedecor") == nil then inventory_image = "homedecor_plastic_base_inv.png", }) - minetest.register_craft({ - type = "shapeless", - output = 'homedecor:plastic_base 6', - recipe = { "default:junglegrass", - "default:junglegrass", - "default:junglegrass" - } - }) - - minetest.register_craft({ - type = "shapeless", - output = 'homedecor:plastic_base 3', - recipe = { "default:dry_shrub", - "default:dry_shrub", - "default:dry_shrub" - }, - }) - minetest.register_craft({ type = "shapeless", output = 'homedecor:plastic_base 4', recipe = { "default:leaves", - "default:leaves", - "default:leaves", - "default:leaves", - "default:leaves", - "default:leaves" + "group:leaves", + "group:leaves", + "group:leaves", + "group:leaves", + "group:leaves" } }) @@ -295,3 +247,33 @@ minetest.register_craft( { }, }) +-- Various ancillary tube devices + +minetest.register_craft( { + output = "pipeworks:filter 2", + recipe = { + { "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" }, + { "default:stick", "default:mese_crystal", "homedecor:plastic_sheeting" }, + { "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" } + }, +}) + +minetest.register_craft( { + output = "pipeworks:mese_filter 2", + recipe = { + { "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" }, + { "default:stick", "default:mese", "homedecor:plastic_sheeting" }, + { "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" } + }, +}) + +minetest.register_craft( { + output = "pipeworks:autocrafter 2", + recipe = { + { "default:steel_ingot", "default:mese_crystal", "default:steel_ingot" }, + { "homedecor:plastic_sheeting", "default:steel_ingot", "homedecor:plastic_sheeting" }, + { "default:steel_ingot", "default:mese_crystal", "default:steel_ingot" } + }, +}) + + -- 2.30.2