mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-12-28 03:40:25 +01:00
devices.lua: raise maximum pressure for pumps
This commit is contained in:
parent
91d057fcab
commit
ea92bfe4d3
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user