Page 1 of 1

[2.0.6] Add pipe connection category mask to PipeConnectionDefinition

Posted: Fri Oct 18, 2024 10:01 pm
by robot256
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)

Re: [2.0.6] Add pipe connection category mask to PipeConnectionDefinition

Posted: Sat Jan 18, 2025 9:26 pm
by boskid
2.0.32.

Re: [2.0.6] Add pipe connection category mask to PipeConnectionDefinition

Posted: Mon Jan 20, 2025 5:01 pm
by robot256
Thank you! Now I can properly update AutoDeconstruct.