mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-12-26 19:00:24 +01:00
devices.lua: adjust flow sensor threshold to more closely model classic mode
This commit is contained in:
parent
c2553928f2
commit
ce0983d239
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user