summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2017-04-12 06:34:15 -0500
committercheapie <no-email-for-you@example.com>2017-04-12 06:34:15 -0500
commit77d7773bbc33990e94448f8b9850f69642725b1e (patch)
tree99e2ffea066e1aaf5c84751188c4df591eb6cedd /init.lua
parentb9dfbc00dc0dbf02cbc502bd82d58b5f4d937672 (diff)
downloadicemachine-77d7773bbc33990e94448f8b9850f69642725b1e.tar
icemachine-77d7773bbc33990e94448f8b9850f69642725b1e.tar.gz
icemachine-77d7773bbc33990e94448f8b9850f69642725b1e.tar.bz2
icemachine-77d7773bbc33990e94448f8b9850f69642725b1e.tar.xz
icemachine-77d7773bbc33990e94448f8b9850f69642725b1e.zip
Connect to pipeworks pipes
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 449b91f..37516eb 100644
--- a/init.lua
+++ b/init.lua
@@ -76,6 +76,9 @@ minetest.register_node("icemachine:machine",{
"default_steel_block.png",
"default_steel_block.png^icemachine_machine_front.png",
},
+ pipe_connections = {left=1,right=1,front=1,back=1,left_param2=3,right_param2=1,front_param2=2,back_param2=0,},
+ after_place_node = (pipeworks and pipeworks.scan_for_pipe_objects),
+ after_dig_node = (pipeworks and pipeworks.scan_for_pipe_objects),
on_construct = function(pos)
local meta = minetest.get_meta(pos)
update_status(pos,meta)