Optimization of undersupplied machines
Ydrec opened this issue ยท 1 comments
Describe the the feature you'd like
Rn if a machine using gas has gas input less then its usage, it starts to constantly update and cause massive tick lag, like above 1ms of processing time
I suggest adding some feature which limits machine on/off state update from gas underflow
Like: make a minimum cap of necessary gas for machine to operate, or make machine speed based on how full of gas it is, so at full gas it would go full speed, but if there is not enough gas it would slow down till balance achived, woudnt affect overall speed as it still caps from gas input.
Additional context
Same probably can be applied to liquid using machines like separator and chemical reactor, as they too can lag quite a bit.