1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2024-12-27 11:20:26 +01:00

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
new_flow_logic_register.simple(pumpname)
local pump_drive = 4
if states[s] ~= "off" then
new_flow_logic_register.intake_simple(pumpname, 2)
new_flow_logic_register.intake_simple(pumpname, pump_drive)
end
local nodename_valve_empty = "pipeworks:valve_"..states[s].."_empty"