Restrict target fluids from basic fluid transport entities

Place to get help with not working mods / modding interface.
Post Reply
User avatar
DemerNkardaz
Inserter
Inserter
Posts: 26
Joined: Wed Jan 18, 2023 12:32 am
Contact:

Restrict target fluids from basic fluid transport entities

Post by DemerNkardaz »

For some liquids as logic we need different storage and transport materials.
Now I have Aqua Regia, and iron storages/pipes not good for this for IRL.
Can I blacklist some fluids for basic pipes and storages, or if not - can to give damage if pipes and storages have this fluids inside?
Image

User avatar
Stringweasel
Filter Inserter
Filter Inserter
Posts: 315
Joined: Thu Apr 27, 2017 8:22 pm
Contact:

Re: Restrict target fluids from basic fluid transport entities

Post by Stringweasel »

It's not possible to blacklist certain fluids from certain pipes. All you can do with prototypes is allow only a single fluid to be allowed in a pipe, by setting a filter.

During runtime it's possible to damage pipes when a specific fluid is in it, but you will have to do it all yourself. Keep track of every pipe, and occationally chech if a pipe has a bad fluid inside, and if it does, add damage. You cannot prevent the fluid from entering though.
Alt-F4 Author | Factorio Modder
Mods: Hall of Fame | Better Victory Screen | Fluidic Power | Biter Power | Space Spidertron | Spidertron Dock | Weasel's Demolition Derby

User avatar
DemerNkardaz
Inserter
Inserter
Posts: 26
Joined: Wed Jan 18, 2023 12:32 am
Contact:

Re: Restrict target fluids from basic fluid transport entities

Post by DemerNkardaz »

Stringweasel wrote:
Fri Feb 03, 2023 12:22 pm
It's not possible to blacklist certain fluids from certain pipes. All you can do with prototypes is allow only a single fluid to be allowed in a pipe, by setting a filter.

During runtime it's possible to damage pipes when a specific fluid is in it, but you will have to do it all yourself. Keep track of every pipe, and occationally chech if a pipe has a bad fluid inside, and if it does, add damage. You cannot prevent the fluid from entering though.
Thanks

Post Reply

Return to “Modding help”