summaryrefslogtreecommitdiff
path: root/crafts.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-05-10 18:28:57 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-05-10 18:28:57 -0400
commitd4dddc41ec199ffc73f1ad10f900b42c3164a46f (patch)
treee2d61bc3a91a9042499279ed09179c3f1cd2f67c /crafts.lua
parent509fac3845cc06b5b1673d9516fd998265058298 (diff)
downloadpipeworks-d4dddc41ec199ffc73f1ad10f900b42c3164a46f.tar
pipeworks-d4dddc41ec199ffc73f1ad10f900b42c3164a46f.tar.gz
pipeworks-d4dddc41ec199ffc73f1ad10f900b42c3164a46f.tar.bz2
pipeworks-d4dddc41ec199ffc73f1ad10f900b42c3164a46f.tar.xz
pipeworks-d4dddc41ec199ffc73f1ad10f900b42c3164a46f.zip
add flow sensor. Sends mesecons signal when water is flowing through it.
Diffstat (limited to 'crafts.lua')
-rw-r--r--crafts.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/crafts.lua b/crafts.lua
index 700543b..25c57b6 100644
--- a/crafts.lua
+++ b/crafts.lua
@@ -64,6 +64,13 @@ minetest.register_craft( {
},
})
+minetest.register_craft( {
+ output = "pipeworks:flow_sensor_empty 2",
+ recipe = {
+ { "pipeworks:pipe_110000_empty", "mesecons:mesecon", "pipeworks:pipe_110000_empty" },
+ },
+})
+
-- Various ancillary tube devices
@@ -164,7 +171,6 @@ if minetest.get_modpath("homedecor") == nil then
end
-
-- If the technic mod is present, then don't bother registering the recipes
-- for the various tubes, as technic has its own recipes for those.