summaryrefslogtreecommitdiff
path: root/devices.lua
diff options
context:
space:
mode:
authorthetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com>2017-10-01 18:30:32 +0100
committerthetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com>2017-10-01 18:30:32 +0100
commitde44593b414cf024d70027297236f582309daa09 (patch)
treef1a599eabdd1d3485a2d7ccc00a1316e3cdac85a /devices.lua
parent396a4fdacdd6f80e3bba55cd6c26a2ae321179d1 (diff)
downloadpipeworks-de44593b414cf024d70027297236f582309daa09.tar
pipeworks-de44593b414cf024d70027297236f582309daa09.tar.gz
pipeworks-de44593b414cf024d70027297236f582309daa09.tar.bz2
pipeworks-de44593b414cf024d70027297236f582309daa09.tar.xz
pipeworks-de44593b414cf024d70027297236f582309daa09.zip
move flowable registration for airtight entry panel to devices.lua near node definition
Diffstat (limited to 'devices.lua')
-rw-r--r--devices.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/devices.lua b/devices.lua
index fd48033..4344c83 100644
--- a/devices.lua
+++ b/devices.lua
@@ -433,6 +433,12 @@ minetest.register_node(nodename_panel_loaded, {
drop = "pipeworks:entry_panel_empty",
on_rotate = pipeworks.fix_after_rotation
})
+-- FIXME requires-directionality
+-- TODO: AFAIK the two panels have no visual difference, so are redundant under new flow logic - alias?
+new_flow_logic_register.simple(nodename_panel_empty)
+new_flow_logic_register.simple(nodename_panel_loaded)
+
+
local nodename_sensor_empty = "pipeworks:flow_sensor_empty"
minetest.register_node(nodename_sensor_empty, {