Added crafting recipes for teleport and accelerator tubes, changed the recipe of...
authorNovatux <nathanael.courant@laposte.net>
Sat, 19 Jan 2013 12:24:25 +0000 (13:24 +0100)
committerNovatux <nathanael.courant@laposte.net>
Sat, 19 Jan 2013 12:24:25 +0000 (13:24 +0100)
crafts.lua

index 03890c5cd7617c33fc03915bb4ba11ee11b124ee..9d33b4f398d28f4cc4372ae101975c6025b839dd 100644 (file)
@@ -115,7 +115,25 @@ if io.open(minetest.get_modpath("pipeworks").."/../technic/init.lua", "r") == ni
                output = "pipeworks:detector_tube_off_000000 2",
                recipe = {
                        { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
-                       { "default:mese_crystal_fragment", "default:mese_crystal_fragment", "default:mese_crystal_fragment" },
+                       { "mesecons:mesecon", "mesecons:mesecon", "mesecons:mesecon" },
+                       { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
+               },
+       })
+
+       minetest.register_craft( {
+               output = "pipeworks:accelerator_tube_000000 2",
+               recipe = {
+                       { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
+                       { "default:mese_crystal_fragment", "default:steel_ingot", "default:mese_crystal_fragment" },
+                       { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
+               },
+       })
+
+       minetest.register_craft( {
+               output = "pipeworks:teleport_tube_000000 2",
+               recipe = {
+                       { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
+                       { "default:desert_stone", "default:mese_block", "default:desert_stone" },
                        { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
                },
        })