From 77d7773bbc33990e94448f8b9850f69642725b1e Mon Sep 17 00:00:00 2001 From: cheapie Date: Wed, 12 Apr 2017 06:34:15 -0500 Subject: [PATCH] Connect to pipeworks pipes --- init.lua | 3 +++ 1 file changed, 3 insertions(+) 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)