Page 1 of 1

Add flow_scaling to ValvePrototype as well

Posted: Tue Oct 21, 2025 12:20 am
by petrathekat
Hello, (especially Boskid),

flow_scaling is really handy on PumpPrototype, but I'm having a situation where I'd like it to exist on ValvePrototype as well. (For a mod I am working on, I would like it if a given container filled up quickly to some threshold determined by a valve_threshold_override; right now it asymptotically creeps up on the max.)

Thank you!

Re: Add flow_scaling to ValvePrototype as well

Posted: Tue Oct 21, 2025 5:01 am
by Stringweasel
Have you tried ValvePrototype::flow_rate?

Edit: scratch that, that's something else

Re: Add flow_scaling to ValvePrototype as well

Posted: Tue Oct 21, 2025 4:14 pm
by petrathekat
Yes, unfortunately even if I set it to some obscenely high value, the actual flow rate still slows to a crawl as it reaches the threshold.