Currently there is no way to read the new connection_category value from LuaFluidboxPrototype's Pipe. I would like to determine via script if two pipes will connect to each other before placing them. One place this could be added is in LuaFluidboxPrototype::pipe_connections, alongside the flow_direction value. Providing it as a binary mask (as shown in the Prototype Explorer) is fine.
(I also submitted this as an F10 suggestion)
[2.0.6] Add pipe connection category mask to PipeConnectionDefinition
Re: [2.0.6] Add pipe connection category mask to PipeConnectionDefinition
Thank you! Now I can properly update AutoDeconstruct.
My mods: Multiple Unit Train Control, Smart Artillery Wagons
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk