Allow more than one filter on fluid_boxes
Posted: Tue Apr 09, 2024 7:48 am
I'm currently working on a mod that has some fluids that, by all accounts, should not be able to flow through 'standard' pipes. For example, I want to add a pneumatic pipe to transport certain 'dry' materials.
Which means i would need to filter out that from the normal pipes.
The issue I've ran into is that a pipe cannot have more than exactly one whitelist filter on it's fluid_box. I've tried using a different entity (assembling machine) because pipes only support one fluid box, but then ran into the issue that fluid_boxes may not collide. I seriously doubt that it is possible to fake a pipe that can only support a specific set of fluids.
Therefore, i would like a filter on the pipes (whitelist and blacklist, ideally -> i can work with one, but it would probably break my logic if other mods add fluids), which works similar to the filter on the fluid_boxes, or ideally a similar filter on the fluid_box property.
Which means i would need to filter out that from the normal pipes.
The issue I've ran into is that a pipe cannot have more than exactly one whitelist filter on it's fluid_box. I've tried using a different entity (assembling machine) because pipes only support one fluid box, but then ran into the issue that fluid_boxes may not collide. I seriously doubt that it is possible to fake a pipe that can only support a specific set of fluids.
Therefore, i would like a filter on the pipes (whitelist and blacklist, ideally -> i can work with one, but it would probably break my logic if other mods add fluids), which works similar to the filter on the fluid_boxes, or ideally a similar filter on the fluid_box property.