mirror of
https://cheapiesystems.com/git/icemachine
synced 2024-11-21 23:03:51 +01:00
Fix pipeworks detection
This commit is contained in:
parent
77d7773bbc
commit
fbd8e6b79c
@ -1,2 +1,3 @@
|
|||||||
default
|
default
|
||||||
technic?
|
technic?
|
||||||
|
pipeworks?
|
||||||
|
4
init.lua
4
init.lua
@ -77,8 +77,8 @@ minetest.register_node("icemachine:machine",{
|
|||||||
"default_steel_block.png^icemachine_machine_front.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,},
|
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_place_node = (pipeworks_installed and pipeworks.scan_for_pipe_objects),
|
||||||
after_dig_node = (pipeworks and pipeworks.scan_for_pipe_objects),
|
after_dig_node = (pipeworks_installed and pipeworks.scan_for_pipe_objects),
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
update_status(pos,meta)
|
update_status(pos,meta)
|
||||||
|
Loading…
Reference in New Issue
Block a user