Pneumatic Transport Repressurized

by Eri_

Ported from Saienai's original mod Removes all belts and adds pneumatic in/out stations (with built in inserters) that convert any/all items into fluid-like states for transport through pipes. Alternative lore: LIQUIFY EVERYTHING!!!!

Content
a month ago
2.0
185
Logistics

g Fluid Colors

a month ago

Hello there Eri_

First off, I want to say fantastic job porting this mod to 2.0. It is really refreshing to be able to design new systems around the new fluid system and have a blast doing so.

What I want to do is offer a general enhancement to the mod. This enhancement is mainly centered around my own need to have everything be colored instead of a bland grey when it is on the fluid bus.

What I found out through digging through the mod files is that Factorio 2.0 colors the pipe visualizer to be the color of the fluid. AKA pneumaticFluid.base_color = {0, 0, 0}.

To give random rainbow effects to the bus, you can simply change line 83 in fluids.lua to pneumaticFluid.base_color = {math.random(), math.random(), math.random()} and it will work... Or there might be a cheekier way to color it, if we could get the icons and find the average color of the icon and use that as the fluid color, but that seems a bit... intensive.

Anyways, Thanks again for porting this mod to 2.0. Wonderful work.

a month ago

Thanks! I'll be sure to add at least the random colors.

New response