diff options
author | thetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com> | 2017-10-08 16:41:00 +0100 |
---|---|---|
committer | thetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com> | 2017-10-08 16:41:00 +0100 |
commit | ce0983d239c4c855b7f6fd9d96d352c03c5d88b0 (patch) | |
tree | 7ef8fa013fc25e2ad5ca13f2b449a65a8ba08c1a | |
parent | c2553928f2e1063ca8011b0f9b024b819995cab5 (diff) | |
download | pipeworks-ce0983d239c4c855b7f6fd9d96d352c03c5d88b0.tar pipeworks-ce0983d239c4c855b7f6fd9d96d352c03c5d88b0.tar.gz pipeworks-ce0983d239c4c855b7f6fd9d96d352c03c5d88b0.tar.bz2 pipeworks-ce0983d239c4c855b7f6fd9d96d352c03c5d88b0.tar.xz pipeworks-ce0983d239c4c855b7f6fd9d96d352c03c5d88b0.zip |
devices.lua: adjust flow sensor threshold to more closely model classic mode
-rw-r--r-- | devices.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devices.lua b/devices.lua index 196d660..2a7afc9 100644 --- a/devices.lua +++ b/devices.lua @@ -525,7 +525,7 @@ minetest.register_node(nodename_sensor_loaded, { new_flow_logic_register.simple(nodename_sensor_empty) new_flow_logic_register.simple(nodename_sensor_loaded) -- activate flow sensor at roughly half the pressure pumps drive pipes -local sensor_pressure_set = { { nodename_sensor_empty, 0.0 }, { nodename_sensor_loaded, 2.0 } } +local sensor_pressure_set = { { nodename_sensor_empty, 0.0 }, { nodename_sensor_loaded, 1.0 } } new_flow_logic_register.transition_simple_set(sensor_pressure_set) |