diff options
author | thetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com> | 2017-10-08 17:38:28 +0100 |
---|---|---|
committer | thetaepsilon-gamedev <thetaepsilon-gamedev@noreply.users.github.com> | 2017-10-08 17:38:28 +0100 |
commit | d5e3f1cf68a15d7e14cc44eb8e58e49dbb6aa087 (patch) | |
tree | e478f8600024075e3ef786c03a74d454d01d5396 /devices.lua | |
parent | ce0983d239c4c855b7f6fd9d96d352c03c5d88b0 (diff) |
new flow logic: implement post-transition hook with mesecons support, add mesecons transition rules for flow sensor
Diffstat (limited to 'devices.lua')
-rw-r--r-- | devices.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devices.lua b/devices.lua index 2a7afc9..5203bf3 100644 --- a/devices.lua +++ b/devices.lua @@ -526,7 +526,7 @@ 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, 1.0 } } -new_flow_logic_register.transition_simple_set(sensor_pressure_set) +new_flow_logic_register.transition_simple_set(sensor_pressure_set, { mesecons=pipeworks.mesecons_rules }) |