Hey Shemp, I'm trying to code an addon to make call a plumber do what I want with the IR3 pipes, but I'm having trouble with the valves.
I'm trying to remove the filter of the fluid boxes of air pipe entities, but the game doesn't seem to recognize air valves. Whether I call them as "valve" prototypes or "storage-tank" prototype (how IR3 did it before), it returns an error. (To be fair, I'm not even sure that's the correct way to remove a fluid box's filter, but I'm trying.)
Would you know how this could be fixed? Should I call this later, or is there something I forgot?
Below is a snippet of code I'm running in the data stage of my mod (which has your patched IR3 as a dependency).
-- Remove "air" filter from air pipes. Call a plumber will handle this, so the fluid specific filter needs to be removed
data.raw["pipe"]["air-pipe"].fluid_box.filter = ""
data.raw["valve"]["air-valve"].fluid_box.filter = ""
data.raw["valve"]["air-valve-overflow"].fluid_box.filter = ""
data.raw["valve"]["air-valve-underflow"].fluid_box.filter = ""
data.raw["pipe-to-ground"]["air-pipe-to-ground"].fluid_box.filter = ""
data.raw["pipe-to-ground"]["air-pipe-to-ground-short"].fluid_box.filter = ""