Add flow_scaling to ValvePrototype as well

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
petrathekat
Inserter
Inserter
Posts: 30
Joined: Fri Apr 19, 2024 7:12 pm
Contact:

Add flow_scaling to ValvePrototype as well

Post 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!
User avatar
Stringweasel
Filter Inserter
Filter Inserter
Posts: 474
Joined: Thu Apr 27, 2017 8:22 pm
Contact:

Re: Add flow_scaling to ValvePrototype as well

Post by Stringweasel »

Have you tried ValvePrototype::flow_rate?

Edit: scratch that, that's something else
Alt-F4 Author | Factorio Modder
Probably known for: (Configurable) Valves | Better Victory Screen | Space Spidertron | Fluidic Power
Official Contributor to Space Exploration
petrathekat
Inserter
Inserter
Posts: 30
Joined: Fri Apr 19, 2024 7:12 pm
Contact:

Re: Add flow_scaling to ValvePrototype as well

Post 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.
Post Reply

Return to “Modding interface requests”