diff options
| author | cheapie <no-email-for-you@example.com> | 2017-04-12 06:34:15 -0500 | 
|---|---|---|
| committer | cheapie <no-email-for-you@example.com> | 2017-04-12 06:34:15 -0500 | 
| commit | 77d7773bbc33990e94448f8b9850f69642725b1e (patch) | |
| tree | 99e2ffea066e1aaf5c84751188c4df591eb6cedd | |
| parent | b9dfbc00dc0dbf02cbc502bd82d58b5f4d937672 (diff) | |
| download | icemachine-77d7773bbc33990e94448f8b9850f69642725b1e.tar icemachine-77d7773bbc33990e94448f8b9850f69642725b1e.tar.gz icemachine-77d7773bbc33990e94448f8b9850f69642725b1e.tar.bz2 icemachine-77d7773bbc33990e94448f8b9850f69642725b1e.tar.xz icemachine-77d7773bbc33990e94448f8b9850f69642725b1e.zip | |
Connect to pipeworks pipes
| -rw-r--r-- | init.lua | 3 | 
1 files changed, 3 insertions, 0 deletions
| @@ -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) | 
