diff options
author | thetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com> | 2017-10-01 18:30:32 +0100 |
---|---|---|
committer | thetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com> | 2017-10-01 18:30:32 +0100 |
commit | de44593b414cf024d70027297236f582309daa09 (patch) | |
tree | f1a599eabdd1d3485a2d7ccc00a1316e3cdac85a /devices.lua | |
parent | 396a4fdacdd6f80e3bba55cd6c26a2ae321179d1 (diff) |
move flowable registration for airtight entry panel to devices.lua near node definition
Diffstat (limited to 'devices.lua')
-rw-r--r-- | devices.lua | 6 |
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, { |