Hello,
I have seen mods introducing new pipes and pumps which can accommodate higher flow rates.
My idea is to introduce new types/tiers of pipes/pumps which can only transport specific fluids, or more factual; certain types of fluids (e.g., acids) require a certain type (e.g., stainless steel pipe) of pump/pipe/storage/chemical plant. I was wondering if this is even possible.
I have taken a look at the pump, pipe and fluid prototypes/API but haven't found anything helpful, nor have I encountered a mod which has already done this.
Possibility of fluid-specific pipe/pumps requirement
-
- Manual Inserter
- Posts: 1
- Joined: Sun Oct 15, 2023 4:17 pm
- Contact:
- Deadlock989
- Smart Inserter
- Posts: 2528
- Joined: Fri Nov 06, 2015 7:41 pm
Re: Possibility of fluid-specific pipe/pumps requirement
Any FluidBox, including the ones in pumps, can be filtered (i.e. "locked") to a specific fluid. But only one fluid, or none. You can't have multiple fluids or a category/set etc. The mod in my signature does this for certain pipes.
https://lua-api.factorio.com/latest/typ ... tml#filter
https://lua-api.factorio.com/latest/typ ... tml#filter