Make unprocessed plastic base from any kinds of leaves that are in group:leaves
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Thu, 16 Jan 2014 18:39:13 +0000 (13:39 -0500)
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Thu, 16 Jan 2014 18:39:13 +0000 (13:39 -0500)
also, retire the junglegrass- and dry shrub-based recipes for same, as those
nodes are somewhat rare now.

crafts.lua

index 50162dc41246bce310d7f660d57b8a4b07469e3a..318c586b6cde136b809ffb6a33059eca0714b72c 100644 (file)
@@ -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" }
+       },
+})
+
+