summaryrefslogtreecommitdiff
path: root/devices.lua
diff options
context:
space:
mode:
Diffstat (limited to 'devices.lua')
-rw-r--r--devices.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/devices.lua b/devices.lua
index 4344c83..f4f2150 100644
--- a/devices.lua
+++ b/devices.lua
@@ -518,10 +518,15 @@ minetest.register_node(nodename_sensor_loaded, {
mesecons = pipereceptor_on,
on_rotate = pipeworks.fix_after_rotation
})
+-- FIXME requires-directionality
+new_flow_logic_register.simple(nodename_sensor_empty)
+new_flow_logic_register.simple(nodename_sensor_loaded)
+
+
-- tanks
--- TODO: these don't currently do anything under the new flow logic.
+-- TODO flow-logic-stub: these don't currently do anything under the new flow logic.
for fill = 0, 10 do
local filldesc="empty"
local sgroups = {snappy=3, pipe=1, tankfill=fill+1}
@@ -592,6 +597,7 @@ end
-- fountainhead
+-- TODO flow-logic-stub: fountainheads currently non-functional under new flow logic
local nodename_fountain_empty = "pipeworks:fountainhead"
minetest.register_node(nodename_fountain_empty, {
description = "Fountainhead",