devices.lua: adjust flow sensor threshold to more closely model classic mode

This commit is contained in:
thetaepsilon-gamedev 2017-10-08 16:41:00 +01:00
parent c2553928f2
commit ce0983d239

View File

@ -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)