devices.lua: raise maximum pressure for pumps

This commit is contained in:
thetaepsilon-gamedev 2017-10-07 21:36:41 +01:00
parent 91d057fcab
commit ea92bfe4d3

View File

@ -166,8 +166,9 @@ for s in ipairs(states) do
}) })
-- FIXME: currently a simple flow device, but needs directionality checking -- FIXME: currently a simple flow device, but needs directionality checking
new_flow_logic_register.simple(pumpname) new_flow_logic_register.simple(pumpname)
local pump_drive = 4
if states[s] ~= "off" then if states[s] ~= "off" then
new_flow_logic_register.intake_simple(pumpname, 2) new_flow_logic_register.intake_simple(pumpname, pump_drive)
end end
local nodename_valve_empty = "pipeworks:valve_"..states[s].."_empty" local nodename_valve_empty = "pipeworks:valve_"..states[s].."_empty"